~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to Source/WebKit/qt/ChangeLog

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
Import upstream version 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2013-01-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
2
 
 
3
        [Qt][WK1] Permission request callbacks for non-legacy notifications
 
4
        https://bugs.webkit.org/show_bug.cgi?id=107438
 
5
 
 
6
        Reviewed by Jocelyn Turcotte.
 
7
 
 
8
        Tracks the new callbacks the same way legacy callbacks are tracked.
 
9
 
 
10
        No test affected yet as we are still lacking support for testing
 
11
        feature permission callbacks.
 
12
 
 
13
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
14
        (WebCore::NotificationPresenterClientQt::requestPermission):
 
15
        (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
 
16
        * WebCoreSupport/NotificationPresenterClientQt.h:
 
17
        (NotificationPresenterClientQt):
 
18
        (CallbacksInfo):
 
19
 
 
20
2013-01-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
21
 
 
22
        [Qt] Crash in gmail on enabling desktop notifications
 
23
        https://bugs.webkit.org/show_bug.cgi?id=106699
 
24
 
 
25
        Patch by David Rosca.
 
26
        Reviewed by Jocelyn Turcotte.
 
27
 
 
28
        Protect against callback that may be null. This also matches WebKit2 behaviour.
 
29
 
 
30
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
31
        (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
 
32
 
 
33
2013-01-21  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
34
 
 
35
        [Qt] Update the documentation about the storage of inspector settings
 
36
        https://bugs.webkit.org/show_bug.cgi?id=106777
 
37
 
 
38
        Reviewed by Allan Sandfeld Jensen.
 
39
 
 
40
        Since r76770, QSettings isn't queried anymore to persist inspector
 
41
        settings like whether or not the debugger is enabled by default.
 
42
        It still seems to be used for the default attach height.
 
43
 
 
44
        Update the documentation accordingly.
 
45
 
 
46
        * WidgetApi/qwebinspector.cpp:
 
47
 
 
48
2013-01-16  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
49
 
 
50
        [Qt] Use the shared HistoryItem serialization for QWebHistory
 
51
        https://bugs.webkit.org/show_bug.cgi?id=106671
 
52
 
 
53
        Reviewed by Allan Sandfeld Jensen.
 
54
 
 
55
        Bump the serialization version and change the code to abort the
 
56
        restore of a previous stream version rather than trying to keep the
 
57
        support of restoring previous versions. This is mainly to simplify
 
58
        things given that HistoryItem itself aborts in that case.
 
59
 
 
60
        * Api/qwebhistory.cpp:
 
61
        (operator<<):
 
62
        (operator>>):
 
63
        * tests/qwebhistory/tst_qwebhistory.cpp:
 
64
        (tst_QWebHistory::serialize_2): Modify the test to cover same-document navigations.
 
65
        (tst_QWebHistory::restoreIncompatibleVersion1): Add a previous version
 
66
        hard-coded stream to verify that the deserialization doesn't hang or
 
67
        crash.
 
68
 
 
69
2013-01-16  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
70
 
 
71
        [Qt] Crash in WebCore::CachedFrame::destroy
 
72
        https://bugs.webkit.org/show_bug.cgi?id=104525
 
73
 
 
74
        Reviewed by Adam Barth.
 
75
 
 
76
        Remove the call to HistoryController::setCurrentItem which is ultimately
 
77
        causing the initial empty document of a page to be added to the page cache.
 
78
 
 
79
        This re-introduce the bug that was fixed by this line, which will be
 
80
        properly fixed in a follow-up patch.
 
81
 
 
82
        * Api/qwebhistory.cpp:
 
83
        (operator>>):
 
84
        * tests/qwebhistory/tst_qwebhistory.cpp:
 
85
        (tst_QWebHistory::saveAndRestore_crash_4): Cover the crash.
 
86
 
 
87
2013-01-07  Michael Brüning  <michael.bruning@digia.com>
 
88
 
 
89
        [Qt] Apply correct patch for the scrolling issue from bug 105014
 
90
        https://bugs.webkit.org/show_bug.cgi?id=106219
 
91
 
 
92
        Correct the if condition when overwriting the layout direction option
 
93
        with the values from the facade options to only overwrite if the facade
 
94
        direction is not equal to LayoutDirectionAuto.
 
95
 
 
96
        Reviewed by Allan Sandfeld Jensen.
 
97
 
 
98
        * WidgetSupport/QStyleFacadeImp.cpp:
 
99
        (WebKit::initGenericStyleOption):
 
100
 
 
101
2013-01-07  Michael Brüning  <michael.bruning@digia.com>
 
102
 
 
103
        [Qt] Horizontal scrollbars events are offseted making them difficult to use
 
104
        https://bugs.webkit.org/show_bug.cgi?id=105014
 
105
 
 
106
        Reviewed by Allan Sandfeld Jensen.
 
107
 
 
108
        Patch co-authored by Simon Hausmann.
 
109
 
 
110
        Only copy the layout direction from the facade options if the
 
111
        current option is Qt::LayoutDirectionAuto in order to prevent
 
112
        misinterpretations as different layout direction when hit testing.
 
113
 
 
114
        Tests added to tst_qwebview and tst_qgraphicswebview to verify
 
115
        that the view actually is scrolled in the right direction.
 
116
 
 
117
        * WidgetSupport/QStyleFacadeImp.cpp:
 
118
        (WebKit::initGenericStyleOption):
 
119
        * tests/qgraphicswebview/resources/scrolltest_page.html: Added.
 
120
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
121
        (tst_QGraphicsWebView):
 
122
        (tst_QGraphicsWebView::horizontalScrollbarTest):
 
123
        * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
 
124
        * tests/qwebview/resources/scrolltest_page.html: Added.
 
125
        * tests/qwebview/tst_qwebview.cpp:
 
126
        (tst_QWebView):
 
127
        (tst_QWebView::horizontalScrollbarTest):
 
128
        * tests/qwebview/tst_qwebview.qrc:
 
129
 
 
130
2012-12-03  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
131
 
 
132
        Document::initSecurityContext() fails to call securityOrigin().grantLoadLocalResources()
 
133
        https://bugs.webkit.org/show_bug.cgi?id=68711
 
134
 
 
135
        Reviewed by Adam Barth.
 
136
 
 
137
        * tests/qwebpage/tst_qwebpage.cpp:
 
138
        (tst_QWebPage::testStopScheduledPageRefresh): Unmark the expected failure.
 
139
 
 
140
2012-11-30  Simon Hausmann  <simon.hausmann@digia.com>
 
141
 
 
142
        [Qt] Fix QML import installation with newer Qt
 
143
 
 
144
        Reviewed by Tor Arne Vestbø.
 
145
 
 
146
        The import path has been separated between QML1 and QML2. Use
 
147
        QT_INSTALL_QML if it's available.
 
148
 
 
149
        * declarative/experimental/experimental.pri:
 
150
        * declarative/public.pri:
 
151
 
 
152
2012-11-30  Zeno Albisser  <zeno@webkit.org>
 
153
 
 
154
        [Qt] Enable WebGL by default.
 
155
        https://bugs.webkit.org/show_bug.cgi?id=103731
 
156
 
 
157
        Reviewed by Simon Hausmann.
 
158
 
 
159
        * Api/qwebsettings.cpp:
 
160
        (QWebSettings::QWebSettings):
 
161
 
 
162
2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
 
163
 
 
164
        [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
 
165
        https://bugs.webkit.org/show_bug.cgi?id=101192
 
166
 
 
167
        Reviewed by Hajime Morita.
 
168
 
 
169
        Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
 
170
 
 
171
        Tests: No new tests because there is no functional change.
 
172
 
 
173
        * Api/qwebsettings.cpp:
 
174
        (QWebSettingsPrivate::apply):
 
175
 
 
176
2012-11-29  Alexey Proskuryakov  <ap@apple.com>
 
177
 
 
178
        [WK2] Forward cookie jar calls to NetworkProcess
 
179
        https://bugs.webkit.org/show_bug.cgi?id=103457
 
180
 
 
181
        Reviewed by Darin Adler.
 
182
 
 
183
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
184
        (PlatformStrategiesQt::cookiesForDOM):
 
185
        (PlatformStrategiesQt::setCookiesFromDOM):
 
186
        (PlatformStrategiesQt::cookiesEnabled):
 
187
        (PlatformStrategiesQt::cookieRequestHeaderFieldValue):
 
188
        (PlatformStrategiesQt::getRawCookies):
 
189
        (PlatformStrategiesQt::deleteCookie):
 
190
        (PlatformStrategiesQt::getHostnamesWithCookies):
 
191
        (PlatformStrategiesQt::deleteCookiesForHostname):
 
192
        (PlatformStrategiesQt::deleteAllCookies):
 
193
 
 
194
2012-11-28  Huang Dongsung  <luxtella@company100.net>
 
195
 
 
196
        [Texmap] REGRESSION(r135620) QtTestBrowser crashes on Google-gravity.
 
197
        https://bugs.webkit.org/show_bug.cgi?id=103410
 
198
 
 
199
        Reviewed by Noam Rosenthal.
 
200
 
 
201
        TextureMapperLayerClientQt::setTextureMapper() must call
 
202
        flushCompositingStateForThisLayerOnly() of the root layer.
 
203
 
 
204
        Currently, PageClientQGraphicsWidget::setRootGraphicsLayer does not flush layer
 
205
        states of the root layer after setting TextureMapper while
 
206
        PageClientQWidget::setRootGraphicsLayer() flushes them of the root layer.  If
 
207
        not flushing states, descendant layers can not reach the root layer. It means
 
208
        descendant layers can not reach the TextureMapper that the root layer has.
 
209
 
 
210
        This is already the behavior for PageClientQWidget, which should be the case
 
211
        for PageClientQGraphicsWidget as well.
 
212
 
 
213
        * WebCoreSupport/PageClientQt.cpp:
 
214
        (WebCore::TextureMapperLayerClientQt::setTextureMapper):
 
215
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
 
216
 
 
217
2012-11-27  James Simonsen  <simonjam@chromium.org>
 
218
 
 
219
        Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
 
220
        https://bugs.webkit.org/show_bug.cgi?id=102151
 
221
 
 
222
        Reviewed by Adam Barth.
 
223
 
 
224
        * Api/qwebframe.cpp:
 
225
        (QWebFrame::QWebFrame):
 
226
        (QWebFrame::load):
 
227
        (QWebFrame::setHtml):
 
228
        (QWebFrame::setContent):
 
229
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
230
        (DumpRenderTreeSupportQt::setAlternateHtml):
 
231
        (qt_dump_set_accepts_editing):
 
232
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
233
        (WebCore::FrameLoaderClientQt::callErrorPageExtension):
 
234
 
 
235
2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
 
236
 
 
237
        Unreviewed, rolling out r135786.
 
238
        http://trac.webkit.org/changeset/135786
 
239
        https://bugs.webkit.org/show_bug.cgi?id=103379
 
240
 
 
241
        It made 3 plugin tests timeout on several platforms (Requested
 
242
        by Ossy on #webkit).
 
243
 
 
244
        * Api/qwebframe.cpp:
 
245
        (QWebFrame::setHtml):
 
246
        (QWebFrame::setContent):
 
247
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
248
        (DumpRenderTreeSupportQt::setAlternateHtml):
 
249
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
250
        (WebCore::FrameLoaderClientQt::callErrorPageExtension):
 
251
        * WebCoreSupport/QWebFrameAdapter.cpp:
 
252
        (QWebFrameAdapter::load):
 
253
 
 
254
2012-11-26  James Simonsen  <simonjam@chromium.org>
 
255
 
 
256
        Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
 
257
        https://bugs.webkit.org/show_bug.cgi?id=102151
 
258
 
 
259
        Reviewed by Adam Barth.
 
260
 
 
261
        * Api/qwebframe.cpp:
 
262
        (QWebFrame::QWebFrame):
 
263
        (QWebFrame::load):
 
264
        (QWebFrame::setHtml):
 
265
        (QWebFrame::setContent):
 
266
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
267
        (DumpRenderTreeSupportQt::setAlternateHtml):
 
268
        (qt_dump_set_accepts_editing):
 
269
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
270
        (WebCore::FrameLoaderClientQt::callErrorPageExtension):
 
271
 
 
272
2012-11-26  Pierre Rossi  <pierre.rossi@gmail.com>
 
273
 
 
274
        [Qt] REGRESSION(r135575): It made all tests assert
 
275
        https://bugs.webkit.org/show_bug.cgi?id=103169
 
276
 
 
277
        Reviewed by Simon Hausmann.
 
278
 
 
279
        This fixes another regression introduced in r135515:
 
280
        initializeWebKitQt shouldn't implicitely call initializeWebCoreQt
 
281
        since it can be called from WebKit2 to initialize QStyle for testing.
 
282
        This would then lead to things such as PlatformStrategies being
 
283
        initialized twice.
 
284
 
 
285
        * Api/qwebpage.cpp: Explicitely call initializeWebCoreQt().
 
286
        (QWebPagePrivate::QWebPagePrivate):
 
287
        * WebCoreSupport/InitWebCoreQt.cpp:
 
288
        (WebKit::initializeWebKitQt):
 
289
        (WebCore::initializeWebCoreQt):
 
290
        * WebCoreSupport/InitWebCoreQt.h:
 
291
        (WebCore):
 
292
 
 
293
2012-11-26  Zeno Albisser  <zeno@webkit.org>
 
294
 
 
295
        [Qt] Make sure the QGLWidget context is current when creating the TextureMapper.
 
296
        https://bugs.webkit.org/show_bug.cgi?id=103142
 
297
 
 
298
        When creating the TextureMapperGL for WK1 we have to make sure
 
299
        that the GL context provided by the QGLWidget is current.
 
300
        Otherwise the GraphicsContext3DQt created by TextureMapperGL will pick up
 
301
        the wrong pointer by calling QOpenGLContext::currentContext().
 
302
 
 
303
        Reviewed by Simon Hausmann.
 
304
 
 
305
        * WebCoreSupport/PageClientQt.cpp:
 
306
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
307
 
 
308
2012-11-26  Michael Brüning  <michael.bruning@digia.com>
 
309
 
 
310
        [Qt] QStyleFacadeImp build break with latest Qt 5
 
311
        https://bugs.webkit.org/show_bug.cgi?id=103198
 
312
 
 
313
        Reviewed by Simon Hausmann.
 
314
 
 
315
        Original patch by J-P Nurmi <jpnurmi@digia.com>.
 
316
 
 
317
        Fixes QtWebKit build by replacing qobject_cast to
 
318
        QMacStyle with calls to QObject::inherits. Also
 
319
        replaces Q_WS_MAC preprocesser directives with Q_OS_MAC
 
320
        for Qt 5 compatibility.
 
321
 
 
322
        * WebCoreSupport/QStyleFacadeImp.cpp:
 
323
        (WebKit::QStyleFacadeImp::getButtonMetrics):
 
324
        (WebKit::QStyleFacadeImp::paintComboBox):
 
325
        (WebKit::QStyleFacadeImp::paintInnerSpinButton):
 
326
        (WebKit::QStyleFacadeImp::paintScrollBar):
 
327
 
 
328
2012-11-24  Sheriff Bot  <webkit.review.bot@gmail.com>
 
329
 
 
330
        Unreviewed, rolling out r135648 and r135649.
 
331
        http://trac.webkit.org/changeset/135648
 
332
        http://trac.webkit.org/changeset/135649
 
333
        https://bugs.webkit.org/show_bug.cgi?id=103176
 
334
 
 
335
        This change cannot be built with a qt-minimal configuration.
 
336
        (Requested by zalbisser on #webkit).
 
337
 
 
338
        * WebCoreSupport/PageClientQt.cpp:
 
339
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
340
 
 
341
2012-11-24  Zeno Albisser  <zeno@webkit.org>
 
342
 
 
343
        Unreviewed Qt build fix:
 
344
 
 
345
        Make sure QGLWidget definition is available.
 
346
 
 
347
        * WebCoreSupport/PageClientQt.cpp:
 
348
 
 
349
2012-11-24  Zeno Albisser  <zeno@webkit.org>
 
350
 
 
351
        [Qt] Make sure the QGLWidget context is current when creating the TextureMapper.
 
352
        https://bugs.webkit.org/show_bug.cgi?id=103142
 
353
 
 
354
        When creating the TextureMapperGL for WK1 we have to make sure
 
355
        that the GL context provided by the QGLWidget is current.
 
356
        Otherwise the GraphicsContext3DQt created by TextureMapperGL will pick up
 
357
        the wrong pointer by calling QOpenGLContext::currentContext().
 
358
 
 
359
        Reviewed by Kenneth Rohde Christiansen.
 
360
 
 
361
        * WebCoreSupport/PageClientQt.cpp:
 
362
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
363
 
 
364
2012-11-23  Sheriff Bot  <webkit.review.bot@gmail.com>
 
365
 
 
366
        Unreviewed, rolling out r135575.
 
367
        http://trac.webkit.org/changeset/135575
 
368
        https://bugs.webkit.org/show_bug.cgi?id=103169
 
369
 
 
370
        It made all tests assert (Requested by Ossy on #webkit).
 
371
 
 
372
        * Api/qwebpage.cpp:
 
373
        (QWebPagePrivate::QWebPagePrivate):
 
374
        * WebCoreSupport/InitWebCoreQt.cpp:
 
375
        (WebKit::initializeWebKitQt):
 
376
 
 
377
2012-11-23  Simon Hausmann  <simon.hausmann@digia.com>
 
378
 
 
379
        [Qt] Compiling against QtWebkit API requires QT_DLL to be defined
 
380
        https://bugs.webkit.org/show_bug.cgi?id=102942
 
381
 
 
382
        Reviewed by Tor Arne Vestbø.
 
383
 
 
384
        Remove the requirement of having QT_DLL defined in order for the QWEBKIT_EXPORT
 
385
        macro to be defined as Q_DECL_IMPORT. Instead unify the export macro definition
 
386
        to follow the same rules as other Qt 5 modules, with the exception that instead of
 
387
        QT_BUILD_WEBKIT_LIB we continue to use BUILDING_WEBKIT, because that's used also
 
388
        in other cross-platform header files to determine the correct meaning of export
 
389
        macros.
 
390
 
 
391
        * Api/qwebkitglobal.h:
 
392
 
 
393
2012-11-23  Simon Hausmann  <simon.hausmann@digia.com>
 
394
 
 
395
        Unreviewed trivial Qt/Win build fix:
 
396
 
 
397
        Include FormState.h/HTMLFormElement.h in the FrameLoaderClient
 
398
        declaration because MSVC needs it. Also fix Q_DECL_EXPORT declarations
 
399
        for functions that are supposed to be exported.
 
400
 
 
401
        * Api/qwebelement.cpp:
 
402
        * WebCoreSupport/FrameLoaderClientQt.h:
 
403
        * WebCoreSupport/InitWebCoreQt.h:
 
404
        (WebKit):
 
405
        * WebCoreSupport/InitWebKitQt.h:
 
406
        (WebKit):
 
407
 
 
408
2012-11-22  Simon Hausmann  <simon.hausmann@digia.com>
 
409
 
 
410
        Unreviewed MSVC Windows build fix: Include header files referenced in RefPtr
 
411
        instances.
 
412
 
 
413
        * Api/qwebelement.cpp:
 
414
 
 
415
2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
416
 
 
417
        Position in QWebHitTestResult does not match documentation
 
418
        https://bugs.webkit.org/show_bug.cgi?id=102909
 
419
 
 
420
        Reviewed by Simon Hausmann.
 
421
 
 
422
        Correct documentation and simplify using the new innerNodeFrame method.
 
423
 
 
424
        * Api/qwebframe.cpp:
 
425
        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
 
426
 
 
427
2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
428
 
 
429
        Disambiguate innerNodeFramePoint and mainFramePoint
 
430
        https://bugs.webkit.org/show_bug.cgi?id=98139
 
431
 
 
432
        Reviewed by Julien Chaffraix.
 
433
 
 
434
        * Api/qwebframe.cpp:
 
435
        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
 
436
        * Api/qwebpage.cpp:
 
437
        (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
 
438
 
 
439
2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
 
440
 
 
441
        Unreviewed, rolling out r135295.
 
442
        http://trac.webkit.org/changeset/135295
 
443
        https://bugs.webkit.org/show_bug.cgi?id=102834
 
444
 
 
445
        This patch causes assertion to some layout tests on chromium
 
446
        (Requested by jianli on #webkit).
 
447
 
 
448
        * Api/qwebframe.cpp:
 
449
        (QWebFrame::QWebFrame):
 
450
        (QWebFrame::load):
 
451
        (QWebFrame::setHtml):
 
452
        (QWebFrame::setContent):
 
453
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
454
        (DumpRenderTreeSupportQt::setAlternateHtml):
 
455
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
456
        (WebCore::FrameLoaderClientQt::callErrorPageExtension):
 
457
 
 
458
2012-11-20  James Simonsen  <simonjam@chromium.org>
 
459
 
 
460
        Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
 
461
        https://bugs.webkit.org/show_bug.cgi?id=102151
 
462
 
 
463
        Reviewed by Adam Barth.
 
464
 
 
465
        * Api/qwebframe.cpp:
 
466
        (QWebFrame::QWebFrame):
 
467
        (QWebFrame::load):
 
468
        (QWebFrame::setHtml):
 
469
        (QWebFrame::setContent):
 
470
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
471
        (DumpRenderTreeSupportQt::setAlternateHtml):
 
472
        (qt_dump_set_accepts_editing):
 
473
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
474
        (WebCore::FrameLoaderClientQt::callErrorPageExtension):
 
475
 
 
476
2012-11-18  Laszlo Gombos  <l.gombos@samsung.com>
 
477
 
 
478
        [Qt] Remove remaining traces of symbian
 
479
        https://bugs.webkit.org/show_bug.cgi?id=102634
 
480
 
 
481
        Reviewed by Kenneth Rohde Christiansen.
 
482
 
 
483
        Remove symbian related part from the API documentation.
 
484
 
 
485
        * Api/qgraphicswebview.cpp:
 
486
        * Api/qwebview.cpp:
 
487
 
 
488
2012-11-16  Kihong Kwon  <kihong.kwon@samsung.com>
 
489
 
 
490
        Add DeviceController base-class to remove duplication of DeviceXXXControler
 
491
        https://bugs.webkit.org/show_bug.cgi?id=96894
 
492
 
 
493
        Reviewed by Hajime Morita.
 
494
 
 
495
        Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
 
496
 
 
497
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
498
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
499
 
 
500
2012-11-14  Csaba Osztrogonác  <ossy@webkit.org>
 
501
 
 
502
        [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
 
503
        https://bugs.webkit.org/show_bug.cgi?id=63237
 
504
 
 
505
        Reviewed by Jocelyn Turcotte.
 
506
 
 
507
        Uncomment this API test, because it works fine now.
 
508
 
 
509
        * tests/qwebframe/tst_qwebframe.cpp:
 
510
        (tst_QWebFrame):
 
511
        (tst_QWebFrame::setUrlWithPendingLoads):
 
512
 
 
513
2012-11-14  Andras Becsi  <andras.becsi@digia.com>
 
514
 
 
515
        [Qt] QStyleFacadeImp should use a QPointer to store the application style
 
516
        https://bugs.webkit.org/show_bug.cgi?id=102084
 
517
 
 
518
        Reviewed by Simon Hausmann.
 
519
 
 
520
        QStyleFacadeImp implicitly creates a default style during the first
 
521
        call to QApplication::style() in QStyleFacadeImp::style() but this
 
522
        style is deleted when a custom style is set, thus the stored m_style
 
523
        raw pointer in QStyleFacadeImp becomes dangling.
 
524
        Use a QPointer to cache the style instead of a raw pointer.
 
525
 
 
526
        This fixes the start-up crash in the anomaly example.
 
527
        (https://bugreports.qt-project.org/browse/QTBUG-27924)
 
528
 
 
529
        * WebCoreSupport/QStyleFacadeImp.h:
 
530
        (QStyleFacadeImp):
 
531
 
 
532
2012-11-13  Andreas Kling  <kling@webkit.org>
 
533
 
 
534
        Move inline style logic from ElementAttributeData to StyledElement.
 
535
        <http://webkit.org/b/102120>
 
536
 
 
537
        Reviewed by Antti Koivisto.
 
538
 
 
539
        * Api/qwebelement.cpp:
 
540
        (QWebElement::styleProperty):
 
541
 
 
542
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
543
 
 
544
        [Qt] Fix tst_QWebPage::findText
 
545
 
 
546
        Reviewed by Simon Hausmann.
 
547
 
 
548
        Details of the failure:
 
549
        FAIL!  : tst_QWebPage::findText() Compared values are not the same
 
550
           Actual   (m_page->selectedHtml().trimmed().replace(regExp, "")): <span>foo</span>
 
551
           Expected (subString): foo
 
552
           Loc: [/home/joce/dev/webkit/Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(2964)]
 
553
 
 
554
        The format returned by selectedHtml changed.
 
555
        Make the test a bit more robust by just checking that the HTML
 
556
        contains our search value.
 
557
 
 
558
        * tests/qwebpage/tst_qwebpage.cpp:
 
559
        (tst_QWebPage::findText):
 
560
 
 
561
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
562
 
 
563
        [Qt] Fix tst_QWebPage::testLocalStorageVisibility
 
564
 
 
565
        Reviewed by Simon Hausmann.
 
566
 
 
567
        window.localStorage is expected to work for file URLs.
 
568
        I'm not sure why it did work when this test was written,
 
569
        but I believe that it had the wrong expected value.
 
570
 
 
571
        * tests/qwebpage/tst_qwebpage.cpp:
 
572
 
 
573
2012-11-08  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
574
 
 
575
        [Qt] Fix tst_QObjectBridge::callQtInvokable
 
576
 
 
577
        Reviewed by Simon Hausmann.
 
578
 
 
579
        Q_DECLARE_METATYPE now calls qRegisterMetaType so just prevent
 
580
        the value from being wrapped by QVariant since this code shouldn't
 
581
        be reached anyway.
 
582
 
 
583
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
584
        (MyQObject::myInvokableWithBrushStyleArg):
 
585
 
 
586
2012-11-08  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
587
 
 
588
        [Qt] Fix tst_QWebPage::inputMethods
 
589
 
 
590
        Reviewed by Simon Hausmann.
 
591
 
 
592
        Details of the failure:
 
593
        FAIL!  : tst_QWebPage::inputMethods(QWebView) Compared values are not the same
 
594
           Actual (page->settings()->fontFamily(QWebSettings::SerifFont)): FooSerifFont
 
595
           Expected (font.family()): Helvetica
 
596
           Loc: [Source/WebKit/qt/tests/qwebpage/tst_qwebpage.cpp(1691)]
 
597
 
 
598
        The issue was that WebCore wouldn't find FooSerifFont and would have
 
599
        RenderStyle::font() return the fallback font it used instead.
 
600
 
 
601
        * tests/qwebpage/tst_qwebpage.cpp:
 
602
        (tst_QWebPage::inputMethods):
 
603
 
 
604
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
605
 
 
606
        [Qt] Fix tst_QWebPage::showModalDialog() API test
 
607
        https://bugs.webkit.org/show_bug.cgi?id=63244
 
608
 
 
609
        Reviewed by Simon Hausmann.
 
610
 
 
611
        * tests/qwebpage/tst_qwebpage.cpp:
 
612
 
 
613
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
614
 
 
615
        [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle now works as expected
 
616
        https://bugs.webkit.org/show_bug.cgi?id=60372
 
617
 
 
618
        Reviewed by Simon Hausmann.
 
619
 
 
620
        Update the expected value to follow this comment in StylePropertySet::addParsedProperty:
 
621
        "Only add properties that have no !important counterpart present"
 
622
 
 
623
        * tests/qwebelement/tst_qwebelement.cpp:
 
624
        (tst_QWebElement::style):
 
625
 
 
626
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
627
 
 
628
        [Qt] tst_QWebElement::style() fails because QWebElement::CascadedStyle doesn't work as expected
 
629
        https://bugs.webkit.org/show_bug.cgi?id=65244
 
630
 
 
631
        Reviewed by Kenneth Rohde Christiansen.
 
632
 
 
633
        StyleResolver::styleRulesForElement now takes flags as parameter instead of a bool to specify
 
634
        that we want to exclude UI and user style sheets.
 
635
 
 
636
        * Api/qwebelement.cpp:
 
637
        (QWebElement::styleProperty):
 
638
        * tests/qwebelement/tst_qwebelement.cpp:
 
639
        (tst_QWebElement::style):
 
640
 
 
641
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
642
 
 
643
        [Qt] Appending "!important" to the property value of QWebElement::setStyleProperty isn't working
 
644
        https://bugs.webkit.org/show_bug.cgi?id=101763
 
645
 
 
646
        Reviewed by Kenneth Rohde Christiansen.
 
647
 
 
648
        In the pastWebCore have been considering the important token of a CSS
 
649
        property value if it was followed by !important as well as the
 
650
        important parameter of setInlineStyleProperty, but not anymore.
 
651
 
 
652
        Since we need to keep the behavior compatible, do the parsing of the
 
653
        value and extract the token if present. Ideally this would be passed
 
654
        as a parameter to the function but I think it's not worth deprecating
 
655
        the old mechanism.
 
656
        The parsing is pretty dumb, so this will break applications that
 
657
        passed a value with spaces between the "!" and "important".
 
658
 
 
659
        This fixes part of tst_QWebElement::style
 
660
 
 
661
        * Api/qwebelement.cpp:
 
662
        (QWebElement::setStyleProperty):
 
663
 
 
664
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
665
 
 
666
        [Qt] Fix URL issues in tst_qwebframe
 
667
        https://bugs.webkit.org/show_bug.cgi?id=101741
 
668
 
 
669
        Reviewed by Simon Hausmann.
 
670
 
 
671
        * tests/qwebframe/tst_qwebframe.cpp:
 
672
        (FakeReply::FakeReply):
 
673
        Properly forward the request URL to our custom reply.
 
674
        This would cause redirections not to occur. The requestedUrl and setUrlSameUrl tests
 
675
        would fail because of this.
 
676
 
 
677
        (tst_QWebFrame::setUrlToInvalid):
 
678
        - http:/example.com is a valid URL, but not a valid HTTP URL, so remove this check.
 
679
        - QCOMPARE uses testlib's toString on the QUrls to compare them and it now
 
680
        also output the error description. Since we want to compare the resulting
 
681
        URL instead, compare their toEncoded() value.
 
682
 
 
683
2012-11-08  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
684
 
 
685
        [Qt] Fix a crash in tst_QWebInspector::attachAndDestroy
 
686
        https://bugs.webkit.org/show_bug.cgi?id=101575
 
687
 
 
688
        Reviewed by Simon Hausmann.
 
689
 
 
690
        It can now happen that destroyInspectorView is called when the Page
 
691
        is destroyed. This would call getOrCreateInspector and re-create a
 
692
        QWebInspector.
 
693
 
 
694
        Since the new instance is created after our setInspector(0) cleanup
 
695
        in ~QWebPagePrivate, this runs into the same crash that this line was
 
696
        protecting us against.
 
697
 
 
698
        * WebCoreSupport/InspectorClientQt.cpp:
 
699
        (WebCore::InspectorFrontendClientQt::destroyInspectorView):
 
700
 
 
701
2012-11-09  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
702
 
 
703
        [Qt] Unmark now passing tests
 
704
        https://bugs.webkit.org/show_bug.cgi?id=65531
 
705
 
 
706
        Reviewed by Csaba Osztrogonác.
 
707
 
 
708
        * tests/qwebpage/tst_qwebpage.cpp:
 
709
        (tst_QWebPage::viewModes):
 
710
 
 
711
2012-11-07  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
712
 
 
713
        [Qt] API test tst_qwebinspector crashes
 
714
        https://bugs.webkit.org/show_bug.cgi?id=101599
 
715
 
 
716
        Reviewed by Simon Hausmann.
 
717
 
 
718
        Delete the internal inspector from QWebPage destructor, instead of causing recursions
 
719
        between QWebPagePrivate::setInspector and QWebInspector::setPage.
 
720
 
 
721
        Also separate the three tests in tst_QWebInspector to better tell which one is failing.
 
722
 
 
723
        * Api/qwebpage.cpp:
 
724
        (QWebPagePrivate::~QWebPagePrivate):
 
725
        (QWebPagePrivate::setInspector):
 
726
        * tests/qwebinspector/tst_qwebinspector.cpp:
 
727
        (tst_QWebInspector):
 
728
        (tst_QWebInspector::attachAndDestroyPageFirst):
 
729
        (tst_QWebInspector::attachAndDestroyInspectorFirst):
 
730
        (tst_QWebInspector::attachAndDestroyInternalInspector):
 
731
 
 
732
2012-11-08  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
733
 
 
734
        [Qt] Open link in this window action
 
735
        https://bugs.webkit.org/show_bug.cgi?id=101226
 
736
 
 
737
        Reviewed by Csaba Osztrogonác.
 
738
 
 
739
        * Api/qwebpage.cpp: Fix after r133763, move the initialization of OpenLinkInThisWindow to the proper place.
 
740
 
 
741
2012-11-07  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
742
 
 
743
        [Qt] Open link in this window action
 
744
        https://bugs.webkit.org/show_bug.cgi?id=101226
 
745
 
 
746
        Reviewed by Simon Hausmann.
 
747
 
 
748
        Adds the action to QtWebKit.
 
749
 
 
750
        * Api/qwebpage.cpp:
 
751
        (webActionForContextMenuAction):
 
752
        (QWebPage::triggerAction):
 
753
        (QWebPage::action):
 
754
        * Api/qwebpage.h:
 
755
 
 
756
2012-11-01  Stephen White  <senorblanco@chromium.org>
 
757
 
 
758
        Unreviewed, rolling out r133143.
 
759
        http://trac.webkit.org/changeset/133143
 
760
        https://bugs.webkit.org/show_bug.cgi?id=96894
 
761
 
 
762
        Causing content_browsertests failures
 
763
 
 
764
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
765
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
766
 
 
767
2012-11-01  Kihong Kwon  <kihong.kwon@samsung.com>
 
768
 
 
769
        Add DeviceController base-class to remove duplication of DeviceXXXControler
 
770
        https://bugs.webkit.org/show_bug.cgi?id=96894
 
771
 
 
772
        Reviewed by Hajime Morita.
 
773
 
 
774
        Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
 
775
 
 
776
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
777
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
778
 
 
779
2012-10-31  Sheriff Bot  <webkit.review.bot@gmail.com>
 
780
 
 
781
        Unreviewed, rolling out r133016.
 
782
        http://trac.webkit.org/changeset/133016
 
783
        https://bugs.webkit.org/show_bug.cgi?id=100856
 
784
 
 
785
        broke compile-webkit on several bots (Requested by podivilov
 
786
        on #webkit).
 
787
 
 
788
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
789
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
790
 
 
791
2012-10-31  Kihong Kwon  <kihong.kwon@samsung.com>
 
792
 
 
793
        Add DeviceController base-class to remove duplication of DeviceXXXControler
 
794
        https://bugs.webkit.org/show_bug.cgi?id=96894
 
795
 
 
796
        Reviewed by Hajime Morita.
 
797
 
 
798
        Change client() to deviceOrientationClient() to get DeviceOrientationClient*.
 
799
 
 
800
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
801
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
802
 
 
803
2012-10-30  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
 
804
 
 
805
        [QT][DRT] Remove unneeded testRunner.setMediaType() implementation
 
806
        https://bugs.webkit.org/show_bug.cgi?id=100740
 
807
 
 
808
        Reviewed by Kenneth Rohde Christiansen.
 
809
 
 
810
        Removed unneeded testRunner.setMediaType() implementation, as tests use
 
811
        cross-platform window.internals.settings.setMediaTypeOverride instead.
 
812
 
 
813
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
814
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
815
 
 
816
2012-10-24  Brady Eidson  <beidson@apple.com>
 
817
 
 
818
        Add a strategy for loader customization.
 
819
        https://bugs.webkit.org/show_bug.cgi?id=100278
 
820
 
 
821
        Reviewed by Alexey Proskuryakov.
 
822
 
 
823
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
824
        (PlatformStrategiesQt::createLoaderStrategy):
 
825
        * WebCoreSupport/PlatformStrategiesQt.h:
 
826
        (PlatformStrategiesQt):
 
827
 
 
828
2012-10-23  Alexey Proskuryakov  <ap@apple.com>
 
829
 
 
830
        Add a strategy for shared workers
 
831
        https://bugs.webkit.org/show_bug.cgi?id=100165
 
832
 
 
833
        Reviewed by Brady Eidson.
 
834
 
 
835
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
836
        (PlatformStrategiesQt::createPasteboardStrategy):
 
837
        (PlatformStrategiesQt::createSharedWorkerStrategy):
 
838
        (PlatformStrategiesQt::createVisitedLinkStrategy):
 
839
        * WebCoreSupport/PlatformStrategiesQt.h:
 
840
 
 
841
2012-10-24  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
842
 
 
843
        [Qt] Expose useful WebCore::Settings
 
844
        https://bugs.webkit.org/show_bug.cgi?id=100239
 
845
 
 
846
        Reviewed by Kenneth Rohde Christiansen.
 
847
 
 
848
        Expose the two settings CaretBrowsingEnabled and NotificationsEnabled.
 
849
 
 
850
        * Api/qwebsettings.cpp:
 
851
        (QWebSettingsPrivate::apply):
 
852
        (QWebSettings::QWebSettings):
 
853
        * Api/qwebsettings.h:
 
854
 
 
855
2012-10-23  Andras Becsi  <andras.becsi@digia.com>
 
856
 
 
857
        Remove devicePixelRatio from ViewportAttributes
 
858
        https://bugs.webkit.org/show_bug.cgi?id=99845
 
859
 
 
860
        Reviewed by Adam Barth.
 
861
 
 
862
        Pass the device pixel ratio as a function argument to
 
863
        match the new API.
 
864
 
 
865
        * Api/qwebpage.cpp:
 
866
        (QWebPage::viewportAttributesForSize):
 
867
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
868
        (DumpRenderTreeSupportQt::viewportAsText):
 
869
 
 
870
2012-10-23  Simon Hausmann  <simon.hausmann@digia.com>
 
871
 
 
872
        Unreviewed build fix with newer Qt 5.
 
873
 
 
874
        QPlastiqueStyle has been removed, but as pointed out by Jens it's also not
 
875
        maintained anymore and hence safe to remove. We can do tweaks with the new
 
876
        fusion style if required.
 
877
 
 
878
        * WebCoreSupport/QStyleFacadeImp.cpp:
 
879
        (WebKit::QStyleFacadeImp::paintInnerSpinButton):
 
880
 
 
881
2012-10-22  Simon Hausmann  <simon.hausmann@digia.com>
 
882
 
 
883
        [Qt] Fix build without QtWidgets
 
884
        https://bugs.webkit.org/show_bug.cgi?id=99981
 
885
 
 
886
        Reviewed by Tor Arne Vestbø.
 
887
 
 
888
        Remove dependency to QtWidgets that is not needed here anymore since
 
889
        the removal of the QtQuick1 code.
 
890
 
 
891
        * declarative/experimental/experimental.pri:
 
892
        * declarative/public.pri:
 
893
 
 
894
2012-10-22  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
 
895
 
 
896
        [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
 
897
        https://bugs.webkit.org/show_bug.cgi?id=98514
 
898
 
 
899
        Reviewed by Kenneth Rohde Christiansen.
 
900
 
 
901
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
902
        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage): Use FrameView::fixedVisibleContentRect
 
903
        instead of FrameView::visibleContentRect as the source to always keep the correct state.
 
904
 
 
905
2012-10-22  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
906
 
 
907
        [Qt] Basic gesture event handling
 
908
        https://bugs.webkit.org/show_bug.cgi?id=66173
 
909
 
 
910
        Reviewed by Simon Hausmann.
 
911
 
 
912
        Implement basic handling of QGestureEvent converting and forwarding
 
913
        Tap and TapAndHold gestures to WebCore.
 
914
 
 
915
        * Api/qwebpage.cpp:
 
916
        (QWebPagePrivate::gestureEvent):
 
917
        (QWebPage::event):
 
918
        * Api/qwebpage_p.h:
 
919
        (QWebPagePrivate):
 
920
        * WebCoreSupport/WebEventConversion.cpp:
 
921
        (WebKitPlatformGestureEvent):
 
922
        (WebCore::WebKitPlatformGestureEvent::WebKitPlatformGestureEvent):
 
923
        (WebCore::convertGesture):
 
924
        * WebCoreSupport/WebEventConversion.h:
 
925
 
 
926
2012-11-06  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
927
 
 
928
        Partial revert of r115998
 
929
 
 
930
        Commit broke both ABI and API in QtWebKit.
 
931
 
 
932
        * Api/qwebpage.cpp:
 
933
        (QWebPage::viewportAttributesForSize):
 
934
        * Api/qwebpage.h:
 
935
 
 
936
2012-10-17  Tor Arne Vestbø  <tor.arne.vestbo@digia.com>
 
937
 
 
938
        [Qt] Modularize documentation for QtWebKit
 
939
 
 
940
        Running 'make docs' would fail unless 'make qmake_all' was ran first,
 
941
        but qmake_all involved generating all the derived sources, which seems
 
942
        overly complex just for building documentation.
 
943
 
 
944
        We solve this by preventing all subdirs except QtWebKit from having a
 
945
        docs target. This would normally work fine on its own, but since we
 
946
        use CONFIG += ordered, there's now a missing doc target for the
 
947
        immediate dependency of the QtWebKit subdir. We solve this by adding
 
948
        a dummy-target ourselves.
 
949
 
 
950
        Finally, we clean up the qdocconf file to match the rest of the Qt
 
951
        documentation modularization efforts.
 
952
 
 
953
        Reviewed by Simon Hausmann.
 
954
 
 
955
        * docs/docs.pri: Removed.
 
956
        * docs/qtwebkit.qdocconf: Removed.
 
957
 
 
958
2012-10-10  Jon Lee  <jonlee@apple.com>
 
959
 
 
960
        [WK2] Activate plugins when user clicks on snapshot
 
961
        https://bugs.webkit.org/show_bug.cgi?id=98328
 
962
        <rdar://problem/12426681>
 
963
 
 
964
        Reviewed by Brady Eidson.
 
965
 
 
966
        * WebCoreSupport/FrameLoaderClientQt.h:
 
967
        (WebCore::FrameLoaderClientQt::recreatePlugin): Stub implementation of recreatePlugin().
 
968
 
 
969
2012-10-10  Balazs Kelemen  <kbalazs@webkit.org>
 
970
 
 
971
        [Qt] Test drivers should handle repaint rects
 
972
        https://bugs.webkit.org/show_bug.cgi?id=68870
 
973
 
 
974
        Reviewed by Zoltan Herczeg.
 
975
 
 
976
        Added helpers to enable and get the repaint rects.
 
977
 
 
978
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
979
        (DumpRenderTreeSupportQt::setTrackRepaintRects):
 
980
        (DumpRenderTreeSupportQt::trackRepaintRects):
 
981
        (DumpRenderTreeSupportQt::getTrackedRepaintRects):
 
982
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
983
 
 
984
2012-10-08  Simon Hausmann  <simon.hausmann@digia.com>
 
985
 
 
986
        [Qt] Make RenderThemeQStyle/ScrollbarThemeQStyle compile without QStyle/QtWidgets
 
987
        https://bugs.webkit.org/show_bug.cgi?id=98268
 
988
 
 
989
        Reviewed by Tor Arne Vestbø.
 
990
 
 
991
        Extracted QStyle/QWidget related code into a QWebStyle class that implements the QStyleFacade interface.
 
992
 
 
993
        QStyleFacade is a pure interface that lives in WebCore/platform/qt
 
994
        (next to RenderThemeQStyle and ScrollbarThemeQStyle) and provides a
 
995
        minimal interface of what we need to draw with QStyle as well as basic
 
996
        hit testing and metric retrieval. It also provides a
 
997
        QStyleFacadeOption class that aggregates common meta-data for
 
998
        rendering primitives, such as direction, rectangle, state (sunken,
 
999
        enabled, etc.) or palette. It also provides some more slider/scrollbar
 
1000
        specific fields in a slider sub-structure.
 
1001
 
 
1002
        RenderThemeQStyle/ScrollbarThemeQStyle used to instantiate specific QStyleOption sub-classes and populate
 
1003
        them with state information from render objects, before calling straight to QStyle. Most of the common code
 
1004
        was encapsulated in StylePainterQStyle.
 
1005
 
 
1006
        The new RenderThemeQStyle/ScrolllbarThemeQStyle uses common code in
 
1007
        StylePainterQStyle to populate state into QStyleFacadeOption before
 
1008
        calling into QStyleFacade.
 
1009
 
 
1010
        The style facade is then implemented by QStyleFacadeImp, which extracts
 
1011
        meta-data from QStyleFacadeOption arguments, populates style
 
1012
        primitive specific QStyleOption objects and then calls on QStyle.
 
1013
 
 
1014
        RenderThemeQStyle/ScrollbarThemeQStyle can only use interface methods
 
1015
        from QStyleFacade. QStyleFacadeImp on the other hand will live in the
 
1016
        separate QtWebKitWidgets library in the future and therefore cannot use
 
1017
        any WebCore types.
 
1018
 
 
1019
        * WebCoreSupport/InitWebCoreQt.cpp:
 
1020
        (WebCore::initializeWebCoreQt):
 
1021
        * WebCoreSupport/QStyleFacadeImp.cpp: Added.
 
1022
        (WebKit):
 
1023
        (WebKit::convertToQStyleState):
 
1024
        (WebKit::convertToQStyleSubControl):
 
1025
        (WebKit::initGenericStyleOption):
 
1026
        (WebKit::initSpecificStyleOption):
 
1027
        (MappedStyleOption):
 
1028
        (WebKit::MappedStyleOption::MappedStyleOption):
 
1029
        (WebKit::convertPixelMetric):
 
1030
        (WebKit::convertToQStyleFacadeSubControl):
 
1031
        (WebKit::QStyleFacadeImp::QStyleFacadeImp):
 
1032
        (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
 
1033
        (WebKit::QStyleFacadeImp::buttonSubElementRect):
 
1034
        (WebKit::QStyleFacadeImp::findFrameLineWidth):
 
1035
        (WebKit::QStyleFacadeImp::simplePixelMetric):
 
1036
        (WebKit::QStyleFacadeImp::buttonMargin):
 
1037
        (WebKit::QStyleFacadeImp::sliderLength):
 
1038
        (WebKit::QStyleFacadeImp::sliderThickness):
 
1039
        (WebKit::QStyleFacadeImp::progressBarChunkWidth):
 
1040
        (WebKit::QStyleFacadeImp::getButtonMetrics):
 
1041
        (WebKit::QStyleFacadeImp::sizeFromContents):
 
1042
        (WebKit::QStyleFacadeImp::paintButton):
 
1043
        (WebKit::QStyleFacadeImp::paintTextField):
 
1044
        (WebKit::QStyleFacadeImp::paintComboBox):
 
1045
        (WebKit::QStyleFacadeImp::paintComboBoxArrow):
 
1046
        (WebKit::QStyleFacadeImp::paintSliderTrack):
 
1047
        (WebKit::QStyleFacadeImp::paintSliderThumb):
 
1048
        (WebKit::QStyleFacadeImp::paintInnerSpinButton):
 
1049
        (WebKit::QStyleFacadeImp::paintProgressBar):
 
1050
        (WebKit::QStyleFacadeImp::scrollBarExtent):
 
1051
        (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
 
1052
        (WebKit::QStyleFacadeImp::paintScrollCorner):
 
1053
        (WebKit::QStyleFacadeImp::hitTestScrollBar):
 
1054
        (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
 
1055
        (WebKit::QStyleFacadeImp::paintScrollBar):
 
1056
        (WebKit::QStyleFacadeImp::widgetForPainter):
 
1057
        (WebKit::QStyleFacadeImp::style):
 
1058
        * WebCoreSupport/QStyleFacadeImp.h: Added.
 
1059
        (WebCore):
 
1060
        (WebKit):
 
1061
        (QStyleFacadeImp):
 
1062
        (WebKit::QStyleFacadeImp::create):
 
1063
        (WebKit::QStyleFacadeImp::isValid):
 
1064
 
 
1065
2012-10-08  Zoltan Horvath  <zoltan@webkit.org>
 
1066
 
 
1067
        [Qt] r122720 causes performance regression with DirectFB on ARMv7
 
1068
        https://bugs.webkit.org/show_bug.cgi?id=97548
 
1069
 
 
1070
        Reviewed by Jocelyn Turcotte.
 
1071
 
 
1072
        Revert the rest of r122720. This change modifies the NativeImagePtr from QImage* to QPixmap*.
 
1073
 
 
1074
        Covered by existing tests.
 
1075
 
 
1076
        * Api/qwebframe.cpp:
 
1077
        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
 
1078
        * Api/qwebhistory.cpp:
 
1079
        (QWebHistoryItem::icon):
 
1080
        * Api/qwebsettings.cpp:
 
1081
        (QWebSettings::iconForUrl):
 
1082
        (QWebSettings::setWebGraphic):
 
1083
        (QWebSettings::webGraphic):
 
1084
        * WebCoreSupport/DragClientQt.cpp:
 
1085
        (WebCore::DragClientQt::startDrag):
 
1086
        * WebCoreSupport/InitWebCoreQt.cpp:
 
1087
        (WebCore::initializeWebCoreQt):
 
1088
 
 
1089
2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
1090
 
 
1091
        Rename first/second to key/value in HashMap iterators
 
1092
        https://bugs.webkit.org/show_bug.cgi?id=82784
 
1093
 
 
1094
        Reviewed by Eric Seidel.
 
1095
 
 
1096
        * Api/qwebpage.cpp:
 
1097
        (extractContentTypeFromPluginVector):
 
1098
        * Api/qwebplugindatabase.cpp:
 
1099
        (QWebPluginInfo::mimeTypes):
 
1100
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
1101
        (PlatformStrategiesQt::getPluginInfo):
 
1102
 
 
1103
2012-10-05  Simon Hausmann  <simon.hausmann@digia.com>
 
1104
 
 
1105
        Unreviewed, rolling out r130495.
 
1106
        http://trac.webkit.org/changeset/130495
 
1107
        https://bugs.webkit.org/show_bug.cgi?id=98268
 
1108
 
 
1109
        Made WK2 tests crash.
 
1110
 
 
1111
        * WebCoreSupport/InitWebCoreQt.cpp:
 
1112
        (WebCore::initializeWebCoreQt):
 
1113
        * WebCoreSupport/QStyleFacadeImp.cpp: Removed.
 
1114
        * WebCoreSupport/QStyleFacadeImp.h: Removed.
 
1115
        * WebCoreSupport/RenderThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.cpp.
 
1116
        (WebCore):
 
1117
        (WebCore::initStyleOption):
 
1118
        (WebCore::RenderThemeQStyle::getStylePainter):
 
1119
        (WebCore::StylePainterQStyle::StylePainterQStyle):
 
1120
        (WebCore::StylePainterQStyle::init):
 
1121
        (WebCore::RenderThemeQStyle::create):
 
1122
        (WebCore::RenderThemeQStyle::RenderThemeQStyle):
 
1123
        (WebCore::RenderThemeQStyle::~RenderThemeQStyle):
 
1124
        (WebCore::RenderThemeQStyle::fallbackStyle):
 
1125
        (WebCore::RenderThemeQStyle::setPaletteFromPageClientIfExists):
 
1126
        (WebCore::RenderThemeQStyle::qStyle):
 
1127
        (WebCore::RenderThemeQStyle::findFrameLineWidth):
 
1128
        (WebCore::RenderThemeQStyle::inflateButtonRect):
 
1129
        (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
 
1130
        (WebCore::RenderThemeQStyle::adjustButtonStyle):
 
1131
        (WebCore::RenderThemeQStyle::setButtonPadding):
 
1132
        (WebCore::RenderThemeQStyle::paintButton):
 
1133
        (WebCore::RenderThemeQStyle::paintTextField):
 
1134
        (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
 
1135
        (WebCore::RenderThemeQStyle::paintTextArea):
 
1136
        (WebCore::RenderThemeQStyle::setPopupPadding):
 
1137
        (WebCore::RenderThemeQStyle::colorPalette):
 
1138
        (WebCore::RenderThemeQStyle::paintMenuList):
 
1139
        (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
 
1140
        (WebCore::RenderThemeQStyle::paintMenuListButton):
 
1141
        (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
 
1142
        (WebCore::RenderThemeQStyle::paintProgressBar):
 
1143
        (WebCore::RenderThemeQStyle::paintSliderTrack):
 
1144
        (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
 
1145
        (WebCore::RenderThemeQStyle::paintSliderThumb):
 
1146
        (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
 
1147
        (WebCore::RenderThemeQStyle::paintSearchField):
 
1148
        (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
 
1149
        (WebCore::RenderThemeQStyle::paintSearchFieldDecoration):
 
1150
        (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
 
1151
        (WebCore::RenderThemeQStyle::paintSearchFieldResultsDecoration):
 
1152
        (WebCore::RenderThemeQStyle::paintInnerSpinButton):
 
1153
        (WebCore::RenderThemeQStyle::initializeCommonQStyleOptions):
 
1154
        (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
 
1155
        * WebCoreSupport/RenderThemeQStyle.h: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.h.
 
1156
        (WebCore):
 
1157
        (RenderThemeQStyle):
 
1158
        (StylePainterQStyle):
 
1159
        (WebCore::StylePainterQStyle::isValid):
 
1160
        (WebCore::StylePainterQStyle::drawPrimitive):
 
1161
        (WebCore::StylePainterQStyle::drawControl):
 
1162
        (WebCore::StylePainterQStyle::drawComplexControl):
 
1163
        * WebCoreSupport/ScrollbarThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQStyle.cpp.
 
1164
        (WebCore):
 
1165
        (WebCore::ScrollbarThemeQStyle::~ScrollbarThemeQStyle):
 
1166
        (WebCore::scPart):
 
1167
        (WebCore::scrollbarPart):
 
1168
        (WebCore::styleOptionSlider):
 
1169
        (WebCore::ScrollbarThemeQStyle::paint):
 
1170
        (WebCore::ScrollbarThemeQStyle::hitTest):
 
1171
        (WebCore::ScrollbarThemeQStyle::shouldCenterOnThumb):
 
1172
        (WebCore::ScrollbarThemeQStyle::invalidatePart):
 
1173
        (WebCore::ScrollbarThemeQStyle::scrollbarThickness):
 
1174
        (WebCore::ScrollbarThemeQStyle::thumbPosition):
 
1175
        (WebCore::ScrollbarThemeQStyle::thumbLength):
 
1176
        (WebCore::ScrollbarThemeQStyle::trackPosition):
 
1177
        (WebCore::ScrollbarThemeQStyle::trackLength):
 
1178
        (WebCore::ScrollbarThemeQStyle::paintScrollCorner):
 
1179
        (WebCore::ScrollbarThemeQStyle::style):
 
1180
        * WebCoreSupport/ScrollbarThemeQStyle.h: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQStyle.h.
 
1181
        (WebCore):
 
1182
        (ScrollbarThemeQStyle):
 
1183
 
 
1184
2012-10-05  Simon Hausmann  <simon.hausmann@digia.com>
 
1185
 
 
1186
        [Qt] Make RenderThemeQStyle/ScrollbarThemeQStyle compile without QStyle/QtWidgets
 
1187
        https://bugs.webkit.org/show_bug.cgi?id=98268
 
1188
 
 
1189
        Reviewed by Tor Arne Vestbø.
 
1190
 
 
1191
        Extracted QStyle/QWidget related code into a QWebStyle class that implements the QStyleFacade interface.
 
1192
 
 
1193
        QStyleFacade is a pure interface that lives in WebCore/platform/qt
 
1194
        (next to RenderThemeQStyle and ScrollbarThemeQStyle) and provides a
 
1195
        minimal interface of what we need to draw with QStyle as well as basic
 
1196
        hit testing and metric retrieval. It also provides a
 
1197
        QStyleFacadeOption class that aggregates common meta-data for
 
1198
        rendering primitives, such as direction, rectangle, state (sunken,
 
1199
        enabled, etc.) or palette. It also provides some more slider/scrollbar
 
1200
        specific fields in a slider sub-structure.
 
1201
 
 
1202
        RenderThemeQStyle/ScrollbarThemeQStyle used to instantiate specific QStyleOption sub-classes and populate
 
1203
        them with state information from render objects, before calling straight to QStyle. Most of the common code
 
1204
        was encapsulated in StylePainterQStyle.
 
1205
 
 
1206
        The new RenderThemeQStyle/ScrolllbarThemeQStyle uses common code in
 
1207
        StylePainterQStyle to populate state into QStyleFacadeOption before
 
1208
        calling into QStyleFacade.
 
1209
 
 
1210
        The style facade is then implemented by QStyleFacadeImp, which extracts
 
1211
        meta-data from QStyleFacadeOption arguments, populates style
 
1212
        primitive specific QStyleOption objects and then calls on QStyle.
 
1213
 
 
1214
        RenderThemeQStyle/ScrollbarThemeQStyle can only use interface methods
 
1215
        from QStyleFacade. QStyleFacadeImp on the other hand will live in the
 
1216
        separate QtWebKitWidgets library in the future and therefore cannot use
 
1217
        any WebCore types.
 
1218
 
 
1219
        * WebCoreSupport/InitWebCoreQt.cpp:
 
1220
        (WebCore::initializeWebCoreQt):
 
1221
        * WebCoreSupport/QStyleFacadeImp.cpp: Added.
 
1222
        (WebKit):
 
1223
        (WebKit::convertToQStyleState):
 
1224
        (WebKit::convertToQStyleSubControl):
 
1225
        (WebKit::initGenericStyleOption):
 
1226
        (WebKit::initSpecificStyleOption):
 
1227
        (MappedStyleOption):
 
1228
        (WebKit::MappedStyleOption::MappedStyleOption):
 
1229
        (WebKit::convertPixelMetric):
 
1230
        (WebKit::convertToQStyleFacadeSubControl):
 
1231
        (WebKit::QStyleFacadeImp::QStyleFacadeImp):
 
1232
        (WebKit::QStyleFacadeImp::~QStyleFacadeImp):
 
1233
        (WebKit::QStyleFacadeImp::buttonSubElementRect):
 
1234
        (WebKit::QStyleFacadeImp::findFrameLineWidth):
 
1235
        (WebKit::QStyleFacadeImp::simplePixelMetric):
 
1236
        (WebKit::QStyleFacadeImp::buttonMargin):
 
1237
        (WebKit::QStyleFacadeImp::sliderLength):
 
1238
        (WebKit::QStyleFacadeImp::sliderThickness):
 
1239
        (WebKit::QStyleFacadeImp::progressBarChunkWidth):
 
1240
        (WebKit::QStyleFacadeImp::getButtonMetrics):
 
1241
        (WebKit::QStyleFacadeImp::sizeFromContents):
 
1242
        (WebKit::QStyleFacadeImp::paintButton):
 
1243
        (WebKit::QStyleFacadeImp::paintTextField):
 
1244
        (WebKit::QStyleFacadeImp::paintComboBox):
 
1245
        (WebKit::QStyleFacadeImp::paintComboBoxArrow):
 
1246
        (WebKit::QStyleFacadeImp::paintSliderTrack):
 
1247
        (WebKit::QStyleFacadeImp::paintSliderThumb):
 
1248
        (WebKit::QStyleFacadeImp::paintInnerSpinButton):
 
1249
        (WebKit::QStyleFacadeImp::paintProgressBar):
 
1250
        (WebKit::QStyleFacadeImp::scrollBarExtent):
 
1251
        (WebKit::QStyleFacadeImp::scrollBarMiddleClickAbsolutePositionStyleHint):
 
1252
        (WebKit::QStyleFacadeImp::paintScrollCorner):
 
1253
        (WebKit::QStyleFacadeImp::hitTestScrollBar):
 
1254
        (WebKit::QStyleFacadeImp::scrollBarSubControlRect):
 
1255
        (WebKit::QStyleFacadeImp::paintScrollBar):
 
1256
        (WebKit::QStyleFacadeImp::widgetForPainter):
 
1257
        (WebKit::QStyleFacadeImp::style):
 
1258
        * WebCoreSupport/QStyleFacadeImp.h: Added.
 
1259
        (WebCore):
 
1260
        (WebKit):
 
1261
        (QStyleFacadeImp):
 
1262
        (WebKit::QStyleFacadeImp::create):
 
1263
        (WebKit::QStyleFacadeImp::isValid):
 
1264
 
 
1265
2012-10-05  Simon Hausmann  <simon.hausmann@digia.com>
 
1266
 
 
1267
        [Qt] Remove dead code
 
1268
        https://bugs.webkit.org/show_bug.cgi?id=98491
 
1269
 
 
1270
        Reviewed by Jocelyn Turcotte.
 
1271
 
 
1272
        This code was added long time ago for a Symbian related project and is
 
1273
        not needed anymore.
 
1274
 
 
1275
        * Api/qwebframe.cpp:
 
1276
 
 
1277
2012-10-04  Simon Fraser  <simon.fraser@apple.com>
 
1278
 
 
1279
        Final part of "sync" to "flush" renaming
 
1280
        https://bugs.webkit.org/show_bug.cgi?id=98430
 
1281
 
 
1282
        Reviewed by Tim Horton.
 
1283
 
 
1284
        Change method names on GraphicsLayer and GraphicsLayerClient that
 
1285
        refer to "sync" to use the term "flush" instead, to be consistent
 
1286
        with the rest of the code.
 
1287
 
 
1288
        * WebCoreSupport/PageClientQt.cpp:
 
1289
        (WebCore::TextureMapperLayerClientQt::syncRootLayer):
 
1290
 
 
1291
2012-10-04  Simon Fraser  <simon.fraser@apple.com>
 
1292
 
 
1293
        Standardize on "flush" terminology for compositing layer flushing/syncing
 
1294
        https://bugs.webkit.org/show_bug.cgi?id=98321
 
1295
 
 
1296
        Reviewed by Simon Fraser.
 
1297
 
 
1298
        Rename compositing-related methods that refer to "syncing" to instead
 
1299
        refer to "flushing".
 
1300
 
 
1301
        * WebCoreSupport/ChromeClientQt.cpp:
 
1302
        (WebCore::ChromeClientQt::scheduleCompositingLayerFlush):
 
1303
        * WebCoreSupport/ChromeClientQt.h:
 
1304
        (ChromeClientQt):
 
1305
        * WebCoreSupport/PageClientQt.cpp:
 
1306
        (WebCore::PageClientQGraphicsWidget::syncLayers):
 
1307
 
 
1308
2012-10-03  Balazs Kelemen  <kbalazs@webkit.org>
 
1309
 
 
1310
        [Qt] Enable mock scrollbars
 
1311
        https://bugs.webkit.org/show_bug.cgi?id=98011
 
1312
 
 
1313
        Reviewed by Csaba Osztrogonác.
 
1314
 
 
1315
        Added helper to enable mock scrollbars.
 
1316
 
 
1317
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
1318
        (DumpRenderTreeSupportQt::enableMockScrollbars):
 
1319
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
1320
 
 
1321
2012-10-01  Brady Eidson  <beidson@apple.com>
 
1322
 
 
1323
        Remove the Safari 2 -> Safari 3 icon database import code.
 
1324
        https://bugs.webkit.org/show_bug.cgi?id=98113
 
1325
 
 
1326
        Reviewed by Maciej Stachowiak.
 
1327
 
 
1328
        Nuke the performImport() IconDatabaseClient method.
 
1329
 
 
1330
        * WebCoreSupport/IconDatabaseClientQt.cpp:
 
1331
        * WebCoreSupport/IconDatabaseClientQt.h:
 
1332
        (IconDatabaseClientQt):
 
1333
 
 
1334
2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
 
1335
 
 
1336
        Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
 
1337
        https://bugs.webkit.org/show_bug.cgi?id=97547
 
1338
 
 
1339
        Reviewed by Adam Barth.
 
1340
 
 
1341
        Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
 
1342
        inside WebCore::FrameLoaderClientQt::canShowMIMEType().
 
1343
 
 
1344
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
1345
        (WebCore::FrameLoaderClientQt::canShowMIMEType):
 
1346
 
 
1347
2012-09-27  Allan Sandfeld Jensen  <allan.jensen@digia.com>
 
1348
 
 
1349
        Unify event handling of middle mouse button.
 
1350
        https://bugs.webkit.org/show_bug.cgi?id=97690
 
1351
 
 
1352
        Reviewed by Tony Chang.
 
1353
 
 
1354
        Remove port specific handling of middle mouse button press.
 
1355
 
 
1356
        * Api/qwebpage.cpp:
 
1357
        (QWebPagePrivate::mouseReleaseEvent):
 
1358
        * Api/qwebpage_p.h:
 
1359
        (QWebPagePrivate):
 
1360
 
 
1361
2012-09-25  Beth Dakin  <bdakin@apple.com>
 
1362
 
 
1363
        https://bugs.webkit.org/show_bug.cgi?id=95397
 
1364
        Need to merge didFirstVisuallyNonEmptyLayout and 
 
1365
        didNewFirstVisuallyNonEmptyLayout
 
1366
        -and corresponding-
 
1367
        <rdar://problem/10791680>
 
1368
 
 
1369
        Reviewed by Sam Weinig.
 
1370
 
 
1371
        Remove dispatchDidFirstLayout, 
 
1372
        dispatchDidFirstVisuallyNonEmptyLayout, and 
 
1373
        dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
 
1374
        is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
 
1375
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
1376
        (WebCore::FrameLoaderClientQt::dispatchDidLayout):
 
1377
        * WebCoreSupport/FrameLoaderClientQt.h:
 
1378
        (FrameLoaderClientQt):
 
1379
 
 
1380
        It is now necessary to opt into getting any of the 
 
1381
        "layout milestone" notifications.
 
1382
        * Api/qwebpage.cpp:
 
1383
        (QWebPagePrivate::QWebPagePrivate):
 
1384
 
 
1385
2012-09-25  Simon Hausmann  <simon.hausmann@digia.com>
 
1386
 
 
1387
        [Qt] Fix failing assertion when calling QWebSettings::setIconDatabasePath multiple times
 
1388
 
 
1389
        Reviewed by Jocelyn Turcotte.
 
1390
 
 
1391
        This happens in various auto-tests. We can implement this by closing the database before
 
1392
        opening it with the new path.
 
1393
 
 
1394
        * Api/qwebsettings.cpp:
 
1395
        (QWebSettings::setIconDatabasePath):
 
1396
 
 
1397
2012-09-24  Benjamin Poulain  <bpoulain@apple.com>
 
1398
 
 
1399
        Fix Geolocation error reporting in the test support
 
1400
        https://bugs.webkit.org/show_bug.cgi?id=97386
 
1401
 
 
1402
        Reviewed by Sam Weinig.
 
1403
 
 
1404
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
1405
        (DumpRenderTreeSupportQt::setMockGeolocationPositionUnavailableError):
 
1406
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
1407
 
 
1408
2012-09-20  Csaba Osztrogonác  <ossy@webkit.org>
 
1409
 
 
1410
        [Qt] Enable CSS regions by default
 
1411
        https://bugs.webkit.org/show_bug.cgi?id=97196
 
1412
 
 
1413
        Reviewed by Dirk Schulze.
 
1414
 
 
1415
        * Api/qwebsettings.cpp:
 
1416
        (QWebSettings::QWebSettings):
 
1417
 
 
1418
2012-09-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
1419
 
 
1420
        [Qt] Use UndoStep::editingAction() to set the text of undo/redo actions
 
1421
        https://bugs.webkit.org/show_bug.cgi?id=96921
 
1422
 
 
1423
        Reviewed by Ryosuke Niwa.
 
1424
 
 
1425
        Set the text of QUndoCommands we create for undo/redo actions based on the
 
1426
        editing action from UndoStep.
 
1427
 
 
1428
        This change is visible using QtTestBrowser, and looking at the Edit menu after
 
1429
        doing HTML editing changes. I've used http://simple-rte.rniwa.com for testing.
 
1430
 
 
1431
        * WebCoreSupport/UndoStepQt.cpp:
 
1432
        (undoNameForEditAction): This function returns a localized name of the action.
 
1433
        (UndoStepQt::UndoStepQt): Set the text based on UndoStep::editingAction.
 
1434
        * tests/qwebpage/tst_qwebpage.cpp:
 
1435
        (tst_QWebPage):
 
1436
        (tst_QWebPage::undoActionHaveCustomText): Create a new test to verify that the text
 
1437
        describing the undo action after inserting a text and indenting the text is different.
 
1438
 
 
1439
2012-09-17  Leo Franchi  <lfranchi@kde.org>
 
1440
 
 
1441
        [Qt] Inspector WebSocket backend protocol update
 
1442
        https://bugs.webkit.org/show_bug.cgi?id=77031
 
1443
 
 
1444
        Also adds support for multi-frame messages and non-text messages.
 
1445
        Thanks to Jocelyn Turcotte for most of the WebSocket update code!
 
1446
 
 
1447
        Reviewed by Simon Hausmann.
 
1448
 
 
1449
        * WebCoreSupport/InspectorServerQt.cpp:
 
1450
        (WebCore):
 
1451
        (WebCore::generateWebSocketChallengeResponse):
 
1452
        (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
 
1453
        (WebCore::InspectorServerRequestHandlerQt::webSocketSend):
 
1454
        (WebCore::applyMask):
 
1455
        (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
 
1456
        * WebCoreSupport/InspectorServerQt.h:
 
1457
        (InspectorServerRequestHandlerQt):
 
1458
 
 
1459
2012-09-15  Pierre Rossi  <pierre.rossi@gmail.com>
 
1460
 
 
1461
        [Qt] QDoc fixes for Qt 5 documentation
 
1462
        https://bugs.webkit.org/show_bug.cgi?id=96796
 
1463
 
 
1464
        Reviewed by Simon Hausmann.
 
1465
 
 
1466
        Produce fewer warnings and a better documentation.
 
1467
        Having two QML modules providing a WebView component is a bit too much for poor old qdoc to
 
1468
        cope with (or would require a lot of painful disambiguation by hand). Since the plan is to have
 
1469
        QDeclarativeWebView living in the qtquick1 module, we can already take it out of the 
 
1470
        documentation generation for now.
 
1471
 
 
1472
        * declarative/qdeclarativewebview.cpp: s/qmlclass/qmltype/ out of principle
 
1473
        * docs/qtwebkit.qdocconf: Remove the \i alias that caused a warning. Use *.h as headers suffix, not sources.
 
1474
        Also remove QDeclarativeWebView from the documentation.
 
1475
 
 
1476
2012-09-13  Lauro Neto  <lauro.neto@openbossa.org>
 
1477
 
 
1478
        [Qt][WK2] fast/forms/access-key-for-all-elements.html fails
 
1479
        https://bugs.webkit.org/show_bug.cgi?id=73917
 
1480
 
 
1481
        Reviewed by Simon Hausmann.
 
1482
 
 
1483
        Access-key tests were failing due to hardcoded Mac OS X in the
 
1484
        Qt WK2 user agent string. This commit moves the WK1 implementation
 
1485
        to a shared one to be used by both versions.
 
1486
 
 
1487
        Change QWebPage to use the shared user agent implementation.
 
1488
 
 
1489
        * Api/qwebpage.cpp:
 
1490
        (QWebPage::userAgentForUrl):
 
1491
 
 
1492
2012-09-13  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
 
1493
 
 
1494
        [Qt] Fix qdoc executable preparation
 
1495
 
 
1496
        Reviewed by Tor Arne Vestbø.
 
1497
 
 
1498
        * docs/docs.pri:
 
1499
 
 
1500
2012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
 
1501
 
 
1502
        Unreviewed, rolling out r127876.
 
1503
        http://trac.webkit.org/changeset/127876
 
1504
        https://bugs.webkit.org/show_bug.cgi?id=96600
 
1505
 
 
1506
        mouse click doesn't work for spin button if spin button in
 
1507
        iframe (Requested by yosin on #webkit).
 
1508
 
 
1509
        * Api/qwebframe.cpp:
 
1510
        (QWebFrame::hitTestContent):
 
1511
        * Api/qwebpage.cpp:
 
1512
        (QWebPagePrivate::handleSoftwareInputPanel):
 
1513
        (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
 
1514
        (QWebPage::updatePositionDependentActions):
 
1515
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
1516
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
 
1517
 
 
1518
2012-09-12  Roland Takacs  <rtakacs@inf.u-szeged.hu>
 
1519
 
 
1520
        [Qt] Segmentation fault when closing QtTestBrowser
 
1521
        https://bugs.webkit.org/show_bug.cgi?id=95003
 
1522
 
 
1523
        Reviewed by Simon Hausmann.
 
1524
 
 
1525
        Defined a new QObject* variable that points to the QGLWidget that was created
 
1526
        in 'createPlatformGraphicsContext3DFromWidget'.
 
1527
        It is neccessary for deallocating it.
 
1528
 
 
1529
        * WebCoreSupport/PageClientQt.cpp:
 
1530
        (createPlatformGraphicsContext3DFromWidget):
 
1531
        (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
 
1532
        (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
 
1533
        * WebCoreSupport/PageClientQt.h:
 
1534
        (PageClientQWidget):
 
1535
        (PageClientQGraphicsWidget):
 
1536
 
 
1537
2012-09-12  Andras Becsi  <andras.becsi@nokia.com>
 
1538
 
 
1539
        [Qt] Add module identifier directive to the qmldir files
 
1540
        https://bugs.webkit.org/show_bug.cgi?id=96406
 
1541
 
 
1542
        Reviewed by Simon Hausmann.
 
1543
 
 
1544
        Qt5 QML modules need to be identified. Type registrations are only permitted
 
1545
        into the namespace identified in the qmldir file's module identifier directive.
 
1546
        Additionally this also facilitates the protection against external registrations.
 
1547
        This patch suppresses a warning when importing the QtWebKit module.
 
1548
 
 
1549
        * declarative/experimental/qmldir:
 
1550
        * declarative/qmldir:
 
1551
 
 
1552
2012-09-11  Marcelo Lira  <marcelo.lira@openbossa.org>
 
1553
 
 
1554
        Restore original value of mock scrollbars enabled in InternalSettings
 
1555
        https://bugs.webkit.org/show_bug.cgi?id=87680
 
1556
 
 
1557
        Reviewed by Adam Barth.
 
1558
 
 
1559
        Added backup support for mock scrollbars state in
 
1560
        InternalSettings::Backup, and removed support for these
 
1561
        from Qt's DumpRenderTree.
 
1562
 
 
1563
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
1564
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
1565
 
 
1566
2012-09-09  Emil A Eklund  <eae@chromium.org>
 
1567
 
 
1568
        Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
 
1569
        https://bugs.webkit.org/show_bug.cgi?id=81413
 
1570
 
 
1571
        Reviewed by David Hyatt.
 
1572
 
 
1573
        Update qwebelement and qwebpage to call pixelSnappedBoundingBox.
 
1574
 
 
1575
        * Api/qwebelement.cpp:
 
1576
        (QWebElement::geometry):
 
1577
        (QWebElement::render):
 
1578
        * Api/qwebpage.cpp:
 
1579
        (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
 
1580
 
 
1581
2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
 
1582
 
 
1583
        Simplify hitTestResultAtPoint and nodesFromRect APIs
 
1584
        https://bugs.webkit.org/show_bug.cgi?id=95720
 
1585
 
 
1586
        Reviewed by Antonio Gomes.
 
1587
 
 
1588
        Update calls to new API.
 
1589
 
 
1590
        * Api/qwebframe.cpp:
 
1591
        (QWebFrame::hitTestContent):
 
1592
        * Api/qwebpage.cpp:
 
1593
        (QWebPagePrivate::handleSoftwareInputPanel):
 
1594
        (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
 
1595
        (QWebPage::updatePositionDependentActions):
 
1596
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
1597
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
 
1598
 
 
1599
2012-09-07  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
 
1600
 
 
1601
        X11 Global Selection
 
1602
        https://bugs.webkit.org/show_bug.cgi?id=88238
 
1603
 
 
1604
        Reviewed by Tony Chang.
 
1605
 
 
1606
        Use new editor command for pasting global selection, and update it using
 
1607
        the respondToChangedSelection callback.
 
1608
 
 
1609
        * Api/qwebpage.cpp:
 
1610
        (QWebPagePrivate::handleClipboard):
 
1611
        * WebCoreSupport/EditorClientQt.cpp:
 
1612
        (WebCore::EditorClientQt::respondToChangedSelection):
 
1613
        (WebCore::EditorClientQt::supportsGlobalSelection):
 
1614
        * WebCoreSupport/EditorClientQt.h:
 
1615
        (EditorClientQt):
 
1616
 
 
1617
2012-09-05  Sam Weinig  <sam@webkit.org>
 
1618
 
 
1619
        Part 2 of removing PlatformString.h, remove PlatformString.h
 
1620
        https://bugs.webkit.org/show_bug.cgi?id=95931
 
1621
 
 
1622
        Reviewed by Adam Barth.
 
1623
 
 
1624
        Remove PlatformString.h
 
1625
 
 
1626
        * Api/qwebdatabase_p.h:
 
1627
        * Api/qwebframe_p.h:
 
1628
        * Api/qwebhistory.cpp:
 
1629
        * Api/qwebhistoryinterface.cpp:
 
1630
        * Api/qwebpage_p.h:
 
1631
        * Api/qwebsettings.cpp:
 
1632
        * WebCoreSupport/ChromeClientQt.h:
 
1633
        * WebCoreSupport/InspectorClientQt.cpp:
 
1634
 
 
1635
2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
 
1636
 
 
1637
        [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
 
1638
        https://bugs.webkit.org/show_bug.cgi?id=92735
 
1639
 
 
1640
        Reviewed by Hajime Morita.
 
1641
 
 
1642
        Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
 
1643
 
 
1644
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
1645
        (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
 
1646
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
1647
 
 
1648
2012-09-04  Jon Lee  <jonlee@apple.com>
 
1649
 
 
1650
        [Qt] REGRESSION(r127321): It made 3 notification test timeout
 
1651
        https://bugs.webkit.org/show_bug.cgi?id=95638
 
1652
 
 
1653
        Reviewed by Csaba Osztrogonác.
 
1654
 
 
1655
        Dispatch show event instead of display after r127321.
 
1656
 
 
1657
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
1658
        (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
 
1659
 
 
1660
2012-08-31  Simon Hausmann  <simon.hausmann@nokia.com>
 
1661
 
 
1662
        [Qt] Port convertValueToQVariant to use the JSC C API
 
1663
        https://bugs.webkit.org/show_bug.cgi?id=94695
 
1664
 
 
1665
        Reviewed by Kenneth Rohde Christiansen.
 
1666
 
 
1667
        Minor adaptations are needed here to accomodate the changed signature of
 
1668
        convertValueToQVariant.
 
1669
 
 
1670
        * Api/qwebelement.cpp:
 
1671
        (QWebElement::evaluateJavaScript):
 
1672
        (convertJSValueToWebElementVariant):
 
1673
        * Api/qwebframe.cpp:
 
1674
        (QWebFrame::evaluateJavaScript):
 
1675
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
1676
        (convertJSValueToNodeVariant):
 
1677
 
 
1678
2012-08-30  Geoffrey Garen  <ggaren@apple.com>
 
1679
 
 
1680
        Use one object instead of two for closures, eliminating ScopeChainNode
 
1681
        https://bugs.webkit.org/show_bug.cgi?id=95501
 
1682
 
 
1683
        Reviewed by Filip Pizlo.
 
1684
 
 
1685
        Mechanical change to update for JSC interface change.
 
1686
 
 
1687
        * Api/qwebelement.cpp:
 
1688
        (QWebElement::evaluateJavaScript):
 
1689
 
 
1690
2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
 
1691
 
 
1692
        Replace JSC::UString by WTF::String
 
1693
        https://bugs.webkit.org/show_bug.cgi?id=95271
 
1694
 
 
1695
        Reviewed by Geoffrey Garen.
 
1696
 
 
1697
        Replace UString by String.
 
1698
 
 
1699
        * Api/qwebelement.cpp:
 
1700
        (QWebElement::evaluateJavaScript):
 
1701
 
 
1702
2012-08-29  Simon Hausmann  <simon.hausmann@nokia.com>
 
1703
 
 
1704
        [Qt] Fix doc generation with make docs
 
1705
        https://bugs.webkit.org/show_bug.cgi?id=95340
 
1706
 
 
1707
        Reviewed by Kenneth Rohde Christiansen.
 
1708
 
 
1709
        Fix doc target, similar to what the other Qt 5 modules are using and comment out the indexes
 
1710
        line, because cross-referencing doesn't work right now and the use of the QTDIR environment
 
1711
        is wrong, too.
 
1712
 
 
1713
        * docs/docs.pri:
 
1714
        * docs/qtwebkit.qdocconf:
 
1715
 
 
1716
2012-08-22  Simon Hausmann  <simon.hausmann@nokia.com>
 
1717
 
 
1718
        [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
 
1719
        https://bugs.webkit.org/show_bug.cgi?id=93897
 
1720
 
 
1721
        Reviewed by Kenneth Rohde Christiansen.
 
1722
 
 
1723
        Fixed some test expectations.
 
1724
 
 
1725
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
1726
        (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
 
1727
        can go back to testing Function.prototype.call, as it was done before r125428.
 
1728
        (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
 
1729
        (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
 
1730
        run-time methods back to being non-configurable, as before r125428.
 
1731
 
 
1732
2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
 
1733
 
 
1734
        Unreviewed, rolling out r126914.
 
1735
        http://trac.webkit.org/changeset/126914
 
1736
        https://bugs.webkit.org/show_bug.cgi?id=95239
 
1737
 
 
1738
        it breaks everything and fixes nothing (Requested by pizlo on
 
1739
        #webkit).
 
1740
 
 
1741
        * Api/qwebpage.cpp:
 
1742
        (extractContentTypeFromPluginVector):
 
1743
        * Api/qwebplugindatabase.cpp:
 
1744
        (QWebPluginInfo::mimeTypes):
 
1745
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
1746
        (PlatformStrategiesQt::getPluginInfo):
 
1747
 
 
1748
2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
1749
 
 
1750
        Rename first/second to key/value in HashMap iterators
 
1751
        https://bugs.webkit.org/show_bug.cgi?id=82784
 
1752
 
 
1753
        Reviewed by Eric Seidel.
 
1754
 
 
1755
        * Api/qwebpage.cpp:
 
1756
        (extractContentTypeFromPluginVector):
 
1757
        * Api/qwebplugindatabase.cpp:
 
1758
        (QWebPluginInfo::mimeTypes):
 
1759
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
1760
        (PlatformStrategiesQt::getPluginInfo):
 
1761
 
 
1762
2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
 
1763
 
 
1764
        Unreviewed, rolling out r126836.
 
1765
        http://trac.webkit.org/changeset/126836
 
1766
        https://bugs.webkit.org/show_bug.cgi?id=95163
 
1767
 
 
1768
        Broke all Apple ports, EFL, and Qt. (Requested by tkent on
 
1769
        #webkit).
 
1770
 
 
1771
        * Api/qwebpage.cpp:
 
1772
        (extractContentTypeFromPluginVector):
 
1773
        * Api/qwebplugindatabase.cpp:
 
1774
        (QWebPluginInfo::mimeTypes):
 
1775
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
1776
        (PlatformStrategiesQt::getPluginInfo):
 
1777
 
 
1778
2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
1779
 
 
1780
        Rename first/second to key/value in HashMap iterators
 
1781
        https://bugs.webkit.org/show_bug.cgi?id=82784
 
1782
 
 
1783
        Reviewed by Eric Seidel.
 
1784
 
 
1785
        * Api/qwebpage.cpp:
 
1786
        (extractContentTypeFromPluginVector):
 
1787
        * Api/qwebplugindatabase.cpp:
 
1788
        (QWebPluginInfo::mimeTypes):
 
1789
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
1790
        (PlatformStrategiesQt::getPluginInfo):
 
1791
 
 
1792
2012-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
 
1793
 
 
1794
        Unreviewed, rolling out r126287.
 
1795
        http://trac.webkit.org/changeset/126287
 
1796
        https://bugs.webkit.org/show_bug.cgi?id=94708
 
1797
 
 
1798
        It made WK1 layout testing 3.7x slower (>1hours) (Requested by
 
1799
        ossy on #webkit).
 
1800
 
 
1801
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
1802
        (tst_QObjectBridge::objectDeleted):
 
1803
        (tst_QObjectBridge::introspectQtMethods_data):
 
1804
        (tst_QObjectBridge::introspectQtMethods):
 
1805
 
 
1806
2012-08-22  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
 
1807
 
 
1808
        [Qt] Optionally support smooth-scrolling on all platforms
 
1809
        https://bugs.webkit.org/show_bug.cgi?id=74926
 
1810
 
 
1811
        Reviewed by Simon Hausmann.
 
1812
 
 
1813
        Expose the enable scroll animator setting.
 
1814
 
 
1815
        * Api/qwebsettings.cpp:
 
1816
        (QWebSettingsPrivate::apply):
 
1817
        (QWebSettings::QWebSettings):
 
1818
        * Api/qwebsettings.h:
 
1819
 
 
1820
2012-08-22  Simon Hausmann  <simon.hausmann@nokia.com>
 
1821
 
 
1822
        [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
 
1823
        https://bugs.webkit.org/show_bug.cgi?id=93897
 
1824
 
 
1825
        Reviewed by Kenneth Rohde Christiansen.
 
1826
 
 
1827
        Fixed some test expectations.
 
1828
 
 
1829
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
1830
        (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
 
1831
        can go back to testing Function.prototype.call, as it was done before r125428.
 
1832
        (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
 
1833
        (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
 
1834
        run-time methods back to being non-configurable, as before r125428.
 
1835
 
 
1836
2012-08-21  Sheriff Bot  <webkit.review.bot@gmail.com>
 
1837
 
 
1838
        Unreviewed, rolling out r126146.
 
1839
        http://trac.webkit.org/changeset/126146
 
1840
        https://bugs.webkit.org/show_bug.cgi?id=94606
 
1841
 
 
1842
        It made all tests assert (Requested by Ossy on #webkit).
 
1843
 
 
1844
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
1845
        (tst_QObjectBridge::objectDeleted):
 
1846
        (tst_QObjectBridge::introspectQtMethods_data):
 
1847
        (tst_QObjectBridge::introspectQtMethods):
 
1848
 
 
1849
2012-08-17  Simon Hausmann  <simon.hausmann@nokia.com>
 
1850
 
 
1851
        [Qt] REGRESSION(r125428): fast/profiler/nested-start-and-stop-profiler.html fails
 
1852
        https://bugs.webkit.org/show_bug.cgi?id=93897
 
1853
 
 
1854
        Reviewed by Kenneth Rohde Christiansen.
 
1855
 
 
1856
        Fixed some test expectations.
 
1857
 
 
1858
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
1859
        (tst_QObjectBridge::objectDeleted): Since runtime methods are real function objects again, we
 
1860
        can go back to testing Function.prototype.call, as it was done before r125428.
 
1861
        (tst_QObjectBridge::introspectQtMethods_data): Removed tests for the length property.
 
1862
        (tst_QObjectBridge::introspectQtMethods): Changed test expectation of the properties of
 
1863
        run-time methods back to being non-configurable, as before r125428.
 
1864
 
 
1865
2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
 
1866
 
 
1867
        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
 
1868
        https://bugs.webkit.org/show_bug.cgi?id=94168
 
1869
 
 
1870
        Reviewed by Kent Tamura.
 
1871
 
 
1872
        * Api/qwebelement.cpp:
 
1873
        (convertJSValueToWebElementVariant):
 
1874
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
1875
 
 
1876
2012-08-14  Adam Barth  <abarth@webkit.org>
 
1877
 
 
1878
        Delete Frame::domWindow() and Frame::existingDOMWindow()
 
1879
        https://bugs.webkit.org/show_bug.cgi?id=93990
 
1880
 
 
1881
        Reviewed by Eric Seidel.
 
1882
 
 
1883
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
1884
        (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
 
1885
 
 
1886
2012-08-14  Lauro Neto  <lauro.neto@openbossa.org>
 
1887
 
 
1888
        Convert signals/slots to Q_* macros.
 
1889
 
 
1890
        [Qt] Use Q_SLOTS and Q_SIGNALS instead of slots and signals
 
1891
        https://bugs.webkit.org/show_bug.cgi?id=93996
 
1892
 
 
1893
        Reviewed by Kenneth Rohde Christiansen.
 
1894
 
 
1895
        Change usage of keyword-conflicting 'signals' and 'slots' for
 
1896
        Q_SIGNALS and Q_SLOTS macro.
 
1897
 
 
1898
        * WebCoreSupport/FrameLoaderClientQt.h:
 
1899
        (FrameLoaderClientQt):
 
1900
        * WebCoreSupport/FullScreenVideoQt.h:
 
1901
        (FullScreenVideoQt):
 
1902
        * WebCoreSupport/FullScreenVideoWidget.h:
 
1903
        (FullScreenVideoWidget):
 
1904
        * WebCoreSupport/IconDatabaseClientQt.h:
 
1905
        (IconDatabaseClientQt):
 
1906
        * WebCoreSupport/InspectorClientQt.cpp:
 
1907
        (InspectorClientWebPage):
 
1908
        * WebCoreSupport/InspectorServerQt.h:
 
1909
        (InspectorServerQt):
 
1910
        (InspectorServerRequestHandlerQt):
 
1911
        * WebCoreSupport/PopupMenuQt.h:
 
1912
        (PopupMenuQt):
 
1913
        * WebCoreSupport/QtFallbackWebPopup.h:
 
1914
        (QtFallbackWebPopup):
 
1915
        * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
 
1916
        (wrapInFunction):
 
1917
        * docs/webkitsnippets/webpage/main.cpp:
 
1918
        (Thumbnailer):
 
1919
        * examples/platformplugin/WebPlugin.h:
 
1920
        (Popup):
 
1921
        (WebPopup):
 
1922
        * tests/benchmarks/webgl/tst_webgl.cpp:
 
1923
        (tst_WebGlPerformance):
 
1924
        * tests/hybridPixmap/tst_hybridPixmap.cpp:
 
1925
        (tst_hybridPixmap):
 
1926
        * tests/hybridPixmap/widget.h:
 
1927
        (Widget):
 
1928
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
1929
        (tst_QDeclarativeWebView):
 
1930
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
1931
        (tst_QGraphicsWebView):
 
1932
        (WebPage):
 
1933
        (ResizeSpy):
 
1934
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
1935
        (MyWebElementSlotOnlyObject):
 
1936
        (tst_QObjectBridge):
 
1937
        (TestPluginWidget):
 
1938
        * tests/qwebelement/tst_qwebelement.cpp:
 
1939
        (tst_QWebElement):
 
1940
        * tests/qwebframe/tst_qwebframe.cpp:
 
1941
        (tst_QWebFrame):
 
1942
        (FakeReply):
 
1943
        * tests/qwebhistory/tst_qwebhistory.cpp:
 
1944
        * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp:
 
1945
        (tst_QWebHistoryInterface):
 
1946
        * tests/qwebinspector/tst_qwebinspector.cpp:
 
1947
        (tst_QWebInspector):
 
1948
        * tests/qwebpage/tst_qwebpage.cpp:
 
1949
        (tst_QWebPage):
 
1950
        (JSTestPage):
 
1951
        (RepaintRequestedRenderer):
 
1952
        (SpyForLoadSignalsOrder):
 
1953
        * tests/qwebplugindatabase/tst_qwebplugindatabase.cpp:
 
1954
        (tst_QWebPluginDatabase):
 
1955
        * tests/qwebview/tst_qwebview.cpp:
 
1956
        (tst_QWebView):
 
1957
        (WebViewCrashTest):
 
1958
 
 
1959
2012-08-14  Simon Hausmann  <simon.hausmann@nokia.com>
 
1960
 
 
1961
        [Qt] Fix failing tst_QWebPage::findText unit test
 
1962
        https://bugs.webkit.org/show_bug.cgi?id=93951
 
1963
 
 
1964
        Reviewed by Kenneth Rohde Christiansen.
 
1965
 
 
1966
        Adjust the expected text, as the HTML editing code improved to avoid unnecessary tags.
 
1967
 
 
1968
        * tests/qwebpage/tst_qwebpage.cpp:
 
1969
        (tst_QWebPage::findText):
 
1970
 
 
1971
2012-08-13  Tom Sepez  <tsepez@chromium.org>
 
1972
 
 
1973
        [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
 
1974
        https://bugs.webkit.org/show_bug.cgi?id=93283
 
1975
 
 
1976
        Reviewed by Eric Seidel.
 
1977
 
 
1978
        Change the client redirectDataToPlugin method(s) to expect the possibility of
 
1979
        a NULL argument, keeping existing behaviour otherwise.
 
1980
 
 
1981
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
1982
        (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
 
1983
 
 
1984
2012-08-13  Simon Hausmann  <simon.hausmann@nokia.com>
 
1985
 
 
1986
        [Qt] Port meta method/signal/slot handling in run-time bridge to use JSC C API
 
1987
        https://bugs.webkit.org/show_bug.cgi?id=93476
 
1988
 
 
1989
        Reviewed by Kenneth Rohde Christiansen.
 
1990
 
 
1991
        Changed semantics of some test expectations. Similarly to r125032 when generating
 
1992
        error exceptions for connect/disconnect, we cannot generate explicit type error
 
1993
        exceptions but only generic errors. Another change is that the meta-method wrapper
 
1994
        doesn't support the call() through Function.prototype anymore. See WebCore changelog
 
1995
        for details.
 
1996
 
 
1997
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
1998
        (tst_QObjectBridge::connectAndDisconnect):
 
1999
        (tst_QObjectBridge::objectDeleted):
 
2000
        (tst_QObjectBridge::introspectQtMethods):
 
2001
 
 
2002
2012-08-13  Kwang Yul Seo  <skyul@company100.net>
 
2003
 
 
2004
        [Qt] Add gprof.prf to build WebKit with gprof enabled
 
2005
        https://bugs.webkit.org/show_bug.cgi?id=90283
 
2006
 
 
2007
        Reviewed by Eric Seidel.
 
2008
 
 
2009
        * tests/MIMESniffing/MIMESniffing.pro:
 
2010
        Don't build MIMESniffing.cpp because MIMESniffing test links
 
2011
        WebKitQt statically when gprof is enabled.
 
2012
 
 
2013
2012-08-12  Loïc Yhuel  <loic.yhuel@softathome.com>
 
2014
 
 
2015
        [Qt] Make it possible to build without QtTest/QtPrintSupport
 
2016
        https://bugs.webkit.org/show_bug.cgi?id=93492
 
2017
 
 
2018
        Reviewed by Tor Arne Vestbø.
 
2019
 
 
2020
        * Api/qwebframe.cpp:
 
2021
        (QWebFrame::print): Does nothing if no printsupport
 
2022
        * Api/qwebview.cpp:
 
2023
        (QWebView::print): Does nothing if no printsupport
 
2024
 
 
2025
2012-08-11  Pierre Rossi  <pierre.rossi@gmail.com>
 
2026
 
 
2027
        [Qt] Add support for HTML5 state object history API in FrameLoaderClientQt
 
2028
        https://bugs.webkit.org/show_bug.cgi?id=93648
 
2029
 
 
2030
        Reviewed by Kenneth Rohde Christiansen.
 
2031
 
 
2032
        Add support for push/replace/pop by implementing dispatchDidNavigateWithinPage.
 
2033
 
 
2034
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
2035
        (WebCore::FrameLoaderClientQt::dispatchDidNavigateWithinPage):
 
2036
        (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
 
2037
        (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
 
2038
        (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
 
2039
        * WebCoreSupport/FrameLoaderClientQt.h:
 
2040
        (FrameLoaderClientQt):
 
2041
        * tests/qwebframe/tst_qwebframe.cpp:
 
2042
        (tst_QWebFrame):
 
2043
        (tst_QWebFrame::setUrlUsingStateObject): Added. Tests that the urlChanged signal is fired.
 
2044
 
 
2045
2012-08-10  Simon Hausmann  <simon.hausmann@nokia.com>
 
2046
 
 
2047
        [Qt] Remove QRegExp <> JS RegExp conversion
 
2048
        https://bugs.webkit.org/show_bug.cgi?id=93716
 
2049
 
 
2050
        Reviewed by Kenneth Rohde Christiansen.
 
2051
 
 
2052
        Removed tests that cover the automatic QRegExp <> JS RegExp conversion. See WebCore
 
2053
        ChangeLog for details.
 
2054
 
 
2055
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
2056
        (MyQObject::emitMySignalWithDateTimeArg):
 
2057
        (MyQObject):
 
2058
        (tst_QObjectBridge::overloadedSlots):
 
2059
        (tst_QObjectBridge::typeConversion):
 
2060
 
 
2061
2012-08-09  Simon Hausmann  <simon.hausmann@nokia.com>
 
2062
 
 
2063
        [Qt] Remove support for __qt_sender__ in QObject bridge
 
2064
        https://bugs.webkit.org/show_bug.cgi?id=93649
 
2065
 
 
2066
        Reviewed by Kenneth Rohde Christiansen.
 
2067
 
 
2068
        Support for __qt_sender__ has also been removed from QtScript/QJSEngine. The right
 
2069
        JavaScript solution to the problem is Function.prototype.bind.
 
2070
 
 
2071
        * Api/qwebframe.cpp:
 
2072
        (QWebFramePrivate::didClearWindowObject):
 
2073
        * Api/qwebframe_p.h:
 
2074
        (QWebFramePrivate):
 
2075
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
2076
        (tst_QObjectBridge::connectAndDisconnect):
 
2077
 
 
2078
2012-08-08  Simon Hausmann  <simon.hausmann@nokia.com>
 
2079
 
 
2080
        [Qt] Port internal findMethodIndex method matcher to use JSC C API
 
2081
        https://bugs.webkit.org/show_bug.cgi?id=93463
 
2082
 
 
2083
        Reviewed by Kenneth Rohde Christiansen.
 
2084
 
 
2085
        Adjust the expectations of the unit test for some of the exceptions the
 
2086
        method throws when signals/slots cannot be found/matched. The C API doesn't allow
 
2087
        us to create syntax (type) errors, only generic error exceptions.
 
2088
 
 
2089
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
2090
        (tst_QObjectBridge::callQtInvokable):
 
2091
 
 
2092
2012-08-08  Simon Hausmann  <simon.hausmann@nokia.com>
 
2093
 
 
2094
        [Qt] Add unit test for QObject bindings for scriptable plugins
 
2095
        https://bugs.webkit.org/show_bug.cgi?id=93462
 
2096
 
 
2097
        Reviewed by Kenneth Rohde Christiansen.
 
2098
 
 
2099
        The bindings code is subject to refactoring in the future, so added a unit test to verify that
 
2100
        accessing an embedded QWidget from JavaScript goes through the QObject bindings.
 
2101
 
 
2102
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
2103
        (tst_QObjectBridge):
 
2104
        (TestPluginWidget):
 
2105
        (TestPluginWidget::TestPluginWidget):
 
2106
        (TestPluginWidget::slotWithReturnValue):
 
2107
        (TestWebPage):
 
2108
        (TestWebPage::TestWebPage):
 
2109
        (TestWebPage::createPlugin):
 
2110
        (tst_QObjectBridge::scriptablePlugin):
 
2111
 
 
2112
2012-08-01  Zeno Albisser  <zeno@webkit.org>
 
2113
 
 
2114
        [Qt]REGRESSION(r123786): It made 3 fast/animation tests fail.
 
2115
        https://bugs.webkit.org/show_bug.cgi?id=92490
 
2116
 
 
2117
        QAbstractAnimation:start() is implicitly calling updateTime
 
2118
        without going through the event loop. This resulted in executing
 
2119
        scripted animation callbacks right when registering a first callback.
 
2120
 
 
2121
        Reviewed by Noam Rosenthal.
 
2122
 
 
2123
        * WebCoreSupport/ChromeClientQt.cpp:
 
2124
        (WebCore::RefreshAnimation::scheduleAnimation):
 
2125
            Invoke QAbstractAnimation::start() method through the event loop.
 
2126
 
 
2127
2012-07-27  Csaba Osztrogonác  <ossy@webkit.org>
 
2128
 
 
2129
        [Qt][WK2] REGRESSION(r119127): resetting window.internals settings between tests doesn't work properly
 
2130
        https://bugs.webkit.org/show_bug.cgi?id=88064
 
2131
 
 
2132
        Reviewed by Zoltan Herczeg.
 
2133
 
 
2134
        Add missing DumpRenderTreeSupportQt::resetInternalsObject(JSContextRef context) function.
 
2135
 
 
2136
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2137
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
2138
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2139
 
 
2140
2012-07-26  Zeno Albisser  <zeno@webkit.org>
 
2141
 
 
2142
        Unreviewed Qt buildfix after r123786.
 
2143
 
 
2144
        Qt-minimal builds with ENABLE_REQUEST_ANIMATION_FRAME=0.
 
2145
        Therefore adding #ifdefs to allow for that configuration.
 
2146
 
 
2147
        * WebCoreSupport/ChromeClientQt.cpp:
 
2148
        (WebCore):
 
2149
        * WebCoreSupport/ChromeClientQt.h:
 
2150
        (ChromeClientQt):
 
2151
 
 
2152
2012-07-26  Zeno Albisser  <zeno@webkit.org>
 
2153
 
 
2154
        [Qt] requestAnimationFrame should only trigger when a new frame can be displayed.
 
2155
        https://bugs.webkit.org/show_bug.cgi?id=88638
 
2156
 
 
2157
        Disable REQUEST_ANIMATION_FRAME_TIMER for the Qt port and tie
 
2158
        the servicing of scripted animations to the renderNextFrame call for WK2.
 
2159
        For WK1 we rely on the RefreshAnimation that is based on QAbstractAnimation.
 
2160
 
 
2161
        Reviewed by Jocelyn Turcotte.
 
2162
 
 
2163
        * WebCoreSupport/ChromeClientQt.cpp:
 
2164
        (RefreshAnimation):
 
2165
            Add a RefreshAnimation that is based on QAbstractAnimation
 
2166
            and drives the servicing of the scripted animations for WK1.
 
2167
        (WebCore::RefreshAnimation::RefreshAnimation):
 
2168
        (WebCore::RefreshAnimation::duration):
 
2169
        (WebCore::RefreshAnimation::scheduleAnimation):
 
2170
            Set m_animationScheduled to true and start the animation
 
2171
            timer in case it is not running yet.
 
2172
        (WebCore::RefreshAnimation::updateCurrentTime):
 
2173
            Call serviceScriptedAnimations if m_animationScheduled is true.
 
2174
            If this is not the case, the animation timer can be stopped,
 
2175
            because no animation needs to be scheduled anymore.
 
2176
        (WebCore):
 
2177
        (WebCore::ChromeClientQt::scheduleAnimation):
 
2178
            Create and start the RefreshAnimation instance with the
 
2179
            first call to scheduleAnimation.
 
2180
        * WebCoreSupport/ChromeClientQt.h:
 
2181
        (WebCore):
 
2182
        (ChromeClientQt):
 
2183
 
 
2184
2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
 
2185
 
 
2186
        [DRT] LTC:: pageNumberForElementById() could be moved to Internals
 
2187
        https://bugs.webkit.org/show_bug.cgi?id=92091
 
2188
 
 
2189
        Reviewed by Adam Barth.
 
2190
 
 
2191
        Move the pageNumberForElementById from LayoutTestCotroller to Internals and
 
2192
        remove the old platform specific implementations as it exclusively tests WebCore functionality.
 
2193
 
 
2194
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2195
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2196
 
 
2197
2012-07-24  Pierre Rossi  <pierre.rossi@gmail.com>
 
2198
 
 
2199
        [Qt][WK1] color input type support
 
2200
        https://bugs.webkit.org/show_bug.cgi?id=91998
 
2201
 
 
2202
        Reviewed by Simon Hausmann.
 
2203
 
 
2204
        Using QColorDialog. This is private for now, but
 
2205
        it could be exposed via a virtual function in
 
2206
        QWebPage at a later point in a Qt 5 minor release
 
2207
        if there are requests for that.
 
2208
 
 
2209
        * Api/qwebpage.cpp:
 
2210
        (QWebPagePrivate::colorSelectionRequested):
 
2211
        * Api/qwebpage_p.h:
 
2212
        (QWebPagePrivate):
 
2213
        * WebCoreSupport/ChromeClientQt.cpp:
 
2214
        (WebCore::ChromeClientQt::createColorChooser):
 
2215
 
 
2216
2012-07-23  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
 
2217
 
 
2218
        [Qt] Fix compilation against namespaced Qt
 
2219
 
 
2220
        Reviewed by Simon Hausmann.
 
2221
 
 
2222
        * WebCoreSupport/GeolocationClientQt.h:
 
2223
        * examples/platformplugin/WebPlugin.h:
 
2224
 
 
2225
2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
 
2226
 
 
2227
        Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
 
2228
        https://bugs.webkit.org/show_bug.cgi?id=91006
 
2229
 
 
2230
        Reviewed by Ryosuke Niwa.
 
2231
 
 
2232
        Remove numTouchEventHandlersChanged stub.
 
2233
 
 
2234
        * WebCoreSupport/ChromeClientQt.h:
 
2235
 
 
2236
2012-07-23  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
2237
 
 
2238
        [Qt] RenderThemeQtMobile highlight colors are not being used
 
2239
        https://bugs.webkit.org/show_bug.cgi?id=92004
 
2240
 
 
2241
        Reviewed by Noam Rosenthal.
 
2242
 
 
2243
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
2244
        (WebCore::RenderThemeQStyle::setPaletteFromPageClientIfExists): Moved here since
 
2245
        it's used only by RenderThemeQStyle. Remove unnecessary check for m_page->chrome().
 
2246
        (WebCore):
 
2247
        (WebCore::RenderThemeQStyle::colorPalette):
 
2248
        * WebCoreSupport/RenderThemeQStyle.h:
 
2249
        (RenderThemeQStyle):
 
2250
 
 
2251
2012-07-22  Kent Tamura  <tkent@chromium.org>
 
2252
 
 
2253
        Rename ENABLE_METER_TAG and ENABLE_PROGRESS_TAG to ENABLE_METER_ELEMENT and ENABLE_PROGRESS_ELEMENT respectively
 
2254
        https://bugs.webkit.org/show_bug.cgi?id=91941
 
2255
 
 
2256
        Reviewed by Kentaro Hara.
 
2257
 
 
2258
        A flag name for an elmement should be ENABLE_*_ELEMENT.
 
2259
 
 
2260
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
2261
        (WebCore):
 
2262
        * WebCoreSupport/RenderThemeQStyle.h:
 
2263
 
 
2264
2012-07-19  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
2265
 
 
2266
        [Qt] Enable CSS shaders in Qt (software mode)
 
2267
        https://bugs.webkit.org/show_bug.cgi?id=85140
 
2268
 
 
2269
        Reviewed by Simon Hausmann.
 
2270
 
 
2271
        Enable CSS Shaders in settings when WebGL is enabled.
 
2272
 
 
2273
        * Api/qwebsettings.cpp:
 
2274
        (QWebSettingsPrivate::apply):
 
2275
 
 
2276
2012-07-19  Simon Hausmann  <simon.hausmann@nokia.com>
 
2277
 
 
2278
        [Qt] Remove support for Qt versions before 4.8.0
 
2279
        https://bugs.webkit.org/show_bug.cgi?id=91730
 
2280
 
 
2281
        Reviewed by Kenneth Rohde Christiansen.
 
2282
 
 
2283
        Remove Qt version check #ifdefs for Qt versions before 4.8.0.
 
2284
 
 
2285
        * Api/qwebsettings.cpp:
 
2286
        (QWebSettingsPrivate):
 
2287
        (QWebSettings::QWebSettings):
 
2288
        (QWebSettings::thirdPartyCookiePolicy):
 
2289
        * Api/qwebsettings.h:
 
2290
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2291
        (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
 
2292
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2293
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
2294
        (tst_QDeclarativeWebView):
 
2295
        (tst_QDeclarativeWebView::backgroundColor):
 
2296
        * tests/qwebelement/tst_qwebelement.cpp:
 
2297
        (tst_QWebElement::render):
 
2298
        * tests/qwebpage/tst_qwebpage.cpp:
 
2299
        (tst_QWebPage):
 
2300
        (tst_QWebPage::thirdPartyCookiePolicy):
 
2301
 
 
2302
2012-07-17  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
 
2303
 
 
2304
        [Qt][V8] Remove the V8 related codepaths and configuration
 
2305
        https://bugs.webkit.org/show_bug.cgi?id=90863
 
2306
 
 
2307
        Reviewed by Simon Hausmann.
 
2308
 
 
2309
        * Api/qwebelement.cpp:
 
2310
        (setupScriptContext):
 
2311
        (QWebElement::evaluateJavaScript):
 
2312
        (convertWebElementVariantToJSValue):
 
2313
        (QtWebElementRuntime::initialize):
 
2314
        * Api/qwebframe.cpp:
 
2315
        (QWebFramePrivate::didClearWindowObject):
 
2316
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
2317
        (QWebFrame::addToJavaScriptWindowObject):
 
2318
        (QWebFrame::evaluateJavaScript):
 
2319
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2320
        (convertNodeVariantToJSValue):
 
2321
        (QtDRTNodeRuntime::initialize):
 
2322
        (DumpRenderTreeSupportQt::javaScriptObjectsCount):
 
2323
        (DumpRenderTreeSupportQt::garbageCollectorCollect):
 
2324
        (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
 
2325
        (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
 
2326
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
2327
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
2328
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2329
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
2330
        (WebCore::FrameLoaderClientQt::createDocumentLoader):
 
2331
        * WebCoreSupport/FrameLoaderClientQt.h:
 
2332
        (FrameLoaderClientQt):
 
2333
        * v8/ForwardingHeaders/v8-debug.h: Removed.
 
2334
        * v8/ForwardingHeaders/v8-preparser.h: Removed.
 
2335
        * v8/ForwardingHeaders/v8-profiler.h: Removed.
 
2336
        * v8/ForwardingHeaders/v8-testing.h: Removed.
 
2337
        * v8/ForwardingHeaders/v8.h: Removed.
 
2338
        * v8/ForwardingHeaders/v8stdint.h: Removed.
 
2339
 
 
2340
2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
 
2341
 
 
2342
        Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
 
2343
        https://bugs.webkit.org/show_bug.cgi?id=91196
 
2344
 
 
2345
        Reviewed by Pavel Feldman.
 
2346
 
 
2347
        Refactoring InspectorClients. InspectorClient::openInspectorFrontend
 
2348
        now returning the InspectorFrontendChannel.
 
2349
 
 
2350
        * WebCoreSupport/InspectorClientQt.cpp:
 
2351
        (WebCore::InspectorClientQt::openInspectorFrontend):
 
2352
        (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
 
2353
        * WebCoreSupport/InspectorClientQt.h:
 
2354
        (InspectorClientQt):
 
2355
 
 
2356
2012-07-17  Sheriff Bot  <webkit.review.bot@gmail.com>
 
2357
 
 
2358
        Unreviewed, rolling out r122834.
 
2359
        http://trac.webkit.org/changeset/122834
 
2360
        https://bugs.webkit.org/show_bug.cgi?id=91492
 
2361
 
 
2362
        it broke the chromium (Requested by kkristof on #webkit).
 
2363
 
 
2364
        * Api/qwebelement.cpp:
 
2365
        (setupScriptContext):
 
2366
        (QWebElement::evaluateJavaScript):
 
2367
        (QtWebElementRuntime::initialize):
 
2368
        * Api/qwebframe.cpp:
 
2369
        (QWebFramePrivate::didClearWindowObject):
 
2370
        (QWebFrame::addToJavaScriptWindowObject):
 
2371
        (QWebFrame::evaluateJavaScript):
 
2372
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2373
        (QtDRTNodeRuntime::initialize):
 
2374
        (DumpRenderTreeSupportQt::javaScriptObjectsCount):
 
2375
        (DumpRenderTreeSupportQt::garbageCollectorCollect):
 
2376
        (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
 
2377
        (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
 
2378
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
2379
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
2380
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2381
        (Bindings):
 
2382
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
2383
        (WebCore):
 
2384
        (WebCore::FrameLoaderClientQt::didCreateScriptContext):
 
2385
        (WebCore::FrameLoaderClientQt::willReleaseScriptContext):
 
2386
        (WebCore::FrameLoaderClientQt::didCreateIsolatedScriptContext):
 
2387
        (WebCore::FrameLoaderClientQt::createDocumentLoader):
 
2388
        * WebCoreSupport/FrameLoaderClientQt.h:
 
2389
        (FrameLoaderClientQt):
 
2390
        (WebCore::FrameLoaderClientQt::allowScriptExtension):
 
2391
        * v8/ForwardingHeaders/v8-debug.h: Added.
 
2392
        * v8/ForwardingHeaders/v8-preparser.h: Added.
 
2393
        * v8/ForwardingHeaders/v8-profiler.h: Added.
 
2394
        * v8/ForwardingHeaders/v8-testing.h: Added.
 
2395
        * v8/ForwardingHeaders/v8.h: Added.
 
2396
        * v8/ForwardingHeaders/v8stdint.h: Added.
 
2397
 
 
2398
2012-07-17  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
 
2399
 
 
2400
        [Qt][V8] Remove the V8 related codepaths and configuration
 
2401
        https://bugs.webkit.org/show_bug.cgi?id=90863
 
2402
 
 
2403
        Reviewed by Simon Hausmann.
 
2404
 
 
2405
        * Api/qwebelement.cpp:
 
2406
        (setupScriptContext):
 
2407
        (QWebElement::evaluateJavaScript):
 
2408
        (convertWebElementVariantToJSValue):
 
2409
        (QtWebElementRuntime::initialize):
 
2410
        * Api/qwebframe.cpp:
 
2411
        (QWebFramePrivate::didClearWindowObject):
 
2412
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
2413
        (QWebFrame::addToJavaScriptWindowObject):
 
2414
        (QWebFrame::evaluateJavaScript):
 
2415
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2416
        (convertNodeVariantToJSValue):
 
2417
        (QtDRTNodeRuntime::initialize):
 
2418
        (DumpRenderTreeSupportQt::javaScriptObjectsCount):
 
2419
        (DumpRenderTreeSupportQt::garbageCollectorCollect):
 
2420
        (DumpRenderTreeSupportQt::garbageCollectorCollectOnAlternateThread):
 
2421
        (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
 
2422
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
2423
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
2424
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2425
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
2426
        (WebCore::FrameLoaderClientQt::createDocumentLoader):
 
2427
        * WebCoreSupport/FrameLoaderClientQt.h:
 
2428
        (FrameLoaderClientQt):
 
2429
        * v8/ForwardingHeaders/v8-debug.h: Removed.
 
2430
        * v8/ForwardingHeaders/v8-preparser.h: Removed.
 
2431
        * v8/ForwardingHeaders/v8-profiler.h: Removed.
 
2432
        * v8/ForwardingHeaders/v8-testing.h: Removed.
 
2433
        * v8/ForwardingHeaders/v8.h: Removed.
 
2434
        * v8/ForwardingHeaders/v8stdint.h: Removed.
 
2435
 
 
2436
2012-07-16  Simon Hausmann  <simon.hausmann@nokia.com>
 
2437
 
 
2438
        [Qt] Fix inconsistent DLL linkage on Windows with WebKit1
 
2439
        https://bugs.webkit.org/show_bug.cgi?id=91375
 
2440
 
 
2441
        Reviewed by Laszlo Gombos.
 
2442
 
 
2443
        Export QWebHistoryItemPrivate as required for tests. Unfortunately we cannot use
 
2444
        Q_AUTOTEST_EXPORT outside of Qt.
 
2445
 
 
2446
        * Api/qwebhistory_p.h:
 
2447
 
 
2448
2012-07-16  Zoltan Horvath  <zoltan@webkit.org>
 
2449
 
 
2450
        [Qt] Change NativeImagePtr from QPixmap* to QImage*
 
2451
        https://bugs.webkit.org/show_bug.cgi?id=88785
 
2452
 
 
2453
        Reviewed by Simon Hausmann.
 
2454
 
 
2455
        Since we use raster engine there is no difference between QPixmap and QImage, so we are going
 
2456
        to use QImage everywhere where it is possible. This refactoring contains the change of the
 
2457
        NativeImagePtr typedef from QPixmap* to QImage* and covers the related modifications.
 
2458
 
 
2459
        Part of the change is similar to Viatcheslav Ostapenko's internal work.
 
2460
 
 
2461
        Covered by existing tests.
 
2462
 
 
2463
        * Api/qwebframe.cpp:
 
2464
        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
 
2465
        * Api/qwebhistory.cpp:
 
2466
        (QWebHistoryItem::icon):
 
2467
        * Api/qwebsettings.cpp:
 
2468
        (QWebSettings::iconForUrl):
 
2469
        (QWebSettings::setWebGraphic):
 
2470
        (QWebSettings::webGraphic):
 
2471
        * WebCoreSupport/DragClientQt.cpp:
 
2472
        (WebCore::DragClientQt::startDrag):
 
2473
        * WebCoreSupport/InitWebCoreQt.cpp:
 
2474
        (WebCore::initializeWebCoreQt):
 
2475
 
 
2476
2012-07-16  Frederik Gladhorn  <frederik.gladhorn@nokia.com>
 
2477
 
 
2478
        Accessible Widget for QWebView
 
2479
        https://bugs.webkit.org/show_bug.cgi?id=91073
 
2480
 
 
2481
        Added classes that allow navigation to the web view widget.
 
2482
        This is the glue to later access webkit's accessible objects
 
2483
        though the Qt accessibility framework.
 
2484
 
 
2485
        Reviewed by Simon Hausmann.
 
2486
 
 
2487
        * Api/qwebview.cpp:
 
2488
        (QWebView::QWebView):
 
2489
        * Api/qwebviewaccessible.cpp: Added.
 
2490
        (accessibleInterfaceFactory):
 
2491
        (QWebFrameAccessible::QWebFrameAccessible):
 
2492
        (QWebFrameAccessible::frame):
 
2493
        (QWebFrameAccessible::parent):
 
2494
        (QWebFrameAccessible::text):
 
2495
        (QWebFrameAccessible::childCount):
 
2496
        (QWebFrameAccessible::child):
 
2497
        (QWebFrameAccessible::indexOfChild):
 
2498
        (QWebFrameAccessible::state):
 
2499
        (QWebFrameAccessible::role):
 
2500
        (QWebFrameAccessible::navigate):
 
2501
        (QWebPageAccessible::QWebPageAccessible):
 
2502
        (QWebPageAccessible::page):
 
2503
        (QWebPageAccessible::text):
 
2504
        (QWebPageAccessible::parent):
 
2505
        (QWebPageAccessible::child):
 
2506
        (QWebPageAccessible::childCount):
 
2507
        (QWebPageAccessible::indexOfChild):
 
2508
        (QWebPageAccessible::navigate):
 
2509
        (QWebPageAccessible::role):
 
2510
        (QWebPageAccessible::state):
 
2511
        (QWebViewAccessible::QWebViewAccessible):
 
2512
        (QWebViewAccessible::view):
 
2513
        (QWebViewAccessible::childCount):
 
2514
        (QWebViewAccessible::child):
 
2515
        * Api/qwebviewaccessible_p.h: Added.
 
2516
        (QWebFrameAccessible):
 
2517
        (QWebPageAccessible):
 
2518
        (QWebViewAccessible):
 
2519
 
 
2520
2012-07-12  Huang Dongsung  <luxtella@company100.net>
 
2521
 
 
2522
        [Qt] Increase the drawing performance by merging dirty rects.
 
2523
        https://bugs.webkit.org/show_bug.cgi?id=91075
 
2524
 
 
2525
        Reviewed by Noam Rosenthal.
 
2526
 
 
2527
        QWebFramePrivate calls FrameView::paintContents as many as the number of dirty
 
2528
        rects, so it causes too many redundant render tree traversals.
 
2529
        I changed it to merge dirty rects and call FrameView::paintContents only once.
 
2530
        The algorithm to merge rects is copied from GTK.
 
2531
 
 
2532
        When parallel image decoders are in use, each image is independently repainted
 
2533
        when decoding is finished. This creates a lot by repaint requests. So by merging
 
2534
        these repaint requests, I could improve rendering performance.
 
2535
 
 
2536
        For example, I tested parallel image decoders on the locally mirrored Pinterest site.
 
2537
        QWebFramePrivate called FrameView::paintContents 165 times after parallel image
 
2538
        decoders decoded all the images. It took about 120ms on my six-core Intel Xeon machine.
 
2539
        This patch decreases painting time from 120ms to 30ms.
 
2540
 
 
2541
        * Api/qwebframe.cpp:
 
2542
        (coalesceRectsIfPossible):
 
2543
        (QWebFramePrivate::renderRelativeCoords):
 
2544
 
 
2545
2012-07-11  Steffen Imhof  <steffen.imhof@basyskom.com>
 
2546
 
 
2547
        [Qt] Middle clicking a scrollbar causes text to be pasted.
 
2548
        https://bugs.webkit.org/show_bug.cgi?id=78444
 
2549
 
 
2550
        Check if the event was already accepted before handling the clipboard.
 
2551
 
 
2552
        Reviewed by Simon Hausmann.
 
2553
 
 
2554
        * Api/qwebpage.cpp:
 
2555
        (QWebPagePrivate::mouseReleaseEvent):
 
2556
 
 
2557
2012-07-10  Adam Barth  <abarth@webkit.org>
 
2558
 
 
2559
        WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
 
2560
        https://bugs.webkit.org/show_bug.cgi?id=90910
 
2561
 
 
2562
        Reviewed by Eric Seidel.
 
2563
 
 
2564
        * Api/qwebpage.cpp:
 
2565
        (QWebPagePrivate::QWebPagePrivate):
 
2566
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2567
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2568
 
 
2569
2012-07-09  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
2570
 
 
2571
        Shared code that is guarded with ENABLE(WEBGL) should be guarded with USE()
 
2572
        https://bugs.webkit.org/show_bug.cgi?id=90506
 
2573
 
 
2574
        Reviewed by Martin Robinson.
 
2575
 
 
2576
        Updated necessary parts of PageClientQt to be guarded with USE(3D_GRAPHICS) instead of
 
2577
        ENABLE(WEBGL). The WebKit1 glue to WebGL still requires the Qt OpenGL module, so it's
 
2578
        disable if QT_OPENGL_LIB is not defined.
 
2579
 
 
2580
        * WebCoreSupport/PageClientQt.cpp:
 
2581
        (createPlatformGraphicsContext3DFromWidget):
 
2582
        (WebCore):
 
2583
        * WebCoreSupport/PageClientQt.h:
 
2584
        (PageClientQWidget):
 
2585
        (PageClientQGraphicsWidget):
 
2586
 
 
2587
2012-07-06  Csaba Osztrogonác  <ossy@webkit.org>
 
2588
 
 
2589
        [Qt] Buildfix for newer Qt5
 
2590
        https://bugs.webkit.org/show_bug.cgi?id=90519
 
2591
 
 
2592
        Reviewed by Tor Arne Vestbø.
 
2593
 
 
2594
        * WebCoreSupport/QtFallbackWebPopup.cpp: Include QtGui/QStandardItemModel instead of deprecated QStandardItemModel.
 
2595
 
 
2596
2012-07-06  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
 
2597
 
 
2598
        [Qt] Adjust to changed generation of master include file
 
2599
 
 
2600
        The responsiblity for creating the master include was moved out of syncqt.
 
2601
        @ignore_for_master_contents still stays, as syncqt (ab-)uses this for
 
2602
        determining whether a header is private.
 
2603
 
 
2604
        https://bugs.webkit.org/show_bug.cgi?id=90461
 
2605
 
 
2606
        Reviewed by Tor Arne Vestbø.
 
2607
 
 
2608
        * Api/qwebscriptworld.h:
 
2609
        * tests/util.h:
 
2610
 
 
2611
2012-07-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
2612
 
 
2613
        [Qt] Get rid of un-needed QT += declarative for Qt 5
 
2614
 
 
2615
        The declarative module has been renamed to quick1 in Qt 5, and the
 
2616
        engine-only module for Qt 5 is named 'qml'. For many of the instances
 
2617
        we could just remove 'declarative', since the project file was only
 
2618
        used for Qt5/WebKit2 builds. In the other cases the module was wrapped
 
2619
        in a haveQt(4) scope.
 
2620
 
 
2621
        Reviewed by Csaba Osztrogonác.
 
2622
 
 
2623
        * declarative/experimental/experimental.pri:
 
2624
        * declarative/public.pri:
 
2625
 
 
2626
2012-07-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
2627
 
 
2628
        [Qt] Make use of .qmake.cache for caching features
 
2629
 
 
2630
        Instead of loading() features from the files that need them (and re-running
 
2631
        a bunch of checks), we now run feature detection as part of configure.pro,
 
2632
        and have build-webkit write the computed feature-defines and CONFIG to
 
2633
        .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
 
2634
        when building WebKit.pro.
 
2635
 
 
2636
        At some point we'll be able to selectivly prevent running of config tests
 
2637
        in configure.pro, which means we don't need a separate code-path for
 
2638
        the build-webkit --help case.
 
2639
 
 
2640
        We should also move the code in build-webkit that now uses .webkit.config
 
2641
        to detect clean builds, to use .qmake.cache, since we now store the same
 
2642
        thing there.
 
2643
 
 
2644
        Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
 
2645
 
 
2646
        Reviewed by Tor Arne Vestbø.
 
2647
 
 
2648
        * declarative/declarative.pro:
 
2649
        * declarative/public.pri:
 
2650
        * tests/qgraphicswebview/qgraphicswebview.pro:
 
2651
 
 
2652
2012-07-03  Sheriff Bot  <webkit.review.bot@gmail.com>
 
2653
 
 
2654
        Unreviewed, rolling out r121766.
 
2655
        http://trac.webkit.org/changeset/121766
 
2656
        https://bugs.webkit.org/show_bug.cgi?id=90465
 
2657
 
 
2658
        It caused flakey build errors on the bots (Requested by Ossy
 
2659
        on #webkit).
 
2660
 
 
2661
        * declarative/declarative.pro:
 
2662
        * declarative/public.pri:
 
2663
        * tests/qgraphicswebview/qgraphicswebview.pro:
 
2664
 
 
2665
2012-07-03  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
2666
 
 
2667
        [Qt] Make use of .qmake.cache for caching features
 
2668
 
 
2669
        Instead of loading() features from the files that need them (and re-running
 
2670
        a bunch of checks), we now run feature detection as part of configure.pro,
 
2671
        and have build-webkit write the computed feature-defines and CONFIG to
 
2672
        .qmake.cache, which is then loaded by qmake _before_ even defaults_pre
 
2673
        when building WebKit.pro.
 
2674
 
 
2675
        At some point we'll be able to selectivly prevent running of config tests
 
2676
        in configure.pro, which means we don't need a separate code-path for
 
2677
        the build-webkit --help case.
 
2678
 
 
2679
        We should also move the code in build-webkit that now uses .webkit.config
 
2680
        to detect clean builds, to use .qmake.cache, since we now store the same
 
2681
        thing there.
 
2682
 
 
2683
        Original patch by Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
 
2684
 
 
2685
        Reviewed by Tor Arne Vestbø.
 
2686
 
 
2687
        * declarative/declarative.pro:
 
2688
        * declarative/public.pri:
 
2689
        * tests/qgraphicswebview/qgraphicswebview.pro:
 
2690
 
 
2691
2012-07-02  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
2692
 
 
2693
        [Qt] Get rid of GraphicsLayerQt
 
2694
        https://bugs.webkit.org/show_bug.cgi?id=78598
 
2695
 
 
2696
        Reviewed by Luiz Agostini.
 
2697
 
 
2698
        Removed all references to GraphicsLayerQt, including #ifdef code paths that only apply
 
2699
        when TEXTURE_MAPPER is disabled.
 
2700
 
 
2701
        * Api/qgraphicswebview.cpp:
 
2702
        (QGraphicsWebView::paint):
 
2703
        * Api/qwebframe.cpp:
 
2704
        (QWebFramePrivate::renderFromTiledBackingStore):
 
2705
        (QWebFramePrivate::renderRelativeCoords):
 
2706
        * Api/qwebframe_p.h:
 
2707
        (QWebFramePrivate::QWebFramePrivate):
 
2708
        (QWebFramePrivate):
 
2709
        * Api/qwebsettings.cpp:
 
2710
        (QWebSettingsPrivate::apply):
 
2711
        * WebCoreSupport/PageClientQt.cpp:
 
2712
        (WebCore):
 
2713
        (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
 
2714
        (WebCore::PageClientQGraphicsWidget::update):
 
2715
        (WebCore::PageClientQGraphicsWidget::syncLayers):
 
2716
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
2717
        * WebCoreSupport/PageClientQt.h:
 
2718
        (WebCore):
 
2719
        (WebCore::PageClientQWidget::PageClientQWidget):
 
2720
        (PageClientQWidget):
 
2721
        (PageClientQGraphicsWidget):
 
2722
 
 
2723
2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
 
2724
 
 
2725
        Do not do any logging initialization when logging is disabled
 
2726
        https://bugs.webkit.org/show_bug.cgi?id=90228
 
2727
 
 
2728
        Reviewed by Simon Fraser.
 
2729
 
 
2730
        * WebCoreSupport/InitWebCoreQt.cpp:
 
2731
        (WebCore::initializeWebCoreQt):
 
2732
 
 
2733
2012-06-29  Konrad Piascik  <kpiascik@rim.com>
 
2734
 
 
2735
        Don't hardcode target dpi of 160 (it should be 96 on desktop)
 
2736
        https://bugs.webkit.org/show_bug.cgi?id=88114
 
2737
 
 
2738
        Reviewed by Adam Barth.
 
2739
 
 
2740
        Updated the call to computeViewportAttributes.
 
2741
 
 
2742
        * Api/qwebpage.cpp:
 
2743
        (QWebPage::viewportAttributesForSize):
 
2744
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2745
        (DumpRenderTreeSupportQt::viewportAsText):
 
2746
 
 
2747
2012-06-28  Alexander Pavlov  <apavlov@chromium.org>
 
2748
 
 
2749
        [Qt] inspector/styles/inject-stylesheet.html makes 4 tests flakey (TEXT PASS)
 
2750
        https://bugs.webkit.org/show_bug.cgi?id=90167
 
2751
 
 
2752
        Reviewed by Csaba Osztrogonác.
 
2753
 
 
2754
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2755
        (DumpRenderTreeSupportQt::removeUserStyleSheets):
 
2756
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2757
 
 
2758
2012-06-28  Csaba Osztrogonác  <ossy@webkit.org>
 
2759
 
 
2760
        [Qt] Restore original value of mock scrollbars between tests
 
2761
        https://bugs.webkit.org/show_bug.cgi?id=90155
 
2762
 
 
2763
        Reviewed by Simon Hausmann.
 
2764
 
 
2765
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2766
        (DumpRenderTreeSupportQt::setMockScrollbarsEnabled):
 
2767
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2768
 
 
2769
2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
 
2770
 
 
2771
        JSLock should be per-JSGlobalData
 
2772
        https://bugs.webkit.org/show_bug.cgi?id=89123
 
2773
 
 
2774
        Reviewed by Geoffrey Garen.
 
2775
 
 
2776
        Changed all sites that used JSLock to instead use the new JSLockHolder
 
2777
        and pass in the correct JS context that the code is about to interact with that 
 
2778
        needs protection. Also added a couple JSLocks to places that didn't already 
 
2779
        have it that needed it.
 
2780
 
 
2781
        * Api/qwebframe.cpp:
 
2782
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
2783
        (QWebFrame::addToJavaScriptWindowObject):
 
2784
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2785
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
2786
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
2787
 
 
2788
2012-06-27  Simon Hausmann  <simon.hausmann@nokia.com>
 
2789
 
 
2790
        [Qt] Fix compilation of example platform plugin with Qt 5
 
2791
 
 
2792
        Reviewed by Kenneth Christiansen.
 
2793
 
 
2794
        Use QLatin1String where appropriate and use the Qt 5 plugin
 
2795
        system with Qt 5.
 
2796
 
 
2797
        * examples/platformplugin/WebPlugin.cpp:
 
2798
        (SingleSelectionPopup::SingleSelectionPopup):
 
2799
        (MultipleItemListDelegate::MultipleItemListDelegate):
 
2800
        (MultipleSelectionPopup::MultipleSelectionPopup):
 
2801
        * examples/platformplugin/WebPlugin.h:
 
2802
        (WebPlugin):
 
2803
 
 
2804
2012-06-26  Tony Chang  <tony@chromium.org>
 
2805
 
 
2806
        [Qt] Enable grid layout LayoutTests
 
2807
        https://bugs.webkit.org/show_bug.cgi?id=89909
 
2808
 
 
2809
        Reviewed by Csaba Osztrogonác.
 
2810
 
 
2811
        These tests pass, we just need to hook up the overridePreference.
 
2812
 
 
2813
        * Api/qwebsettings.cpp:
 
2814
        (QWebSettingsPrivate::apply):
 
2815
        (QWebSettings::QWebSettings):
 
2816
        * Api/qwebsettings.h: Add enum value for CSS grid layout
 
2817
 
 
2818
2012-06-25  Simon Hausmann  <simon.hausmann@nokia.com>
 
2819
 
 
2820
        Unreviewed build fix: Don't do QT += widgets with Qt 4
 
2821
 
 
2822
        * examples/platformplugin/platformplugin.pro:
 
2823
 
 
2824
2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
 
2825
 
 
2826
        Unreviewed, rolling out r121058.
 
2827
        http://trac.webkit.org/changeset/121058
 
2828
        https://bugs.webkit.org/show_bug.cgi?id=89809
 
2829
 
 
2830
        Patch causes plugins tests to crash in GTK debug builds
 
2831
        (Requested by zdobersek on #webkit).
 
2832
 
 
2833
        * Api/qwebframe.cpp:
 
2834
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
2835
        (QWebFrame::addToJavaScriptWindowObject):
 
2836
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2837
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
2838
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
2839
 
 
2840
2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
 
2841
 
 
2842
        JSLock should be per-JSGlobalData
 
2843
        https://bugs.webkit.org/show_bug.cgi?id=89123
 
2844
 
 
2845
        Reviewed by Gavin Barraclough.
 
2846
 
 
2847
        Changed all sites that used JSLock to instead use the new JSLockHolder
 
2848
        and pass in the correct JS context that the code is about to interact with that 
 
2849
        needs protection.
 
2850
 
 
2851
        * Api/qwebframe.cpp:
 
2852
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
2853
        (QWebFrame::addToJavaScriptWindowObject):
 
2854
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2855
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
2856
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
2857
 
 
2858
2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
 
2859
 
 
2860
        Renamed DeviceOrientation to DeviceOrientationData
 
2861
        https://bugs.webkit.org/show_bug.cgi?id=88663
 
2862
 
 
2863
        Reviewed by Steve Block.
 
2864
 
 
2865
        Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
 
2866
        This change makes DeviceOrientationData consistent with DeviceMotionData.
 
2867
        
 
2868
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2869
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
2870
        
 
2871
2012-06-21  Thiago Marcos P. Santos  <thiago.santos@intel.com>
 
2872
 
 
2873
        [WK2][Qt] Color chooser API missing
 
2874
        https://bugs.webkit.org/show_bug.cgi?id=87749
 
2875
 
 
2876
        Reviewed by Kenneth Rohde Christiansen.
 
2877
 
 
2878
        Added ColorChooser API stub to WebKit. Otherwise
 
2879
        it will break the build for Qt WebKit2 (that now has
 
2880
        complete support for color chooser) when INPUT_TYPE_COLOR is set.
 
2881
 
 
2882
        * WebCoreSupport/ChromeClientQt.cpp:
 
2883
        (WebCore):
 
2884
        (WebCore::ChromeClientQt::createColorChooser):
 
2885
        * WebCoreSupport/ChromeClientQt.h:
 
2886
        (ChromeClientQt):
 
2887
 
 
2888
2012-06-20  Simon Hausmann  <simon.hausmann@nokia.com>
 
2889
 
 
2890
        [Qt] Unreviewed build fix
 
2891
 
 
2892
        The platform plugin example uses QGridLayout and thus needs QT += widgets
 
2893
 
 
2894
        * examples/platformplugin/platformplugin.pro:
 
2895
 
 
2896
2012-06-19  Csaba Osztrogonác  <ossy@webkit.org>
 
2897
 
 
2898
        [Qt] Buildfix for newer Qt5, use QPointer instead of the deprecated QWeakPointer.
 
2899
        https://bugs.webkit.org/show_bug.cgi?id=89449
 
2900
 
 
2901
        Reviewed by Simon Hausmann.
 
2902
 
 
2903
        * Api/qwebframe_p.h:
 
2904
        (QWebHitTestResultPrivate):
 
2905
        * Api/qwebpage_p.h:
 
2906
        (QWebPagePrivate):
 
2907
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
2908
        (WebCore::FrameLoaderClientQt::createFrame):
 
2909
        * WebCoreSupport/PageClientQt.h:
 
2910
        (PageClientQGraphicsWidget):
 
2911
 
 
2912
2012-06-19  Albert Astals Cid  <albert.astals@canonical.com>
 
2913
 
 
2914
        [Qt] Document the versions enums where added
 
2915
        https://bugs.webkit.org/show_bug.cgi?id=89452
 
2916
 
 
2917
        Reviewed by Simon Hausmann.
 
2918
 
 
2919
        * Api/qwebpage.cpp:
 
2920
 
 
2921
2012-06-19  Sergio Villar Senin  <svillar@igalia.com>
 
2922
 
 
2923
        Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
 
2924
        https://bugs.webkit.org/show_bug.cgi?id=67582
 
2925
 
 
2926
        Reviewed by David Levin.
 
2927
 
 
2928
        Use synchronousNativeIconForPageURL() to retrieve favicons.
 
2929
 
 
2930
        * Api/qwebhistory.cpp:
 
2931
        (QWebHistoryItem::icon):
 
2932
        * Api/qwebsettings.cpp:
 
2933
        (QWebSettings::iconForUrl):
 
2934
 
 
2935
2012-06-18  Andras Becsi  <andras.becsi@nokia.com>
 
2936
 
 
2937
        [Qt] Update QML plugins to Qt 5 style
 
2938
        https://bugs.webkit.org/show_bug.cgi?id=89027
 
2939
 
 
2940
        Reviewed by Csaba Osztrogonác.
 
2941
 
 
2942
        Since support for Qt 4 style plugins was removed from Qt 5
 
2943
        we need to update our plugins to the new style to be able
 
2944
        to build with a more recent Qt 5 hash.
 
2945
        Add empty plugin description json files for now.
 
2946
 
 
2947
        * declarative/experimental/plugin.cpp:
 
2948
        * declarative/experimental/plugin.json: Added.
 
2949
        * declarative/plugin.cpp:
 
2950
        (WebKitQmlPlugin):
 
2951
        * declarative/plugin.json: Added.
 
2952
 
 
2953
2012-06-13  Simon Hausmann  <simon.hausmann@nokia.com>
 
2954
 
 
2955
        [Qt] Remove dependency to QtScript for the Qt 5 build
 
2956
        https://bugs.webkit.org/show_bug.cgi?id=88993
 
2957
 
 
2958
        Reviewed by Kenneth Rohde Christiansen.
 
2959
 
 
2960
        When building against Qt 5, replace the use of QScriptEngine::ValueOwnership with
 
2961
        a (compatible) QWebFrame::ValueOwnership enum.
 
2962
 
 
2963
        * Api/qwebframe.cpp:
 
2964
        (qtSenderCallback):
 
2965
        (QWebFrame::addToJavaScriptWindowObject):
 
2966
        * Api/qwebframe.h:
 
2967
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
2968
        (tst_QObjectBridge::arrayObjectEnumerable):
 
2969
        (tst_QObjectBridge::ownership):
 
2970
        (tst_QObjectBridge::qObjectWrapperWithSameIdentity):
 
2971
 
 
2972
 
 
2973
2012-06-12  Csaba Osztrogonác  <ossy@webkit.org>
 
2974
 
 
2975
        [Qt][Mac] Unreviewed buildfix after r120076.
 
2976
 
 
2977
        * WebCoreSupport/QTKitFullScreenVideoHandler.h:
 
2978
 
 
2979
2012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
 
2980
 
 
2981
        [DRT] LTC:: counterValueForElementById() could be moved to Internals.
 
2982
        https://bugs.webkit.org/show_bug.cgi?id=84406
 
2983
 
 
2984
        Reviewed by Hajime Morita.
 
2985
 
 
2986
        Move the counterValueForElementById from LayoutTestCotroller to Internals and
 
2987
        remove the old platform specific implementations as it exclusively tests WebCore functionality.
 
2988
 
 
2989
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
2990
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
2991
 
 
2992
2012-06-11  Csaba Osztrogonác  <ossy@webkit.org>
 
2993
 
 
2994
        [Qt][Win] Add missing includes to fix the build
 
2995
        https://bugs.webkit.org/show_bug.cgi?id=88538
 
2996
 
 
2997
        Reviewed by Simon Hausmann.
 
2998
 
 
2999
        * Api/qwebframe.cpp:
 
3000
        * WebCoreSupport/ChromeClientQt.cpp:
 
3001
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3002
        * WebCoreSupport/GeolocationClientQt.cpp:
 
3003
        * WebCoreSupport/IconDatabaseClientQt.cpp:
 
3004
 
 
3005
2012-06-08  Simon Hausmann  <simon.hausmann@nokia.com>
 
3006
 
 
3007
        Unreviewed, fix file permissions.
 
3008
 
 
3009
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3010
 
 
3011
2012-06-07  Zoltan Horvath  <zoltan@webkit.org>
 
3012
 
 
3013
        [Qt] Qt DRT should load external resources - cleanup
 
3014
        https://bugs.webkit.org/show_bug.cgi?id=88568
 
3015
 
 
3016
        Make things more straighforward to load external URLs in DRT.
 
3017
 
 
3018
        Reviewed by Ryosuke Niwa.
 
3019
 
 
3020
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3021
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
3022
 
 
3023
2012-06-06  Zoltan Horvath  <zoltan@webkit.org>
 
3024
 
 
3025
        [Qt] Qt DRT / WTR should be able to load external resources
 
3026
        https://bugs.webkit.org/show_bug.cgi?id=87326
 
3027
 
 
3028
        Reviewed by Hajime Morita.
 
3029
 
 
3030
        Allow external resources to be loaded when the main frame's URL is also an external resource.
 
3031
        This change is analogous to r118231 for Mac port and to r119153 Chromium port.
 
3032
 
 
3033
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3034
        (WebCore::blockRequest):
 
3035
        (WebCore):
 
3036
        (WebCore::isLocalhost):
 
3037
        (WebCore::hostIsUsedBySomeTestsToGenerateError):
 
3038
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
3039
 
 
3040
2012-06-05  Max Feil  <mfeil@rim.com>
 
3041
 
 
3042
        [BlackBerry] Conditionally enlarge HTML5 video controls in fullscreen mode
 
3043
        https://bugs.webkit.org/show_bug.cgi?id=87551
 
3044
 
 
3045
        Reviewed by Antonio Gomes.
 
3046
 
 
3047
        Add a new parameter to adjustSliderThumbSize() for BlackBerry
 
3048
        port. Fixing compiles of other ports.
 
3049
 
 
3050
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
3051
        (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
 
3052
        * WebCoreSupport/RenderThemeQStyle.h:
 
3053
        (RenderThemeQStyle):
 
3054
 
 
3055
2012-06-04  Sheriff Bot  <webkit.review.bot@gmail.com>
 
3056
 
 
3057
        Unreviewed, rolling out r119384.
 
3058
        http://trac.webkit.org/changeset/119384
 
3059
        https://bugs.webkit.org/show_bug.cgi?id=88227
 
3060
 
 
3061
        Need to update some tests, I'll roll in later. (Requested by
 
3062
        Zoltan on #webkit).
 
3063
 
 
3064
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3065
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
3066
 
 
3067
2012-06-04  Zoltan Horvath  <zoltan@webkit.org>
 
3068
 
 
3069
        [Qt] Qt DRT / WTR should be able to load external resources
 
3070
        https://bugs.webkit.org/show_bug.cgi?id=87326
 
3071
 
 
3072
        Reviewed by Ryosuke Niwa.
 
3073
 
 
3074
        Allow external resources to be loaded when the main frame's URL is also an external resource.
 
3075
        This change is analogous to r118231 for Mac port and to r119153 Chromium port.
 
3076
 
 
3077
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3078
        (WebCore::blockRequest):
 
3079
        (WebCore):
 
3080
        (WebCore::isLocalhost):
 
3081
        (WebCore::hostIsUsedBySomeTestsToGenerateError):
 
3082
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
3083
 
 
3084
2012-06-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
3085
 
 
3086
        [Qt] Don't use WebKit HAVE() macro in public Qt headers
 
3087
 
 
3088
        Reviewed by Kenneth Rohde Christiansen.
 
3089
 
 
3090
        * Api/qgraphicswebview.h:
 
3091
        * Api/qwebframe_p.h:
 
3092
        * Api/qwebpage.h:
 
3093
        * Api/qwebview.h:
 
3094
 
 
3095
2012-06-02  Zoltan Arvai  <zarvai@inf.u-szeged.hu>
 
3096
 
 
3097
        [Qt] Use 'Ok' and 'Cancel' buttons in JavaScript confirm box.
 
3098
        https://bugs.webkit.org/show_bug.cgi?id=76190
 
3099
        Based on Johannes Obermayrs (johannesobermayr@gmx.de) patch.
 
3100
        See: http://www.javascripter.net/faq/confirm.htm
 
3101
        Fixes: https://bugs.kde.org/show_bug.cgi?id=287629
 
3102
 
 
3103
        Reviewed by Simon Hausmann.
 
3104
 
 
3105
        * Api/qwebpage.cpp:
 
3106
        (QWebPage::javaScriptConfirm):
 
3107
 
 
3108
2012-06-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
3109
 
 
3110
        [Qt] Fix QObject bridge tests in Qt5 after (not so) recent QVariant changes
 
3111
        https://bugs.webkit.org/show_bug.cgi?id=88127
 
3112
 
 
3113
        Reviewed by Noam Rosenthal.
 
3114
 
 
3115
        We were checking for invalid QVariants in a very odd way. Since in Qt5 the
 
3116
        userType of invalid changed to not be Void, this broke the tests for QtWebKit
 
3117
        with Qt5. Replace those checks with QVariant::isValid() calls.
 
3118
 
 
3119
        * tests/qobjectbridge/tst_qobjectbridge.cpp:
 
3120
        (tst_QObjectBridge::evalJS):
 
3121
        (tst_QObjectBridge::evalJSV):
 
3122
 
 
3123
2012-06-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
3124
 
 
3125
        [Qt] Move QObject bridge related tests from tst_qwebframe to tst_qobjectbridge
 
3126
        https://bugs.webkit.org/show_bug.cgi?id=88117
 
3127
 
 
3128
        Reviewed by Noam Rosenthal.
 
3129
 
 
3130
        Five tests (classEnums, classConstructor, transferInvokable, findObject and
 
3131
        findChildren) were removed since they contained commented code since the file was
 
3132
        added back in 2008. The QObject bridge tests were probably inspired in similar
 
3133
        tests for QtScript, so many features not yet implemented were present in QtWebKit
 
3134
        tests but commented.
 
3135
 
 
3136
        Other minor changes:
 
3137
        - Moved MyEnumTestQObject near the only test function that uses it.
 
3138
        - Removed unnecessary Q_INVOKABLE from setBrushProperty.
 
3139
        - Removed some bits of dead / commented code.
 
3140
 
 
3141
        * tests/qobjectbridge/qobjectbridge.pro: Added.
 
3142
        * tests/qobjectbridge/tst_qobjectbridge.cpp: Copied from Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp.
 
3143
        Kept only the tests related to QObject bridge implementation.
 
3144
        * tests/qwebframe/tst_qwebframe.cpp:
 
3145
        (tst_QWebFrame):
 
3146
        (tst_QWebFrame::init):
 
3147
        (tst_QWebFrame::cleanup):
 
3148
 
 
3149
2012-06-01  Thiago Marcos P. Santos  <thiago.santos@intel.com>
 
3150
 
 
3151
        [Qt] Remove deprecated to/fromAscii()
 
3152
        https://bugs.webkit.org/show_bug.cgi?id=88086
 
3153
 
 
3154
        Reviewed by Simon Hausmann.
 
3155
 
 
3156
        Replacing to/fromAscii with to/fromLatin1 since it
 
3157
        is deprecated on Qt5.
 
3158
 
 
3159
        * WebCoreSupport/InspectorClientQt.cpp:
 
3160
        (WebCore):
 
3161
        * WebCoreSupport/InspectorServerQt.cpp:
 
3162
        (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
 
3163
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
3164
        (tst_QDeclarativeWebView::settings):
 
3165
 
 
3166
2012-05-31  Hajime Morrita  <morrita@chromium.org>
 
3167
 
 
3168
        REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
 
3169
        https://bugs.webkit.org/show_bug.cgi?id=86859
 
3170
 
 
3171
        Reviewed by Ryosuke Niwa.
 
3172
 
 
3173
        * WebCoreSupport/TextCheckerClientQt.h:
 
3174
        (WebCore::TextCheckerClientQt::requestCheckingOfString):
 
3175
 
 
3176
2012-05-31  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
3177
 
 
3178
        [Qt] Simplify QT_VERSION_CHECKS for Qt5 by introducing HAVE(QT5)
 
3179
        https://bugs.webkit.org/show_bug.cgi?id=87955
 
3180
 
 
3181
        Reviewed by Simon Hausmann.
 
3182
 
 
3183
        * Api/qgraphicswebview.cpp:
 
3184
        * Api/qgraphicswebview.h:
 
3185
        * Api/qwebframe.cpp:
 
3186
        * Api/qwebframe_p.h:
 
3187
        * Api/qwebpage.cpp:
 
3188
        * Api/qwebpage.h:
 
3189
        * Api/qwebsettings.cpp:
 
3190
        * Api/qwebview.cpp:
 
3191
        * Api/qwebview.h:
 
3192
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3193
        * WebCoreSupport/GeolocationClientQt.cpp:
 
3194
        * WebCoreSupport/GeolocationClientQt.h:
 
3195
        * WebCoreSupport/PageClientQt.cpp:
 
3196
        * WebCoreSupport/WebEventConversion.cpp:
 
3197
        * declarative/plugin.cpp:
 
3198
        * tests/qwebframe/tst_qwebframe.cpp:
 
3199
        * tests/util.h:
 
3200
 
 
3201
2012-05-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
3202
 
 
3203
        [Qt] Sync up favicon-implementation with WebView url changes in r118158
 
3204
 
 
3205
        https://bugs.webkit.org/show_bug.cgi?id=87133
 
3206
 
 
3207
        We now base64-encode the page url in the image-provider url, so that any
 
3208
        normalization done by QUrl will not mess up the page-url. The logic of
 
3209
        creating and parsing the provider-url has been moved into the image
 
3210
        provider, to keep it in one place.
 
3211
 
 
3212
        We were also releasing icons (even ones we hadn't retained), which we can't
 
3213
        do since we don't know when the icon url is no longer in use.
 
3214
 
 
3215
        Reviewed-by Simon Hausmann.
 
3216
 
 
3217
        * declarative/plugin.cpp:
 
3218
        * declarative/public.pri:
 
3219
 
 
3220
2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
 
3221
 
 
3222
        WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
 
3223
        https://bugs.webkit.org/show_bug.cgi?id=42328
 
3224
 
 
3225
        Reviewed by Eric Seidel.
 
3226
 
 
3227
        Removed unneeded setJavaScriptProfilingEnabled function from DRT after its
 
3228
        move to windows.internals.settings.
 
3229
 
 
3230
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3231
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3232
 
 
3233
2012-05-27  Simon Hausmann  <simon.hausmann@nokia.com>
 
3234
 
 
3235
        [Qt] Trivial unreviewed build fix with newer Qt
 
3236
 
 
3237
        * Api/qwebpage.cpp:
 
3238
        (QWebPage::javaScriptPrompt): Don't use deprecated QString/QChar functions.
 
3239
 
 
3240
2012-05-24  Ryosuke Niwa  <rniwa@webkit.org>
 
3241
 
 
3242
        createContextualFragment and insertAdjacentHTML should throw syntax error
 
3243
        https://bugs.webkit.org/show_bug.cgi?id=87454
 
3244
 
 
3245
        Reviewed by Darin Adler.
 
3246
 
 
3247
        Pass an ExceptionCode to createContextualFragment.
 
3248
 
 
3249
        * Api/qwebelement.cpp:
 
3250
        (QWebElement::appendInside):
 
3251
        (QWebElement::prependInside):
 
3252
        (QWebElement::prependOutside):
 
3253
        (QWebElement::appendOutside):
 
3254
        (QWebElement::encloseContentsWith):
 
3255
        (QWebElement::encloseWith):
 
3256
 
 
3257
2012-05-25  Csaba Osztrogonác  <ossy@webkit.org>
 
3258
 
 
3259
        [Qt] Buildfix for newer Qt5
 
3260
        https://bugs.webkit.org/show_bug.cgi?id=87257
 
3261
 
 
3262
        Reviewed by Simon Hausmann.
 
3263
 
 
3264
        * Api/qgraphicswebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
 
3265
        * Api/qwebframe.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
 
3266
        * Api/qwebhistory.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
 
3267
        * Api/qwebsettings.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
 
3268
        * Api/qwebview.h: QtWidgets/qicon.h -> QtGui/qicon.h renaming.
 
3269
        * WebCoreSupport/FrameLoaderClientQt.cpp: Adjust QCoreApplication::translate() parameter list to newer Qt 5.
 
3270
        (WebCore::FrameLoaderClientQt::cancelledError):
 
3271
        (WebCore::FrameLoaderClientQt::blockedError):
 
3272
        (WebCore::FrameLoaderClientQt::cannotShowURLError):
 
3273
        (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
 
3274
        (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
 
3275
        (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
 
3276
        (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
 
3277
        * declarative/experimental/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
 
3278
        * declarative/plugin.cpp: QDeclarativeExtensionPlugin -> QQmlExtensionPlugin renaming.
 
3279
        (WebKitQmlPlugin):
 
3280
 
 
3281
2012-05-24  Ryosuke Niwa  <rniwa@webkit.org>
 
3282
 
 
3283
        There are too many poorly named functions to create a fragment from markup
 
3284
        https://bugs.webkit.org/show_bug.cgi?id=87339
 
3285
 
 
3286
        Reviewed by Eric Seidel.
 
3287
 
 
3288
        Replace calls to Range::createDocumentFragmentForElement by calls to
 
3289
        createContextualDocumentFragment.
 
3290
 
 
3291
        * Api/qwebelement.cpp:
 
3292
        (QWebElement::appendInside):
 
3293
        (QWebElement::prependInside):
 
3294
        (QWebElement::prependOutside):
 
3295
        (QWebElement::appendOutside):
 
3296
        (QWebElement::encloseContentsWith):
 
3297
        (QWebElement::encloseWith):
 
3298
 
 
3299
2012-05-24  Gabor Ballabas  <gaborb@inf.u-szeged.hu>
 
3300
 
 
3301
        [Qt]  Fix Webkit1 + V8 build.
 
3302
        https://bugs.webkit.org/show_bug.cgi?id=87368
 
3303
 
 
3304
        Reviewed by Eric Seidel.
 
3305
 
 
3306
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3307
        (DumpRenderTreeSupportQt::evaluateScriptInIsolatedWorld):
 
3308
 
 
3309
2012-05-24  Steffen Imhof  <steffen.imhof@basyskom.com>
 
3310
 
 
3311
        https://bugs.webkit.org/show_bug.cgi?id=67093
 
3312
        [Qt] Default window.alert shows HTML entities in certain cases
 
3313
 
 
3314
        Instead of HTML escaping the text of JS alerts (which does not work
 
3315
        consistently because of Qt's automatisms), build message boxes
 
3316
        explicitly to be able set the text format to plain text.
 
3317
        QInputDialog is a bit hacky, because there is no way to access or
 
3318
        control the contained QLabel.
 
3319
 
 
3320
        Reviewed by Simon Hausmann.
 
3321
 
 
3322
        * Api/qwebpage.cpp:
 
3323
        (QWebPage::javaScriptAlert):
 
3324
        (QWebPage::javaScriptConfirm):
 
3325
        (QWebPage::javaScriptPrompt):
 
3326
 
 
3327
2012-05-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
3328
 
 
3329
        Move setEditingBehavior() from layoutTestController to window.internals
 
3330
        https://bugs.webkit.org/show_bug.cgi?id=42689
 
3331
 
 
3332
        Reviewed by Hajime Morita and Kenneth Rohde Christiansen.
 
3333
 
 
3334
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3335
        (DumpRenderTreeSupportQt::setWindowsBehaviorAsEditingBehavior): Reduce the job
 
3336
        done by this function to the minimal.
 
3337
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3338
 
 
3339
2012-05-18  MORITA Hajime  <morrita@google.com>
 
3340
 
 
3341
        https://bugs.webkit.org/show_bug.cgi?id=85515
 
3342
        Stale frame in WebCore::SpellChecker::didCheckSucceeded
 
3343
 
 
3344
        Reviewed by Ryosuke Niwa.
 
3345
 
 
3346
        * WebCoreSupport/EditorClientQt.h:
 
3347
        (WebCore::EditorClientQt::frameWillDetachPage):
 
3348
 
 
3349
2012-05-17  Hironori Bono  <hbono@chromium.org>
 
3350
 
 
3351
        [Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
 
3352
        https://bugs.webkit.org/show_bug.cgi?id=86591
 
3353
 
 
3354
        Reviewed by Ryosuke Niwa.
 
3355
 
 
3356
        This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
 
3357
        function to remove platform-specific code from Editor::respondToChangedSelection
 
3358
        function.
 
3359
 
 
3360
        No new tests, no change in behavior.
 
3361
 
 
3362
        * WebCoreSupport/TextCheckerClientQt.cpp:
 
3363
        (WebCore::TextCheckerClientQt::shouldEraseMarkersAfterChangeSelection):
 
3364
        (WebCore):
 
3365
        * WebCoreSupport/TextCheckerClientQt.h:
 
3366
        (TextCheckerClientQt):
 
3367
 
 
3368
2012-05-17  Dan Bernstein  <mitz@apple.com>
 
3369
 
 
3370
        REGRESSION (r117428): WebKit API/SPI was removed
 
3371
        https://bugs.webkit.org/show_bug.cgi?id=86748
 
3372
 
 
3373
        Reverted r117428.
 
3374
 
 
3375
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3376
        (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
 
3377
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3378
 
 
3379
2012-05-17  Tsarko Yaroslav  <eriktsarko@googlemail.com>
 
3380
 
 
3381
        Reviewed by Yury Semikhatsky.
 
3382
 
 
3383
        Bug 71271: [Qt] Web Inspector: local inspector client UI becomes unresponsive on debugger pause during
 
3384
        https://bugs.webkit.org/show_bug.cgi?id=71271
 
3385
 
 
3386
        Web Inspector should not belong to any other page groups since it is a specialized debugger window.
 
3387
        The reason for this change is when debugger pauses web page it pauses all the pages in the page group of debuggee.
 
3388
        This leads that Web Inspector front-end is paused too leading to locked Web Inspector GUI (bugzilla ticket 71271).
 
3389
 
 
3390
        * WebCoreSupport/InspectorClientQt.cpp:
 
3391
        (WebCore::InspectorClientQt::openInspectorFrontend):
 
3392
 
 
3393
2012-05-17  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
3394
 
 
3395
        Convert setDomainRelaxationForbiddenForURLScheme to use InternalSettings interface
 
3396
        https://bugs.webkit.org/show_bug.cgi?id=86704
 
3397
 
 
3398
        Reviewed by Eric Seidel.
 
3399
 
 
3400
        Remove setDomainRelaxationForbiddenForURLScheme functions, because it is able to work in the
 
3401
        cross-port way through the InternalSettings interface.
 
3402
 
 
3403
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3404
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3405
 
 
3406
2012-05-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
3407
 
 
3408
        [Qt] Add infra for testing double-tap to zoom functionality etc
 
3409
        https://bugs.webkit.org/show_bug.cgi?id=86474
 
3410
 
 
3411
        Reviewed by Simon Hausmann.
 
3412
 
 
3413
        The WebViewportInfo class was renamed to QWebKitTest in preparation
 
3414
        of becoming a separate module. Adapt the use API.
 
3415
 
 
3416
        * declarative/experimental/plugin.cpp:
 
3417
 
 
3418
2012-05-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
3419
 
 
3420
        Move resumeAnimations to use Internals interface
 
3421
        https://bugs.webkit.org/show_bug.cgi?id=86063
 
3422
 
 
3423
        Reviewed by Alexey Proskuryakov.
 
3424
 
 
3425
        Remove resumeAnimations functions, because it is able to work in the 
 
3426
        cross-port way through the Internals interface.
 
3427
 
 
3428
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3429
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3430
 
 
3431
2012-05-10  Marius Storm-Olsen  <marius.storm-olsen@nokia.com>
 
3432
 
 
3433
        [Qt] Fix \sa usage in documentation
 
3434
 
 
3435
        Ensure comma between elements (6 missing).
 
3436
 
 
3437
        Reviewed by Tor Arne Vestbø.
 
3438
 
 
3439
        * Api/qwebpage.cpp:
 
3440
 
 
3441
2012-05-09  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
3442
 
 
3443
        Move suspendAnimations to use Internals interface.
 
3444
        https://bugs.webkit.org/show_bug.cgi?id=85986
 
3445
 
 
3446
        Reviewed by Ryosuke Niwa.
 
3447
 
 
3448
        Remove suspendAnimations functions, because it is able to work in the 
 
3449
        cross-port way through the Internals interface.
 
3450
 
 
3451
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3452
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3453
 
 
3454
2012-05-08  Balazs Kelemen  <kbalazs@webkit.org>
 
3455
 
 
3456
        [Qt] X11 plugins need to be reworked for Qt5+WK1
 
3457
        https://bugs.webkit.org/show_bug.cgi?id=80691
 
3458
 
 
3459
        Reviewed by Simon Hausmann.
 
3460
 
 
3461
        * Api/qwebsettings.cpp:
 
3462
        (QWebSettings::enablePersistentStorage):
 
3463
        Build fix for Qt5.
 
3464
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3465
        (WebCore::FrameLoaderClientQt::createPlugin):
 
3466
        Inject the wmode parameter for flash so it will
 
3467
        work in windowless, non-transparent mode which
 
3468
        is the only one we support currently.
 
3469
        * WebCoreSupport/PageClientQt.cpp:
 
3470
        (WebCore):
 
3471
        (WebCore::QWebPageClient::ownerWindow):
 
3472
        Added a getter for the top level window so the PluginView
 
3473
        can get it without calling into QtWidgets code.
 
3474
 
 
3475
2012-05-06  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
3476
 
 
3477
        Convert isPageBoxVisible to use Internals interface.
 
3478
        https://bugs.webkit.org/show_bug.cgi?id=85692
 
3479
 
 
3480
        Reviewed by Darin Adler.
 
3481
 
 
3482
        Remove isPageBoxVisible functions, because it is able to work in the
 
3483
        cross-port way through the Internals interface.
 
3484
 
 
3485
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3486
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3487
 
 
3488
2012-05-04  Nate Chapin  <japhet@chromium.org>
 
3489
 
 
3490
        Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
 
3491
        https://bugs.webkit.org/show_bug.cgi?id=85533
 
3492
 
 
3493
        Reviewed by Alexey Proskuryakov.
 
3494
 
 
3495
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3496
        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
 
3497
        (WebCore):
 
3498
        (WebCore::FrameLoaderClientQt::finishedLoading):
 
3499
        * WebCoreSupport/FrameLoaderClientQt.h:
 
3500
        (WebCore::FrameLoaderClientQt::makeRepresentation):
 
3501
        (WebCore::FrameLoaderClientQt::revertToProvisionalState):
 
3502
        (FrameLoaderClientQt):
 
3503
 
 
3504
2012-05-03  Fady Samuel  <fsamuel@chromium.org>
 
3505
 
 
3506
        Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
 
3507
        https://bugs.webkit.org/show_bug.cgi?id=70609
 
3508
 
 
3509
        Reviewed by Kenneth Rohde Christiansen.
 
3510
 
 
3511
        * Api/qwebpage.cpp:
 
3512
        (QWebPage::viewportAttributesForSize):
 
3513
        * Api/qwebpage.h:
 
3514
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3515
        (DumpRenderTreeSupportQt::viewportAsText):
 
3516
 
 
3517
2012-04-27  Jon Lee  <jonlee@apple.com>
 
3518
 
 
3519
        Migrate permission functions to Notification from NotificationCenter
 
3520
        https://bugs.webkit.org/show_bug.cgi?id=80485
 
3521
        <rdar://problem/10965458>
 
3522
 
 
3523
        Reviewed by Jian Li.
 
3524
 
 
3525
        * WebCoreSupport/NotificationPresenterClientQt.h:
 
3526
        (NotificationPresenterClientQt): Add stub implementation of requestPermission.
 
3527
        (WebCore::NotificationPresenterClientQt::requestPermission):
 
3528
 
 
3529
2012-05-02  Sheriff Bot  <webkit.review.bot@gmail.com>
 
3530
 
 
3531
        Unreviewed, rolling out r115907.
 
3532
        http://trac.webkit.org/changeset/115907
 
3533
        https://bugs.webkit.org/show_bug.cgi?id=85458
 
3534
 
 
3535
        It broke all viewport tests on Qt and on GTK (Requested by
 
3536
        Ossy on #webkit).
 
3537
 
 
3538
        * Api/qwebpage.cpp:
 
3539
        (QWebPage::viewportAttributesForSize):
 
3540
        * Api/qwebpage.h:
 
3541
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3542
        (DumpRenderTreeSupportQt::viewportAsText):
 
3543
 
 
3544
2012-04-18  Jon Honeycutt  <jhoneycutt@apple.com>
 
3545
 
 
3546
        FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
 
3547
        information about the form being submitted
 
3548
        https://bugs.webkit.org/show_bug.cgi?id=84297
 
3549
 
 
3550
        Reviewed by Andy Estes.
 
3551
 
 
3552
        * WebCoreSupport/FrameLoaderClientQt.h:
 
3553
        (WebCore::FrameLoaderClientQt::dispatchWillSendSubmitEvent):
 
3554
        Updated method declaration.
 
3555
 
 
3556
2012-05-02  Fady Samuel  <fsamuel@chromium.org>
 
3557
 
 
3558
        Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
 
3559
        https://bugs.webkit.org/show_bug.cgi?id=70609
 
3560
 
 
3561
        Reviewed by Kenneth Rohde Christiansen.
 
3562
 
 
3563
        * Api/qwebpage.h:
 
3564
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3565
        (DumpRenderTreeSupportQt::viewportAsText):
 
3566
 
 
3567
2012-05-02  Milian Wolff  <milian.wolff@kdab.com>
 
3568
 
 
3569
        [Qt] Pass page-height to PrintContext::begin to fix print layouting
 
3570
        https://bugs.webkit.org/show_bug.cgi?id=84864
 
3571
 
 
3572
        Reviewed by Simon Hausmann.
 
3573
 
 
3574
        * Api/qwebframe.cpp:
 
3575
        (QWebFrame::print):
 
3576
 
 
3577
2012-05-02  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
3578
 
 
3579
        [Qt] Add initial QML documentation
 
3580
        https://bugs.webkit.org/show_bug.cgi?id=85370
 
3581
 
 
3582
        Reviewed by Simon Hausmann.
 
3583
 
 
3584
        * docs/qtwebkit.qdocconf: Add WebKit2 dirs.
 
3585
 
 
3586
2012-05-02  Csaba Osztrogonác  <ossy@webkit.org>
 
3587
 
 
3588
        [Qt] Buildfix after r115812 for !ENABLE(DEVICE_ORIENTATION) builds.
 
3589
        https://bugs.webkit.org/show_bug.cgi?id=64595
 
3590
 
 
3591
        Reviewed by Kenneth Rohde Christiansen.
 
3592
 
 
3593
        * Api/qwebpage.cpp:
 
3594
 
 
3595
2012-04-27  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
 
3596
 
 
3597
        Move WebKit1 specific conversion of touch-events to WebKit1
 
3598
        https://bugs.webkit.org/show_bug.cgi?id=84951
 
3599
 
 
3600
        Reviewed by Kenneth Rohde Christiansen.
 
3601
 
 
3602
        Fix compile when touch-events are disabled.
 
3603
 
 
3604
        * WebCoreSupport/WebEventConversion.cpp:
 
3605
        (WebCore):
 
3606
        * WebCoreSupport/WebEventConversion.h:
 
3607
        (WebCore):
 
3608
 
 
3609
2012-04-26  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
 
3610
 
 
3611
        Move WebKit1 specific conversion of touch-events to WebKit1.
 
3612
        https://bugs.webkit.org/show_bug.cgi?id=84951
 
3613
 
 
3614
        Reviewed by Kenneth Rohde Christiansen.
 
3615
 
 
3616
        * Api/qwebpage.cpp:
 
3617
        (QWebPagePrivate::touchEvent):
 
3618
        * WebCoreSupport/WebEventConversion.cpp:
 
3619
        (WebKitPlatformTouchEvent):
 
3620
        (WebKitPlatformTouchPoint):
 
3621
        (WebCore::WebKitPlatformTouchEvent::WebKitPlatformTouchEvent):
 
3622
        (WebCore::WebKitPlatformTouchPoint::WebKitPlatformTouchPoint):
 
3623
        (WebCore::convertTouchEvent):
 
3624
        * WebCoreSupport/WebEventConversion.h:
 
3625
 
 
3626
2012-04-25  Alexis Menard  <alexis.menard@openbossa.org>
 
3627
 
 
3628
        Rename CSSStyleSelector files to StyleResolver.
 
3629
        https://bugs.webkit.org/show_bug.cgi?id=84814
 
3630
 
 
3631
        Reviewed by Antti Koivisto.
 
3632
 
 
3633
        Rename CSSStyleSelector files to match the new class name StyleResolver.
 
3634
        Update the includes all over the code base to the new name.
 
3635
 
 
3636
        * Api/qwebelement.cpp:
 
3637
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
3638
 
 
3639
2012-04-25  Milian Wolff  <milian.wolff@kdab.com>
 
3640
 
 
3641
        [Qt] add LayoutTestController::setPrinting support to Qt unit tests
 
3642
        https://bugs.webkit.org/show_bug.cgi?id=84246
 
3643
 
 
3644
        Reviewed by Simon Hausmann.
 
3645
 
 
3646
        * Api/qwebframe.cpp:
 
3647
        (QWebFrame::paintPagesWithBoundaries):
 
3648
        * Api/qwebframe.h:
 
3649
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3650
        (DumpRenderTreeSupportQt::paintPagesWithBoundaries):
 
3651
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
3652
 
 
3653
2012-04-24  Alexis Menard  <alexis.menard@openbossa.org>
 
3654
 
 
3655
        Replace occurences of style selector from variables and methods names by style resolver.
 
3656
        https://bugs.webkit.org/show_bug.cgi?id=84765
 
3657
 
 
3658
        Reviewed by Andreas Kling.
 
3659
 
 
3660
        Rename methods and variables to follow the new name StyleResolver. It requires to update the
 
3661
        local variables, methods parameters, and function names to match the new name and to remove
 
3662
        the concept of "selector" to avoid clashing with the CSS concept. The next and last patch
 
3663
        will be to rename CSSStyleSelector file and update the includes.
 
3664
 
 
3665
        * Api/qwebelement.cpp:
 
3666
        (QWebElement::styleProperty):
 
3667
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3668
        (DumpRenderTreeSupportQt::setMediaType):
 
3669
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
3670
        (WebCore::RenderThemeQStyle::adjustButtonStyle):
 
3671
        (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
 
3672
        (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
 
3673
        (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
 
3674
        (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
 
3675
        (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
 
3676
 
 
3677
2012-04-24  Alexis Menard  <alexis.menard@openbossa.org>
 
3678
 
 
3679
        Rename CSSStyleSelector class to StyleResolver.
 
3680
        https://bugs.webkit.org/show_bug.cgi?id=84734
 
3681
 
 
3682
        Reviewed by Andreas Kling.
 
3683
 
 
3684
        The name CSSStyleSelector is confusing as it conflicts a bit with
 
3685
        the CSS concept of selectors. One could think it's an encapsulation
 
3686
        of the CSS selectors but it's not, in fact this class is responsible
 
3687
        of finding the RenderStyle for a given element. This is the first patch
 
3688
        as I will later rename the files, and then rename the local variables.
 
3689
 
 
3690
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
3691
        (WebCore::RenderThemeQStyle::adjustButtonStyle):
 
3692
        (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
 
3693
        (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
 
3694
        (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
 
3695
        (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
 
3696
        (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
 
3697
        (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
 
3698
        * WebCoreSupport/RenderThemeQStyle.h:
 
3699
        (RenderThemeQStyle):
 
3700
 
 
3701
2012-04-24  Yael Aharon  <yael.aharon@nokia.com>
 
3702
 
 
3703
        [Qt] Move notification icon download out of WebCore
 
3704
        https://bugs.webkit.org/show_bug.cgi?id=80700
 
3705
 
 
3706
        Reviewed by Simon Hausmann.
 
3707
 
 
3708
        Remove the code that handles the notification's icon and use the icon url instead.
 
3709
        The "display" event has to be asynchronous, so a timer was added to achieve that.
 
3710
        The platform plugin API and example were updated to reflect this change.
 
3711
        This change does not address the recent changes in web notifications spec.
 
3712
 
 
3713
        * Api/qwebkitplatformplugin.h:
 
3714
        (QWebNotificationData):
 
3715
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
3716
        (WebCore::NotificationWrapper::NotificationWrapper):
 
3717
        (WebCore::NotificationWrapper::sendDisplayEvent):
 
3718
        (WebCore):
 
3719
        (WebCore::NotificationWrapper::iconUrl):
 
3720
        (WebCore::NotificationPresenterClientQt::show):
 
3721
        (WebCore::NotificationPresenterClientQt::displayNotification):
 
3722
        (WebCore::NotificationPresenterClientQt::sendDisplayEvent):
 
3723
        * WebCoreSupport/NotificationPresenterClientQt.h:
 
3724
        (NotificationWrapper):
 
3725
        (NotificationPresenterClientQt):
 
3726
        * examples/platformplugin/WebNotificationPresenter.cpp:
 
3727
        (WebNotificationWidget::showNotification):
 
3728
        * examples/platformplugin/qwebkitplatformplugin.h:
 
3729
        (QWebNotificationData):
 
3730
 
 
3731
2012-04-18  Allan Sandfeld Jensen  <allan.jensen@nokia.com>
 
3732
 
 
3733
        Clean-up WheelEvent Conversion.
 
3734
        https://bugs.webkit.org/show_bug.cgi?id=84243
 
3735
 
 
3736
        Reviewed by Simon Hausmann.
 
3737
 
 
3738
        * WebCoreSupport/WebEventConversion.cpp:
 
3739
        (WebCore::WebKitPlatformWheelEvent::applyDelta):
 
3740
 
 
3741
2012-04-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
3742
 
 
3743
        [Qt] Build fix with QT_NO_BEARERMANAGEMENT
 
3744
 
 
3745
        Reviewed by Jocelyn Turcotte.
 
3746
 
 
3747
        * tests/benchmarks/loading/tst_loading.cpp:
 
3748
        (tst_Loading):
 
3749
        (tst_Loading::load):
 
3750
        * tests/benchmarks/painting/tst_painting.cpp:
 
3751
        (tst_Painting):
 
3752
        (tst_Painting::paint):
 
3753
 
 
3754
2012-04-13  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
3755
 
 
3756
        [Qt] Fix build on OS X
 
3757
 
 
3758
        We were manually including the directories needed from WTF, instead of
 
3759
        using the WEBKIT qmake variable to add dependencies, which also adds
 
3760
        other tricks from WTF.pri, such as the right include paths for ICU.
 
3761
 
 
3762
        Reviewed by Simon Hausmann.
 
3763
 
 
3764
        * declarative/experimental/experimental.pri:
 
3765
        * declarative/public.pri:
 
3766
 
 
3767
2012-04-12  Balazs Kelemen  <kbalazs@webkit.org>
 
3768
 
 
3769
        [Qt] Fix WebKit1 build with V8
 
3770
        https://bugs.webkit.org/show_bug.cgi?id=83322
 
3771
 
 
3772
        Reviewed by Adam Barth.
 
3773
 
 
3774
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
3775
        (WebCore::FrameLoaderClientQt::didCreateScriptContext):
 
3776
        * WebCoreSupport/FrameLoaderClientQt.h:
 
3777
        (FrameLoaderClientQt):
 
3778
        (WebCore::FrameLoaderClientQt::allowScriptExtension):
 
3779
        * WebCoreSupport/InitWebCoreQt.cpp:
 
3780
 
 
3781
2012-03-05  Pierre Rossi  <pierre.rossi@gmail.com>
 
3782
 
 
3783
        [Qt] Use QRawFont when building with Qt 5
 
3784
        https://bugs.webkit.org/show_bug.cgi?id=78001
 
3785
 
 
3786
        Since QFont is not used internally, we now need
 
3787
        to query for a QFont that should be a good
 
3788
        enough match.
 
3789
 
 
3790
        Reviewed by Simon Hausmann.
 
3791
 
 
3792
        * Api/qwebpage.cpp:
 
3793
        (QWebPage::inputMethodQuery):
 
3794
        * WebCoreSupport/PopupMenuQt.cpp:
 
3795
        (WebCore::PopupMenuQt::show):
 
3796
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
3797
        (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
 
3798
 
 
3799
2012-04-06  Levi Weintraub  <leviw@chromium.org>
 
3800
 
 
3801
        Correct LayoutUnit usgae in RenderThemeQt and RenderThemeQStyle
 
3802
        https://bugs.webkit.org/show_bug.cgi?id=83376
 
3803
 
 
3804
        Reviewed by Eric Seidel.
 
3805
 
 
3806
        Calculating the progress animation using the pixel-snapped RenderProgress size instead
 
3807
        of the internal sub-pixel version.
 
3808
 
 
3809
        * WebCoreSupport/RenderThemeQStyle.cpp:
 
3810
        (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
 
3811
 
 
3812
2012-04-05  Patrick Gansterer  <paroga@webkit.org>
 
3813
 
 
3814
        [Qt] Correct <wtf/*.h> include paths.
 
3815
        https://bugs.webkit.org/show_bug.cgi?id=83270
 
3816
 
 
3817
        Reviewed by Eric Seidel.
 
3818
 
 
3819
        Modify the #include declerations so that the
 
3820
        wtf types are included using the full path.
 
3821
 
 
3822
        * Api/qwebpage.cpp:
 
3823
        * WebCoreSupport/ContextMenuClientQt.h:
 
3824
        * WebCoreSupport/EditorClientQt.h:
 
3825
        * WebCoreSupport/FrameLoaderClientQt.h:
 
3826
        * WebCoreSupport/InspectorServerQt.cpp:
 
3827
 
 
3828
2012-04-05  Csaba Osztrogonác  <ossy@webkit.org>
 
3829
 
 
3830
        [Qt] Fix includes after QtDeclarative -> QtQML renaming
 
3831
        https://bugs.webkit.org/show_bug.cgi?id=82195
 
3832
 
 
3833
        Relanding r112651, because Qt5 is updated everywhere.
 
3834
 
 
3835
        * declarative/experimental/plugin.cpp:
 
3836
        * declarative/plugin.cpp:
 
3837
        (WebKitQmlPlugin::initializeEngine):
 
3838
 
 
3839
2012-04-04  Andras Becsi  <andras.becsi@nokia.com>
 
3840
 
 
3841
        [Qt][WK2] Make the WebView a subclass of Flickable
 
3842
        https://bugs.webkit.org/show_bug.cgi?id=83033
 
3843
 
 
3844
        Reviewed by Kenneth Rohde Christiansen.
 
3845
 
 
3846
        Add needed dependency to quick-private for projects that include the WebView header.
 
3847
 
 
3848
        * declarative/experimental/experimental.pri:
 
3849
        * declarative/public.pri:
 
3850
 
 
3851
2012-04-03  Alexis Menard  <alexis.menard@openbossa.org>
 
3852
 
 
3853
        [Part 2] We should use CSSPropertyID rather than integers when manipulating CSS property ids.
 
3854
        https://bugs.webkit.org/show_bug.cgi?id=82977
 
3855
 
 
3856
        Reviewed by Andreas Kling.
 
3857
 
 
3858
        Update the code to use CSSPropertyID rather than an integer.
 
3859
 
 
3860
        * Api/qwebelement.cpp:
 
3861
        (QWebElement::setStyleProperty):
 
3862
 
 
3863
2012-04-02  Alexis Menard  <alexis.menard@openbossa.org>
 
3864
 
 
3865
        We should use CSSPropertyID rather than integers when manipulating CSS property ids.
 
3866
        https://bugs.webkit.org/show_bug.cgi?id=82941
 
3867
 
 
3868
        Reviewed by Andreas Kling.
 
3869
 
 
3870
        CSSPropertyID enum holds all the CSS property ids but many parts of WebKit treat the ids
 
3871
        as integers. While it's not incorrect it is nicer to use the enum as a parameter of
 
3872
        functions manipulating property ids, as we ensure that the value passed will be an
 
3873
        existing value. It will also feel more correct after this patch that CSSProperty::id()
 
3874
        return a value of the enum rather than an integer. As this modification is quite big this
 
3875
        is the first part only so it will be easier to review.
 
3876
 
 
3877
        * Api/qwebelement.cpp:
 
3878
        (QWebElement::styleProperty): Adapt to the API change and also remove an unecessary name->id
 
3879
        conversion.
 
3880
 
 
3881
2012-04-02  Casper van Donderen  <casper.vandonderen@nokia.com>
 
3882
 
 
3883
        Qt: Doc: Fix typo which marks document to be printed in console font.
 
3884
        https://bugs.webkit.org/show_bug.cgi?id=82893
 
3885
 
 
3886
        Reviewed by Simon Hausmann.
 
3887
 
 
3888
        The qtwebkit-bridge.qdoc file contained a typo where a \c {} was
 
3889
        missing its closing curly bracket, this marked the rest of the page as
 
3890
        text to be printed using the code/console font.
 
3891
        * docs/qtwebkit-bridge.qdoc:
 
3892
 
 
3893
2012-04-02  Sheriff Bot  <webkit.review.bot@gmail.com>
 
3894
 
 
3895
        Unreviewed, rolling out r112651.
 
3896
        http://trac.webkit.org/changeset/112651
 
3897
        https://bugs.webkit.org/show_bug.cgi?id=82887
 
3898
 
 
3899
        It doesn't work with older Qt5 (Requested by Ossy on #webkit).
 
3900
 
 
3901
        * declarative/experimental/plugin.cpp:
 
3902
        * declarative/plugin.cpp:
 
3903
        (WebKitQmlPlugin::initializeEngine):
 
3904
 
 
3905
2012-04-01  Jon Lee  <jonlee@apple.com>
 
3906
 
 
3907
        Rename notification properties and functions
 
3908
        https://bugs.webkit.org/show_bug.cgi?id=80482
 
3909
        <rdar://problem/10912432>
 
3910
 
 
3911
        Reviewed by Kentaro Hara.
 
3912
 
 
3913
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
3914
        (WebCore::NotificationPresenterClientQt::show): Refactor to call tag().
 
3915
        (WebCore::NotificationPresenterClientQt::removeReplacedNotificationFromQueue): Refactor to call tag().
 
3916
 
 
3917
2012-03-30  Emil A Eklund  <eae@chromium.org>
 
3918
 
 
3919
        Change WebKit/WebKit2 platform code to use pixel snapped values
 
3920
        https://bugs.webkit.org/show_bug.cgi?id=82549
 
3921
 
 
3922
        Reviewed by Eric Seidel.
 
3923
 
 
3924
        * Api/qwebelement.cpp:
 
3925
        (QWebElement::geometry):
 
3926
        Replace getRect with getPixelSnappedRect to avoid having to expose
 
3927
        subpixel types to the platform layer.
 
3928
        
 
3929
        * Api/qwebpage.cpp:
 
3930
        (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
 
3931
        Use pixel snapped element rect when comparing with the touch rect as the
 
3932
        touch rect use screen cordinates which are represented with pixel
 
3933
        accuracy.
 
3934
        
 
3935
        * WebCoreSupport/ChromeClientQt.h:
 
3936
        (WebCore::ChromeClientQt::scrollRectIntoView):
 
3937
        Change scrollRectIntoView to take a LayoutRect to match base class
 
3938
        interface.
 
3939
 
 
3940
2012-03-30  Mark Pilgrim  <pilgrim@chromium.org>
 
3941
 
 
3942
        GEOLOCATION should be implemented as Page Supplement
 
3943
        https://bugs.webkit.org/show_bug.cgi?id=82228
 
3944
 
 
3945
        Reviewed by Adam Barth.
 
3946
 
 
3947
        Geolocation is now a Supplement in Page so the interface
 
3948
        has changed for setting up the page's geolocation client
 
3949
        initially and accessing the controller later.
 
3950
 
 
3951
        * Api/qwebpage.cpp:
 
3952
        (QWebPagePrivate::QWebPagePrivate):
 
3953
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3954
        (DumpRenderTreeSupportQt::resetGeolocationMock):
 
3955
        (DumpRenderTreeSupportQt::setMockGeolocationPermission):
 
3956
        (DumpRenderTreeSupportQt::setMockGeolocationPosition):
 
3957
        (DumpRenderTreeSupportQt::setMockGeolocationError):
 
3958
        (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
 
3959
        * WebCoreSupport/GeolocationClientQt.cpp:
 
3960
        (WebCore::GeolocationClientQt::positionUpdated):
 
3961
        (WebCore::GeolocationClientQt::startUpdating):
 
3962
 
 
3963
2012-03-29  Ádám Kallai  <kadam@inf.u-szeged.hu>
 
3964
 
 
3965
        [Qt] Build fix by renameing QtDeclarative to QtQml in header calls.
 
3966
        https://bugs.webkit.org/show_bug.cgi?id=82195
 
3967
 
 
3968
        Reviewed by Simon Hausmann.
 
3969
 
 
3970
        * declarative/experimental/plugin.cpp:
 
3971
        * declarative/plugin.cpp:
 
3972
        (WebKitQmlPlugin::initializeEngine):
 
3973
 
 
3974
2012-03-29  Sheriff Bot  <webkit.review.bot@gmail.com>
 
3975
 
 
3976
        Unreviewed, rolling out r112553.
 
3977
        http://trac.webkit.org/changeset/112553
 
3978
        https://bugs.webkit.org/show_bug.cgi?id=82638
 
3979
 
 
3980
        It made all tests crash on Qt WK2 (Requested by Ossy_away on
 
3981
        #webkit).
 
3982
 
 
3983
        * Api/qwebpage.cpp:
 
3984
        (QWebPagePrivate::QWebPagePrivate):
 
3985
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
3986
        (DumpRenderTreeSupportQt::resetGeolocationMock):
 
3987
        (DumpRenderTreeSupportQt::setMockGeolocationPermission):
 
3988
        (DumpRenderTreeSupportQt::setMockGeolocationPosition):
 
3989
        (DumpRenderTreeSupportQt::setMockGeolocationError):
 
3990
        (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
 
3991
        * WebCoreSupport/GeolocationClientQt.cpp:
 
3992
        (WebCore::GeolocationClientQt::positionUpdated):
 
3993
        (WebCore::GeolocationClientQt::startUpdating):
 
3994
 
 
3995
2012-03-29  Mark Pilgrim  <pilgrim@chromium.org>
 
3996
 
 
3997
        GEOLOCATION should be implemented as Page Supplement
 
3998
        https://bugs.webkit.org/show_bug.cgi?id=82228
 
3999
 
 
4000
        Reviewed by Adam Barth.
 
4001
 
 
4002
        Geolocation is now a Supplement in Page so the interface
 
4003
        has changed for setting up the page's geolocation client
 
4004
        initially and accessing the controller later.
 
4005
 
 
4006
        * Api/qwebpage.cpp:
 
4007
        (QWebPagePrivate::QWebPagePrivate):
 
4008
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4009
        (DumpRenderTreeSupportQt::resetGeolocationMock):
 
4010
        (DumpRenderTreeSupportQt::setMockGeolocationPermission):
 
4011
        (DumpRenderTreeSupportQt::setMockGeolocationPosition):
 
4012
        (DumpRenderTreeSupportQt::setMockGeolocationError):
 
4013
        (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
 
4014
        * WebCoreSupport/GeolocationClientQt.cpp:
 
4015
        (WebCore::GeolocationClientQt::positionUpdated):
 
4016
        (WebCore::GeolocationClientQt::startUpdating):
 
4017
 
 
4018
2012-03-28  Nate Chapin  <japhet@chromium.org>
 
4019
 
 
4020
        Remove dispatchDidLoadMainResource callback, since no
 
4021
        port implements it.
 
4022
        https://bugs.webkit.org/show_bug.cgi?id=82539
 
4023
 
 
4024
        Reviewed by Alexey Proskuryakov.
 
4025
 
 
4026
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
4027
        (WebCore):
 
4028
        * WebCoreSupport/FrameLoaderClientQt.h:
 
4029
        (FrameLoaderClientQt):
 
4030
 
 
4031
2012-03-20  Eric Seidel  <eric@webkit.org>
 
4032
 
 
4033
        Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf
 
4034
        https://bugs.webkit.org/show_bug.cgi?id=80911
 
4035
 
 
4036
        Reviewed by Adam Barth.
 
4037
 
 
4038
        Fix WTF header include paths since although
 
4039
        Source/WTF is included, no longer are all the
 
4040
        subdirectories (thus "RefPtr.h" can't work).
 
4041
 
 
4042
        * Api/qwebdatabase_p.h:
 
4043
        * Api/qwebscriptworld_p.h:
 
4044
        * Api/qwebsecurityorigin_p.h:
 
4045
        * WebCoreSupport/InspectorClientQt.h:
 
4046
        * WebCoreSupport/QtFallbackWebPopup.h:
 
4047
        * WebCoreSupport/QtWebComboBox.h:
 
4048
        * declarative/experimental/experimental.pri:
 
4049
        * declarative/public.pri:
 
4050
        * tests/MIMESniffing/MIMESniffing.pro:
 
4051
 
 
4052
2012-03-19  Adam Barth  <abarth@webkit.org>
 
4053
 
 
4054
        Remove support for "magic" iframe
 
4055
        https://bugs.webkit.org/show_bug.cgi?id=81590
 
4056
 
 
4057
        Reviewed by Eric Seidel.
 
4058
 
 
4059
        Remove FrameLoaderClient methods that no longer exist.
 
4060
 
 
4061
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
4062
        (WebCore):
 
4063
        * WebCoreSupport/FrameLoaderClientQt.h:
 
4064
        (FrameLoaderClientQt):
 
4065
 
 
4066
2012-03-19  Emil A Eklund  <eae@chromium.org>
 
4067
 
 
4068
        [mac/qt/chromium] Change platform code to use pixelSnappedRect methods
 
4069
        https://bugs.webkit.org/show_bug.cgi?id=81016
 
4070
 
 
4071
        Reviewed by Eric Seidel.
 
4072
 
 
4073
        * Api/qwebelement.cpp:
 
4074
        (QWebElement::geometry):
 
4075
        (QWebElement::render):
 
4076
 
 
4077
2012-03-16  Teemu Katajisto  <teemu.katajisto@digia.com>
 
4078
 
 
4079
        [Qt] QtWebKit documentation missing a few since 4.6 information
 
4080
        https://bugs.webkit.org/show_bug.cgi?id=81328
 
4081
 
 
4082
        Reviewed by Simon Hausmann.
 
4083
 
 
4084
        * Api/qwebpage.cpp:
 
4085
        * Api/qwebsettings.cpp:
 
4086
 
 
4087
2012-03-15  Yuta Kitamura  <yutak@chromium.org>
 
4088
 
 
4089
        [Qt] Change default WebSocket protocol to the latest one
 
4090
        https://bugs.webkit.org/show_bug.cgi?id=73630
 
4091
 
 
4092
        Reviewed by Simon Hausmann.
 
4093
 
 
4094
        * Api/qwebpage.cpp:
 
4095
        (QWebPagePrivate::QWebPagePrivate):
 
4096
        Use RFC6455 WebSocket protocol by default.
 
4097
 
 
4098
2012-03-07  Jon Lee  <jonlee@apple.com>
 
4099
 
 
4100
        Move NotificationContents into Notification
 
4101
        https://bugs.webkit.org/show_bug.cgi?id=80487
 
4102
        <rdar://problem/10965519>
 
4103
 
 
4104
        Reviewed by Jian Li.
 
4105
 
 
4106
        Refactor to use accessor methods on Notification.
 
4107
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
4108
        (WebCore::NotificationWrapper::title):
 
4109
        (WebCore::NotificationWrapper::message):
 
4110
        (WebCore::NotificationPresenterClientQt::displayNotification):
 
4111
        (WebCore::NotificationPresenterClientQt::cancel):
 
4112
        (WebCore::NotificationPresenterClientQt::notificationClicked):
 
4113
        (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
 
4114
        (WebCore::NotificationPresenterClientQt::dumpShowText):
 
4115
 
 
4116
2012-03-13  Jon Lee  <jonlee@apple.com>
 
4117
 
 
4118
        Separate NOTIFICATIONS and LEGACY_NOTIFICATIONS
 
4119
        https://bugs.webkit.org/show_bug.cgi?id=80922
 
4120
        <rdar://problem/11035082>
 
4121
 
 
4122
        Reviewed by Jian Li.
 
4123
 
 
4124
        You can include either NOTIFICATIONS or LEGACY_NOTIFICATIONS and have a complete API.
 
4125
        LEGACY_NOTIFICATIONS should cover all of the previous functionality, and NOTIFICATIONS will cover the
 
4126
        new API. Therefore, APIs that are common between the two will have:
 
4127
        #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
 
4128
 
 
4129
        This patch initially sets both to be exactly the same. As other bugs with patches begin to migrate to
 
4130
        the new API, the defines will begin to split. This allows ports to decide which set of APIs to include.
 
4131
 
 
4132
        Update everything to be #if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
 
4133
        * Api/qwebpage.cpp:
 
4134
        (QWebPagePrivate::QWebPagePrivate):
 
4135
        (QWebPagePrivate::~QWebPagePrivate):
 
4136
        (QWebPage::setFeaturePermission):
 
4137
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4138
        (DumpRenderTreeSupportQt::dumpNotification):
 
4139
        (DumpRenderTreeSupportQt::simulateDesktopNotificationClick):
 
4140
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
4141
        (WebCore):
 
4142
        (WebCore::NotificationWrapper::NotificationWrapper):
 
4143
        (WebCore::NotificationWrapper::close):
 
4144
        (WebCore::NotificationWrapper::title):
 
4145
        (WebCore::NotificationWrapper::message):
 
4146
        (WebCore::NotificationWrapper::iconData):
 
4147
        (WebCore::NotificationWrapper::openerPageUrl):
 
4148
        (WebCore::NotificationWrapper::notificationClicked):
 
4149
        (WebCore::NotificationWrapper::notificationClosed):
 
4150
        * WebCoreSupport/NotificationPresenterClientQt.h:
 
4151
        (WebCore):
 
4152
 
 
4153
2012-03-14  Csaba Osztrogonác  <ossy@webkit.org>
 
4154
 
 
4155
        Last buildfix for Qt after r110595. :)
 
4156
 
 
4157
        Reviewed by Benjamin Poulain.
 
4158
 
 
4159
        * Api/qwebpage.cpp:
 
4160
        * WebCoreSupport/GeolocationClientQt.h:
 
4161
 
 
4162
2012-03-13  Benjamin Poulain  <bpoulain@apple.com>
 
4163
 
 
4164
        Attempt to fix QtMinimal bot after r110595
 
4165
 
 
4166
        * Api/qwebpage.cpp:
 
4167
        (QWebPagePrivate::QWebPagePrivate):
 
4168
 
 
4169
2012-03-13  Benjamin Poulain  <bpoulain@apple.com>
 
4170
 
 
4171
        Another attempt at fixing QtMinimal bot after r110595
 
4172
 
 
4173
        Blind fix, unreviewed.
 
4174
 
 
4175
        * WebCoreSupport/GeolocationClientQt.h:
 
4176
 
 
4177
2012-03-13  Benjamin Poulain  <bpoulain@apple.com>
 
4178
 
 
4179
        Attempt to fix QtMinimal bot after r110595
 
4180
 
 
4181
        Blind fix, unreviewed.
 
4182
 
 
4183
        * Api/qwebpage.cpp:
 
4184
        (QWebPagePrivate::QWebPagePrivate):
 
4185
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4186
        (DumpRenderTreeSupportQt::resetGeolocationMock):
 
4187
        (DumpRenderTreeSupportQt::setMockGeolocationPermission):
 
4188
        (DumpRenderTreeSupportQt::setMockGeolocationPosition):
 
4189
        (DumpRenderTreeSupportQt::setMockGeolocationError):
 
4190
        (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
 
4191
        * WebCoreSupport/GeolocationPermissionClientQt.h:
 
4192
 
 
4193
2012-03-13  Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>
 
4194
 
 
4195
        Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
 
4196
        https://bugs.webkit.org/show_bug.cgi?id=78853
 
4197
 
 
4198
        Reviewed by Adam Barth.
 
4199
 
 
4200
        * Api/qwebpage.cpp:
 
4201
        (QWebPagePrivate::QWebPagePrivate):
 
4202
        * WebCoreSupport/ChromeClientQt.h:
 
4203
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4204
        (toGeolocationClientMock):
 
4205
        (DumpRenderTreeSupportQt::resetGeolocationMock):
 
4206
        (DumpRenderTreeSupportQt::setMockGeolocationPermission):
 
4207
        (DumpRenderTreeSupportQt::setMockGeolocationPosition):
 
4208
        (DumpRenderTreeSupportQt::setMockGeolocationError):
 
4209
        (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
 
4210
        * WebCoreSupport/GeolocationClientQt.h:
 
4211
        (WebCore):
 
4212
 
 
4213
2012-03-12  Antonio Gomes  <agomes@rim.com>
 
4214
 
 
4215
        Convert nodesFromRect tests to use Internals interface
 
4216
        https://bugs.webkit.org/show_bug.cgi?id=80886
 
4217
 
 
4218
        Reviewed by Ryosuke Niwa.
 
4219
 
 
4220
        Removed DRTSupportQt::nodesFromRect support, since
 
4221
        it can work in the cross-port way through the
 
4222
        Internals interface.
 
4223
 
 
4224
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4225
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
4226
 
 
4227
2012-03-09  Jon Lee  <jonlee@apple.com>
 
4228
 
 
4229
        Rename NotificationPresenter to NotificationClient
 
4230
        https://bugs.webkit.org/show_bug.cgi?id=80488
 
4231
        <rdar://problem/10965558>
 
4232
 
 
4233
        Reviewed by Kentaro Hara.
 
4234
 
 
4235
        Refactor to use renamed WebCore::NotificationClient.
 
4236
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
4237
        (WebCore::NotificationPresenterClientQt::checkPermission):
 
4238
        (WebCore::NotificationPresenterClientQt::allowNotificationForFrame):
 
4239
        * WebCoreSupport/NotificationPresenterClientQt.h:
 
4240
        (NotificationPresenterClientQt):
 
4241
 
 
4242
2012-03-09  Emil A Eklund  <eae@chromium.org>
 
4243
 
 
4244
        Add roundedPoint to HitTestResult and change platform code to use it
 
4245
        https://bugs.webkit.org/show_bug.cgi?id=80715
 
4246
 
 
4247
        Reviewed by James Robinson.
 
4248
 
 
4249
        Change ports to use roundedPoint to avoid exposing subpixel types to
 
4250
        platform code.
 
4251
 
 
4252
        * Api/qwebframe.cpp:
 
4253
        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
 
4254
 
 
4255
2012-03-09  Jon Lee  <jonlee@apple.com>
 
4256
 
 
4257
        Add support for ENABLE(LEGACY_NOTIFICATIONS)
 
4258
        https://bugs.webkit.org/show_bug.cgi?id=80497
 
4259
 
 
4260
        Reviewed by Adam Barth.
 
4261
 
 
4262
        Prep for b80472: Update API for Web Notifications
 
4263
        * examples/platformplugin/platformplugin.pro:
 
4264
 
 
4265
2012-03-09  Csaba Osztrogonác  <ossy@webkit.org>
 
4266
 
 
4267
        [Qt] Fix compilation without QtQuick1
 
4268
        https://bugs.webkit.org/show_bug.cgi?id=80503
 
4269
 
 
4270
        Qt 4.8 API test fix after r110050.
 
4271
 
 
4272
        Reviewed by Zoltan Herczeg.
 
4273
 
 
4274
        * declarative/public.pri: Add load(features) to ensure HAVE_QQUICK1=1 is set.
 
4275
 
 
4276
2012-03-08  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
4277
 
 
4278
        [Qt] Use Qt's module system for install rules and depending on QtWebKit
 
4279
 
 
4280
        Instead of rolling our own install rules we now use the same approach as
 
4281
        every other Qt module, by loading qt_module.prf and qt_module_config.prf.
 
4282
 
 
4283
        This ensures that we follow the same semantics as the rest of Qt on
 
4284
        what sort of config options are enabled by default (create_cmake eg.).
 
4285
        It also allows us to use QT += webkit instead of the workaround we had
 
4286
        with CONFIG += qtwebkit.
 
4287
 
 
4288
        We do however force Qt to always treat our build as a non-developer build,
 
4289
        so the libraries will end up in the WebKit lib directory instead of the
 
4290
        qtbase directory (as with a normal developer-build). This allows us to
 
4291
        keep the webkit-build self-contained. If Qt is a developer build we still
 
4292
        copy the module file manually to Qt, so that you don't have to install
 
4293
        WebKit to make it available.
 
4294
 
 
4295
        For non-developer builds of Qt, it is still possible to use the built
 
4296
        WebKit libraries without having to install them, by having the variable
 
4297
        QMAKE_EXTRA_MODULE_FORWARDS set in the project's .qmake.cache file,
 
4298
        pointing to $WEBKITOUTUTDIR/$CONFIGURATION/modules.
 
4299
 
 
4300
        https://bugs.webkit.org/show_bug.cgi?id=80590
 
4301
 
 
4302
        Reviewed by Simon Hausmann.
 
4303
 
 
4304
        * declarative/experimental/experimental.pri:
 
4305
        * declarative/experimental/plugin.cpp:
 
4306
        * declarative/plugin.cpp:
 
4307
        * declarative/public.pri:
 
4308
        * tests/tests.pri:
 
4309
 
 
4310
2012-03-08  Antti Koivisto  <antti@apple.com>
 
4311
 
 
4312
        https://bugs.webkit.org/show_bug.cgi?id=80370
 
4313
        Enable matched declaration caching for elements with a style attribute
 
4314
 
 
4315
        Reviewed by Andreas Kling
 
4316
 
 
4317
        * Api/qwebelement.cpp:
 
4318
        (QWebElement::styleProperty):
 
4319
        (QWebElement::setStyleProperty):
 
4320
 
 
4321
2012-03-07  Simon Hausmann  <simon.hausmann@nokia.com>
 
4322
 
 
4323
        [Qt] Fix compilation without QtQuick1
 
4324
        https://bugs.webkit.org/show_bug.cgi?id=80503
 
4325
 
 
4326
        Reviewed by Tor Arne Vestbø.
 
4327
 
 
4328
        Compile and enable the QtQuick1/QML1 plugin and webview
 
4329
        only if we're using Qt 4 at the moment. QQuick1 clashes
 
4330
        with QQuick2 right now because both declare QDeclarativeEngine
 
4331
        and friends as classes.
 
4332
 
 
4333
        * declarative/plugin.cpp:
 
4334
        (WebKitQmlPlugin::registerTypes):
 
4335
        * declarative/public.pri:
 
4336
        * tests/tests.pri:
 
4337
 
 
4338
2012-03-07  Kangil Han  <kangil.han@samsung.com>
 
4339
 
 
4340
        [DRT] Remove PlainTextController implementations.
 
4341
        https://bugs.webkit.org/show_bug.cgi?id=79959
 
4342
 
 
4343
        Reviewed by Hajime Morita.
 
4344
 
 
4345
        PlainTextController usages in existing tests have been
 
4346
        replaced by internals API by bug 78570.
 
4347
        So this patch will remove PlainTextController implementations
 
4348
        to avoid further usage in new tests.
 
4349
 
 
4350
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4351
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
4352
 
 
4353
2012-03-06  Philippe Normand  <pnormand@igalia.com>
 
4354
 
 
4355
        [GStreamer] disable GStreamerGWorld when building against 0.11
 
4356
        https://bugs.webkit.org/show_bug.cgi?id=77088
 
4357
 
 
4358
        Reviewed by Martin Robinson.
 
4359
 
 
4360
        * WebCoreSupport/ChromeClientQt.cpp:
 
4361
        (WebCore::ChromeClientQt::ChromeClientQt):
 
4362
        (WebCore::ChromeClientQt::~ChromeClientQt):
 
4363
        (WebCore):
 
4364
        * WebCoreSupport/FullScreenVideoQt.cpp:
 
4365
        (WebCore):
 
4366
        (WebCore::FullScreenVideoQt::FullScreenVideoQt):
 
4367
        (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
 
4368
        (WebCore::FullScreenVideoQt::enterFullScreenForNode):
 
4369
        (WebCore::FullScreenVideoQt::exitFullScreenForNode):
 
4370
        (WebCore::FullScreenVideoQt::isValid):
 
4371
        * WebCoreSupport/FullScreenVideoQt.h:
 
4372
        (WebCore):
 
4373
 
 
4374
2012-03-03  Simon Hausmann  <simon.hausmann@nokia.com>
 
4375
 
 
4376
        [Qt] Fix static_libs_as_shared build
 
4377
        https://bugs.webkit.org/show_bug.cgi?id=80214
 
4378
 
 
4379
        Reviewed by Tor Arne Vestbø.
 
4380
 
 
4381
        Add helper function to be called by WebProcess main
 
4382
        to potentially initialize the QStyle theme.
 
4383
 
 
4384
        * WebCoreSupport/InitWebCoreQt.cpp:
 
4385
        (WebKit):
 
4386
        (WebKit::initializeWebKit2Theme):
 
4387
 
 
4388
2012-03-02  Casper van Donderen  <casper.vandonderen@nokia.com>
 
4389
 
 
4390
        [Qt] Documentation cleanup
 
4391
        https://bugs.webkit.org/show_bug.cgi?id=80131
 
4392
 
 
4393
        Reviewed by Simon Hausmann.
 
4394
 
 
4395
        QDoc uses different commands to do bold, lists, and italics.
 
4396
        This change updates the documentation accordingly.
 
4397
        QTBUG-24578
 
4398
 
 
4399
        * Api/qwebframe.cpp:
 
4400
        * Api/qwebhistory.cpp:
 
4401
        * Api/qwebinspector.cpp:
 
4402
        * Api/qwebpage.cpp:
 
4403
        * Api/qwebpluginfactory.cpp:
 
4404
        * Api/qwebsettings.cpp:
 
4405
        * declarative/qdeclarativewebview.cpp:
 
4406
        * docs/qtwebkit-bridge.qdoc:
 
4407
        * docs/qtwebkit.qdoc:
 
4408
        * docs/qtwebkit.qdocconf:
 
4409
 
 
4410
2012-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
 
4411
 
 
4412
        [Qt] Build system cleanup
 
4413
 
 
4414
        Rubber-stamped by Antti Koivisto.
 
4415
 
 
4416
        * tests/MIMESniffing/MIMESniffing.pro: Don't link in WTFAssertions.cpp for ASSERT, now
 
4417
        that the symbols are properly exported with export macros from the DLL.
 
4418
 
 
4419
2012-03-02  Simon Hausmann  <simon.hausmann@nokia.com>
 
4420
 
 
4421
        [Qt] Move QStyle theming code out of WebCore into WebKit1
 
4422
        https://bugs.webkit.org/show_bug.cgi?id=80128
 
4423
 
 
4424
        Reviewed by Kenneth Rohde Christiansen.
 
4425
 
 
4426
        Moved the bulk of the QStyle dependant code here, where it's okay to depend on QtWidgets/QStyle.
 
4427
        Install the QStyle factory functions in initWebCoreQt.cpp.
 
4428
 
 
4429
        * Api/qwebpage.cpp:
 
4430
        (QWebPage::swallowContextMenuEvent):
 
4431
        * WebCoreSupport/InitWebCoreQt.cpp:
 
4432
        (WebCore::initializeWebCoreQt):
 
4433
        * WebCoreSupport/RenderThemeQStyle.cpp: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.cpp.
 
4434
        (WebCore):
 
4435
        (WebCore::initStyleOption):
 
4436
        (WebCore::RenderThemeQStyle::getStylePainter):
 
4437
        (WebCore::StylePainterQStyle::StylePainterQStyle):
 
4438
        (WebCore::StylePainterQStyle::init):
 
4439
        (WebCore::RenderThemeQStyle::create):
 
4440
        (WebCore::RenderThemeQStyle::RenderThemeQStyle):
 
4441
        (WebCore::RenderThemeQStyle::~RenderThemeQStyle):
 
4442
        (WebCore::RenderThemeQStyle::fallbackStyle):
 
4443
        (WebCore::RenderThemeQStyle::qStyle):
 
4444
        (WebCore::RenderThemeQStyle::findFrameLineWidth):
 
4445
        (WebCore::RenderThemeQStyle::inflateButtonRect):
 
4446
        (WebCore::RenderThemeQStyle::computeSizeBasedOnStyle):
 
4447
        (WebCore::RenderThemeQStyle::adjustButtonStyle):
 
4448
        (WebCore::RenderThemeQStyle::setButtonPadding):
 
4449
        (WebCore::RenderThemeQStyle::paintButton):
 
4450
        (WebCore::RenderThemeQStyle::paintTextField):
 
4451
        (WebCore::RenderThemeQStyle::adjustTextAreaStyle):
 
4452
        (WebCore::RenderThemeQStyle::paintTextArea):
 
4453
        (WebCore::RenderThemeQStyle::setPopupPadding):
 
4454
        (WebCore::RenderThemeQStyle::paintMenuList):
 
4455
        (WebCore::RenderThemeQStyle::adjustMenuListButtonStyle):
 
4456
        (WebCore::RenderThemeQStyle::paintMenuListButton):
 
4457
        (WebCore::RenderThemeQStyle::animationDurationForProgressBar):
 
4458
        (WebCore::RenderThemeQStyle::paintProgressBar):
 
4459
        (WebCore::RenderThemeQStyle::paintSliderTrack):
 
4460
        (WebCore::RenderThemeQStyle::adjustSliderTrackStyle):
 
4461
        (WebCore::RenderThemeQStyle::paintSliderThumb):
 
4462
        (WebCore::RenderThemeQStyle::adjustSliderThumbStyle):
 
4463
        (WebCore::RenderThemeQStyle::paintSearchField):
 
4464
        (WebCore::RenderThemeQStyle::adjustSearchFieldDecorationStyle):
 
4465
        (WebCore::RenderThemeQStyle::paintSearchFieldDecoration):
 
4466
        (WebCore::RenderThemeQStyle::adjustSearchFieldResultsDecorationStyle):
 
4467
        (WebCore::RenderThemeQStyle::paintSearchFieldResultsDecoration):
 
4468
        (WebCore::RenderThemeQStyle::paintInnerSpinButton):
 
4469
        (WebCore::RenderThemeQStyle::initializeCommonQStyleOptions):
 
4470
        (WebCore::RenderThemeQStyle::adjustSliderThumbSize):
 
4471
        * WebCoreSupport/RenderThemeQStyle.h: Renamed from Source/WebCore/platform/qt/RenderThemeQStyle.h.
 
4472
        (WebCore):
 
4473
        (RenderThemeQStyle):
 
4474
        (StylePainterQStyle):
 
4475
        (WebCore::StylePainterQStyle::isValid):
 
4476
        (WebCore::StylePainterQStyle::drawPrimitive):
 
4477
        (WebCore::StylePainterQStyle::drawControl):
 
4478
        (WebCore::StylePainterQStyle::drawComplexControl):
 
4479
        * WebCoreSupport/ScrollbarThemeQStyle.cpp: Copied from Source/WebCore/platform/qt/ScrollbarThemeQt.cpp.
 
4480
        (WebCore):
 
4481
        (WebCore::ScrollbarThemeQStyle::~ScrollbarThemeQStyle):
 
4482
        (WebCore::scPart):
 
4483
        (WebCore::scrollbarPart):
 
4484
        (WebCore::styleOptionSlider):
 
4485
        (WebCore::ScrollbarThemeQStyle::paint):
 
4486
        (WebCore::ScrollbarThemeQStyle::hitTest):
 
4487
        (WebCore::ScrollbarThemeQStyle::shouldCenterOnThumb):
 
4488
        (WebCore::ScrollbarThemeQStyle::invalidatePart):
 
4489
        (WebCore::ScrollbarThemeQStyle::scrollbarThickness):
 
4490
        (WebCore::ScrollbarThemeQStyle::thumbPosition):
 
4491
        (WebCore::ScrollbarThemeQStyle::thumbLength):
 
4492
        (WebCore::ScrollbarThemeQStyle::trackPosition):
 
4493
        (WebCore::ScrollbarThemeQStyle::trackLength):
 
4494
        (WebCore::ScrollbarThemeQStyle::paintScrollCorner):
 
4495
        (WebCore::ScrollbarThemeQStyle::style):
 
4496
        * WebCoreSupport/ScrollbarThemeQStyle.h: Renamed from Source/WebCore/platform/qt/ScrollbarThemeQt.h.
 
4497
        (WebCore):
 
4498
        (ScrollbarThemeQStyle):
 
4499
 
 
4500
2012-02-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
4501
 
 
4502
        [Qt] Move registration of experimental types to the proper plugin
 
4503
        https://bugs.webkit.org/show_bug.cgi?id=79706
 
4504
 
 
4505
        Reviewed by Tor Arne Vestbø.
 
4506
 
 
4507
        * declarative/experimental/plugin.cpp:
 
4508
        * declarative/plugin.cpp:
 
4509
        (WebKitQmlPlugin::registerTypes):
 
4510
 
 
4511
2012-02-28  Antti Koivisto  <antti@apple.com>
 
4512
 
 
4513
        Try to fix build.
 
4514
 
 
4515
        Not reviewed.
 
4516
 
 
4517
        * Api/qwebelement.cpp:
 
4518
        (QWebElement::styleProperty):
 
4519
 
 
4520
2012-02-26  Hajime Morrita  <morrita@chromium.org>
 
4521
 
 
4522
        Move ChromeClient::showContextMenu() to ContextMenuClient
 
4523
        https://bugs.webkit.org/show_bug.cgi?id=79427
 
4524
 
 
4525
        Reviewed by Adam Barth.
 
4526
 
 
4527
        * WebCoreSupport/ChromeClientQt.h:
 
4528
        (ChromeClientQt):
 
4529
 
 
4530
2012-02-24  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
 
4531
 
 
4532
        [Qt] API: Unify the loading properties and signals.
 
4533
        https://bugs.webkit.org/show_bug.cgi?id=79486
 
4534
 
 
4535
        Reviewed by Simon Hausmann.
 
4536
 
 
4537
        * declarative/plugin.cpp:
 
4538
        (WebKitQmlPlugin::registerTypes):
 
4539
 
 
4540
2012-02-24  Holger Hans Peter Freyther  <holger@moiji-mobile.com>
 
4541
 
 
4542
        [Qt] Build fix. macro "QSKIP" now only takes 1 argument on Qt5
 
4543
        https://bugs.webkit.org/show_bug.cgi?id=79328
 
4544
 
 
4545
        Reviewed by Csaba Osztrogonác.
 
4546
 
 
4547
        Introduce an alternative QSKIP that can work with both Qt4
 
4548
        and Qt5 without adding #ifdef to each usage site.
 
4549
 
 
4550
        * tests/benchmarks/loading/tst_loading.cpp:
 
4551
        (tst_Loading::load):
 
4552
        * tests/benchmarks/painting/tst_painting.cpp:
 
4553
        (tst_Painting::paint):
 
4554
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
4555
        (tst_QDeclarativeWebView::elementAreaAt):
 
4556
        * tests/qwebframe/tst_qwebframe.cpp:
 
4557
        (tst_QWebFrame::setHtmlWithBaseURL):
 
4558
        * tests/qwebpage/tst_qwebpage.cpp:
 
4559
        (tst_QWebPage::geolocationRequestJS):
 
4560
        (tst_QWebPage::loadHtml5Video):
 
4561
        (tst_QWebPage::screenshot):
 
4562
        * tests/qwebview/tst_qwebview.cpp:
 
4563
        (tst_QWebView::reusePage):
 
4564
 
 
4565
2012-02-24  Shinya Kawanaka  <shinyak@chromium.org>
 
4566
 
 
4567
        SpellCheckRequest needs to know the context where the spellcheck happened.
 
4568
        https://bugs.webkit.org/show_bug.cgi?id=79320
 
4569
 
 
4570
        Reviewed by Hajime Morita.
 
4571
 
 
4572
        * WebCoreSupport/TextCheckerClientQt.h:
 
4573
        (WebCore::TextCheckerClientQt::requestCheckingOfString):
 
4574
 
 
4575
2012-02-23  Simon Hausmann  <simon.hausmann@nokia.com>
 
4576
 
 
4577
        [Qt] Add support for touch cancellation
 
4578
        https://bugs.webkit.org/show_bug.cgi?id=79348
 
4579
 
 
4580
        Reviewed by Kenneth Rohde Christiansen.
 
4581
 
 
4582
        Forward incoming touch cancellation events to the WebCore
 
4583
        event handler.
 
4584
 
 
4585
        * Api/qgraphicswebview.cpp:
 
4586
        (QGraphicsWebView::sceneEvent):
 
4587
        * Api/qwebpage.cpp:
 
4588
        (QWebPage::event):
 
4589
        * Api/qwebview.cpp:
 
4590
        (QWebView::event):
 
4591
 
 
4592
2012-02-22  Hajime Morrita  <morrita@chromium.org>
 
4593
 
 
4594
        NOTIFICATIONS should be implemented as PageSupplement
 
4595
        https://bugs.webkit.org/show_bug.cgi?id=79052
 
4596
 
 
4597
        Reviewed by Adam Barth.
 
4598
 
 
4599
        * Api/qwebpage.cpp:
 
4600
        (QWebPagePrivate::QWebPagePrivate):
 
4601
 
 
4602
2012-02-21  Ryosuke Niwa  <rniwa@webkit.org>
 
4603
 
 
4604
        Remove the remaining uses of CSSStyleDeclaration in Editor
 
4605
        https://bugs.webkit.org/show_bug.cgi?id=78939
 
4606
 
 
4607
        Reviewed by Enrica Casucci.
 
4608
 
 
4609
        * WebCoreSupport/EditorClientQt.cpp:
 
4610
        (WebCore::EditorClientQt::shouldApplyStyle):
 
4611
        * WebCoreSupport/EditorClientQt.h:
 
4612
        (EditorClientQt):
 
4613
 
 
4614
2012-02-22  Mihnea Ovidenie  <mihnea@adobe.com>
 
4615
 
 
4616
        [Qt] REGRESSION(r108108): It made 3 fast/repaint tests fail
 
4617
        https://bugs.webkit.org/show_bug.cgi?id=78960
 
4618
 
 
4619
        Reviewed by Csaba Osztrogonác.
 
4620
 
 
4621
        * Api/qwebsettings.cpp:
 
4622
        (QWebSettingsPrivate::apply):
 
4623
        (QWebSettings::QWebSettings):
 
4624
        * Api/qwebsettings.h:
 
4625
 
 
4626
2012-02-22  Simon Hausmann  <simon.hausmann@nokia.com>
 
4627
 
 
4628
        [Qt] Move QMenu dependant scrollbar context menu handling out of WebCore
 
4629
        https://bugs.webkit.org/show_bug.cgi?id=79233
 
4630
 
 
4631
        Reviewed by Kenneth Rohde Christiansen.
 
4632
 
 
4633
        Move scrollbar context menu handling here, it's the only place where it is
 
4634
        used.
 
4635
 
 
4636
        * Api/qwebpage.cpp:
 
4637
        (handleScrollbarContextMenuEvent):
 
4638
        (QWebPage::swallowContextMenuEvent):
 
4639
 
 
4640
2012-02-22  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
4641
 
 
4642
        Merge setVisibleRectTrajectoryVector and adjustVisibleRect to
 
4643
        the more descriptive coverWithTilesIfNeeded
 
4644
        https://bugs.webkit.org/show_bug.cgi?id=79230
 
4645
 
 
4646
        Reviewed by Simon Hausmann.
 
4647
 
 
4648
        * Api/qgraphicswebview.cpp:
 
4649
        (QGraphicsWebView::paint):
 
4650
 
 
4651
            Use coverWithTilesIfNeeded().
 
4652
 
 
4653
2012-02-22  Ryosuke Niwa  <rniwa@webkit.org>
 
4654
 
 
4655
        Remove the remaining uses of CSSStyleDeclaration in Editor
 
4656
        https://bugs.webkit.org/show_bug.cgi?id=78939
 
4657
 
 
4658
        Reviewed by Enrica Casucci.
 
4659
 
 
4660
        * WebCoreSupport/EditorClientQt.cpp:
 
4661
        (WebCore::EditorClientQt::shouldApplyStyle):
 
4662
        * WebCoreSupport/EditorClientQt.h:
 
4663
        (EditorClientQt):
 
4664
 
 
4665
2012-02-21  Csaba Osztrogonác  <ossy@webkit.org>
 
4666
 
 
4667
        [Qt] tst_QWebPage::infiniteLoopJS() timeouts with DFG JIT
 
4668
        https://bugs.webkit.org/show_bug.cgi?id=79040
 
4669
 
 
4670
        Reviewed by Simon Hausmann.
 
4671
 
 
4672
        * tests/qwebpage/tst_qwebpage.cpp:
 
4673
        (tst_QWebPage): Disable tst_QWebPage::infiniteLoopJS() until proper fix.
 
4674
 
 
4675
2012-02-21  Andras Becsi  <andras.becsi@nokia.com>
 
4676
 
 
4677
        [Qt] Print warning when importing experimental WK2 APIs in QML
 
4678
        https://bugs.webkit.org/show_bug.cgi?id=78817
 
4679
 
 
4680
        Reviewed by Simon Hausmann.
 
4681
 
 
4682
        * declarative/experimental/plugin.cpp:
 
4683
 
 
4684
2012-02-20  Benjamin Poulain  <benjamin@webkit.org>
 
4685
 
 
4686
        Get rid of the LocalizationStrategy
 
4687
        https://bugs.webkit.org/show_bug.cgi?id=78324
 
4688
 
 
4689
        Reviewed by Sam Weinig.
 
4690
 
 
4691
        Move the localization code from PlatformStrategiesQt.cpp
 
4692
        to LocalizedStringsQt.cpp.
 
4693
 
 
4694
        Get rid of LocalizationStrategy from PlatformStrategiesQt
 
4695
 
 
4696
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
4697
        * WebCoreSupport/PlatformStrategiesQt.h:
 
4698
        (PlatformStrategiesQt):
 
4699
 
 
4700
2012-02-16  Simon Hausmann  <simon.hausmann@nokia.com>
 
4701
 
 
4702
        Unreviewed brown-paper bag build fix.
 
4703
 
 
4704
        * WebCoreSupport/WebEventConversion.cpp:
 
4705
        (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
 
4706
 
 
4707
2012-02-16  Simon Hausmann  <simon.hausmann@nokia.com>
 
4708
 
 
4709
        [Qt] Move event conversion functions from WebCore to WebKit
 
4710
        https://bugs.webkit.org/show_bug.cgi?id=78788
 
4711
 
 
4712
        Reviewed by Kenneth Rohde Christiansen.
 
4713
 
 
4714
        Move QtWidgets dependent mouse event constructors out of WebCore
 
4715
        into WebKit, similar to the web event conversions of WebKit2.
 
4716
 
 
4717
        * Api/qwebpage.cpp:
 
4718
        (QWebPagePrivate::mouseMoveEvent):
 
4719
        (QWebPagePrivate::mousePressEvent):
 
4720
        (QWebPagePrivate::mouseDoubleClickEvent):
 
4721
        (QWebPagePrivate::mouseTripleClickEvent):
 
4722
        (QWebPagePrivate::mouseReleaseEvent):
 
4723
        (QWebPagePrivate::wheelEvent):
 
4724
        (QWebPage::swallowContextMenuEvent):
 
4725
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
4726
        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
 
4727
        * WebCoreSupport/WebEventConversion.cpp: Added.
 
4728
        (WebCore):
 
4729
        (WebCore::mouseEventModifiersFromQtKeyboardModifiers):
 
4730
        (WebCore::mouseEventTypeAndMouseButtonFromQEvent):
 
4731
        (WebKitPlatformMouseEvent):
 
4732
        (WebCore::WebKitPlatformMouseEvent::WebKitPlatformMouseEvent):
 
4733
        (WebCore::convertMouseEvent):
 
4734
        (WebKitPlatformWheelEvent):
 
4735
        (WebCore::WebKitPlatformWheelEvent::applyDelta):
 
4736
        (WebCore::WebKitPlatformWheelEvent::WebKitPlatformWheelEvent):
 
4737
        (WebCore::convertWheelEvent):
 
4738
        * WebCoreSupport/WebEventConversion.h: Added.
 
4739
        (WebCore):
 
4740
 
 
4741
2012-02-16  Adenilson Cavalcanti  <cavalcantii@gmail.com>
 
4742
 
 
4743
        [Qt][WK2] Split QWebPermissionRequest into QWebSecurityOrigin
 
4744
        https://bugs.webkit.org/show_bug.cgi?id=73215
 
4745
 
 
4746
        Reviewed by Kenneth Rohde Christiansen.
 
4747
 
 
4748
        Adding a class to access security information data
 
4749
        (e.g. port/scheme/etc),
 
4750
        while allowing it to be handled in QML side.
 
4751
 
 
4752
        * declarative/plugin.cpp:
 
4753
        (WebKitQmlPlugin::registerTypes):
 
4754
 
 
4755
2012-02-15  Sadrul Habib Chowdhury  <sadrul@chromium.org>
 
4756
 
 
4757
        Notify ChromeClient when touch-event handlers are installed/removed.
 
4758
        https://bugs.webkit.org/show_bug.cgi?id=77440
 
4759
 
 
4760
        Reviewed by Darin Fisher and Ryosuke Niwa.
 
4761
 
 
4762
        * WebCoreSupport/ChromeClientQt.h:
 
4763
        (WebCore::ChromeClientQt::numTouchEventHandlersChanged):
 
4764
 
 
4765
2012-02-15  Simon Hausmann  <simon.hausmann@nokia.com>
 
4766
 
 
4767
        Unreviewed Qt 4.x build fix.
 
4768
 
 
4769
        * WebCoreSupport/PageClientQt.cpp: Fix the QT_VERSION_CHECK pre-processor foo.
 
4770
 
 
4771
2012-02-15  Simon Hausmann  <simon.hausmann@nokia.com>
 
4772
 
 
4773
        [Qt] Replace use of QGLWidget/QGLContext with QOpenGLContext and QSurface for Qt 5
 
4774
        https://bugs.webkit.org/show_bug.cgi?id=78694
 
4775
 
 
4776
        Reviewed by Noam Rosenthal.
 
4777
 
 
4778
        * WebCoreSupport/PageClientQt.cpp:
 
4779
        (createPlatformGraphicsContext3DFromWidget): Return the QOpenGLContext and QSurface
 
4780
        from the QGLWidget when compiling with Qt 5, as that's what WebCore expects.
 
4781
 
 
4782
2012-02-15  Simon Hausmann  <simon.hausmann@nokia.com>
 
4783
 
 
4784
        [Qt] Move Qt platform specific GL Context/Surface creation out of WebCore into WebKit
 
4785
        https://bugs.webkit.org/show_bug.cgi?id=78692
 
4786
 
 
4787
        Reviewed by Noam Rosenthal.
 
4788
 
 
4789
        Implement GLWidget and GLContext creation from the page client interface.
 
4790
 
 
4791
        * WebCoreSupport/PageClientQt.cpp:
 
4792
        (createPlatformGraphicsContext3DFromWidget):
 
4793
        (WebCore):
 
4794
        (WebCore::PageClientQWidget::createPlatformGraphicsContext3D):
 
4795
        (WebCore::PageClientQGraphicsWidget::createPlatformGraphicsContext3D):
 
4796
        * WebCoreSupport/PageClientQt.h:
 
4797
        (PageClientQWidget):
 
4798
        (PageClientQGraphicsWidget):
 
4799
 
 
4800
2012-02-14  Simon Hausmann  <simon.hausmann@nokia.com>
 
4801
 
 
4802
        [Qt] Eliminate first set of QtWidgets dependencies from WebCore
 
4803
        https://bugs.webkit.org/show_bug.cgi?id=78611
 
4804
 
 
4805
        Reviewed by Kenneth Rohde Christiansen.
 
4806
 
 
4807
        * Api/qwebpage.cpp: Add missing includes.
 
4808
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Ditto.
 
4809
        * WebCoreSupport/FrameLoaderClientQt.cpp: Make it compile by casting
 
4810
        the QObject based PlatformWidget back to QWidget before doing QWidget
 
4811
        specific function calls.
 
4812
        * WebCoreSupport/InitWebCoreQt.cpp:
 
4813
        (WebCore::initializeWebCoreQt): Moved QStyle specific web-graphic initialization
 
4814
        here from WebCore.
 
4815
        * WebCoreSupport/PageClientQt.cpp:
 
4816
        (WebCore::PageClientQWidget::setWidgetVisible): Implement show/hiding of widgets
 
4817
        through delegation to QWidget.
 
4818
        (WebCore):
 
4819
        (WebCore::PageClientQGraphicsWidget::setWidgetVisible): Provide empty widget
 
4820
        show/hide implementation, as it doesn't seem to make sense for graphicsviews.
 
4821
        * WebCoreSupport/PageClientQt.h:
 
4822
        (PageClientQWidget):
 
4823
        (PageClientQGraphicsWidget):
 
4824
 
 
4825
2012-02-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
4826
 
 
4827
        [Qt] Be smarted with tile usages during tiling
 
4828
        https://bugs.webkit.org/show_bug.cgi?id=78243
 
4829
 
 
4830
        Reviewed by Simon Hausmann.
 
4831
 
 
4832
        Remove internal API used by Symbian.
 
4833
 
 
4834
        * Api/qwebpage.cpp:
 
4835
        (QWebPagePrivate::dynamicPropertyChangeEvent):
 
4836
 
 
4837
2012-02-15  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
4838
 
 
4839
        [Texmap] Divide TextureMapperNode.cpp to 3 files.
 
4840
        https://bugs.webkit.org/show_bug.cgi?id=76660
 
4841
 
 
4842
        Rename TextureMapperNode to TextureMapperLayer.
 
4843
 
 
4844
        Reviewed by Kenneth Rohde Christiansen.
 
4845
 
 
4846
        * Api/qwebframe.cpp:
 
4847
        (QWebFramePrivate::renderCompositedLayers):
 
4848
        * Api/qwebframe.h:
 
4849
        (WebCore):
 
4850
        * Api/qwebframe_p.h:
 
4851
        (WebCore):
 
4852
        (QWebFramePrivate::QWebFramePrivate):
 
4853
        (QWebFramePrivate):
 
4854
        * WebCoreSupport/PageClientQt.cpp:
 
4855
        (WebCore::TextureMapperLayerClientQt::TextureMapperLayerClientQt):
 
4856
        (WebCore::TextureMapperLayerClientQt::setTextureMapper):
 
4857
        (WebCore::TextureMapperLayerClientQt::~TextureMapperLayerClientQt):
 
4858
        (WebCore::TextureMapperLayerClientQt::syncRootLayer):
 
4859
        (WebCore::TextureMapperLayerClientQt::rootLayer):
 
4860
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
 
4861
        (WebCore::PageClientQWidget::syncLayers):
 
4862
        (WebCore::PageClientQGraphicsWidget::syncLayers):
 
4863
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
4864
        * WebCoreSupport/PageClientQt.h:
 
4865
        (TextureMapperLayerClientQt):
 
4866
        (PageClientQWidget):
 
4867
        (PageClientQGraphicsWidget):
 
4868
 
 
4869
2012-02-11  Nikolas Zimmermann  <nzimmermann@rim.com>
 
4870
 
 
4871
        Convert svg/animations to use SMIL methods for driving the timeline
 
4872
        https://bugs.webkit.org/show_bug.cgi?id=78422
 
4873
 
 
4874
        Reviewed by Dirk Schulze.
 
4875
 
 
4876
        Remove SVG animation sampling functionality provided for DRT, which no longer uses it.
 
4877
        Instead we switched the svg/animations tests to use SVGSVGElement.setCurrentTime.
 
4878
 
 
4879
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4880
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
4881
 
 
4882
2012-02-13  Enrica Casucci  <enrica@apple.com>
 
4883
 
 
4884
        Build fix. Unreviewed.
 
4885
 
 
4886
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
4887
        (PlatformStrategiesQt::createPasteboardStrategy):
 
4888
 
 
4889
2012-02-13  Enrica Casucci  <enrica@apple.com>
 
4890
 
 
4891
        Refactor Mac platform implementation of the Pasteboard class to use Platform Strategies.
 
4892
        https://bugs.webkit.org/show_bug.cgi?id=78282
 
4893
 
 
4894
        Build fix. Unreviewed.
 
4895
 
 
4896
        * WebCoreSupport/PlatformStrategiesQt.cpp:
 
4897
        (WebPlatformStrategies::createPasteboardStrategy):
 
4898
        * WebCoreSupport/PlatformStrategiesQt.h:
 
4899
        (PlatformStrategiesQt):
 
4900
 
 
4901
2012-02-12  Hajime Morrita  <morrita@chromium.org>
 
4902
 
 
4903
        Page should have less intrusive way to associate API implementation objects.
 
4904
        https://bugs.webkit.org/show_bug.cgi?id=78085
 
4905
 
 
4906
        Reviewed by Adam Barth.
 
4907
 
 
4908
        * Api/qwebpage.cpp:
 
4909
        (QWebPagePrivate::QWebPagePrivate):
 
4910
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
4911
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
4912
 
 
4913
2012-02-09  Simon Hausmann  <simon.hausmann@nokia.com>
 
4914
 
 
4915
        [Qt] Fix compilation with newer Qt5
 
4916
        https://bugs.webkit.org/show_bug.cgi?id=77653
 
4917
 
 
4918
        Reviewed by Tor Arne Vestbø.
 
4919
 
 
4920
        * Api/qgraphicswebview.cpp: Removed unnecessary inclusion of removed header file.
 
4921
        * declarative/public.pri: Use quick1 instead of qtquick1. It's mandator with Qt 5.
 
4922
        * tests/tests.pri: Ditto.
 
4923
        * declarative/qdeclarativewebview_p.h: Fix includes, just use the module-less
 
4924
        version that works with all Qt versions.
 
4925
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Ditto.
 
4926
 
 
4927
2012-02-08  Leo Franchi  <lfranchi@kde.org>
 
4928
 
 
4929
        Remote web inspector reentrancy fixes
 
4930
        https://bugs.webkit.org/show_bug.cgi?id=77022
 
4931
 
 
4932
        Reviewed by Joseph Pecoraro.
 
4933
 
 
4934
        * WebCoreSupport/InspectorServerQt.cpp:
 
4935
        (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
 
4936
        (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
 
4937
 
 
4938
2012-02-06  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
4939
 
 
4940
        Provide more attribute methods in Element
 
4941
        https://bugs.webkit.org/show_bug.cgi?id=77800
 
4942
 
 
4943
        Reviewed by Ryosuke Niwa.
 
4944
 
 
4945
        * Api/qwebelement.cpp:
 
4946
        (QWebElement::attributeNames): access attributes via Element interface.
 
4947
 
 
4948
2012-02-03  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
 
4949
 
 
4950
        [Qt] Don't version QtWebKit.experimental.
 
4951
        https://bugs.webkit.org/show_bug.cgi?id=77739
 
4952
 
 
4953
        Reviewed by Tor Arne Vestbø.
 
4954
 
 
4955
        We won't support previous versions of the experimental API.
 
4956
 
 
4957
        * declarative/experimental/plugin.cpp:
 
4958
 
 
4959
2012-02-05  Gavin Barraclough  <barraclough@apple.com>
 
4960
 
 
4961
        Remove JSObject defineGetter/defineSetter lookupGetter/lookupSetter
 
4962
        https://bugs.webkit.org/show_bug.cgi?id=77451
 
4963
 
 
4964
        Reviewed by Sam Weinig.
 
4965
 
 
4966
        These can now all be implemented in terms of defineOwnProperty & getPropertyDescriptor.
 
4967
        Also remove initializeGetterSetterProperty, since this is equivalent to putDirectAccessor.
 
4968
 
 
4969
        * Api/qwebframe.cpp:
 
4970
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
4971
 
 
4972
2012-02-03  Antti Koivisto  <antti@apple.com>
 
4973
 
 
4974
        Rename CSSMutableStyleDeclaration.h/.cpp to StylePropertySet.h/.cpp 
 
4975
        https://bugs.webkit.org/show_bug.cgi?id=77779
 
4976
 
 
4977
        Reviewed by Darin Adler.
 
4978
 
 
4979
        * Api/qwebelement.cpp:
 
4980
 
 
4981
2012-02-03  Antti Koivisto  <antti@apple.com>
 
4982
 
 
4983
        https://bugs.webkit.org/show_bug.cgi?id=77740
 
4984
        Split CSSMutableStyleDeclaration into separate internal and CSSOM types 
 
4985
 
 
4986
        Reviewed by Andreas Kling and Darin Adler.
 
4987
 
 
4988
        * Api/qwebelement.cpp:
 
4989
        (QWebElement::styleProperty):
 
4990
 
 
4991
2012-02-03  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
4992
 
 
4993
        [Qt][Texmap] Refactor TextureMapper API to use ImageBuffers when possible.
 
4994
        https://bugs.webkit.org/show_bug.cgi?id=77148
 
4995
 
 
4996
        Reviewed by Martin Robinson.
 
4997
 
 
4998
        Use TextureMapper::create instead of creating TextureMapperGL/TextureMapperQt directly.
 
4999
 
 
5000
        * Api/qwebframe.cpp:
 
5001
        (QWebFramePrivate::renderCompositedLayers):
 
5002
        * WebCoreSupport/PageClientQt.cpp:
 
5003
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
 
5004
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
5005
 
 
5006
2012-02-02  Sheriff Bot  <webkit.review.bot@gmail.com>
 
5007
 
 
5008
        Unreviewed, rolling out r106620.
 
5009
        http://trac.webkit.org/changeset/106620
 
5010
        https://bugs.webkit.org/show_bug.cgi?id=77716
 
5011
 
 
5012
        It broke non ENABLE(3D_RENDERING) builds (Requested by
 
5013
        Ossy_morning on #webkit).
 
5014
 
 
5015
        * Api/qwebframe.cpp:
 
5016
        (QWebFramePrivate::renderCompositedLayers):
 
5017
        * WebCoreSupport/PageClientQt.cpp:
 
5018
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
 
5019
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
5020
 
 
5021
2012-02-02  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
5022
 
 
5023
        [Qt][Texmap] Refactor TextureMapper API to use ImageBuffers when possible.
 
5024
        https://bugs.webkit.org/show_bug.cgi?id=77148
 
5025
 
 
5026
        Reviewed by Martin Robinson.
 
5027
 
 
5028
        Use TextureMapper::create instead of creating TextureMapperGL/TextureMapperQt directly.
 
5029
 
 
5030
        * Api/qwebframe.cpp:
 
5031
        (QWebFramePrivate::renderCompositedLayers):
 
5032
        * WebCoreSupport/PageClientQt.cpp:
 
5033
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
 
5034
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
5035
 
 
5036
2012-02-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
5037
 
 
5038
        Avoid creating NamedNodeMap unnecessarily
 
5039
        https://bugs.webkit.org/show_bug.cgi?id=77574
 
5040
 
 
5041
        Reviewed by Ryosuke Niwa.
 
5042
 
 
5043
        * Api/qwebelement.cpp:
 
5044
        (QWebElement::attributeNames): use updateAttributes().
 
5045
 
 
5046
2012-02-01  Alexis Menard  <alexis.menard@openbossa.org>
 
5047
 
 
5048
        CSSStyleDeclaration.getPropertyPriority() fails for CSS shorthand properties with 'important' priority
 
5049
        https://bugs.webkit.org/show_bug.cgi?id=49058
 
5050
 
 
5051
        Reviewed by Andreas Kling.
 
5052
 
 
5053
        Update the code as getPropertyPriority has been renamed to propertyIsImportant.
 
5054
 
 
5055
        * Api/qwebelement.cpp:
 
5056
        (QWebElement::styleProperty):
 
5057
 
 
5058
2012-01-31  Antti Koivisto  <antti@apple.com>
 
5059
 
 
5060
        Try to fix Qt build.
 
5061
 
 
5062
        Not reviewed.
 
5063
 
 
5064
        * Api/qwebelement.cpp:
 
5065
        (QWebElement::styleProperty):
 
5066
 
 
5067
2012-01-30  Antti Koivisto  <antti@apple.com>
 
5068
 
 
5069
        Reduce non-CSSOM API of CSSStyleDeclaration
 
5070
        https://bugs.webkit.org/show_bug.cgi?id=77299
 
5071
 
 
5072
        Reviewed by Andreas Kling.
 
5073
 
 
5074
        * Api/qwebelement.cpp:
 
5075
        (QWebElement::styleProperty):
 
5076
        (QWebElement::setStyleProperty):
 
5077
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5078
        (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
 
5079
 
 
5080
2012-01-25  Zeno Albisser  <zeno@webkit.org>
 
5081
 
 
5082
        [Qt] public.pri is missing dependency to quick module.
 
5083
        https://bugs.webkit.org/show_bug.cgi?id=77016
 
5084
 
 
5085
        Reviewed by Tor Arne Vestbø.
 
5086
 
 
5087
        * declarative/public.pri:
 
5088
 
 
5089
2012-01-17  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
 
5090
 
 
5091
        [Qt] Debug build fails with debug qt5
 
5092
        https://bugs.webkit.org/show_bug.cgi?id=76463
 
5093
 
 
5094
        Reviewed by Simon Hausmann.
 
5095
 
 
5096
        Add QNetworkCookie include in order to satisfy sizeof in QTypeInfo in debug builds.
 
5097
 
 
5098
        * WebCoreSupport/FrameNetworkingContextQt.cpp:
 
5099
 
 
5100
2012-01-13  Marcelo Lira  <marcelo.lira@openbossa.org>
 
5101
 
 
5102
        [Qt] Fix missing signal in qwebframe API test for Qt5
 
5103
        https://bugs.webkit.org/show_bug.cgi?id=76195
 
5104
 
 
5105
        Reviewed by Noam Rosenthal.
 
5106
 
 
5107
        In Qt5 QObject has a new signal with this signature: "objectNameChanged(QString)".
 
5108
 
 
5109
        * tests/qwebframe/tst_qwebframe.cpp:
 
5110
        (tst_QWebFrame::enumerate_data):
 
5111
 
 
5112
2012-01-11  Vsevolod Vlasov  <vsevik@chromium.org>
 
5113
 
 
5114
        Make default console messages line numbers consistent.
 
5115
        https://bugs.webkit.org/show_bug.cgi?id=74075
 
5116
 
 
5117
        Reviewed by Pavel Feldman.
 
5118
 
 
5119
        Unset line numbers are not printed to console now.
 
5120
 
 
5121
        * Api/qwebpage.cpp:
 
5122
        (QWebPage::javaScriptConsoleMessage):
 
5123
 
 
5124
2012-01-11  Simon Hausmann  <simon.hausmann@nokia.com>
 
5125
 
 
5126
        Unreviewed trivial build fix: Removed unnecessary QHttpRequestHeader
 
5127
        inclusion (and the file is removed in newer Qt 5 versions).
 
5128
 
 
5129
        * Api/qwebpage.cpp:
 
5130
 
 
5131
2012-01-11  Rafael Brandao  <rafael.lobo@openbossa.org>
 
5132
 
 
5133
        [Qt][WK2] Fix the build for newer Qt5
 
5134
        https://bugs.webkit.org/show_bug.cgi?id=75964
 
5135
 
 
5136
        Reviewed by Simon Hausmann.
 
5137
 
 
5138
        Added QHttpHeader, QHttpResponseHeader and QHttpRequestHeader
 
5139
        that were removed from Qt. They are now kept under a private header
 
5140
        and only the relevant code is present.
 
5141
 
 
5142
        * Api/qhttpheader.cpp: Added.
 
5143
        (QHttpHeader::QHttpHeader):
 
5144
        (QHttpHeader::~QHttpHeader):
 
5145
        (QHttpHeader::parse):
 
5146
        (QHttpHeader::value):
 
5147
        (QHttpHeader::hasKey):
 
5148
        (QHttpHeader::setValue):
 
5149
        (QHttpHeader::addValue):
 
5150
        (QHttpHeader::parseLine):
 
5151
        (QHttpHeader::toString):
 
5152
        (QHttpHeader::hasContentLength):
 
5153
        (QHttpHeader::contentLength):
 
5154
        (QHttpHeader::setContentLength):
 
5155
        (QHttpHeader::hasContentType):
 
5156
        (QHttpHeader::contentType):
 
5157
        (QHttpHeader::setContentType):
 
5158
        (QHttpResponseHeader::QHttpResponseHeader):
 
5159
        (QHttpResponseHeader::parseLine):
 
5160
        (QHttpResponseHeader::toString):
 
5161
        (QHttpRequestHeader::QHttpRequestHeader):
 
5162
        (QHttpRequestHeader::parseLine):
 
5163
        (QHttpRequestHeader::toString):
 
5164
        * Api/qhttpheader_p.h: Added.
 
5165
        (QHttpHeader::isValid):
 
5166
        (QHttpHeader::setValid):
 
5167
        (QHttpResponseHeader::statusCode):
 
5168
        (QHttpResponseHeader::reasonPhrase):
 
5169
        (QHttpResponseHeader::majorVersion):
 
5170
        (QHttpResponseHeader::minorVersion):
 
5171
        (QHttpRequestHeader::method):
 
5172
        (QHttpRequestHeader::path):
 
5173
        (QHttpRequestHeader::majorVersion):
 
5174
        (QHttpRequestHeader::minorVersion):
 
5175
        * WebCoreSupport/InspectorServerQt.cpp:
 
5176
 
 
5177
2012-01-10  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
5178
 
 
5179
        [Qt] Enable CSS_FILTERS in Qt build
 
5180
        https://bugs.webkit.org/show_bug.cgi?id=75777
 
5181
 
 
5182
        For now, disallow compositing for filters. We will change that trigger when
 
5183
        https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
 
5184
 
 
5185
        Reviewed by Kenneth Rohde Christiansen.
 
5186
 
 
5187
        * WebCoreSupport/ChromeClientQt.cpp:
 
5188
        (WebCore::ChromeClientQt::allowedCompositingTriggers):
 
5189
 
 
5190
2012-01-08  Sheriff Bot  <webkit.review.bot@gmail.com>
 
5191
 
 
5192
        Unreviewed, rolling out r104421.
 
5193
        http://trac.webkit.org/changeset/104421
 
5194
        https://bugs.webkit.org/show_bug.cgi?id=75816
 
5195
 
 
5196
        Need to rebaseline some tests on Linux (Requested by noamr on
 
5197
        #webkit).
 
5198
 
 
5199
        * WebCoreSupport/ChromeClientQt.cpp:
 
5200
        (WebCore::ChromeClientQt::allowedCompositingTriggers):
 
5201
 
 
5202
2012-01-08  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
5203
 
 
5204
        [Qt] Enable CSS_FILTERS in Qt build
 
5205
        https://bugs.webkit.org/show_bug.cgi?id=75777
 
5206
 
 
5207
        For now, disallow compositing for filters. We will change that trigger when
 
5208
        https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
 
5209
 
 
5210
        Reviewed by Kenneth Rohde Christiansen.
 
5211
 
 
5212
        * WebCoreSupport/ChromeClientQt.cpp:
 
5213
        (WebCore::ChromeClientQt::allowedCompositingTriggers):
 
5214
 
 
5215
2012-01-08  Sheriff Bot  <webkit.review.bot@gmail.com>
 
5216
 
 
5217
        Unreviewed, rolling out r104403.
 
5218
        http://trac.webkit.org/changeset/104403
 
5219
        https://bugs.webkit.org/show_bug.cgi?id=75803
 
5220
 
 
5221
        It broke all tests on Qt5 (Requested by Ossy_weekend on
 
5222
        #webkit).
 
5223
 
 
5224
        * WebCoreSupport/ChromeClientQt.cpp:
 
5225
        (WebCore::ChromeClientQt::allowedCompositingTriggers):
 
5226
 
 
5227
2012-01-08  No'am Rosenthal  <noam.rosenthal@nokia.com>
 
5228
 
 
5229
        [Qt] Enable CSS_FILTERS in Qt build
 
5230
        https://bugs.webkit.org/show_bug.cgi?id=75777
 
5231
 
 
5232
        For now, disallow compositing for filters. We will change that trigger when
 
5233
        https://bugs.webkit.org/show_bug.cgi?id=75778 is implemented.
 
5234
 
 
5235
        Reviewed by Kenneth Rohde Christiansen.
 
5236
 
 
5237
        * WebCoreSupport/ChromeClientQt.cpp:
 
5238
        (WebCore::ChromeClientQt::allowedCompositingTriggers):
 
5239
 
 
5240
2012-01-05  Sheriff Bot  <webkit.review.bot@gmail.com>
 
5241
 
 
5242
        Unreviewed, rolling out r104231.
 
5243
        http://trac.webkit.org/changeset/104231
 
5244
        https://bugs.webkit.org/show_bug.cgi?id=75668
 
5245
 
 
5246
        Breaks the Qt build (Requested by abarth on #webkit).
 
5247
 
 
5248
        * Api/qwebpage.cpp:
 
5249
        (QWebPage::acceptNavigationRequest):
 
5250
 
 
5251
2012-01-05  Adam Barth  <abarth@webkit.org>
 
5252
 
 
5253
        Introduce Platform namespace for WebCore/platform
 
5254
        https://bugs.webkit.org/show_bug.cgi?id=75653
 
5255
 
 
5256
        Reviewed by Eric Seidel.
 
5257
 
 
5258
        * Api/qwebpage.cpp:
 
5259
        (QWebPage::acceptNavigationRequest):
 
5260
 
 
5261
2012-01-05  Zeno Albisser  <zeno@webkit.org>
 
5262
 
 
5263
        [Qt][WK2] Implement custom URL schemes defined in QML.
 
5264
        https://bugs.webkit.org/show_bug.cgi?id=74931
 
5265
 
 
5266
        Make classes QQuickUrlSchemeDelegate, QQuickNetworkRequest
 
5267
        and QQuickNetworkReply accessible from QML.
 
5268
 
 
5269
        Reviewed by Kenneth Rohde Christiansen.
 
5270
 
 
5271
        * declarative/experimental/experimental.pri:
 
5272
        * declarative/experimental/plugin.cpp:
 
5273
        * declarative/public.pri:
 
5274
 
 
5275
2012-01-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
5276
 
 
5277
        [Qt] Introduce new qmake variable 'WEBKIT' for signaling dependencies
 
5278
 
 
5279
        The custom qmake variable 'WEBKIT' is used for signaling that a
 
5280
        target depends in some way on other subproject of the WebKit
 
5281
        project. For now this is limited to the set of intermediate
 
5282
        libraries: wtf, javascriptcore, webcore, and webkit2.
 
5283
 
 
5284
        This replaces the previous convension of using load(foo) for
 
5285
        just include paths, and CONFIG += foo to also link against foo.
 
5286
 
 
5287
        Adding a dependency results in additional include paths being
 
5288
        available, and potentially linking to the library. This is
 
5289
        decided by the build system based on conditions such as what
 
5290
        kind of target is being built and the general build config.
 
5291
 
 
5292
        An advantage to his approach is that it simplifies the individual
 
5293
        foo.prf files, for example by allowing us to use INCLUDEPATH +=
 
5294
        and LIBS += as normal instead of prepending.
 
5295
 
 
5296
        Reviewed by Simon Hausmann.
 
5297
 
 
5298
        * tests/qgraphicswebview/qgraphicswebview.pro:
 
5299
 
 
5300
2012-01-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
5301
 
 
5302
        [Qt] Move use of $$qtLibraryTarget() to a single place
 
5303
 
 
5304
        Reviewed by Kenneth Rohde Christiansen.
 
5305
 
 
5306
        * declarative/experimental/experimental.pri:
 
5307
        * declarative/public.pri:
 
5308
        * examples/platformplugin/platformplugin.pro:
 
5309
 
 
5310
2012-01-03  Jon Lee  <jonlee@apple.com>
 
5311
 
 
5312
        Leak of WebNotificationClient when page is destroyed
 
5313
        https://bugs.webkit.org/show_bug.cgi?id=74980
 
5314
        <rdar://problem/10611231>
 
5315
 
 
5316
        Reviewed by Mark Rowe.
 
5317
 
 
5318
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
5319
        (WebCore::NotificationPresenterClientQt::notificationControllerDestroyed): Empty implementation, because
 
5320
        ownership model differs.
 
5321
        * WebCoreSupport/NotificationPresenterClientQt.h:
 
5322
 
 
5323
2011-12-20  Adam Klein  <adamk@chromium.org>
 
5324
 
 
5325
        Avoid unnecessary work when removing attributes from an element
 
5326
        https://bugs.webkit.org/show_bug.cgi?id=74953
 
5327
 
 
5328
        Reviewed by Ryosuke Niwa.
 
5329
 
 
5330
        * Api/qwebelement.cpp:
 
5331
        (QWebElement::removeAttribute): Updated a caller of
 
5332
        WebCore::Element::removeAttribute to remove ExceptionCode argument.
 
5333
 
 
5334
2011-12-20  Rafael Brandao  <rafael.lobo@openbossa.org>
 
5335
 
 
5336
        [Qt] Extend QQuickWebview::navigationRequested API
 
5337
        https://bugs.webkit.org/show_bug.cgi?id=73818
 
5338
 
 
5339
        Reviewed by Simon Hausmann.
 
5340
 
 
5341
        * declarative/experimental/plugin.cpp:
 
5342
 
 
5343
2011-12-20  Jarred Nicholls  <jarred@sencha.com>
 
5344
 
 
5345
        [Qt] HTTP header injection via QWebPage::userAgentForUrl()
 
5346
        https://bugs.webkit.org/show_bug.cgi?id=68560
 
5347
 
 
5348
        Strip out newline characters from the result of userAgentForUrl() to prevent additional
 
5349
        HTTP headers in HTTP requests.
 
5350
 
 
5351
        New QtTest case that validates the user agent, as returned by navigator.userAgent, does not
 
5352
        contain any newline characters.
 
5353
 
 
5354
        Reviewed by Simon Hausmann.
 
5355
 
 
5356
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
5357
        (WebCore::FrameLoaderClientQt::userAgent):
 
5358
        * tests/qwebpage/tst_qwebpage.cpp:
 
5359
        (CustomUserAgentWebPage::userAgentForUrl):
 
5360
        (tst_QWebPage::userAgentNewlineStripping):
 
5361
 
 
5362
2011-12-20  Rafael Brandao  <rafael.lobo@openbossa.org>
 
5363
 
 
5364
        [Qt][WK2] Implement favicon support
 
5365
        https://bugs.webkit.org/show_bug.cgi?id=71082
 
5366
 
 
5367
        Reviewed by Simon Hausmann.
 
5368
 
 
5369
        * declarative/plugin.cpp:
 
5370
        (WebKitQmlPlugin::initializeEngine): Setup for the QDeclarativeImageProvider to display favicons.
 
5371
        Its handles the following url format: "image://webicon/<iconID>#<pageURL>".
 
5372
 
 
5373
2011-12-19  Sam Weinig  <sam@webkit.org>
 
5374
 
 
5375
        More PlatformEvent cleanup
 
5376
        https://bugs.webkit.org/show_bug.cgi?id=74831
 
5377
 
 
5378
        Reviewed by Dan Bernstein.
 
5379
 
 
5380
        * Api/qwebpage.cpp:
 
5381
        (QWebPage::swallowContextMenuEvent):
 
5382
        Update to use new names, access style.
 
5383
 
 
5384
2011-12-19  Alexander Færøy  <ahf@0x90.dk>
 
5385
 
 
5386
        [Qt] Cleanup QTM_NAMESPACE usage in DeviceOrientationProviderQt
 
5387
        https://bugs.webkit.org/show_bug.cgi?id=74853
 
5388
 
 
5389
        Reviewed by Simon Hausmann.
 
5390
 
 
5391
        * Api/qwebframe_p.h:
 
5392
        * WebCoreSupport/DeviceOrientationProviderQt.cpp:
 
5393
        * WebCoreSupport/DeviceOrientationProviderQt.h:
 
5394
 
 
5395
2011-12-19  Alexander Færøy  <ahf@0x90.dk>
 
5396
 
 
5397
        [Qt] Cleanup DeviceMotionClientQt and friends.
 
5398
        https://bugs.webkit.org/show_bug.cgi?id=74849
 
5399
 
 
5400
        This patch cleans up the DeviceMotionQt class and friends by applying
 
5401
        the following changes:
 
5402
 
 
5403
        - Remove unnecessary pointer to QWebPage. This is needed to be able to
 
5404
          reuse the code for WebKit2.
 
5405
        - Remove QObject dependencies and all signals/slots. Instead, we call
 
5406
          didChangeDeviceMotion() on the controller directly from
 
5407
          DeviceMotionProviderQt.
 
5408
 
 
5409
        Reviewed by Simon Hausmann.
 
5410
 
 
5411
        * Api/qwebpage.cpp:
 
5412
        (QWebPagePrivate::QWebPagePrivate):
 
5413
        * WebCoreSupport/DeviceMotionClientQt.cpp:
 
5414
        (WebCore::DeviceMotionClientQt::DeviceMotionClientQt):
 
5415
        (WebCore::DeviceMotionClientQt::~DeviceMotionClientQt):
 
5416
        (WebCore::DeviceMotionClientQt::setController):
 
5417
        * WebCoreSupport/DeviceMotionClientQt.h:
 
5418
        * WebCoreSupport/DeviceMotionProviderQt.cpp:
 
5419
        (WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
 
5420
        (WebCore::DeviceMotionProviderQt::setController):
 
5421
        (WebCore::DeviceMotionProviderQt::filter):
 
5422
        * WebCoreSupport/DeviceMotionProviderQt.h:
 
5423
 
 
5424
2011-12-18  Simon Hausmann  <simon.hausmann@nokia.com>
 
5425
 
 
5426
        Rename EditCommandQt to UndoStepQt
 
5427
        https://bugs.webkit.org/show_bug.cgi?id=74754
 
5428
 
 
5429
        Reviewed by Ryosuke Niwa.
 
5430
 
 
5431
        * WebCoreSupport/EditorClientQt.cpp:
 
5432
        (WebCore::EditorClientQt::registerUndoStep):
 
5433
        * WebCoreSupport/UndoStepQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/EditCommandQt.cpp.
 
5434
        (UndoStepQt::UndoStepQt):
 
5435
        (UndoStepQt::~UndoStepQt):
 
5436
        (UndoStepQt::redo):
 
5437
        (UndoStepQt::undo):
 
5438
        * WebCoreSupport/UndoStepQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/EditCommandQt.h.
 
5439
 
 
5440
2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
 
5441
 
 
5442
        Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
 
5443
        https://bugs.webkit.org/show_bug.cgi?id=74748
 
5444
 
 
5445
        Reviewed by Eric Seidel.
 
5446
 
 
5447
        * WebCoreSupport/EditorClientQt.cpp:
 
5448
        (WebCore::EditorClientQt::registerUndoStep):
 
5449
        (WebCore::EditorClientQt::registerRedoStep):
 
5450
        * WebCoreSupport/EditorClientQt.h:
 
5451
 
 
5452
2011-12-16  Sam Weinig  <sam@webkit.org>
 
5453
 
 
5454
        Give PlatformEvents a base class
 
5455
        https://bugs.webkit.org/show_bug.cgi?id=74685
 
5456
 
 
5457
        Reviewed by Anders Carlsson.
 
5458
 
 
5459
        Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
 
5460
        and PlatformGestureEvent and move Type enumeration and modifiers down to it.
 
5461
 
 
5462
        * WebCoreSupport/DragClientQt.cpp:
 
5463
        (WebCore::DragClientQt::startDrag):
 
5464
        * WebCoreSupport/EditorClientQt.cpp:
 
5465
        (WebCore::EditorClientQt::handleKeyboardEvent):
 
5466
 
 
5467
2011-12-16  Ryosuke Niwa  <rniwa@webkit.org>
 
5468
 
 
5469
        Only EditCommandComposition should implement unapply and reapply
 
5470
        https://bugs.webkit.org/show_bug.cgi?id=74490
 
5471
 
 
5472
        Reviewed by Eric Seidel.
 
5473
 
 
5474
        EditCommandQt is to be renamed to UndoStepQt in a follow up patch.
 
5475
 
 
5476
        * WebCoreSupport/EditCommandQt.cpp:
 
5477
        (EditCommandQt::EditCommandQt):
 
5478
        * WebCoreSupport/EditCommandQt.h:
 
5479
        * WebCoreSupport/EditorClientQt.cpp:
 
5480
        (WebCore::EditorClientQt::registerCommandForUndo):
 
5481
        (WebCore::EditorClientQt::registerCommandForRedo):
 
5482
 
 
5483
2011-12-14  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
5484
 
 
5485
        [Qt] Get rid of layering violation in PluginViewQt
 
5486
 
 
5487
        PluginViewQt has a layering violation in relying on QWebPagePrivate for
 
5488
        the check if running under DRT. We remove this and add a specific flag
 
5489
        in the PluginView for this check, enabled from DRTSupport. This isn't
 
5490
        pretty, but an improvement over what's currently there.
 
5491
 
 
5492
        Reviewed by Simon Hausmann.
 
5493
 
 
5494
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5495
        (DumpRenderTreeSupportQt::setDumpRenderTreeModeEnabled):
 
5496
 
 
5497
2011-12-15  Michael Brüning  <michael.bruning@nokia.com>
 
5498
 
 
5499
        [QT][WK2]Add (experimental) viewport info view to Minibrowser/qt.
 
5500
        https://bugs.webkit.org/show_bug.cgi?id=72893
 
5501
 
 
5502
        Reviewed by Kenneth Rohde Christiansen.
 
5503
 
 
5504
        This patch extends QQuickWebViewExperimental by a property named
 
5505
        viewportInfo, which contains the viewport scalability and
 
5506
        layout and contents size information. This property is exposed to
 
5507
        QML through the experimental extension for QQuickWebView.
 
5508
 
 
5509
        * declarative/experimental/plugin.cpp:
 
5510
 
 
5511
2011-12-15  Alexander Færøy  <ahf@0x90.dk>
 
5512
 
 
5513
        [Qt] Remove unnecessary methods and members from DeviceOrientationClientQt
 
5514
        https://bugs.webkit.org/show_bug.cgi?id=74588
 
5515
 
 
5516
        Reviewed by Simon Hausmann.
 
5517
 
 
5518
        Remove the unused method changeDeviceOrientation() from
 
5519
        DeviceOrientationClientQt and remove the DeviceOrientationController
 
5520
        member since it is unused.
 
5521
 
 
5522
        * WebCoreSupport/DeviceOrientationClientQt.cpp:
 
5523
        (WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
 
5524
        (WebCore::DeviceOrientationClientQt::setController):
 
5525
        * WebCoreSupport/DeviceOrientationClientQt.h:
 
5526
 
 
5527
2011-12-14  Jing Zhao  <jingzhao@chromium.org>
 
5528
 
 
5529
        Opening two popup menus by dispatchEvent() makes problems.
 
5530
        https://bugs.webkit.org/show_bug.cgi?id=73304
 
5531
 
 
5532
        Reviewed by Kent Tamura.
 
5533
 
 
5534
        * WebCoreSupport/ChromeClientQt.cpp:
 
5535
        (WebCore::ChromeClientQt::hasOpenedPopup): Not implemented.
 
5536
        * WebCoreSupport/ChromeClientQt.h: Overrides hasOpenedPopup().
 
5537
 
 
5538
2011-12-14  Hajime Morrita  <morrita@chromium.org>
 
5539
 
 
5540
        JS_INLINE and WTF_INLINE should be visible from WebCore
 
5541
        https://bugs.webkit.org/show_bug.cgi?id=73191
 
5542
 
 
5543
        Reviewed by Kevin Ollivier.
 
5544
        
 
5545
        Added a INCLUDEPATH to make JSExportMacros.h visible.
 
5546
 
 
5547
        * tests/MIMESniffing/MIMESniffing.pro
 
5548
 
 
5549
2011-12-14  Alexander Færøy  <ahf@0x90.dk>
 
5550
 
 
5551
        [Qt] DeviceOrientationClientQt should initialize m_controller to zero.
 
5552
        https://bugs.webkit.org/show_bug.cgi?id=74522
 
5553
 
 
5554
        Reviewed by Kenneth Rohde Christiansen.
 
5555
 
 
5556
        * WebCoreSupport/DeviceOrientationProviderQt.cpp:
 
5557
        (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
 
5558
 
 
5559
2011-12-14  Alexander Færøy  <alexander.faeroy@nokia.com>
 
5560
 
 
5561
        [Qt] Fix compilation of QtWebKit with --orientation-events without ENABLE_DEVICE_ORIENTATION
 
5562
        https://bugs.webkit.org/show_bug.cgi?id=74492
 
5563
 
 
5564
        Reviewed by Simon Hausmann.
 
5565
 
 
5566
        * Api/qwebframe.cpp:
 
5567
        (QWebFramePrivate::_q_orientationChanged):
 
5568
        * Api/qwebframe_p.h:
 
5569
        * WebCoreSupport/DeviceMotionProviderQt.cpp:
 
5570
        * WebCoreSupport/DeviceMotionProviderQt.h:
 
5571
        * WebCoreSupport/DeviceOrientationProviderQt.cpp:
 
5572
        * WebCoreSupport/DeviceOrientationProviderQt.h:
 
5573
 
 
5574
2011-12-14  Alexander Færøy  <alexander.faeroy@nokia.com>
 
5575
 
 
5576
        Fix compilation for Qt with --minimal option after r102755.
 
5577
 
 
5578
        Reviewed by Csaba Osztrogonác.
 
5579
 
 
5580
        * Api/qwebpage.cpp:
 
5581
        (QWebPagePrivate::QWebPagePrivate):
 
5582
 
 
5583
2011-12-14  Alexander Færøy  <alexander.faeroy@nokia.com>
 
5584
 
 
5585
        [Qt] DeviceOrientationClientMockQt should be removed in favor of DeviceOrientationClientMock
 
5586
        https://bugs.webkit.org/show_bug.cgi?id=74417
 
5587
 
 
5588
        Reviewed by Simon Hausmann.
 
5589
 
 
5590
        Based on original patch by Kenneth Christiansen.
 
5591
 
 
5592
        Already covered by current tests.
 
5593
 
 
5594
        * Api/qwebpage.cpp:
 
5595
        (QWebPagePrivate::QWebPagePrivate):
 
5596
        * WebCoreSupport/DeviceMotionProviderQt.cpp:
 
5597
        (WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
 
5598
        (WebCore::DeviceMotionProviderQt::filter):
 
5599
        * WebCoreSupport/DeviceMotionProviderQt.h:
 
5600
        * WebCoreSupport/DeviceOrientationClientMockQt.cpp: Removed.
 
5601
        * WebCoreSupport/DeviceOrientationClientMockQt.h: Removed.
 
5602
        * WebCoreSupport/DeviceOrientationClientQt.cpp:
 
5603
        (WebCore::DeviceOrientationClientQt::DeviceOrientationClientQt):
 
5604
        (WebCore::DeviceOrientationClientQt::~DeviceOrientationClientQt):
 
5605
        (WebCore::DeviceOrientationClientQt::lastOrientation):
 
5606
        * WebCoreSupport/DeviceOrientationClientQt.h:
 
5607
        * WebCoreSupport/DeviceOrientationProviderQt.cpp:
 
5608
        (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
 
5609
        (WebCore::DeviceOrientationProviderQt::setController):
 
5610
        (WebCore::DeviceOrientationProviderQt::start):
 
5611
        (WebCore::DeviceOrientationProviderQt::stop):
 
5612
        (WebCore::DeviceOrientationProviderQt::filter):
 
5613
        * WebCoreSupport/DeviceOrientationProviderQt.h:
 
5614
        (WebCore::DeviceOrientationProviderQt::isActive):
 
5615
        (WebCore::DeviceOrientationProviderQt::lastOrientation):
 
5616
        (WebCore::DeviceOrientationProviderQt::hasAlpha):
 
5617
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5618
        (toDeviceOrientationClientMock):
 
5619
        (DumpRenderTreeSupportQt::setMockDeviceOrientation):
 
5620
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
5621
 
 
5622
2011-12-12  Nándor Huszka  <huszka.nandor@stud.u-szeged.hu>
 
5623
 
 
5624
        [Qt] Missing layoutTestController.dumpWillCacheResponse
 
5625
        https://bugs.webkit.org/show_bug.cgi?id=74287
 
5626
 
 
5627
        Reviewed by Csaba Osztrogonác.
 
5628
 
 
5629
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5630
        (DumpRenderTreeSupportQt::dumpWillCacheResponseCallbacks):
 
5631
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
5632
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
5633
        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
 
5634
        * WebCoreSupport/FrameLoaderClientQt.h:
 
5635
 
 
5636
2011-12-12  Alexis Menard  <alexis.menard@openbossa.org>
 
5637
 
 
5638
        [Qt][WK2] History is not accessible in QML.
 
5639
        https://bugs.webkit.org/show_bug.cgi?id=73016
 
5640
 
 
5641
        Reviewed by Simon Hausmann.
 
5642
 
 
5643
        Register QWebNavigationHistory and QWebNavigationListModel in the QML plugin.
 
5644
 
 
5645
        * declarative/experimental/plugin.cpp:
 
5646
        (WebKitQmlPlugin::registerTypes):
 
5647
 
 
5648
2011-12-09  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
 
5649
 
 
5650
        [Qt] request parameter of QQuickWebView::navigationRequested is not a registered type
 
5651
        https://bugs.webkit.org/show_bug.cgi?id=73826
 
5652
 
 
5653
        Reviewed by Tor Arne Vestbø.
 
5654
 
 
5655
        * declarative/plugin.cpp:
 
5656
        (WebKitQmlPlugin::registerTypes): Registering QWebNavigationRequest
 
5657
 
 
5658
2011-12-08  Pierre Rossi  <pierre.rossi@gmail.com>
 
5659
 
 
5660
        Drop ENABLE_NO_LISTBOX_RENDERING, and make it a runtime decision.
 
5661
        https://bugs.webkit.org/show_bug.cgi?id=73916
 
5662
 
 
5663
        Reviewed by Kent Tamura.
 
5664
 
 
5665
        * WebCoreSupport/PopupMenuQt.cpp:
 
5666
        (SelectData::multiple):
 
5667
        (WebCore::PopupMenuQt::selectItem):
 
5668
 
 
5669
2011-12-07  Csaba Osztrogonác  <ossy@webkit.org>
 
5670
 
 
5671
        [Qt] Unreviewed buildfix after r102262.
 
5672
 
 
5673
        * Api/qwebelement.cpp:
 
5674
        (QWebElement::setStyleProperty):
 
5675
 
 
5676
2011-12-07  Mary Wu  <mary.wu@torchmobile.com.cn>
 
5677
 
 
5678
        Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
 
5679
        https://bugs.webkit.org/show_bug.cgi?id=73986
 
5680
 
 
5681
        Reviewed by Kenneth Rohde Christiansen.
 
5682
 
 
5683
        * WebCoreSupport/InitWebCoreQt.cpp:
 
5684
        (WebCore::initializeWebCoreQt):
 
5685
 
 
5686
2011-12-06  Zeno Albisser  <zeno@webkit.org>
 
5687
 
 
5688
        [Qt][Mac] Building debug version only fails.
 
5689
        https://bugs.webkit.org/show_bug.cgi?id=73895
 
5690
 
 
5691
        WebKit pro/pri files should not explicitly adjust
 
5692
        the debug_and_release settings.
 
5693
 
 
5694
        Reviewed by Kenneth Rohde Christiansen.
 
5695
 
 
5696
        * declarative/experimental/experimental.pri:
 
5697
        * declarative/public.pri:
 
5698
 
 
5699
2011-12-02  Hajime Morrita  <morrita@chromium.org>
 
5700
 
 
5701
        Unreviewed, rolling out r101751 and r101775.
 
5702
        http://trac.webkit.org/changeset/101751
 
5703
        http://trac.webkit.org/changeset/101775
 
5704
        https://bugs.webkit.org/show_bug.cgi?id=73191
 
5705
 
 
5706
        breaks Windows build
 
5707
 
 
5708
        * tests/MIMESniffing/MIMESniffing.pro:
 
5709
 
 
5710
2011-12-01  Hajime Morrita  <morrita@chromium.org>
 
5711
 
 
5712
        JS_INLINE and WTF_INLINE should be visible from WebCore
 
5713
        https://bugs.webkit.org/show_bug.cgi?id=73191
 
5714
 
 
5715
        Reviewed by Kevin Ollivier.
 
5716
        
 
5717
        Added a INCLUDEPATH to make JSExportMacros.h visible.
 
5718
 
 
5719
        * tests/MIMESniffing/MIMESniffing.pro
 
5720
 
 
5721
2011-11-30  Alexey Proskuryakov  <ap@apple.com>
 
5722
 
 
5723
        Remove an unneeded argument from FrameLoaderClient::download
 
5724
        https://bugs.webkit.org/show_bug.cgi?id=73486
 
5725
 
 
5726
        Reviewed by Andreas Kling.
 
5727
 
 
5728
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
5729
        (WebCore::FrameLoaderClientQt::download):
 
5730
        * WebCoreSupport/FrameLoaderClientQt.h:
 
5731
        Updated for the change.
 
5732
 
 
5733
2011-11-30  Simon Hausmann  <simon.hausmann@nokia.com>
 
5734
 
 
5735
        [Qt] Fix crash when using Qt DRT with V8.
 
5736
 
 
5737
        Reviewed by Csaba Osztrogonác.
 
5738
 
 
5739
        Add missing handle scopes for the handles returned by mainWorldContext.
 
5740
 
 
5741
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5742
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
5743
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
5744
 
 
5745
2011-11-30  Simon Hausmann  <simon.hausmann@nokia.com>
 
5746
 
 
5747
        [Qt] Fix crashing layout tests
 
5748
 
 
5749
        Reviewed by Kenneth Rohde Christiansen.
 
5750
 
 
5751
        Fix ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX in ThreadIdentifierDataPthreads.cpp(65)
 
5752
        static WTF::ThreadIdentifier WTF::ThreadIdentifierData::identifier()
 
5753
 
 
5754
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5755
        (DumpRenderTreeSupportQt::initialize): Add missing WebCore::initializeWebCoreQt().
 
5756
 
 
5757
2011-11-30  Andrew Wason  <rectalogic@rectalogic.com>
 
5758
 
 
5759
        Replace Qt QThread threading back-end with pthread/Win32 threading back-ends
 
5760
        https://bugs.webkit.org/show_bug.cgi?id=72155
 
5761
 
 
5762
        Reviewed by Simon Hausmann.
 
5763
 
 
5764
        Extract WebCore initialization out of QWebPagePrivate into a
 
5765
        separate initialization function. This also needs to be called
 
5766
        from public static QWebSettings methods that call into WebCore,
 
5767
        since those can be used before a QWebPage has been constructed.
 
5768
 
 
5769
        * Api/qwebpage.cpp:
 
5770
        (QWebPagePrivate::QWebPagePrivate):
 
5771
        * Api/qwebsettings.cpp:
 
5772
        (QWebSettings::globalSettings):
 
5773
        (QWebSettings::setIconDatabasePath):
 
5774
        (QWebSettings::iconDatabasePath):
 
5775
        (QWebSettings::clearIconDatabase):
 
5776
        (QWebSettings::iconForUrl):
 
5777
        (QWebSettings::setWebGraphic):
 
5778
        (QWebSettings::webGraphic):
 
5779
        (QWebSettings::clearMemoryCaches):
 
5780
        (QWebSettings::maximumPagesInCache):
 
5781
        (QWebSettings::setObjectCacheCapacities):
 
5782
        (QWebSettings::setOfflineStoragePath):
 
5783
        (QWebSettings::offlineStoragePath):
 
5784
        (QWebSettings::setOfflineWebApplicationCachePath):
 
5785
        (QWebSettings::offlineWebApplicationCachePath):
 
5786
        (QWebSettings::setOfflineWebApplicationCacheQuota):
 
5787
        (QWebSettings::offlineWebApplicationCacheQuota):
 
5788
        (QWebSettings::enablePersistentStorage):
 
5789
        * WebCoreSupport/InitWebCoreQt.cpp: Added.
 
5790
        (WebCore::initializeWebCoreQt):
 
5791
        * WebCoreSupport/InitWebCoreQt.h: Added.
 
5792
 
 
5793
2011-11-30  Adenilson Cavalcanti  <adenilson.silva@openbossa.org>
 
5794
 
 
5795
        [Qt][WK2] Implement permission API for Qt port
 
5796
        https://bugs.webkit.org/show_bug.cgi?id=59200
 
5797
 
 
5798
        Permission API hookup for Geolocation, it allows to receive in WebView
 
5799
        a signal when a permission request is done (e.g. to grant permission
 
5800
        for accessing geolocation information) and set it accordingly.
 
5801
 
 
5802
        Reviewed by Simon Hausmann.
 
5803
 
 
5804
        * declarative/plugin.cpp:
 
5805
        (WebKitQmlPlugin::registerTypes):
 
5806
 
 
5807
2011-11-29  Simon Hausmann  <simon.hausmann@nokia.com>
 
5808
 
 
5809
        [Qt] Make WebKit/qt build with V8 and Qt 5
 
5810
        https://bugs.webkit.org/show_bug.cgi?id=73315
 
5811
 
 
5812
        Reviewed by Kenneth Rohde Christiansen.
 
5813
 
 
5814
        * Api/qwebelement.cpp:
 
5815
        (QtWebElementRuntime::initialize): #ifdef JSC code
 
5816
        properly. There's no V8 equivalent just yet.
 
5817
        * Api/qwebelement.h: Get rid of old V8 cruft.
 
5818
        * Api/qwebframe.cpp:
 
5819
        (QWebFrame::addToJavaScriptWindowObject): QScriptEngine -> QJSEngine.
 
5820
        (QWebFrame::evaluateJavaScript): Ditto.
 
5821
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5822
        (QtDRTNodeRuntime::initialize): #ifdef JSC code.
 
5823
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
5824
        (WebCore::FrameLoaderClientQt::didCreateScriptContext): Adapt to FrameLoaderClient
 
5825
        V8 API changes that happened long time ago.
 
5826
        (WebCore::FrameLoaderClientQt::willReleaseScriptContext): Ditto.
 
5827
        * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
 
5828
        * WebCoreSupport/InspectorClientQt.cpp: Add missing include for V8 build.
 
5829
 
 
5830
2011-11-28  Jon Lee  <jonlee@apple.com>
 
5831
 
 
5832
        Create skeleton framework for notifications support in WK2
 
5833
        https://bugs.webkit.org/show_bug.cgi?id=73253
 
5834
        <rdar://problem/10356943>
 
5835
 
 
5836
        Reviewed by Sam Weinig.
 
5837
 
 
5838
        * Api/qwebpage.cpp: Add notification client to pageClients.
 
5839
        (QWebPagePrivate::QWebPagePrivate):
 
5840
        * WebCoreSupport/ChromeClientQt.cpp: Remove notification client from ChromeClient implementation.
 
5841
        * WebCoreSupport/ChromeClientQt.h:
 
5842
        * WebCoreSupport/NotificationPresenterClientQt.cpp: Refactor with change of NotificationContents to struct
 
5843
        (WebCore::NotificationWrapper::title):
 
5844
        (WebCore::NotificationWrapper::message):
 
5845
        (WebCore::NotificationPresenterClientQt::displayNotification):
 
5846
        (WebCore::NotificationPresenterClientQt::cancel):
 
5847
        (WebCore::NotificationPresenterClientQt::notificationClicked):
 
5848
        (WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
 
5849
        (WebCore::NotificationPresenterClientQt::dumpShowText):
 
5850
 
 
5851
2011-11-28  Simon Hausmann  <simon.hausmann@nokia.com>
 
5852
 
 
5853
        [Qt] Build system fixes against V8.
 
5854
 
 
5855
        Reviewed by Tor Arne Vestbø.
 
5856
 
 
5857
        Add forwarding headers for building against Qt's v8 with
 
5858
        v8 include style.
 
5859
 
 
5860
        * v8/ForwardingHeaders/v8-debug.h: Added.
 
5861
        * v8/ForwardingHeaders/v8-preparser.h: Added.
 
5862
        * v8/ForwardingHeaders/v8-profiler.h: Added.
 
5863
        * v8/ForwardingHeaders/v8-testing.h: Added.
 
5864
        * v8/ForwardingHeaders/v8.h: Added.
 
5865
        * v8/ForwardingHeaders/v8stdint.h: Added.
 
5866
 
 
5867
2011-11-26  Pavel Feldman  <pfeldman@google.com>
 
5868
 
 
5869
        Web Inspector: remove disconnectFromBackend from the protocol.
 
5870
        https://bugs.webkit.org/show_bug.cgi?id=73127
 
5871
 
 
5872
        Reviewed by Yury Semikhatsky.
 
5873
 
 
5874
        * WebCoreSupport/InspectorClientQt.cpp:
 
5875
        (WebCore::InspectorClientQt::inspectorDestroyed):
 
5876
        (WebCore::InspectorClientQt::closeInspectorFrontend):
 
5877
        (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
 
5878
        * WebCoreSupport/InspectorClientQt.h:
 
5879
 
 
5880
2011-11-26  Sheriff Bot  <webkit.review.bot@gmail.com>
 
5881
 
 
5882
        Unreviewed, rolling out r101193.
 
5883
        http://trac.webkit.org/changeset/101193
 
5884
        https://bugs.webkit.org/show_bug.cgi?id=73158
 
5885
 
 
5886
        Breaks Windows and Qt minimal. (Requested by pfeldman on
 
5887
        #webkit).
 
5888
 
 
5889
        * WebCoreSupport/InspectorClientQt.cpp:
 
5890
        (WebCore::InspectorClientQt::inspectorDestroyed):
 
5891
        (WebCore::InspectorFrontendClientQt::disconnectFromBackend):
 
5892
        (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
 
5893
        * WebCoreSupport/InspectorClientQt.h:
 
5894
 
 
5895
2011-11-26  Pavel Feldman  <pfeldman@google.com>
 
5896
 
 
5897
        Web Inspector: remove disconnectFromBackend from the protocol.
 
5898
        https://bugs.webkit.org/show_bug.cgi?id=73127
 
5899
 
 
5900
        Reviewed by Yury Semikhatsky.
 
5901
 
 
5902
        * WebCoreSupport/InspectorClientQt.cpp:
 
5903
        (WebCore::InspectorClientQt::inspectorDestroyed):
 
5904
        (WebCore::InspectorClientQt::closeInspectorFrontend):
 
5905
        (WebCore::InspectorFrontendClientQt::inspectorClientDestroyed):
 
5906
        * WebCoreSupport/InspectorClientQt.h:
 
5907
 
 
5908
2011-11-25  Alexis Menard  <alexis.menard@openbossa.org>
 
5909
 
 
5910
        [Qt][WK2] QWebDownloadItem should be registered in the experimental plugin.
 
5911
        https://bugs.webkit.org/show_bug.cgi?id=73132
 
5912
 
 
5913
        Reviewed by Simon Hausmann.
 
5914
 
 
5915
        Make sure QWebDownloadItem is registered in the right plugin.
 
5916
 
 
5917
        * declarative/experimental/plugin.cpp:
 
5918
        * declarative/plugin.cpp:
 
5919
        (WebKitQmlPlugin::registerTypes):
 
5920
 
 
5921
2011-11-22  Pavel Feldman  <pfeldman@google.com>
 
5922
 
 
5923
        Web Inspector: remove Inspector::bringToFront from the protocol.
 
5924
        https://bugs.webkit.org/show_bug.cgi?id=72937
 
5925
 
 
5926
        Reviewed by Yury Semikhatsky.
 
5927
 
 
5928
        * WebCoreSupport/InspectorClientQt.cpp:
 
5929
        (WebCore::InspectorClientQt::bringFrontendToFront):
 
5930
        * WebCoreSupport/InspectorClientQt.h:
 
5931
 
 
5932
2011-10-17  Antonio Gomes  <agomes@rim.com>
 
5933
 
 
5934
        Pass a Frame* parameter in EditorClient::respondToChangedSelection
 
5935
        https://bugs.webkit.org/show_bug.cgi?id=70248
 
5936
 
 
5937
        Reviewed by Ryosuke Niwa.
 
5938
 
 
5939
        * WebCoreSupport/EditorClientQt.cpp: Make use of the newly added Frame* parameter.
 
5940
        (WebCore::EditorClientQt::respondToChangedSelection):
 
5941
        * WebCoreSupport/EditorClientQt.h:
 
5942
 
 
5943
2011-11-18  Yuta Kitamura  <yutak@chromium.org>
 
5944
 
 
5945
        [Qt] Enable WebSocket hybi tests
 
5946
        https://bugs.webkit.org/show_bug.cgi?id=72687
 
5947
 
 
5948
        Reviewed by Simon Hausmann.
 
5949
 
 
5950
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5951
        (DumpRenderTreeSupportQt::defaultHixie76WebSocketProtocolEnabled):
 
5952
        (DumpRenderTreeSupportQt::setHixie76WebSocketProtocolEnabled):
 
5953
        Call WebCore::Settings::setUseHixie76WebSocketProtocol() to switch WebSocket protocols.
 
5954
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
5955
 
 
5956
2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
 
5957
 
 
5958
        [Qt] Layer violation: ThirdPartyCookiesQt.cpp uses QWebSettings in two places
 
5959
        https://bugs.webkit.org/show_bug.cgi?id=72597
 
5960
 
 
5961
        Reviewed by Kenneth Rohde Christiansen.
 
5962
 
 
5963
        Implemented NetworkingContext::thirdPartyCookiePolicyPermission, which queries
 
5964
        the global QWebSettings.
 
5965
 
 
5966
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
5967
        (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows): Adapt to the
 
5968
        changed thirdPartyCookiePolicyPermits WebCore API that operates on a networking context.
 
5969
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
5970
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
5971
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction): Pass networking
 
5972
        context to ResourceRequest::toNetworkRequest.
 
5973
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction): Ditto.
 
5974
        (WebCore::FrameLoaderClientQt::startDownload): Ditto.
 
5975
        * WebCoreSupport/FrameNetworkingContextQt.cpp:
 
5976
        (WebCore::FrameNetworkingContextQt::thirdPartyCookiePolicyPermission): Implement.
 
5977
        * WebCoreSupport/FrameNetworkingContextQt.h:
 
5978
        * tests/qwebpage/tst_qwebpage.cpp:
 
5979
        (tst_QWebPage::thirdPartyCookiePolicy): Adapt to QtDRTSupport API change.
 
5980
 
 
5981
2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
 
5982
 
 
5983
        [Qt] Layer violation: qt_runtime.cpp accesses QWebElement and QTDRTNode
 
5984
        https://bugs.webkit.org/show_bug.cgi?id=72595
 
5985
 
 
5986
        Reviewed by Noam Rosenthal.
 
5987
 
 
5988
        Move QWebElement and QtDRTNode JS bindings from WebCore to WebKit/qt.
 
5989
 
 
5990
        * Api/qwebelement.cpp: Add QWebElement to JSValue and JSValue to QWebElement
 
5991
        conversion through intermediate QVariant.
 
5992
        (QtWebElementRuntime::create):
 
5993
        (QtWebElementRuntime::get):
 
5994
        (convertJSValueToWebElementVariant):
 
5995
        (convertWebElementVariantToJSValue):
 
5996
        (QtWebElementRuntime::initialize): Register conversion functions for QWebElement.
 
5997
        * Api/qwebelement.h:
 
5998
        * Api/qwebelement_p.h: Added.
 
5999
        * Api/qwebpage.cpp:
 
6000
        (QWebPagePrivate::QWebPagePrivate): Initialize QWebElement conversion functions for
 
6001
        the JS runtime.
 
6002
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Add QtDRTNode to JSValue and JSValue to
 
6003
        QtDRTNode conversion through intermediate QVariant.
 
6004
        (QtDRTNodeRuntime::create):
 
6005
        (QtDRTNodeRuntime::get):
 
6006
        (convertJSValueToNodeVariant):
 
6007
        (convertNodeVariantToJSValue):
 
6008
        (QtDRTNodeRuntime::initialize):
 
6009
        (DumpRenderTreeSupportQt::initialize): Register conversion functions for QtDRTNode.
 
6010
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
6011
 
 
6012
2011-11-17  Alexis Menard  <alexis.menard@openbossa.org>
 
6013
 
 
6014
        [Qt] The experimental plugin doesn't work after being renamed.
 
6015
 
 
6016
        Reviewed by Tor Arne Vestbø.
 
6017
 
 
6018
        It was renamed from private to experimental but the qmldir file
 
6019
        was forgotten.
 
6020
 
 
6021
        * declarative/experimental/qmldir:
 
6022
 
 
6023
2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
 
6024
 
 
6025
        [Qt] Layer violation: WebCore::dnsPrefetch uses QWebSettings::globalSettings()
 
6026
        https://bugs.webkit.org/show_bug.cgi?id=72596
 
6027
 
 
6028
        Reviewed by Kenneth Rohde Christiansen.
 
6029
 
 
6030
        * Api/qwebsettings.cpp:
 
6031
        (QWebSettingsPrivate::apply): Propagate the DNS prefetch setting to WebCore::Settings.
 
6032
 
 
6033
2011-11-17  Simon Hausmann  <simon.hausmann@nokia.com>
 
6034
 
 
6035
        [Qt] Layer violation: Image::loadPlatformResource uses QWebSettings::webGraphic
 
6036
        https://bugs.webkit.org/show_bug.cgi?id=72594
 
6037
 
 
6038
        Reviewed by Kenneth Rohde Christiansen.
 
6039
 
 
6040
        Move resource pixmap cache into ImageQt.cpp.
 
6041
 
 
6042
        * Api/qwebsettings.cpp:
 
6043
        (resourceNameForWebGraphic): Helper function to translate between public API enums and
 
6044
        resource names.
 
6045
        (QWebSettings::setWebGraphic): Call the new ImageQt::setPlatformResource setter.
 
6046
        (QWebSettings::webGraphic): Call Image::loadPlatformResource to read from the cache
 
6047
        in WebCore.
 
6048
 
 
6049
2011-11-17  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
6050
 
 
6051
        [Qt] Move WebKit2 C++ APIs to private API and build QML extension plugin on top of that
 
6052
 
 
6053
        A new extension object has been added to QQuickWebView (the same approach should be used
 
6054
        for other API classes that need experimental APIs). The QML extension mechanism is then
 
6055
        built on top of the experimental object.
 
6056
 
 
6057
        https://bugs.webkit.org/show_bug.cgi?id=72522
 
6058
 
 
6059
        Reviewed by Simon Hausmann.
 
6060
 
 
6061
        * declarative/declarative.pro:
 
6062
        * declarative/experimental/experimental.pri: Renamed from Source/WebKit/qt/declarative/private/private.pro.
 
6063
        * declarative/experimental/plugin.cpp: Renamed from Source/WebKit/qt/declarative/private/plugin.cpp.
 
6064
        (QQuickWebViewExperimentalExtension::QQuickWebViewExperimentalExtension):
 
6065
        (QQuickWebViewExperimentalExtension::experimental):
 
6066
        * declarative/experimental/qmldir: Renamed from Source/WebKit/qt/declarative/private/qmldir.
 
6067
        * declarative/plugin.cpp:
 
6068
        * declarative/public.pri: Copied from Source/WebKit/qt/declarative/declarative.pro.
 
6069
 
 
6070
2011-11-16  Sheriff Bot  <webkit.review.bot@gmail.com>
 
6071
 
 
6072
        Unreviewed, rolling out r100448.
 
6073
        http://trac.webkit.org/changeset/100448
 
6074
        https://bugs.webkit.org/show_bug.cgi?id=72512
 
6075
 
 
6076
        It caused a regression breaking LayoutTests/http/tests/loading
 
6077
        /text-content-type-with-binary-extension.html (Requested by
 
6078
        jeez_ on #webkit).
 
6079
 
 
6080
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
6081
        (WebCore::FrameLoaderClientQt::canShowMIMEType):
 
6082
 
 
6083
2011-11-16  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
 
6084
 
 
6085
        [Qt] FrameLoaderClientQt::canShowMIMEType should always return true
 
6086
        https://bugs.webkit.org/show_bug.cgi?id=72169
 
6087
 
 
6088
        Reviewed by Simon Hausmann.
 
6089
 
 
6090
        Currently FrameLoaderClientQt::canShowMIMEType is called after
 
6091
        dispatchDecidePolicyForResponse. If decidePolicyForResponse returns
 
6092
        PolicyUse and canShowMIMEType returns false, then we have a bug.
 
6093
        Therefore, FrameLoaderClientQt::canShowMIMEType now will always
 
6094
        return true, following the implemenation of WebKit2.
 
6095
 
 
6096
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
6097
        (WebCore::FrameLoaderClientQt::canShowMIMEType):
 
6098
 
 
6099
2011-11-15  Huang Dongsung  <luxtella@company100.net>
 
6100
 
 
6101
        [TexMap][Qt] Start PageClientQ[Graphics]Widget::syncTimer only when the syncTimer
 
6102
        is inactive.
 
6103
        https://bugs.webkit.org/show_bug.cgi?id=70407
 
6104
 
 
6105
        Make sure we only activate the synchronization timer in
 
6106
        PageClientQWidget/PageClientQGraphicsWidget if it's not already active,
 
6107
        otherwise syncLayers may be called redundantly.
 
6108
 
 
6109
        Reviewed by Noam Rosenthal.
 
6110
 
 
6111
        * WebCoreSupport/PageClientQt.cpp:
 
6112
        (WebCore::PageClientQWidget::markForSync):
 
6113
        (WebCore::PageClientQWidget::syncLayers):
 
6114
        (WebCore::PageClientQGraphicsWidget::syncLayers):
 
6115
        (WebCore::PageClientQGraphicsWidget::markForSync):
 
6116
        * WebCoreSupport/PageClientQt.h:
 
6117
        (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
 
6118
 
 
6119
2011-11-15  Jochen Eisinger  <jochen@chromium.org>
 
6120
 
 
6121
        Rename ReferrerPolicy to clarify its meaning
 
6122
        https://bugs.webkit.org/show_bug.cgi?id=72420
 
6123
 
 
6124
        Reviewed by Nate Chapin.
 
6125
 
 
6126
        * Api/qwebpage.cpp:
 
6127
        (openNewWindow):
 
6128
        (QWebPage::triggerAction):
 
6129
 
 
6130
2011-11-15  Anders Carlsson  <andersca@apple.com>
 
6131
 
 
6132
        HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
 
6133
        https://bugs.webkit.org/show_bug.cgi?id=72397
 
6134
 
 
6135
        Reviewed by Dan Bernstein.
 
6136
 
 
6137
        * WebCoreSupport/ChromeClientQt.cpp:
 
6138
        (WebCore::ChromeClientQt::rootViewToScreen):
 
6139
        (WebCore::ChromeClientQt::screenToRootView):
 
6140
        * WebCoreSupport/ChromeClientQt.h:
 
6141
 
 
6142
2011-11-14  Anders Carlsson  <andersca@apple.com>
 
6143
 
 
6144
        HostWindow invalidation functions should use root view coordinates
 
6145
        https://bugs.webkit.org/show_bug.cgi?id=72338
 
6146
 
 
6147
        Reviewed by Dan Bernstein.
 
6148
 
 
6149
        * WebCoreSupport/ChromeClientQt.cpp:
 
6150
        (WebCore::ChromeClientQt::invalidateRootView):
 
6151
        (WebCore::ChromeClientQt::invalidateContentsAndRootView):
 
6152
        (WebCore::ChromeClientQt::invalidateContentsForSlowScroll):
 
6153
        * WebCoreSupport/ChromeClientQt.h:
 
6154
 
 
6155
2011-11-11  Pierre Rossi  <pierre.rossi@gmail.com>
 
6156
 
 
6157
        [Qt] Remove the QStyle dependency in Qt's mobile theme
 
6158
        https://bugs.webkit.org/show_bug.cgi?id=67773
 
6159
 
 
6160
        This refactoring splits up RenderThemeQt with two
 
6161
        subclasses, a QStyle-backed one, and a Mobile version
 
6162
        that uses the old mobile theme for now.
 
6163
 
 
6164
        QStyle availability is detected at compile time, and
 
6165
        its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
 
6166
        environment variable.
 
6167
 
 
6168
        Reviewed by Simon Hausmann.
 
6169
 
 
6170
        * Api/qwebpage.cpp:
 
6171
        (QWebPage::swallowContextMenuEvent):
 
6172
        * tests/tests.pri:
 
6173
 
 
6174
2011-11-11  Luiz Agostini  <luiz.agostini@palm.com>
 
6175
 
 
6176
        [Qt] Removing unneeded #ifdef from PopupMenuQt.cpp
 
6177
        https://bugs.webkit.org/show_bug.cgi?id=72193
 
6178
 
 
6179
        Reviewed by Noam Rosenthal.
 
6180
 
 
6181
        Part of PopupMenuQt.cpp code is guarded by #ifndef QT_NO_COMBOBOX although that
 
6182
        code is not related to the class QComboBox.
 
6183
 
 
6184
        * WebCoreSupport/PopupMenuQt.cpp:
 
6185
        (WebCore::PopupMenuQt::show):
 
6186
 
 
6187
2011-11-11  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
 
6188
 
 
6189
        [Qt] Skip tests when no network is present
 
6190
        https://bugs.webkit.org/show_bug.cgi?id=72031
 
6191
 
 
6192
        Reviewed by Simon Hausmann.
 
6193
 
 
6194
        Some benchmark tests requires network connection (they fetch data from
 
6195
        external URL's) and so they fail if no network is present. These tests
 
6196
        should be skipped instead.
 
6197
 
 
6198
        * tests/benchmarks/loading/tst_loading.cpp:
 
6199
        (tst_Loading::load): Skip test if no network is present.
 
6200
        * tests/benchmarks/painting/tst_painting.cpp:
 
6201
        (tst_Painting::paint): Skip test if no network is present.
 
6202
 
 
6203
2011-11-11  Sheriff Bot  <webkit.review.bot@gmail.com>
 
6204
 
 
6205
        Unreviewed, rolling out r99964.
 
6206
        http://trac.webkit.org/changeset/99964
 
6207
        https://bugs.webkit.org/show_bug.cgi?id=72124
 
6208
 
 
6209
        Broke too many Qt tests (Requested by tronical_ on #webkit).
 
6210
 
 
6211
        * Api/qwebpage.cpp:
 
6212
        (QWebPage::swallowContextMenuEvent):
 
6213
        * tests/tests.pri:
 
6214
 
 
6215
2011-11-11  Pierre Rossi  <pierre.rossi@gmail.com>
 
6216
 
 
6217
        [Qt] Remove the QStyle dependency in Qt's mobile theme
 
6218
        https://bugs.webkit.org/show_bug.cgi?id=67773
 
6219
 
 
6220
        This refactoring splits up RenderThemeQt with two
 
6221
        subclasses, a QStyle-backed one, and a Mobile version
 
6222
        that uses the old mobile theme for now.
 
6223
 
 
6224
        QStyle availability is detected at compile time, and
 
6225
        its use is determined by the QT_WEBKIT_USE_MOBILE_THEME
 
6226
        environment variable.
 
6227
 
 
6228
        Reviewed by Simon Hausmann.
 
6229
 
 
6230
        * Api/qwebpage.cpp:
 
6231
        (QWebPage::swallowContextMenuEvent):
 
6232
        * tests/tests.pri:
 
6233
 
 
6234
2011-11-11  Alexis Menard  <alexis.menard@openbossa.org>
 
6235
 
 
6236
        [Qt] Add a way to have experimental features in WebKit2
 
6237
        https://bugs.webkit.org/show_bug.cgi?id=67707
 
6238
 
 
6239
        Reviewed by Kenneth Rohde Christiansen.
 
6240
 
 
6241
        This patch is adding a new module for accessing private
 
6242
        method and property from the view. It requires an import
 
6243
        QtWebKit.private in QML to be used.
 
6244
 
 
6245
        * declarative/private/plugin.cpp: Added.
 
6246
        (WebKitQmlPluginPrivate::registerTypes):
 
6247
        * declarative/private/private.pro: Added.
 
6248
        * declarative/private/qmldir: Added.
 
6249
 
 
6250
2011-11-11  Simon Hausmann  <simon.hausmann@nokia.com>
 
6251
 
 
6252
        [Qt][WK2] Remove QWebNavigationController
 
6253
        https://bugs.webkit.org/show_bug.cgi?id=72113
 
6254
 
 
6255
        Reviewed by Andreas Kling.
 
6256
 
 
6257
        * declarative/plugin.cpp:
 
6258
        (WebKitQmlPlugin::registerTypes): Don't register QWebNavigationController with qml.
 
6259
 
 
6260
2011-11-03  Luiz Agostini  <luiz.agostini@palm.com>
 
6261
 
 
6262
        [Qt] Adding methods setGeometry and setFont to QWebSelectMethod class.
 
6263
        https://bugs.webkit.org/show_bug.cgi?id=71530
 
6264
 
 
6265
        Reviewed by Simon Hausmann.
 
6266
 
 
6267
        Adding methods setGeometry and setFont so that users of platform plugin may show the
 
6268
        popup menus in proper position and using proper font.
 
6269
 
 
6270
        * Api/qwebkitplatformplugin.h:
 
6271
        * WebCoreSupport/PopupMenuQt.cpp:
 
6272
        (WebCore::PopupMenuQt::show):
 
6273
        * examples/platformplugin/WebPlugin.h:
 
6274
        (WebPopup::setGeometry):
 
6275
        (WebPopup::setFont):
 
6276
        * examples/platformplugin/qwebkitplatformplugin.h:
 
6277
 
 
6278
2011-11-10  Alexis Menard  <alexis.menard@openbossa.org>
 
6279
 
 
6280
        [Qt] Merge QTouchWebView and QDesktopWebView into one class
 
6281
        https://bugs.webkit.org/show_bug.cgi?id=71355
 
6282
 
 
6283
        Reviewed by Kenneth Rohde Christiansen.
 
6284
 
 
6285
        Register only QQuickWebView and QQuickWebPage in the plugin.
 
6286
 
 
6287
        * declarative/plugin.cpp:
 
6288
        (WebKitQmlPlugin::registerTypes):
 
6289
 
 
6290
2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
 
6291
 
 
6292
        [Qt] Enable exports and constructor functions in static libs
 
6293
 
 
6294
        Reviewed by Tor Arne Vestbø.
 
6295
 
 
6296
        * Api/qwebpage.cpp:
 
6297
        (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
 
6298
        initialization.
 
6299
 
 
6300
2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
 
6301
 
 
6302
        Unreviewed, rolling out r99701.
 
6303
        http://trac.webkit.org/changeset/99701
 
6304
 
 
6305
        Breaks Qt mac build
 
6306
 
 
6307
        * Api/qwebpage.cpp:
 
6308
        (initResources):
 
6309
        (QWebPagePrivate::QWebPagePrivate):
 
6310
 
 
6311
2011-11-09  Simon Hausmann  <simon.hausmann@nokia.com>
 
6312
 
 
6313
        [Qt] Enable exports and constructor functions in static libs
 
6314
 
 
6315
        Reviewed by Tor Arne Vestbø.
 
6316
 
 
6317
        * Api/qwebpage.cpp:
 
6318
        (QWebPagePrivate::QWebPagePrivate): Remove unnecessary manual Qt resource
 
6319
        initialization.
 
6320
 
 
6321
2011-11-09  Deepak Sherveghar  <bpwv64@motorola.com>
 
6322
 
 
6323
        [Qt] 4 Layout test fail due to network error constant values clash with WebkitError enum values in FrameloaderclientQt
 
6324
        https://bugs.webkit.org/show_bug.cgi?id=71554
 
6325
 
 
6326
        Reviewed by Simon Hausmann.
 
6327
 
 
6328
        We should check the error domain when checking the error code in shouldFallBack()
 
6329
 
 
6330
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
6331
        (WebCore::FrameLoaderClientQt::shouldFallBack): added error domain check
 
6332
 
 
6333
2011-11-08  Simon Hausmann  <simon.hausmann@nokia.com>
 
6334
 
 
6335
        [Qt] Replace use of QApplication with QGuiApplication
 
6336
        https://bugs.webkit.org/show_bug.cgi?id=71794
 
6337
 
 
6338
        Reviewed by Andreas Kling.
 
6339
 
 
6340
        * WebCoreSupport/QtWebComboBox.cpp:
 
6341
        (WebCore::QtWebComboBox::showPopupAtCursorPosition): Replace use of QApplication
 
6342
        with QCoreApplication.
 
6343
 
 
6344
2011-11-07  Adam Barth  <abarth@webkit.org>
 
6345
 
 
6346
        Move static "policy" state from SecurityOrigin.cpp to SecurityPolicy.cpp
 
6347
        https://bugs.webkit.org/show_bug.cgi?id=71755
 
6348
 
 
6349
        Reviewed by Eric Seidel.
 
6350
 
 
6351
        * Api/qwebpage.cpp:
 
6352
        (QWebPagePrivate::QWebPagePrivate):
 
6353
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
6354
        (DumpRenderTreeSupportQt::whiteListAccessFromOrigin):
 
6355
        (DumpRenderTreeSupportQt::removeWhiteListAccessFromOrigin):
 
6356
        (DumpRenderTreeSupportQt::resetOriginAccessWhiteLists):
 
6357
 
 
6358
2011-11-08  Luiz Agostini  <luiz.agostini@palm.com>
 
6359
 
 
6360
        [Qt] Removing qwebkitglobal.h inclusion from qwebkitplatformplugin.h
 
6361
        https://bugs.webkit.org/show_bug.cgi?id=71759
 
6362
 
 
6363
        Reviewed by Simon Hausmann.
 
6364
 
 
6365
        qwebkitplatformplugin.h must not depend on qwebkitglobal.h.
 
6366
 
 
6367
        * Api/qwebkitplatformplugin.h:
 
6368
 
 
6369
        Updating the copy of qwebkitplatformplugin.h that is used by the example plugin. The previous
 
6370
        one was very outdated.
 
6371
 
 
6372
        * examples/platformplugin/qwebkitplatformplugin.h:
 
6373
 
 
6374
2011-11-07  Adam Barth  <abarth@webkit.org>
 
6375
 
 
6376
        Move DomainRelaxationForbidden scheme registry to SchemeRegistry
 
6377
        https://bugs.webkit.org/show_bug.cgi?id=71750
 
6378
 
 
6379
        Reviewed by Eric Seidel.
 
6380
 
 
6381
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
6382
        (DumpRenderTreeSupportQt::setDomainRelaxationForbiddenForURLScheme):
 
6383
 
 
6384
2011-11-07  Michael Saboff  <msaboff@apple.com>
 
6385
 
 
6386
        Towards 8 Bit Strings: Templatize JSC::Lexer class by character type
 
6387
        https://bugs.webkit.org/show_bug.cgi?id=71331
 
6388
 
 
6389
        Changed Identifier() constructor to use JSGlobalData*.
 
6390
 
 
6391
        Reviewed by Darin Adler.
 
6392
 
 
6393
        * Api/qwebframe.cpp:
 
6394
        (QWebFrame::addToJavaScriptWindowObject):
 
6395
 
 
6396
2011-11-07  Simon Hausmann  <simon.hausmann@nokia.com>
 
6397
 
 
6398
        [Qt] Fix failing inspector tests after build system changes
 
6399
        https://bugs.webkit.org/show_bug.cgi?id=71677
 
6400
 
 
6401
        Reviewed by Tor Arne Vestbø.
 
6402
 
 
6403
        Ensure symbols from the qt resource system are referenced
 
6404
        from outside the static webcore library. One way of doing that is
 
6405
        to initialize the resources right away, as explained in the documentation
 
6406
        of th Qt resource system.
 
6407
 
 
6408
        * Api/qwebpage.cpp:
 
6409
        (initResources):
 
6410
        (QWebPagePrivate::QWebPagePrivate):
 
6411
 
 
6412
2011-11-04  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
6413
 
 
6414
        [Qt] Refactor and clean up the qmake build system
 
6415
 
 
6416
        The qmake build system has accumulated a bit of cruft and redundancy
 
6417
        over time. There's also a fairly tight coupling between how to build
 
6418
        the various targets, and _what_ to build, making it harder to add new
 
6419
        rules or sources. This patch aims to elevate these issues somewhat.
 
6420
 
 
6421
        This is a short-list of the changes:
 
6422
 
 
6423
          * The rules for how to build targets are now mostly contained as
 
6424
            prf-files in Tools/qmake/mkspecs/features. Using mkspecs also
 
6425
            allows us to do pre- and post-processing of each project file,
 
6426
            which helps to clean up the actual project files.
 
6427
 
 
6428
          * Derived sources are no longer generated as a separate make-step
 
6429
            but is part of each target's project file as a subdir. Makefile
 
6430
            rules are used to ensure that we run make on the derived sources
 
6431
            before running qmake on the actual target makefile. This makes
 
6432
            it easier to keep a proper dependency between derived sources
 
6433
            and the target.
 
6434
 
 
6435
          * We use GNU make and the compiler to generate dependencies on
 
6436
            UNIX-based systems running Qt 5. This allows us to lessen the
 
6437
            need to run qmake, which should reduce compile time.
 
6438
 
 
6439
          * WebKit2 is now build by default if building with Qt 5. It can
 
6440
            be disabled by passing --no-webkit2 to build-webkit.
 
6441
 
 
6442
        The result of these changes are hopefully a cleaner and easier
 
6443
        build system to modify, and faster build times due to no longer
 
6444
        running qmake on every single build. It's also a first step
 
6445
        towards possibly generating the list of sources using another
 
6446
        build system.
 
6447
 
 
6448
        https://bugs.webkit.org/show_bug.cgi?id=71222
 
6449
 
 
6450
        Reviewed by Simon Hausmann.
 
6451
 
 
6452
        * Api/DerivedSources.pro: Removed.
 
6453
        * Api/headers.pri: Removed.
 
6454
        * Api/qwebpage.cpp:
 
6455
        (QWebPagePrivate::QWebPagePrivate):
 
6456
        * QtWebKit.pro: Removed.
 
6457
        * WebCoreSupport/FrameLoaderClientQt.h: Rename due to name clash with WK2 header
 
6458
        * WebCoreSupport/PlatformStrategiesQt.cpp: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.cpp.
 
6459
        (PlatformStrategiesQt::initialize):
 
6460
        (PlatformStrategiesQt::PlatformStrategiesQt):
 
6461
        (PlatformStrategiesQt::createCookiesStrategy):
 
6462
        (PlatformStrategiesQt::createPluginStrategy):
 
6463
        (PlatformStrategiesQt::createLocalizationStrategy):
 
6464
        (PlatformStrategiesQt::createVisitedLinkStrategy):
 
6465
        (PlatformStrategiesQt::notifyCookiesChanged):
 
6466
        (PlatformStrategiesQt::refreshPlugins):
 
6467
        (PlatformStrategiesQt::getPluginInfo):
 
6468
        (PlatformStrategiesQt::inputElementAltText):
 
6469
        (PlatformStrategiesQt::resetButtonDefaultLabel):
 
6470
        (PlatformStrategiesQt::searchableIndexIntroduction):
 
6471
        (PlatformStrategiesQt::submitButtonDefaultLabel):
 
6472
        (PlatformStrategiesQt::fileButtonChooseFileLabel):
 
6473
        (PlatformStrategiesQt::fileButtonChooseMultipleFilesLabel):
 
6474
        (PlatformStrategiesQt::fileButtonNoFileSelectedLabel):
 
6475
        (PlatformStrategiesQt::fileButtonNoFilesSelectedLabel):
 
6476
        (PlatformStrategiesQt::defaultDetailsSummaryText):
 
6477
        (PlatformStrategiesQt::contextMenuItemTagOpenLinkInNewWindow):
 
6478
        (PlatformStrategiesQt::contextMenuItemTagDownloadLinkToDisk):
 
6479
        (PlatformStrategiesQt::contextMenuItemTagCopyLinkToClipboard):
 
6480
        (PlatformStrategiesQt::contextMenuItemTagOpenImageInNewWindow):
 
6481
        (PlatformStrategiesQt::contextMenuItemTagDownloadImageToDisk):
 
6482
        (PlatformStrategiesQt::contextMenuItemTagCopyImageToClipboard):
 
6483
        (PlatformStrategiesQt::contextMenuItemTagCopyImageUrlToClipboard):
 
6484
        (PlatformStrategiesQt::contextMenuItemTagOpenVideoInNewWindow):
 
6485
        (PlatformStrategiesQt::contextMenuItemTagOpenAudioInNewWindow):
 
6486
        (PlatformStrategiesQt::contextMenuItemTagCopyVideoLinkToClipboard):
 
6487
        (PlatformStrategiesQt::contextMenuItemTagCopyAudioLinkToClipboard):
 
6488
        (PlatformStrategiesQt::contextMenuItemTagToggleMediaControls):
 
6489
        (PlatformStrategiesQt::contextMenuItemTagToggleMediaLoop):
 
6490
        (PlatformStrategiesQt::contextMenuItemTagEnterVideoFullscreen):
 
6491
        (PlatformStrategiesQt::contextMenuItemTagMediaPlay):
 
6492
        (PlatformStrategiesQt::contextMenuItemTagMediaPause):
 
6493
        (PlatformStrategiesQt::contextMenuItemTagMediaMute):
 
6494
        (PlatformStrategiesQt::contextMenuItemTagOpenFrameInNewWindow):
 
6495
        (PlatformStrategiesQt::contextMenuItemTagCopy):
 
6496
        (PlatformStrategiesQt::contextMenuItemTagGoBack):
 
6497
        (PlatformStrategiesQt::contextMenuItemTagGoForward):
 
6498
        (PlatformStrategiesQt::contextMenuItemTagStop):
 
6499
        (PlatformStrategiesQt::contextMenuItemTagReload):
 
6500
        (PlatformStrategiesQt::contextMenuItemTagCut):
 
6501
        (PlatformStrategiesQt::contextMenuItemTagPaste):
 
6502
        (PlatformStrategiesQt::contextMenuItemTagSelectAll):
 
6503
        (PlatformStrategiesQt::contextMenuItemTagNoGuessesFound):
 
6504
        (PlatformStrategiesQt::contextMenuItemTagIgnoreSpelling):
 
6505
        (PlatformStrategiesQt::contextMenuItemTagLearnSpelling):
 
6506
        (PlatformStrategiesQt::contextMenuItemTagSearchWeb):
 
6507
        (PlatformStrategiesQt::contextMenuItemTagLookUpInDictionary):
 
6508
        (PlatformStrategiesQt::contextMenuItemTagOpenLink):
 
6509
        (PlatformStrategiesQt::contextMenuItemTagIgnoreGrammar):
 
6510
        (PlatformStrategiesQt::contextMenuItemTagSpellingMenu):
 
6511
        (PlatformStrategiesQt::contextMenuItemTagShowSpellingPanel):
 
6512
        (PlatformStrategiesQt::contextMenuItemTagCheckSpelling):
 
6513
        (PlatformStrategiesQt::contextMenuItemTagCheckSpellingWhileTyping):
 
6514
        (PlatformStrategiesQt::contextMenuItemTagCheckGrammarWithSpelling):
 
6515
        (PlatformStrategiesQt::contextMenuItemTagFontMenu):
 
6516
        (PlatformStrategiesQt::contextMenuItemTagBold):
 
6517
        (PlatformStrategiesQt::contextMenuItemTagItalic):
 
6518
        (PlatformStrategiesQt::contextMenuItemTagUnderline):
 
6519
        (PlatformStrategiesQt::contextMenuItemTagOutline):
 
6520
        (PlatformStrategiesQt::contextMenuItemTagWritingDirectionMenu):
 
6521
        (PlatformStrategiesQt::contextMenuItemTagTextDirectionMenu):
 
6522
        (PlatformStrategiesQt::contextMenuItemTagDefaultDirection):
 
6523
        (PlatformStrategiesQt::contextMenuItemTagLeftToRight):
 
6524
        (PlatformStrategiesQt::contextMenuItemTagRightToLeft):
 
6525
        (PlatformStrategiesQt::contextMenuItemTagInspectElement):
 
6526
        (PlatformStrategiesQt::searchMenuNoRecentSearchesText):
 
6527
        (PlatformStrategiesQt::searchMenuRecentSearchesText):
 
6528
        (PlatformStrategiesQt::searchMenuClearRecentSearchesText):
 
6529
        (PlatformStrategiesQt::AXWebAreaText):
 
6530
        (PlatformStrategiesQt::AXLinkText):
 
6531
        (PlatformStrategiesQt::AXListMarkerText):
 
6532
        (PlatformStrategiesQt::AXImageMapText):
 
6533
        (PlatformStrategiesQt::AXHeadingText):
 
6534
        (PlatformStrategiesQt::AXDefinitionListTermText):
 
6535
        (PlatformStrategiesQt::AXDefinitionListDefinitionText):
 
6536
        (PlatformStrategiesQt::AXButtonActionVerb):
 
6537
        (PlatformStrategiesQt::AXRadioButtonActionVerb):
 
6538
        (PlatformStrategiesQt::AXTextFieldActionVerb):
 
6539
        (PlatformStrategiesQt::AXCheckedCheckBoxActionVerb):
 
6540
        (PlatformStrategiesQt::AXUncheckedCheckBoxActionVerb):
 
6541
        (PlatformStrategiesQt::AXMenuListActionVerb):
 
6542
        (PlatformStrategiesQt::AXMenuListPopupActionVerb):
 
6543
        (PlatformStrategiesQt::AXLinkActionVerb):
 
6544
        (PlatformStrategiesQt::missingPluginText):
 
6545
        (PlatformStrategiesQt::crashedPluginText):
 
6546
        (PlatformStrategiesQt::multipleFileUploadText):
 
6547
        (PlatformStrategiesQt::unknownFileSizeText):
 
6548
        (PlatformStrategiesQt::imageTitle):
 
6549
        (PlatformStrategiesQt::mediaElementLoadingStateText):
 
6550
        (PlatformStrategiesQt::mediaElementLiveBroadcastStateText):
 
6551
        (PlatformStrategiesQt::localizedMediaControlElementString):
 
6552
        (PlatformStrategiesQt::localizedMediaControlElementHelpText):
 
6553
        (PlatformStrategiesQt::localizedMediaTimeDescription):
 
6554
        (PlatformStrategiesQt::validationMessageValueMissingText):
 
6555
        (PlatformStrategiesQt::validationMessageTypeMismatchText):
 
6556
        (PlatformStrategiesQt::validationMessagePatternMismatchText):
 
6557
        (PlatformStrategiesQt::validationMessageTooLongText):
 
6558
        (PlatformStrategiesQt::validationMessageRangeUnderflowText):
 
6559
        (PlatformStrategiesQt::validationMessageRangeOverflowText):
 
6560
        (PlatformStrategiesQt::validationMessageStepMismatchText):
 
6561
        (PlatformStrategiesQt::isLinkVisited):
 
6562
        (PlatformStrategiesQt::addVisitedLink):
 
6563
        * WebCoreSupport/PlatformStrategiesQt.h: Renamed from Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.h.
 
6564
        * declarative/declarative.pro:
 
6565
        * docs/docs.pri:
 
6566
        * docs/webkitsnippets/webelement/webelement.pro:
 
6567
        * tests/MIMESniffing/MIMESniffing.pro:
 
6568
        * tests/benchmarks/loading/loading.pro:
 
6569
        * tests/benchmarks/painting/painting.pro:
 
6570
        * tests/benchmarks/webgl/webgl.pro:
 
6571
        * tests/hybridPixmap/hybridPixmap.pro:
 
6572
        * tests/qdeclarativewebview/qdeclarativewebview.pro:
 
6573
        * tests/qgraphicswebview/qgraphicswebview.pro:
 
6574
        * tests/qwebelement/qwebelement.pro:
 
6575
        * tests/qwebframe/qwebframe.pro:
 
6576
        * tests/qwebhistory/qwebhistory.pro:
 
6577
        * tests/qwebhistoryinterface/qwebhistoryinterface.pro:
 
6578
        * tests/qwebinspector/qwebinspector.pro:
 
6579
        * tests/qwebpage/qwebpage.pro:
 
6580
        * tests/qwebplugindatabase/qwebplugindatabase.pro:
 
6581
        * tests/qwebview/qwebview.pro:
 
6582
        * tests/tests.pri:
 
6583
        * tests/tests.pro: Removed.
 
6584
 
 
6585
2011-11-03  Rafael Brandao  <rafael.lobo@openbossa.org>
 
6586
 
 
6587
        Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
 
6588
        https://bugs.webkit.org/show_bug.cgi?id=61042
 
6589
 
 
6590
        Reviewed by Simon Hausmann.
 
6591
        
 
6592
        At some points we didn't have any guarantee that a favicon has been loaded, so now
 
6593
        it stops to wait for the IconChanged signal. It also had some file paths in wrong format,
 
6594
        making some files to not be resolved and comparing meaningless bitmaps.
 
6595
 
 
6596
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
6597
        (tst_QDeclarativeWebView::initTestCase):
 
6598
        (tst_QDeclarativeWebView::basicProperties):
 
6599
        (tst_QDeclarativeWebView::historyNav):
 
6600
 
 
6601
2011-11-03  Simon Hausmann  <simon.hausmann@nokia.com>
 
6602
 
 
6603
        [Qt] Remove Maemo specific code paths
 
6604
        https://bugs.webkit.org/show_bug.cgi?id=71476
 
6605
 
 
6606
        Reviewed by Kenneth Rohde Christiansen.
 
6607
 
 
6608
        * Api/qwebpage.cpp:
 
6609
        (QWebPage::userAgentForUrl):
 
6610
        * Api/qwebview.cpp:
 
6611
        (QWebView::QWebView):
 
6612
        * QtWebKit.pro:
 
6613
        * WebCoreSupport/ChromeClientQt.cpp:
 
6614
        (WebCore::ChromeClientQt::createSelectPopup):
 
6615
        * WebCoreSupport/EditorClientQt.cpp:
 
6616
        (WebCore::EditorClientQt::setInputMethodState):
 
6617
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
6618
        (WebCore::FrameLoaderClientQt::createPlugin):
 
6619
        * WebCoreSupport/QtMaemoWebPopup.cpp: Removed.
 
6620
        * WebCoreSupport/QtMaemoWebPopup.h: Removed.
 
6621
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
6622
        (tst_QGraphicsWebView::focusInputTypes):
 
6623
        * tests/qwebframe/tst_qwebframe.cpp:
 
6624
        * tests/qwebview/tst_qwebview.cpp:
 
6625
        (tst_QWebView::focusInputTypes):
 
6626
 
 
6627
2011-11-03  Jesus Sanchez-Palencia  <jesus@webkit.org>
 
6628
 
 
6629
        Reviewed by Kenneth Rohde Christiansen.
 
6630
 
 
6631
        [Qt] QtWebKit should have documentation clarifying its mobile features usage
 
6632
        https://bugs.webkit.org/show_bug.cgi?id=41465
 
6633
 
 
6634
        Add "QtWebKit Goes Mobile" documentation
 
6635
 
 
6636
        * docs/qtwebkit-goes-mobile.qdoc: Added.
 
6637
        * docs/qtwebkit.qdoc: Linked to qtwebkit-goes-mobile documentation
 
6638
        * docs/webkitsnippets/qtwebkit_goes_mobile_snippets.cpp: Added.
 
6639
 
 
6640
2011-11-03  Fady Samuel  <fsamuel@chromium.org>
 
6641
 
 
6642
        Removing line in computeViewportAttributes that enforces a minimum scale factor to never allow zooming out more than viewport
 
6643
        https://bugs.webkit.org/show_bug.cgi?id=70609
 
6644
 
 
6645
        Reviewed by Kenneth Rohde Christiansen.
 
6646
 
 
6647
        * Api/qwebpage.cpp:
 
6648
        (QWebPage::viewportAttributesForSize):
 
6649
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
6650
        (DumpRenderTreeSupportQt::viewportAsText):
 
6651
 
 
6652
2011-11-03  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
 
6653
 
 
6654
        [Qt][WK2] Download support and API in UIProcess
 
6655
        https://bugs.webkit.org/show_bug.cgi?id=68962
 
6656
 
 
6657
        Reviewed by Simon Hausmann.
 
6658
 
 
6659
        Registering new qml type QWebDownloadItem.
 
6660
 
 
6661
        * declarative/plugin.cpp:
 
6662
        (WebKitQmlPlugin::registerTypes):
 
6663
 
 
6664
2011-11-02  Jon Lee  <jonlee@apple.com>
 
6665
 
 
6666
        Expand DragController to provide more information about the dragging session
 
6667
        https://bugs.webkit.org/show_bug.cgi?id=71324
 
6668
        <rdar://problem/10379175>
 
6669
 
 
6670
        Reviewed by Darin Adler.
 
6671
 
 
6672
        * Api/qwebpage.cpp:
 
6673
        (QWebPagePrivate::dragEnterEvent): Minor refactoring because operation is stored in
 
6674
        new DragSession struct.
 
6675
        (QWebPagePrivate::dragMoveEvent): Ditto.
 
6676
 
 
6677
2011-11-02  Tom Sepez  <tsepez@chromium.org>
 
6678
 
 
6679
        XSSAuditor is silent
 
6680
        https://bugs.webkit.org/show_bug.cgi?id=70973
 
6681
 
 
6682
        Reviewed by Adam Barth.
 
6683
 
 
6684
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
6685
        (WebCore::FrameLoaderClientQt::didDetectXSS):
 
6686
        * WebCoreSupport/FrameLoaderClientQt.h:
 
6687
 
 
6688
2011-11-02  Jon Lee  <jonlee@apple.com>
 
6689
 
 
6690
        <input=file multiple> default text uses singular instead of plural
 
6691
        https://bugs.webkit.org/show_bug.cgi?id=71319
 
6692
        <rdar://problem/10379021>
 
6693
 
 
6694
        Reviewed by Darin Adler.
 
6695
 
 
6696
        * WebCoreSupport/WebPlatformStrategies.cpp:
 
6697
        (WebPlatformStrategies::fileButtonNoFilesSelectedLabel):
 
6698
        * WebCoreSupport/WebPlatformStrategies.h:
 
6699
 
 
6700
2011-11-02  Deepak Sherveghar  <bpwv64@motorola.com>
 
6701
 
 
6702
        [Qt] Failing test media/video-document-types.html
 
6703
        https://bugs.webkit.org/show_bug.cgi?id=62108
 
6704
 
 
6705
        Reviewed by Simon Hausmann.
 
6706
 
 
6707
        Match what Mac has been doing since r36001: cancel the main load,
 
6708
        and handle failures caused by 'will be handled by plugin' errors.
 
6709
 
 
6710
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
6711
        (WebCore::FrameLoaderClientQt::committedLoad):
 
6712
        (WebCore::FrameLoaderClientQt::shouldFallBack):
 
6713
 
 
6714
2011-11-01  Simon Hausmann  <simon.hausmann@nokia.com>
 
6715
 
 
6716
        [Qt][WK2] Fix build of WebKitTestRunner with ELF symbol visibility
 
6717
        https://bugs.webkit.org/show_bug.cgi?id=71299
 
6718
 
 
6719
        Reviewed by Andreas Kling.
 
6720
 
 
6721
        Export an overload of QtDRT::injectInternalsObjects that is used by
 
6722
        the WK2 injected bundle.
 
6723
 
 
6724
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
6725
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
6726
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
6727
 
 
6728
2011-11-01  Alexis Menard  <alexis.menard@openbossa.org>
 
6729
 
 
6730
        Unreviewed Qt documentation fix.
 
6731
 
 
6732
        This signal is Qt 4.8 material.
 
6733
 
 
6734
        * Api/qwebpage.cpp:
 
6735
 
 
6736
2011-10-31  Mark Hahnenberg  <mhahnenberg@apple.com>
 
6737
 
 
6738
        De-virtualize JSObject::defineGetter
 
6739
        https://bugs.webkit.org/show_bug.cgi?id=71134
 
6740
 
 
6741
        Reviewed by Darin Adler.
 
6742
 
 
6743
        Added defineGetter to the MethodTable.  Replaced all virtual versions of defineGetter
 
6744
        with static versions.  Replaced all call sites with lookups in the MethodTable.
 
6745
 
 
6746
        * Api/qwebframe.cpp:
 
6747
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
6748
 
 
6749
2011-10-28  Jochen Eisinger  <jochen@chromium.org>
 
6750
 
 
6751
        Rename a number of methods mentioning JavaScript to just Script instead
 
6752
        https://bugs.webkit.org/show_bug.cgi?id=71105
 
6753
 
 
6754
        Reviewed by Adam Barth.
 
6755
 
 
6756
        * Api/qwebsettings.cpp:
 
6757
        (QWebSettingsPrivate::apply):
 
6758
 
 
6759
2011-10-28  Simon Hausmann  <simon.hausmann@nokia.com>
 
6760
 
 
6761
        [Qt] Adapt to QSG* to QQuick* API change in qtdeclarative
 
6762
        https://bugs.webkit.org/show_bug.cgi?id=70494
 
6763
 
 
6764
        Reviewed by Kenneth Christiansen.
 
6765
 
 
6766
        Use QQuick* instead of QSG* as well as QStandardPaths
 
6767
        instead of QDesktopLocation.
 
6768
 
 
6769
        * Api/qwebsettings.cpp:
 
6770
        (QWebSettings::enablePersistentStorage):
 
6771
 
 
6772
2011-10-27  Helder Correia  <helder.correia@palm.com>
 
6773
 
 
6774
        [Qt] Failure to build when QT_NO_MENU defined
 
6775
        https://bugs.webkit.org/show_bug.cgi?id=70970
 
6776
 
 
6777
        Reviewed by Andreas Kling.
 
6778
 
 
6779
        iterateContextMenu() must be wrapped around #ifndef QT_NO_MENU.
 
6780
 
 
6781
        Build fix, no new tests.
 
6782
 
 
6783
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
6784
 
 
6785
2011-10-26  Zalan Bujtas  <zbujtas@gmail.com>
 
6786
 
 
6787
        Name viewport change event consistently.
 
6788
        https://bugs.webkit.org/show_bug.cgi?id=70901
 
6789
 
 
6790
        Reviewed by Kenneth Rohde Christiansen.
 
6791
 
 
6792
        Use ViewportPropertiesDidChange term consistently throughout WebKit.
 
6793
 
 
6794
        * WebCoreSupport/ChromeClientQt.cpp:
 
6795
        (WebCore::ChromeClientQt::dispatchViewportPropertiesDidChange):
 
6796
        * WebCoreSupport/ChromeClientQt.h:
 
6797
 
 
6798
2011-10-25  Mark Hahnenberg  <mhahnenberg@apple.com>
 
6799
 
 
6800
        Remove putVirtual
 
6801
        https://bugs.webkit.org/show_bug.cgi?id=70740
 
6802
 
 
6803
        Reviewed by Geoffrey Garen.
 
6804
 
 
6805
        Removed all declarations and definitions of putVirtual.
 
6806
        Also replaced all call sites to putVirtual with a 
 
6807
        corresponding lookup in the MethodTable.
 
6808
 
 
6809
        * Api/qwebframe.cpp:
 
6810
        (QWebFrame::addToJavaScriptWindowObject):
 
6811
 
 
6812
2011-10-24  Deepak Sherveghar  <bpwv64@motorola.com>
 
6813
 
 
6814
        [Qt] fast/events/media-focus-in-standalone-media-document.html fails
 
6815
        https://bugs.webkit.org/show_bug.cgi?id=70110
 
6816
 
 
6817
        Reviewed by Simon Hausmann.
 
6818
 
 
6819
        We should check for supported media mime types as well in the MIMETypeRegistry.
 
6820
 
 
6821
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
6822
        (WebCore::FrameLoaderClientQt::canShowMIMEType): check for supported media mime type.
 
6823
 
 
6824
2011-10-21  Luiz Agostini  <luiz.agostini@palm.com>
 
6825
 
 
6826
        [Qt] Remote debugging needs QWebInspector to work
 
6827
        https://bugs.webkit.org/show_bug.cgi?id=70651
 
6828
 
 
6829
        Reviewed by Kenneth Rohde Christiansen.
 
6830
 
 
6831
        Removing QWebInspector dependency from remote inspector.
 
6832
 
 
6833
        * Api/qwebinspector.cpp:
 
6834
        * Api/qwebinspector_p.h:
 
6835
        (QWebInspectorPrivate::QWebInspectorPrivate):
 
6836
        * WebCoreSupport/InspectorClientQt.cpp:
 
6837
        (WebCore::InspectorClientQt::InspectorClientQt):
 
6838
        (WebCore::InspectorClientQt::openInspectorFrontend):
 
6839
        (WebCore::InspectorClientQt::attachAndReplaceRemoteFrontend):
 
6840
        (WebCore::InspectorClientQt::detachRemoteFrontend):
 
6841
        (WebCore::InspectorClientQt::sendMessageToFrontend):
 
6842
        * WebCoreSupport/InspectorClientQt.h:
 
6843
        * WebCoreSupport/InspectorServerQt.cpp:
 
6844
        (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
 
6845
        * WebCoreSupport/InspectorServerQt.h:
 
6846
 
 
6847
2011-10-21  Luiz Agostini  <luiz.agostini@palm.com>
 
6848
 
 
6849
        [Qt] Wrong type conversion in InspectorServerQt.cpp
 
6850
        https://bugs.webkit.org/show_bug.cgi?id=70639
 
6851
 
 
6852
        Reviewed by Noam Rosenthal.
 
6853
 
 
6854
        Wrong type conversion causes WebSocket handshake failures for the remote inspector.
 
6855
 
 
6856
        * WebCoreSupport/InspectorServerQt.cpp:
 
6857
        (WebCore::parseWebSocketChallengeNumber):
 
6858
 
 
6859
2011-10-21  Zeno Albisser  <zeno.albisser@nokia.com>
 
6860
 
 
6861
        [Qt] WebKit build does not respect QMAKE_MAC_SDK variable.
 
6862
        https://bugs.webkit.org/show_bug.cgi?id=70596
 
6863
 
 
6864
        Instead of only relying on DARWIN_MAJOR_VERSION we also
 
6865
        check QMAKE_MAC_SDK. In case QMAKE_MAC_SDK is not defined
 
6866
        we are still falling back to DARWIN_MAJOR_VERSION.
 
6867
 
 
6868
        Patch by Andy Shaw <andy.shaw@digia.com>
 
6869
 
 
6870
        Reviewed by Noam Rosenthal.
 
6871
 
 
6872
        * QtWebKit.pro:
 
6873
 
 
6874
2011-10-21  Csaba Osztrogonác  <ossy@webkit.org>
 
6875
 
 
6876
        [Qt][WK2] Typo fix.
 
6877
 
 
6878
        * tests/util.h:
 
6879
 
 
6880
2011-10-21  Csaba Osztrogonác  <ossy@webkit.org>
 
6881
 
 
6882
        [Qt][WK2] Buildfix for newer Qt5. Remove duplicated defines.
 
6883
 
 
6884
        Reviewed by Simon Hausmann.
 
6885
 
 
6886
        * tests/util.h:
 
6887
 
 
6888
2011-10-21  Sheriff Bot  <webkit.review.bot@gmail.com>
 
6889
 
 
6890
        Unreviewed, rolling out r98085.
 
6891
        http://trac.webkit.org/changeset/98085
 
6892
        https://bugs.webkit.org/show_bug.cgi?id=70589
 
6893
 
 
6894
        It broke the build (Requested by Ossy on #webkit).
 
6895
 
 
6896
        * tests/util.h:
 
6897
 
 
6898
2011-10-21  Csaba Osztrogonác  <ossy@webkit.org>
 
6899
 
 
6900
        [Qt][WK2] Unreviewed buildfix for newer Qt5. Remove duplicated defines.
 
6901
 
 
6902
        * tests/util.h:
 
6903
        (waitForSignal):
 
6904
 
 
6905
2011-10-20  Carol Szabo  <carol@webkit.org>
 
6906
 
 
6907
        Tiled Backing Store does not regenerate tiles when it should
 
6908
        https://bugs.webkit.org/show_bug.cgi?id=57798
 
6909
 
 
6910
        Reviewed by Darin Adler.
 
6911
 
 
6912
        Provided test for this bug. Changed the name of the resource I added
 
6913
        for a previous test so that the name is descriptive such that it can
 
6914
        be shared across several tests.
 
6915
 
 
6916
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
6917
        (tst_QGraphicsWebView::bug57798):
 
6918
        (tst_QGraphicsWebView::bug56929):
 
6919
        * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
 
6920
 
 
6921
2011-10-18  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
6922
 
 
6923
        [Qt] Merge QML plugin for WebKit2 with the original WebKit1 plugin
 
6924
 
 
6925
        We don't need a separate plugin, as we no longer expose the WK2
 
6926
        APIs under QtWebKit.experimental, but now use QtWebKit. The version
 
6927
        was also changed to 3.0 instead of 5.0, as the original plugin was
 
6928
        versioned 1.0, and bumping to 3.0 fits the scheme used by QtWebKit releases.
 
6929
 
 
6930
        Reviewed by Andreas Kling.
 
6931
 
 
6932
        * declarative/declarative.pro:
 
6933
        * declarative/plugin.cpp:
 
6934
        (WebKitQmlPlugin::registerTypes):
 
6935
 
 
6936
2011-10-15  Adam Barth  <abarth@webkit.org>
 
6937
 
 
6938
        Rename ENABLE(TILED_BACKING_STORE) to USE(TILED_BACKING_STORE)
 
6939
        https://bugs.webkit.org/show_bug.cgi?id=70194
 
6940
 
 
6941
        Reviewed by Daniel Bates.
 
6942
 
 
6943
        * Api/qgraphicswebview.cpp:
 
6944
        (QGraphicsWebViewPrivate::_q_scaleChanged):
 
6945
        (QGraphicsWebView::QGraphicsWebView):
 
6946
        (QGraphicsWebView::paint):
 
6947
        (QGraphicsWebView::isTiledBackingStoreFrozen):
 
6948
        (QGraphicsWebView::setTiledBackingStoreFrozen):
 
6949
        * Api/qwebframe.cpp:
 
6950
        * Api/qwebframe_p.h:
 
6951
        * Api/qwebpage.cpp:
 
6952
        (QWebPagePrivate::dynamicPropertyChangeEvent):
 
6953
        * Api/qwebsettings.cpp:
 
6954
        (QWebSettingsPrivate::apply):
 
6955
        * WebCoreSupport/ChromeClientQt.cpp:
 
6956
        (WebCore::ChromeClientQt::invalidateWindow):
 
6957
        * WebCoreSupport/ChromeClientQt.h:
 
6958
        * WebCoreSupport/PageClientQt.cpp:
 
6959
        (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
 
6960
        * WebCoreSupport/PageClientQt.h:
 
6961
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
6962
 
 
6963
2011-10-15  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
 
6964
 
 
6965
        [Qt] [Symbian] Remove support for the Symbian platform for the QtWebKit port
 
6966
        https://bugs.webkit.org/show_bug.cgi?id=69920
 
6967
 
 
6968
        Reviewed by Kenneth Rohde Christiansen.
 
6969
 
 
6970
        * Api/qgraphicswebview.cpp:
 
6971
        (QGraphicsWebView::setPage):
 
6972
        * Api/qwebpage.cpp:
 
6973
        (QWebPage::userAgentForUrl):
 
6974
        * Api/qwebview.cpp:
 
6975
        (QWebView::QWebView):
 
6976
        * QtWebKit.pro:
 
6977
        * WebCoreSupport/EditorClientQt.cpp:
 
6978
        (WebCore::EditorClientQt::setInputMethodState):
 
6979
        * WebCoreSupport/QtFallbackWebPopup.cpp:
 
6980
        (WebCore::QtFallbackWebPopup::populate):
 
6981
        * declarative/declarative.pro:
 
6982
        * declarative/qdeclarativewebview.cpp:
 
6983
        (QDeclarativeWebView::setPage):
 
6984
        * symbian: Removed.
 
6985
        * symbian/backup_registration.xml: Removed.
 
6986
        * symbian/bwins: Removed.
 
6987
        * symbian/bwins/QtWebKitu.def: Removed.
 
6988
        * symbian/eabi: Removed.
 
6989
        * symbian/eabi/QtWebKitu.def: Removed.
 
6990
        * symbian/platformplugin: Removed.
 
6991
        * symbian/platformplugin/HTML5VideoPlugin.cpp: Removed.
 
6992
        * symbian/platformplugin/HTML5VideoPlugin.h: Removed.
 
6993
        * symbian/platformplugin/HTML5VideoWidget.cpp: Removed.
 
6994
        * symbian/platformplugin/HTML5VideoWidget.h: Removed.
 
6995
        * symbian/platformplugin/OverlayWidget.cpp: Removed.
 
6996
        * symbian/platformplugin/OverlayWidget.h: Removed.
 
6997
        * symbian/platformplugin/PlayerButton.cpp: Removed.
 
6998
        * symbian/platformplugin/PlayerButton.h: Removed.
 
6999
        * symbian/platformplugin/PlayerLabel.cpp: Removed.
 
7000
        * symbian/platformplugin/PlayerLabel.h: Removed.
 
7001
        * symbian/platformplugin/WebPlugin.cpp: Removed.
 
7002
        * symbian/platformplugin/WebPlugin.h: Removed.
 
7003
        * symbian/platformplugin/images: Removed.
 
7004
        * symbian/platformplugin/images/button_cannotplay.png: Removed.
 
7005
        * symbian/platformplugin/images/button_close.png: Removed.
 
7006
        * symbian/platformplugin/images/button_pause.png: Removed.
 
7007
        * symbian/platformplugin/images/button_play.png: Removed.
 
7008
        * symbian/platformplugin/images/button_sound_off.png: Removed.
 
7009
        * symbian/platformplugin/images/button_sound_on.png: Removed.
 
7010
        * symbian/platformplugin/images/loading_buffering_1.png: Removed.
 
7011
        * symbian/platformplugin/images/loading_buffering_2.png: Removed.
 
7012
        * symbian/platformplugin/images/loading_buffering_3.png: Removed.
 
7013
        * symbian/platformplugin/images/loading_buffering_4.png: Removed.
 
7014
        * symbian/platformplugin/platformplugin.pro: Removed.
 
7015
        * symbian/platformplugin/platformplugin.qrc: Removed.
 
7016
        * symbian/platformplugin/qss: Removed.
 
7017
        * symbian/platformplugin/qss/OverlayWidget.qss: Removed.
 
7018
        * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
 
7019
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
7020
        (tst_QGraphicsWebView::focusInputTypes):
 
7021
        * tests/qwebframe/qwebframe.pro:
 
7022
        * tests/qwebframe/tst_qwebframe.cpp:
 
7023
        * tests/qwebview/tst_qwebview.cpp:
 
7024
        (tst_QWebView::focusInputTypes):
 
7025
        * tests/tests.pri:
 
7026
 
 
7027
2011-10-14  Mark Hahnenberg  <mhahnenberg@apple.com>
 
7028
 
 
7029
        Rename virtual put to putVirtual
 
7030
        https://bugs.webkit.org/show_bug.cgi?id=69851
 
7031
 
 
7032
        Reviewed by Darin Adler.
 
7033
 
 
7034
        Renamed virtual versions of put to putVirtual in prepration for 
 
7035
        adding the static put to the MethodTable in ClassInfo since the 
 
7036
        compiler gets mad if the virtual and static versions have the same 
 
7037
        name.
 
7038
 
 
7039
        * Api/qwebframe.cpp:
 
7040
        (QWebFrame::addToJavaScriptWindowObject):
 
7041
 
 
7042
2011-10-12  Ryosuke Niwa  <rniwa@webkit.org>
 
7043
 
 
7044
        Make the interface of locationAndLengthFromRange and rangeFromLocationAndLength consistent
 
7045
        https://bugs.webkit.org/show_bug.cgi?id=69964
 
7046
 
 
7047
        Reviewed by Enrica Casucci.
 
7048
 
 
7049
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7050
        (DumpRenderTreeSupportQt::firstRectForCharacterRange):
 
7051
 
 
7052
2011-10-13  Adenilson Cavalcanti  <adenilson.silva@openbossa.org>
 
7053
 
 
7054
        [Qt] GeolocationClient cleanups
 
7055
        https://bugs.webkit.org/show_bug.cgi?id=69737
 
7056
 
 
7057
        Reviewed by Kenneth Rohde Christiansen.
 
7058
 
 
7059
        Qt5 has a location module, so no need to use an external
 
7060
        library like Qt Mobility. This patch will allow the GeolocationClientQt
 
7061
        to compile with both Qt5 and Qt4.
 
7062
 
 
7063
        * QtWebKit.pro:
 
7064
        * WebCoreSupport/GeolocationClientQt.cpp:
 
7065
        (WebCore::GeolocationClientQt::positionUpdated):
 
7066
        * WebCoreSupport/GeolocationClientQt.h:
 
7067
 
 
7068
2011-10-11  Simon Fraser  <simon.fraser@apple.com>
 
7069
 
 
7070
        Make custom scrollbar theme for use in DRT, to reduce pixel diffs between platforms
 
7071
        https://bugs.webkit.org/show_bug.cgi?id=68134
 
7072
 
 
7073
        Reviewed by Darin Adler.
 
7074
 
 
7075
        Use ScrollbarThemeMock when the setting to use mock scrollbars is enabled.
 
7076
        
 
7077
        Make ScrollbarTheme::nativeTheme() private, and add a new static theme() method
 
7078
        that reads the setting, and returns the mock theme if set. All callers now use
 
7079
        theme() rther than nativeTheme(). Add the new ScrollbarTheme.cpp file to the build.
 
7080
 
 
7081
        * WebCoreSupport/ChromeClientQt.cpp:
 
7082
        (WebCore::ChromeClientQt::windowResizerRect):
 
7083
 
 
7084
2011-10-11  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
7085
 
 
7086
        [Qt] Remove all references to QTDIR_build and standalone_package
 
7087
 
 
7088
        Qt is now modularized, which means we no longer import WebKit into
 
7089
        the Qt source tree. Instead we use git submodules, and building
 
7090
        QtWebKit as "part of Qt" is really building QtWebKit as from trunk.
 
7091
 
 
7092
        To decrease the number of buildsystem configurations we also remove
 
7093
        the standalone_package code-path used when we were providing tarballs
 
7094
        with the derived sources pre-generated.
 
7095
 
 
7096
        Reviewed by Simon Hausmann.
 
7097
 
 
7098
        * Api/DerivedSources.pro:
 
7099
        * QtWebKit.pro:
 
7100
        * declarative/declarative.pro:
 
7101
        * docs/webkitsnippets/webelement/webelement.pro:
 
7102
        * tests/tests.pri:
 
7103
 
 
7104
2011-10-07  Chang Shu  <cshu@webkit.org>
 
7105
 
 
7106
        Remove compile time flag ENABLE_PASSWORD_ECHO
 
7107
        https://bugs.webkit.org/show_bug.cgi?id=69647
 
7108
 
 
7109
        As we have runtime flag in the page/Settings, we should remove this redundant compile time flag.
 
7110
 
 
7111
        Reviewed by Andreas Kling.
 
7112
 
 
7113
        * Api/qwebsettings.cpp:
 
7114
        (QWebSettingsPrivate::apply):
 
7115
 
 
7116
2011-10-06  Fady Samuel  <fsamuel@chromium.org>
 
7117
 
 
7118
        Code clean-up: Make RenderObject::absoluteBoundingBoxRect and associated methods const and make its parameter useTransforms no longer default to false
 
7119
        https://bugs.webkit.org/show_bug.cgi?id=69009
 
7120
 
 
7121
        Reviewed by Simon Fraser.
 
7122
 
 
7123
        * Api/qwebframe.cpp:
 
7124
        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
 
7125
 
 
7126
2011-10-06  Simon Hausmann  <simon.hausmann@nokia.com>
 
7127
 
 
7128
        [Qt][Wk2] Fix build with Qt 5 when QtScript is built as standalone module
 
7129
        https://bugs.webkit.org/show_bug.cgi?id=69520
 
7130
 
 
7131
        Reviewed by Csaba Osztrogonác.
 
7132
 
 
7133
        * QtWebKit.pro: Convenience, use qt5 scope.
 
7134
        * declarative/declarative.pro: Ditto.
 
7135
        * tests/tests.pri: Ditto.
 
7136
 
 
7137
2011-10-03  Pierre Rossi  <pierre.rossi@gmail.com>
 
7138
 
 
7139
        [Qt] Build fix: Qt::escape is deprecated in Qt5
 
7140
        https://bugs.webkit.org/show_bug.cgi?id=69162
 
7141
 
 
7142
        Use QString::toHtmlEscaped in the Qt5 case.
 
7143
 
 
7144
        Reviewed by Andreas.
 
7145
 
 
7146
        * Api/qwebpage.cpp:
 
7147
        (QWebPage::javaScriptAlert):
 
7148
        (QWebPage::javaScriptConfirm):
 
7149
        (QWebPage::javaScriptPrompt):
 
7150
        * WebCoreSupport/ChromeClientQt.cpp:
 
7151
        (WebCore::ChromeClientQt::setToolTip):
 
7152
 
 
7153
2011-10-01  Sheriff Bot  <webkit.review.bot@gmail.com>
 
7154
 
 
7155
        Unreviewed, rolling out r96421.
 
7156
        http://trac.webkit.org/changeset/96421
 
7157
        https://bugs.webkit.org/show_bug.cgi?id=69206
 
7158
 
 
7159
        It broke Qt-WK2 build (Requested by ossy on #webkit).
 
7160
 
 
7161
        * Api/qwebpage.cpp:
 
7162
        (QWebPage::javaScriptAlert):
 
7163
        (QWebPage::javaScriptConfirm):
 
7164
        (QWebPage::javaScriptPrompt):
 
7165
        * WebCoreSupport/ChromeClientQt.cpp:
 
7166
        (WebCore::ChromeClientQt::setToolTip):
 
7167
 
 
7168
2011-09-30  Pierre Rossi  <pierre.rossi@gmail.com>
 
7169
 
 
7170
        [Qt] Build fix: Qt::escape is deprecated in Qt5
 
7171
        https://bugs.webkit.org/show_bug.cgi?id=69162
 
7172
 
 
7173
        Use QString::toHtmlEscaped in the Qt5 case.
 
7174
 
 
7175
        Reviewed by Andreas Kling.
 
7176
 
 
7177
        * Api/qwebpage.cpp:
 
7178
        (QWebPage::javaScriptAlert):
 
7179
        (QWebPage::javaScriptConfirm):
 
7180
        (QWebPage::javaScriptPrompt):
 
7181
        * WebCoreSupport/ChromeClientQt.cpp:
 
7182
        (WebCore::ChromeClientQt::setToolTip):
 
7183
 
 
7184
2011-09-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
7185
 
 
7186
        [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
 
7187
 
 
7188
        QWidget and friends now live in the QtWidgets library. We update
 
7189
        includes in implementation files and private headers to us the
 
7190
        non-module-prefixed path, and leave the lookup for the include
 
7191
        path. For public headers we have to ifdef the includes as the
 
7192
        user might now have the modules we need in his QT config.
 
7193
 
 
7194
        Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
 
7195
        have to update our code and use windowHandle() for setting the
 
7196
        parent relationships.
 
7197
 
 
7198
        https://bugs.webkit.org/show_bug.cgi?id=68687
 
7199
 
 
7200
        Reviewed by Andreas Kling.
 
7201
 
 
7202
        * Api/qgraphicswebview.cpp:
 
7203
        * Api/qgraphicswebview.h:
 
7204
        * Api/qwebframe.h:
 
7205
        * Api/qwebhistory.h:
 
7206
        * Api/qwebpage.h:
 
7207
        * Api/qwebsettings.h:
 
7208
        * Api/qwebview.h:
 
7209
        * QtWebKit.pro:
 
7210
        * WebCoreSupport/PageClientQt.h:
 
7211
        * WebCoreSupport/QtWebComboBox.cpp:
 
7212
        * WebCoreSupport/QtWebComboBox.h:
 
7213
        * declarative/qdeclarativewebview.cpp:
 
7214
        * declarative/qdeclarativewebview_p.h:
 
7215
        * docs/webkitsnippets/webpage/main.cpp:
 
7216
        * examples/platformplugin/WebNotificationPresenter.h:
 
7217
 
 
7218
2011-09-27  Sheriff Bot  <webkit.review.bot@gmail.com>
 
7219
 
 
7220
        Unreviewed, rolling out r96108, r96111, r96113, and r96116.
 
7221
        http://trac.webkit.org/changeset/96108
 
7222
        http://trac.webkit.org/changeset/96111
 
7223
        http://trac.webkit.org/changeset/96113
 
7224
        http://trac.webkit.org/changeset/96116
 
7225
        https://bugs.webkit.org/show_bug.cgi?id=68913
 
7226
 
 
7227
        Wait for working Qt5 (Requested by ossy on #webkit).
 
7228
 
 
7229
        * Api/qgraphicswebview.cpp:
 
7230
        * Api/qgraphicswebview.h:
 
7231
        * Api/qwebframe.h:
 
7232
        * Api/qwebhistory.h:
 
7233
        * Api/qwebpage.h:
 
7234
        * Api/qwebsettings.h:
 
7235
        * Api/qwebview.h:
 
7236
        * QtWebKit.pro:
 
7237
        * WebCoreSupport/PageClientQt.h:
 
7238
        * WebCoreSupport/QtWebComboBox.cpp:
 
7239
        * WebCoreSupport/QtWebComboBox.h:
 
7240
        * declarative/declarative.pro:
 
7241
        * declarative/qdeclarativewebview.cpp:
 
7242
        * declarative/qdeclarativewebview_p.h:
 
7243
        * docs/webkitsnippets/webpage/main.cpp:
 
7244
        * examples/platformplugin/WebNotificationPresenter.h:
 
7245
        * tests/tests.pri:
 
7246
 
 
7247
2011-09-27  Csaba Osztrogonác  <ossy@webkit.org>
 
7248
 
 
7249
        [Qt][WK2] Buildfix after r96108.
 
7250
 
 
7251
        Rubber-stamped by Andreas Kling.
 
7252
 
 
7253
        * tests/tests.pri:
 
7254
 
 
7255
2011-09-27  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
7256
 
 
7257
        [Qt] Fix build of declarative plugin against Qt5
 
7258
 
 
7259
        Reviewed by Andreas Kling.
 
7260
 
 
7261
        * declarative/declarative.pro:
 
7262
 
 
7263
2011-09-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
7264
 
 
7265
        [Qt] Fix build against Qt5 after refactor of widgets out of QtGUi
 
7266
 
 
7267
        QWidget and friends now live in the QtWidgets library. We update
 
7268
        includes in implementation files and private headers to us the
 
7269
        non-module-prefixed path, and leave the lookup for the include
 
7270
        path. For public headers we have to ifdef the includes as the
 
7271
        user might now have the modules we need in his QT config.
 
7272
 
 
7273
        Finally, QSGCanvas is no longer a QWidget but a QWindow, so we
 
7274
        have to update our code and use windowHandle() for setting the
 
7275
        parent relationships.
 
7276
 
 
7277
        https://bugs.webkit.org/show_bug.cgi?id=68687
 
7278
 
 
7279
        Reviewed by Andreas Kling.
 
7280
 
 
7281
        * Api/qgraphicswebview.cpp:
 
7282
        * Api/qgraphicswebview.h:
 
7283
        * Api/qwebframe.h:
 
7284
        * Api/qwebhistory.h:
 
7285
        * Api/qwebpage.h:
 
7286
        * Api/qwebsettings.h:
 
7287
        * Api/qwebview.h:
 
7288
        * QtWebKit.pro:
 
7289
        * WebCoreSupport/PageClientQt.h:
 
7290
        * WebCoreSupport/QtWebComboBox.cpp:
 
7291
        * WebCoreSupport/QtWebComboBox.h:
 
7292
        * declarative/qdeclarativewebview.cpp:
 
7293
        * declarative/qdeclarativewebview_p.h:
 
7294
        * docs/webkitsnippets/webpage/main.cpp:
 
7295
        * examples/platformplugin/WebNotificationPresenter.h:
 
7296
 
 
7297
2011-09-24  Adam Barth  <abarth@webkit.org>
 
7298
 
 
7299
        Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
 
7300
        https://bugs.webkit.org/show_bug.cgi?id=68767
 
7301
 
 
7302
        Reviewed by Eric Seidel.
 
7303
 
 
7304
        * Api/qwebsecurityorigin.cpp:
 
7305
        (QWebSecurityOrigin::setApplicationCacheQuota):
 
7306
        * Api/qwebsettings.cpp:
 
7307
        (QWebSettings::setOfflineWebApplicationCachePath):
 
7308
        (QWebSettings::offlineWebApplicationCachePath):
 
7309
        (QWebSettings::setOfflineWebApplicationCacheQuota):
 
7310
        (QWebSettings::offlineWebApplicationCacheQuota):
 
7311
        * WebCoreSupport/ChromeClientQt.cpp:
 
7312
        (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
 
7313
        * WebCoreSupport/ChromeClientQt.h:
 
7314
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7315
        (DumpRenderTreeSupportQt::clearAllApplicationCaches):
 
7316
 
 
7317
2011-09-21  Andras Becsi  <andras.becsi@nokia.com>
 
7318
 
 
7319
        [Qt] Remove Qt specific code from css/SelectorChecker.cpp
 
7320
        https://bugs.webkit.org/show_bug.cgi?id=67702
 
7321
 
 
7322
        Reviewed by Csaba Osztrogonác.
 
7323
 
 
7324
        * WebCoreSupport/WebPlatformStrategies.cpp: Check the Qt global history here, instead of a platform independent file.
 
7325
        (WebPlatformStrategies::isLinkVisited):
 
7326
        * WebCoreSupport/WebPlatformStrategies.h:
 
7327
 
 
7328
2011-09-20  Jarred Nicholls  <jarred@sencha.com>
 
7329
 
 
7330
        [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
 
7331
        https://bugs.webkit.org/show_bug.cgi?id=51159
 
7332
        
 
7333
        Permit any URL with a local scheme to set a user style sheet. Allow qrc
 
7334
        resource URLs as arguments to QWebSettings::setUserStyleSheetUrl().
 
7335
        
 
7336
        New test case makes sure a qrc URL will properly load a user stylesheet.
 
7337
 
 
7338
        Reviewed by Kenneth Rohde Christiansen.
 
7339
        
 
7340
        (tst_QWebPage::userStyleSheetFromQrcUrl):
 
7341
        * tests/qwebpage/tst_qwebpage.qrc:
 
7342
 
 
7343
2011-09-20  Adenilson Cavalcanti  <adenilson.silva@openbossa.org>
 
7344
 
 
7345
        [Qt] resizeToContent seems to trigger infinite resize on some pages
 
7346
        https://bugs.webkit.org/show_bug.cgi?id=43852
 
7347
 
 
7348
        Reviewed by Kenneth Rohde Christiansen.
 
7349
 
 
7350
        Test by Luiz Agostini.
 
7351
 
 
7352
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
7353
        (ResizeSpy::receiveResize):
 
7354
        (ResizeSpy::size):
 
7355
        (tst_QGraphicsWebView::windowResizeEvent):
 
7356
 
 
7357
2011-09-17  Mihai Parparita  <mihaip@chromium.org>
 
7358
 
 
7359
        FrameLoaderClient BackForwardList-related methods are unsued
 
7360
        https://bugs.webkit.org/show_bug.cgi?id=68293
 
7361
 
 
7362
        Reviewed by Darin Adler.
 
7363
 
 
7364
        Remove FrameLoaderClient methods that were added by r51629, since only        
 
7365
        the old (since-deleted) Android port needed them.
 
7366
 
 
7367
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
7368
        * WebCoreSupport/FrameLoaderClientQt.h:
 
7369
 
 
7370
2011-09-15  Adam Barth  <abarth@webkit.org>
 
7371
 
 
7372
        Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
 
7373
        https://bugs.webkit.org/show_bug.cgi?id=68205
 
7374
 
 
7375
        Reviewed by Eric Seidel.
 
7376
 
 
7377
        * Api/qwebdatabase.cpp:
 
7378
        (QWebDatabase::displayName):
 
7379
        (QWebDatabase::expectedSize):
 
7380
        (QWebDatabase::size):
 
7381
        (QWebDatabase::fileName):
 
7382
        (QWebDatabase::removeDatabase):
 
7383
        (QWebDatabase::removeAllDatabases):
 
7384
        * Api/qwebsecurityorigin.cpp:
 
7385
        (QWebSecurityOrigin::databaseUsage):
 
7386
        (QWebSecurityOrigin::databaseQuota):
 
7387
        (QWebSecurityOrigin::setDatabaseQuota):
 
7388
        (QWebSecurityOrigin::allOrigins):
 
7389
        (QWebSecurityOrigin::databases):
 
7390
        * Api/qwebsettings.cpp:
 
7391
        (QWebSettingsPrivate::apply):
 
7392
        (QWebSettings::setOfflineStoragePath):
 
7393
        (QWebSettings::offlineStoragePath):
 
7394
        * WebCoreSupport/ChromeClientQt.cpp:
 
7395
        * WebCoreSupport/ChromeClientQt.h:
 
7396
 
 
7397
2011-09-13  Zeno Albisser  <zeno.albisser@nokia.com>
 
7398
 
 
7399
        [Qt] Fix state of stop/reload actions in QWebPage
 
7400
        https://bugs.webkit.org/show_bug.cgi?id=65977
 
7401
 
 
7402
        FrameLoader does ask its DocumentLoader to stop loading subresources before
 
7403
        setting the state to FrameStateCommittedPage. But it does
 
7404
        not check if the the DocumentLoader actually stopped loading before
 
7405
        it changes the state.
 
7406
        Therefore a subresourceLoader can still be active, when we receive the
 
7407
        call to dispatchDidFinishLoad(). This leads to an inconsistent behavior
 
7408
        of the stop/reload actions in QWebPage.
 
7409
        This changeset fixes the inconsistent state by updating the action states
 
7410
        also when frameLoadCompleted() is called.
 
7411
 
 
7412
        Reviewed by Chang Shu.
 
7413
 
 
7414
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
7415
        (WebCore::FrameLoaderClientQt::frameLoadCompleted):
 
7416
 
 
7417
2011-09-12  Csaba Osztrogonác  <ossy@webkit.org>
 
7418
 
 
7419
        [Qt] Fix "Unmatched parentheses are deprecated." warnings
 
7420
        https://bugs.webkit.org/show_bug.cgi?id=67775
 
7421
 
 
7422
        Reviewed by Zoltan Herczeg.
 
7423
 
 
7424
        Modify function declarations to single line to make qmake happier.
 
7425
 
 
7426
        * Api/qwebframe.h:
 
7427
        * Api/qwebpluginfactory.h:
 
7428
        * Api/qwebview.h:
 
7429
 
 
7430
2011-09-10  Jarred Nicholls  <jarred@sencha.com>
 
7431
 
 
7432
        [Qt] QWebSettings::setUserStyleSheetUrl() does not work with windows paths that contain drive letters
 
7433
        https://bugs.webkit.org/show_bug.cgi?id=34884
 
7434
        
 
7435
        KURL::path() alone does not handle removing the leading slash from a windows file path.
 
7436
        Using QUrl::toLocalFile() will turn file:///C:/path into C:/path appropriately.
 
7437
        
 
7438
        New test case that ensures a user stylesheet from the file system will load correctly
 
7439
        on all platforms.
 
7440
 
 
7441
        Reviewed by Andreas Kling.
 
7442
 
 
7443
        * tests/qwebpage/resources/user.css: Added.
 
7444
        (p):
 
7445
        * tests/qwebpage/tst_qwebpage.cpp:
 
7446
        (tst_QWebPage::userStyleSheetFromFile):
 
7447
 
 
7448
2011-09-09  Fady Samuel  <fsamuel@chromium.org>
 
7449
 
 
7450
        Move pageScaleFactor code from Frame.{h|cpp} to Page.{h|cpp}
 
7451
        https://bugs.webkit.org/show_bug.cgi?id=67250
 
7452
 
 
7453
        Reviewed by Simon Fraser.
 
7454
 
 
7455
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7456
        (DumpRenderTreeSupportQt::scalePageBy):
 
7457
 
 
7458
2011-09-09  Zeno Albisser  <zeno.albisser@nokia.com>
 
7459
 
 
7460
        [Qt] QWebElement::encloseWith doesn't work at all
 
7461
        https://bugs.webkit.org/show_bug.cgi?id=62464
 
7462
 
 
7463
        Enclosing an element means wrapping something around an element,
 
7464
        not inserting something into an element. Therefore we need to check
 
7465
        if the parent of the element allows insertion rather than checking
 
7466
        the element itself.
 
7467
 
 
7468
        Reviewed by Andreas Kling.
 
7469
 
 
7470
        * Api/qwebelement.cpp:
 
7471
        (QWebElement::prependOutside):
 
7472
        (QWebElement::appendOutside):
 
7473
        (QWebElement::encloseWith):
 
7474
        * tests/qwebelement/tst_qwebelement.cpp:
 
7475
        (tst_QWebElement::appendAndPrepend):
 
7476
        (tst_QWebElement::encloseWith):
 
7477
 
 
7478
2011-09-08  Sam Weinig  <sam@webkit.org>
 
7479
 
 
7480
        Remove the Completion object from JSC, I have never liked it
 
7481
        https://bugs.webkit.org/show_bug.cgi?id=67755
 
7482
 
 
7483
        Reviewed by Gavin Barraclough.
 
7484
 
 
7485
        * Api/qwebelement.cpp:
 
7486
        (QWebElement::evaluateJavaScript):
 
7487
 
 
7488
2011-09-05  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
 
7489
 
 
7490
        [Qt][WK2] Make TiledDrawingArea request tiles only in the direction the viewport is panned to.
 
7491
        https://bugs.webkit.org/show_bug.cgi?id=67606
 
7492
 
 
7493
        TiledBackingStore previously used different values for horizontal and vertial multiplication
 
7494
        to calculate the cover area. 
 
7495
        This patch replaces this mechanism, used to give a bigger panning range to vertical panning,
 
7496
        with the possibility to use the motion vector of the viewport to request tiles ahead instead.
 
7497
        This allows economies on rendering resources as tiles won't be rendered beside the trajectory
 
7498
        of the viewport.
 
7499
 
 
7500
        * Api/qwebpage.cpp:
 
7501
        (QWebPagePrivate::dynamicPropertyChangeEvent):
 
7502
 
 
7503
2011-09-06  Csaba Osztrogonác  <ossy@webkit.org>
 
7504
 
 
7505
        Unreviewed buildfix after r94620.
 
7506
 
 
7507
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
7508
        (WebCore::FrameLoaderClientQt::createFrame):
 
7509
 
 
7510
2011-09-06  Alexis Menard  <alexis.menard@openbossa.org>
 
7511
 
 
7512
        [Qt] Move away from QPointer as it is slow and it has a replacement QWeakPointer.
 
7513
        https://bugs.webkit.org/show_bug.cgi?id=67673
 
7514
 
 
7515
        Reviewed by Ariya Hidayat.
 
7516
 
 
7517
        Move away from QPointer as Qt provides a better and faster solution : QWeakPointer.
 
7518
 
 
7519
        * Api/qwebframe.cpp:
 
7520
        (QWebHitTestResult::linkTargetFrame):
 
7521
        (QWebHitTestResult::frame):
 
7522
        * Api/qwebframe_p.h:
 
7523
        * Api/qwebpage.cpp:
 
7524
        (QWebPagePrivate::QWebPagePrivate):
 
7525
        (QWebPagePrivate::~QWebPagePrivate):
 
7526
        (QWebPagePrivate::acceptNavigationRequest):
 
7527
        (QWebPagePrivate::createMainFrame):
 
7528
        (QWebPagePrivate::updateAction):
 
7529
        (QWebPagePrivate::mouseMoveEvent):
 
7530
        (QWebPagePrivate::mousePressEvent):
 
7531
        (QWebPagePrivate::mouseDoubleClickEvent):
 
7532
        (QWebPagePrivate::mouseTripleClickEvent):
 
7533
        (QWebPagePrivate::mouseReleaseEvent):
 
7534
        (QWebPage::createStandardContextMenu):
 
7535
        (QWebPagePrivate::wheelEvent):
 
7536
        (QWebPagePrivate::focusInEvent):
 
7537
        (QWebPage::setPalette):
 
7538
        (QWebPagePrivate::touchEvent):
 
7539
        (QWebPage::~QWebPage):
 
7540
        (QWebPage::mainFrame):
 
7541
        (QWebPage::viewportSize):
 
7542
        (QWebPage::preferredContentsSize):
 
7543
        (QWebPage::setContentEditable):
 
7544
        (QWebPage::updatePositionDependentActions):
 
7545
        * Api/qwebpage_p.h:
 
7546
        * Api/qwebview.cpp:
 
7547
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7548
        (DumpRenderTreeSupportQt::contextMenu):
 
7549
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
7550
        (WebCore::FrameLoaderClientQt::createFrame):
 
7551
        * tests/qwebframe/tst_qwebframe.cpp:
 
7552
        (tst_QWebFrame::ownership):
 
7553
        * tests/qwebpage/tst_qwebpage.cpp:
 
7554
        (PluginCounterPage::PluginCounterPage):
 
7555
        (PluginTracerPage::createPlugin):
 
7556
        (tst_QWebPage::createViewlessPlugin):
 
7557
        * tests/qwebview/tst_qwebview.cpp:
 
7558
        (tst_QWebView::reusePage):
 
7559
 
 
7560
2011-09-06  Alexis Menard  <alexis.menard@openbossa.org>
 
7561
 
 
7562
        [Qt] Fix API test failure after r92823 and r93001.
 
7563
        https://bugs.webkit.org/show_bug.cgi?id=67676
 
7564
 
 
7565
        Reviewed by Kenneth Rohde Christiansen.
 
7566
 
 
7567
        r92823 and r93001 make WebKit no longer produce wrapping style 
 
7568
        spans on copy and paste and class="Apple-style-span" anymore.
 
7569
        Our expectations need to be updated.
 
7570
 
 
7571
        * tests/qwebpage/tst_qwebpage.cpp:
 
7572
        (tst_QWebPage::cursorMovements):
 
7573
        (tst_QWebPage::textSelection):
 
7574
        (tst_QWebPage::findText):
 
7575
 
 
7576
2011-09-06  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
 
7577
 
 
7578
        [Qt][Symbian] REGRESSION[94105] DumpRenderTree.exe doesn't build on Symbian
 
7579
        https://bugs.webkit.org/show_bug.cgi?id=67644
 
7580
 
 
7581
        Reviewed by Csaba Osztrogonác.
 
7582
 
 
7583
        * symbian/eabi/QtWebKitu.def: add missing entry for
 
7584
        FrameLoaderClientQt::dumpProgressFinishedCallback(bool)
 
7585
 
 
7586
2011-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
 
7587
 
 
7588
        Logic from HTMLElement::deprecatedCreateContextualFragment moved into
 
7589
        Range::createContextualFragment function.
 
7590
        https://bugs.webkit.org/show_bug.cgi?id=67056
 
7591
 
 
7592
        Reviewed by Ryosuke Niwa.
 
7593
 
 
7594
        Code Refactoring for deprecatedCreateContextualFragment.
 
7595
 
 
7596
        * Api/qwebelement.cpp:
 
7597
        (QWebElement::appendInside):
 
7598
        (QWebElement::prependInside):
 
7599
        (QWebElement::prependOutside):
 
7600
        (QWebElement::appendOutside):
 
7601
        (QWebElement::encloseContentsWith):
 
7602
        (QWebElement::encloseWith):
 
7603
 
 
7604
2011-09-03  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
 
7605
 
 
7606
        REGRESSION (r86268): Fix for qt_networkAccessAllowed()
 
7607
        https://bugs.webkit.org/show_bug.cgi?id=67570
 
7608
 
 
7609
        Reviewed by Noam Rosenthal.
 
7610
 
 
7611
        Replace the ENABLE(QT_BEARER) guard with
 
7612
        !defined(QT_NO_BEARERMANAGEMENT) which is true by
 
7613
        default in Qt 4.7 or later versions.
 
7614
 
 
7615
        * Api/qwebsettings.cpp:
 
7616
        (qt_networkAccessAllowed):
 
7617
 
 
7618
2011-09-02  Jade Han  <jade.han@nokia.com>
 
7619
 
 
7620
        [Qt][Symbian] REGRESSION(93235) Missing .def update
 
7621
        https://bugs.webkit.org/show_bug.cgi?id=67307
 
7622
 
 
7623
        Reviewed by Laszlo Gombos.
 
7624
 
 
7625
        * symbian/eabi/QtWebKitu.def:
 
7626
 
 
7627
2011-09-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
7628
 
 
7629
        [Qt] Transform QtFallbackWebPopupCombo into QtWebComboBox
 
7630
        https://bugs.webkit.org/show_bug.cgi?id=67344
 
7631
 
 
7632
        Reviewed by Andreas Kling.
 
7633
 
 
7634
        Renamed QtFallbackWebPopup to QtWebComboBox and decoupled it from
 
7635
        QtFallbackWebPopup. The new class is a QComboBox with the features that
 
7636
        we need for QtWebKit: tracking when the popup is hidden (via the didHide()
 
7637
        signal) and a convenience method to show its popup in the cursor position.
 
7638
 
 
7639
        An important change was made to the combobox: instead of hooking our actions in
 
7640
        showPopup() and hidePopup(), as well as watching for popup visibility events, we
 
7641
        now just watch for the visibility events. This allowed us to get rid of
 
7642
        m_popupVisible and tracking the Show event.
 
7643
 
 
7644
        This commit also removed a workaround for input focus added in r40970 after
 
7645
        reviewers request. See bug report for details.
 
7646
 
 
7647
        * QtWebKit.pro:
 
7648
        * WebCoreSupport/QtFallbackWebPopup.cpp:
 
7649
        (WebCore::QtFallbackWebPopup::QtFallbackWebPopup):
 
7650
        (WebCore::QtFallbackWebPopup::~QtFallbackWebPopup):
 
7651
        (WebCore::QtFallbackWebPopup::show):
 
7652
        (WebCore::QtFallbackWebPopup::deleteComboBox):
 
7653
        * WebCoreSupport/QtFallbackWebPopup.h:
 
7654
        * WebCoreSupport/QtWebComboBox.cpp: Added.
 
7655
        (WebCore::QtWebComboBox::QtWebComboBox):
 
7656
        (WebCore::QtWebComboBox::showPopupAtCursorPosition):
 
7657
        (WebCore::QtWebComboBox::eventFilter):
 
7658
        * WebCoreSupport/QtWebComboBox.h: Added.
 
7659
 
 
7660
        * tests/qwebframe/tst_qwebframe.cpp:
 
7661
        (tst_QWebFrame::popupFocus):
 
7662
        Change the test to use QObject::findChild(). The old method couldn't find our
 
7663
        new class because we defined a new metaclass for it.
 
7664
 
 
7665
2011-08-31  Ryosuke Niwa  <rniwa@webkit.org>
 
7666
 
 
7667
        Move text() and textWithHardLineBreaks() from RenderTextControl to HTMLTextFormControlElement
 
7668
        https://bugs.webkit.org/show_bug.cgi?id=67320
 
7669
 
 
7670
        Reviewed by Darin Adler.
 
7671
 
 
7672
        Call HTMLTextFormControlElement::value() instead of RenderText::text()
 
7673
 
 
7674
        * Api/qwebpage.cpp:
 
7675
        (QWebPage::inputMethodQuery):
 
7676
 
 
7677
2011-08-31  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
7678
 
 
7679
        [Qt] Unskip API test for load signals order
 
7680
        https://bugs.webkit.org/show_bug.cgi?id=67285
 
7681
 
 
7682
        Reviewed by Andreas Kling.
 
7683
 
 
7684
        * tests/qwebpage/tst_qwebpage.cpp:
 
7685
        (tst_QWebPage::loadSignalsOrder):
 
7686
 
 
7687
2011-08-30  Sheriff Bot  <webkit.review.bot@gmail.com>
 
7688
 
 
7689
        Unreviewed, rolling out r94142, r94144, r94145, and r94148.
 
7690
        http://trac.webkit.org/changeset/94142
 
7691
        http://trac.webkit.org/changeset/94144
 
7692
        http://trac.webkit.org/changeset/94145
 
7693
        http://trac.webkit.org/changeset/94148
 
7694
        https://bugs.webkit.org/show_bug.cgi?id=67262
 
7695
 
 
7696
        Broke isindex element (Requested by rniwa on #webkit).
 
7697
 
 
7698
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7699
        (DumpRenderTreeSupportQt::setAutofilled):
 
7700
        (DumpRenderTreeSupportQt::setValueForUser):
 
7701
        (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
 
7702
 
 
7703
2011-08-30  Ryosuke Niwa  <rniwa@webkit.org>
 
7704
 
 
7705
        Get rid of toInputElement()
 
7706
        https://bugs.webkit.org/show_bug.cgi?id=67175
 
7707
 
 
7708
        Reviewed by Darin Adler.
 
7709
 
 
7710
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7711
        (DumpRenderTreeSupportQt::setAutofilled):
 
7712
        (DumpRenderTreeSupportQt::setValueForUser):
 
7713
        (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
 
7714
 
 
7715
2011-08-30  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
7716
 
 
7717
        Emit last progress notification before calling dispatchDidFinishLoad
 
7718
        https://bugs.webkit.org/show_bug.cgi?id=28851
 
7719
 
 
7720
        Reviewed by Adam Barth.
 
7721
 
 
7722
        Add infrastructure to dump progressFinishedNotification callback in DRT.
 
7723
 
 
7724
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7725
        (DumpRenderTreeSupportQt::dumpProgressFinishedCallback):
 
7726
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
7727
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
7728
        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
 
7729
        * WebCoreSupport/FrameLoaderClientQt.h:
 
7730
 
 
7731
2011-08-30  Kaustubh Atrawalkar  <kaustubh@motorola.com>
 
7732
 
 
7733
        The unused ScrollView* argument can and should be removed from
 
7734
        scrollRectIntoView.
 
7735
        https://bugs.webkit.org/show_bug.cgi?id=67117
 
7736
 
 
7737
        Reviewed by Darin Adler.
 
7738
 
 
7739
        * WebCoreSupport/ChromeClientQt.h:
 
7740
        (WebCore::ChromeClientQt::scrollRectIntoView):
 
7741
 
 
7742
2011-08-25  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
 
7743
 
 
7744
        Unreviewed QtWebKit.pro fix for when building inside Qt
 
7745
 
 
7746
        Patch by Simo Fält <simo.falt@nokia.com>
 
7747
 
 
7748
        The QtWebKit version was being overwritten by a global Qt version when
 
7749
        QtWebKit was built inside Qt. Fixed by moving the version
 
7750
        definition after the inclusion of qbase.pri.
 
7751
 
 
7752
        * QtWebKit.pro:
 
7753
 
 
7754
2011-08-25  Sheriff Bot  <webkit.review.bot@gmail.com>
 
7755
 
 
7756
        Unreviewed, rolling out r93783.
 
7757
        http://trac.webkit.org/changeset/93783
 
7758
        https://bugs.webkit.org/show_bug.cgi?id=66943
 
7759
 
 
7760
        Commited wrong stuff by accident. (Requested by ademar on
 
7761
        #webkit).
 
7762
 
 
7763
        * Api/qwebview.cpp:
 
7764
        (QWebView::load):
 
7765
        (QWebView::setHtml):
 
7766
        (QWebView::setContent):
 
7767
        (QWebView::setUrl):
 
7768
        * QtWebKit.pro:
 
7769
 
 
7770
2011-08-25  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
 
7771
 
 
7772
        Unreviewed QtWebKit.pro fix for when building inside Qt
 
7773
 
 
7774
        Patch by Simo Fält <simo.falt@nokia.com>
 
7775
 
 
7776
        The QtWebKit version was being overwritten by a global Qt version when
 
7777
        QtWebKit was built inside Qt. Fixed by moving the version
 
7778
        definition after the inclusion of qbase.pri.
 
7779
 
 
7780
        * QtWebKit.pro:
 
7781
 
 
7782
2011-08-23  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
7783
 
 
7784
        [Qt] Fix build on Lion
 
7785
 
 
7786
        https://bugs.webkit.org/show_bug.cgi?id=66770
 
7787
 
 
7788
        Reviewed by Andreas Kling.
 
7789
 
 
7790
        We were mistakenly picking up mac/WebCoreSystemInterface.h instead of
 
7791
        the Qt one, and building on Lion revealed this when a typedef for
 
7792
        IOSurfaceRef was wrapped in PLATFORM(MAC).
 
7793
 
 
7794
        For now we fix this by including WebCoreSystemInterface using
 
7795
        brackets, so that we'll pick up the right file based on the
 
7796
        include paths. This also means exposing a few missing enums
 
7797
        in our own version of the file, so those were added.
 
7798
 
 
7799
        Lasty, we need to link against the right system interface library
 
7800
        on Lion.
 
7801
 
 
7802
        * QtWebKit.pro:
 
7803
 
 
7804
2011-08-21  Lindsay Mathieson  <lindsay.mathieson@gmail.com>
 
7805
 
 
7806
        [Qt] Fixes premature plugin unload bug
 
7807
        https://bugs.webkit.org/show_bug.cgi?id=66628
 
7808
        
 
7809
        Reviewed by Benjamin Poulain.
 
7810
 
 
7811
        The QtPlatformPlugin was allocated on the stack, so its destructor is unloading the
 
7812
        plugin at the end of the scope. This patch moves the local creation of QtPlatformPlugin
 
7813
        to class member (TextCheckerClientQt::m_platformPlugin), preventing premature unloading
 
7814
        of plugin.            
 
7815
        
 
7816
        * WebCoreSupport/TextCheckerClientQt.cpp:
 
7817
        (WebCore::TextCheckerClientQt::loadSpellChecker):
 
7818
        * WebCoreSupport/TextCheckerClientQt.h:
 
7819
 
 
7820
2011-08-17  Adam Roben  <aroben@apple.com>
 
7821
 
 
7822
        Make WebCore keep track of the current device scale factor
 
7823
 
 
7824
        Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
 
7825
        device scale factor
 
7826
 
 
7827
        Reviewed by Darin Adler.
 
7828
 
 
7829
        * Api/qwebpage.cpp:
 
7830
        (QWebPagePrivate::QWebPagePrivate): Removed pixelRatio.
 
7831
        (QWebPage::viewportAttributesForSize): Now calls Page::setDeviceScaleFactor.
 
7832
 
 
7833
        * Api/qwebpage_p.h: Removed pixelRatio.
 
7834
 
 
7835
        * WebCoreSupport/ChromeClientQt.cpp:
 
7836
        * WebCoreSupport/ChromeClientQt.h:
 
7837
        Removed deviceScaleFactor.
 
7838
 
 
7839
2011-08-18  Chang Shu  <cshu@webkit.org>
 
7840
 
 
7841
        Add support of setPasswordEchoEnabled and setPasswordEchoDuration for password echo feature
 
7842
        https://bugs.webkit.org/show_bug.cgi?id=66052
 
7843
 
 
7844
        Reviewed by Alexey Proskuryakov.
 
7845
 
 
7846
        Enable password echo under the build flag.
 
7847
 
 
7848
        * Api/qwebsettings.cpp:
 
7849
        (QWebSettingsPrivate::apply):
 
7850
 
 
7851
2011-08-16  Chang Shu  <cshu@webkit.org>
 
7852
 
 
7853
        Support reset in WebCore::Internals
 
7854
        https://bugs.webkit.org/show_bug.cgi?id=66307
 
7855
 
 
7856
        Reviewed by Dimitri Glazkov.
 
7857
 
 
7858
        Added framework code in WebKit.
 
7859
 
 
7860
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
7861
        (DumpRenderTreeSupportQt::resetInternalsObject):
 
7862
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
7863
 
 
7864
2011-08-16  Lindsay Mathieson   <lindsay.mathieson@gmail.com>
 
7865
 
 
7866
        [Qt] Missing spell check support
 
7867
        https://bugs.webkit.org/show_bug.cgi?id=44114
 
7868
 
 
7869
        Reviewed by Benjamin Poulain.
 
7870
 
 
7871
        Added a platform plugin to allow spell and grammar check in QtWebKit.
 
7872
 
 
7873
        * Api/qwebkitplatformplugin.h:
 
7874
        * QtWebKit.pro:
 
7875
        * WebCoreSupport/EditorClientQt.cpp:
 
7876
        (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
 
7877
        (WebCore::EditorClientQt::isGrammarCheckingEnabled):
 
7878
        (WebCore::EditorClientQt::toggleContinuousSpellChecking):
 
7879
        (WebCore::EditorClientQt::toggleGrammarChecking):
 
7880
        * WebCoreSupport/EditorClientQt.h:
 
7881
        (WebCore::EditorClientQt::textChecker):
 
7882
        * WebCoreSupport/QtPlatformPlugin.cpp:
 
7883
        (WebCore::QtPlatformPlugin::createSpellChecker):
 
7884
        * WebCoreSupport/QtPlatformPlugin.h:
 
7885
        * WebCoreSupport/TextCheckerClientQt.cpp: Added.
 
7886
        (convertToVectorList):
 
7887
        (WebCore::TextCheckerClientQt::ignoreWordInSpellDocument):
 
7888
        (WebCore::TextCheckerClientQt::learnWord):
 
7889
        (WebCore::TextCheckerClientQt::getAutoCorrectSuggestionForMisspelledWord):
 
7890
        (WebCore::TextCheckerClientQt::checkSpellingOfString):
 
7891
        (WebCore::TextCheckerClientQt::checkGrammarOfString):
 
7892
        (WebCore::TextCheckerClientQt::getGuessesForWord):
 
7893
        (WebCore::TextCheckerClientQt::isContinousSpellCheckingEnabled):
 
7894
        (WebCore::TextCheckerClientQt::toggleContinousSpellChecking):
 
7895
        (WebCore::TextCheckerClientQt::isGrammarCheckingEnabled):
 
7896
        (WebCore::TextCheckerClientQt::toggleGrammarChecking):
 
7897
        (WebCore::TextCheckerClientQt::loadSpellChecker):
 
7898
        * WebCoreSupport/TextCheckerClientQt.h: Added.
 
7899
        (WebCore::TextCheckerClientQt::requestCheckingOfString):
 
7900
 
 
7901
2011-08-15  Dmitry Titov  <dimich@chromium.org>
 
7902
 
 
7903
        FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
 
7904
        https://bugs.webkit.org/show_bug.cgi?id=66165
 
7905
 
 
7906
        Reviewed by Darin Fisher.
 
7907
 
 
7908
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
7909
        (WebCore::FrameLoaderClientQt::transferLoadingResourceFromPage):
 
7910
        * WebCoreSupport/FrameLoaderClientQt.h:
 
7911
 
 
7912
2011-08-10  Adam Roben  <aroben@apple.com>
 
7913
 
 
7914
        Clear up scale factor terminology
 
7915
 
 
7916
        WebKit by and large deals with two scale factors: one intrinsic to the device on which the
 
7917
        software is running, and one that is per-Page and can be controlled via API calls. This
 
7918
        patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
 
7919
        code use those names. It should introduce no behavior changes.
 
7920
 
 
7921
        Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
 
7922
        device scale factor
 
7923
 
 
7924
        Reviewed by Simon Fraser.
 
7925
 
 
7926
        * WebCoreSupport/ChromeClientQt.cpp:
 
7927
        * WebCoreSupport/ChromeClientQt.h:
 
7928
 
 
7929
2011-08-12  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
7930
 
 
7931
        [Qt] Add test for correct order of load signals in QWebPage
 
7932
        https://bugs.webkit.org/show_bug.cgi?id=66016
 
7933
 
 
7934
        Reviewed by Benjamin Poulain.
 
7935
 
 
7936
        Add API test to ensure the order of load signals: loadStarted() needs to be emitted
 
7937
        first, then loadProgress(100), followed by loadFinished().
 
7938
 
 
7939
        The test is skipped since this right now is broken, the bug
 
7940
        https://bugs.webkit.org/show_bug.cgi?id=28851 tracks one possible way to fix.
 
7941
 
 
7942
        * tests/qwebpage/tst_qwebpage.cpp:
 
7943
        (SpyForLoadSignalsOrder::SpyForLoadSignalsOrder):
 
7944
        (SpyForLoadSignalsOrder::isFinished):
 
7945
        (SpyForLoadSignalsOrder::onLoadProgress):
 
7946
        (tst_QWebPage::loadSignalsOrder_data):
 
7947
        (tst_QWebPage::loadSignalsOrder):
 
7948
 
 
7949
2011-08-12  Alexis Menard  <alexis.menard@openbossa.org>
 
7950
 
 
7951
        [Qt] Make sure QtWebKit correctly compiles when building WebKit2 with Qt5.
 
7952
 
 
7953
        In order to build correctly the QtQuick1 plugin we need to explicitly
 
7954
        link to the new library added in Qt5 "qtquick1".
 
7955
 
 
7956
        Reviewed by Simon Hausmann.
 
7957
 
 
7958
        * declarative/declarative.pro:
 
7959
 
 
7960
2011-08-11  Andrew Wason  <rectalogic@rectalogic.com>
 
7961
 
 
7962
        REGRESSION: Qt JavaScript bridge signal connection fails
 
7963
        https://bugs.webkit.org/show_bug.cgi?id=66097
 
7964
 
 
7965
        Reviewed by Gavin Barraclough.
 
7966
 
 
7967
        Unmark tests as expected failures, they pass now.
 
7968
 
 
7969
        * tests/qwebframe/tst_qwebframe.cpp:
 
7970
        (tst_QWebFrame::connectAndDisconnect):
 
7971
 
 
7972
2011-08-09  Sheriff Bot  <webkit.review.bot@gmail.com>
 
7973
 
 
7974
        Unreviewed, rolling out r92683.
 
7975
        http://trac.webkit.org/changeset/92683
 
7976
        https://bugs.webkit.org/show_bug.cgi?id=65921
 
7977
 
 
7978
         "Breaks Qt --minimal build. Revert pending update of the Qt
 
7979
        minimal configuration" (Requested by simathur on #webkit).
 
7980
 
 
7981
        * Api/qwebsettings.cpp:
 
7982
        (QWebSettings::enablePersistentStorage):
 
7983
 
 
7984
2011-08-09  Siddharth Mathur  <siddharth.mathur@nokia.com>
 
7985
 
 
7986
        [Qt] Simplify code by removing QT_NO_DESKTOPSERVICES and QT_NO_NETWORKDISKCACHE
 
7987
        https://bugs.webkit.org/show_bug.cgi?id=65880
 
7988
 
 
7989
        Reviewed by Andreas Kling.
 
7990
 
 
7991
        QDesktopServices and QNetworkDiskCache have been around for a while now. Kill flags which 
 
7992
        check for their feature flags. Assume that any reasonable Qt build provides them. 
 
7993
 
 
7994
        * Api/qwebsettings.cpp:
 
7995
        (QWebSettings::enablePersistentStorage):
 
7996
 
 
7997
2011-08-05  Dawit Alemayehu  <adawit@kde.org>
 
7998
 
 
7999
        Reviewed by Andreas Kling.
 
8000
 
 
8001
        Reverted commit r87797, http://trac.webkit.org/changeset/87797, because it
 
8002
        causes the regression reported under bug# 63582.
 
8003
 
 
8004
        [Qt] REGRESSION(r87797): Broke KDEWebKit's custom QNAM.
 
8005
        https://bugs.webkit.org/show_bug.cgi?id=63582
 
8006
 
 
8007
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8008
        (WebCore::FrameLoaderClientQt::setFrame):
 
8009
 
 
8010
2011-08-03  Pavel Feldman  <pfeldman@google.com>
 
8011
 
 
8012
        Web Inspector: [Timeline] Hover on paint events and see rect outline around that area.
 
8013
        https://bugs.webkit.org/show_bug.cgi?id=65510
 
8014
 
 
8015
        Reviewed by Yury Semikhatsky.
 
8016
 
 
8017
        * Api/qwebframe.cpp:
 
8018
        (QWebFramePrivate::renderRelativeCoords):
 
8019
 
 
8020
2011-08-03  Pavel Feldman  <pfeldman@chromium.org>
 
8021
 
 
8022
        Web Inspector: remove Node parameter from the InspectorClient::highlight
 
8023
        https://bugs.webkit.org/show_bug.cgi?id=65549
 
8024
 
 
8025
        Reviewed by Yury Semikhatsky.
 
8026
 
 
8027
        * WebCoreSupport/InspectorClientQt.cpp:
 
8028
        (WebCore::InspectorClientQt::highlight):
 
8029
        * WebCoreSupport/InspectorClientQt.h:
 
8030
 
 
8031
2011-08-02  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
8032
 
 
8033
        [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
 
8034
        https://bugs.webkit.org/show_bug.cgi?id=61042
 
8035
        Remove mark as expected fail where unexpected pass and mark failing test case as expected fail
 
8036
 
 
8037
        Reviewed by Csaba Osztrogonác.
 
8038
 
 
8039
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
8040
        (tst_QDeclarativeWebView::basicProperties):
 
8041
        (tst_QDeclarativeWebView::historyNav):
 
8042
 
 
8043
2011-08-02  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
8044
 
 
8045
        [Qt] Fix tst_QWebPage::viewModes() API test
 
8046
        https://bugs.webkit.org/show_bug.cgi?id=65531
 
8047
 
 
8048
        Reviewed by Csaba Osztrogonác.
 
8049
 
 
8050
        * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
 
8051
        (tst_QWebPage::viewModes):
 
8052
 
 
8053
2011-08-02  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
8054
 
 
8055
        [Qt] Fix tst_QWebFrame::connectAndDisconnect() API test
 
8056
        https://bugs.webkit.org/show_bug.cgi?id=65170
 
8057
 
 
8058
        Reviewed by Csaba Osztrogonác.
 
8059
 
 
8060
        * tests/qwebframe/tst_qwebframe.cpp: Mark failing test case as expected fail
 
8061
        (tst_QWebFrame::connectAndDisconnect):
 
8062
 
 
8063
2011-08-02  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
8064
 
 
8065
        [Qt] Fix tst_QWebElement::render() API test
 
8066
        https://bugs.webkit.org/show_bug.cgi?id=65243
 
8067
 
 
8068
        Reviewed by Csaba Osztrogonác.
 
8069
 
 
8070
        * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
 
8071
        (tst_QWebElement::render):
 
8072
 
 
8073
2011-08-02  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
8074
 
 
8075
        [Qt] tst_QWebElement::style() fails because QWebElement::CascadedStyle doesn't work as expected
 
8076
        https://bugs.webkit.org/show_bug.cgi?id=65244
 
8077
 
 
8078
        Reviewed by Csaba Osztrogonác.
 
8079
 
 
8080
        * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail
 
8081
        (tst_QWebElement::style):
 
8082
 
 
8083
2011-08-01  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
8084
 
 
8085
        [Qt] Fix tst_QWebPage::loadHtml5Video() API test
 
8086
        https://bugs.webkit.org/show_bug.cgi?id=65452
 
8087
 
 
8088
        Reviewed by Csaba Osztrogonác.
 
8089
 
 
8090
        * tests/qwebpage/tst_qwebpage.cpp: Mark failing test case as expected fail
 
8091
        (tst_QWebPage::loadHtml5Video):
 
8092
 
 
8093
2011-07-30  Patrick Gansterer  <paroga@webkit.org>
 
8094
 
 
8095
        Remove inclusion of MainThread.h from Threading.h
 
8096
        https://bugs.webkit.org/show_bug.cgi?id=65081
 
8097
 
 
8098
        Reviewed by Darin Adler.
 
8099
 
 
8100
        Add missing include statements for MainThread.
 
8101
 
 
8102
        * Api/qwebpage.cpp:
 
8103
 
 
8104
2011-07-27  Benjamin Poulain  <benjamin@webkit.org>
 
8105
 
 
8106
        [WK2][Qt] Move from QGraphicsView to Qt Scene Graph
 
8107
        https://bugs.webkit.org/show_bug.cgi?id=62969
 
8108
 
 
8109
        Reviewed by Andreas Kling.
 
8110
 
 
8111
        Co-authored with Simon Hausmann  <simon.hausmann@nokia.com>
 
8112
 
 
8113
        Add the declarative dependency to link WebKit.
 
8114
 
 
8115
        * QtWebKit.pro:
 
8116
 
 
8117
2011-07-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
8118
 
 
8119
        [Qt] QtWebkit never finishes loading sites when they are loaded after an initial QUrl fails to load.
 
8120
        https://bugs.webkit.org/show_bug.cgi?id=61328
 
8121
 
 
8122
        Reviewed by Andreas Kling.
 
8123
 
 
8124
        Change the hooks in FrameLoaderClient we use for emitting signals. Instead of
 
8125
        emitting signals in the progress notification functions, we use the
 
8126
        dispatchDid{Start,Finish,Fail}* functions. The main reason behind this change is
 
8127
        that loading code is prepared to handle load() when inside those functions.
 
8128
 
 
8129
        The crash was being caused by setUrl() (and load()) being called when
 
8130
        loadFinished(false) was emitted. The problem here is that when
 
8131
        postProgressFinishedNotification the FrameLoader wasn't ready for taking a load()
 
8132
        call again, because it was still the ProvisionalLoadState but with the
 
8133
        provisionalDocumentLoader already removed.
 
8134
 
 
8135
        To emulate the same behavior that QtWebKit had when using
 
8136
        postProgressFinishedNotification, we now keep track of the frame originating the
 
8137
        load, and emit the signals when this frame's client is called.
 
8138
 
 
8139
        The patch keeps the existing semantics for QWebPage signals, but we now emit the
 
8140
        QWebFrame signals everytime, not only when they are the originating frame for
 
8141
        loading.
 
8142
 
 
8143
        * Api/qwebframe.cpp:
 
8144
        (clearCoreFrame): Document our assumption that activeDocumentLoader will exist.
 
8145
 
 
8146
        * WebCoreSupport/FrameLoaderClientQt.h: Remove m_loadError, add a boolean to keep
 
8147
        track whether the frame is originating the load. Remove the signals from
 
8148
        FrameLoaderClientQt since we will emit QWebFrame and QWebPage signals directly.
 
8149
 
 
8150
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8151
        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt): Initialize m_isOriginatingLoad.
 
8152
 
 
8153
        (WebCore::FrameLoaderClientQt::setFrame): Do not connect QWebFrame and QWebPage
 
8154
        signals to our signals for load/finished, signal emission will be done manually.
 
8155
 
 
8156
        (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad): Emit
 
8157
        loadStarted() signal and make the first notification of estimation change, that
 
8158
        Qt API tests expect to exist and notify 10%.
 
8159
 
 
8160
        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): Remove reference to
 
8161
        m_loadError and emit loadFinished() signal.
 
8162
 
 
8163
        (WebCore::FrameLoaderClientQt::postProgressStartedNotification): Remove signal
 
8164
        emission and mark the originating load as true, since only the originating frame
 
8165
        gets this call in its client.
 
8166
 
 
8167
        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): Remove signal
 
8168
        emission.
 
8169
 
 
8170
        (WebCore::FrameLoaderClientQt::callErrorPageExtension): Return whether the call
 
8171
        was successful or not. This wasn't necessary before because a successful call for
 
8172
        error page would lead to a load(), that cleared the m_loadError.
 
8173
        (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad): Remove reference
 
8174
        to m_loadError and emit finished signal indicating error if ErrorPage extension
 
8175
        doesn't handle it.
 
8176
        (WebCore::FrameLoaderClientQt::dispatchDidFailLoad): Ditto.
 
8177
 
 
8178
        (WebCore::FrameLoaderClientQt::emitLoadStarted): Emit the loadStarted() signal
 
8179
        for the QWebFrame, and if the originating load also do for the QWebPage.
 
8180
 
 
8181
        (WebCore::FrameLoaderClientQt::emitLoadFinished): Same as before but for
 
8182
        loadFinished(). Take care to reset the originating load flag before the signals
 
8183
        are emitted, since they might want to set it back again.
 
8184
 
 
8185
        * tests/qwebframe/tst_qwebframe.cpp:
 
8186
        (URLSetter::URLSetter): Object that sets the url using either load() or setUrl()
 
8187
        when a certain signal is emitted in the frame.
 
8188
 
 
8189
        (URLSetter::execute):
 
8190
        (tst_QWebFrame::loadInSignalHandlers_data):
 
8191
        (tst_QWebFrame::loadInSignalHandlers): New test inspired by the bug test case. This test
 
8192
        crashes without this patch applied.
 
8193
 
 
8194
2011-07-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
8195
 
 
8196
        [Qt] Fix build in Qt 5 of QDeclarativeWebView
 
8197
        https://bugs.webkit.org/show_bug.cgi?id=65258
 
8198
 
 
8199
        Reviewed by Andreas Kling.
 
8200
 
 
8201
        In Qt 5, the QGraphicsView-based classes for QtQuick are in the
 
8202
        qtquick1 module, including QDeclarativeItem and QDeclarativeView.
 
8203
 
 
8204
        * declarative/qdeclarativewebview_p.h:
 
8205
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
8206
        * tests/tests.pri:
 
8207
        * tests/tests.pro:
 
8208
 
 
8209
2011-07-26  Sadrul Habib Chowdhury  <sadrul@chromium.org>
 
8210
 
 
8211
        Add support for download='filename' attribute in anchors.
 
8212
        https://bugs.webkit.org/show_bug.cgi?id=64580
 
8213
 
 
8214
        Reviewed by Adam Barth.
 
8215
 
 
8216
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8217
        (WebCore::FrameLoaderClientQt::startDownload):
 
8218
        * WebCoreSupport/FrameLoaderClientQt.h:
 
8219
 
 
8220
2011-07-26  Alexis Menard  <alexis.menard@openbossa.org>
 
8221
 
 
8222
        Reviewed by Andreas Kling.
 
8223
 
 
8224
        [Qt] Change default backend to use GStreamer on Linux and QuickTime on Mac.
 
8225
        https://bugs.webkit.org/show_bug.cgi?id=63472
 
8226
 
 
8227
        Use the flag WTF_USE_QTKIT=1 rather than USE_QTKIT=1 because that flag doesn't
 
8228
        exist anymore, it's the default. Ditto for GStreamer.
 
8229
 
 
8230
        * QtWebKit.pro:
 
8231
 
 
8232
2011-07-25  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
8233
 
 
8234
        [Qt] Add more tests to cover the behavior of loadFinished() signal
 
8235
        https://bugs.webkit.org/show_bug.cgi?id=63490
 
8236
 
 
8237
        Reviewed by Benjamin Poulain.
 
8238
 
 
8239
        * tests/qwebframe/tst_qwebframe.cpp:
 
8240
        (FakeReply::FakeReply):
 
8241
        (FakeNetworkManager::createRequest): Add a fake reply that gives 404 error code.
 
8242
 
 
8243
        (tst_QWebFrame::loadFinishedAfterNotFoundError): Verify that we get loadFinished(false)
 
8244
        after a 404 error without contents.
 
8245
 
 
8246
        * tests/qwebpage/tst_qwebpage.cpp:
 
8247
        (tst_QWebPage::errorPageExtensionLoadFinished): Verify if the argument of loadFinished()
 
8248
        is true when we use error page extension to produce our own error pages.
 
8249
 
 
8250
2011-07-19  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
8251
 
 
8252
        [Qt] Improve documentation of QWebView::setPage()
 
8253
        https://bugs.webkit.org/show_bug.cgi?id=64827
 
8254
 
 
8255
        Reviewed by Noam Rosenthal.
 
8256
 
 
8257
        * Api/qwebview.cpp: Use the word 'page' to refer to a QWebPage instead of 'document'.
 
8258
 
 
8259
2011-07-19  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
8260
 
 
8261
        [Qt] Fix leak of QWebPage in errorPageExtension tests
 
8262
        https://bugs.webkit.org/show_bug.cgi?id=64814
 
8263
 
 
8264
        Reviewed by Noam Rosenthal.
 
8265
 
 
8266
        QWebView::setPage() doesn't take ownership, so the ErrorPages were leaking. So now
 
8267
        allocate them on the stack. This shouldn't change any behavior.
 
8268
 
 
8269
        * tests/qwebpage/tst_qwebpage.cpp:
 
8270
        (tst_QWebPage::errorPageExtension):
 
8271
        (tst_QWebPage::errorPageExtensionInIFrames):
 
8272
        (tst_QWebPage::errorPageExtensionInFrameset):
 
8273
 
 
8274
2011-07-18  Hui Huang  <hui.2.huang@nokia.com>
 
8275
 
 
8276
        [Qt] Compiling error in Source/WebKit/qt/tests/qwebelement/tst_qwebelement.cpp with Qt 4.7 or older
 
8277
        https://bugs.webkit.org/show_bug.cgi?id=64560
 
8278
 
 
8279
        Reviewed by Noam Rosenthal.
 
8280
 
 
8281
        * tests/qwebelement/tst_qwebelement.cpp:
 
8282
        (tst_QWebElement::render):
 
8283
 
 
8284
2011-07-15  Dan Bernstein  <mitz@apple.com>
 
8285
 
 
8286
        REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
 
8287
        https://bugs.webkit.org/show_bug.cgi?id=64615
 
8288
 
 
8289
        Reviewed by Anders Carlsson.
 
8290
 
 
8291
        * WebCoreSupport/ChromeClientQt.h:
 
8292
        (WebCore::ChromeClientQt::setCursorHiddenUntilMouseMoves): Added this stub.
 
8293
 
 
8294
2011-07-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
8295
 
 
8296
        REGRESSION(91064): Upstream QtWebKit/N9 changes related tovisibleContentRect
 
8297
 
 
8298
        Reviewed by Antonio Gomes.
 
8299
 
 
8300
        Only set setFixedVisibleContentRect when in resizesToContents mode.
 
8301
 
 
8302
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8303
        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
 
8304
 
 
8305
2011-07-15  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
8306
 
 
8307
        Upstream QtWebKit/N9 changes related to visibleContentRect
 
8308
        https://bugs.webkit.org/show_bug.cgi?id=64589
 
8309
 
 
8310
        Reviewed by Simon Hausmann.
 
8311
 
 
8312
        * Api/qwebpage.cpp:
 
8313
        (QWebPage::setActualVisibleContentRect):
 
8314
        Change to use setFixedVisibleContentRect.
 
8315
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8316
        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
 
8317
        Only set fixedVisibleContentRect for the mainframe.
 
8318
        * symbian/eabi/QtWebKitu.def:
 
8319
 
 
8320
2011-07-13  Joseph Pecoraro  <joepeck@webkit.org>
 
8321
 
 
8322
        Improve names of some ApplicationCacheStorage accessor methods
 
8323
        https://bugs.webkit.org/show_bug.cgi?id=64433
 
8324
 
 
8325
        Reviewed by Alexey Proskuryakov.
 
8326
 
 
8327
        * WebCoreSupport/ChromeClientQt.cpp:
 
8328
        (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
 
8329
        Renamed method.
 
8330
 
 
8331
2011-07-12  Joseph Pecoraro  <joepeck@webkit.org>
 
8332
 
 
8333
        ApplicationCache update should not immediately fail when reaching per-origin quota
 
8334
        https://bugs.webkit.org/show_bug.cgi?id=64177
 
8335
 
 
8336
        Reviewed by Alexey Proskuryakov.
 
8337
 
 
8338
        * Api/qwebpage.cpp:
 
8339
        * Api/qwebpage.h:
 
8340
        * WebCoreSupport/ChromeClientQt.cpp:
 
8341
        (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
 
8342
        * WebCoreSupport/ChromeClientQt.h:
 
8343
        Pass the spaceNeeded value through to the applicationCacheQuotaExceeded signal.
 
8344
 
 
8345
2011-07-11  Ryosuke Niwa  <rniwa@webkit.org>
 
8346
 
 
8347
        Move selection related code from RenderTextControl to HTMLTextFormControlElement
 
8348
        https://bugs.webkit.org/show_bug.cgi?id=64133
 
8349
 
 
8350
        Reviewed by Dimitri Glazkov.
 
8351
 
 
8352
        Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
 
8353
 
 
8354
        * Api/qwebpage.cpp:
 
8355
        (QWebPagePrivate::inputMethodEvent):
 
8356
 
 
8357
2011-07-08  Adam Barth  <abarth@webkit.org>
 
8358
 
 
8359
        Unreviewed, rolling out r90662.
 
8360
        http://trac.webkit.org/changeset/90662
 
8361
        https://bugs.webkit.org/show_bug.cgi?id=64210
 
8362
 
 
8363
        Introduced regressions in Chromium browser tests (Requested by
 
8364
        rniwa on #webkit).
 
8365
 
 
8366
        * Api/qwebpage.cpp:
 
8367
        (QWebPagePrivate::inputMethodEvent):
 
8368
 
 
8369
2011-07-08  Ryosuke Niwa  <rniwa@webkit.org>
 
8370
 
 
8371
        Move selection related code from RenderTextControl to HTMLTextFormControlElement
 
8372
        https://bugs.webkit.org/show_bug.cgi?id=64133
 
8373
 
 
8374
        Reviewed by Dimitri Glazkov.
 
8375
 
 
8376
        Replaced calls to WebCore::setSelectionRange by calls to HTMLTextFormControlElement::setSelectionRange.
 
8377
 
 
8378
        * Api/qwebpage.cpp:
 
8379
        (QWebPagePrivate::inputMethodEvent):
 
8380
 
 
8381
2011-07-05  Rafael Brandao  <rafael.lobo@openbossa.org>
 
8382
 
 
8383
        [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
 
8384
        https://bugs.webkit.org/show_bug.cgi?id=63235
 
8385
 
 
8386
        Modified baseUrl to be a local file in order to get a security origin
 
8387
        that is allowed to request local resources. Removed QSignalSpy from it
 
8388
        as loadFinished always happens, and the original test was split into two.
 
8389
 
 
8390
        Reviewed by Benjamin Poulain.
 
8391
 
 
8392
        * tests/qwebframe/tst_qwebframe.cpp:
 
8393
        (tst_QWebFrame::setHtmlWithImageResource):
 
8394
        (tst_QWebFrame::setHtmlWithStylesheetResource):
 
8395
        (tst_QWebFrame::setHtmlWithBaseURL):
 
8396
 
 
8397
2011-04-02  Robert Hogan  <robert@webkit.org>
 
8398
 
 
8399
        Reviewed by Benjamin Poulain.
 
8400
 
 
8401
        [Qt] Support third-party cookie policy for Qt clients
 
8402
 
 
8403
        This adds new API to QWebSettings that allows clients to
 
8404
        select one of three third-party cookie blocking policies:
 
8405
 
 
8406
          AlwaysAllowThirdPartyCookies
 
8407
          AlwaysBlockThirdPartyCookies
 
8408
          AllowThirdPartyWithExistingCookies
 
8409
 
 
8410
        The first two are self-explanatory, the third mimics Safari's
 
8411
        default behaviour of permitting third-party cookies when the user
 
8412
        already has cookies from the third-party site. This was
 
8413
        introduced to allow third-party cookie blocking to play well with
 
8414
        facebook sharing etc. AlwaysAllowThirdPartyCookies is the default.
 
8415
 
 
8416
        There is scope for adding an 'exceptions' list API and clients would
 
8417
        struggle to implement it themselves given the paucity of information
 
8418
        available from setCookiesForUrl().
 
8419
 
 
8420
        See also: http://gitorious.org/qt/qt/merge_requests/1205
 
8421
                   (commit 154402f56dcf8303a6ce601a52215226af8d31ba)
 
8422
                  http://bugreports.qt.nokia.com/browse/QTBUG-13601
 
8423
 
 
8424
        https://bugs.webkit.org/show_bug.cgi?id=45455
 
8425
 
 
8426
        * Api/qwebsettings.cpp:
 
8427
        (QWebSettings::QWebSettings):
 
8428
        (QWebSettings::setThirdPartyCookiePolicy):
 
8429
        (QWebSettings::thirdPartyCookiePolicy):
 
8430
        * Api/qwebsettings.h:
 
8431
 
 
8432
2011-07-01  Jade Han  <jade.han@nokia.com>
 
8433
 
 
8434
        [Qt][Symbian] Update .def file for Symbian to build Tools
 
8435
        https://bugs.webkit.org/show_bug.cgi?id=61200
 
8436
 
 
8437
        Reviewed by Laszlo Gombos.
 
8438
 
 
8439
        Add newly introduced symbols to fix building the Tools directory for Symbian.
 
8440
 
 
8441
        * symbian/eabi/QtWebKitu.def:
 
8442
 
 
8443
2011-07-01  Jade Han  <jade.han@nokia.com>
 
8444
 
 
8445
        Reviewed by Laszlo Gombos.
 
8446
 
 
8447
        [Qt][Symbian] Update .def file for Symbian
 
8448
        https://bugs.webkit.org/show_bug.cgi?id=61200
 
8449
 
 
8450
        Add newly introduced symbols to fix the Symbian build.
 
8451
 
 
8452
        * symbian/eabi/QtWebKitu.def:
 
8453
 
 
8454
2011-06-30  Rafael Brandao  <rafael.lobo@openbossa.org>
 
8455
 
 
8456
        Reviewed by Benjamin Poulain.
 
8457
 
 
8458
        [Qt] Fix tst_QWebFrame::renderGeometry() API test
 
8459
        https://bugs.webkit.org/show_bug.cgi?id=63236
 
8460
        
 
8461
        This test required a security origin with granted permission to request local resources.
 
8462
        By default, only local files can load local resources. So modified baseUrl to be a local file.
 
8463
 
 
8464
        * tests/qwebframe/tst_qwebframe.cpp:
 
8465
        (tst_QWebFrame::renderGeometry):
 
8466
 
 
8467
2011-06-27  Diego Gonzalez  <diegohcg@webkit.org>
 
8468
 
 
8469
        Reviewed by Antonio Gomes.
 
8470
 
 
8471
        [Qt] DRT: Provide LayoutTestController::setDefersLoading and ::goBack support
 
8472
        https://bugs.webkit.org/show_bug.cgi?id=63489
 
8473
 
 
8474
        Unskipped:
 
8475
            loader/navigation-while-deferring-loads.html
 
8476
 
 
8477
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8478
        (DumpRenderTreeSupportQt::setDefersLoading):
 
8479
        (DumpRenderTreeSupportQt::goBack):
 
8480
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
8481
 
 
8482
2011-06-30  Fabrizio Machado  <fabrizio.machado@nokia.com>
 
8483
 
 
8484
        Reviewed by Benjamin Poulain.
 
8485
        
 
8486
        [Qt] QML Webview causes performance drops
 
8487
        https://bugs.webkit.org/show_bug.cgi?id=57554
 
8488
 
 
8489
        Remove tiledBackingStoreEnabled from QML WebView.
 
8490
        
 
8491
        * declarative/qdeclarativewebview.cpp:
 
8492
        (QDeclarativeWebView::setPage):
 
8493
 
 
8494
2011-06-30  Kentaro Hara  <haraken@google.com>
 
8495
 
 
8496
        Reviewed by Kent Tamura.
 
8497
 
 
8498
        Change the label of an HTML5 file chooser button to "Choose Files"
 
8499
        https://bugs.webkit.org/show_bug.cgi?id=49245
 
8500
 
 
8501
        We should notify capability of multiple files to users.
 
8502
 
 
8503
        Test: fast/forms/input-file-label.html
 
8504
 
 
8505
        * WebCoreSupport/WebPlatformStrategies.cpp:
 
8506
        (WebPlatformStrategies::fileButtonChooseFileLabel): Updated the description for "Choose File".
 
8507
        (WebPlatformStrategies::fileButtonChooseMultipleFilesLabel):  Returns a "Choose Files" label.
 
8508
        * WebCoreSupport/WebPlatformStrategies.h:
 
8509
 
 
8510
2011-06-29  Alexis Menard  <alexis.menard@openbossa.org>
 
8511
 
 
8512
        Reviewed by Benjamin Poulain.
 
8513
 
 
8514
        [Qt] Add Qt dependencies in QtWebKit's main pro file.
 
8515
        https://bugs.webkit.org/show_bug.cgi?id=63639
 
8516
 
 
8517
        syncqt, the script which generates the headers inside Qt parses
 
8518
        the main pro file of QtWebKit to check the Qt dependencies. It used
 
8519
        to be WebCore.pro but after the build reorganization QtWebKit.pro is
 
8520
        the new main pro file so we need to add the network dependency just like
 
8521
        we did in WebCore.pro.
 
8522
 
 
8523
        * QtWebKit.pro:
 
8524
 
 
8525
2011-06-28  Ilya Sherman  <isherman@chromium.org>
 
8526
 
 
8527
        Reviewed by Adam Barth.
 
8528
 
 
8529
        form.autocomplete="off" does not work
 
8530
        https://bugs.webkit.org/show_bug.cgi?id=35823
 
8531
 
 
8532
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8533
        (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId): Update callsite.
 
8534
 
 
8535
2011-06-27  Diego Gonzalez  <diegohcg@webkit.org>
 
8536
 
 
8537
        Reviewed by Kenneth Rohde Christiansen.
 
8538
 
 
8539
        [Qt] DRT support for setInteractiveFormValidationEnabled
 
8540
        https://bugs.webkit.org/show_bug.cgi?id=63496
 
8541
 
 
8542
        Unskipped:
 
8543
            fast/forms/interactive-validation-prevented.html
 
8544
            fast/forms/interactive-validation-attach-assertion.html
 
8545
            fast/forms/interactive-validation-assertion-by-validate-twice.html
 
8546
            fast/forms/interactive-validation-select-crash.html
 
8547
            fast/forms/interactive-validation-crash-by-style-override.html
 
8548
 
 
8549
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8550
        (DumpRenderTreeSupportQt::setInteractiveFormValidationEnabled):
 
8551
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
8552
 
 
8553
2011-06-28  Alexis Menard  <alexis.menard@openbossa.org>
 
8554
 
 
8555
        Reviewed by Andreas Kling.
 
8556
 
 
8557
        [Qt] Use <QtX/x.h> style of headers for Qt tests which rely on it.
 
8558
        https://bugs.webkit.org/show_bug.cgi?id=63562
 
8559
 
 
8560
        Some Qt auto-tests rely on <QtX/x.h> types of includes.
 
8561
 
 
8562
        * Api/qwebkitplatformplugin.h:
 
8563
        * symbian/platformplugin/qwebkitplatformplugin.h:
 
8564
 
 
8565
2011-06-28  Alexis Menard  <alexis.menard@openbossa.org>
 
8566
 
 
8567
        Reviewed by Andreas Kling.
 
8568
 
 
8569
        [Qt] Use QtQuick imports in Api tests rather than old deprecated Qt 4.x imports.
 
8570
        https://bugs.webkit.org/show_bug.cgi?id=63533
 
8571
 
 
8572
        We need to use the new QtQuick 1.x imports rather than the old deprecated
 
8573
        version.
 
8574
 
 
8575
        * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml:
 
8576
        * tests/qdeclarativewebview/resources/webviewtest.qml:
 
8577
        * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
 
8578
 
 
8579
2011-06-27  Alexis Menard  <alexis.menard@openbossa.org>
 
8580
 
 
8581
        Reviewed by Darin Adler.
 
8582
 
 
8583
        Use specific headers includes rather than full system headers.
 
8584
        https://bugs.webkit.org/show_bug.cgi?id=63475
 
8585
 
 
8586
        Use only needed headers rather than system headers.
 
8587
 
 
8588
        * WebCoreSupport/QTKitFullScreenVideoHandler.mm:
 
8589
 
 
8590
2011-06-27  Alexis Menard  <alexis.menard@openbossa.org>
 
8591
 
 
8592
        Reviewed by Kenneth Rohde Christiansen.
 
8593
 
 
8594
        [Qt] Remove Phonon MediaPlayer from the tree.
 
8595
        https://bugs.webkit.org/show_bug.cgi?id=63448
 
8596
 
 
8597
        Remove Phonon related stuff.
 
8598
 
 
8599
        * docs/qtwebkit.qdocconf:
 
8600
        * qt_webkit_version.pri:
 
8601
 
 
8602
2011-06-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
8603
 
 
8604
        Reviewed by Andreas Kling.
 
8605
 
 
8606
        [Qt] tst_QWebFrame::overloadedSlots() fails
 
8607
        https://bugs.webkit.org/show_bug.cgi?id=37319
 
8608
 
 
8609
        * tests/qwebframe/tst_qwebframe.cpp:
 
8610
        (tst_QWebFrame::overloadedSlots): Remove expected failure and
 
8611
        fix the comment.
 
8612
 
 
8613
2011-06-20  Robert Hogan  <robert@webkit.org>
 
8614
 
 
8615
        Reviewed by Antonio Gomes.
 
8616
 
 
8617
        [Qt] Duplicate entry in context menu
 
8618
        https://bugs.webkit.org/show_bug.cgi?id=62139
 
8619
 
 
8620
        contextMenuController()->populate() is called from
 
8621
        ContextMenuController::handleContextMenuEvent() so
 
8622
        QWebPage::updatePositionDependentActions() does not need
 
8623
        to call it independently.
 
8624
 
 
8625
        Related changesets: 
 
8626
         http://trac.webkit.org/changeset/73535
 
8627
         http://trac.webkit.org/changeset/32389
 
8628
 
 
8629
        * Api/qwebpage.cpp:
 
8630
        (QWebPage::updatePositionDependentActions):
 
8631
        * tests/qwebpage/tst_qwebpage.cpp:
 
8632
        (tst_QWebPage::contextMenuCopy):
 
8633
        (tst_QWebPage::contextMenuPopulatedOnce):
 
8634
 
 
8635
2011-06-24  Dominic Cooney  <dominicc@chromium.org>
 
8636
 
 
8637
        Reviewed by Dimitri Glazkov.
 
8638
 
 
8639
        Convert shadow-DOM related tests to use window.internals
 
8640
        https://bugs.webkit.org/show_bug.cgi?id=61671
 
8641
 
 
8642
        Remove shadow-DOM related methods from Qt DRT API. These are not
 
8643
        required any more.
 
8644
 
 
8645
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8646
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
8647
 
 
8648
2011-06-23  Joe Wild  <joseph.wild@nokia.com>
 
8649
 
 
8650
        Reviewed by Laszlo Gombos.
 
8651
 
 
8652
        [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
 
8653
        https://bugs.webkit.org/show_bug.cgi?id=61200
 
8654
 
 
8655
        Revert r87060 as it broke compatibility with QtWebKit 2.1 release
 
8656
        and add some newly introduce symbols.
 
8657
 
 
8658
        * symbian/eabi/QtWebKitu.def:
 
8659
 
 
8660
2011-06-23  Alexis Menard  <alexis.menard@openbossa.org>
 
8661
 
 
8662
        Reviewed by Eric Carlson.
 
8663
 
 
8664
        [Qt] Implement fullscreen support on Mac with the QuickTime backend.
 
8665
        https://bugs.webkit.org/show_bug.cgi?id=61728
 
8666
 
 
8667
        Implement fullscreen support for Qt when using the QuickTime backend.
 
8668
        We mostly use what is already done for the Mac port.
 
8669
 
 
8670
        * QtWebKit.pro:
 
8671
        * WebCoreSupport/ChromeClientQt.cpp:
 
8672
        (WebCore::ChromeClientQt::ChromeClientQt):
 
8673
        (WebCore::ChromeClientQt::~ChromeClientQt):
 
8674
        * WebCoreSupport/ChromeClientQt.h:
 
8675
        * WebCoreSupport/FullScreenVideoQt.cpp:
 
8676
        (WebCore::FullScreenVideoQt::FullScreenVideoQt):
 
8677
        (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
 
8678
        (WebCore::FullScreenVideoQt::enterFullScreenForNode):
 
8679
        (WebCore::FullScreenVideoQt::exitFullScreenForNode):
 
8680
        (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
 
8681
        (WebCore::FullScreenVideoQt::isValid):
 
8682
        * WebCoreSupport/FullScreenVideoQt.h:
 
8683
        * WebCoreSupport/QTKitFullScreenVideoHandler.h: Added.
 
8684
        * WebCoreSupport/QTKitFullScreenVideoHandler.mm: Added.
 
8685
        (QTKitFullScreenVideoHandler::QTKitFullScreenVideoHandler):
 
8686
        (QTKitFullScreenVideoHandler::~QTKitFullScreenVideoHandler):
 
8687
        (QTKitFullScreenVideoHandler::enterFullScreen):
 
8688
        (QTKitFullScreenVideoHandler::exitFullScreen):
 
8689
        * WebCoreSupport/WebSystemInterface.mm:
 
8690
        (InitWebCoreSystemInterface):
 
8691
 
 
8692
2011-06-23  Yael Aharon  <yael.aharon@nokia.com>
 
8693
 
 
8694
        Reviewed by Andreas Kling.
 
8695
 
 
8696
        [Qt] [WK2] Add drag and drop support
 
8697
        https://bugs.webkit.org/show_bug.cgi?id=62838
 
8698
 
 
8699
        Call dragEnded from the DragClient to make WebKit1 and WebKit2 consistent.
 
8700
 
 
8701
        * WebCoreSupport/DragClientQt.cpp:
 
8702
        (WebCore::DragClientQt::startDrag):
 
8703
 
 
8704
2011-06-23  Joe Wild  <joseph.wild@nokia.com>
 
8705
 
 
8706
        Reviewed by Laszlo Gombos.
 
8707
 
 
8708
        [Qt] Export files under Symbian Qt WebKit build
 
8709
        https://bugs.webkit.org/show_bug.cgi?id=61207
 
8710
 
 
8711
        Export files for the Symbian platform as this is needed by the
 
8712
        production build system.
 
8713
 
 
8714
        Janne Koskinen provided the suggestion to use target_predeps,
 
8715
        which is an improvement over the originally suggested patch.
 
8716
 
 
8717
        * QtWebKit.pro:
 
8718
 
 
8719
2011-06-23  Csaba Osztrogonác  <ossy@webkit.org>
 
8720
 
 
8721
        Rubber-stamped by Andreas Kling.
 
8722
 
 
8723
        [Qt] Fix tst_QWebFrame::setHtmlWithResource() API test
 
8724
        https://bugs.webkit.org/show_bug.cgi?id=63235
 
8725
 
 
8726
        [Qt] Fix tst_QWebFrame::renderGeometry() API test
 
8727
        https://bugs.webkit.org/show_bug.cgi?id=63236
 
8728
 
 
8729
        [Qt] Fix tst_QWebFrame::setUrlWithPendingLoads() API test
 
8730
        https://bugs.webkit.org/show_bug.cgi?id=63237
 
8731
 
 
8732
        * tests/qwebframe/tst_qwebframe.cpp: Mark failing test cases as expected fails until real fix.
 
8733
        (tst_QWebFrame::setHtmlWithResource):
 
8734
        (tst_QWebFrame::renderGeometry):
 
8735
 
 
8736
2011-06-23  Csaba Osztrogonác  <ossy@webkit.org>
 
8737
 
 
8738
        Rubber-stamped by Andreas Kling.
 
8739
 
 
8740
        [Qt] Fix tst_QWebPage::showModalDialog() API test
 
8741
        https://bugs.webkit.org/show_bug.cgi?id=63244
 
8742
 
 
8743
        [Qt] Fix tst_QWebPage::testStopScheduledPageRefresh() API test
 
8744
        https://bugs.webkit.org/show_bug.cgi?id=63245
 
8745
 
 
8746
        * tests/qwebpage/tst_qwebpage.cpp: Mark failing test cases as expected fails.
 
8747
        (tst_QWebPage::showModalDialog):
 
8748
        (tst_QWebPage::testStopScheduledPageRefresh):
 
8749
 
 
8750
2011-06-22  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
 
8751
 
 
8752
        Reviewed by Holger Freyther.
 
8753
 
 
8754
        [Qt] Fix Qt namespace on QDeclarativeWebView autotest
 
8755
        https://bugs.webkit.org/show_bug.cgi?id=63147
 
8756
 
 
8757
        Applications (such as the test runner) are not supposed to be wrapped
 
8758
        by {QT_BEGIN,QT_END}_NAMESPACE macros, otherwise building Qt (or
 
8759
        QtWebKit) with a specific namespace won't work (will result in main
 
8760
        being undefined).
 
8761
 
 
8762
        This was the only test wrapped by these macros, all others are fine.
 
8763
 
 
8764
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: remove
 
8765
        namespace macros.
 
8766
 
 
8767
2011-06-20  Dimitri Glazkov  <dglazkov@chromium.org>
 
8768
 
 
8769
        Reviewed by Kent Tamura.
 
8770
 
 
8771
        FileChooser should be only created when we need to choose files.
 
8772
        https://bugs.webkit.org/show_bug.cgi?id=63039
 
8773
 
 
8774
        * WebCoreSupport/ChromeClientQt.cpp:
 
8775
        (WebCore::ChromeClientQt::runOpenPanel): Changed to use settings.
 
8776
 
 
8777
2011-06-21  Yael Aharon  <yael.aharon@nokia.com>
 
8778
 
 
8779
        Reviewed by Andreas Kling.
 
8780
 
 
8781
        [Qt] Regression(60942) wrong default action for drag-and-drop.
 
8782
        https://bugs.webkit.org/show_bug.cgi?id=63004
 
8783
 
 
8784
        Added special handling for the case that dragOperation is not initialized.
 
8785
        Save the last dropOperation and pass it to the dropEvent, so that it can 
 
8786
        be accepted by QDrag.
 
8787
        Call event->accepted() and not event->acceptProposedAction(), because the
 
8788
        later ignores the dropAction specified in JavaScript.
 
8789
 
 
8790
        Tested with the test page attached to https://bugs.webkit.org/show_bug.cgi?id=40401
 
8791
        and did not see any issue.
 
8792
        Also manually tested all combinations of LayoutTests/fast/events/drag-and-drop.html
 
8793
        and they all pass.
 
8794
 
 
8795
        * Api/qwebpage.cpp:
 
8796
        (dropActionToDragOp):
 
8797
        (QWebPagePrivate::dragMoveEvent):
 
8798
        (QWebPagePrivate::dropEvent):
 
8799
 
 
8800
2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
 
8801
 
 
8802
        Reviewed by Yury Semikhatsky.
 
8803
 
 
8804
        Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
 
8805
        https://bugs.webkit.org/show_bug.cgi?id=62994
 
8806
 
 
8807
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8808
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
8809
 
 
8810
2011-06-18  Dimitri Glazkov  <dglazkov@chromium.org>
 
8811
 
 
8812
        Reviewed by Darin Adler.
 
8813
 
 
8814
        Separate concerns of loading file icons and choosing files.
 
8815
        https://bugs.webkit.org/show_bug.cgi?id=62931
 
8816
 
 
8817
        * WebCoreSupport/ChromeClientQt.cpp:
 
8818
        (WebCore::ChromeClientQt::loadIconForFiles): Renamed.
 
8819
        * WebCoreSupport/ChromeClientQt.h:
 
8820
 
 
8821
2011-06-17  Alexis Menard  <alexis.menard@openbossa.org>
 
8822
 
 
8823
        Reviewed by Andreas Kling.
 
8824
 
 
8825
        [Qt] Fix wrong framework generation on MacOS when inside Qt 4.8.
 
8826
        https://bugs.webkit.org/show_bug.cgi?id=62815
 
8827
 
 
8828
        Partially revert r85870 which assumed that QtWebKit will never be build inside Qt
 
8829
        anymore. Everything inside !QTDIR_build condition is not needed in the Qt tree because
 
8830
        qbase.pri is doing the job for us, i.e. using includes generated by syncqt to
 
8831
        setup the mac framework. It also use a correct QMAKE_LFLAGS_SONAME making possible
 
8832
        to actually run an application linked against QtWebKit.
 
8833
 
 
8834
        * QtWebKit.pro:
 
8835
 
 
8836
2011-06-16  Sheriff Bot  <webkit.review.bot@gmail.com>
 
8837
 
 
8838
        Unreviewed, rolling out r88796.
 
8839
        http://trac.webkit.org/changeset/88796
 
8840
        https://bugs.webkit.org/show_bug.cgi?id=62790
 
8841
 
 
8842
        It made fast/dom/nodesFromRect-basic.html time out on Qt,
 
8843
        64-bit, debug mode (Requested by Ossy on #webkit).
 
8844
 
 
8845
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8846
        (DumpRenderTreeSupportQt::plainText):
 
8847
        (DumpRenderTreeSupportQt::nodesFromRect):
 
8848
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
8849
        * tests/qwebframe/tst_qwebframe.cpp:
 
8850
        (tst_QWebFrame::overloadedSlots):
 
8851
        (tst_QWebFrame::domCycles):
 
8852
 
 
8853
2011-06-15  Diego Gonzalez  <diegohcg@webkit.org>
 
8854
 
 
8855
        Reviewed by Kenneth Rohde Christiansen.
 
8856
 
 
8857
        [Qt] Inconsistent behavior on a form submit request...
 
8858
        https://bugs.webkit.org/show_bug.cgi?id=45523
 
8859
 
 
8860
        The inconsistency occurs when a form submission requests a new window.
 
8861
        Two windows are opened (instead of only one) and the first window is opened
 
8862
        as a blank page.
 
8863
 
 
8864
        By default each page is put into their own unique page group, which affects popup windows
 
8865
        and visited links. Page groups (per process only) is a feature making it possible to use
 
8866
        separate settings for each group, so that for instance an integrated browser/email reader
 
8867
        can use different settings for displaying HTML pages and HTML email. To make QtWebKit work
 
8868
        as expected out of the box, we use a default group similar to what other ports are doing.
 
8869
 
 
8870
        * Api/qwebpage.cpp:
 
8871
 
 
8872
2011-06-14  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
8873
 
 
8874
        Reviewed by Andreas Kling.
 
8875
 
 
8876
        [Qt] tst_QWebFrame::overloadedSlots() fails
 
8877
        https://bugs.webkit.org/show_bug.cgi?id=37319
 
8878
 
 
8879
        Since the implicit conversion was removed, change support functions of DRT to
 
8880
        expect a QVariantMap instead of a QWebElement. This matches the exposed function
 
8881
        in the controller, which takes 'document' and not 'document.documentElement'.
 
8882
 
 
8883
        And now that Element -> QWebElement is a perfect match, we must use QWebElement
 
8884
        instead of QVariantMap, like in plainText().
 
8885
 
 
8886
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
8887
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8888
        (DumpRenderTreeSupportQt::plainText): Fix to use QWebElement instead of
 
8889
        QVariantMap when getting the startContainer. Also use QVariantMap directly,
 
8890
        bridge will do conversion for us now.
 
8891
 
 
8892
        (getCoreDocumentFromVariantMap): Extracts the WebCore::Document* from the
 
8893
        QVariantMap that Qt bridge gives us when 'document' is passed from JS.
 
8894
 
 
8895
        (DumpRenderTreeSupportQt::nodesFromRect): Use helper function.
 
8896
 
 
8897
        * tests/qwebframe/tst_qwebframe.cpp: Splitted the test domCycles() into two
 
8898
        different tests. In practice, the original test just checked whether we could
 
8899
        create a QVariantMap representing 'document' without infinite looping due to
 
8900
        cycles in the DOM. This was more evident before since we haven't a conversion
 
8901
        from JSElement to QWebElement, but from JSElement to QVariantMap.
 
8902
 
 
8903
        (tst_QWebFrame::documentHasDocumentElement): Evaluates 'document' and extracts
 
8904
        'documentElement' from it. Compares to QWebFrame::documentElement().
 
8905
 
 
8906
        (tst_QWebFrame::documentAllHasDocumentElement): Look inside 'document.all' for
 
8907
        the documentElement.
 
8908
 
 
8909
        (tst_QWebFrame::overloadedSlots): Remove expected failure and fix wrong comment.
 
8910
 
 
8911
2011-06-14  Andreas Kling  <kling@webkit.org>
 
8912
 
 
8913
        Reviewed by Benjamin Poulain.
 
8914
 
 
8915
        [Qt] Don't include convenience "QWebFoo" headers in WebKit code.
 
8916
        https://bugs.webkit.org/show_bug.cgi?id=62632
 
8917
 
 
8918
        * WebCoreSupport/FrameNetworkingContextQt.cpp:
 
8919
 
 
8920
2011-06-12  Adam Barth  <abarth@webkit.org>
 
8921
 
 
8922
        Reviewed by Alexey Proskuryakov.
 
8923
 
 
8924
        Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
 
8925
        https://bugs.webkit.org/show_bug.cgi?id=62516
 
8926
 
 
8927
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8928
        (WebCore::FrameLoaderClientQt::interruptedForPolicyChangeError):
 
8929
        * WebCoreSupport/FrameLoaderClientQt.h:
 
8930
 
 
8931
2011-06-12  Adam Barth  <abarth@webkit.org>
 
8932
 
 
8933
        Attempt to fix Qt build.
 
8934
 
 
8935
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8936
        (drtPrintFrameUserGestureStatus):
 
8937
 
 
8938
2011-06-12  Adam Barth  <abarth@webkit.org>
 
8939
 
 
8940
        Reviewed by Eric Seidel.
 
8941
 
 
8942
        Remove FrameLoader::isProcessingUserGesture
 
8943
        https://bugs.webkit.org/show_bug.cgi?id=62519
 
8944
 
 
8945
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
8946
        (drtPrintFrameUserGestureStatus):
 
8947
 
 
8948
2011-06-10  Andreas Kling  <kling@webkit.org>
 
8949
 
 
8950
        Reviewed by Benjamin Poulain.
 
8951
 
 
8952
        [Qt] Fix 'headers' autotest when building inside Qt.
 
8953
        https://bugs.webkit.org/show_bug.cgi?id=62449
 
8954
 
 
8955
        * Api/qwebkitplatformplugin.h:
 
8956
 
 
8957
2011-06-10  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
 
8958
 
 
8959
        Reviewed by Kenneth Rohde Christiansen.
 
8960
 
 
8961
        [Qt] Keep ORIENTATION_EVENTS independent from DEVICE_ORIENTATION
 
8962
        https://bugs.webkit.org/show_bug.cgi?id=62420
 
8963
 
 
8964
        ORIENTATION_EVENTS and DEVICE_ORIENTATION features are very similar
 
8965
        but they meant to be independent.
 
8966
 
 
8967
        * Api/qwebframe.cpp:
 
8968
        (QWebFramePrivate::_q_orientationChanged):
 
8969
        (QWebFrame::QWebFrame):
 
8970
        * Api/qwebframe_p.h:
 
8971
 
 
8972
2011-06-09  Andras Becsi  <abecsi@webkit.org>
 
8973
 
 
8974
        Reviewed by Andreas Kling.
 
8975
 
 
8976
        [Qt] Fix the in-tree build on Linux
 
8977
        https://bugs.webkit.org/show_bug.cgi?id=62378
 
8978
 
 
8979
        In case of an in-tree build qmake generates defect prl dependencies for
 
8980
        the QtWebKit library, because the inclusion of qtbase.pri adds explicitlib to CONFIG.
 
8981
 
 
8982
        * QtWebKit.pro: Remove explicitlib and staticlib from CONFIG.
 
8983
 
 
8984
2011-06-09  Robert Hogan  <robert@webkit.org>
 
8985
 
 
8986
        Reviewed by Andreas Kling.
 
8987
 
 
8988
        Teach Qt about window.internals
 
8989
        https://bugs.webkit.org/show_bug.cgi?id=61074
 
8990
 
 
8991
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
8992
        (DumpRenderTreeSupportQt::injectInternalsObject):
 
8993
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
8994
 
 
8995
2011-06-08  Andreas Kling  <kling@webkit.org>
 
8996
 
 
8997
        Reviewed by Benjamin Poulain.
 
8998
 
 
8999
        [Qt] FrameLoaderClient: Check Vector::find() return value for WTF::notFound.
 
9000
        https://bugs.webkit.org/show_bug.cgi?id=62274
 
9001
 
 
9002
        Vector::find() returns size_t (which is unsigned), so we should check
 
9003
        for WTF::notFound instead of -1.
 
9004
 
 
9005
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9006
        (WebCore::FrameLoaderClientQt::createPlugin):
 
9007
 
 
9008
2011-06-07  Noam Rosenthal  <noam.rosenthal@nokia.com>
 
9009
 
 
9010
        Reviewed by Andreas Kling.
 
9011
 
 
9012
        [Texmap][Qt] Enable TextureMapper by default
 
9013
        https://bugs.webkit.org/show_bug.cgi?id=61740
 
9014
 
 
9015
        Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
 
9016
        for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.
 
9017
 
 
9018
        * WebCoreSupport/PageClientQt.cpp:
 
9019
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
9020
 
 
9021
2011-06-07  Aravind Akella  <aravind.akella@nokia.com>
 
9022
 
 
9023
        Reviewed by Laszlo Gombos.
 
9024
 
 
9025
        [Qt][Symbian] API test failure qdeclarativewebview
 
9026
        https://bugs.webkit.org/show_bug.cgi?id=59481
 
9027
 
 
9028
        QML files cannot be loaded on Symbian due to difference 
 
9029
        in capabilities between qmlwebkitplugin.dll and Qtwebkit.dll.  
 
9030
        A PlatSec error that Qtwebkit.dll has "DRM AllFiles" capabilities 
 
9031
        missing is observed when dynamically loading the QML plugin. 
 
9032
 
 
9033
        * declarative/declarative.pro: Match capabilities in QtWebKit.pro.
 
9034
        * symbian/platformplugin/platformplugin.pro: Match capabilities with the other 2 DLLs. 
 
9035
        Also remove TARGET.VID from platformplugin, as it's not used in any other Qt WebKit DLL,
 
9036
        and causes build warnings about undefined VENDOR_VID. 
 
9037
        * tests/tests.pri: Add WriteDeviceData capability for API tests. 
 
9038
 
 
9039
2011-06-04  Robert Hogan  <robert@webkit.org>
 
9040
 
 
9041
        Reviewed by Andreas Kling.
 
9042
 
 
9043
        [Qt] Fix and unskip acid2
 
9044
        https://bugs.webkit.org/show_bug.cgi?id=62089
 
9045
 
 
9046
        shouldFallBack() tells the DOM if it should attempt to render
 
9047
        the next nested <object> if its parent fails to load.
 
9048
 
 
9049
        This fix is only required for the fast/css version of the ACID2
 
9050
        test, which loads a non-existent file:// url. The HTTP version of the
 
9051
        test already passes because the loader will render fallback content
 
9052
        on a failed HTTP load without delegating the decision to the client
 
9053
        ( see MainResourceLoader::continueAfterContentPolicy).
 
9054
 
 
9055
        Some ports also check for WebKitErrorPluginWillHandleLoad when deciding
 
9056
        what to return. This error isn't currently set by Qt so we don't check
 
9057
        it. (Other ports set it when the erring document is a MediaDocument, maybe
 
9058
        we should do that too at some point).
 
9059
 
 
9060
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9061
        (WebCore::FrameLoaderClientQt::shouldFallBack):
 
9062
 
 
9063
2011-06-03  Rafael Brandao  <rafael.lobo@openbossa.org>
 
9064
 
 
9065
        Reviewed by Andreas Kling.
 
9066
 
 
9067
        [Qt] It made two Qt API tests fail
 
9068
        https://bugs.webkit.org/show_bug.cgi?id=58847
 
9069
 
 
9070
        Modified failing test's base url so it could get a valid origin
 
9071
        and make use of local storage. Also added another test that checks
 
9072
        local storage visibility in both scenarios.
 
9073
 
 
9074
        * tests/qwebpage/tst_qwebpage.cpp:
 
9075
        (tst_QWebPage::testOptionalJSObjects):
 
9076
        (checkLocalStorageVisibility):
 
9077
        (tst_QWebPage::testLocalStorageVisibility):
 
9078
 
 
9079
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>
 
9080
 
 
9081
        Reviewed by Andreas Kling.
 
9082
 
 
9083
        [Qt] Warning fixes on comparisons between a signed and an unsigned.
 
9084
 
 
9085
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9086
        (DumpRenderTreeSupportQt::computedStyleIncludingVisitedInfo):
 
9087
        (DumpRenderTreeSupportQt::nodesFromRect):
 
9088
 
 
9089
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>
 
9090
 
 
9091
        Reviewed by Andreas Kling.
 
9092
 
 
9093
        To support building namespaced Qt, we require that forward-declarations
 
9094
        of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
 
9095
 
 
9096
        * WebCoreSupport/FrameLoaderClientQt.h:
 
9097
 
 
9098
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>
 
9099
 
 
9100
        Unreviewed build fix after r87902.
 
9101
 
 
9102
        To support building namespaced Qt, we require that forward-declarations
 
9103
        of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE but
 
9104
        only on classes inside Qt.
 
9105
        
 
9106
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9107
 
 
9108
2011-06-03  Alexis Menard  <alexis.menard@openbossa.org>
 
9109
 
 
9110
        Reviewed by Benjamin Poulain.
 
9111
 
 
9112
        Some warning fixes. Values in switch not handled, and
 
9113
        a comparison between a signed and an unsigned.
 
9114
 
 
9115
        * Api/qwebpage.cpp:
 
9116
        (QWebPagePrivate::inputMethodEvent):
 
9117
        (QWebPagePrivate::dynamicPropertyChangeEvent):
 
9118
        (QWebPage::action):
 
9119
 
 
9120
2011-06-02  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
9121
 
 
9122
        Reviewed by Andreas Kling.
 
9123
 
 
9124
        [Qt] Fix enum order in qwebpage.h public API header
 
9125
        https://bugs.webkit.org/show_bug.cgi?id=61959
 
9126
 
 
9127
        Since qwebpage.h is a public header, we can't change the values of
 
9128
        the enumerations. This patch moves the new enumeration to the end
 
9129
        of the list. As a bonus, adds a missing entry in
 
9130
        editorCommandWebActions table.
 
9131
 
 
9132
        * Api/qwebpage.cpp:
 
9133
        * Api/qwebpage.h:
 
9134
 
 
9135
2011-06-02  Andreas Kling  <kling@webkit.org>
 
9136
 
 
9137
        Rubber-stamped by Simon Hausmann.
 
9138
 
 
9139
        Remove Qt's precompiled header hack as it was broken, and was not even
 
9140
        used unless building WebKit inside a Qt tree.
 
9141
 
 
9142
        * WebKit_pch.h: Removed.
 
9143
 
 
9144
2011-06-02  Andreas Kling  <kling@webkit.org>
 
9145
 
 
9146
        Unreviewed build fix.
 
9147
 
 
9148
        To support building namespaced Qt, we require that forward-declarations
 
9149
        of Qt classes be wrapped in QT_BEGIN_NAMESPACE and QT_END_NAMESPACE.
 
9150
 
 
9151
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9152
 
 
9153
2011-06-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
9154
 
 
9155
        Reviewed by Kenneth Rohde Christiansen.
 
9156
 
 
9157
        [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
 
9158
        https://bugs.webkit.org/show_bug.cgi?id=59345
 
9159
 
 
9160
        KURL and QUrl disagree whether certain URLs are valid or not. The regression here
 
9161
        was caused by the fact that now KURL accepts "http:/example.com" (note only one
 
9162
        slash) and our test case used a strange edge case that's transformed into a
 
9163
        "one-slash" URL that now KURL can handle.
 
9164
 
 
9165
        QtWebKit approach in this case is to do a best effort and accept the QUrl if KURL
 
9166
        can understand it. So I've updated the test to use a more meaningful example and
 
9167
        show that an invalid URL gets converted to a valid URL if possible.
 
9168
 
 
9169
        * tests/qwebframe/tst_qwebframe.cpp:
 
9170
        (tst_QWebFrame::setUrlToInvalid):
 
9171
 
 
9172
2011-06-01  Andreas Kling  <kling@webkit.org>
 
9173
 
 
9174
        Reviewed by Benjamin Poulain.
 
9175
 
 
9176
        REGRESSION: [Qt] QNetworkReply delivered by the unsupportedContent() signal does not contain downloaded data
 
9177
        https://bugs.webkit.org/show_bug.cgi?id=49650
 
9178
 
 
9179
        Defer emission of QWebPage::unsupportedContent() until we're back in the event loop.
 
9180
        This lets the QNAM backend finish with the reply without handing over ownership to the user code.
 
9181
 
 
9182
        No new tests since this doesn't fail for qrc:// or file:// URLs and our tests can't depend on http:// URLs.
 
9183
 
 
9184
        To correctly solve this issue, we need changes to Qt, tracked here:
 
9185
        http://bugreports.qt.nokia.com/browse/QTBUG-18718
 
9186
 
 
9187
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9188
        (WebCore::FrameLoaderClientQt::setFrame):
 
9189
        (WebCore::FrameLoaderClientQt::download):
 
9190
        * WebCoreSupport/FrameLoaderClientQt.h:
 
9191
 
 
9192
2011-06-01  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
9193
 
 
9194
        Reviewed by Tor Arne Vestbø.
 
9195
 
 
9196
        [Qt] Rewrite tst_QDeclarativeWebView::multipleWindows() to not depend on Grid internals
 
9197
        https://bugs.webkit.org/show_bug.cgi?id=61739
 
9198
 
 
9199
        The skipped test was imported from Qt source repository, and used private headers
 
9200
        to peek in the QML Grid element. This patch changes the QML used to expose the
 
9201
        information we want to test: number of pages opened and the first page opened.
 
9202
 
 
9203
        * tests/qdeclarativewebview/resources/newwindows.html:
 
9204
        Added <body> tags. We have no reason to not use them in the test.
 
9205
 
 
9206
        * tests/qdeclarativewebview/resources/newwindows.qml:
 
9207
        Moved the timer out of the page component, used anchors for setting webview size,
 
9208
        changed the way we count pages opened. Also changed coding style a bit.
 
9209
 
 
9210
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
9211
        (tst_QDeclarativeWebView::multipleWindows):
 
9212
        We now look for properties with the information we want in the rootItem: pagesOpened and
 
9213
        firstPageOpened.
 
9214
 
 
9215
2011-05-31  Rafael Brandao  <rafael.lobo@openbossa.org>
 
9216
 
 
9217
        Reviewed by Andreas Kling.
 
9218
 
 
9219
        [Qt] tst_QWebFrame::render() failing
 
9220
        https://bugs.webkit.org/show_bug.cgi?id=60893
 
9221
        
 
9222
        The test was expecting the frame contents to be already loaded
 
9223
        before rendering it into a QPicture. Renamed the test to fit
 
9224
        its real purpose more accordingly.
 
9225
 
 
9226
        * tests/qwebframe/tst_qwebframe.cpp:
 
9227
        (tst_QWebFrame::renderGeometry):
 
9228
 
 
9229
2011-05-30  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
9230
 
 
9231
        Reviewed by Andreas Kling.
 
9232
 
 
9233
        [Qt] Fix unnecessary wait in API autotest tst_QWebFrame::scrollbarsOff
 
9234
        https://bugs.webkit.org/show_bug.cgi?id=61711
 
9235
 
 
9236
        The loadFinished() signal was emitted directly inside the call for setHtml, so
 
9237
        the test was waiting the loadFinished() signal with a big timeout. Change this by
 
9238
        a very small timeout and a verification with signal spy.
 
9239
 
 
9240
        In practice, setHtml() will either directly call loadFinished() or queue it to
 
9241
        the next event loop run, and test will work for both situations.
 
9242
 
 
9243
        * tests/qwebframe/tst_qwebframe.cpp:
 
9244
        (tst_QWebFrame::scrollbarsOff):
 
9245
 
 
9246
2011-05-30  Noam Rosenthal  <noam.rosenthal@nokia.com>
 
9247
 
 
9248
        Reviewed by Kenneth Rohde Christiansen.
 
9249
 
 
9250
        [Texmap][Qt] Disable accelerated plugins/media in until they're working.
 
9251
        https://bugs.webkit.org/show_bug.cgi?id=61687
 
9252
 
 
9253
        Turn off accelerated compositing for media and plugins when in texture-mapper.
 
9254
 
 
9255
        * Api/qwebsettings.cpp:
 
9256
        (QWebSettingsPrivate::apply):
 
9257
 
 
9258
2011-05-28  Adam Barth  <abarth@webkit.org>
 
9259
 
 
9260
        Reviewed by Alexey Proskuryakov.
 
9261
 
 
9262
        Audit all uses of KURL::prettyURL
 
9263
        https://bugs.webkit.org/show_bug.cgi?id=61201
 
9264
 
 
9265
        Update callers of prettyURL to just call string.
 
9266
 
 
9267
        * WebCoreSupport/ChromeClientQt.cpp:
 
9268
        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
 
9269
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9270
        (WebCore::FrameLoaderClientQt::updateGlobalHistory):
 
9271
        (WebCore::FrameLoaderClientQt::cancelledError):
 
9272
        (WebCore::FrameLoaderClientQt::blockedError):
 
9273
        (WebCore::FrameLoaderClientQt::objectContentType):
 
9274
        (WebCore::FrameLoaderClientQt::createPlugin):
 
9275
 
 
9276
2011-05-27  Alexis Menard  <alexis.menard@openbossa.org>
 
9277
 
 
9278
        Reviewed by Csaba Osztrogonác.
 
9279
 
 
9280
        [Qt] Fix tst_QGraphicsWebView::setPalette(inactiveBG) autotest
 
9281
        https://bugs.webkit.org/show_bug.cgi?id=61044
 
9282
 
 
9283
        Make sure to set the active window on the application too.
 
9284
 
 
9285
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
9286
        (tst_QGraphicsWebView::setPalette):
 
9287
 
 
9288
2011-05-26  Alexis Menard  <alexis.menard@openbossa.org>
 
9289
 
 
9290
        Unreviewed build fix for Qt and QuickTime backend.
 
9291
 
 
9292
        r87328 added a new system interface, we need to add it too.
 
9293
 
 
9294
        * WebCoreSupport/WebSystemInterface.mm:
 
9295
        (InitWebCoreSystemInterface):
 
9296
 
 
9297
2011-05-25  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
9298
 
 
9299
        Reviewed by Andreas Kling.
 
9300
 
 
9301
        [Qt] JSC bridge: implement __qt_sender__ without using Scope Chain
 
9302
        https://bugs.webkit.org/show_bug.cgi?id=61343
 
9303
 
 
9304
        Create a '__qt_sender__' property in the global object, that returns the top of
 
9305
        the qtSenderStack. This is an alternative implementation for the feature of
 
9306
        providing a way for a function (acting as a Qt 'slot') discover which object
 
9307
        emitted the signal that caused it to be executed.
 
9308
 
 
9309
        This reduces the coupling of the Qt bridge and JSC internal implementation. The
 
9310
        patch tries to use as much JSC public API as possible.
 
9311
 
 
9312
        This behavior is covered by the tst_QWebFrame::connectAndDisconnect() auto test.
 
9313
 
 
9314
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9315
        (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
 
9316
        Instead of emitting the QWebPage::javaScriptWindowObjectCleared() directly, calls
 
9317
        a QWebPagePrivate function to do it.
 
9318
 
 
9319
        * Api/qwebframe_p.h:
 
9320
        * Api/qwebframe.cpp:
 
9321
        (QWebFramePrivate::didClearedWindowObject):
 
9322
        Before emitting the signal mentioned, adds the '__qt_sender__' to the fresh
 
9323
        global object.
 
9324
 
 
9325
        (qtSenderCallback):
 
9326
        Returns the JSObjectRef corresponding to the top of qtSenderStack.
 
9327
 
 
9328
        (QWebFramePrivate::addQtSenderToGlobalObject):
 
9329
        Create a property with a qtSenderCallback as getter function in the global object.
 
9330
 
 
9331
2011-05-25  Alexis Menard  <alexis.menard@openbossa.org>
 
9332
 
 
9333
        Reviewed by Eric Carlson.
 
9334
 
 
9335
        [Qt] Enable usage of QuickTime mediaplayer for the Qt port on Mac.
 
9336
        https://bugs.webkit.org/show_bug.cgi?id=61279
 
9337
 
 
9338
        Enable the usage of QuickTime backend for the Qt port. It can be enabled by
 
9339
        passing DEFINES+=USE_QTKIT=1 when calling build-webkit.
 
9340
 
 
9341
        * Api/qwebpage.cpp:
 
9342
        (QWebPagePrivate::QWebPagePrivate):
 
9343
        * QtWebKit.pro:
 
9344
        * WebCoreSupport/FullScreenVideoQt.cpp:
 
9345
        (WebCore::FullScreenVideoQt::enterFullScreenForNode):
 
9346
        (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
 
9347
        (WebCore::FullScreenVideoQt::isValid):
 
9348
        * WebCoreSupport/WebSystemInterface.h: Added.
 
9349
        * WebCoreSupport/WebSystemInterface.mm: Added.
 
9350
        (InitWebCoreSystemInterface):
 
9351
 
 
9352
2011-05-25  Qi Zhang  <qi.2.zhang@nokia.com>
 
9353
 
 
9354
        Reviewed by Andreas Kling.
 
9355
 
 
9356
        [Qt] fast/css/disabled-author-styles.html failed
 
9357
        https://bugs.webkit.org/show_bug.cgi?id=61438
 
9358
 
 
9359
        Provided API setAuthorAndUserStylesEnabled for DumpRenderTree.
 
9360
 
 
9361
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9362
        (DumpRenderTreeSupportQt::setAuthorAndUserStylesEnabled):
 
9363
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9364
 
 
9365
2011-05-24  Adam Barth  <abarth@webkit.org>
 
9366
 
 
9367
        Reviewed by Eric Seidel.
 
9368
 
 
9369
        Add FIXME comments about removing FrameLoader::isProcessingUserGesture
 
9370
        https://bugs.webkit.org/show_bug.cgi?id=61395
 
9371
 
 
9372
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9373
        (drtPrintFrameUserGestureStatus):
 
9374
 
 
9375
2011-05-23  Luiz Agostini  <luiz.agostini@openbossa.org>
 
9376
 
 
9377
        Reviewed by Andreas Kling.
 
9378
 
 
9379
        [Qt] When opening a combo-box the popup renders badly.
 
9380
        https://bugs.webkit.org/show_bug.cgi?id=61288
 
9381
 
 
9382
        Removing combobox palette changes from QtFallbackWebPopup::show() because they
 
9383
        are causing rendering problems for some styles.
 
9384
 
 
9385
        The changes in palette are not needed because the background and foreground
 
9386
        colors are already set by QStandardItem::setBackground() and QStandardItem::setForeground()
 
9387
        in method QtFallbackWebPopup::populate().
 
9388
 
 
9389
        * WebCoreSupport/QtFallbackWebPopup.cpp:
 
9390
        (WebCore::QtFallbackWebPopup::show):
 
9391
 
 
9392
2011-05-23  Joe Wild  <joseph.wild@nokia.com>
 
9393
 
 
9394
        Reviewed by Andreas Kling.
 
9395
 
 
9396
        [Qt] The Qt WebKit Symbian .def file needs to be updated so Symbian will build
 
9397
        https://bugs.webkit.org/show_bug.cgi?id=61200
 
9398
 
 
9399
        * symbian/eabi/QtWebKitu.def:
 
9400
 
 
9401
2011-05-22  Hui Huang  <hui.2.huang@nokia.com>, Yi Shen  <yi.4.shen@nokia.com>
 
9402
 
 
9403
        Reviewed by Laszlo Gombos.
 
9404
 
 
9405
        [Qt] Upstream Symbian platform plugin
 
9406
        https://bugs.webkit.org/show_bug.cgi?id=58435
 
9407
 
 
9408
        Upstream Symbian platform plugin with html5 video player.
 
9409
 
 
9410
        * symbian/platformplugin/HTML5VideoPlugin.cpp: Added.
 
9411
        (HTML5FullScreenVideoHandler::HTML5FullScreenVideoHandler):
 
9412
        (HTML5FullScreenVideoHandler::enterFullScreen):
 
9413
        (HTML5FullScreenVideoHandler::exitFullScreen):
 
9414
        (HTML5FullScreenVideoHandler::onPlayerError):
 
9415
        (HTML5FullScreenVideoHandler::onPlayerStateChanged):
 
9416
        (HTML5FullScreenVideoHandler::onMediaStatusChanged):
 
9417
        (HTML5VideoPlugin::supportsExtension):
 
9418
        (HTML5VideoPlugin::createExtension):
 
9419
        * symbian/platformplugin/HTML5VideoPlugin.h: Added.
 
9420
        (HTML5FullScreenVideoHandler::requiresFullScreenForVideoPlayback):
 
9421
        (HTML5FullScreenVideoHandler::isFullScreen):
 
9422
        (HTML5FullScreenVideoHandler::updateScreenRect):
 
9423
        * symbian/platformplugin/HTML5VideoWidget.cpp: Added.
 
9424
        (HTML5VideoWidget::HTML5VideoWidget):
 
9425
        (HTML5VideoWidget::setDuration):
 
9426
        (HTML5VideoWidget::mousePressEvent):
 
9427
        (HTML5VideoWidget::onPlayerStopped):
 
9428
        (HTML5VideoWidget::onPlayerError):
 
9429
        (HTML5VideoWidget::onEndOfMedia):
 
9430
        (HTML5VideoWidget::onBufferingMedia):
 
9431
        (HTML5VideoWidget::onBufferedMedia):
 
9432
        (HTML5VideoWidget::onControlClicked):
 
9433
        (HTML5VideoWidget::onPositionChanged):
 
9434
        (HTML5VideoWidget::onSliderMoved):
 
9435
        (HTML5VideoWidget::onCloseClicked):
 
9436
        (HTML5VideoWidget::showFullScreen):
 
9437
        (HTML5VideoWidget::setVolume):
 
9438
        * symbian/platformplugin/HTML5VideoWidget.h: Added.
 
9439
        * symbian/platformplugin/OverlayWidget.cpp: Added.
 
9440
        (OverlayWidget::OverlayWidget):
 
9441
        (OverlayWidget::~OverlayWidget):
 
9442
        (OverlayWidget::setDuration):
 
9443
        (OverlayWidget::setPosition):
 
9444
        (OverlayWidget::setVolume):
 
9445
        (OverlayWidget::mousePressEvent):
 
9446
        (OverlayWidget::onPlayerStopped):
 
9447
        (OverlayWidget::onPlayerError):
 
9448
        (OverlayWidget::onEndOfMedia):
 
9449
        (OverlayWidget::onBufferingMedia):
 
9450
        (OverlayWidget::onBufferedMedia):
 
9451
        (OverlayWidget::timeToString):
 
9452
        (OverlayWidget::applyStyleSheet):
 
9453
        (OverlayWidget::onControlClicked):
 
9454
        (OverlayWidget::onSliderMoved):
 
9455
        (OverlayWidget::onSoundClicked):
 
9456
        (OverlayWidget::onCloseClicked):
 
9457
        (OverlayWidget::onVolumeSliderReleased):
 
9458
        (OverlayWidget::onVolumeSliderMoved):
 
9459
        (OverlayWidget::onTimerTimeout):
 
9460
        (OverlayWidget::showFullScreen):
 
9461
        * symbian/platformplugin/OverlayWidget.h: Added.
 
9462
        * symbian/platformplugin/PlayerButton.cpp: Added.
 
9463
        (PlayerButton::PlayerButton):
 
9464
        (PlayerButton::event):
 
9465
        * symbian/platformplugin/PlayerButton.h: Added.
 
9466
        * symbian/platformplugin/PlayerLabel.cpp: Added.
 
9467
        (PlayerLabel::PlayerLabel):
 
9468
        (PlayerLabel::onPlayerError):
 
9469
        (PlayerLabel::startBufferingAnimation):
 
9470
        (PlayerLabel::stopBufferingAnimation):
 
9471
        (PlayerLabel::onAnimationTimeout):
 
9472
        * symbian/platformplugin/PlayerLabel.h: Added.
 
9473
        * symbian/platformplugin/WebPlugin.cpp:
 
9474
        (WebPlugin::createExtension):
 
9475
        * symbian/platformplugin/images: Added.
 
9476
        * symbian/platformplugin/images/button_cannotplay.png: Added.
 
9477
        * symbian/platformplugin/images/button_close.png: Added.
 
9478
        * symbian/platformplugin/images/button_pause.png: Added.
 
9479
        * symbian/platformplugin/images/button_play.png: Added.
 
9480
        * symbian/platformplugin/images/button_sound_off.png: Added.
 
9481
        * symbian/platformplugin/images/button_sound_on.png: Added.
 
9482
        * symbian/platformplugin/images/loading_buffering_1.png: Added.
 
9483
        * symbian/platformplugin/images/loading_buffering_2.png: Added.
 
9484
        * symbian/platformplugin/images/loading_buffering_3.png: Added.
 
9485
        * symbian/platformplugin/images/loading_buffering_4.png: Added.
 
9486
        * symbian/platformplugin/platformplugin.pro:
 
9487
        * symbian/platformplugin/platformplugin.qrc: Added.
 
9488
        * symbian/platformplugin/qss: Added.
 
9489
        * symbian/platformplugin/qss/OverlayWidget.qss: Added.
 
9490
 
 
9491
2011-05-22  Robert Hogan  <robert@webkit.org>
 
9492
 
 
9493
        Reviewed by Kenneth Rohde Christiansen.
 
9494
 
 
9495
        Fix policyDelegate in Qt DRT
 
9496
 
 
9497
        https://bugs.webkit.org/show_bug.cgi?id=61247
 
9498
        
 
9499
        Use the 'policy delegate' implemented in FrameLoaderClient
 
9500
        for layout tests. The partial implementation in DumpRenderTreeQt
 
9501
        is redundant.
 
9502
 
 
9503
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9504
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
 
9505
 
 
9506
2011-05-22  Andrew Wason  <rectalogic@rectalogic.com>
 
9507
 
 
9508
        Reviewed by Benjamin Poulain.
 
9509
 
 
9510
        [Qt] Implement toImageData() in QtWebKit Bridge
 
9511
        https://bugs.webkit.org/show_bug.cgi?id=60897
 
9512
 
 
9513
        * docs/qtwebkit-bridge.qdoc:
 
9514
        * docs/webkitsnippets/qtwebkit_bridge_snippets.cpp:
 
9515
        (wrapInFunction):
 
9516
         Document Qt bridge toImageData() feature.
 
9517
        * tests/hybridPixmap/test.html:
 
9518
        * tests/hybridPixmap/widget.cpp:
 
9519
        (Widget::Widget):
 
9520
        (Widget::abcImage):
 
9521
        * tests/hybridPixmap/widget.h:
 
9522
         Add tests for Qt bridge toImageData() feature.
 
9523
 
 
9524
2011-05-20  Simon Fraser  <simon.fraser@apple.com>
 
9525
 
 
9526
        Reviewed by Sam Weinig.
 
9527
 
 
9528
        numberOfActiveAnimations() can include animations from documents in the page cache
 
9529
        https://bugs.webkit.org/show_bug.cgi?id=53641
 
9530
 
 
9531
        Pass the Frame's document as the one to count animations on.
 
9532
 
 
9533
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9534
        (DumpRenderTreeSupportQt::numberOfActiveAnimations):
 
9535
 
 
9536
2011-05-20  Csaba Osztrogonác  <ossy@webkit.org>
 
9537
 
 
9538
        Reviewed by Benjamin Poulain.
 
9539
 
 
9540
        [Qt] tst_QWebElement::style() fails because QWebElement::InlineStyle doesn't work as expected
 
9541
        https://bugs.webkit.org/show_bug.cgi?id=60372
 
9542
 
 
9543
        * tests/qwebelement/tst_qwebelement.cpp: Mark failing test case as expected fail.
 
9544
        (tst_QWebElement::style):
 
9545
 
 
9546
2011-05-20  Csaba Osztrogonác  <ossy@webkit.org>
 
9547
 
 
9548
        Reviewed by Benjamin Poulain.
 
9549
 
 
9550
        [Qt] Fix tst_QDeclarativeWebView::basicProperties() and historyNav() autotests
 
9551
        https://bugs.webkit.org/show_bug.cgi?id=61042
 
9552
 
 
9553
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Mark failing test cases as expected fails.
 
9554
        (tst_QDeclarativeWebView::basicProperties):
 
9555
        (tst_QDeclarativeWebView::historyNav):
 
9556
 
 
9557
2011-05-20  Csaba Osztrogonác  <ossy@webkit.org>
 
9558
 
 
9559
        Reviewed by Benjamin Poulain.
 
9560
 
 
9561
        [Qt] Fix tst_QWebPage::testOptionalJSObjects() autotest
 
9562
        https://bugs.webkit.org/show_bug.cgi?id=61045
 
9563
 
 
9564
        * tests/qwebpage/tst_qwebpage.cpp:
 
9565
        (tst_QWebPage::testOptionalJSObjects): Mark failing test cases as expected fails.
 
9566
 
 
9567
2011-05-20  Peter Varga  <pvarga@webkit.org>
 
9568
 
 
9569
        Reviewed by Simon Hausmann.
 
9570
 
 
9571
        [Qt][V8] Use qtscript-staging's shipped version of V8 when building with --v8
 
9572
        https://bugs.webkit.org/show_bug.cgi?id=56649
 
9573
 
 
9574
        Use the provided V8 and functionality of
 
9575
        http://qt.gitorious.org/+qt-developers/qt/qtscript-staging to build QtWebKit+V8.
 
9576
        Based on the original patch of Andras Becsi <abecsi@webkit.org>.
 
9577
 
 
9578
        * Api/qwebframe.cpp:
 
9579
        (QWebFrame::addToJavaScriptWindowObject): Fix QString deprecated
 
9580
        warning.
 
9581
        * QtWebKit.pro: Adding the V8 library should happen in the final build
 
9582
        step.
 
9583
        * WebCoreSupport/ChromeClientQt.cpp: Add missing head.
 
9584
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp: Ditto.
 
9585
 
 
9586
2011-05-20  Csaba Osztrogonác  <ossy@webkit.org>
 
9587
 
 
9588
        Reviewed by Benjamin Poulain.
 
9589
 
 
9590
        [Qt]Fix tst_QWebFrame::setUrlToInvalid() autotest after r84762
 
9591
        https://bugs.webkit.org/show_bug.cgi?id=59345
 
9592
 
 
9593
        * tests/qwebframe/tst_qwebframe.cpp:
 
9594
        (tst_QWebFrame::setUrlToInvalid): Mark failing test cases as expected fails.
 
9595
 
 
9596
2011-05-19  Zsolt Fehér  <h490267@stud.u-szeged.hu>
 
9597
 
 
9598
        Reviewed by Csaba Osztrogonác.
 
9599
 
 
9600
        [Qt] Implement eventSender.scalePageBy
 
9601
        https://bugs.webkit.org/show_bug.cgi?id=60015
 
9602
 
 
9603
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9604
        (DumpRenderTreeSupportQt::scalePageBy):
 
9605
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9606
 
 
9607
2011-05-18  Yi Shen  <yi.4.shen@nokia.com>
 
9608
 
 
9609
        Reviewed by Andreas Kling.
 
9610
 
 
9611
        [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
 
9612
        https://bugs.webkit.org/show_bug.cgi?id=33179
 
9613
 
 
9614
        Remove the implementation of the handleInputMethodKeydown, which introduces
 
9615
        a regression(r82243) on Linux. Also, add more Api tests for the EnterKey event.
 
9616
 
 
9617
        * WebCoreSupport/EditorClientQt.cpp:
 
9618
        (WebCore::EditorClientQt::handleInputMethodKeydown): Remove implementation.
 
9619
        * tests/qwebpage/tst_qwebpage.cpp:
 
9620
        (tst_QWebPage::inputMethods): Add more tests.
 
9621
 
 
9622
2011-05-18  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
9623
 
 
9624
        Reviewed by Csaba Osztrogonác.
 
9625
 
 
9626
        [Qt] Implement layoutTestController.setValueForUser()
 
9627
        https://bugs.webkit.org/show_bug.cgi?id=60956
 
9628
 
 
9629
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9630
        (DumpRenderTreeSupportQt::setValueForUser):
 
9631
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9632
 
 
9633
2011-05-16  Robert Hogan  <robert@webkit.org>
 
9634
 
 
9635
        Reviewed by Kenneth Rohde Christiansen.
 
9636
 
 
9637
        plugins/invalidate_rect.html fails on linux ports
 
9638
 
 
9639
        Add ChromeClientQt::allowsAcceleratedCompositing().
 
9640
 
 
9641
        https://bugs.webkit.org/show_bug.cgi?id=54051
 
9642
 
 
9643
        * WebCoreSupport/ChromeClientQt.cpp:
 
9644
        (WebCore::ChromeClientQt::allowsAcceleratedCompositing):
 
9645
        * WebCoreSupport/ChromeClientQt.h:
 
9646
 
 
9647
2011-05-17  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
9648
 
 
9649
        Reviewed by Andreas Kling.
 
9650
 
 
9651
        [Qt] Simplify syntax in test code to make prepare-ChangeLog less confused
 
9652
        https://bugs.webkit.org/show_bug.cgi?id=60978
 
9653
 
 
9654
        Backslash to escape newlines was confusing both prepare-ChangeLog and the
 
9655
        QtCreator highlight system.
 
9656
 
 
9657
        * tests/qwebframe/tst_qwebframe.cpp:
 
9658
        (tst_QWebFrame::evalJSV):
 
9659
        Remove usage of backslash to escape newlines in string literal.
 
9660
 
 
9661
2011-05-17  Young Han Lee  <joybro@company100.net>
 
9662
 
 
9663
        Reviewed by Csaba Osztrogonác.
 
9664
 
 
9665
        [Texmap][Qt] Enable strict PassOwnPtr for Qt with texmap enabled.
 
9666
        https://bugs.webkit.org/show_bug.cgi?id=60947
 
9667
 
 
9668
        * WebCoreSupport/PageClientQt.cpp:
 
9669
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
 
9670
 
 
9671
2011-05-16  Jon Lee  <jonlee@apple.com>
 
9672
 
 
9673
        Reviewed by Simon Fraser.
 
9674
 
 
9675
        Can't horizontally scroll iframes and overflow because wheel events are always accepted
 
9676
        https://bugs.webkit.org/show_bug.cgi?id=60779
 
9677
 
 
9678
        * WebCoreSupport/ChromeClientQt.h:
 
9679
        (WebCore::ChromeClientQt::shouldRubberBandInDirection): Default impl of new ChromeClient method
 
9680
        (WebCore::ChromeClientQt::numWheelEventHandlersChanged): Default impl of new ChromeClient method
 
9681
 
 
9682
2011-05-16  Andreas Kling  <kling@webkit.org>
 
9683
 
 
9684
        Reviewed by Kenneth Rohde Christiansen.
 
9685
 
 
9686
        REGRESSION(r83820): [Qt] Accelerated compositing no longer works in QGraphicsWebView.
 
9687
        https://bugs.webkit.org/show_bug.cgi?id=60892
 
9688
 
 
9689
        Don't set the ItemClipsChildrenToShape flag for the root platform layer,
 
9690
        since that is now the overflow controls layer. The clip layer, which was
 
9691
        previously the root platform layer, already gets the flag by way of
 
9692
        the GraphicsLayer mask-to-bounds flag.
 
9693
 
 
9694
        * WebCoreSupport/PageClientQt.cpp:
 
9695
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
9696
 
 
9697
2011-05-16  Adam Barth  <abarth@webkit.org>
 
9698
 
 
9699
        Partial revert of r86537.  FullScreenVideoQt.h can't depend on OwnPtr.h
 
9700
        because moc_FullScreenVideoQt.cpp fails to include config.h.
 
9701
        Apparently, having moc_FullScreenVideoQt.cpp properly include config.h
 
9702
        is hard, so we're going back to manual new and delete for this class.
 
9703
        Bad times.
 
9704
 
 
9705
        * WebCoreSupport/FullScreenVideoQt.cpp:
 
9706
        (WebCore::FullScreenVideoQt::FullScreenVideoQt):
 
9707
        (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
 
9708
        * WebCoreSupport/FullScreenVideoQt.h:
 
9709
 
 
9710
2011-05-16  Adam Barth  <abarth@webkit.org>
 
9711
 
 
9712
        Sigh.  This code is somewhat crazy.
 
9713
 
 
9714
        * WebCoreSupport/InspectorClientQt.cpp:
 
9715
        (WebCore::InspectorClientQt::openInspectorFrontend):
 
9716
 
 
9717
2011-05-16  Adam Barth  <abarth@webkit.org>
 
9718
 
 
9719
        Attempt to fix Qt build.  (Strict PassOwnPtr fix.)
 
9720
 
 
9721
        This patch requires some slightly fancy footwork.
 
9722
 
 
9723
        * WebCoreSupport/InspectorClientQt.cpp:
 
9724
        (WebCore::InspectorClientQt::openInspectorFrontend):
 
9725
        (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
 
9726
 
 
9727
2011-05-16  Adam Barth  <abarth@webkit.org>
 
9728
 
 
9729
        Missing include.
 
9730
 
 
9731
        * WebCoreSupport/PopupMenuQt.h:
 
9732
 
 
9733
2011-05-16  Adam Barth  <abarth@webkit.org>
 
9734
 
 
9735
        [Qt] QtPlatformPlugin create methods should use PassOwnPtr
 
9736
        https://bugs.webkit.org/show_bug.cgi?id=60873
 
9737
 
 
9738
        This change is slightly more than a build fix because the patch kind of
 
9739
        spidered a bit while I was trying to fix the build the "right way."
 
9740
        Hopefully nothing here is controversial.
 
9741
 
 
9742
        * Api/qwebpage.cpp:
 
9743
        (QWebPagePrivate::adjustPointForClicking):
 
9744
        * WebCoreSupport/ChromeClientQt.cpp:
 
9745
        (WebCore::ChromeClientQt::createSelectPopup):
 
9746
        * WebCoreSupport/FullScreenVideoQt.cpp:
 
9747
        (WebCore::FullScreenVideoQt::FullScreenVideoQt):
 
9748
        (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
 
9749
        * WebCoreSupport/FullScreenVideoQt.h:
 
9750
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
9751
        (WebCore::NotificationWrapper::NotificationWrapper):
 
9752
        (WebCore::NotificationPresenterClientQt::displayNotification):
 
9753
        * WebCoreSupport/PopupMenuQt.cpp:
 
9754
        (WebCore::PopupMenuQt::PopupMenuQt):
 
9755
        (WebCore::PopupMenuQt::~PopupMenuQt):
 
9756
        (WebCore::PopupMenuQt::show):
 
9757
        * WebCoreSupport/PopupMenuQt.h:
 
9758
        * WebCoreSupport/QtPlatformPlugin.cpp:
 
9759
        (WebCore::QtPlatformPlugin::createSelectInputMethod):
 
9760
        (WebCore::QtPlatformPlugin::createNotificationPresenter):
 
9761
        (WebCore::QtPlatformPlugin::createHapticFeedbackPlayer):
 
9762
        (WebCore::QtPlatformPlugin::createTouchModifier):
 
9763
        (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
 
9764
        * WebCoreSupport/QtPlatformPlugin.h:
 
9765
        (WebCore::QtPlatformPlugin::QtPlatformPlugin):
 
9766
 
 
9767
2011-05-15  Adam Barth  <abarth@webkit.org>
 
9768
 
 
9769
        Attempt to fix the Qt build.  (Strict PassOwnPtr fix.)
 
9770
 
 
9771
        * Api/qgraphicswebview.cpp:
 
9772
        (QGraphicsWebViewPrivate::detachCurrentPage):
 
9773
        (QGraphicsWebView::setPage):
 
9774
        * Api/qwebpage.cpp:
 
9775
        (QWebPage::setView):
 
9776
 
 
9777
2011-05-15  Sheriff Bot  <webkit.review.bot@gmail.com>
 
9778
 
 
9779
        Unreviewed, rolling out r86504.
 
9780
        http://trac.webkit.org/changeset/86504
 
9781
        https://bugs.webkit.org/show_bug.cgi?id=60853
 
9782
 
 
9783
        "Broke Qt EventSender in editing/selection tests" (Requested
 
9784
        by mwenge on #webkit).
 
9785
 
 
9786
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9787
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9788
 
 
9789
2011-05-12  Robert Hogan  <robert@webkit.org>
 
9790
 
 
9791
        Reviewed by Benjamin Poulain.
 
9792
 
 
9793
        [Qt] fix http/tests/plugins/plugin-document-has-focus.html
 
9794
        https://bugs.webkit.org/show_bug.cgi?id=60722
 
9795
 
 
9796
        QWebPage::setView() will display the browser window, so
 
9797
        implement a private version that does just enough to 
 
9798
        satisfy EventSender's requirement to install an event
 
9799
        filter on a page's web view.
 
9800
 
 
9801
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9802
        (DumpRenderTreeSupportQt::setView):
 
9803
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9804
 
 
9805
2011-05-13  Sheriff Bot  <webkit.review.bot@gmail.com>
 
9806
 
 
9807
        Unreviewed, rolling out r86447.
 
9808
        http://trac.webkit.org/changeset/86447
 
9809
        https://bugs.webkit.org/show_bug.cgi?id=60809
 
9810
 
 
9811
        "Broke some uses of EventSender object on Qt" (Requested by
 
9812
        mwenge on #webkit).
 
9813
 
 
9814
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9815
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9816
 
 
9817
2011-05-13  Sam Weinig  <sam@webkit.org>
 
9818
 
 
9819
        Reviewed by Anders Carlsson.
 
9820
 
 
9821
        Prune #includes from FrameView.h (Part 2)
 
9822
        https://bugs.webkit.org/show_bug.cgi?id=60748
 
9823
 
 
9824
        - Update files that were depending on FrameView.h #including Frame.h or
 
9825
          Page.h.
 
9826
 
 
9827
        * Api/qgraphicswebview.cpp:
 
9828
        * WebCoreSupport/ChromeClientQt.cpp:
 
9829
 
 
9830
2011-05-13  Robert Hogan  <robert@webkit.org>
 
9831
 
 
9832
        Reviewed by Benjamin Poulain.
 
9833
 
 
9834
        [Qt] fix http/tests/plugins/plugin-document-has-focus.html
 
9835
        https://bugs.webkit.org/show_bug.cgi?id=60722
 
9836
 
 
9837
        QWebPage::setView() will display the browser window, so
 
9838
        implement a private version that does just enough to 
 
9839
        satisfy EventSender's requirement to install an event
 
9840
        filter on a page's web view.
 
9841
 
 
9842
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9843
        (DumpRenderTreeSupportQt::setView):
 
9844
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9845
 
 
9846
2011-05-11  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
 
9847
 
 
9848
        Reviewed by nobody, build fix.
 
9849
 
 
9850
        [Qt] Fix build on MSVC.
 
9851
 
 
9852
        qobject_cast<> requires the class to be exported on MSVC,
 
9853
        removing it since the code that needs it is commented out for
 
9854
        the same reason.
 
9855
 
 
9856
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
9857
        (tst_QDeclarativeWebView::elementAreaAt):
 
9858
 
 
9859
2011-05-11  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
 
9860
 
 
9861
        Reviewed by nobody, build fix.
 
9862
 
 
9863
        [Qt] Fix build on MSVC by only enabling tst_MIMESniffing on linux.
 
9864
 
 
9865
        * tests/tests.pro:
 
9866
 
 
9867
2011-05-12  Young Han Lee  <joybro@company100.net>
 
9868
 
 
9869
        Reviewed by Kenneth Rohde Christiansen.
 
9870
 
 
9871
        [Qt] Implement layoutTestController.layerTreeAsText()
 
9872
        https://bugs.webkit.org/show_bug.cgi?id=60367
 
9873
 
 
9874
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9875
        (DumpRenderTreeSupportQt::layerTreeAsText):
 
9876
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9877
 
 
9878
2011-05-11  Noam Rosenthal  <noam.rosenthal@nokia.com>
 
9879
 
 
9880
        Reviewed by Kenneth Rohde Christiansen.
 
9881
 
 
9882
        [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
 
9883
        https://bugs.webkit.org/show_bug.cgi?id=60439
 
9884
 
 
9885
        Patch 10/12: Glue the TextureMapper refactoring into Webkit(1).
 
9886
        1. Pass a GraphicsLayer* instead of a PlatformLayer* to the QWebPageClient.
 
9887
        2. Set parameters in TextureMapper/TextureMapperNode instead of passing them in an options argument.
 
9888
        3. Rename PlatformLayerProxyQt to TextureMapperNodeClient
 
9889
 
 
9890
        * Api/qwebframe.cpp:
 
9891
        (QWebFramePrivate::renderCompositedLayers):
 
9892
        * Api/qwebframe.h:
 
9893
        * Api/qwebframe_p.h:
 
9894
        (QWebFramePrivate::QWebFramePrivate):
 
9895
        * WebCoreSupport/ChromeClientQt.cpp:
 
9896
        (WebCore::ChromeClientQt::attachRootGraphicsLayer):
 
9897
        * WebCoreSupport/PageClientQt.cpp:
 
9898
        (WebCore::TextureMapperNodeClientQt::TextureMapperNodeClientQt):
 
9899
        (WebCore::TextureMapperNodeClientQt::scroll):
 
9900
        (WebCore::TextureMapperNodeClientQt::setTextureMapper):
 
9901
        (WebCore::TextureMapperNodeClientQt::~TextureMapperNodeClientQt):
 
9902
        (WebCore::TextureMapperNodeClientQt::computeLastModifiedRect):
 
9903
        (WebCore::TextureMapperNodeClientQt::syncRootLayer):
 
9904
        (WebCore::TextureMapperNodeClientQt::rootNode):
 
9905
        (WebCore::PageClientQWidget::setRootGraphicsLayer):
 
9906
        (WebCore::PageClientQWidget::syncLayers):
 
9907
        (WebCore::PageClientQWidget::~PageClientQWidget):
 
9908
        (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
 
9909
        (WebCore::PageClientQGraphicsWidget::update):
 
9910
        (WebCore::PageClientQGraphicsWidget::syncLayers):
 
9911
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
 
9912
        (WebCore::PageClientQGraphicsWidget::markForSync):
 
9913
        * WebCoreSupport/PageClientQt.h:
 
9914
        (WebCore::PageClientQWidget::PageClientQWidget):
 
9915
        (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
 
9916
        (WebCore::PageClientQGraphicsWidget::syncLayersTimeout):
 
9917
 
 
9918
 
 
9919
2011-05-11  Noam Rosenthal  <noam.rosenthal@nokia.com>
 
9920
 
 
9921
        Reviewed by Kenneth Rohde Christiansen.
 
9922
 
 
9923
        [Texmap][Qt] Upstream texture-mapper changes from Qt's WebKit2 branch
 
9924
        https://bugs.webkit.org/show_bug.cgi?id=60439
 
9925
 
 
9926
        Patch 4/12: Update the settings to enable accelerated compositing for all the relevant settings
 
9927
        attributes.
 
9928
 
 
9929
        * Api/qwebsettings.cpp:
 
9930
        (qt_networkAccessAllowed):
 
9931
        (QWebSettingsPrivate::apply):
 
9932
 
 
9933
2011-05-11  Sam Weinig  <sam@webkit.org>
 
9934
 
 
9935
        Reviewed by Eric Seidel.
 
9936
 
 
9937
        Stop including Console.h just to get Console enum types
 
9938
        https://bugs.webkit.org/show_bug.cgi?id=60607
 
9939
 
 
9940
        Move MessageSource, MessageType and MessageLevel into its own
 
9941
        header and cleanup surrounding classes.
 
9942
 
 
9943
        * Api/qwebelement.cpp:
 
9944
 
 
9945
2011-05-10  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
 
9946
 
 
9947
        Reviewed by Csaba Osztrogonác.
 
9948
 
 
9949
        [Qt] Increment QtWebKit trunk version to 4.10.0
 
9950
        https://bugs.webkit.org/show_bug.cgi?id=60549
 
9951
 
 
9952
        QtWebKit-2.2 (branched) will be 4.9.0, so we need to
 
9953
        increase the trunk version by 1.
 
9954
 
 
9955
        * qt_webkit_version.pri:
 
9956
 
 
9957
2011-05-10  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>
 
9958
 
 
9959
        Reviewed by Csaba Osztrogonác.
 
9960
 
 
9961
        [Qt] tst_QWebPage creates temporary files in the current working dir
 
9962
        https://bugs.webkit.org/show_bug.cgi?id=60497
 
9963
 
 
9964
        tst_QWebPage was using QDir::currentPath when creating temporary dirs
 
9965
        and leaving them after the test was run. I basically borrowed the fix
 
9966
        from tst_QDeclarativeWebView.
 
9967
 
 
9968
        * tests/qwebpage/tst_qwebpage.cpp:
 
9969
        (removeRecursive):
 
9970
        (tst_QWebPage::tmpDirPath):
 
9971
        (tst_QWebPage::cleanupFiles):
 
9972
        (tst_QWebPage::database):
 
9973
        (tst_QWebPage::multiplePageGroupsAndLocalStorage):
 
9974
 
 
9975
2011-05-09  Chang Shu  <cshu@webkit.org>
 
9976
 
 
9977
        Reviewed by Kenneth Rohde Christiansen.
 
9978
 
 
9979
        [Qt] DumpRenderTreeQt needs an implementation of unmarkText
 
9980
        https://bugs.webkit.org/show_bug.cgi?id=60499
 
9981
 
 
9982
        The implementation is similar to gtk.
 
9983
 
 
9984
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
9985
        (DumpRenderTreeSupportQt::confirmComposition):
 
9986
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
9987
 
 
9988
2011-05-07  Joe Mason  <jmason@rim.com>
 
9989
 
 
9990
        Reviewed by Daniel Bates.
 
9991
 
 
9992
        FrameLoader::isProcessingUserGesture is wrong in dispatchWillPerformClientRedirect
 
9993
        https://bugs.webkit.org/show_bug.cgi?id=52211
 
9994
 
 
9995
        Dump isUserProcessingGesture in willPerformClientRedirect so that the layout tests can be extended.
 
9996
 
 
9997
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
9998
        (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
 
9999
 
 
10000
2011-05-06  Kent Tamura  <tkent@chromium.org>
 
10001
 
 
10002
        Reviewed by Ryosuke Niwa.
 
10003
 
 
10004
        Eliminate WebCore/dom/InputElement.{cpp,h}
 
10005
        https://bugs.webkit.org/show_bug.cgi?id=60262
 
10006
 
 
10007
        * Api/qwebpage.cpp:
 
10008
        (QWebPage::inputMethodQuery):
 
10009
          Replace InputElement::s_maximumLength with HTMLInputElement::maximumLength.
 
10010
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10011
        (DumpRenderTreeSupportQt::setAutofilled):
 
10012
          Follow the return type change of Node::toInputElement().
 
10013
 
 
10014
2011-05-04  Philippe Normand  <pnormand@igalia.com>
 
10015
 
 
10016
        Reviewed by Dimitri Glazkov.
 
10017
 
 
10018
        Implement LayoutTestController::pseudoShadowId()
 
10019
        https://bugs.webkit.org/show_bug.cgi?id=60034
 
10020
 
 
10021
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10022
        (DumpRenderTreeSupportQt::shadowPseudoId):
 
10023
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
10024
 
 
10025
2011-05-05  Prasanth Ullattil  <prasanth.ullattil@nokia.com>
 
10026
 
 
10027
        Reviewed by Simon Hausmann.
 
10028
 
 
10029
        Install correct header files for webkit.
 
10030
 
 
10031
        Since WebKit is no longer inside Qt, we can remove the detection for
 
10032
        that.
 
10033
 
 
10034
        [Qt] Install targets are not working correctly for modularized Qt and QtWebkit
 
10035
        https://bugs.webkit.org/show_bug.cgi?id=57621
 
10036
 
 
10037
        * QtWebKit.pro:
 
10038
 
 
10039
2011-05-05  Ryosuke Niwa  <rniwa@webkit.org>
 
10040
 
 
10041
        Reviewed by Eric Seidel.
 
10042
 
 
10043
        Rename SelectionController to FrameSelection
 
10044
        https://bugs.webkit.org/show_bug.cgi?id=60234
 
10045
 
 
10046
        * Api/qwebframe.cpp:
 
10047
 
 
10048
2011-05-05  Alexis Menard  <alexis.menard@openbossa.org>
 
10049
 
 
10050
        Reviewed by Andreas Kling.
 
10051
 
 
10052
        [Qt] RenderThemeQt and DumpRenderTreeSupportQt should use nullptr rather than 0.
 
10053
        https://bugs.webkit.org/show_bug.cgi?id=60224
 
10054
 
 
10055
        We should use nullptr rather than 0. nullptr will be added in the new C++ standard
 
10056
        but WebKit already has a nullptr class if there is no c++0x support.
 
10057
 
 
10058
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10059
        (DumpRenderTreeSupportQt::addUserStyleSheet):
 
10060
 
 
10061
2011-05-04  Cris Neckar  <cdn@chromium.org>
 
10062
 
 
10063
        Reviewed by Adam Barth.
 
10064
 
 
10065
        Expose WebView directly through ChromeClient.
 
10066
        https://bugs.webkit.org/show_bug.cgi?id=49902
 
10067
 
 
10068
        * WebCoreSupport/ChromeClientQt.h:
 
10069
        (WebCore::ChromeClientQt::webView):
 
10070
 
 
10071
2011-05-04  Alexis Menard  <alexis.menard@openbossa.org>
 
10072
 
 
10073
        Unreviewed warning fix.
 
10074
 
 
10075
        The variable is just unused.
 
10076
 
 
10077
        * tests/qwebpage/tst_qwebpage.cpp:
 
10078
        (tst_QWebPage::inputMethods):
 
10079
 
 
10080
2011-05-04  Tao Bai  <michaelbai@chromium.org>
 
10081
 
 
10082
        Reviewed by David Kilzer.
 
10083
 
 
10084
        Populate touch-icon url to FrameLoaderClient
 
10085
        https://bugs.webkit.org/show_bug.cgi?id=59143
 
10086
 
 
10087
        Respect the interface change in FrameLoaderClient.
 
10088
 
 
10089
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10090
        (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
 
10091
        * WebCoreSupport/FrameLoaderClientQt.h:
 
10092
 
 
10093
2011-03-31  Luiz Agostini  <luiz.agostini@openbossa.org>
 
10094
 
 
10095
        Reviewed by Kenneth Rohde Christiansen.
 
10096
 
 
10097
        [Qt] Qt WebKit updates view on HTTP 204 response
 
10098
        https://bugs.webkit.org/show_bug.cgi?id=42529
 
10099
 
 
10100
        Ignoring http responses which have status code equal to 204 (No Content)
 
10101
        or 205 (Reset Content).
 
10102
 
 
10103
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10104
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
 
10105
 
 
10106
2011-05-04  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
10107
 
 
10108
        Reviewed by Benjamin Poulain.
 
10109
 
 
10110
        [Qt] Fix signals emitted in FakeReply used in autotests
 
10111
        https://bugs.webkit.org/show_bug.cgi?id=60049
 
10112
 
 
10113
        The signals emitted for each case of FakeReply were swapped (error case
 
10114
        emitting metaDataChanged() and redirect case emitting error()). Emitting
 
10115
        readyRead() is not necessary.
 
10116
 
 
10117
        * tests/qwebframe/tst_qwebframe.cpp:
 
10118
        (FakeReply::FakeReply):
 
10119
        Choose the different continue function for each case of FakeReply. This removes
 
10120
        the need of the if-statement in timeout() and let us replace timeout() with two
 
10121
        simpler functions.
 
10122
 
 
10123
        (FakeReply::continueRedirect):
 
10124
        (FakeReply::continueError):
 
10125
        Continuation cases, emitting the minimal set of signals needed for each case.
 
10126
 
 
10127
2011-05-03  Julien Chaffraix  <jchaffraix@codeaurora.org>
 
10128
 
 
10129
        Reviewed by Dimitri Glazkov.
 
10130
 
 
10131
        Element:shadowRoot & Element::ensureShadowRoot should return ShadowRoot*
 
10132
        https://bugs.webkit.org/show_bug.cgi?id=58703
 
10133
 
 
10134
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10135
        (DumpRenderTreeSupportQt::shadowRoot): Added #include for ShadowRoot.h.
 
10136
 
 
10137
2011-05-03  Keith Kyzivat  <keith.kyzivat@nokia.com>
 
10138
 
 
10139
        Reviewed by Andreas Kling.
 
10140
 
 
10141
        [Qt] QtDeclarative Webview element has a fixed white background
 
10142
        https://bugs.webkit.org/show_bug.cgi?id=40918
 
10143
 
 
10144
        QProperty REVISION feature is not present in certain Qt Trunk clones.
 
10145
        These builds report their version as 4.8.0, and therefore break on the
 
10146
        prior #if QT_VERSION >= 0x040704.  The proper fix is to check based on
 
10147
        the existance of Q_REVISION.
 
10148
 
 
10149
        * declarative/plugin.cpp:
 
10150
        (WebKitQmlPlugin::registerTypes):
 
10151
        * declarative/qdeclarativewebview.cpp:
 
10152
        * declarative/qdeclarativewebview_p.h:
 
10153
 
 
10154
2011-05-01  Sam Weinig  <sam@webkit.org>
 
10155
 
 
10156
        Reviewed by Anders Carlsson.
 
10157
 
 
10158
        Prune some unnecessary #includes
 
10159
        https://bugs.webkit.org/show_bug.cgi?id=59895
 
10160
 
 
10161
        Start getting rid of unnecessary #includes and forward declares.
 
10162
 
 
10163
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10164
 
 
10165
2011-04-29  Csaba Osztrogonác  <ossy@webkit.org>
 
10166
 
 
10167
        Reviewed by Adam Barth.
 
10168
 
 
10169
        Enable strict OwnPtr for Qt
 
10170
        https://bugs.webkit.org/show_bug.cgi?id=59667
 
10171
 
 
10172
        * Api/qwebpage.cpp:
 
10173
        (QWebPagePrivate::QWebPagePrivate):
 
10174
 
 
10175
2011-04-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
10176
 
 
10177
        Reviewed by Simon Hausmann.
 
10178
 
 
10179
        ENABLE(QT_BEARER) -> USE(QT_BEARER)
 
10180
 
 
10181
        * Api/qwebsettings.cpp:
 
10182
 
 
10183
2011-04-29  Tor Arne Vestbø  <tor.arne.vestbo@nokia.com>
 
10184
 
 
10185
        Reviewed by Simon Hausmann.
 
10186
 
 
10187
        ENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)
 
10188
 
 
10189
        * Api/qwebpage.cpp:
 
10190
 
 
10191
2011-04-28  Yael Aharon  <yael.aharon@nokia.com>
 
10192
 
 
10193
        Reviewed by Andreas Kling.
 
10194
 
 
10195
        Remove flag ENABLE_SYMBIAN_DIALOG_PROVIDER
 
10196
        https://bugs.webkit.org/show_bug.cgi?id=59704
 
10197
 
 
10198
        * WebCoreSupport/QtFallbackWebPopup.cpp:
 
10199
        (WebCore::QtFallbackWebPopup::show):
 
10200
        * WebCoreSupport/QtFallbackWebPopup.h:
 
10201
 
 
10202
2011-04-27  Yi Shen  <yi.4.shen@nokia.com>
 
10203
 
 
10204
        Reviewed by Kenneth Rohde Christiansen.
 
10205
 
 
10206
        [Qt] Upstream Symbian platform plugin
 
10207
        https://bugs.webkit.org/show_bug.cgi?id=58435
 
10208
 
 
10209
        Upstream Symbian platform plugin.
 
10210
 
 
10211
        * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
 
10212
        * symbian/platformplugin: Added.
 
10213
        * symbian/platformplugin/WebPlugin.cpp: Added.
 
10214
        (ItemListDelegate::ItemListDelegate):
 
10215
        (ItemListDelegate::paint):
 
10216
        (Popup::Popup):
 
10217
        (Popup::resizeEvent):
 
10218
        (Popup::populateList):
 
10219
        (Popup::onItemSelected):
 
10220
        (Popup::updateSelectionsBeforeDialogClosing):
 
10221
        (Popup::updateAndClose):
 
10222
        (WebPopup::WebPopup):
 
10223
        (WebPopup::~WebPopup):
 
10224
        (WebPopup::createSingleSelectionPopup):
 
10225
        (WebPopup::createMultipleSelectionPopup):
 
10226
        (WebPopup::createPopup):
 
10227
        (WebPopup::show):
 
10228
        (WebPopup::hide):
 
10229
        (WebPopup::popupClosed):
 
10230
        (WebPopup::itemClicked):
 
10231
        (SingleSelectionPopup::SingleSelectionPopup):
 
10232
        (MultipleSelectionPopup::MultipleSelectionPopup):
 
10233
        (WebNotificationPresenter::showNotification):
 
10234
        (WebPlugin::supportsExtension):
 
10235
        (WebPlugin::createExtension):
 
10236
        * symbian/platformplugin/WebPlugin.h: Added.
 
10237
        (Popup::preSelectedIndices):
 
10238
        (Popup::listWidget):
 
10239
        (WebNotificationPresenter::WebNotificationPresenter):
 
10240
        (WebNotificationPresenter::~WebNotificationPresenter):
 
10241
        * symbian/platformplugin/platformplugin.pro: Added.
 
10242
        * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
 
10243
        (QWebSelectData::~QWebSelectData):
 
10244
        (QWebSelectMethod::~QWebSelectMethod):
 
10245
        (QWebNotificationData::~QWebNotificationData):
 
10246
        (QWebNotificationPresenter::QWebNotificationPresenter):
 
10247
        (QWebNotificationPresenter::~QWebNotificationPresenter):
 
10248
        (QWebTouchModifier::~QWebTouchModifier):
 
10249
        (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
 
10250
        (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
 
10251
        (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
 
10252
 
 
10253
2011-04-26  Yi Shen  <yi.4.shen@nokia.com>
 
10254
 
 
10255
        Reviewed by Tor Arne Vestbø.
 
10256
 
 
10257
        [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::setHtmlWithBaseURL  
 
10258
        https://bugs.webkit.org/show_bug.cgi?id=56946
 
10259
 
 
10260
        Deployed the missing resource for Symbian platform.
 
10261
 
 
10262
        * tests/qwebframe/qwebframe.pro:
 
10263
 
 
10264
2011-04-26  Siddharth Mathur  <siddharth.mathur@nokia.com>
 
10265
 
 
10266
        Reviewed by Andreas Kling.
 
10267
 
 
10268
        [Qt] Build fix: QtDeclarative Webview element has a fixed white background
 
10269
        https://bugs.webkit.org/show_bug.cgi?id=40918
 
10270
 
 
10271
        Macro Q_REVISION and associated qdeclarativeitem.h signals are not available in 4.7.3 headers in Nokia Qt SDK.
 
10272
 
 
10273
        * declarative/plugin.cpp: Bump up required version to 4.7.4+
 
10274
        (WebKitQmlPlugin::registerTypes):
 
10275
        * declarative/qdeclarativewebview.cpp: ditto
 
10276
        * declarative/qdeclarativewebview_p.h: ditto
 
10277
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: ditto
 
10278
 
 
10279
2011-04-26  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
10280
 
 
10281
        Reviewed by Csaba Osztrogonác.
 
10282
 
 
10283
        [Qt] Implement LayoutTestController::setAutofilled
 
10284
        https://bugs.webkit.org/show_bug.cgi?id=59439
 
10285
 
 
10286
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10287
        (DumpRenderTreeSupportQt::setAutofilled):
 
10288
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
10289
 
 
10290
2011-04-22  Sheriff Bot  <webkit.review.bot@gmail.com>
 
10291
 
 
10292
        Unreviewed, rolling out r84627.
 
10293
        http://trac.webkit.org/changeset/84627
 
10294
        https://bugs.webkit.org/show_bug.cgi?id=59271
 
10295
 
 
10296
        It broke Symbian build (Requested by Ossy on #webkit).
 
10297
 
 
10298
        * QtWebKit.pro:
 
10299
        * symbian/platformplugin/WebPlugin.cpp: Removed.
 
10300
        * symbian/platformplugin/WebPlugin.h: Removed.
 
10301
        * symbian/platformplugin/platformplugin.pro: Removed.
 
10302
        * symbian/platformplugin/qwebkitplatformplugin.h: Removed.
 
10303
 
 
10304
2011-04-22  Sam Weinig  <sam@webkit.org>
 
10305
 
 
10306
        Fix qt build.
 
10307
 
 
10308
        * Api/qwebelement.cpp:
 
10309
        (setupScriptContext):
 
10310
 
 
10311
2011-04-22  Yi Shen  <yi.4.shen@nokia.com>
 
10312
 
 
10313
        Reviewed by Kenneth Rohde Christiansen.
 
10314
 
 
10315
        [Qt] Upstream Symbian platform plugin
 
10316
        https://bugs.webkit.org/show_bug.cgi?id=58435
 
10317
 
 
10318
        Upstream Symbian platform plugin.
 
10319
 
 
10320
        * QtWebKit.pro: Add platformplugin.dll to the QtWebKit.sis.
 
10321
        * symbian/platformplugin: Added.
 
10322
        * symbian/platformplugin/WebPlugin.cpp: Added.
 
10323
        (ItemListDelegate::ItemListDelegate):
 
10324
        (ItemListDelegate::paint):
 
10325
        (Popup::Popup):
 
10326
        (Popup::resizeEvent):
 
10327
        (Popup::populateList):
 
10328
        (Popup::onItemSelected):
 
10329
        (Popup::updateSelectionsBeforeDialogClosing):
 
10330
        (Popup::updateAndClose):
 
10331
        (WebPopup::WebPopup):
 
10332
        (WebPopup::~WebPopup):
 
10333
        (WebPopup::createSingleSelectionPopup):
 
10334
        (WebPopup::createMultipleSelectionPopup):
 
10335
        (WebPopup::createPopup):
 
10336
        (WebPopup::show):
 
10337
        (WebPopup::hide):
 
10338
        (WebPopup::popupClosed):
 
10339
        (WebPopup::itemClicked):
 
10340
        (SingleSelectionPopup::SingleSelectionPopup):
 
10341
        (MultipleSelectionPopup::MultipleSelectionPopup):
 
10342
        (WebNotificationPresenter::showNotification):
 
10343
        (WebPlugin::supportsExtension):
 
10344
        (WebPlugin::createExtension):
 
10345
        * symbian/platformplugin/WebPlugin.h: Added.
 
10346
        (Popup::preSelectedIndices):
 
10347
        (Popup::listWidget):
 
10348
        (WebNotificationPresenter::WebNotificationPresenter):
 
10349
        (WebNotificationPresenter::~WebNotificationPresenter):
 
10350
        * symbian/platformplugin/platformplugin.pro: Added.
 
10351
        * symbian/platformplugin/qwebkitplatformplugin.h: Copied from WebKit/qt/Api/qwebkitplatformplugin.h.
 
10352
        (QWebSelectData::~QWebSelectData):
 
10353
        (QWebSelectMethod::~QWebSelectMethod):
 
10354
        (QWebNotificationData::~QWebNotificationData):
 
10355
        (QWebNotificationPresenter::QWebNotificationPresenter):
 
10356
        (QWebNotificationPresenter::~QWebNotificationPresenter):
 
10357
        (QWebTouchModifier::~QWebTouchModifier):
 
10358
        (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
 
10359
        (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
 
10360
        (QWebKitPlatformPlugin::~QWebKitPlatformPlugin):
 
10361
 
 
10362
2011-04-21  Ryosuke Niwa  <rniwa@webkit.org>
 
10363
 
 
10364
        Reviewed by Sam Weinig.
 
10365
 
 
10366
        Add Frame* to the argument lists of canCopyCut and canPaste
 
10367
        https://bugs.webkit.org/show_bug.cgi?id=59153
 
10368
 
 
10369
        * WebCoreSupport/EditorClientQt.cpp:
 
10370
        (WebCore::EditorClientQt::canCopyCut):
 
10371
        (WebCore::EditorClientQt::canPaste):
 
10372
        * WebCoreSupport/EditorClientQt.h:
 
10373
 
 
10374
2011-04-21  Yi Shen  <yi.4.shen@nokia.com>
 
10375
 
 
10376
        Reviewed by Antonio Gomes.
 
10377
 
 
10378
        [Qt] Fix the style issue for Api/qwebkitplatformplugin.h
 
10379
        https://bugs.webkit.org/show_bug.cgi?id=59097
 
10380
 
 
10381
        Fix the style issues for Api/qwebkitplatformplugin.h found by the webkit-check-style.
 
10382
 
 
10383
        * Api/qwebkitplatformplugin.h:
 
10384
 
 
10385
2011-04-21  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
10386
 
 
10387
        Reviewed by Csaba Osztrogonác.
 
10388
 
 
10389
        [Qt] REGRESSION(84057): It made 4 API tests fail
 
10390
        https://bugs.webkit.org/show_bug.cgi?id=58848
 
10391
 
 
10392
        After MIME sniffing support was added, some autotests are failing because
 
10393
        the sniffer doesn't recognize our HTML pages.
 
10394
 
 
10395
        This fixes tst_QWebPage::backActionUpdate(), tst_QWebPage::errorPageExtensionInFrameset()
 
10396
        and tst_QWebFrame::horizontalScrollAfterBack().
 
10397
 
 
10398
        * tests/qwebframe/resources/testiframe.html:
 
10399
        * tests/qwebframe/resources/testiframe2.html:
 
10400
        Remove spurious </html> in beginning of the document.
 
10401
 
 
10402
        * tests/qwebpage/resources/framedindex.html:
 
10403
        * tests/qwebpage/resources/index.html:
 
10404
        Add <html> (and </html>) tags, <frameset> is not recognized by the sniffer as a
 
10405
        possible starting tag for HTML document.
 
10406
 
 
10407
        * tests/qwebpage/tst_qwebpage.cpp:
 
10408
        (tst_QWebPage::errorPageExtensionInFrameset):
 
10409
        Verify if we do have a main frame and the main frame has the children frames we
 
10410
        expect. This will avoid crashing if for some reason children frames are not
 
10411
        loaded.
 
10412
 
 
10413
2011-04-20  Dominic Cooney  <dominicc@chromium.org>
 
10414
 
 
10415
        Reviewed by Dimitri Glazkov.
 
10416
 
 
10417
        layoutTestController can create and destroy shadow DOM
 
10418
        https://bugs.webkit.org/show_bug.cgi?id=59058
 
10419
 
 
10420
        Support for new methods in Qt DRT.
 
10421
 
 
10422
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10423
        (DumpRenderTreeSupportQt::ensureShadowRoot):
 
10424
        (DumpRenderTreeSupportQt::removeShadowRoot):
 
10425
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
10426
 
 
10427
2011-04-20  Balazs Kelemen  <kbalazs@webkit.org>
 
10428
 
 
10429
        Reviewed by Csaba Osztrogonác.
 
10430
 
 
10431
        [Qt] Cleanup includepath adjustment for generated files
 
10432
        https://bugs.webkit.org/show_bug.cgi?id=58869
 
10433
 
 
10434
        * QtWebKit.pro: Revert the hacky fix in r84174. Remove
 
10435
        unnecessary logic.
 
10436
 
 
10437
2011-04-19  Yi Shen  <yi.4.shen@nokia.com>
 
10438
 
 
10439
        Reviewed by Andreas Kling.
 
10440
 
 
10441
        [Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
 
10442
        https://bugs.webkit.org/show_bug.cgi?id=57254
 
10443
 
 
10444
        Skip test for setPalette() which doesn't work 
 
10445
        when WTF_USE_QT_MOBILE_THEME is defined.
 
10446
 
 
10447
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
10448
        * tests/qwebview/tst_qwebview.cpp:
 
10449
        * tests/tests.pri:
 
10450
 
 
10451
2011-04-19  Yi Shen  <yi.4.shen@nokia.com>
 
10452
 
 
10453
        Reviewed by Laszlo Gombos.
 
10454
 
 
10455
        [Qt][Symbian] Fix Api test failure -- tst_QGraphicsWebView::widgetsRenderingThroughCache
 
10456
        https://bugs.webkit.org/show_bug.cgi?id=58044
 
10457
 
 
10458
        Fixing this test by disabling the scrollbars on the graphics view 
 
10459
        since QtWebKit handles scrolling and scrollbar automatically and correctly.
 
10460
 
 
10461
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
10462
        (tst_QGraphicsWebView::widgetsRenderingThroughCache):
 
10463
 
 
10464
2011-04-19  Igor Oliveira  <igor.oliveira@openbossa.org>
 
10465
 
 
10466
        Reviewed by Andreas Kling.
 
10467
 
 
10468
        [Qt] X11: Text selection is causing oncopy event to be called
 
10469
        https://bugs.webkit.org/show_bug.cgi?id=58656
 
10470
 
 
10471
        Always when text is selected the oncopy event is fired, this behavior does
 
10472
        not exist in Firefox or Chrome. Now, when selecting a text, QtWebKit
 
10473
        is making multi part-copies (with rich text metadata), the multi-part
 
10474
        data can be obtained by data transfer items interface when supported by QtWebKit.
 
10475
        Also, copies to the clipboard of a selected image, is not supported by Chrome and
 
10476
        Firefox and was removed from QtWebKit.
 
10477
 
 
10478
 
 
10479
        * Api/qwebpage.cpp:
 
10480
        (QWebPagePrivate::handleClipboard):
 
10481
 
 
10482
2011-04-18  Csaba Osztrogonác  <ossy@webkit.org>
 
10483
 
 
10484
        [Qt][WK2] Unreviewed buildfix after r84174.
 
10485
 
 
10486
        * QtWebKit.pro: Missing includepath added.
 
10487
 
 
10488
2011-04-18  Yi Shen  <yi.4.shen@nokia.com>
 
10489
 
 
10490
        Reviewed by Laszlo Gombos.
 
10491
 
 
10492
        [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::inputFieldFocus
 
10493
        https://bugs.webkit.org/show_bug.cgi?id=57546
 
10494
 
 
10495
        Disable the fullscreen VKB when testing inputFieldFocus().
 
10496
 
 
10497
        * tests/qwebframe/tst_qwebframe.cpp:
 
10498
 
 
10499
2011-04-18  Andreas Kling  <kling@webkit.org>
 
10500
 
 
10501
        [Qt] DRT: Unreviewed test fix after r84168.
 
10502
        
 
10503
        Dump the original request KURL for blocked access attempts.
 
10504
        Turns out converting it to a QUrl lower-cases the hostname.
 
10505
 
 
10506
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10507
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
10508
 
 
10509
2011-04-18  Yi Shen  <yi.4.shen@nokia.com>
 
10510
 
 
10511
        Reviewed by Laszlo Gombos.
 
10512
 
 
10513
        [Qt] Fix Api tests for QWebPage on Symbian
 
10514
        https://bugs.webkit.org/show_bug.cgi?id=56924
 
10515
 
 
10516
        Ignores the style attribute that selectedHtml() returns.
 
10517
 
 
10518
        * tests/qwebpage/tst_qwebpage.cpp:
 
10519
        (tst_QWebPage::cursorMovements):
 
10520
        (tst_QWebPage::textSelection):
 
10521
        (tst_QWebPage::findText):
 
10522
 
 
10523
2011-04-18  Andreas Kling  <kling@webkit.org>
 
10524
 
 
10525
        Reviewed by Adam Barth.
 
10526
 
 
10527
        REGRESSION (r84010): [Qt] DRT: Unbreak redirection of http:/ URLs.
 
10528
        https://bugs.webkit.org/show_bug.cgi?id=58779
 
10529
 
 
10530
        KURL::host() doesn't return the host part of [broken] http:/ URLs, so use
 
10531
        QUrl instead to match the behavior of other ports.
 
10532
 
 
10533
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10534
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
10535
 
 
10536
2011-04-18  Dominic Cooney  <dominicc@chromium.org>
 
10537
 
 
10538
        Reviewed by Andreas Kling.
 
10539
 
 
10540
        Add layoutTestController.shadowRoot to Qt DRT.
 
10541
        https://bugs.webkit.org/show_bug.cgi?id=58759
 
10542
 
 
10543
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10544
        (DumpRenderTreeSupportQt::shadowRoot): Added.
 
10545
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
10546
 
 
10547
2011-04-16  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
10548
 
 
10549
        Reviewed by Andreas Kling.
 
10550
 
 
10551
        [Qt] Autotest got missed in the handover of the QML WebView element
 
10552
        https://bugs.webkit.org/show_bug.cgi?id=41449
 
10553
 
 
10554
        Importing WebView QML element test cases from Qt repository. I did some
 
10555
        style modifications and simplifications in the original code but hopefully
 
10556
        without changing the behavior.
 
10557
 
 
10558
        Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
 
10559
        issues currently are:
 
10560
 
 
10561
        - pixelCache() test checked the usage of pixel cache by using a subclass of
 
10562
          QDeclarativeWebView. We can't do that right now because this class is not
 
10563
          exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want
 
10564
          this kind of test.
 
10565
        - elementAtArea() test uses a function that is not exported. But in this case
 
10566
          I think we should test it's user, the public method "heuristicZoom".
 
10567
 
 
10568
        * tests/qdeclarativewebview/resources/basic.html: Added.
 
10569
        * tests/qdeclarativewebview/resources/basic.png: Added.
 
10570
        * tests/qdeclarativewebview/resources/basic.qml: Added.
 
10571
        * tests/qdeclarativewebview/resources/elements.html: Added.
 
10572
        * tests/qdeclarativewebview/resources/elements.qml: Added.
 
10573
        * tests/qdeclarativewebview/resources/forward.html: Added.
 
10574
        * tests/qdeclarativewebview/resources/forward.png: Added.
 
10575
        * tests/qdeclarativewebview/resources/javaScript.html: Added.
 
10576
        * tests/qdeclarativewebview/resources/javaScript.qml: Added.
 
10577
        * tests/qdeclarativewebview/resources/loadError.qml: Added.
 
10578
        * tests/qdeclarativewebview/resources/newwindows.html: Added.
 
10579
        * tests/qdeclarativewebview/resources/newwindows.qml: Added.
 
10580
        * tests/qdeclarativewebview/resources/propertychanges.qml: Added.
 
10581
        * tests/qdeclarativewebview/resources/sethtml.qml: Added.
 
10582
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
10583
        (tst_QDeclarativeWebView::tmpDir):
 
10584
        (strippedHtml):
 
10585
        (fileContents):
 
10586
        (removeRecursive):
 
10587
        (tst_QDeclarativeWebView::cleanupTestCase):
 
10588
        (tst_QDeclarativeWebView::basicProperties):
 
10589
        (tst_QDeclarativeWebView::elementAreaAt):
 
10590
        (tst_QDeclarativeWebView::historyNav):
 
10591
        (callEvaluateJavaScript):
 
10592
        (tst_QDeclarativeWebView::javaScript):
 
10593
        (tst_QDeclarativeWebView::loadError):
 
10594
        (tst_QDeclarativeWebView::multipleWindows):
 
10595
        (tst_QDeclarativeWebView::newWindowComponent):
 
10596
        (tst_QDeclarativeWebView::newWindowParent):
 
10597
        (tst_QDeclarativeWebView::pressGrabTime):
 
10598
        (tst_QDeclarativeWebView::renderingEnabled):
 
10599
        (tst_QDeclarativeWebView::setHtml):
 
10600
        (tst_QDeclarativeWebView::settings):
 
10601
        (tst_QDeclarativeWebView::checkNoErrors):
 
10602
        * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
 
10603
 
 
10604
2011-04-08  Luiz Agostini  <luiz.agostini@openbossa.org>
 
10605
 
 
10606
        Reviewed by Kenneth Rohde Christiansen.
 
10607
 
 
10608
        [Qt] QWebPage MIME type handling inconsistency with other web browsers
 
10609
        https://bugs.webkit.org/show_bug.cgi?id=46968
 
10610
 
 
10611
        Implementing mime type sniffing based on
 
10612
        http://tools.ietf.org/html/draft-abarth-mime-sniff-06.
 
10613
 
 
10614
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10615
        (WebCore::FrameLoaderClientQt::createNetworkingContext):
 
10616
        * WebCoreSupport/FrameNetworkingContextQt.cpp:
 
10617
        (WebCore::FrameNetworkingContextQt::FrameNetworkingContextQt):
 
10618
        (WebCore::FrameNetworkingContextQt::create):
 
10619
        (WebCore::FrameNetworkingContextQt::MIMESniffingEnabled):
 
10620
        * WebCoreSupport/FrameNetworkingContextQt.h:
 
10621
        * tests/MIMESniffing/MIMESniffing.pro: Added.
 
10622
        * tests/MIMESniffing/TestData.h: Added.
 
10623
        * tests/MIMESniffing/resources.qrc: Added.
 
10624
        * tests/MIMESniffing/resources/application_atom+xml: Added.
 
10625
        * tests/MIMESniffing/resources/application_ogg: Added.
 
10626
        * tests/MIMESniffing/resources/application_pdf: Added.
 
10627
        * tests/MIMESniffing/resources/application_postscript: Added.
 
10628
        * tests/MIMESniffing/resources/application_rdf+xml: Added.
 
10629
        * tests/MIMESniffing/resources/application_rss+xml: Added.
 
10630
        * tests/MIMESniffing/resources/application_x-gzip: Added.
 
10631
        * tests/MIMESniffing/resources/application_x-rar-compressed: Added.
 
10632
        * tests/MIMESniffing/resources/application_zip: Added.
 
10633
        * tests/MIMESniffing/resources/audio_x-wave: Added.
 
10634
        * tests/MIMESniffing/resources/image_bmp: Added.
 
10635
        * tests/MIMESniffing/resources/image_gif: Added.
 
10636
        * tests/MIMESniffing/resources/image_jpeg: Added.
 
10637
        * tests/MIMESniffing/resources/image_png: Added.
 
10638
        * tests/MIMESniffing/resources/image_vnd.microsoft.icon: Added.
 
10639
        * tests/MIMESniffing/resources/image_webp: Added.
 
10640
        * tests/MIMESniffing/resources/text_html: Added.
 
10641
        * tests/MIMESniffing/resources/text_xml: Added.
 
10642
        * tests/MIMESniffing/resources/video_webm: Added.
 
10643
        * tests/MIMESniffing/tst_MIMESniffing.cpp: Added.
 
10644
        (tst_MIMESniffing::tst_MIMESniffing):
 
10645
        (errorText):
 
10646
        (tst_MIMESniffing::testCase1):
 
10647
        * tests/tests.pro:
 
10648
 
 
10649
2011-04-15  Andreas Kling  <kling@webkit.org>
 
10650
 
 
10651
        Reviewed by Antonio Gomes.
 
10652
 
 
10653
        [Qt] DRT: Block access to external URLs.
 
10654
 
 
10655
        Implement the "Blocked access to external URL" behavior for Qt's DRT,
 
10656
        based on what other ports are doing.
 
10657
 
 
10658
        Fixes <http://webkit.org/b/57306> and <http://webkit.org/b/58523>.
 
10659
 
 
10660
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10661
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
10662
 
 
10663
2011-01-26  Ragner Magalhaes  <ragner.magalhaes@openbossa.org>
 
10664
 
 
10665
        Reviewed by Antonio Gomes.
 
10666
 
 
10667
        [Qt] Web Inspector does not highlight elements
 
10668
        https://bugs.webkit.org/show_bug.cgi?id=35125
 
10669
 
 
10670
        Adjust Web inspector to highlight elements on the page when the mouse
 
10671
        hovers the element on DOM inspector.
 
10672
 
 
10673
        * Api/qwebframe.cpp:
 
10674
        (QWebFramePrivate::renderRelativeCoords):
 
10675
        * WebCoreSupport/InspectorClientQt.cpp:
 
10676
        (WebCore::InspectorClientQt::highlight):
 
10677
        (WebCore::InspectorClientQt::hideHighlight):
 
10678
 
 
10679
2011-04-12  George Guo  <George.Guo@nokia.com>
 
10680
 
 
10681
        Reviewed by Laszlo Gombos.
 
10682
 
 
10683
        [Qt] On Symbian got "Update Error" when installing QtWebkit.sis
 
10684
        http://bugs.webkit.org/show_bug.cgi?id=58141
 
10685
 
 
10686
        If QtWebKit is already in Symbian ROM, we need package to be
 
10687
        both SA and RU type
 
10688
 
 
10689
        * QtWebKit.pro:
 
10690
 
 
10691
2011-04-12  Alexis Menard  <alexis.menard@openbossa.org>
 
10692
 
 
10693
        Reviewed by Andreas Kling.
 
10694
 
 
10695
        [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
 
10696
        https://bugs.webkit.org/show_bug.cgi?id=58251
 
10697
 
 
10698
        Fix an issue with slot names after http://trac.webkit.org/changeset/83512.
 
10699
 
 
10700
        * Api/qwebframe.cpp:
 
10701
        (QWebFrame::QWebFrame):
 
10702
 
 
10703
2011-04-11  Alexis Menard  <alexis.menard@openbossa.org>
 
10704
 
 
10705
        Reviewed by Benjamin Poulain.
 
10706
 
 
10707
        [Qt] Private Q_SLOTS void orientationChanged() can't be in qwebframe.h public header file.
 
10708
        https://bugs.webkit.org/show_bug.cgi?id=58251
 
10709
 
 
10710
        Qt coding conventions states that private slots should be located in private implementation of
 
10711
        the class. This allows us to rename/delete the slots in the future without breaking anything.
 
10712
 
 
10713
        No new tests added, just a simple refactoring.
 
10714
 
 
10715
        * Api/qwebframe.cpp:
 
10716
        (QWebFramePrivate::_q_orientationChanged):
 
10717
        * Api/qwebframe.h:
 
10718
        * Api/qwebframe_p.h:
 
10719
 
 
10720
2011-04-11  Alexis Menard  <alexis.menard@openbossa.org>
 
10721
 
 
10722
        Reviewed by Kenneth Rohde Christiansen.
 
10723
 
 
10724
        [Qt] Sub-Frame content is not updated when scrolling in certain circumstances
 
10725
        https://bugs.webkit.org/show_bug.cgi?id=50373
 
10726
 
 
10727
        Make sure that we invalidate the backing store when using TILED_BACKING_STORE
 
10728
        and the page contains sub frames. This bug appears only when frame flattening is
 
10729
        disabled and scrollable subframes.
 
10730
 
 
10731
        Original patch from Thomas Thrainer.
 
10732
 
 
10733
        * WebCoreSupport/ChromeClientQt.cpp:
 
10734
        (WebCore::ChromeClientQt::invalidateWindow):
 
10735
 
 
10736
2011-04-11  Benjamin Poulain  <benjamin.poulain@nokia.com>
 
10737
 
 
10738
        Reviewed by Andreas Kling.
 
10739
 
 
10740
        [Qt] HTML5 Drag and Drop demos not working
 
10741
        https://bugs.webkit.org/show_bug.cgi?id=56486
 
10742
 
 
10743
        Handling the drop with JavaScript was not working with Qt because if the action is ignored
 
10744
        in response to DragEnter, no further events are sent to the view.
 
10745
 
 
10746
        Drag and drop is defined and used differently by webpages. The drag move events are determining
 
10747
        what action should take place. To adopt this behavior for Qt, we always accept drag enter events
 
10748
        on the widget.
 
10749
 
 
10750
        * Api/qwebpage.cpp:
 
10751
        (QWebPagePrivate::dragEnterEvent):
 
10752
 
 
10753
2011-04-11  Andras Becsi  <abecsi@webkit.org>
 
10754
 
 
10755
        Reviewed by Andreas Kling.
 
10756
 
 
10757
        [Qt] REGRESSION(83122): tst_QWebElement::style() fails
 
10758
        https://bugs.webkit.org/show_bug.cgi?id=58032
 
10759
 
 
10760
        According to the documentation of QWebElement the styleProperty method should
 
10761
        not respect style inheritance and other CSS rules for the InlineStyle enum.
 
10762
 
 
10763
        r83122 fixed this behaviour.
 
10764
 
 
10765
        * tests/qwebelement/tst_qwebelement.cpp:
 
10766
        (tst_QWebElement::style): Fix the expected color for QWebElement::InlineStyle.
 
10767
 
 
10768
2011-04-11  Andreas Kling  <andreas.kling@nokia.com>
 
10769
 
 
10770
        Build fix after r83436.
 
10771
 
 
10772
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10773
        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
 
10774
 
 
10775
2011-04-11  Andreas Kling  <andreas.kling@nokia.com>
 
10776
 
 
10777
        Reviewed by Benjamin Poulain.
 
10778
 
 
10779
        [Qt] dumpResourceResponseMIMETypes shouldn't strip URL query string.
 
10780
 
 
10781
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10782
        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse): Use KURL::lastPathComponent()
 
10783
        for the dumpResourceResponseMIMETypes display string instead of QFileInfo::fileName().
 
10784
        This is in line with the Mac port.
 
10785
 
 
10786
2011-04-08  Sheriff Bot  <webkit.review.bot@gmail.com>
 
10787
 
 
10788
        Unreviewed, rolling out r83295.
 
10789
        http://trac.webkit.org/changeset/83295
 
10790
        https://bugs.webkit.org/show_bug.cgi?id=58144
 
10791
 
 
10792
        Broke 4 tests in QtWebKit (Requested by tonikitoo on #webkit).
 
10793
 
 
10794
        * WebCoreSupport/EditorClientQt.cpp:
 
10795
        (WebCore::EditorClientQt::handleInputMethodKeydown):
 
10796
 
 
10797
2011-04-08  Yi Shen  <yi.4.shen@nokia.com>
 
10798
 
 
10799
        Reviewed by Antonio Gomes.
 
10800
 
 
10801
        [Qt]REGRESSION(r82243): fast/events/onsearch-enter.html fails
 
10802
        https://bugs.webkit.org/show_bug.cgi?id=57472
 
10803
 
 
10804
        Avoid to insert new line for both keydown event & keypress event.
 
10805
 
 
10806
        * WebCoreSupport/EditorClientQt.cpp:
 
10807
        (WebCore::EditorClientQt::handleInputMethodKeydown):
 
10808
 
 
10809
2011-04-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
10810
 
 
10811
        Reviewed by Benjamin Poulain.
 
10812
 
 
10813
        [Qt] QWebFrame::setUrl works only from second time if url fragment is present
 
10814
        https://bugs.webkit.org/show_bug.cgi?id=32723
 
10815
 
 
10816
        When clearing the frame, instead of using the URL passed to QWebFrame::setUrl(),
 
10817
        use an invalid URL (the begin() without arguments). Clearing the document
 
10818
        with the same URL was causing problems when we had a fragment because it assume that
 
10819
        only scrolling was enough and did not loaded the document again.
 
10820
 
 
10821
        When setUrl() is called but fails, url() is expected to return the requested value. The
 
10822
        begin(url) guaranteed that before. This patch adds a member to track the URL, which is
 
10823
        updated when the URL changes and also when setUrl() is called.
 
10824
 
 
10825
        KURL was used for the member so that when setUrl() is called, and then url() is checked
 
10826
        before the page gets loaded, we perform the same conversion that will be performed by a
 
10827
        successful load, e.g. add trailing '/' to an address. This behavior is checked by
 
10828
        tst_QWebFrame::requestedUrl() test.
 
10829
 
 
10830
        For the record: the second QWebPage::setUrl() worked because the load was considered a
 
10831
        FrameLoadTypeSame, and because of that, was not fit for just scrolling, a reload was
 
10832
        needed. See FrameLoader::shouldScrollToAnchor() for details on this classification.
 
10833
 
 
10834
        * Api/qwebframe.cpp:
 
10835
        (QWebFramePrivate::emitUrlChanged): update our URL member and emit the signal.
 
10836
        (clearCoreFrame):
 
10837
        (isCoreFrameClear):
 
10838
        (QWebFrame::setUrl):
 
10839
        (QWebFrame::url):
 
10840
        (QWebFrame::baseUrl): look in the document for the baseURL since its contents can change
 
10841
        the baseURL, e.g. by using the <base> tag.
 
10842
        * Api/qwebframe_p.h:
 
10843
 
 
10844
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10845
        (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
 
10846
        (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
 
10847
 
 
10848
        * tests/qwebframe/tst_qwebframe.cpp:
 
10849
        (tst_QWebFrame::setUrlWithFragment): unskip test.
 
10850
 
 
10851
2011-04-07  Alexis Menard  <alexis.menard@openbossa.org>
 
10852
 
 
10853
        Reviewed by Kenneth Rohde Christiansen.
 
10854
 
 
10855
        Build fix when using Phonon as a backend for the multimedia support.
 
10856
 
 
10857
        * WebCoreSupport/ChromeClientQt.cpp:
 
10858
        (WebCore::ChromeClientQt::ChromeClientQt):
 
10859
        (WebCore::ChromeClientQt::~ChromeClientQt):
 
10860
        * WebCoreSupport/ChromeClientQt.h:
 
10861
 
 
10862
2011-04-06  Benjamin Poulain  <benjamin.poulain@nokia.com>
 
10863
 
 
10864
        Reviewed by Kenneth Rohde Christiansen.
 
10865
 
 
10866
        [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests
 
10867
        https://bugs.webkit.org/show_bug.cgi?id=56086
 
10868
 
 
10869
        Add the accessor numberOfPendingGeolocationPermissionRequests to call GeolocationClientMock::numberOfPendingPermissionRequests()
 
10870
        from the LayoutTestController.
 
10871
 
 
10872
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10873
        (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
 
10874
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
10875
 
 
10876
2011-04-06  Anders Bakken  <agbakken@gmail.com>
 
10877
 
 
10878
        Reviewed by Kenneth Rohde Christiansen.
 
10879
 
 
10880
        [Qt] FrameLoaderClientQt.cpp has coding-style errors
 
10881
        https://bugs.webkit.org/show_bug.cgi?id=40254
 
10882
 
 
10883
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
10884
        (drtDescriptionSuitableForTestResult):
 
10885
        (WebCore::FrameLoaderClientQt::hasWebView):
 
10886
        (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
 
10887
        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
 
10888
        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
 
10889
        (WebCore::FrameLoaderClientQt::dispatchDidChangeIcons):
 
10890
        (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
 
10891
        (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
 
10892
        (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
 
10893
        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
 
10894
        (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
 
10895
        (WebCore::FrameLoaderClientQt::willChangeTitle):
 
10896
        (WebCore::FrameLoaderClientQt::didChangeTitle):
 
10897
        (WebCore::FrameLoaderClientQt::finishedLoading):
 
10898
        (WebCore::FrameLoaderClientQt::frameLoadCompleted):
 
10899
        (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
 
10900
        (WebCore::FrameLoaderClientQt::didFinishLoad):
 
10901
        (WebCore::FrameLoaderClientQt::setTitle):
 
10902
        (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
 
10903
        (WebCore::FrameLoaderClientQt::dispatchDidClearWindowObjectInWorld):
 
10904
        (WebCore::FrameLoaderClientQt::updateGlobalHistory):
 
10905
        (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
 
10906
        (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem):
 
10907
        (WebCore::FrameLoaderClientQt::committedLoad):
 
10908
        (WebCore::FrameLoaderClientQt::download):
 
10909
        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
 
10910
        (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
 
10911
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
 
10912
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
 
10913
        (WebCore::FrameLoaderClientQt::createFrame):
 
10914
        (WebCore::FrameLoaderClientQt::objectContentType):
 
10915
        (WebCore::FrameLoaderClientQt::createPlugin):
 
10916
 
 
10917
2011-04-06  Alexis Menard  <alexis.menard@openbossa.org>
 
10918
 
 
10919
        Reviewed by Andreas Kling.
 
10920
 
 
10921
        [Qt] We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
 
10922
        https://bugs.webkit.org/show_bug.cgi?id=57974
 
10923
 
 
10924
        We should use USE(QT_MULTIMEDIA) rather than ENABLE(QT_MULTIMEDIA).
 
10925
 
 
10926
        No new tests needed, just a config flag rename.
 
10927
 
 
10928
        * Api/qwebkitplatformplugin.h:
 
10929
        * WebCoreSupport/ChromeClientQt.cpp:
 
10930
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
10931
        (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
 
10932
        * WebCoreSupport/FullScreenVideoQt.cpp:
 
10933
        (WebCore::FullScreenVideoQt::FullScreenVideoQt):
 
10934
        (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
 
10935
        (WebCore::FullScreenVideoQt::enterFullScreenForNode):
 
10936
        (WebCore::FullScreenVideoQt::exitFullScreenForNode):
 
10937
        (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
 
10938
        (WebCore::FullScreenVideoQt::isValid):
 
10939
        * WebCoreSupport/FullScreenVideoQt.h:
 
10940
        * WebCoreSupport/QtPlatformPlugin.cpp:
 
10941
        * WebCoreSupport/QtPlatformPlugin.h:
 
10942
        * examples/platformplugin/WebPlugin.cpp:
 
10943
        (WebPlugin::supportsExtension):
 
10944
        (WebPlugin::createExtension):
 
10945
        * examples/platformplugin/WebPlugin.h:
 
10946
        * examples/platformplugin/platformplugin.pro:
 
10947
        * examples/platformplugin/qwebkitplatformplugin.h:
 
10948
        * tests/qwebpage/tst_qwebpage.cpp:
 
10949
        (tst_QWebPage::loadHtml5Video):
 
10950
        * tests/tests.pri:
 
10951
 
 
10952
2011-04-06  Alexis Menard  <alexis.menard@openbossa.org>
 
10953
 
 
10954
        Reviewed by Andreas Kling.
 
10955
 
 
10956
        [Qt] Implement fullscreen playback for the GStreamer backend.
 
10957
        https://bugs.webkit.org/show_bug.cgi?id=56826
 
10958
 
 
10959
        Implement support for fullscreen playback when building the
 
10960
        Qt port with the GStreamer backend (DEFINES+=USE_GSTREAMER=1).
 
10961
        The implementation is done in FullScreenVideoQt alongside with
 
10962
        the Qt Multimedia support.
 
10963
 
 
10964
        No new tests because layout tests cover it. They are not yet activated
 
10965
        but will be any time soon.
 
10966
 
 
10967
        * QtWebKit.pro:
 
10968
        * WebCoreSupport/ChromeClientQt.cpp:
 
10969
        (WebCore::ChromeClientQt::ChromeClientQt):
 
10970
        (WebCore::ChromeClientQt::~ChromeClientQt):
 
10971
        (WebCore::ChromeClientQt::enterFullscreenForNode):
 
10972
        (WebCore::ChromeClientQt::exitFullscreenForNode):
 
10973
        * WebCoreSupport/ChromeClientQt.h:
 
10974
        * WebCoreSupport/FullScreenVideoQt.cpp:
 
10975
        (WebCore::GStreamerFullScreenVideoHandler::GStreamerFullScreenVideoHandler):
 
10976
        (WebCore::GStreamerFullScreenVideoHandler::setVideoElement):
 
10977
        (WebCore::GStreamerFullScreenVideoHandler::enterFullScreen):
 
10978
        (WebCore::GStreamerFullScreenVideoHandler::windowClosed):
 
10979
        (WebCore::GStreamerFullScreenVideoHandler::exitFullScreen):
 
10980
        (WebCore::DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
 
10981
        (WebCore::FullScreenVideoQt::FullScreenVideoQt):
 
10982
        (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
 
10983
        (WebCore::FullScreenVideoQt::enterFullScreenForNode):
 
10984
        (WebCore::FullScreenVideoQt::exitFullScreenForNode):
 
10985
        (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
 
10986
        (WebCore::FullScreenVideoQt::isValid):
 
10987
        * WebCoreSupport/FullScreenVideoQt.h:
 
10988
        (WebCore::GStreamerFullScreenVideoHandler::~GStreamerFullScreenVideoHandler):
 
10989
 
 
10990
2011-04-06  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
10991
 
 
10992
        Reviewed by Kenneth Rohde Christiansen.
 
10993
 
 
10994
        [Qt] Improve tests for QWebFrame::url() and related methods
 
10995
        https://bugs.webkit.org/show_bug.cgi?id=57865
 
10996
 
 
10997
        * tests/qwebframe/tst_qwebframe.cpp:
 
10998
        (FakeReply::FakeReply): make more URLs reply HostNotFound. We needed two different URLs in the test.
 
10999
        (tst_QWebFrame::requestedUrlAfterSetAndLoadFailures): check the properties after an setUrl()
 
11000
        that fails and a load() that fails (for a different URL).
 
11001
 
 
11002
        (tst_QWebFrame::setUrlWithFragment_data):
 
11003
        (tst_QWebFrame::setUrlWithFragment): add other test cases similar to the original, but changing
 
11004
        the URL in the frame before the test starts.
 
11005
 
 
11006
        (tst_QWebFrame::setUrlSameUrl): document existing behavior of calling setUrl() twice with
 
11007
        the same URL as argument.
 
11008
 
 
11009
        (extractBaseUrl):
 
11010
        (tst_QWebFrame::setUrlThenLoads_data):
 
11011
        (tst_QWebFrame::setUrlThenLoads): check the URL related properties of the frame after a
 
11012
        sequence of set and loads. Those tests are interesting because the properties
 
11013
        react different to setUrl() and load(): 'requestedUrl' always change, 'url' only when setUrl()
 
11014
        is used or after the load() is committed and baseUrl() is similar to url() but also depends
 
11015
        on the contents of the page when it loads.
 
11016
 
 
11017
2011-04-04  MORITA Hajime  <morrita@google.com>
 
11018
 
 
11019
        Reviewed by Ryosuke Niwa.
 
11020
 
 
11021
        [Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
 
11022
        https://bugs.webkit.org/show_bug.cgi?id=56085
 
11023
        
 
11024
        * WebCoreSupport/EditorClientQt.h:
 
11025
        (WebCore::EditorClientQt::requestCheckingOfString):
 
11026
 
 
11027
2011-04-04  Chang Shu  <cshu@webkit.org>
 
11028
 
 
11029
        Reviewed by Ryosuke Niwa.
 
11030
 
 
11031
        setContentEditable with true/false/inherit string is not working properly
 
11032
        https://bugs.webkit.org/show_bug.cgi?id=52058
 
11033
 
 
11034
        Move isContentEditable from HTMLElement to Node. WebKit should only access isContentEditable
 
11035
        as rendererIsEditable is for WebCore internal use.
 
11036
 
 
11037
        * WebCoreSupport/EditorClientQt.cpp:
 
11038
        (WebCore::EditorClientQt::handleKeyboardEvent):
 
11039
 
 
11040
2011-04-01  Carol Szabo  <carol.szabo@nokia.com>
 
11041
 
 
11042
        Reviewed by Benjamin Poulain.
 
11043
 
 
11044
        Changed QWebFramePrivate::renderFromTiledBackingStore to call directly into
 
11045
        Scrollbar/PanIcon rendering, bypassing the potential relayout in renderRelativeCoords.
 
11046
 
 
11047
        Tiled painting still causes synchronous layout when
 
11048
        accelerated compositing and texture mapper are enabled
 
11049
        https://bugs.webkit.org/show_bug.cgi?id=56929
 
11050
 
 
11051
        * Api/qwebframe.cpp:
 
11052
        (QWebFramePrivate::renderFromTiledBackingStore):
 
11053
        (QWebFramePrivate::renderRelativeCoords):
 
11054
        (QWebFramePrivate::renderFrameWidgets):
 
11055
        * Api/qwebframe_p.h:
 
11056
 
 
11057
2011-04-01  Nancy Piedra  <nancy.piedra@nokia.com>
 
11058
 
 
11059
        Reviewed by Benjamin Poulain.
 
11060
 
 
11061
        [Qt] DragClientQt.h has coding-style errors
 
11062
        https://bugs.webkit.org/show_bug.cgi?id=40425
 
11063
 
 
11064
        * WebCoreSupport/DragClientQt.h:
 
11065
 
 
11066
2011-03-31  Marius Storm-Olsen  <marius.storm-olsen@nokia.com>
 
11067
 
 
11068
        Reviewed by Kenneth Rohde Christiansen.
 
11069
 
 
11070
        [Qt] Properly detect phonon include, and avoid double qtLibraryTarget() call
 
11071
        https://bugs.webkit.org/show_bug.cgi?id=57017
 
11072
 
 
11073
        Build fix. No new tests.
 
11074
 
 
11075
        * QtWebKit.pro:
 
11076
 
 
11077
2011-03-31  Evan Martin  <evan@chromium.org>
 
11078
 
 
11079
        Another build fix.
 
11080
 
 
11081
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11082
        (WebCore::FrameLoaderClientQt::updateGlobalHistory):
 
11083
 
 
11084
2011-03-31  Nancy Piedra  <nancy.piedra@nokia.com>
 
11085
 
 
11086
        Reviewed by Benjamin Poulain.
 
11087
 
 
11088
        [Qt] ChromeClientQt.h has coding-style errors
 
11089
        https://bugs.webkit.org/show_bug.cgi?id=40239
 
11090
 
 
11091
        * WebCoreSupport/ChromeClientQt.h:
 
11092
        (WebCore::ChromeClientQt::scrollbarsModeDidChange):
 
11093
        (WebCore::ChromeClientQt::needTouchEvents):
 
11094
        (WebCore::ChromeClientQt::formStateDidChange):
 
11095
        (WebCore::ChromeClientQt::scrollRectIntoView):
 
11096
        (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
 
11097
        (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
 
11098
 
 
11099
2011-03-31  Evan Martin  <evan@chromium.org>
 
11100
 
 
11101
        Build fix from previous change.
 
11102
 
 
11103
        * Api/qwebframe.cpp:
 
11104
        (QWebFrame::title):
 
11105
 
 
11106
2011-03-31  Evan Martin  <evan@chromium.org>
 
11107
 
 
11108
        Reviewed by Eric Seidel.
 
11109
 
 
11110
        <title> should support dir attribute
 
11111
        https://bugs.webkit.org/show_bug.cgi?id=50961
 
11112
 
 
11113
        Update to new FrameLoaderClient interface.
 
11114
 
 
11115
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11116
        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
 
11117
        (WebCore::FrameLoaderClientQt::setTitle):
 
11118
        * WebCoreSupport/FrameLoaderClientQt.h:
 
11119
 
 
11120
2011-03-30  Yi Shen  <yi.4.shen@nokia.com>
 
11121
 
 
11122
        Reviewed by Kenneth Rohde Christiansen.
 
11123
 
 
11124
        [Qt][Symbian] Fix Api test failure -- tst_QWebView::focusInputTypes
 
11125
        https://bugs.webkit.org/show_bug.cgi?id=57020
 
11126
 
 
11127
        Added a macro 'VERIFY_INPUTMETHOD_HINTS' to test inputmethodhints().
 
11128
 
 
11129
        * tests/qwebview/tst_qwebview.cpp:
 
11130
        (tst_QWebView::focusInputTypes):
 
11131
 
 
11132
2011-03-30  Robert Hogan  <robert@webkit.org>
 
11133
 
 
11134
        Reviewed by Antonio Gomes.
 
11135
 
 
11136
        [Qt] Fix LoadHTMLStringItem::invoke() after r75966
 
11137
 
 
11138
        Add DRT support for loading an alternate HTML string
 
11139
        for error pages. This allows Qt to unskip
 
11140
        http/tests/navigation/go-back-to-error-page.html.
 
11141
 
 
11142
        https://bugs.webkit.org/show_bug.cgi?id=52614
 
11143
 
 
11144
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
11145
        (DumpRenderTreeSupportQt::setAlternateHtml):
 
11146
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
11147
 
 
11148
2011-03-29  Alexis Menard  <alexis.menard@openbossa.org>
 
11149
 
 
11150
        Unreviewed build fix for build-webkit -minimal.
 
11151
 
 
11152
        Breakage introduced by http://trac.webkit.org/changeset/82238.
 
11153
        The minimal option has no support for shortcuts.
 
11154
 
 
11155
        * WebCoreSupport/EditorClientQt.cpp:
 
11156
        (WebCore::EditorClientQt::handleInputMethodKeydown):
 
11157
 
 
11158
2011-03-29  Janne Koskinen  <janne.p.koskinen@digia.com>
 
11159
 
 
11160
        Reviewed by Kenneth Rohde Christiansen.
 
11161
 
 
11162
        [Qt] Enterkey to go to Newline does not work in the text area(in HTML form)
 
11163
        https://bugs.webkit.org/show_bug.cgi?id=33179
 
11164
 
 
11165
        Fixed newline generation from Qt::Key_Enter when editting text area using InputMethods.
 
11166
 
 
11167
        * WebCoreSupport/EditorClientQt.cpp:
 
11168
        (WebCore::EditorClientQt::handleInputMethodKeydown):
 
11169
        * tests/qwebpage/tst_qwebpage.cpp:
 
11170
        (tst_QWebPage::inputMethods):
 
11171
 
 
11172
2011-03-29  Andreas Kling  <kling@webkit.org>
 
11173
 
 
11174
        Reviewed by Simon Hausmann.
 
11175
 
 
11176
        [Qt] Fix documentation for QWebPage::repaintRequested()
 
11177
 
 
11178
        This signal is always emitted when the page is dirtied, so remove
 
11179
        reference to old behavior where we would only emit the signal for
 
11180
        headless QWebPages.
 
11181
 
 
11182
        * Api/qwebpage.cpp:
 
11183
 
 
11184
2011-03-28  Andreas Kling  <kling@webkit.org>
 
11185
 
 
11186
        Reviewed by Benjamin Poulain.
 
11187
 
 
11188
        [Qt] Pass QString() instead of String() when emitting titleChanged() for new loads.
 
11189
 
 
11190
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11191
        (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
 
11192
 
 
11193
2011-03-28  Andreas Kling  <kling@webkit.org>
 
11194
 
 
11195
        Reviewed by Benjamin Poulain.
 
11196
 
 
11197
        [Qt] Crash when calling QWebFrame::render() in response to QWebPage::repaintRequested()
 
11198
        https://bugs.webkit.org/show_bug.cgi?id=52629
 
11199
 
 
11200
        * WebCoreSupport/ChromeClientQt.cpp:
 
11201
        (WebCore::ChromeClientQt::invalidateContentsAndWindow): Make the emission of
 
11202
        QWebPage::repaintRequested() use a Qt::QueuedConnection.
 
11203
 
 
11204
        * tests/qwebpage/tst_qwebpage.cpp:
 
11205
        (RepaintRequestedRenderer::RepaintRequestedRenderer):
 
11206
        (RepaintRequestedRenderer::onRepaintRequested):
 
11207
        (tst_QWebPage::renderOnRepaintRequestedShouldNotRecurse): Test that calling
 
11208
        QWebFrame::render() in a slot connected to to QWebPage::repaintRequested()
 
11209
        doesn't cause recursive signal emissions.
 
11210
 
 
11211
2011-03-28  Benjamin Poulain  <benjamin.poulain@nokia.com>
 
11212
 
 
11213
        Reviewed by Andreas Kling.
 
11214
 
 
11215
        [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
 
11216
        https://bugs.webkit.org/show_bug.cgi?id=57087
 
11217
 
 
11218
        * QtWebKit.pro: we can now enable QT_ASCII_CAST_WARNINGS
 
11219
        * tests/tests.pri: we do not require QT_ASCII_CAST_WARNINGS for tests
 
11220
        since they are applications, not libraries.
 
11221
 
 
11222
2011-03-28  Andras Becsi  <abecsi@webkit.org>
 
11223
 
 
11224
        Reviewed by Csaba Osztrogonác.
 
11225
 
 
11226
        [Qt] QtWebKit does not link with --3d-canvas using MinGW
 
11227
        https://bugs.webkit.org/show_bug.cgi?id=57225
 
11228
 
 
11229
        * QtWebKit.pro: Append the OpenGL libraries on MinGW so it can resolve symbols.
 
11230
 
 
11231
2011-03-28  Csaba Osztrogonác  <ossy@webkit.org>
 
11232
 
 
11233
        Reviewed by Andreas Kling.
 
11234
 
 
11235
        REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
 
11236
        https://bugs.webkit.org/show_bug.cgi?id=57183
 
11237
 
 
11238
        Windows buildfix after r82065.
 
11239
 
 
11240
        * Api/DerivedSources.pro: Readding escaping on Windows platforms.
 
11241
 
 
11242
2011-03-27  Andreas Kling  <kling@webkit.org>
 
11243
 
 
11244
        Fix build warning about IconDatabaseClient.h (wrong path.)
 
11245
 
 
11246
        * QtWebKit.pro:
 
11247
 
 
11248
2011-03-27  Andreas Kling  <kling@webkit.org>
 
11249
 
 
11250
        Reviewed by Kenneth Rohde Christiansen.
 
11251
 
 
11252
        [Qt] Support for CSS color and background-color properties on select element's dropdown list
 
11253
        https://bugs.webkit.org/show_bug.cgi?id=51627
 
11254
 
 
11255
        Extend the QWebSelectData interface with background and foreground colors
 
11256
        for the whole menu, as well as per-item. Hook it up to the PopupMenuStyle
 
11257
        getters in RenderMenuList.
 
11258
 
 
11259
        * Api/qwebkitplatformplugin.h:
 
11260
        * WebCoreSupport/PopupMenuQt.cpp:
 
11261
        (SelectData::backgroundColor):
 
11262
        (SelectData::foregroundColor):
 
11263
        (SelectData::itemBackgroundColor):
 
11264
        (SelectData::itemForegroundColor):
 
11265
        * WebCoreSupport/QtFallbackWebPopup.cpp:
 
11266
        (WebCore::QtFallbackWebPopup::show):
 
11267
        (WebCore::QtFallbackWebPopup::populate):
 
11268
 
 
11269
2011-03-27  Yi Shen  <yi.4.shen@nokia.com>
 
11270
 
 
11271
        Reviewed by Andreas Kling.
 
11272
 
 
11273
        [Qt][Symbian] Fix Api test failure -- microFocusCoordinates
 
11274
        https://bugs.webkit.org/show_bug.cgi?id=57108
 
11275
 
 
11276
        Since the canvas is not self-closing tag, we need to add '</canvas>'. 
 
11277
 
 
11278
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
11279
        (tst_QGraphicsWebView::microFocusCoordinates):
 
11280
        * tests/qwebview/tst_qwebview.cpp:
 
11281
        (tst_QWebView::microFocusCoordinates):
 
11282
 
 
11283
2011-03-27  Kwang Yul Seo  <skyul@company100.net>
 
11284
 
 
11285
        Reviewed by Eric Seidel.
 
11286
 
 
11287
        [Qt] Build fix: Define WTF_USE_TEXTURE_MAPPER=1 when CONFIG contains texmap.
 
11288
        https://bugs.webkit.org/show_bug.cgi?id=57143
 
11289
 
 
11290
        Qt WebKit uses USE(TEXTURE_MAPPER) guard. Check texmap in CONFIG and
 
11291
        define WTF_USE_TEXTURE_MAPPER=1.
 
11292
 
 
11293
        * QtWebKit.pro:
 
11294
 
 
11295
2011-03-27  Andreas Kling  <kling@webkit.org>
 
11296
 
 
11297
        Reviewed by Benjamin Poulain.
 
11298
 
 
11299
        REGRESSION(r54712): [Qt] Installed QtWebKit header does not compile.
 
11300
        https://bugs.webkit.org/show_bug.cgi?id=57183
 
11301
 
 
11302
        The convenience <QtWebKit> header would include \<QtNetwork/QtNetwork\>
 
11303
        which was due to the outputting code previously being wrapped in eval().
 
11304
 
 
11305
        * Api/DerivedSources.pro:
 
11306
 
 
11307
2011-03-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
 
11308
 
 
11309
        Reviewed by Andreas Kling.
 
11310
 
 
11311
        [Qt] QtWebKit will not compile with QT_ASCII_CAST_WARNINGS enabled
 
11312
        https://bugs.webkit.org/show_bug.cgi?id=57087
 
11313
 
 
11314
        Use explicit conversion for string to avoid depending on the default codec
 
11315
        installed by the user code.
 
11316
 
 
11317
        * Api/qwebkitversion.cpp:
 
11318
        (qWebKitVersion):
 
11319
        * Api/qwebpage.cpp:
 
11320
        (QWebPagePrivate::dynamicPropertyChangeEvent):
 
11321
        (QWebPage::javaScriptConsoleMessage):
 
11322
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
11323
        (convertToPropertyName):
 
11324
        (DumpRenderTreeSupportQt::setEditingBehavior):
 
11325
        (DumpRenderTreeSupportQt::plainText):
 
11326
        * WebCoreSupport/EditorClientQt.cpp:
 
11327
        (dumpRange):
 
11328
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11329
        (drtDescriptionSuitableForTestResult):
 
11330
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
 
11331
        * WebCoreSupport/InspectorClientQt.cpp:
 
11332
        (WebCore::InspectorClientQt::openInspectorFrontend):
 
11333
        * WebCoreSupport/InspectorServerQt.cpp:
 
11334
        (WebCore::parseWebSocketChallengeNumber):
 
11335
        (WebCore::InspectorServerRequestHandlerQt::tcpReadyRead):
 
11336
 
 
11337
2011-03-26  Andreas Kling  <kling@webkit.org>
 
11338
 
 
11339
        Reviewed by Kenneth Rohde Christiansen.
 
11340
 
 
11341
        [Qt] QWebFrame::iconChanged() not emitted when icon is cached but not yet loaded
 
11342
        https://bugs.webkit.org/show_bug.cgi?id=57157
 
11343
 
 
11344
        Add an IconDatabaseClient for the Qt port to ensure that QWebFrame::iconChanged()
 
11345
        is always emitted when appropriate.
 
11346
 
 
11347
        * QtWebKit.pro: Add new files.
 
11348
 
 
11349
        * WebCoreSupport/IconDatabaseClientQt.h: Added.
 
11350
        * WebCoreSupport/IconDatabaseClientQt.cpp: Added.
 
11351
        (WebCore::IconDatabaseClientQt::instance):
 
11352
        (WebCore::IconDatabaseClientQt::IconDatabaseClientQt):
 
11353
        (WebCore::IconDatabaseClientQt::~IconDatabaseClientQt):
 
11354
        (WebCore::IconDatabaseClientQt::performImport):
 
11355
        (WebCore::IconDatabaseClientQt::didRemoveAllIcons):
 
11356
        (WebCore::IconDatabaseClientQt::didImportIconURLForPageURL):
 
11357
        (WebCore::IconDatabaseClientQt::didImportIconDataForPageURL):
 
11358
        (WebCore::IconDatabaseClientQt::didChangeIconForPageURL):
 
11359
        (WebCore::IconDatabaseClientQt::didFinishURLImport):
 
11360
 
 
11361
        * WebCoreSupport/FrameLoaderClientQt.h:
 
11362
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11363
        (WebCore::FrameLoaderClientQt::registerForIconNotification):
 
11364
        (WebCore::FrameLoaderClientQt::onIconLoadedForPageURL): New slot connected
 
11365
        to the IconDatabaseClientQt::iconLoadedForPageURL() signal. This emits the
 
11366
        QWebFrame::iconChanged() signal when the IconDatabases finishes loading
 
11367
        a cached favicon for the frame's URL.
 
11368
 
 
11369
        * Api/qwebsettings.cpp:
 
11370
        (QWebSettings::setIconDatabasePath): Make sure that IconDatabaseClientQt is
 
11371
        instantiated. An IconDatabaseClient has to be registered before the IconDatabase
 
11372
        spawns its reader thread.
 
11373
 
 
11374
2011-03-25  Andy Estes  <aestes@apple.com>
 
11375
 
 
11376
        Reviewed by Adele Peterson.
 
11377
 
 
11378
        REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
 
11379
        https://bugs.webkit.org/show_bug.cgi?id=49016
 
11380
 
 
11381
        Update objectContentType() implementation to handle the
 
11382
        shouldPreferPlugInsForImages flag.
 
11383
 
 
11384
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11385
        (WebCore::FrameLoaderClientQt::objectContentType):
 
11386
        * WebCoreSupport/FrameLoaderClientQt.h:
 
11387
 
 
11388
2011-03-25  Chang Shu  <cshu@webkit.org>
 
11389
 
 
11390
        Reviewed by Ryosuke Niwa.
 
11391
 
 
11392
        rename Node::isContentEditable and all call sites to rendererIsEditable
 
11393
        https://bugs.webkit.org/show_bug.cgi?id=54290
 
11394
 
 
11395
        This is part of the effort to separate JS API HTMLElement isContentEditable from
 
11396
        internal Node::rendererIsEditable.
 
11397
 
 
11398
        * WebCoreSupport/EditorClientQt.cpp:
 
11399
        (WebCore::EditorClientQt::handleKeyboardEvent):
 
11400
 
 
11401
2011-03-25  Alexis Menard  <alexis.menard@openbossa.org>
 
11402
 
 
11403
        Reviewed by Andreas Kling.
 
11404
 
 
11405
        [Qt] The keyboard shortcuts during fullscreen playback do not work.
 
11406
        https://bugs.webkit.org/show_bug.cgi?id=57095
 
11407
 
 
11408
        We need to explicitely set the focus on the widget in order to receive the keyboard events.
 
11409
 
 
11410
        * WebCoreSupport/FullScreenVideoWidget.cpp:
 
11411
        (WebCore::FullScreenVideoWidget::show):
 
11412
 
 
11413
2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
 
11414
 
 
11415
        Unreviewed, rolling out r81916 and r81917.
 
11416
        http://trac.webkit.org/changeset/81916
 
11417
        http://trac.webkit.org/changeset/81917
 
11418
        https://bugs.webkit.org/show_bug.cgi?id=57071
 
11419
 
 
11420
        broke a test on platforms that do not have QuickTime installed
 
11421
        (Requested by estes on #webkit).
 
11422
 
 
11423
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11424
        (WebCore::FrameLoaderClientQt::objectContentType):
 
11425
        * WebCoreSupport/FrameLoaderClientQt.h:
 
11426
 
 
11427
2011-03-24  Andy Estes  <aestes@apple.com>
 
11428
 
 
11429
        Reviewed by Darin Adler.
 
11430
 
 
11431
        REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
 
11432
        https://bugs.webkit.org/show_bug.cgi?id=49016
 
11433
 
 
11434
        Update objectContentType() implementation to handle the
 
11435
        shouldPreferPlugInsForImages flag.
 
11436
 
 
11437
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11438
        (WebCore::FrameLoaderClientQt::objectContentType):
 
11439
        * WebCoreSupport/FrameLoaderClientQt.h:
 
11440
 
 
11441
2011-03-24  Benjamin Poulain  <benjamin.poulain@nokia.com>
 
11442
 
 
11443
        Reviewed by Kenneth Rohde Christiansen.
 
11444
 
 
11445
        [Qt] When we render WebGL offscreen, color conversion cost a lot of CPU cycles
 
11446
        https://bugs.webkit.org/show_bug.cgi?id=40884
 
11447
 
 
11448
        Add tests and benchmarks for the software fallback of WebGL.
 
11449
 
 
11450
        * tests/benchmarks/webgl/10000_triangles.html: Added.
 
11451
        * tests/benchmarks/webgl/tst_webgl.cpp: Added.
 
11452
        (GraphicsView::GraphicsView):
 
11453
        (GraphicsView::resizeEvent):
 
11454
        (tst_WebGlPerformance::init):
 
11455
        (tst_WebGlPerformance::cleanup):
 
11456
        (tst_WebGlPerformance::benchSoftwareFallbackRgb16):
 
11457
        (tst_WebGlPerformance::benchSoftwareFallbackRgb32):
 
11458
        (tst_WebGlPerformance::benchSoftwareFallbackArgb32):
 
11459
        (tst_WebGlPerformance::benchSoftwareFallbackArgb32Premultiplied):
 
11460
        (tst_WebGlPerformance::benchmarkFrameRenderingOnImage):
 
11461
        * tests/benchmarks/webgl/tst_webgl.qrc: Added.
 
11462
        * tests/benchmarks/webgl/webgl.pro: Added.
 
11463
        * tests/qgraphicswebview/qgraphicswebview.pro:
 
11464
        * tests/qgraphicswebview/resources/pointing_right.html: Added.
 
11465
        * tests/qgraphicswebview/resources/pointing_up.html: Added.
 
11466
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
11467
        (compareImagesFuzzyPixelCount):
 
11468
        (GraphicsView::GraphicsView):
 
11469
        (tst_QGraphicsWebView::webglSoftwareFallbackVerticalOrientation):
 
11470
        (tst_QGraphicsWebView::webglSoftwareFallbackHorizontalOrientation):
 
11471
        (tst_QGraphicsWebView::compareCanvasToImage):
 
11472
        * tests/qgraphicswebview/tst_qgraphicswebview.qrc:
 
11473
        * tests/tests.pro:
 
11474
 
 
11475
2011-03-24  Kristian Amlie  <kristian.amlie@nokia.com>
 
11476
 
 
11477
        Reviewed by Benjamin Poulain.
 
11478
 
 
11479
        Avoided ASCII-cast warnings for WebKit.
 
11480
 
 
11481
        Normally they won't be enabled anyway, but if you build webkit from
 
11482
        within the Qt mother repository it will pick up Qt's default build
 
11483
        settings, which do enable it. We need to disable them because
 
11484
        warnings are treated as errors and there are way too many of them in
 
11485
        the WebKit code.
 
11486
 
 
11487
        [Qt] Avoid ASCII-cast warnings for WebKit.
 
11488
        https://bugs.webkit.org/show_bug.cgi?id=57016
 
11489
 
 
11490
        * QtWebKit.pro:
 
11491
 
 
11492
2011-03-24  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
11493
 
 
11494
        Reviewed by Benjamin Poulain.
 
11495
 
 
11496
        [Qt] Resetting the URL property of a QWebView results in the current directory being set as file::-type URL
 
11497
        https://bugs.webkit.org/show_bug.cgi?id=29595
 
11498
 
 
11499
        Qt Designer resets the URL by setting it to QUrl(). The bug was caused by
 
11500
        ensureAbsoluteUrl() helper function treating the empty URL as a relative URL, and
 
11501
        prepending the current directory.
 
11502
 
 
11503
        By fixing this, now we can pass QUrl() invalid and empty URLs to WebCore layer, which
 
11504
        will end up loading "about:blank", but keeping it as a requested URL.
 
11505
 
 
11506
        This patch also simplifies the logic for requestedUrl(), since m_lastRequestedUrl
 
11507
        is filled for the loaded URLs as well, we can use it in every case.
 
11508
 
 
11509
        Three new autotests were added, to better cover the expected behavior of setting
 
11510
        the QUrl() in a QWebFrame.
 
11511
 
 
11512
        * Api/qwebframe.cpp:
 
11513
        (ensureAbsoluteUrl): do not treat invalid URLs (empty included) as relative.
 
11514
        (QWebFrame::requestedUrl): always use m_lastRequestedUrl.
 
11515
 
 
11516
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11517
        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad): do not clear m_lastRequestedUrl
 
11518
        anymore, since we always rely on it even for loaded frames.
 
11519
 
 
11520
        * tests/qwebframe/tst_qwebframe.cpp:
 
11521
        (tst_QWebFrame::setUrlToEmpty): verify the behavior of setting empty URLs. This includes
 
11522
        the reduction of the bug report.
 
11523
        (tst_QWebFrame::setUrlToInvalid): setting invalid, but not necessarily empty, URLs.
 
11524
        (tst_QWebFrame::setUrlHistory): to verify how setting empty URLs affect history.
 
11525
 
 
11526
2011-03-23  Brady Eidson  <beidson@apple.com>
 
11527
 
 
11528
        Reviewed by Sam Weinig.
 
11529
 
 
11530
        Change IconDatabase opening to allow for arbitrary filenames
 
11531
        https://bugs.webkit.org/show_bug.cgi?id=56977
 
11532
 
 
11533
        * Api/qwebsettings.cpp:
 
11534
        (QWebSettings::setIconDatabasePath):
 
11535
 
 
11536
2011-03-23  Aparna Nandyal  <aparna.nand@wipro.com>
 
11537
 
 
11538
        Reviewed by Andreas Kling.
 
11539
 
 
11540
        [Qt] QtWebKit rendering problem when maximizing and doing a back
 
11541
        https://bugs.webkit.org/show_bug.cgi?id=56669
 
11542
 
 
11543
        Added an auto test.
 
11544
        Patch by Alexis Menard < alexis.menard@nokia.com> on 2011-03-21
 
11545
 
 
11546
        * tests/qwebview/tst_qwebview.cpp:
 
11547
        (tst_QWebView::rendering):
 
11548
 
 
11549
2011-03-23  Yury Semikhatsky  <yurys@chromium.org>
 
11550
 
 
11551
        Reviewed by Pavel Feldman.
 
11552
 
 
11553
        [V8] Web Inspector: compile DebuggerScript.js into DebuggerScriptSource.h
 
11554
        https://bugs.webkit.org/show_bug.cgi?id=56843
 
11555
 
 
11556
        * WebCoreSupport/InspectorClientQt.cpp:
 
11557
        (WebCore::InspectorClientQt::openInspectorFrontend):
 
11558
 
 
11559
2011-03-22  Andrew Wason  <rectalogic@rectalogic.com>
 
11560
 
 
11561
        Reviewed by Benjamin Poulain.
 
11562
 
 
11563
        [Qt] QWebPage with WebGL content crashes when rendering if no QWebView parent
 
11564
        https://bugs.webkit.org/show_bug.cgi?id=54138
 
11565
 
 
11566
        * tests/qwebpage/tst_qwebpage.cpp:
 
11567
        (webGLScreenshotWithoutView):
 
11568
        (tst_QWebPage::acceleratedWebGLScreenshotWithoutView):
 
11569
        (tst_QWebPage::unacceleratedWebGLScreenshotWithoutView):
 
11570
         Render a QWebPage (with and without accelerated compositing)
 
11571
         with a WebGL context that has no owning view.  Shouldn't crash.
 
11572
 
 
11573
2011-03-21  Chang Shu  <cshu@webkit.org>
 
11574
 
 
11575
        Reviewed by Alexey Proskuryakov.
 
11576
 
 
11577
        REGRESSION (r79953): Can't type in MS Outlook 2011
 
11578
        https://bugs.webkit.org/show_bug.cgi?id=56665
 
11579
 
 
11580
        r79953 removed the WebView level editablity which is persistent no matter whether
 
11581
        underlying document itself is changed and editability gets lost. The resolution is to
 
11582
        set this WebView editable value to WebCore. This avoids the callback from WebCore to
 
11583
        WebKit which was the main goal in r79953 to improve performance.
 
11584
 
 
11585
        * Api/qwebpage.cpp:
 
11586
        (QWebPage::setContentEditable):
 
11587
        (QWebPage::isContentEditable):
 
11588
 
 
11589
2011-03-19  Andreas Kling  <kling@webkit.org>
 
11590
 
 
11591
        Reviewed by Benjamin Poulain.
 
11592
 
 
11593
        [Qt] Remove support for Qt 4.6
 
11594
        https://bugs.webkit.org/show_bug.cgi?id=56712
 
11595
 
 
11596
        * Api/qwebframe.cpp:
 
11597
        (QWebFrame::load):
 
11598
        * Api/qwebpage.cpp:
 
11599
        (QWebPagePrivate::QWebPagePrivate):
 
11600
        * Api/qwebsettings.cpp:
 
11601
        (QWebSettings::QWebSettings):
 
11602
        * WebCoreSupport/GeolocationClientQt.cpp:
 
11603
        (WebCore::GeolocationClientQt::positionUpdated):
 
11604
 
 
11605
2011-03-19  Andreas Kling  <kling@webkit.org>
 
11606
 
 
11607
        Reviewed by Antonio Gomes.
 
11608
 
 
11609
        [Qt][Doc] QWebPage::unsupportedContent() passes ownership of the QNetworkReply
 
11610
        https://bugs.webkit.org/show_bug.cgi?id=56711
 
11611
 
 
11612
        Document the fact that when unsupportedContent(QNetworkReply*) is emitted,
 
11613
        ownership of the reply is transferred to the receiving slot.
 
11614
 
 
11615
        * Api/qwebpage.cpp:
 
11616
 
 
11617
2011-03-17  Brady Eidson  <beidson@apple.com>
 
11618
 
 
11619
        Reviewed by Sam Weinig.
 
11620
 
 
11621
        https://bugs.webkit.org/show_bug.cgi?id=56425
 
11622
        More groundwork for WebKit2 IconDatabase
 
11623
 
 
11624
        Update already-used function names:
 
11625
        * Api/qwebhistory.cpp:
 
11626
        (QWebHistoryItem::icon):
 
11627
        * Api/qwebsettings.cpp:
 
11628
        (QWebSettings::iconForUrl):
 
11629
 
 
11630
2011-03-18  Alexis Menard  <alexis.menard@openbossa.org>
 
11631
 
 
11632
        Reviewed by Benjamin Poulain.
 
11633
 
 
11634
        [Qt] console.log not being exposed to QmlViewer
 
11635
        https://bugs.webkit.org/show_bug.cgi?id=56536
 
11636
 
 
11637
        The documentation is bogus the feature does not exist.
 
11638
 
 
11639
        * declarative/qdeclarativewebview.cpp:
 
11640
 
 
11641
2011-03-17  Andreas Kling  <kling@webkit.org>
 
11642
 
 
11643
        Reviewed by Kenneth Rohde Christiansen.
 
11644
 
 
11645
        [Qt] QML WebView emits iconChanged() when the page title changes
 
11646
        https://bugs.webkit.org/show_bug.cgi?id=56570
 
11647
 
 
11648
        * declarative/qdeclarativewebview.cpp:
 
11649
        (QDeclarativeWebView::setPage): Don't forward the frame's titleChanged
 
11650
        signal to the view's iconChanged signal.
 
11651
 
 
11652
2011-03-17  Alexis Menard  <alexis.menard@openbossa.org>
 
11653
 
 
11654
        Reviewed by Benjamin Poulain.
 
11655
 
 
11656
        [Qt] Videos look ugly when using QGraphicsWebView.
 
11657
        https://bugs.webkit.org/show_bug.cgi?id=56580
 
11658
 
 
11659
        We need to set QPainter::SmoothPixmapTransform on the painter for a proper rendering of the video.
 
11660
        QWebView does it but not QGraphicsWebView because the API does not exist. This patch is fixing it
 
11661
        by introducing the same API as QWebView to control the renderHints of the item. Unlike QWebView
 
11662
        QGraphicsWebView inherits the painter from QGraphicsScene and those flags are not set. This patch
 
11663
        ensure that before rendering the item we add QPainter::SmoothPixmapTransform and QPainter::TextAntialiasing
 
11664
        in addition of what could be set on the painter. In order to not break the rendering of all the items in the
 
11665
        scene we set back the painter to its original state when QGraphicsWebView is rendered.
 
11666
 
 
11667
        * Api/qgraphicswebview.cpp:
 
11668
        (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
 
11669
        (QGraphicsWebView::paint):
 
11670
        (QGraphicsWebView::renderHints):
 
11671
        (QGraphicsWebView::setRenderHints):
 
11672
        (QGraphicsWebView::setRenderHint):
 
11673
        * Api/qgraphicswebview.h:
 
11674
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
11675
        (tst_QGraphicsWebView::renderHints):
 
11676
 
 
11677
2011-03-16  Joseph Pecoraro  <joepeck@webkit.org>
 
11678
 
 
11679
        Reviewed by Kenneth Rohde Christiansen.
 
11680
 
 
11681
        Viewport no longer allows an auto value for "user-scalable"
 
11682
        https://bugs.webkit.org/show_bug.cgi?id=55416
 
11683
 
 
11684
        Make the default value for userScalable be true.
 
11685
 
 
11686
        * Api/qwebpage.cpp:
 
11687
        (QWebPage::viewportAttributesForSize):
 
11688
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
11689
        (DumpRenderTreeSupportQt::viewportAsText): update test output to include userScalable.
 
11690
 
 
11691
2011-03-15  Kevin Ollivier  <kevino@theolliviers.com>
 
11692
 
 
11693
        Reviewed by Darin Adler.
 
11694
 
 
11695
        Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
 
11696
        info into the headers rather than in export symbol definition files, but disable it on 
 
11697
        all platforms initially so we can deal with port build issues one port at a time.
 
11698
        
 
11699
        https://bugs.webkit.org/show_bug.cgi?id=27551
 
11700
 
 
11701
        * WebCoreSupport/GeolocationClientQt.cpp:
 
11702
        * WebCoreSupport/PopupMenuQt.cpp:
 
11703
 
 
11704
2011-03-14  Brady Eidson  <beidson@apple.com>
 
11705
 
 
11706
        Reviewed by Anders Carlsson.
 
11707
 
 
11708
        https://bugs.webkit.org/show_bug.cgi?id=56320
 
11709
        Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
 
11710
 
 
11711
        * Api/qwebhistory.cpp:
 
11712
        (QWebHistoryItem::icon): Use IconDatabase directly.
 
11713
 
 
11714
2011-03-11  Brady Eidson  <beidson@apple.com>
 
11715
 
 
11716
        Reviewed by attempt at build fix!
 
11717
 
 
11718
        https://bugs.webkit.org/show_bug.cgi?id=56216
 
11719
        Fix the Qt build following the same pattern of the patch.
 
11720
 
 
11721
        * Api/qwebsettings.cpp:
 
11722
        (QWebSettings::setIconDatabasePath): Call the static method via IconDatabase:: and not via iconDatabase()
 
11723
 
 
11724
2011-03-11  Alexis Menard  <alexis.menard@openbossa.org>
 
11725
 
 
11726
        Reviewed by Ariya Hidayat.
 
11727
 
 
11728
        [Qt] Entering fullscreen and leaving it may hide the cursor of the application.
 
11729
        https://bugs.webkit.org/show_bug.cgi?id=56181
 
11730
 
 
11731
        We need to stop the auto hide cursor timer when closing the widget otherwise the timer
 
11732
        might get fired and therefore hide the cursor even when the fullscreen widget is closed.
 
11733
 
 
11734
        * WebCoreSupport/FullScreenVideoWidget.cpp:
 
11735
        (WebCore::FullScreenVideoWidget::closeEvent):
 
11736
 
 
11737
2011-03-10  David Boddie <david.boddie@nokia.com>
 
11738
 
 
11739
        Reviewed by Andreas Kling.
 
11740
 
 
11741
        Fixed a qdoc warning and terminology (WebKit instead of Webkit).
 
11742
        https://bugs.webkit.org/show_bug.cgi?id=55756
 
11743
 
 
11744
        * Api/qwebhistoryinterface.cpp:
 
11745
 
 
11746
2011-03-10  Andreas Kling  <kling@webkit.org>
 
11747
 
 
11748
        Unreviewed build fix after r80774.
 
11749
 
 
11750
        QML property versioning is introduced in Qt 4.7.3, not 4.7.2.
 
11751
        See also: http://bugreports.qt.nokia.com/browse/QTBUG-13451
 
11752
 
 
11753
        * declarative/plugin.cpp:
 
11754
        (WebKitQmlPlugin::registerTypes):
 
11755
        * declarative/qdeclarativewebview.cpp:
 
11756
        * declarative/qdeclarativewebview_p.h:
 
11757
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
11758
 
 
11759
2011-03-10  Alexis Menard  <alexis.menard@openbossa.org>
 
11760
 
 
11761
        Reviewed by Andreas Kling.
 
11762
 
 
11763
        [Qt] QtDeclarative Webview element has a fixed white background
 
11764
        https://bugs.webkit.org/show_bug.cgi?id=40918
 
11765
 
 
11766
        Implement a way to change the background color of the WebView QML element.
 
11767
        This feature is activated for QtWebKit 1.1 version of the plugin.
 
11768
 
 
11769
        * declarative/plugin.cpp:
 
11770
        (WebKitQmlPlugin::registerTypes):
 
11771
        * declarative/qdeclarativewebview.cpp:
 
11772
        (QDeclarativeWebView::backgroundColor):
 
11773
        (QDeclarativeWebView::setBackgroundColor):
 
11774
        * declarative/qdeclarativewebview_p.h:
 
11775
        * tests/qdeclarativewebview/resources/webviewbackgroundcolor.qml: Added.
 
11776
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
11777
        (tst_QDeclarativeWebView::backgroundColor):
 
11778
        * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
 
11779
 
 
11780
2011-03-10  Stanislav Paltis  <Stanislav.Paltis@nokia.com>
 
11781
 
 
11782
        Reviewed by Laszlo Gombos.
 
11783
 
 
11784
        [Qt] MemoryCache deadDecodedDataDeletionInterval is not exposed for client's usage
 
11785
        https://bugs.webkit.org/show_bug.cgi?id=55945
 
11786
        
 
11787
        Added handling of dynamic/runtime property _q_deadDecodedDataDeletionInterval to 
 
11788
        set interval used to trigger when decoded data in dead list of object cache will 
 
11789
        be purged from object cache. 
 
11790
 
 
11791
        * Api/qwebpage.cpp:
 
11792
        (QWebPagePrivate::dynamicPropertyChangeEvent):
 
11793
 
 
11794
2011-03-10  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
11795
 
 
11796
        Reviewed by Antonio Gomes.
 
11797
 
 
11798
        Simplify how QWebFrame::requestedUrl() is obtained
 
11799
        https://bugs.webkit.org/show_bug.cgi?id=55842
 
11800
 
 
11801
        When a load starts, store the requested URL until we know that it'll be
 
11802
        available for us in the document loader -- after load finished.
 
11803
 
 
11804
        The existing auto tests cover the three different code paths in
 
11805
        requestedUrl() and the new code passes the autotests. In each of those
 
11806
        cases, we looked for the information in a different place, but in all
 
11807
        of them, dispatchDidStartProvisionalLoad was called.
 
11808
 
 
11809
        This simplification will be useful to fix bug 32723. The way requestedUrl()
 
11810
        is implementent, we can't use it as a fallback for url() when the setUrl()
 
11811
        was called with an invalid URL.
 
11812
 
 
11813
        * Api/qwebframe.cpp:
 
11814
        (QWebFrame::requestedUrl):
 
11815
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11816
        (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
 
11817
        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
 
11818
        * WebCoreSupport/FrameLoaderClientQt.h:
 
11819
        (WebCore::FrameLoaderClientQt::lastRequestedUrl):
 
11820
 
 
11821
2011-03-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
 
11822
 
 
11823
        Reviewed by Kenneth Rohde Christiansen.
 
11824
 
 
11825
        Tiled backing store's delegated scroll request uses incorrect convention
 
11826
        https://bugs.webkit.org/show_bug.cgi?id=56011
 
11827
 
 
11828
        Adapt internal API to match the change from delta to point on the
 
11829
        WebCore side, and convert the point to a delta for the public API.
 
11830
 
 
11831
        * WebCoreSupport/ChromeClientQt.cpp:
 
11832
        (WebCore::ChromeClientQt::delegatedScrollRequested):
 
11833
        * WebCoreSupport/ChromeClientQt.h:
 
11834
 
 
11835
2011-03-09  Peter Kasting  <pkasting@google.com>
 
11836
 
 
11837
        Reviewed by Mihai Parparita.
 
11838
 
 
11839
        Unify Windows version checks.
 
11840
        https://bugs.webkit.org/show_bug.cgi?id=55979
 
11841
 
 
11842
        * Api/qwebpage.cpp:
 
11843
        (QWebPage::userAgentForUrl):
 
11844
 
 
11845
2011-03-07  Sam Weinig  <sam@webkit.org>
 
11846
 
 
11847
        Reviewed by Anders Carlsson.
 
11848
 
 
11849
        Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
 
11850
        https://bugs.webkit.org/show_bug.cgi?id=55827
 
11851
 
 
11852
        Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
 
11853
        and pass the entire response, instead of just the MIMEType.
 
11854
 
 
11855
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
11856
        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForResponse):
 
11857
        * WebCoreSupport/FrameLoaderClientQt.h:
 
11858
 
 
11859
2011-03-05  Qi Zhang  <qi.2.zhang@nokia.com>
 
11860
 
 
11861
        Reviewed by Laszlo Gombos.
 
11862
 
 
11863
        [Qt] Mobile Devices should include Model and Firmware Version in Webkit Generated User Agent String
 
11864
        https://bugs.webkit.org/show_bug.cgi?id=48636
 
11865
 
 
11866
        Add model infomation into user agent string when qtmobility is available, but only for symbian, Maemo and MeeGo.
 
11867
 
 
11868
        * Api/qwebpage.cpp:
 
11869
        (QWebPage::userAgentForUrl):
 
11870
 
 
11871
2011-03-03  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
 
11872
 
 
11873
        Reviewed by Kenneth Rohde Christiansen.
 
11874
 
 
11875
        [QT] Implement mock client-based geolocation for layout testing
 
11876
        https://bugs.webkit.org/show_bug.cgi?id=54334
 
11877
 
 
11878
        Implement layout testing for Client-Based geolocation. If drt_run is set 
 
11879
        then create mock geolocationClient and update the same with controller.
 
11880
 
 
11881
        * Api/qwebpage.cpp:
 
11882
        (QWebPagePrivate::QWebPagePrivate):
 
11883
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
11884
        (DumpRenderTreeSupportQt::mockGeolocationReset):
 
11885
        (DumpRenderTreeSupportQt::setMockGeolocationPermission):
 
11886
        (DumpRenderTreeSupportQt::setMockGeolocationPosition):
 
11887
        (DumpRenderTreeSupportQt::setMockGeolocationError):
 
11888
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
11889
        * WebCoreSupport/GeolocationClientQt.cpp:
 
11890
        (WebCore::GeolocationClientQt::GeolocationClientQt):
 
11891
        * WebCoreSupport/GeolocationClientQt.h:
 
11892
 
 
11893
2011-03-03  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
 
11894
 
 
11895
        Reviewed by Kenneth Rohde Christiansen.
 
11896
 
 
11897
        [Qt] QWebFrame::setUrl works only from second time if url fragment is present
 
11898
        https://bugs.webkit.org/show_bug.cgi?id=32723
 
11899
 
 
11900
        Create an auto-test for Qt based on the bug description.
 
11901
 
 
11902
        * tests/qwebframe/tst_qwebframe.cpp: add setUrlWithFragment() test.
 
11903
 
 
11904
2011-03-03  Brady Eidson  <beidson@apple.com>
 
11905
 
 
11906
        Reviewed by Darin Adler.
 
11907
 
 
11908
        https://bugs.webkit.org/show_bug.cgi?id=55721
 
11909
        Global IconDatabase should be returned by reference, not as a pointer
 
11910
 
 
11911
        * Api/qwebsettings.cpp:
 
11912
        (QWebSettings::setIconDatabasePath):
 
11913
        (QWebSettings::iconDatabasePath):
 
11914
        (QWebSettings::clearIconDatabase):
 
11915
        (QWebSettings::iconForUrl):
 
11916
 
 
11917
2011-03-03  Alexey Proskuryakov  <ap@apple.com>
 
11918
 
 
11919
        Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
 
11920
        via ChromeClient.h
 
11921
 
 
11922
        * WebCoreSupport/ChromeClientQt.h:
 
11923
 
 
11924
2011-03-02  Alexey Proskuryakov  <ap@apple.com>
 
11925
 
 
11926
        Reviewed by Darin Adler.
 
11927
 
 
11928
        REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
 
11929
        https://bugs.webkit.org/show_bug.cgi?id=55633
 
11930
        <rdar://problem/8963023>
 
11931
 
 
11932
        * WebCoreSupport/ChromeClientQt.cpp (WebCore::ChromeClientQt::keyboardUIMode):
 
11933
        * WebCoreSupport/ChromeClientQt.h:
 
11934
        Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
 
11935
        this platform doesn't observe or have full keyboard access state.
 
11936
 
 
11937
2011-03-03  Alexis Menard  <alexis.menard@openbossa.org>
 
11938
 
 
11939
        Reviewed by Andreas Kling.
 
11940
 
 
11941
        [Qt] QGraphicsWebView should use updateMicroFocus() of QGraphicsItem
 
11942
        https://bugs.webkit.org/show_bug.cgi?id=55568
 
11943
 
 
11944
        We should use updateMicroFocus() from QGraphicsItem rather than the implementation
 
11945
        in QGraphicsWebView. _q_updateMicroFocus was added when QGraphicsItem didn't have the feature.
 
11946
        In Qt 4.7, updateMicroFocus was added, let's use it, then we can benefit of all bug fixing done
 
11947
        in QGraphicsItem.
 
11948
 
 
11949
        * Api/qgraphicswebview.cpp:
 
11950
        (QGraphicsWebView::setPage):
 
11951
        * Api/qgraphicswebview.h:
 
11952
 
 
11953
2011-03-03  Peter Kasting  <pkasting@google.com>
 
11954
 
 
11955
        Reviewed by James Robinson.
 
11956
 
 
11957
        Drop redundant "Windows; " from the Windows-specific User Agent string.
 
11958
        https://bugs.webkit.org/show_bug.cgi?id=54567
 
11959
 
 
11960
        * Api/qwebpage.cpp:
 
11961
        (QWebPage::userAgentForUrl):
 
11962
 
 
11963
2011-03-01  Brian Weinstein  <bweinstein@apple.com>
 
11964
 
 
11965
        Reviewed by Adam Roben.
 
11966
 
 
11967
        Part of WebKit2: Need a way to send notifications to client when cookies change
 
11968
        https://bugs.webkit.org/show_bug.cgi?id=55427
 
11969
        <rdar://problem/9056027>
 
11970
        
 
11971
        Add stubs for CookiesStrategy on Qt WebKit1.
 
11972
 
 
11973
        * WebCoreSupport/WebPlatformStrategies.cpp:
 
11974
        (WebPlatformStrategies::createCookiesStrategy):
 
11975
        (WebPlatformStrategies::notifyCookiesChanged):
 
11976
        * WebCoreSupport/WebPlatformStrategies.h:
 
11977
 
 
11978
2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
 
11979
 
 
11980
        Unreviewed. Roll out r80068 and r80073 due to breaking WebKit2 Qt port.
 
11981
 
 
11982
        * Api/qwebpage.cpp:
 
11983
        (QWebPage::viewportAttributesForSize):
 
11984
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
11985
        (DumpRenderTreeSupportQt::viewportAsText):
 
11986
 
 
11987
2011-03-01  Joseph Pecoraro  <joepeck@webkit.org>
 
11988
 
 
11989
        Reviewed by Kenneth Rohde Christiansen.
 
11990
 
 
11991
        Viewport Warning/Error Messages Are Now Inaccurate
 
11992
        https://bugs.webkit.org/show_bug.cgi?id=53707
 
11993
 
 
11994
        * Api/qwebpage.cpp:
 
11995
        (QWebPage::viewportAttributesForSize): pass a Document into computeViewportAttributes for warnings to be reported to.
 
11996
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
11997
        (DumpRenderTreeSupportQt::viewportAsText): pass a Document into computeViewportAttributes for warnings to be reported to.
 
11998
 
 
11999
2011-03-01  Andras Becsi  <abecsi@webkit.org>
 
12000
 
 
12001
        Reviewed by Csaba Osztrogonác.
 
12002
 
 
12003
        [Qt] Clean up the project files and move common options to WebKit.pri.
 
12004
 
 
12005
        * QtWebKit.pro: Move common options to WebKit.pri.
 
12006
 
 
12007
2011-03-01  Aparna Nandyal  <aparna.nand@wipro.com>
 
12008
 
 
12009
        Reviewed by Simon Hausmann.
 
12010
 
 
12011
        [Qt]tst_QWebPage::backActionUpdate fails when there is not network connection
 
12012
        https://bugs.webkit.org/show_bug.cgi?id=55319
 
12013
 
 
12014
        The test case required internet connection to be able to connect to
 
12015
        google.com. Added new html file which refers to local html file.
 
12016
 
 
12017
        * tests/qwebpage/resources/content.html: Added.
 
12018
        * tests/qwebpage/resources/frame_c.html: Added.
 
12019
        * tests/qwebpage/resources/framedindex.html: Added.
 
12020
        * tests/qwebpage/tst_qwebpage.cpp:
 
12021
        (tst_QWebPage::backActionUpdate):
 
12022
        * tests/qwebpage/tst_qwebpage.qrc:
 
12023
 
 
12024
2011-02-25 Steve Block <steveblock@google.com>
 
12025
 
 
12026
        Reviewed by Jeremy Orlow.
 
12027
 
 
12028
        Bridge.h should not include BridgeJSC.h
 
12029
        https://bugs.webkit.org/show_bug.cgi?id=55212
 
12030
 
 
12031
        Include BridgeJSC.h directly instead.
 
12032
 
 
12033
        * Api/qwebframe.cpp:
 
12034
 
 
12035
2011-02-28  Chang Shu  <cshu@webkit.org>
 
12036
 
 
12037
        Reviewed by Ryosuke Niwa.
 
12038
 
 
12039
        Remove the support of Frame::isContentEditable and its dependencies.
 
12040
        https://bugs.webkit.org/show_bug.cgi?id=54292
 
12041
 
 
12042
        Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
 
12043
 
 
12044
        * Api/qwebpage.cpp:
 
12045
        (QWebPagePrivate::QWebPagePrivate):
 
12046
        (QWebPage::setContentEditable):
 
12047
        (QWebPage::isContentEditable):
 
12048
        * Api/qwebpage_p.h:
 
12049
        * WebCoreSupport/EditorClientQt.cpp:
 
12050
        * WebCoreSupport/EditorClientQt.h:
 
12051
 
 
12052
2011-02-28  Alexis Menard  <alexis.menard@openbossa.org>
 
12053
 
 
12054
        Reviewed by Oliver Hunt.
 
12055
 
 
12056
        Build fix for Qt port after API changes of http://trac.webkit.org/changeset/79904.
 
12057
 
 
12058
        * Api/qwebelement.cpp:
 
12059
        (QWebElement::evaluateJavaScript):
 
12060
 
 
12061
2011-02-28  Alexis Menard  <alexis.menard@openbossa.org>
 
12062
 
 
12063
        Reviewed by Andreas Kling.
 
12064
 
 
12065
        [Qt]tst_QDeclarativeWebView - 8 test cases fail
 
12066
        https://bugs.webkit.org/show_bug.cgi?id=55214
 
12067
 
 
12068
        Fix the API tests for the QML WebView element. The default size of the element should be the size of the QGraphicsWebView
 
12069
        if no preferred width or height are provided (see http://trac.webkit.org/changeset/79672).
 
12070
        I also refactored the tests so we don't use the network but instead a local html file.
 
12071
        QML doesn't support qrc loading so I had to workaround by using a property that I update afterwards.
 
12072
 
 
12073
        * tests/qdeclarativewebview/resources/sample.html: Added.
 
12074
        * tests/qdeclarativewebview/resources/webviewtest.qml:
 
12075
        * tests/qdeclarativewebview/resources/webviewtestdefault.qml:
 
12076
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
 
12077
        (tst_QDeclarativeWebView::preferredWidthTest):
 
12078
        (tst_QDeclarativeWebView::preferredHeightTest):
 
12079
        (tst_QDeclarativeWebView::preferredWidthDefaultTest):
 
12080
        (tst_QDeclarativeWebView::preferredHeightDefaultTest):
 
12081
        * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:
 
12082
 
 
12083
2011-02-28  Viatcheslav Ostapenko  <ostapenko.viatcheslav@nokia.com>
 
12084
 
 
12085
        Reviewed by Andreas Kling.
 
12086
 
 
12087
        [Qt] Add clipped version of QWebElement::render method.
 
12088
        Allows faster rendering of web element part.
 
12089
        https://bugs.webkit.org/show_bug.cgi?id=50311
 
12090
 
 
12091
        * Api/qwebelement.cpp:
 
12092
        (QWebElement::render):
 
12093
        * Api/qwebelement.h:
 
12094
        * tests/qwebelement/tst_qwebelement.cpp:
 
12095
        (tst_QWebElement::render):
 
12096
 
 
12097
2011-02-28  Kristian Amlie  <kristian.amlie@nokia.com>
 
12098
 
 
12099
        Reviewed by Andreas Kling.
 
12100
 
 
12101
        Added full webkit module profile and a syncqt profile.
 
12102
 
 
12103
        This is for modularized Qt.
 
12104
 
 
12105
        [Qt] WebKit patches required to work with a modularized version of Qt
 
12106
        https://bugs.webkit.org/show_bug.cgi?id=53916
 
12107
 
 
12108
        * qt_webkit_version.pri:
 
12109
 
 
12110
2011-02-27  Aparna Nandyal  <aparna.nand@wipro.com>
 
12111
 
 
12112
        Reviewed by Antonio Gomes.
 
12113
 
 
12114
        [Qt] QtTestBrowser - Horizontal scrollbar disappears on navigating pages using Back/Forward
 
12115
        https://bugs.webkit.org/show_bug.cgi?id=53917
 
12116
 
 
12117
        Adding test case to check the scenario to avoid regressions in the
 
12118
        future. 
 
12119
 
 
12120
        * tests/qwebframe/tst_qwebframe.cpp:
 
12121
 
 
12122
2011-02-27  Benjamin Poulain  <benjamin.poulain@nokia.com>
 
12123
 
 
12124
        Reviewed by Andreas Kling.
 
12125
 
 
12126
        [Qt] Reference the documentation of the WebKit bridge from QWebFrame::addToJavaScriptWindowObject()
 
12127
        https://bugs.webkit.org/show_bug.cgi?id=55322
 
12128
 
 
12129
        Documentation update, add a reference to the QtWebKit bridge page.
 
12130
 
 
12131
        * Api/qwebframe.cpp:
 
12132
 
 
12133
2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
 
12134
 
 
12135
        Reviewed by Pavel Feldman.
 
12136
 
 
12137
        DumpRenderTree should reset frame opener between tests.
 
12138
        https://bugs.webkit.org/show_bug.cgi?id=54874
 
12139
 
 
12140
        Added clearOpener method to DumpRenderTreeSupportQT.
 
12141
 
 
12142
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12143
        (DumpRenderTreeSupportQt::clearOpener):
 
12144
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
12145
 
 
12146
2011-02-26  Kenneth Rohde Christiansen  <kenneth@webkit.org>
 
12147
 
 
12148
        Reviewed by Andreas Kling.
 
12149
 
 
12150
        Make it possible to test the targetdensity-dpi support
 
12151
        https://bugs.webkit.org/show_bug.cgi?id=55142
 
12152
 
 
12153
        Test the viewport meta tag feature targetdensity-dpi by
 
12154
        adding extra arguments to dumpConfigurationForViewport
 
12155
 
 
12156
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12157
        (DumpRenderTreeSupportQt::viewportAsText):
 
12158
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
12159
 
 
12160
2011-02-26  Sheriff Bot  <webkit.review.bot@gmail.com>
 
12161
 
 
12162
        Unreviewed, rolling out r79764.
 
12163
        http://trac.webkit.org/changeset/79764
 
12164
        https://bugs.webkit.org/show_bug.cgi?id=55295
 
12165
 
 
12166
        "broke Chromium builds" (Requested by rniwa on #webkit).
 
12167
 
 
12168
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12169
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
12170
 
 
12171
2011-02-26  Vsevolod Vlasov  <vsevik@chromium.org>
 
12172
 
 
12173
        Reviewed by Pavel Feldman.
 
12174
 
 
12175
        DumpRenderTree should reset frame opener between tests.
 
12176
        https://bugs.webkit.org/show_bug.cgi?id=54874
 
12177
 
 
12178
        Added clearOpener method to DumpRenderTreeSupportQT.
 
12179
 
 
12180
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12181
        (DumpRenderTreeSupportQt::clearOpener):
 
12182
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
12183
 
 
12184
2011-02-25  Andras Becsi  <abecsi@webkit.org>
 
12185
 
 
12186
        Reviewed by Csaba Osztrogonác.
 
12187
 
 
12188
        [Qt] Make the WebKit2 build system less confusing for non-Qt developers
 
12189
        https://bugs.webkit.org/show_bug.cgi?id=55213
 
12190
 
 
12191
        * QtWebKit.pro: Move the WebKit2 API into a project include file
 
12192
        in the WebKit2 directory and include the pri file here.
 
12193
 
 
12194
2011-02-25  Alexis Menard  <alexis.menard@openbossa.org>
 
12195
 
 
12196
        Unreviewed build fix for Intel ICC and MSVC.
 
12197
 
 
12198
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
12199
        (tst_QGraphicsWebView::setPalette):
 
12200
        * tests/qwebview/tst_qwebview.cpp:
 
12201
        (tst_QWebView::setPalette):
 
12202
 
 
12203
2011-02-25  Alexis Menard  <alexis.menard@openbossa.org>
 
12204
 
 
12205
        Reviewed by Kenneth Rohde Christiansen.
 
12206
 
 
12207
        [Qt] Properly propagate the palette to QWebPage from QGraphicsWebView
 
12208
        https://bugs.webkit.org/show_bug.cgi?id=31742
 
12209
 
 
12210
        Discovered while looking at 31742. When we set a palette on the
 
12211
        QGraphicsWebView we need to propagate it to the page like QWebView.
 
12212
        I have added the same tests as QWebView to be sure to catch potential
 
12213
        regressions as well as two extras QVERIFY to check the palette propagation.
 
12214
 
 
12215
        * Api/qgraphicswebview.cpp:
 
12216
        (QGraphicsWebView::event):
 
12217
        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
 
12218
        (tst_QGraphicsWebView::setPalette_data):
 
12219
        (tst_QGraphicsWebView::setPalette):
 
12220
 
 
12221
2011-02-25  Csaba Osztrogonác  <ossy@webkit.org>
 
12222
 
 
12223
        Unreviewed buildfix after r79672.
 
12224
 
 
12225
        [Qt] Build tst_qdeclarativewebview if QT_CONFIG contains declarative.
 
12226
 
 
12227
        * tests/tests.pri:
 
12228
        * tests/tests.pro:
 
12229
 
 
12230
2011-02-25  Gopal Raghavan  <gopal.1.raghavan@nokia.com>
 
12231
 
 
12232
        Reviewed by Kenneth Rohde Christiansen.
 
12233
 
 
12234
        [Qt] QML WebView inside a Flickable shows checkers pattern at startup
 
12235
        https://bugs.webkit.org/show_bug.cgi?id=50222.
 
12236
 
 
12237
        This patch fixes the checkerboard visible at startup even if preferredWidth and preferredHeight are not set.
 
12238
 
 
12239
        * declarative/qdeclarativewebview.cpp:
 
12240
        (QDeclarativeWebView::init):
 
12241
        * tests/qdeclarativewebview: Added.
 
12242
        * tests/qdeclarativewebview/qdeclarativewebview.pro: Added.
 
12243
        * tests/qdeclarativewebview/resources: Added.
 
12244
        * tests/qdeclarativewebview/resources/webviewtest.qml: Added.
 
12245
        * tests/qdeclarativewebview/resources/webviewtestdefault.qml: Added.
 
12246
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: Added.
 
12247
        (tst_QDeclarativeWebView::initTestCase):
 
12248
        (tst_QDeclarativeWebView::cleanupTestCase):
 
12249
        (tst_QDeclarativeWebView::init):
 
12250
        (tst_QDeclarativeWebView::cleanup):
 
12251
        (tst_QDeclarativeWebView::preferredWidthTest):
 
12252
        (tst_QDeclarativeWebView::preferredHeightTest):
 
12253
        (tst_QDeclarativeWebView::preferredWidthDefaultTest):
 
12254
        (tst_QDeclarativeWebView::preferredHeightDefaultTest):
 
12255
        (tst_QDeclarativeWebView::checkNoErrors):
 
12256
        * tests/tests.pri:
 
12257
        * tests/tests.pro:
 
12258
 
 
12259
2011-02-24  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>
 
12260
 
 
12261
        Reviewed by Andreas Kling.
 
12262
 
 
12263
        [Qt] Revert the support for QNAM affined to a different thread.
 
12264
        https://bugs.webkit.org/show_bug.cgi?id=55149
 
12265
 
 
12266
        Qt 4.8 will have QNAM use its own thread internally by default,
 
12267
        no need to keep this complexity in WebKit.
 
12268
 
 
12269
        This mainly reverts:
 
12270
        http://trac.webkit.org/changeset/73710
 
12271
        http://trac.webkit.org/changeset/73712
 
12272
 
 
12273
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
12274
        (WebCore::FrameLoaderClientQt::download):
 
12275
        * tests/qwebpage/tst_qwebpage.cpp:
 
12276
 
 
12277
2011-02-24  Sam Weinig  <sam@webkit.org>
 
12278
 
 
12279
        Try to fix the Qt build.
 
12280
 
 
12281
        * QtWebKit.pro:
 
12282
 
 
12283
2011-02-24  Peter Kasting  <pkasting@google.com>
 
12284
 
 
12285
        Reviewed by Eric Seidel.
 
12286
 
 
12287
        Drop the "U; " encryption level from the User Agent string.
 
12288
        https://bugs.webkit.org/show_bug.cgi?id=54566
 
12289
 
 
12290
        * Api/qwebpage.cpp:
 
12291
        (QWebPage::userAgentForUrl):
 
12292
 
 
12293
2011-02-24  Andrew Wilson  <atwilson@chromium.org>
 
12294
 
 
12295
        Unreviewed, rolling out r79570.
 
12296
        http://trac.webkit.org/changeset/79570
 
12297
        https://bugs.webkit.org/show_bug.cgi?id=54874
 
12298
 
 
12299
        Breaks chromium build because glue/mocks/mock_web_frame.h/cc
 
12300
        was not updated
 
12301
 
 
12302
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12303
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
12304
 
 
12305
2011-02-24  Vsevolod Vlasov  <vsevik@chromium.org>
 
12306
 
 
12307
        Reviewed by Alexey Proskuryakov.
 
12308
 
 
12309
        DumpRenderTree should reset frame opener between tests.
 
12310
        https://bugs.webkit.org/show_bug.cgi?id=54874
 
12311
 
 
12312
        Added clearOpener method to DumpRenderTreeSupportQT.
 
12313
 
 
12314
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12315
        (DumpRenderTreeSupportQt::clearOpener):
 
12316
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
12317
 
 
12318
2011-02-24  Alexis Menard  <alexis.menard@openbossa.org>
 
12319
 
 
12320
        Reviewed by Andreas Kling.
 
12321
 
 
12322
        [Qt] tst_QWebView::setPalette(activeFG) fails
 
12323
        https://bugs.webkit.org/show_bug.cgi?id=55029
 
12324
 
 
12325
        This time it should be the proper fix. The window needs to be shown before we
 
12326
        call activateWindow() otherwise there is no active windows for the application.
 
12327
 
 
12328
        * tests/qwebview/tst_qwebview.cpp:
 
12329
        (tst_QWebView::setPalette):
 
12330
 
 
12331
2011-02-24  Andras Becsi  <abecsi@webkit.org>
 
12332
 
 
12333
        Reviewed by Laszlo Gombos.
 
12334
 
 
12335
        [Qt] MinGW build fails to link
 
12336
        https://bugs.webkit.org/show_bug.cgi?id=55050
 
12337
 
 
12338
        Prepend the libraries of subcomponents instead of appending them
 
12339
        to fix the library order according to the dependency of the libraries
 
12340
 
 
12341
        * QtWebKit.pro: prepend libraries in the correct order
 
12342
 
 
12343
2011-02-23  Alexis Menard  <alexis.menard@openbossa.org>
 
12344
 
 
12345
        Reviewed by Ariya Hidayat.
 
12346
 
 
12347
        [Qt] tst_QWebView::setPalette(activeFG) fails
 
12348
        https://bugs.webkit.org/show_bug.cgi?id=55029
 
12349
 
 
12350
        Attempt to make the test more robust. By investigating with the bot virtual machine
 
12351
        I discovered that the activation can take some time. In this patch we make sure that
 
12352
        the active window we want to have is the same as the QApplication.
 
12353
 
 
12354
        * tests/qwebview/tst_qwebview.cpp:
 
12355
        (tst_QWebView::setPalette):
 
12356
 
 
12357
2011-02-23  Alexis Menard  <alexis.menard@openbossa.org>
 
12358
 
 
12359
        Reviewed by Dan Bernstein.
 
12360
 
 
12361
        [Qt]REGRESSION(r79167): It broke 3 Qt-API test cases
 
12362
        http://trac.webkit.org/changeset/79167 refactored the way the bound size of
 
12363
        the frame is handled. A new API setBoundsSize was added, we need to call it
 
12364
        in addition to setFrameRect. I could call setBoundSize after setFrameRect but
 
12365
        I thought It would be more elegant to use the resize method.
 
12366
 
 
12367
        * Api/qwebpage.cpp:
 
12368
        (QWebPage::setViewportSize):
 
12369
 
 
12370
2011-02-22  Fabrizio Machado  <fabrizio.machado@nokia.com>
 
12371
 
 
12372
        Reviewed by Laszlo Gombos.
 
12373
 
 
12374
        [Qt] Don't fall through case in variantToSetting() if qvariant.type() is Bool
 
12375
        https://bugs.webkit.org/show_bug.cgi?id=54976
 
12376
 
 
12377
        Test not needed.
 
12378
        
 
12379
        * WebCoreSupport/InspectorClientQt.cpp:
 
12380
 
 
12381
2011-02-22  Alexis Menard  <alexis.menard@openbossa.org>
 
12382
 
 
12383
        Reviewed by Andreas Kling.
 
12384
 
 
12385
        [Qt] QWebView ignores a palette set with QWebView::setPalette()
 
12386
        https://bugs.webkit.org/show_bug.cgi?id=31742
 
12387
 
 
12388
        Test case to check that the palette sets on the QWebView is taken
 
12389
        into account.
 
12390
 
 
12391
        * tests/qwebview/tst_qwebview.cpp:
 
12392
        (tst_QWebView::setPalette_data):
 
12393
        (tst_QWebView::setPalette):
 
12394
 
 
12395
2011-02-22  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
 
12396
 
 
12397
        Reviewed by Alexey Proskuryakov.
 
12398
 
 
12399
        Drop the language tag part from the User Agent string
 
12400
        https://bugs.webkit.org/show_bug.cgi?id=54560
 
12401
 
 
12402
        * Api/qwebpage.cpp:
 
12403
        (QWebPage::userAgentForUrl):
 
12404
 
 
12405
        * tests/qwebpage/tst_qwebpage.cpp: Remove the userAgentLocaleChange
 
12406
        test.
 
12407
 
 
12408
2011-02-22  Chang Shu  <cshu@webkit.org>
 
12409
 
 
12410
        Reviewed by Csaba Osztrogonác.
 
12411
 
 
12412
        [Qt] editing/deleting/5408255.html fails
 
12413
        https://bugs.webkit.org/show_bug.cgi?id=54964
 
12414
 
 
12415
        Move WebCore resource file to QtWebKit since they are referred in WebKit.
 
12416
 
 
12417
        * QtWebKit.pro:
 
12418
 
 
12419
2011-02-22  Andras Becsi  <abecsi@webkit.org>
 
12420
 
 
12421
        Reviewed by Csaba Osztrogonác.
 
12422
 
 
12423
        [Qt] Redesign the build system
 
12424
        https://bugs.webkit.org/show_bug.cgi?id=51339
 
12425
 
 
12426
        Move inspector's resource files into the final build step to fix the layout test regression.
 
12427
 
 
12428
        * QtWebKit.pro: Add inspector's reaource files.
 
12429
 
 
12430
2011-02-22  Andras Becsi  <abecsi@webkit.org>
 
12431
 
 
12432
        Reviewed by Laszlo Gombos.
 
12433
        Rubber-stamped by Csaba Osztrogonác.
 
12434
 
 
12435
        [Qt] Redesign the build system
 
12436
        https://bugs.webkit.org/show_bug.cgi?id=51339
 
12437
 
 
12438
        The patch landed in r79320 didn't contain the cleanup
 
12439
        which was already addressed in the last attachment.
 
12440
 
 
12441
        * QtWebKit.pro: Move common LIB and CONFIG options to WebCore.pri.
 
12442
 
 
12443
2011-02-22  Andras Becsi  <abecsi@webkit.org>
 
12444
 
 
12445
        Reviewed by Laszlo Gombos.
 
12446
 
 
12447
        [Qt] Redesign the build system
 
12448
        https://bugs.webkit.org/show_bug.cgi?id=51339
 
12449
 
 
12450
        Part 2.
 
12451
 
 
12452
        Build WebCore as a static library, compile the WebKit API and WebKit2 API
 
12453
        in a final step and link to WebKit2, WebCore and JSC libraries to fix
 
12454
        linking issues resulting from stripped away symbols.
 
12455
 
 
12456
        * QtWebKit.pro: Added.
 
12457
        Project file for the final build step.
 
12458
 
 
12459
2011-02-17  Ryosuke Niwa  <rniwa@webkit.org>
 
12460
 
 
12461
        Reviewed by Kent Tamura.
 
12462
 
 
12463
        Rename Position::node() to Position::deprecatedNode()
 
12464
        https://bugs.webkit.org/show_bug.cgi?id=54622
 
12465
 
 
12466
        Replaced the call to node() by a call to containerNode() because the returned node is
 
12467
        used to determine whether or not the selected contents are editable and such a check
 
12468
        must be done against the container node.
 
12469
 
 
12470
        * WebCoreSupport/EditorClientQt.cpp:
 
12471
        (WebCore::EditorClientQt::handleKeyboardEvent):
 
12472
 
 
12473
2011-02-19  Charlie Reis  <creis@chromium.org>
 
12474
 
 
12475
        Reviewed by Mihai Parparita.
 
12476
 
 
12477
        Ensure loading has stopped in HistoryController::goToItem
 
12478
        https://bugs.webkit.org/show_bug.cgi?id=54517
 
12479
 
 
12480
        Add a FrameLoaderClient callback for whether to stop loading before goToItem.
 
12481
 
 
12482
        Test: http/tests/navigation/forward-to-fragment-fires-onload.html
 
12483
 
 
12484
        * WebCoreSupport/FrameLoaderClientQt.cpp:
 
12485
        (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem): Added.
 
12486
        * WebCoreSupport/FrameLoaderClientQt.h:
 
12487
 
 
12488
2011-02-18  Fabrizio Machado  <fabrizio.machado@nokia.com>
 
12489
 
 
12490
        Reviewed by Eric Seidel.
 
12491
 
 
12492
        Remove reduntant checks.
 
12493
        https://bugs.webkit.org/show_bug.cgi?id=54764
 
12494
        
 
12495
 
 
12496
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12497
        (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId):
 
12498
        * WebCoreSupport/NotificationPresenterClientQt.cpp:
 
12499
        (WebCore::NotificationPresenterClientQt::toPage):
 
12500
 
 
12501
2011-02-18  Csaba Osztrogonác  <ossy@webkit.org>
 
12502
 
 
12503
        Unreviewed.
 
12504
 
 
12505
        [Qt] Buildfix for platforms with geolocation disabled.
 
12506
 
 
12507
        * Api/qwebpage.cpp: Add the missing guard.
 
12508
 
 
12509
2011-02-18  Mahesh Kulkarni  <mahesh.kulkarni@nokia.com>
 
12510
 
 
12511
        Reviewed by Kenneth Rohde Christiansen.
 
12512
 
 
12513
        [Qt] Implement client based geolocation for qtport
 
12514
        https://bugs.webkit.org/show_bug.cgi?id=42629
 
12515
 
 
12516
        Implements client based geolocation for qtwebkit.
 
12517
        New client based geolocation contains permission API's as well,
 
12518
        so removed the implementation from ChromeClientQt.cpp. 
 
12519
 
 
12520
        * Api/qwebpage.cpp:
 
12521
        (QWebPagePrivate::QWebPagePrivate):
 
12522
        * WebCoreSupport/ChromeClientQt.cpp:
 
12523
        * WebCoreSupport/ChromeClientQt.h:
 
12524
        (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame):
 
12525
        (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame):
 
12526
        * WebCoreSupport/GeolocationClientQt.cpp: Added.
 
12527
        (WebCore::GeolocationClientQt::GeolocationClientQt):
 
12528
        (WebCore::GeolocationClientQt::~GeolocationClientQt):
 
12529
        (WebCore::GeolocationClientQt::geolocationDestroyed):
 
12530
        (WebCore::GeolocationClientQt::positionUpdated):
 
12531
        (WebCore::GeolocationClientQt::startUpdating):
 
12532
        (WebCore::GeolocationClientQt::stopUpdating):
 
12533
        (WebCore::GeolocationClientQt::setEnableHighAccuracy):
 
12534
        (WebCore::GeolocationClientQt::requestPermission):
 
12535
        (WebCore::GeolocationClientQt::cancelPermissionRequest):
 
12536
        * WebCoreSupport/GeolocationClientQt.h: Added.
 
12537
        (WebCore::GeolocationClientQt::lastPosition):
 
12538
 
 
12539
2011-02-10  Luiz Agostini  <luiz.agostini@openbossa.org>
 
12540
 
 
12541
        Reviewed by Adam Roben.
 
12542
 
 
12543
        HTML5 <details> and <summary>: localized text
 
12544
        https://bugs.webkit.org/show_bug.cgi?id=54260
 
12545
 
 
12546
        The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to
 
12547
        provide the default label to be used by a <details> tag that has no <summary> child.
 
12548
 
 
12549
        * WebCoreSupport/WebPlatformStrategies.cpp:
 
12550
        (WebPlatformStrategies::defaultDetailsSummaryText):
 
12551
        * WebCoreSupport/WebPlatformStrategies.h:
 
12552
 
 
12553
2011-02-17  Hui Huang  <hui.2.huang@nokia.com>
 
12554
 
 
12555
        Reviewed by Laszlo Gombos.
 
12556
 
 
12557
        The URL of HTML5 Video Element is percent encoded at websites such as youtube.
 
12558
        It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes
 
12559
        the HTTP GET request for the video to be rejected by the service provider. 
 
12560
        https://bugs.webkit.org/show_bug.cgi?id=53973.
 
12561
 
 
12562
        The bug is fixed by constructing QUrl from the encoded URL in 
 
12563
        MediaPlayerPrivateQt::commitLoad. 
 
12564
 
 
12565
        New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with
 
12566
        HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId
 
12567
        is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt.
 
12568
        A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test
 
12569
        is skipped if Qt Multimedia is not available.
 
12570
 
 
12571
        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
 
12572
        (DumpRenderTreeSupportQt::mediaContentUrlByElementId):
 
12573
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
 
12574
        * tests/qwebpage/tst_qwebpage.cpp:
 
12575
        (tst_QWebPage::loadHtml5Video):
 
12576
        * tests/tests.pri:
 
12577
 
 
12578
2011-02-17  Andreas Kling  <kling@webkit.org>
 
12579
 
 
12580
        Reviewed by Antti Koivisto.
 
12581
 
 
12582
        [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests
 
12583
        https://bugs.webkit.org/show_bug.cgi?id=49216
 
12584
 
 
12585
        * tests/qwebframe/tst_qwebframe.cpp:
 
12586
 
 
12587
== Rolled over to ChangeLog-2011-02-16 ==