1 2011-02-16 Aparna Nandyal <aparna.nand@wipro.com>
3 Reviewed by Andreas Kling.
5 [Qt] QWebFrame: When a relative url is loaded then it will make it absolute internally, however this strips out any query/fragments
6 https://bugs.webkit.org/show_bug.cgi?id=29424
8 ensureAbsoluteUrl function was stripping the query and the
9 fragment part of the url. Corrected this.
14 2011-02-15 Csaba Osztrogonác <ossy@webkit.org>
18 [Qt][V8] Buildfix. Add missing USE(JSC) guard.
20 * Api/qwebelement.cpp:
22 2011-02-15 Kenneth Russell <kbr@google.com>
24 Reviewed by Darin Fisher.
26 Allow controlling minimum DOMTimer interval on a per-page basis
27 https://bugs.webkit.org/show_bug.cgi?id=54312
29 Added needed methods to implement LayoutTestController's new
30 setMinimumTimerInterval method.
32 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
33 (DumpRenderTreeSupportQt::defaultMinimumTimerInterval):
34 (DumpRenderTreeSupportQt::setMinimumTimerInterval):
35 * WebCoreSupport/DumpRenderTreeSupportQt.h:
37 2011-01-26 MORITA Hajime <morrita@google.com>
39 Reviewed by Ryosuke Niwa.
41 Refactoring: Extract TextCheckerClient from EditorClient
42 https://bugs.webkit.org/show_bug.cgi?id=53213
44 * WebCoreSupport/EditorClientQt.h:
45 (WebCore::EditorClientQt::textChecker):
47 2011-02-07 Ryosuke Niwa <rniwa@webkit.org>
49 Reviewed by Adam Barth.
51 Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
52 https://bugs.webkit.org/show_bug.cgi?id=52417
54 Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
57 * WebCoreSupport/EditorClientQt.cpp:
58 (WebCore::EditorClientQt::canCopyCut): Added.
59 (WebCore::EditorClientQt::canPaste): Added.
60 * WebCoreSupport/EditorClientQt.h:
62 2011-02-14 Alexis Menard <alexis.menard@nokia.com>
64 Reviewed by Andreas Kling.
66 [Qt] Crash on application exit after constructing and destroying a QWebView twice
67 https://bugs.webkit.org/show_bug.cgi?id=54000
69 Test case to cover the crash.
71 * tests/qwebpage/tst_qwebpage.cpp:
72 (tst_QWebPage::deleteQWebViewTwice):
74 2011-02-11 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
76 Reviewed by Tor Arne Vestbø.
78 [Qt] wmode gets overridden even if already windowless in QGraphicsWebView
79 Do not override wmode if it is not set to "window".
80 https://bugs.webkit.org/show_bug.cgi?id=50495
82 * WebCoreSupport/FrameLoaderClientQt.cpp:
83 (WebCore::FrameLoaderClientQt::createPlugin):
85 2011-02-10 Nate Chapin <japhet@chromium.org>
87 Reviewed by Adam Barth.
89 Update calls to DocumentWriter.
90 https://bugs.webkit.org/show_bug.cgi?id=50489
94 * WebCoreSupport/FrameLoaderClientQt.cpp:
95 (WebCore::FrameLoaderClientQt::finishedLoading):
97 2011-02-10 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
99 Reviewed by Andreas Kling.
101 [Qt] Ensure WebView press delay timer is cancelled when grab is taken
102 https://bugs.webkit.org/show_bug.cgi?id=54242
105 http://bugreports.qt.nokia.com/browse/QTBUG-15529
107 Flickable steals the grab, but the timer was not stopped and the
108 keepGrab flag is set and the mouse grabbed. This means that the WebView
109 now has the grab and subsequent clicks on another element are ignored.
111 Original patch from Martin Jones <martin.jones@nokia.com>
112 reviewed (there) by Joona Petrell
113 52068f57f9c32098a90cc217730a530f85590f65
115 * declarative/qdeclarativewebview.cpp:
116 (GraphicsWebView::sceneEvent):
117 * declarative/qdeclarativewebview_p.h:
119 2011-02-10 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
121 Reviewed by Andreas Kling.
123 [Qt] Fix assert in QDeclarativeWebView
124 https://bugs.webkit.org/show_bug.cgi?id=54240
127 http://bugreports.qt.nokia.com/browse/QTBUG-14278
129 Instantiating a QDeclarativeWebView twice will trigger an assertion
132 Original patch from Thomas Hartmann <Thomas.Hartmann@nokia.com>,
133 reviewed (there) by Aaron Kennedy
134 f532679ca11914b453e22342f2ae5e9f790ce47a
136 * declarative/qdeclarativewebview.cpp:
137 (QDeclarativeWebView::init):
139 2011-02-10 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
141 Reviewed by Andreas Kling.
143 [Qt] Misc documentation fixes/updates
144 https://bugs.webkit.org/show_bug.cgi?id=54236
146 There are a few commits in the Qt repository (master and 4.7 branches)
147 with QtWebKit documentation fixes:
149 84d278501a19eaccf9a77cccd95ca5d17a2dcd2b
150 Clarified documentation of loadFinished() signal
152 eebe205b306daaa3674d9746de11a73bef4bd0de
153 Doc: Fixed QML, unindented snippet
155 b0d64717d2c541976dc5524e4100c62f060e206f
156 doc: Changed a table into 3 tables to eliminate a \raw.
158 As these are all minor doc changes, I decided to group them
159 into one single patch.
162 * declarative/qdeclarativewebview.cpp:
163 * docs/qtwebkit.qdoc:
165 2011-02-10 Ademar de Souza Reis Jr <ademar.reis@openbossa.org>
167 Reviewed by Andreas Kling.
169 [Qt] Remove the use of deprecated qVariant*
170 https://bugs.webkit.org/show_bug.cgi?id=54229
172 This was applied on the Qt repository and affects QtWebKit there.
173 (633f3f45e5420663cf4ceadea79e62fea44cd2eb)
175 The side effect of this change is that we won't be able to build
176 QtWebKit with MSVC 6, as it doesn't support member template functions
177 (not sure if it's possible today anyway).
179 Original patch from Olivier Goffart <olivier.goffart@nokia.com>, with
180 review reported as being from the mailing list.
182 The changes are result of the following commands:
184 git grep -O"sed -i 's/qVariantValue</qvariant_cast</'" qVariantValue
185 git grep -O"sed -i 's/qVariantSetValue(\([^&*\(),]*\), */\\1.setValue(/'" qVariantSetValue
186 git grep -O"sed -i 's/qVariantSetValue *<\([^>]*\)> *(\([^&*\(),]*\), */\\2.setValue<\\1>(/'" qVariantSetValue
187 git grep -O"sed -i 's/qVariantCanConvert *<\([^>]*\)> *(\([^&*\(),]*\))/\\2.canConvert<\\1>()/g'" qVariantCanConvert
188 git grep -O"sed -i 's/qVariantCanConvert *<\([^>]*\)> *(\([^&*\(),]*([^&*\(),]*)\))/\\2.canConvert<\\1>()/g'" qVariantCanConvert
189 git grep -O"sed -i 's/qVariantFromValue\( *[(<]\)/QVariant::fromValue\\1/'" qVariantFromValue
192 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
193 (DumpRenderTreeSupportQt::nodesFromRect):
194 * tests/qwebframe/tst_qwebframe.cpp:
195 (MyQObject::myInvokableWithQObjectListArg):
196 (MyQObject::myInvokableWithListOfIntArg):
197 (MyQObject::myInvokableWithQObjectStarArg):
198 (MyQObject::myInvokableWithQBrushArg):
199 (MyQObject::myInvokableWithBrushStyleArg):
200 (MyQObject::myInvokableWithVoidStarArg):
201 (MyQObject::myInvokableWithAmbiguousArg):
202 (MyQObject::myInvokableWithDefaultArgs):
203 (MyQObject::myInvokableWithPointArg):
204 (MyQObject::myOverloadedSlot):
206 2011-02-10 Robert Hogan <robert@webkit.org>
208 Reviewed by Laszlo Gombos.
210 [Qt] Return menu items from eventSender.contextMenu()
211 https://bugs.webkit.org/show_bug.cgi?id=53039
213 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
214 (iterateContextMenu):
215 (DumpRenderTreeSupportQt::contextMenu):
216 * WebCoreSupport/DumpRenderTreeSupportQt.h:
218 2011-02-10 Alexis Menard <alexis.menard@nokia.com>
220 Reviewed by Andreas Kling.
222 [Qt] In trunk with Qt Multimedia the full screen mode doesn't work.
223 https://bugs.webkit.org/show_bug.cgi?id=54201
225 Add a default fullscreen handler when there is no plaftform plugin
226 installed. This handler creates a fullscreen QVideoWidget and plays
227 the video. Space pause/resume the video playback and esc quit the
230 * WebCoreSupport/FullScreenVideoQt.cpp:
231 (WebCore::DefaultFullScreenVideoHandler::DefaultFullScreenVideoHandler):
232 (WebCore::DefaultFullScreenVideoHandler::~DefaultFullScreenVideoHandler):
233 (WebCore::DefaultFullScreenVideoHandler::requiresFullScreenForVideoPlayback):
234 (WebCore::DefaultFullScreenVideoHandler::enterFullScreen):
235 (WebCore::DefaultFullScreenVideoHandler::exitFullScreen):
236 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
237 * WebCoreSupport/FullScreenVideoQt.h:
238 * WebCoreSupport/FullScreenVideoWidget.cpp: Added.
239 (WebCore::FullScreenVideoWidget::FullScreenVideoWidget):
240 (WebCore::FullScreenVideoWidget::~FullScreenVideoWidget):
241 (WebCore::FullScreenVideoWidget::show):
242 (WebCore::FullScreenVideoWidget::closeEvent):
243 (WebCore::FullScreenVideoWidget::event):
244 (WebCore::FullScreenVideoWidget::keyPressEvent):
245 (WebCore::FullScreenVideoWidget::hideCursor):
246 (WebCore::FullScreenVideoWidget::showCursor):
247 * WebCoreSupport/FullScreenVideoWidget.h: Added.
249 2011-02-10 kasthuri <kasthuri.n-s@nokia.com>
251 Reviewed by Antonio Gomes.
253 [Qt] QWebFrame::setHtml doesn't emit loadFinished signal
254 https://bugs.webkit.org/show_bug.cgi?id=38634
256 QWebView->page()->mainFrame()->setHtml(html) is always emitting
257 the loadFinished() signal for all types of html files.
258 But the proposed test content was trying to catch the signal after
259 calling setHtml() api and becuase of this the emitted signal for a
260 simple html page is never caught as its emitted before even the connect
263 updated the tst_QWebFrame::setHtml() in tst_qwebframe.cpp to check for
264 signal using the QSignalSpy.
267 * tests/qwebframe/tst_qwebframe.cpp:
269 2011-02-09 Robert Hogan <robert@webkit.org>
271 Reviewed by Csaba Osztrogonác.
273 [Qt] REGRESSION (r73535): tst_QWebPage fails
274 https://bugs.webkit.org/show_bug.cgi?id=51331
276 Since r73535 a ContextMenu is only created when a context menu
277 event is received, so QWebPage::updatePositionDependentActions()
278 can't depend on one being there if it is called directly by
279 the client. QtWebKit itself only ever calls updatePositionDependentActions()
280 when a context menu event has been received.
282 Update tst_QWebPage:contextMenuCrash to create a context menu.
283 Add tst_QWebPage:updatePositionDependentActionsCrash to test for this crash.
285 There doesn't seem to be a good reason for creating a context menu if
286 clients call QWebPage::updatePositionDependentActions() when no
287 context menu event has ever been received.
290 (QWebPagePrivate::createContextMenu):
291 * tests/qwebpage/tst_qwebpage.cpp:
292 (tst_QWebPage::contextMenuCrash):
294 2011-02-09 Robert Hogan <robert@webkit.org>
296 Reviewed by Antonio Gomes.
298 [Qt] fast/dom/nodesFromRect-links-and-text.html crashes in debug mode
299 https://bugs.webkit.org/show_bug.cgi?id=53921
301 QDRTNode needs a copy constructor and an operator= in order to keep
304 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
306 (QDRTNode::operator=):
307 (DumpRenderTreeSupportQt::nodesFromRect):
308 * WebCoreSupport/DumpRenderTreeSupportQt.h:
310 2011-02-08 Adam Barth <abarth@webkit.org>
312 Reviewed by Eric Seidel.
314 Remove orphan code from old parser
315 https://bugs.webkit.org/show_bug.cgi?id=53984
317 * WebCoreSupport/ChromeClientQt.h:
319 2011-02-07 Aparna Nandyal <aparna.nand@wipro.com>
321 Reviewed by Andreas Kling.
323 [Qt] - Context menu needs "Copy" as well when the selected text is a link.
324 https://bugs.webkit.org/show_bug.cgi?id=40983
326 Added a test case to create a context sensitive menu.
327 A check is made if it has Copy menu item when user
328 selects a link and opens context menu.
330 * tests/qwebpage/tst_qwebpage.cpp:
331 (tst_QWebPage::contextMenuCopy):
333 2011-02-07 Benjamin Poulain <ikipou@gmail.com>
335 Reviewed by Kenneth Rohde Christiansen.
337 [Qt] cookiesEnabled could create the cookieJar on the wrong thread.
338 https://bugs.webkit.org/show_bug.cgi?id=52289
340 Test if the cookie jar is created in the right thread when accessed from
341 the navigator object.
343 * tests/qwebpage/tst_qwebpage.cpp:
344 (tst_QWebPage::navigatorCookieEnabledForNetworkAccessManagerOnDifferentThread):
346 2011-02-07 Qi Zhang <qi.2.zhang@nokia.com>
348 Reviewed by Andreas Kling.
350 [Qt] enum QWebPage::WebAction doesn't have value QWebPage::CopyImageUrl
351 https://bugs.webkit.org/show_bug.cgi?id=52974
353 Add QWebPage::CopyImageUrlToClipboard into QWebPage::WebAction.
356 (webActionForContextMenuAction):
357 (QWebPage::triggerAction):
360 * WebCoreSupport/WebPlatformStrategies.cpp:
361 (WebPlatformStrategies::contextMenuItemTagCopyImageUrlToClipboard):
362 * WebCoreSupport/WebPlatformStrategies.h:
364 2011-02-07 Enrica Casucci <enrica@apple.com>
366 Reviewed Adam Roben and Darin Adler.
368 WebKit2: drag and drop support on Windows.
369 https://bugs.webkit.org/show_bug.cgi?id=52775
371 Removed createDragImageForLink from DragClient.
373 * WebCoreSupport/DragClientQt.cpp:
374 * WebCoreSupport/DragClientQt.h:
376 2011-02-06 Robert Hogan <robert@webkit.org>
378 Reviewed by Andreas Kling.
380 [Qt] Remove unnecessary QRect assignment
381 https://bugs.webkit.org/show_bug.cgi?id=53873
384 (QWebFramePrivate::renderRelativeCoords):
386 2011-02-06 Robert Hogan <robert@webkit.org>
388 Reviewed by Andreas Kling.
390 [Qt] Clear page's groupName even when not in DRT
391 https://bugs.webkit.org/show_bug.cgi?id=53874
393 Matches behaviour of other ports.
395 * WebCoreSupport/ChromeClientQt.cpp:
396 (WebCore::ChromeClientQt::closeWindowSoon):
398 2011-02-03 Yury Semikhatsky <yurys@chromium.org>
400 Reviewed by Pavel Feldman.
402 Web Inspector: remove settings related methods from InspectorClient
403 https://bugs.webkit.org/show_bug.cgi?id=53686
405 * WebCoreSupport/InspectorClientQt.cpp:
406 (WebCore::InspectorFrontendClientQt::InspectorFrontendClientQt):
407 * WebCoreSupport/InspectorClientQt.h:
409 2011-02-03 Adam Langley <agl@chromium.org>
411 Reviewed by Adam Barth.
413 Plumb mixed script URL to FrameLoaderClient
414 https://bugs.webkit.org/show_bug.cgi?id=52384
416 Regressions covered by http/tests/security/mixedContent/*
418 * WebCoreSupport/FrameLoaderClientQt.cpp:
419 (WebCore::FrameLoaderClientQt::didRunInsecureContent):
420 * WebCoreSupport/FrameLoaderClientQt.h:
422 2011-02-01 Csaba Osztrogonác <ossy@webkit.org>
424 Unreviewed Qt buildfix after r77286.
426 https://bugs.webkit.org/show_bug.cgi?id=53520
427 Remove the physical terminology from IntRect and FloatRect.
429 * WebCoreSupport/PopupMenuQt.cpp:
430 (WebCore::PopupMenuQt::show):
432 2011-01-31 No'am Rosenthal <noam.rosenthal@nokia.com>
434 Reviewed by Kenneth Rohde Christiansen.
436 [Qt] QWebElements example from QtWebKit Bridge documentation does not work at all
437 https://bugs.webkit.org/show_bug.cgi?id=46748
439 Problem was that we need to register QWebElement's variant-type to Qt's meta type system at some point.
440 This wasn't caught by previous tests inside tst_QWebFrame because it only appears when there's also a QWebElement property.
441 Added a regression test to tst_QWebFrame.
443 * tests/qwebframe/tst_qwebframe.cpp:
444 (MyWebElementSlotOnlyObject::doSomethingWithWebElement):
445 (MyWebElementSlotOnlyObject::tagName):
447 2011-01-31 Srikumar Bonda <srikumar.b@gmail.com>
449 Reviewed by Andreas Kling.
451 [Qt] ContextMenuClientQt.cpp has coding-style errors
452 "RefCounted.h" header inclusion style changed to <wtf/RefCounted.h>
453 https://bugs.webkit.org/show_bug.cgi?id=40243
455 * WebCoreSupport/ContextMenuClientQt.cpp:
457 2011-01-28 Dan Bernstein <mitz@apple.com>
459 Reviewed by Sam Weinig.
461 <select> can't display right-to-left (rtl) languages
462 https://bugs.webkit.org/show_bug.cgi?id=19785
464 * WebCoreSupport/ChromeClientQt.cpp:
465 (WebCore::ChromeClientQt::selectItemAlignmentFollowsMenuWritingDirection): Added.
466 * WebCoreSupport/ChromeClientQt.h:
468 2011-01-27 Nate Chapin <japhet@chromium.org>
470 Reviewed by Adam Barth.
472 Use Document::url() instead of FrameLoader::url().
473 https://bugs.webkit.org/show_bug.cgi?id=41165
478 2011-01-27 Robert Hogan <robert@webkit.org>
480 Rubber-stamped by Andreas Kling.
482 [Qt] Style Fix: correct indentation in FrameLoadeClientQt:createPlugin
484 * WebCoreSupport/FrameLoaderClientQt.cpp:
485 (WebCore::FrameLoaderClientQt::createPlugin):
487 2011-01-24 Chris Marrin <cmarrin@apple.com>
489 Reviewed by Eric Seidel.
491 Change ENABLE_3D_CANVAS to ENABLE_WEBGL
492 https://bugs.webkit.org/show_bug.cgi?id=53041
494 * Api/qwebsettings.cpp:
495 (QWebSettingsPrivate::apply):
497 2011-01-24 Renata Hodovan <reni@webkit.org>
499 Reviewed by Andreas Kling.
501 [Qt] QWebFramePrivate::renderRelativeCoords() calls QPainter::save/restore more than necessary
502 https://bugs.webkit.org/show_bug.cgi?id=49915
504 In the first loop of renderRelativeCoords() the call of QPainter::save/restore is useless, because
505 the context is saved/stored within the loop.
506 In the second loop the calls are also avoidable by using inverse translation on context.
509 (QWebFramePrivate::renderRelativeCoords):
511 2011-01-24 Andras Becsi <abecsi@webkit.org>
513 Reviewed by Csaba Osztrogonác.
515 [Qt] Move project files into Source
516 https://bugs.webkit.org/show_bug.cgi?id=52891
518 * declarative/declarative.pro:
522 2011-01-22 Ilya Tikhonovsky <loislo@chromium.org>
524 Reviewed by Pavel Feldman.
526 Web Inspector: next step in splitting InspectorController.
528 #include "InspectorController.h" was added.
530 https://bugs.webkit.org/show_bug.cgi?id=52955
532 * WebCoreSupport/InspectorServerQt.cpp:
534 2011-01-22 Robert Hogan <robert@webkit.org>
536 Reviewed by Andreas Kling.
538 [Qt] Support layoutTestController.addURLToRedirect()
539 https://bugs.webkit.org/show_bug.cgi?id=52956
541 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
542 (DumpRenderTreeSupportQt::addURLToRedirect):
543 * WebCoreSupport/DumpRenderTreeSupportQt.h:
544 * WebCoreSupport/FrameLoaderClientQt.cpp:
545 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
546 * WebCoreSupport/FrameLoaderClientQt.h:
548 2011-01-21 Sam Weinig <sam@webkit.org>
550 Reviewed by Anders Carlsson.
552 Part 2 of "Cleanup Scrollbar/ScrollbarClient relationship"
553 https://bugs.webkit.org/show_bug.cgi?id=52779
555 Rename ScrollbarClient -> ScrollableArea.
558 (QWebFrame::setScrollBarValue):
560 2011-01-20 Sam Weinig <sam@webkit.org>
565 (QWebFrame::setScrollBarValue):
567 2011-01-20 Sam Weinig <sam@webkit.org>
572 (QWebFrame::setScrollBarValue):
574 2011-01-20 Sam Weinig <sam@webkit.org>
576 Reviewed by Dave Hyatt.
578 Cleanup Scrollbar/ScrollbarClient relationship
579 https://bugs.webkit.org/show_bug.cgi?id=52779
582 (QWebFrame::setScrollBarValue):
584 2011-01-19 Simon Fraser <simon.fraser@apple.com>
586 Reviewed by Sam Weinig.
588 GraphicsLayers in subframes can get sync'd multiple times
589 https://bugs.webkit.org/show_bug.cgi?id=52489
591 * WebCoreSupport/PageClientQt.cpp:
592 (WebCore::PageClientQWidget::syncLayers): syncCompositingStateRecursive()
593 was renamed to syncCompositingStateIncludingSubframes().
595 2011-01-19 Csaba Osztrogonác <ossy@webkit.org>
597 Reviewed by Laszlo Gombos and Tor Arne Vestbø.
599 [Qt] Remove unnecessary "../Source" from paths
600 after moving source files into Source is finished.
602 * Api/DerivedSources.pro:
604 2011-01-18 Robert Hogan <robert@webkit.org>
606 Reviewed by Simon Hausmann.
608 [Qt] http/tests/incremental/slow-utf8-text.pl fails
609 https://bugs.webkit.org/show_bug.cgi?id=44282
611 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
612 (DumpRenderTreeSupportQt::responseMimeType):
613 * WebCoreSupport/DumpRenderTreeSupportQt.h:
615 2011-01-17 Alexey Proskuryakov <ap@apple.com>
617 https://bugs.webkit.org/show_bug.cgi?id=52495
619 * Api/qwebframe.cpp: (QWebFrame::print): Avoid breaking the build due to type mismatch.
620 Longer term, this code should be changed to use an unsigned type for page count.
622 2011-01-17 Yi Shen <yi.4.shen@nokia.com>
624 Reviewed by Andreas Kling.
626 [Qt] Extend the Platform Plugin to support full screen video handler
627 https://bugs.webkit.org/show_bug.cgi?id=51249
629 Add a new webkit platform plugin interface to support full screen video handler.
631 * Api/qwebkitplatformplugin.h:
632 (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
633 (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
634 * WebCoreSupport/ChromeClientQt.cpp:
635 (WebCore::ChromeClientQt::ChromeClientQt):
636 (WebCore::ChromeClientQt::~ChromeClientQt):
637 (WebCore::ChromeClientQt::fullScreenVideo):
638 (WebCore::ChromeClientQt::supportsFullscreenForNode):
639 (WebCore::ChromeClientQt::requiresFullscreenForVideoPlayback):
640 (WebCore::ChromeClientQt::enterFullscreenForNode):
641 (WebCore::ChromeClientQt::exitFullscreenForNode):
642 * WebCoreSupport/ChromeClientQt.h:
643 * WebCoreSupport/FullScreenVideoQt.cpp: Added.
644 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
645 (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
646 (WebCore::FullScreenVideoQt::enterFullScreenForNode):
647 (WebCore::FullScreenVideoQt::exitFullScreenForNode):
648 (WebCore::FullScreenVideoQt::aboutToClose):
649 (WebCore::FullScreenVideoQt::mediaPlayer):
650 (WebCore::FullScreenVideoQt::mediaPlayerForNode):
651 (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
652 * WebCoreSupport/FullScreenVideoQt.h: Added.
653 (WebCore::FullScreenVideoQt::isValid):
654 * WebCoreSupport/QtPlatformPlugin.cpp:
655 (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
656 * WebCoreSupport/QtPlatformPlugin.h:
657 * examples/platformplugin/WebPlugin.cpp:
658 (FullScreenVideoWidget::FullScreenVideoWidget):
659 (FullScreenVideoWidget::event):
660 (FullScreenVideoWidget::keyPressEvent):
661 (FullScreenVideoHandler::FullScreenVideoHandler):
662 (FullScreenVideoHandler::~FullScreenVideoHandler):
663 (FullScreenVideoHandler::requiresFullScreenForVideoPlayback):
664 (FullScreenVideoHandler::enterFullScreen):
665 (FullScreenVideoHandler::exitFullScreen):
666 (WebPlugin::supportsExtension):
667 (WebPlugin::createExtension):
668 * examples/platformplugin/WebPlugin.h:
669 (FullScreenVideoWidget::~FullScreenVideoWidget):
670 * examples/platformplugin/platformplugin.pro:
671 * examples/platformplugin/qwebkitplatformplugin.h:
672 (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
673 (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
675 2011-01-16 Adam Barth <abarth@webkit.org>
677 Rubber-stamped by Eric Seidel.
679 Move WebKit into Source
680 https://bugs.webkit.org/show_bug.cgi?id=52530
682 * Api/DerivedSources.pro:
683 * declarative/declarative.pro:
687 2011-01-15 Sheriff Bot <webkit.review.bot@gmail.com>
689 Unreviewed, rolling out r75708.
690 http://trac.webkit.org/changeset/75708
691 https://bugs.webkit.org/show_bug.cgi?id=52521
693 Breaks Qt build if mobility is not installed. (Requested by
694 benjaminp on #webkit).
696 * Api/qwebkitplatformplugin.h:
697 * WebCoreSupport/ChromeClientQt.cpp:
698 (WebCore::ChromeClientQt::ChromeClientQt):
699 (WebCore::ChromeClientQt::~ChromeClientQt):
700 * WebCoreSupport/ChromeClientQt.h:
701 * WebCoreSupport/FullScreenVideoQt.cpp: Removed.
702 * WebCoreSupport/FullScreenVideoQt.h: Removed.
703 * WebCoreSupport/QtPlatformPlugin.cpp:
704 * WebCoreSupport/QtPlatformPlugin.h:
705 * examples/platformplugin/WebPlugin.cpp:
706 (WebPlugin::supportsExtension):
707 (WebPlugin::createExtension):
708 * examples/platformplugin/WebPlugin.h:
709 * examples/platformplugin/platformplugin.pro:
710 * examples/platformplugin/qwebkitplatformplugin.h:
712 2011-01-15 Robert Hogan <robert@webkit.org>
714 Reviewed by Kenneth Rohde Christiansen.
716 [Qt] plugins/no-mime-with-valid-extension.html fails
717 Check extension of resource against installed
718 plugins when determining mime-type.
720 https://bugs.webkit.org/show_bug.cgi?id=52288
721 https://bugs.webkit.org/show_bug.cgi?id=50657
723 * WebCoreSupport/FrameLoaderClientQt.cpp:
724 (WebCore::FrameLoaderClientQt::objectContentType):
726 2011-01-14 Sam Magnuson <smagnuso@gmail.com>
728 Reviewed by Kenneth Rohde Christiansen.
730 [Qt] Compile with QT_NO_GRAPHICSVIEW
731 https://bugs.webkit.org/show_bug.cgi?id=49750
733 * Api/qgraphicswebview.cpp:
734 * Api/qgraphicswebview.h:
738 * WebCoreSupport/FrameLoaderClientQt.cpp:
739 (WebCore::FrameLoaderClientQt::createPlugin):
740 * WebCoreSupport/PageClientQt.cpp:
741 * WebCoreSupport/PageClientQt.h:
743 2011-01-14 Yuzo Fujishima <yuzo@google.com>
745 Reviewed by Antti Koivisto.
747 Rename cache() to memoryCache()
748 https://bugs.webkit.org/show_bug.cgi?id=52433
751 (QWebPagePrivate::_q_cleanupLeakMessages):
752 * Api/qwebsettings.cpp:
753 (QWebSettings::clearMemoryCaches):
754 (QWebSettings::setObjectCacheCapacities):
756 2011-01-14 Konstantin Tokarev <annulen@yandex.ru>
758 Reviewed by Laszlo Gombos.
760 [Qt] Fixed compilation when QT_NO_SHORTCUT is defined
761 https://bugs.webkit.org/show_bug.cgi?id=52460
763 This patch fixes compilation when QT_NO_SHORTCUT is defined in Qt
766 * WebCoreSupport/EditorClientQt.cpp:
767 (WebCore::EditorClientQt::handleKeyboardEvent): Added QT_NO_SHORTCUT guards
769 2011-01-13 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
771 Reviewed by Simon Hausmann.
773 [Qt] Need a way to inform the application when a Netscape plugin is created.
774 https://bugs.webkit.org/show_bug.cgi?id=30179
776 Added "c" style static method for the application to hook up for
777 receiving notifications when a plugin is created.
779 * symbian/bwins/QtWebKitu.def:
780 * symbian/eabi/QtWebKitu.def:
782 2011-01-13 Yi Shen <yi.4.shen@nokia.com>
784 Reviewed by Simon Hausmann.
786 [Qt] Extend the Platform Plugin to support full screen video handler
787 https://bugs.webkit.org/show_bug.cgi?id=51249
789 Add a new webkit platform plugin interface to support full screen video handler.
791 * Api/qwebkitplatformplugin.h:
792 (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
793 (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
794 * WebCoreSupport/ChromeClientQt.cpp:
795 (WebCore::ChromeClientQt::ChromeClientQt):
796 (WebCore::ChromeClientQt::~ChromeClientQt):
797 (WebCore::ChromeClientQt::fullScreenVideo):
798 (WebCore::ChromeClientQt::supportsFullscreenForNode):
799 (WebCore::ChromeClientQt::requiresFullscreenForVideoPlayback):
800 (WebCore::ChromeClientQt::enterFullscreenForNode):
801 (WebCore::ChromeClientQt::exitFullscreenForNode):
802 * WebCoreSupport/ChromeClientQt.h:
803 * WebCoreSupport/FullScreenVideoQt.cpp: Added.
804 (WebCore::FullScreenVideoQt::FullScreenVideoQt):
805 (WebCore::FullScreenVideoQt::~FullScreenVideoQt):
806 (WebCore::FullScreenVideoQt::enterFullScreenForNode):
807 (WebCore::FullScreenVideoQt::exitFullScreenForNode):
808 (WebCore::FullScreenVideoQt::aboutToClose):
809 (WebCore::FullScreenVideoQt::mediaPlayer):
810 (WebCore::FullScreenVideoQt::mediaPlayerForNode):
811 (WebCore::FullScreenVideoQt::requiresFullScreenForVideoPlayback):
812 * WebCoreSupport/FullScreenVideoQt.h: Added.
813 (WebCore::FullScreenVideoQt::isValid):
814 * WebCoreSupport/QtPlatformPlugin.cpp:
815 (WebCore::QtPlatformPlugin::createFullScreenVideoHandler):
816 * WebCoreSupport/QtPlatformPlugin.h:
817 * examples/platformplugin/WebPlugin.cpp:
818 (FullScreenVideoWidget::FullScreenVideoWidget):
819 (FullScreenVideoWidget::event):
820 (FullScreenVideoWidget::keyPressEvent):
821 (FullScreenVideoHandler::FullScreenVideoHandler):
822 (FullScreenVideoHandler::~FullScreenVideoHandler):
823 (FullScreenVideoHandler::requiresFullScreenForVideoPlayback):
824 (FullScreenVideoHandler::enterFullScreen):
825 (FullScreenVideoHandler::exitFullScreen):
826 (WebPlugin::supportsExtension):
827 (WebPlugin::createExtension):
828 * examples/platformplugin/WebPlugin.h:
829 (FullScreenVideoWidget::~FullScreenVideoWidget):
830 * examples/platformplugin/platformplugin.pro:
831 * examples/platformplugin/qwebkitplatformplugin.h:
832 (QWebFullScreenVideoHandler::QWebFullScreenVideoHandler):
833 (QWebFullScreenVideoHandler::~QWebFullScreenVideoHandler):
835 2011-01-12 Robert Hogan <robert@webkit.org>
837 Reviewed by Kenneth Rohde Christiansen.
839 [Qt] Search input field doesn't have cancel button
841 Add a cancel button to the search field and make it customizable
842 by the client. For now, use the close dialog button associated
843 with the application's style as the default.
845 https://bugs.webkit.org/show_bug.cgi?id=42887
847 * Api/qwebsettings.cpp:
849 * Api/qwebsettings.h:
851 2011-01-12 Sheriff Bot <webkit.review.bot@gmail.com>
853 Unreviewed, rolling out r74344.
854 http://trac.webkit.org/changeset/74344
855 https://bugs.webkit.org/show_bug.cgi?id=52290
857 broke QWebPluginFactory for unusual mime-types (Requested by
860 * WebCoreSupport/FrameLoaderClientQt.cpp:
861 (WebCore::FrameLoaderClientQt::createPlugin):
863 2011-01-11 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
865 Reviewed by Kenneth Rohde Christiansen.
867 [Qt] Remove uses of QFuture since it isn't supported on all platforms.
868 https://bugs.webkit.org/show_bug.cgi?id=51204
870 * tests/qwebpage/tst_qwebpage.cpp:
871 (QtNAMThread::QtNAMThread):
872 (QtNAMThread::networkAccessManager):
875 2011-01-11 Benjamin Poulain <benjamin.poulain@nokia.com>
877 Reviewed by Kenneth Rohde Christiansen.
879 [Qt] Fix tst_QWebPage::geolocationRequestJS()
880 https://bugs.webkit.org/show_bug.cgi?id=46814
882 Skip the test when WebKit is compiled without geolocation.
884 * tests/qwebpage/tst_qwebpage.cpp:
885 (tst_QWebPage::geolocationRequestJS):
887 2011-01-10 Laszlo Gombos <laszlo.1.gombos@nokia.com>
889 Reviewed by Csaba Osztrogonác.
891 [Qt] Baseline qt_minimal configuration
892 https://bugs.webkit.org/show_bug.cgi?id=51313
894 * WebCoreSupport/PopupMenuQt.cpp:
895 (WebCore::PopupMenuQt::show): Add QT_NO_COMBOBOX guard.
897 * WebCoreSupport/QtFallbackWebPopup.cpp:
898 (WebCore::QtFallbackWebPopup::populate): Add QT_NO_TOOLTIP guard.
900 * tests/qwebframe/tst_qwebframe.cpp: Add QT_NO_COMBOBOX guard.
901 * tests/qwebpage/tst_qwebpage.cpp:
902 (PluginPage::createPlugin): Add QT_NO_INPUTDIALOG guard.
904 2011-01-10 Adam Barth <abarth@webkit.org>
906 Reviewed by Darin Adler.
908 Introduce the notion of a "display-isolated" URL scheme for use by
910 https://bugs.webkit.org/show_bug.cgi?id=50182
912 Update to new function name.
914 * Api/qwebsecurityorigin.cpp:
915 (QWebSecurityOrigin::localSchemes):
917 2011-01-10 Benjamin Poulain <benjamin.poulain@nokia.com>
919 Reviewed by Kenneth Rohde Christiansen.
921 [Qt] Navigator.cookiesEnabled return true for Qt even if there is no cookie jar
922 https://bugs.webkit.org/show_bug.cgi?id=52081
924 Add an autotest for checking the result of Navigator.cookiesEnabled depending
925 on the status of the cookie jar.
927 * tests/qwebpage/tst_qwebpage.cpp:
928 (tst_QWebPage::navigatorCookieEnabled):
930 2011-01-09 Sheriff Bot <webkit.review.bot@gmail.com>
932 Unreviewed, rolling out r75337.
933 http://trac.webkit.org/changeset/75337
934 https://bugs.webkit.org/show_bug.cgi?id=52137
936 It made fast/dom/navigator-detached-no-crash.html crash
937 (Requested by Ossy on #webkit).
939 * tests/qwebpage/tst_qwebpage.cpp:
941 2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
943 Reviewed by Darin Fisher.
945 https://bugs.webkit.org/show_bug.cgi?id=41441
946 createWindow method should only do window-creating without URL navigation
950 * WebCoreSupport/ChromeClientQt.cpp:
951 (WebCore::ChromeClientQt::createWindow):
953 2011-01-08 Benjamin Poulain <benjamin.poulain@nokia.com>
955 Reviewed by Kenneth Rohde Christiansen.
957 [Qt] Navigator.cookiesEnabled return true for Qt even if there is no cookie jar
958 https://bugs.webkit.org/show_bug.cgi?id=52081
960 Add an autotest for checking the result of Navigator.cookiesEnabled depending
961 on the status of the cookie jar.
963 * tests/qwebpage/tst_qwebpage.cpp:
964 (tst_QWebPage::navigatorCookieEnabled):
966 2011-01-07 Adam Barth <abarth@webkit.org>
968 Rubber-stamped by Eric Seidel.
970 Move WebCore to Source
971 https://bugs.webkit.org/show_bug.cgi?id=52050
973 Update documentation to reference new location of WebCore.
975 * docs/qtwebkit.qdoc:
977 2011-01-07 Andreas Kling <kling@webkit.org>
979 Reviewed by Adam Barth.
981 [Qt] Add selectedHtml function to QWebView
982 https://bugs.webkit.org/show_bug.cgi?id=35028
984 Add QWebView::selectedHtml() and QWebPage::selectedHtml()
985 which return the current selection range's HTML representation.
988 (QWebPage::selectedHtml):
991 (QWebView::selectedText):
992 (QWebView::selectedHtml):
994 * tests/qwebpage/tst_qwebpage.cpp:
995 (tst_QWebPage::cursorMovements):
996 (tst_QWebPage::textSelection):
997 (tst_QWebPage::crashTests_LazyInitializationOfMainFrame):
998 (tst_QWebPage::findText):
1000 2011-01-06 Robert Hogan <robert@webkit.org>
1002 Reviewed by Antonio Gomes.
1004 [Qt] Introduce QDRTNode for passing WebCore::Node across JS bridge
1006 This allows LayoutTestController to pass WebCore::Node back to
1009 Also amend nodesFromRect-links-and-text.html and
1010 nodesFromRect-inner-documents.html so that they do not produce
1011 platform-specific results.
1014 fast/dom/nodesFromRect-links-and-text.html
1015 fast/dom/nodesFromRect-inner-documents.html
1017 https://bugs.webkit.org/show_bug.cgi?id=48957
1019 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1020 (QDRTNode::QDRTNode):
1021 (QDRTNode::~QDRTNode):
1022 (DumpRenderTreeSupportQt::nodesFromRect):
1023 * WebCoreSupport/DumpRenderTreeSupportQt.h:
1025 2011-01-04 Girish Ramakrishnan <girish@forwardbias.in>
1027 Reviewed by Simon Hausmann.
1028 Acked by Aaron Kennedy <aaron.kennedy@nokia.com>
1030 [Qt] QML WebView does not transfer focus to underlying QGraphicsWebView
1032 QML WebView creates QGraphicsWebView as it's child. The WebView is not
1033 setup as a focus proxy of the QGraphicsWebView. Thus, even though the
1034 WebView gets focus, the QGraphicsWebView does not get focus.
1035 In QML, focus proxies or "focus scopes" are created using FocusScope.
1036 This change makes WebView a FocusScope and sets the focus on the
1039 https://bugs.webkit.org/show_bug.cgi?id=51094
1041 * declarative/qdeclarativewebview.cpp:
1042 (QDeclarativeWebView::init):
1044 2011-01-05 Yi Shen <yi.4.shen@nokia.com>
1046 Reviewed by Andreas Kling.
1048 [Qt] Sync qwebkitplatformplugin.h in the plugin example
1049 https://bugs.webkit.org/show_bug.cgi?id=51882
1051 Make examples/platformplugin/qwebkitplatformplugin.h exactly the same
1052 as the one in the Api folder.
1054 * examples/platformplugin/qwebkitplatformplugin.h:
1056 2011-01-04 Zhe Su <suzhe@chromium.org>
1058 Reviewed by Kenneth Russell.
1060 Fix test LayoutTests/fast/events/ime-composition-events-001.html.
1062 https://bugs.webkit.org/show_bug.cgi?id=51693
1065 (QWebPagePrivate::inputMethodEvent): Calls editor->insertText() to
1066 insert the commit string when no composition text is available.
1068 2011-01-03 Yi Shen <yi.4.shen@nokia.com>
1070 Reviewed by Adam Barth.
1072 [Qt] Add SelectAll option to the context menu for the editor
1073 https://bugs.webkit.org/show_bug.cgi?id=50049
1075 Enable SelectAll for the Qt context menu.
1078 (webActionForContextMenuAction):
1080 * WebCoreSupport/WebPlatformStrategies.cpp:
1081 (WebPlatformStrategies::contextMenuItemTagSelectAll):
1082 * WebCoreSupport/WebPlatformStrategies.h:
1084 2011-01-03 Antonio Gomes <agomes@rim.com>
1086 Unreviewed crash fix.
1088 Follow up of r74891: potential crash fix (bogus assertion).
1090 * WebCoreSupport/EditorClientQt.cpp:
1091 (WebCore::editorCommandForKeyDownEvent):
1093 2011-01-03 Noam Rosenthal <noam.rosenthal@nokia.com>
1095 Reviewed by Andreas Kling.
1097 [Qt] document.getElementById(...) doesn't return the right object in combination with QGraphicsWidget
1098 https://bugs.webkit.org/show_bug.cgi?id=51464
1100 Added a way to bind any QObject created as a plugin to JavaScript,
1101 by adding a custom membe to WebCore::Widget.
1102 Added a test to make sure plugins created as QGraphicsWidget are
1103 accessible through JavaScript.
1105 * WebCoreSupport/FrameLoaderClientQt.cpp:
1106 * tests/qwebpage/tst_qwebpage.cpp:
1107 (PluginPage::createPlugin):
1108 (tst_QWebPage::graphicsWidgetPlugin):
1110 2011-01-02 Antonio Gomes <agomes@rim.com>
1112 Reviewed by Kenneth Rohde Christiansen.
1114 [Qt] Refactor EditorClientQt::handleKeyboardEvent
1115 https://bugs.webkit.org/show_bug.cgi?id=51306
1117 EditorClientQt::handleKeyboardEvent relies on QWebPagePrivate::editorActionForKeyEvent()
1118 to handle all editor commands that have a QAction associted with it.
1119 In practice, that covers most of editor commands (as one can see in editorCommandWebActions,
1120 in qwebpage.cpp). However, there are some key down events that are associated to no QAction
1121 or need special handling when features like spatial navigation or
1122 caret browsing are enabled. Currently, these cases are being handled with confusing
1123 and nested if/else switch's statements in EditorClientQt::handleKeyboardEvent(),
1124 and the code is hardly readable.
1126 This patch introduces a mapping hash for those cases, simplifying much
1127 the code. Basically, nested switches statements mixed with if/else's were
1128 refactored, and early returns were added right after an event gets consumed
1131 Since it is a refactor only patch, there is no funcionality change at
1132 all, and then no new tests are being added.
1134 * WebCoreSupport/EditorClientQt.cpp:
1135 (WebCore::interpretKeyEvent):
1136 (WebCore::EditorClientQt::handleKeyboardEvent):
1138 2011-01-01 Adam Barth <abarth@webkit.org>
1140 Reviewed by Eric Seidel.
1142 Move JavaScriptCore to Source
1143 https://bugs.webkit.org/show_bug.cgi?id=51604
1146 * docs/qtwebkit.qdocconf:
1147 - Point to JavaScriptCore in its new location.
1149 2010-12-29 Kent Hansen <kent.hansen@nokia.com>
1151 Reviewed by Simon Hausmann.
1153 [Qt] Fix compilation with Qt in namespace
1154 https://bugs.webkit.org/show_bug.cgi?id=51701
1156 * Api/qwebkitplatformplugin.h:
1157 * WebCoreSupport/InspectorServerQt.h:
1158 * tests/hybridPixmap/widget.h:
1160 2010-12-23 Jan Erik Hanssen <jhanssen@sencha.com>
1162 Reviewed by Alexey Proskuryakov.
1164 [Qt] Composition text is not removed from the editor when composition is cancelled
1165 https://bugs.webkit.org/show_bug.cgi?id=29391
1167 Ensure that the composition text is cleared when an empty QInputMethodEvent
1168 is received and the editor is in composition mode.
1171 (QWebPagePrivate::inputMethodEvent):
1173 2010-12-23 Jan Erik Hanssen <jhanssen@sencha.com>
1175 Reviewed by Andreas Kling.
1177 [Qt] copy and paste greek symbols to Word, TextEdit results in ?'s being shown
1178 https://bugs.webkit.org/show_bug.cgi?id=35635
1180 Test that QClipboard contains the charset information and unicode data
1181 after copying unicode text.
1183 * tests/qwebpage/tst_qwebpage.cpp:
1184 (tst_QWebPage::macCopyUnicodeToClipboard):
1186 2010-12-22 Sam Weinig <sam@webkit.org>
1188 Reviewed by Darin Adler.
1190 WebKit2 needs to mirror the frame tree in the UIProcess
1191 https://bugs.webkit.org/show_bug.cgi?id=51546
1193 - Add client functions to notify that a frame has been added or
1194 removed from the page cache.
1196 * WebCoreSupport/FrameLoaderClientQt.cpp:
1197 (WebCore::FrameLoaderClientQt::didSaveToPageCache):
1198 (WebCore::FrameLoaderClientQt::didRestoreFromPageCache):
1199 * WebCoreSupport/FrameLoaderClientQt.h:
1201 2010-12-22 Ryosuke Niwa <rniwa@webkit.org>
1203 Reviewed by Eric Seidel.
1205 Editor.h doesn't need to include SelectionController.h
1206 https://bugs.webkit.org/show_bug.cgi?id=51441
1208 Renamed SelectionController::EDirection to SelectionDirection.
1210 * WebCoreSupport/EditorClientQt.cpp:
1211 (WebCore::EditorClientQt::handleKeyboardEvent):
1213 2010-12-23 Dawit Alemayehu <adawit@kde.org>
1215 Reviewed by Kenneth Rohde Christiansen.
1217 [Qt] Add a 'hasSelection' function to QWebView and QWebPage.
1218 https://bugs.webkit.org/show_bug.cgi?id=48722
1220 This is a convenience API that optimizes the case where checking for
1221 the presence of selected content and accessing the selected content
1222 are two separate actions in the client. See comment #12 in the above
1223 bug report link for details.
1226 (QWebPage::hasSelection):
1229 (QWebView::hasSelection):
1231 * tests/qwebpage/tst_qwebpage.cpp:
1232 (tst_QWebPage::textSelection):
1234 2010-12-20 Benjamin Poulain <benjamin.poulain@nokia.com>
1236 Reviewed by Andreas Kling.
1238 [Qt] Improve the readability of FrameLoaderClientQt::createPlugin()
1239 https://bugs.webkit.org/show_bug.cgi?id=51330
1241 Redefine the scopes to improve readability. Objects are now created in
1242 the scope they are used in.
1244 * WebCoreSupport/FrameLoaderClientQt.cpp:
1245 (WebCore::FrameLoaderClientQt::createPlugin):
1247 2010-12-17 Ariya Hidayat <ariya@sencha.com>
1249 Reviewed by Antonio Gomes.
1251 [Qt] GraphicsContext should respect QWebView render hints
1252 https://bugs.webkit.org/show_bug.cgi?id=51208
1254 Adjust the test since SmoothPixmapTransform is set by default.
1256 * tests/qwebview/tst_qwebview.cpp:
1257 (tst_QWebView::renderHints):
1259 2010-12-05 Antonio Gomes <agomes@rim.com>
1261 Reviewed by Ariya Hidayat.
1263 [Qt] Fix caret browsing navigation mode
1264 https://bugs.webkit.org/show_bug.cgi?id=50536
1266 Caret browsing can consume editing commands even when the start
1267 of current selection is not a editable content. r69582 missed this
1268 case because caret browsing feature testing is very poor today.
1270 This commit reintroduces part of the removed code in r69582 but
1271 guarded by a isCaretBrowsingEnabled() check. No regression found.
1273 * WebCoreSupport/EditorClientQt.cpp:
1274 (WebCore::EditorClientQt::handleKeyboardEvent):
1276 2010-12-17 Yi Shen <yi.4.shen@nokia.com>
1278 Reviewed by Kenneth Rohde Christiansen.
1280 [Qt] QWebPage sends out a RequestSoftwareInputPanel event
1281 incorrectly in particular case
1282 https://bugs.webkit.org/show_bug.cgi?id=50419
1284 Add HitTestResult check before firing RequestSoftwareInputPanel event.
1287 (QWebPagePrivate::mouseReleaseEvent):
1288 (QWebPagePrivate::handleSoftwareInputPanel):
1290 * tests/qwebpage/tst_qwebpage.cpp:
1292 (tst_QWebPage::inputMethods):
1294 2010-12-17 Eric Seidel <eric@webkit.org>
1296 Unreviewed, rolling out r74229.
1297 http://trac.webkit.org/changeset/74229
1298 https://bugs.webkit.org/show_bug.cgi?id=50536
1300 Broken on Snow Leopard and possibly other platforms
1302 * WebCoreSupport/EditorClientQt.cpp:
1303 (WebCore::EditorClientQt::handleKeyboardEvent):
1305 2010-12-05 Antonio Gomes <agomes@rim.com>
1307 Reviewed by Ariya Hidayat.
1309 [Qt] Fix caret browsing navigation mode
1310 https://bugs.webkit.org/show_bug.cgi?id=50536
1312 Caret browsing can consume editing commands even when the start
1313 of current selection is not a editable content. r69582 missed this
1314 case because caret browsing feature testing is very poor today.
1316 This commit reintroduces part of the removed code in r69582 but
1317 guarded by a isCaretBrowsingEnabled() check. No regression found.
1319 * WebCoreSupport/EditorClientQt.cpp:
1320 (WebCore::EditorClientQt::handleKeyboardEvent):
1322 2010-12-16 Ariya Hidayat <ariya@sencha.com>
1324 Reviewed by Andreas Kling.
1326 [Qt] GraphicsContext should respect QWebView render hints
1327 https://bugs.webkit.org/show_bug.cgi?id=51208
1329 Add some checks to ensure that GraphicsContext (via QWebFrame)
1330 does not clobber the render hints.
1333 (QWebViewPrivate::QWebViewPrivate):
1334 * tests/qwebframe/tst_qwebframe.cpp:
1336 2010-12-15 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1338 Reviewed by Antonio Gomes.
1340 [Qt] Fix tst_QWebPage::geolocationRequestJS()
1341 https://bugs.webkit.org/show_bug.cgi?id=46814
1343 Change the test case according to the changes introduced by
1344 r72603 and enable the test case.
1346 * tests/qwebpage/tst_qwebpage.cpp:
1347 (tst_QWebPage::geolocationRequestJS):
1349 2010-12-14 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
1351 Reviewed by Laszlo Gombos.
1353 [Qt] Flash plugins should be windowless on QGraphicsWebView on Symbian
1354 Remove #idef SYMBIAN introduced by r69396.
1355 https://bugs.webkit.org/show_bug.cgi?id=50487
1357 * WebCoreSupport/FrameLoaderClientQt.cpp:
1358 (WebCore::FrameLoaderClientQt::createPlugin):
1360 2010-10-28 MORITA Hajime <morrita@google.com>
1362 Reviewed by Ojan Vafai.
1364 spellcheck does not check pasted text
1365 https://bugs.webkit.org/show_bug.cgi?id=40092
1367 Added a stub implememntation.
1369 * WebCoreSupport/EditorClientQt.h:
1370 (WebCore::EditorClientQt::requestCheckingOfString):
1372 2010-12-11 Yi Shen <yi.4.shen@nokia.com>
1374 Reviewed by Kenneth Rohde Christiansen.
1376 [Qt] Memory leaks for QWebPageClient
1377 https://bugs.webkit.org/show_bug.cgi?id=50267
1379 Use OwnPtr to solve this memory leak issue.
1381 * Api/qgraphicswebview.cpp:
1382 (QGraphicsWebViewPrivate::overlay):
1383 (QGraphicsWebViewPrivate::QWebViewPrivate::pageClient):
1384 (QGraphicsWebViewPrivate::syncLayers):
1385 (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
1386 (QGraphicsWebViewPrivate::_q_scaleChanged):
1387 (QGraphicsWebViewPrivate::detachCurrentPage):
1390 (QWebViewPrivate::detachCurrentPage):
1391 * WebCoreSupport/ChromeClientQt.cpp:
1392 (WebCore::ChromeClientQt::platformPageClient):
1393 * WebCoreSupport/EditorClientQt.cpp:
1394 (WebCore::EditorClientQt::setInputMethodState):
1395 * WebCoreSupport/FrameLoaderClientQt.cpp:
1396 (WebCore::FrameLoaderClientQt::createPlugin):
1398 2010-12-11 Jan Erik Hanssen <jhanssen@sencha.com>
1400 Reviewed by Andreas Kling.
1402 [Qt] QWebFrame does not support QNetworkRequest::CacheLoadControl
1403 https://bugs.webkit.org/show_bug.cgi?id=35671
1405 Make QWebFrame respect the QNetworkRequest::CacheLoadControl attribute
1406 set on the request, if any.
1408 * Api/qwebframe.cpp:
1409 (cacheLoadControlToCachePolicy):
1411 * tests/qwebframe/tst_qwebframe.cpp:
1413 2010-10-11 Diego Gonzalez <diegohcg@webkit.org>
1415 Reviewed by Kenneth Rohde Christiansen.
1417 [Qt] Mock DeviceOrientation client for DRT
1418 https://bugs.webkit.org/show_bug.cgi?id=47490
1420 * WebCoreSupport/DeviceOrientationClientMockQt.cpp: Added.
1421 (WebCore::DeviceOrientationClientMockQt::client):
1422 (WebCore::DeviceOrientationClientMockQt::DeviceOrientationClientMockQt):
1423 (WebCore::DeviceOrientationClientMockQt::~DeviceOrientationClientMockQt):
1424 (WebCore::DeviceOrientationClientMockQt::setController):
1425 (WebCore::DeviceOrientationClientMockQt::startUpdating):
1426 (WebCore::DeviceOrientationClientMockQt::stopUpdating):
1427 (WebCore::DeviceOrientationClientMockQt::lastOrientation):
1428 (WebCore::DeviceOrientationClientMockQt::deviceOrientationControllerDestroyed):
1429 (WebCore::DeviceOrientationClientMockQt::setOrientation):
1430 * WebCoreSupport/DeviceOrientationClientMockQt.h: Added.
1431 * WebCoreSupport/DeviceOrientationClientQt.cpp:
1432 * WebCoreSupport/DeviceOrientationProviderQt.cpp:
1433 (WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
1434 (WebCore::DeviceOrientationProviderQt::~DeviceOrientationProviderQt):
1435 (WebCore::DeviceOrientationProviderQt::changeDeviceOrientation):
1436 * WebCoreSupport/DeviceOrientationProviderQt.h:
1437 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1438 (DumpRenderTreeSupportQt::activeMockDeviceOrientationClient):
1439 (DumpRenderTreeSupportQt::removeMockDeviceOrientation):
1440 (DumpRenderTreeSupportQt::setMockDeviceOrientation):
1441 * WebCoreSupport/DumpRenderTreeSupportQt.h:
1443 2010-12-10 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>
1445 Reviewed by Joseph Pecoraro.
1447 Bug 43455 - [Qt]: Implement Application Cache Quotas
1448 https://bugs.webkit.org/show_bug.cgi?id=43455
1450 Added new signal to report ApplicationCache Database
1456 Added new functions to accomodate new appcache layout
1457 test origin-quota.html.
1459 * Api/qwebsecurityorigin.cpp:
1460 (QWebSecurityOrigin::setApplicationCacheQuota):
1461 * Api/qwebsecurityorigin.h:
1462 * WebCoreSupport/ChromeClientQt.cpp:
1463 (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
1464 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1465 (DumpRenderTreeSupportQt::clearAllApplicationCaches):
1466 * WebCoreSupport/DumpRenderTreeSupportQt.h:
1468 2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
1470 Reviewed by Kenneth Rohde Christiansen.
1472 [Qt] Support a QNetworkAccessManager affined to a different thread.
1473 https://bugs.webkit.org/show_bug.cgi?id=50080
1475 This patch introduce thread safe proxy classes for QNetworkAccessManager
1477 If run in the same thread, these objects will forward the calls with
1478 Qt::DirectConnection bindings, while in the other case they will use
1479 Qt::QueuedConnection to carry requests accross threads.
1481 This patch basically:
1482 - Makes sure that all access goes through these objects
1483 - Reorders signal connections to make sure we are connected when the
1485 - Makes sure that no QObject in the WebCore thread is a child of the
1486 reply which might be in a different thread.
1487 - Forward the data directly in QByteArrays in signals instead of collecting
1488 the data when the signal is handled.
1490 New test: tst_QWebPage::networkAccessManagerOnDifferentThread
1492 * WebCoreSupport/FrameLoaderClientQt.cpp:
1493 (WebCore::FrameLoaderClientQt::download):
1494 * tests/qwebpage/tst_qwebpage.cpp:
1495 (QtNAMThread::QtNAMThread):
1496 (QtNAMThread::~QtNAMThread):
1497 (QtNAMThread::networkAccessManager):
1499 (tst_QWebPage::networkAccessManagerOnDifferentThread):
1501 2010-12-09 Sheriff Bot <webkit.review.bot@gmail.com>
1503 Unreviewed, rolling out r73635.
1504 http://trac.webkit.org/changeset/73635
1505 https://bugs.webkit.org/show_bug.cgi?id=50778
1507 'Side-effects on 3 css tests needs closer review' (Requested
1508 by mwenge on #webkit).
1510 * Api/qwebsettings.cpp:
1512 * Api/qwebsettings.h:
1514 2010-12-09 Robert Hogan <robert@webkit.org>
1516 Reviewed by Andreas Kling.
1518 [Qt] Search input field doesn't have cancel button
1520 Add a cancel button to the search field and make it customizable
1521 by the client. For now, use the close dialog button associated
1522 with the application's style as the default.
1524 https://bugs.webkit.org/show_bug.cgi?id=42887
1526 * Api/qwebsettings.cpp:
1528 * Api/qwebsettings.h:
1530 2010-12-09 Siddharth Mathur <siddharth.mathur@nokia.com>
1532 Reviewed by Laszlo Gombos.
1534 Use BUILDING_WEBKIT like other ports
1535 https://bugs.webkit.org/show_bug.cgi?id=50713
1537 * Api/qwebkitglobal.h: change BUILD_WEBKIT to BUILDING_WEBKIT
1539 2010-12-08 Qi Zhang <qi.2.zhang@nokia.com>
1541 Reviewed by Kenneth Rohde Christiansen.
1543 [Qt] Support OrientationChange event
1544 https://bugs.webkit.org/show_bug.cgi?id=50685
1546 Get OrientationChange event from qtmobility then send to webkit.
1548 * Api/qwebframe.cpp:
1549 (QWebFrame::orientationChanged):
1550 (QWebFrame::QWebFrame):
1552 * Api/qwebframe_p.h:
1554 2010-12-07 Brian Weinstein <bweinstein@apple.com>
1556 Reviewed by John Sullivan.
1558 Layering Violation in ContextMenu - member variable of type HitTestResult
1559 https://bugs.webkit.org/show_bug.cgi?id=50586
1561 Update users of ContextMenu and ContextMenuController to match where the new functions
1565 (QWebPagePrivate::createContextMenu):
1566 (QWebPage::updatePositionDependentActions):
1568 2010-12-07 Darin Adler <darin@apple.com>
1573 (frameLoadRequest): Added missing parentheses.
1575 2010-12-06 Darin Adler <darin@apple.com>
1577 Reviewed by Sam Weinig.
1579 Pass security origin to make local file decision correctly
1580 https://bugs.webkit.org/show_bug.cgi?id=48603
1583 (frameLoadRequest): Pass security origin.
1585 2010-12-07 Martin Robinson <mrobinson@igalia.com>
1587 Unreviewed, rolling out r73392.
1588 http://trac.webkit.org/changeset/73392
1589 https://bugs.webkit.org/show_bug.cgi?id=50489
1591 This commit caused crashes on the GTK+ bots
1593 * Api/qwebframe.cpp:
1594 (QWebFrame::setUrl):
1595 * WebCoreSupport/FrameLoaderClientQt.cpp:
1596 (WebCore::FrameLoaderClientQt::finishedLoading):
1598 2010-12-06 Nate Chapin <japhet@chromium.org>
1600 Reviewed by Adam Barth.
1602 Update calls to DocumentWriter.
1603 https://bugs.webkit.org/show_bug.cgi?id=50489
1605 * Api/qwebframe.cpp:
1606 (QWebFrame::setUrl):
1607 * WebCoreSupport/FrameLoaderClientQt.cpp:
1608 (WebCore::FrameLoaderClientQt::finishedLoading):
1610 2010-12-01 Jia Pu <jpu@apple.com>
1612 Reviewed by Darin Adler.
1614 Support multiple correction candidates panel for misspelled word on Mac OS X.
1615 https://bugs.webkit.org/show_bug.cgi?id=50137
1616 <rdar://problem/8568059>
1618 Adopted new function signature defined in base class.
1620 * WebCoreSupport/EditorClientQt.cpp:
1621 (WebCore::EditorClientQt::getGuessesForWord):
1622 * WebCoreSupport/EditorClientQt.h:
1624 2010-11-30 Benjamin Poulain <benjamin.poulain@nokia.com>
1626 Reviewed by Kenneth Rohde Christiansen.
1628 [Qt] Implement layoutTestController.findString
1629 https://bugs.webkit.org/show_bug.cgi?id=50236
1631 Add support for the new advanced findString().
1633 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1634 (DumpRenderTreeSupportQt::findString):
1635 * WebCoreSupport/DumpRenderTreeSupportQt.h:
1637 2010-11-30 Ojan Vafai <ojan@chromium.org>
1639 Revert r72876. It caused a ~30% perf regression in chromium's bloat-http test
1640 https://bugs.webkit.org/show_bug.cgi?id=50288
1642 2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
1643 Reviewed by Darin Adler.
1644 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
1645 https://bugs.webkit.org/show_bug.cgi?id=50182
1646 A display-isolated URL can only be displayed (e.g., put in an iframe,
1647 hyperlinked to) by documents from that scheme. In a sense, this is a
1648 generalization of some of the protections we give file URLs, but
1649 instead of lumping them all together into one "local" bucket, this
1650 patch creates a separate bucket for each scheme.
1651 For a while, I tried using a separate bucket for each origin. That
1652 would have played nicely with what Blob URLs are trying to do, but some
1653 "chrome" URL pages rely on being able to display other chrome URL
1654 pages, even in different origins. For example, the New Tab Page shows
1655 thumbnails from the "thumbnail" host.
1656 This patch also removes a bunch of unused code. I've also propagated
1657 the "deprecated" status of deprecatedCanDisplay to
1658 deprecatedShouldTreatURLAsLocal because that method has no other
1659 callers and is really asking for uppercase/lowercase bugs. I dream of
1660 someday removing these functions.
1661 2010-11-29 Adam Barth <abarth@webkit.org (:abarth) (r)>
1662 Reviewed by Darin Adler.
1663 Introduce the notion of a "display-isolated" URL scheme for use by Chrome-internal URLs
1664 https://bugs.webkit.org/show_bug.cgi?id=50182
1665 This patch adds a Chromium API for registering schemes as
1666 display-isolated. In a subsequent patch, I'll change the "chrome"
1667 scheme in Chrome to be display isolated instead of local. That will
1668 prevent file URLs from linking to chrome URLs.
1670 * Api/qwebsecurityorigin.cpp:
1671 (QWebSecurityOrigin::localSchemes):
1673 2010-11-29 Vangelis Kokkevis <vangelis@chromium.org>
1675 Reviewed by Simon Fraser.
1677 Provide more fine grained control to ports over when to turn on accelerated
1679 https://bugs.webkit.org/show_bug.cgi?id=49998
1681 As part of this change, the old hasAcceleratedCompositing method on the ChromeClient
1682 has now been replaced by allowedCompositingTriggers which returns a bitfield of
1683 all the features which can trigger the compositor.
1686 * WebCoreSupport/ChromeClientQt.cpp:
1687 (WebCore::ChromeClientQt::allowedCompositingTriggers):
1688 * WebCoreSupport/ChromeClientQt.h:
1690 2010-11-30 Thiago Macieira <thiago.macieira@nokia.com>
1692 Reviewed by Andreas Kling.
1694 [Qt] QWebFrame::load(QNetworkRequest) should respect the CustomVerbAttribute
1696 For CustomOperation requests, pass the CustomVerbAttribute on to
1697 the WebCore::ResourceRequest.
1699 * Api/qwebframe.cpp:
1702 2010-11-25 Norbert Leser <norbert.leser@nokia.com>
1704 Reviewed by Laszlo Gombos.
1706 Updated Symbian DEF file for ARM target due to API changes
1707 via committs r72600-72603 (see bug# 46810)
1709 * symbian/eabi/QtWebKitu.def:
1711 2010-11-25 Kenneth Rohde Christiansen <kenneth@webkit.org>
1713 Reviewed by Andreas Kling and Simon Hausmann.
1715 [Qt] Calculate the -webkit-pixel-radio using the device DPI.
1716 http://webkit.org/b/50059
1718 Also, update the documentation on what a DIP is and how to override
1719 the device DPI in the case the system reports the wrong one (which
1720 unfortunately is common on X11).
1723 (QWebPagePrivate::QWebPagePrivate):
1724 (QWebPage::viewportAttributesForSize):
1726 * WebCoreSupport/ChromeClientQt.cpp:
1727 (WebCore::ChromeClientQt::scaleFactor):
1729 2010-11-24 Kristian Amlie <kristian.amlie@nokia.com>
1731 Reviewed by Andreas Kling.
1733 Fixed handling of QInputMethodEvents with nonzero replacementLength.
1735 These types of events replace text that is already in the widget, but
1736 WebKit did not check for replacementLength at all.
1738 https://bugs.webkit.org/show_bug.cgi?id=49787
1741 (QWebPagePrivate::inputMethodEvent):
1742 * tests/qwebpage/tst_qwebpage.cpp:
1743 (tst_QWebPage::inputMethods):
1745 2010-11-24 Andras Becsi <abecsi@inf.u-szeged.hu>
1747 Reviewed by Kenneth Rohde Christiansen.
1749 Make WebKit2 compile with !ENABLE(INSPECTOR).
1750 https://bugs.webkit.org/show_bug.cgi?id=49973
1752 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
1753 (DumpRenderTreeSupportQt::setJavaScriptProfilingEnabled):
1755 2010-11-24 Sheriff Bot <webkit.review.bot@gmail.com>
1757 Unreviewed, rolling out r72650.
1758 http://trac.webkit.org/changeset/72650
1759 https://bugs.webkit.org/show_bug.cgi?id=50010
1761 breaks focus in scenes focus item other than graphicswebiview
1762 (Requested by tronical_ on #webkit).
1764 * Api/qgraphicswebview.cpp:
1765 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
1766 (QGraphicsWebView::QGraphicsWebView):
1767 (QGraphicsWebView::itemChange):
1768 * Api/qgraphicswebview.h:
1769 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
1771 2010-11-24 Jan Erik Hanssen <jhanssen@sencha.com>
1773 Reviewed by Kenneth Rohde Christiansen.
1775 [Qt] Html autofocus not working with QGraphicsWebView
1776 https://bugs.webkit.org/show_bug.cgi?id=43169
1778 QGraphicsScene does not propagate Qt::ActivateWindowFocusReason focus
1779 events when there are no active items.
1781 * Api/qgraphicswebview.cpp:
1782 (QGraphicsWebViewPrivate::QGraphicsWebViewPrivate):
1783 (QGraphicsWebView::QGraphicsWebView):
1784 (QGraphicsWebView::eventFilter):
1785 (QGraphicsWebView::itemChange):
1786 * Api/qgraphicswebview.h:
1787 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
1788 (FocusPage::FocusPage):
1790 (FocusPage::gotFocus):
1791 (tst_QGraphicsWebView::receivesFocusInOnShow):
1793 2010-11-23 Kenneth Rohde Christiansen <kenneth@webkit.org>
1795 Reviewed by Andreas Kling.
1797 Adapt to setShouldDelegateScrolling not being a real setting anymore.
1798 We now similarily to setUseFixedLayout and setPaintEntireContents
1799 set it on the FrameView wen transitioning to a new page.
1801 * Api/qgraphicswebview.cpp:
1802 (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
1803 * WebCoreSupport/FrameLoaderClientQt.cpp:
1804 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1806 2010-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
1808 Reviewed by Kenneth Rohde Christiansen.
1810 [Qt] Fix compilation with !ENABLE(INSPECTOR)
1811 https://bugs.webkit.org/show_bug.cgi?id=49942
1813 Add ENABLE(INSPECTOR) to the Qt specific files following r71981.
1815 * WebCoreSupport/InspectorClientQt.cpp:
1816 (WebCore::InspectorClientQt::inspectorDestroyed):
1817 (WebCore::InspectorClientQt::openInspectorFrontend):
1818 (WebCore::InspectorClientQt::sendMessageToFrontend):
1819 * WebCoreSupport/InspectorServerQt.cpp:
1820 (WebCore::InspectorServerRequestHandlerQt::webSocketReadyRead):
1822 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
1824 Reviewed by Andreas Kling.
1826 [Qt] Restore binary compatibility with the QtWebKit 2.1 branch
1828 Re-order the enums by adding new enum entries to the end.
1830 * Api/qwebsettings.h:
1832 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
1834 Reviewed by Tor Arne Vestbø.
1836 [Qt] Review the setUserPermission & friends API
1837 https://bugs.webkit.org/show_bug.cgi?id=46810
1839 Renamed requestPermissionFromUser to featurePermissionRequested
1840 and cancelRequestsForPermission to featurePermissionRequestCanceled.
1843 * WebCoreSupport/GeolocationPermissionClientQt.cpp:
1844 (WebCore::GeolocationPermissionClientQt::requestGeolocationPermissionForFrame):
1845 (WebCore::GeolocationPermissionClientQt::cancelGeolocationPermissionRequestForFrame):
1846 * WebCoreSupport/NotificationPresenterClientQt.cpp:
1847 (WebCore::NotificationPresenterClientQt::requestPermission):
1848 (WebCore::NotificationPresenterClientQt::cancelRequestsForPermission):
1850 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
1852 Reviewed by Tor Arne Vestbø.
1854 [Qt] Review the setUserPermission & friends API
1855 https://bugs.webkit.org/show_bug.cgi?id=46810
1857 Rename setUserPermission to setFeaturePermission
1860 (QWebPage::setFeaturePermission):
1862 * tests/qwebpage/tst_qwebpage.cpp:
1863 (JSTestPage::requestPermission):
1865 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
1867 Reviewed by Tor Arne Vestbø.
1869 [Qt] Review the setUserPermission & friends API
1870 https://bugs.webkit.org/show_bug.cgi?id=46810
1872 Rename PermissionDomain to Feature, NotificationsPermissionDomain to Notifications
1873 and GeolocationPermissionDomain to Geolocation.
1876 (QWebPage::setUserPermission):
1878 * WebCoreSupport/GeolocationPermissionClientQt.cpp:
1879 (WebCore::GeolocationPermissionClientQt::requestGeolocationPermissionForFrame):
1880 (WebCore::GeolocationPermissionClientQt::cancelGeolocationPermissionRequestForFrame):
1881 * WebCoreSupport/NotificationPresenterClientQt.cpp:
1882 (WebCore::NotificationPresenterClientQt::requestPermission):
1883 (WebCore::NotificationPresenterClientQt::cancelRequestsForPermission):
1884 * tests/qwebpage/tst_qwebpage.cpp:
1885 (JSTestPage::requestPermission):
1886 (tst_QWebPage::geolocationRequestJS):
1888 2010-11-23 Simon Hausmann <simon.hausmann@nokia.com>
1890 Reviewed by Tor Arne Vestbø.
1892 [Qt] Review the setUserPermission & friends API
1893 https://bugs.webkit.org/show_bug.cgi?id=46810
1895 Add a ByUser suffix to PermissionGranted/Denied. In the future
1896 we can add PermissionGrantedByDefault.
1899 (QWebPage::setUserPermission):
1901 * WebCoreSupport/GeolocationPermissionClientQt.cpp:
1902 (WebCore::GeolocationPermissionClientQt::setPermission):
1903 * tests/qwebpage/tst_qwebpage.cpp:
1904 (JSTestPage::requestPermission):
1906 2010-11-22 Jan Erik Hanssen <jhanssen@sencha.com>
1908 Reviewed by Kenneth Rohde Christiansen.
1910 [Qt] QWebElement::appendInside() doesn't work on head elements
1911 https://bugs.webkit.org/show_bug.cgi?id=49166
1913 Make QWebElement::appendInside() call
1914 Element::deprecatedCreateContextualFragment(), bypassing the check for
1915 the HEAD tag in the HTMLElement implementation of this function.
1917 * Api/qwebelement.cpp:
1918 (QWebElement::appendInside):
1919 * tests/qwebelement/tst_qwebelement.cpp:
1920 (tst_QWebElement::addElementToHead):
1922 2010-11-20 Andreas Kling <kling@webkit.org>
1924 Reviewed by Antonio Gomes.
1926 [Qt] Dragging a selection should use a rendering of the selection as "cursor" for the drag
1927 https://bugs.webkit.org/show_bug.cgi?id=49870
1929 * WebCoreSupport/DragClientQt.cpp:
1930 (WebCore::DragClientQt::startDrag): Pass the DragImage to QDrag::setPixmap()
1932 2010-11-20 Sam Magnuson <smagnuso@gmail.com>
1934 Reviewed by Andreas Kling.
1936 [Qt] crash when attempting to add a JS object
1937 https://bugs.webkit.org/show_bug.cgi?id=49287
1939 * Api/qwebframe.cpp:
1940 (QWebFrame::addToJavaScriptWindowObject):
1942 Test: LayoutTests/fast/frames/sandboxed-iframe-plugins.html
1944 2010-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
1946 Unreviewed, rolling out r72471.
1947 http://trac.webkit.org/changeset/72471
1948 https://bugs.webkit.org/show_bug.cgi?id=49865
1950 broke two IME tests on Qt (Requested by kling on #webkit).
1953 (QWebPagePrivate::inputMethodEvent):
1954 * tests/qwebpage/tst_qwebpage.cpp:
1955 (tst_QWebPage::inputMethods):
1957 2010-11-19 Kristian Amlie <kristian.amlie@nokia.com>
1959 Reviewed by Andreas Kling.
1961 Fixed handling of QInputMethodEvents with nonzero replacementLength.
1963 These types of events replace text that is already in the widget, but
1964 WebKit did not check for replacementLength at all.
1966 Also made sure that the preeditString is always respected, even if
1967 there is committed text. This is how QLineEdit does it.
1969 https://bugs.webkit.org/show_bug.cgi?id=49787
1972 (QWebPagePrivate::inputMethodEvent):
1973 * tests/qwebpage/tst_qwebpage.cpp:
1974 (tst_QWebPage::inputMethods):
1976 2010-11-19 Benjamin Poulain <benjamin.poulain@nokia.com>
1978 Reviewed by Kenneth Rohde Christiansen.
1980 [Qt] Transition and animation do not work with QWebView anymore
1981 https://bugs.webkit.org/show_bug.cgi?id=49797
1983 Accelerated compositing should not be enabled on QWebView without
1986 * WebCoreSupport/PageClientQt.h:
1987 (WebCore::PageClientQWidget::allowsAcceleratedCompositing):
1989 2010-11-19 Yi Shen <yi.4.shen@nokia.com>
1991 Reviewed by Laszlo Gombos.
1993 [Qt] Memory leak in QWebInspector
1994 https://bugs.webkit.org/show_bug.cgi?id=49765
1996 Delete QWebInspectorPrivate in ~QWebInspector()
1998 * Api/qwebinspector.cpp:
1999 (QWebInspector::~QWebInspector):
2001 2010-11-19 Sam Magnuson <smagnuso@gmail.com>
2003 Reviewed by Andreas Kling.
2005 [Qt] Compile with QT_NO_UNDOCOMMAND
2006 https://bugs.webkit.org/show_bug.cgi?id=49752
2008 * WebCoreSupport/EditCommandQt.cpp:
2009 (EditCommandQt::EditCommandQt):
2010 * WebCoreSupport/EditCommandQt.h:
2012 2010-11-19 Yi Shen <yi.4.shen@nokia.com>
2014 Reviewed by Andreas Kling.
2016 https://bugs.webkit.org/show_bug.cgi?id=49200
2017 [Qt] bugs in Composition mode for QWebPage::inputMethodEvent & inputMethodQuery()
2019 Make QWebPage work as following when editor is in composition mode:
2020 1. anchor position and cursor position are the same and always >= 0
2021 2. current selection is always null
2024 (QWebPagePrivate::inputMethodEvent):
2025 (QWebPage::inputMethodQuery):
2026 * tests/qwebpage/tst_qwebpage.cpp:
2027 (tst_QWebPage::inputMethods):
2029 2010-11-18 Gavin Barraclough <barraclough@apple.com>
2031 Build fix - update error messages folllowing r72360.
2033 * tests/qwebframe/tst_qwebframe.cpp:
2035 2010-11-12 Luiz Agostini <luiz.agostini@openbossa.org>
2037 Reviewed by Andreas Kling.
2039 [Qt] Static platform plugin support
2040 https://bugs.webkit.org/show_bug.cgi?id=49470
2042 Adding support for statically linked platform plugins.
2044 * WebCoreSupport/QtPlatformPlugin.cpp:
2045 (WebCore::QtPlatformPlugin::loadStaticallyLinkedPlugin):
2046 (WebCore::QtPlatformPlugin::plugin):
2047 * WebCoreSupport/QtPlatformPlugin.h:
2049 2010-11-17 Andreas Kling <kling@webkit.org>
2051 Reviewed by Kenneth Rohde Christiansen.
2053 Reuse the size of the actualVisibleContentRect when loading a new page
2054 or navigating session history.
2056 * WebCoreSupport/FrameLoaderClientQt.cpp:
2057 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
2059 2010-11-17 Dimitri Glazkov <dglazkov@chromium.org>
2061 Reviewed by Darin Adler.
2063 Converge means of querying a parent node into one way, which is Node::parentNode.
2064 https://bugs.webkit.org/show_bug.cgi?id=49686
2066 * Api/qwebelement.cpp:
2067 (QWebElement::prependOutside): Changed to use parentNode.
2068 (QWebElement::appendOutside): Ditto.
2069 (QWebElement::encloseContentsWith): Ditto.
2070 (QWebElement::encloseWith): Ditto.
2072 2010-11-16 Simon Hausmann <simon.hausmann@nokia.com>
2074 Reviewed by Andreas Kling.
2076 [Qt] Remove synchronous QWebPage::checkPermissions signal
2077 https://bugs.webkit.org/show_bug.cgi?id=46810
2079 As decided in the API review, we remove this signal and replace its only use currently
2080 with cached credentials.
2083 (QWebPage::setUserPermission): Pass the WebCore frame instead of the QWebFrame.
2085 * WebCoreSupport/NotificationPresenterClientQt.cpp:
2086 (WebCore::NotificationPresenterClientQt::checkPermission): Replaced explicit
2087 signal emission with hash lookup of previously granted permission (or not).
2088 (WebCore::NotificationPresenterClientQt::cancelRequestsForPermission): Remove
2089 any previously cached/granted permission for the given script execution context.
2090 (WebCore::NotificationPresenterClientQt::allowNotificationForFrame): Do not
2091 only serve pending permission requests but before calling the JS callbacks, remember
2092 the permission for subsequent synchronous checkPermission() calls.
2093 * WebCoreSupport/NotificationPresenterClientQt.h: Add cache for permissions.
2095 2010-11-15 Gavin Barraclough <barraclough@apple.com>
2097 Reviewed by NOBODY build fix.
2099 Fix test broken by earlier patch.
2101 * tests/qwebframe/tst_qwebframe.cpp:
2103 2010-11-15 Yi Shen <yi.4.shen@nokia.com>
2105 Reviewed by Andreas Kling.
2107 [Qt] ZoomTextOnly doesn't work
2108 https://bugs.webkit.org/show_bug.cgi?id=49568
2110 Check QWebSettings::ZoomTextOnly attribute before applying zoom
2112 * Api/qwebframe.cpp:
2113 (QWebFrame::textSizeMultiplier):
2114 (QWebFrame::setZoomFactor):
2115 (QWebFrame::zoomFactor):
2116 * Api/qwebframe_p.h:
2117 (QWebFramePrivate::QWebFramePrivate):
2119 2010-11-14 Andreas Kling <kling@webkit.org>
2121 Reviewed by Antonio Gomes.
2123 REGRESSION(r71895): API test javaScriptWindowObjectCleared fails
2124 https://bugs.webkit.org/show_bug.cgi?id=49466
2126 As of r71895 empty inline scripts are no longer executed and so
2127 the javaScriptWindowObjectCleared() signal is no longer triggered
2128 by <script></script>.
2130 * tests/qwebframe/tst_qwebframe.cpp:
2132 2010-11-12 Jacob Dinu <dinu.jacob@nokia.com>
2134 Reviewed by Andreas Kling.
2136 [Qt] Update .def file for Symbian
2137 https://bugs.webkit.org/show_bug.cgi?id=49456
2139 Added missing symbols from revisions r69825, r70470, r71806
2141 * symbian/eabi/QtWebKitu.def:
2143 2010-11-12 Benjamin Poulain <benjamin.poulain@nokia.com>
2145 Reviewed by Andreas Kling.
2147 [Qt] Need to implement WebKit::pluginWillHandleLoadError for WebKit2
2148 https://bugs.webkit.org/show_bug.cgi?id=48764
2150 Add the missing error.
2152 * WebCoreSupport/FrameLoaderClientQt.cpp:
2153 (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError):
2155 2010-11-11 Yi Shen <yi.4.shen@nokia.com>
2157 Reviewed by Andreas Kling.
2159 [Qt] QWebScriptWorld::world() may crash
2160 https://bugs.webkit.org/show_bug.cgi?id=49342
2162 * Api/qwebscriptworld.cpp:
2163 (QWebScriptWorld::world):
2165 2010-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
2167 Reviewed by Andreas Kling.
2169 [Qt] Add an API for overriding the actual visible content rect in WebCore
2170 https://bugs.webkit.org/show_bug.cgi?id=49373
2173 (QWebPage::setActualVisibleContentRect):
2176 2010-11-11 Andreas Kling <kling@webkit.org>
2178 Reviewed by Kenneth Rohde Christiansen.
2180 FrameView: Don't clip to visibleContentRect in paintEntireContents mode
2181 https://bugs.webkit.org/show_bug.cgi?id=49375
2183 Use paintEntireContents in combination with tiling, allowing to
2184 actually set visibleContentRect to something different from
2185 the actual contents size.
2187 * Api/qgraphicswebview.cpp:
2188 (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
2189 * WebCoreSupport/FrameLoaderClientQt.cpp:
2190 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
2192 2010-11-10 Sheriff Bot <webkit.review.bot@gmail.com>
2194 Unreviewed, rolling out r71733.
2195 http://trac.webkit.org/changeset/71733
2196 https://bugs.webkit.org/show_bug.cgi?id=49319
2198 made qt bot crashy and sad (Requested by kling on #webkit).
2200 * Api/qgraphicswebview.cpp:
2201 (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
2202 * WebCoreSupport/FrameLoaderClientQt.cpp:
2203 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
2205 2010-11-10 Kenneth Rohde Christiansen <kenneth@webkit.org>
2207 Reviewed by Andreas Kling.
2209 Use paintEntireContents in combination with tiling, allowing to
2210 actually set visibleContentRect to something different from
2211 the actual contents size.
2213 * Api/qgraphicswebview.cpp:
2214 (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
2215 * WebCoreSupport/FrameLoaderClientQt.cpp:
2216 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
2218 2010-11-08 Benjamin Poulain <benjamin.poulain@nokia.com>
2220 Reviewed by Andreas Kling.
2222 [Qt] build error in WebKit/qt/Api/qwebpage.cpp in Qt 4.7.0
2223 https://bugs.webkit.org/show_bug.cgi?id=47427
2225 Add a missing guard in order to be able to compile when
2226 ENABLE(TOUCH_EVENTS) is not defined.
2229 (QWebPagePrivate::touchEvent):
2231 2010-11-08 Alexey Proskuryakov <ap@apple.com>
2233 Reviewed by Darin Adler.
2235 https://bugs.webkit.org/show_bug.cgi?id=48685
2236 Notify UI process about focused frame
2238 Added an empty implementation of the new ChromeClient method.
2240 * WebCoreSupport/ChromeClientQt.cpp:
2241 (WebCore::ChromeClientQt::focusedNodeChanged): Removed unneeded namespace prefix.
2242 (WebCore::ChromeClientQt::focusedFrameChanged):
2243 * WebCoreSupport/ChromeClientQt.h:
2245 2010-11-08 Noam Rosenthal <noam.rosenthal@nokia.com>
2247 Reviewed by Kenneth Rohde Christiansen.
2249 [Texmap] [Qt] Texture mapper initial implementation
2250 https://bugs.webkit.org/show_bug.cgi?id=47070
2252 Reorganized the textureMapper to be a member of QWebFramePrivate, to help with making
2253 TextureMapper thread-safe.
2255 * Api/qwebframe.cpp:
2256 (QWebFramePrivate::renderCompositedLayers):
2257 * Api/qwebframe_p.h:
2258 * WebCoreSupport/PageClientQt.cpp:
2259 (WebCore::PlatformLayerProxyQt::setTextureMapper):
2260 (WebCore::PlatformLayerProxyQt::textureMapper):
2261 (WebCore::PlatformLayerProxyQWidget::PlatformLayerProxyQWidget):
2262 (WebCore::PlatformLayerProxyQGraphicsObject::PlatformLayerProxyQGraphicsObject):
2264 2010-11-07 Adam Barth <abarth@webkit.org>
2266 Reviewed by Eric Seidel.
2268 Rename Cache to MemoryCache
2269 https://bugs.webkit.org/show_bug.cgi?id=49159
2272 * Api/qwebsettings.cpp:
2274 2010-11-07 Chang Shu <chang.shu@nokia.com>
2276 Reviewed by Antonio Gomes.
2278 Add a helper function to avoid duplicated code.
2279 https://bugs.webkit.org/show_bug.cgi?id=49085
2281 * WebCoreSupport/EditorClientQt.cpp:
2282 (WebCore::EditorClientQt::handleKeyboardEvent):
2284 2010-11-05 Chris Marrin <cmarrin@apple.com>
2286 Reviewed by Simon Fraser.
2288 Move resumeAnimations/suspendAnimations from Frame to AnimationController.
2289 https://bugs.webkit.org/show_bug.cgi?id=49073
2291 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2292 (DumpRenderTreeSupportQt::suspendAnimations):
2293 (DumpRenderTreeSupportQt::resumeAnimations):
2295 2010-11-03 Antonio Gomes <tonikitoo@webkit.org>, Andre Pedralho <andre.pedralho@gmail.com>
2297 Reviewed by Kenneth Rohde Christiansen and Antti Koivisto.
2299 [Qt] Making effective use of nodesFromRect.
2300 https://bugs.webkit.org/show_bug.cgi?id=44089
2302 Patch adds a helper class (named TouchAdjuster) to improve tap actions
2303 on mobile touch devices. TouchAdjuster makes use of the newly added rect
2304 based hit test extension through the Document::nodesFromRect method.
2305 Given a rectangle as input, nodesFromRect returns a z-index ordered list
2306 of nodes whose boundaries intersect the rectangle.
2308 Basically the TouchAdjuster class intercepts the QGraphicsSceneMouseEvent
2309 passed to both QWebPagePrivate::mouse{Press,Release}Event methods before
2310 they are passed down to WebCore. The goal is to infer the target click position.
2311 For that, a rectangle is built up using the event position as a center point and
2312 expanding it based on the values and directions set in the Platform Plugin
2313 QWebTouchModifier::hitTestPadding.
2315 TouchAdjuster iterates over the list of nodes returned by nodesFromRect and
2316 picks the clickable one that has the largest intersection area with the hit
2317 test rectangle. The target position is then the center point of this intersection
2320 In case of no clickable node intersects the hit test area, the click position
2323 TouchAdjuster is *only* working for QGraphicsWebView based views.
2326 (QWebPagePrivate::mousePressEvent):
2327 (QWebPagePrivate::mouseReleaseEvent):
2328 (QWebPagePrivate::adjustPointForClicking):
2329 (QWebPagePrivate::TouchAdjuster::TouchAdjuster):
2330 (QWebPagePrivate::TouchAdjuster::findCandidatePointForTouch):
2331 (isClickableElement):
2333 (isValidFrameOwner):
2337 2010-10-20 Chang Shu <chang.shu@nokia.com>, Antonio Gomes <tonikitoo@webkit.org>
2339 Reviewed by Simon Fraser.
2341 [Qt] Makes <input type=text> and <textarea> functional with
2342 Spatial Navigation enabled. Before this patch, the focus cannot
2343 move away from input box once it is in. This patch allows focus
2344 move to neighbor nodes when the caret reaches the edge of the texts.
2345 This patch does not support yet cases where the focused <input>
2346 has a JS handler for the arrow keys.
2347 https://bugs.webkit.org/show_bug.cgi?id=37153
2349 * WebCoreSupport/EditorClientQt.cpp:
2350 (WebCore::EditorClientQt::handleKeyboardEvent):
2352 2010-11-04 Kenneth Rohde Christiansen <kenneth@webkit.org>
2354 Reviewed by David Hyatt.
2356 Delegate scrolling via a separate method
2357 https://bugs.webkit.org/show_bug.cgi?id=48988
2359 Implement delegatedScrollRequested and make it emit the
2360 scrollRequested signal for Qt.
2362 * WebCoreSupport/ChromeClientQt.cpp:
2363 (WebCore::ChromeClientQt::delegatedScrollRequested):
2364 * WebCoreSupport/ChromeClientQt.h:
2366 2010-11-04 Robert Hogan <robert@webkit.org>
2368 Reviewed by Andreas Kling.
2370 [Qt] Clarify expected return values of innerXml(), outerXml()
2372 If you put HTML in (e.g. using setHTML()) you will get HTML out,
2373 even if you marked it up as XML.
2375 https://bugs.webkit.org/show_bug.cgi?id=44876
2377 * Api/qwebelement.cpp:
2379 2010-11-03 Andre Pedralho <andre.pedralho@gmail.com>
2381 Reviewed by Kenneth Rohde Christiansen.
2383 Using the Platform Plugin to define the default values for the padding of HitTestResult.
2384 https://bugs.webkit.org/show_bug.cgi?id=48450
2386 * Api/qwebkitplatformplugin.h:
2387 (QWebTouchModifier::~QWebTouchModifier):
2388 * WebCoreSupport/QtPlatformPlugin.cpp:
2389 (WebCore::QtPlatformPlugin::createTouchModifier):
2390 * WebCoreSupport/QtPlatformPlugin.h:
2391 * examples/platformplugin/WebPlugin.cpp:
2392 (WebPlugin::supportsExtension):
2393 (WebPlugin::createExtension):
2394 * examples/platformplugin/WebPlugin.h:
2395 (TouchModifier::hitTestPaddingForTouch):
2396 * examples/platformplugin/qwebkitplatformplugin.h:
2397 (QWebTouchModifier::~QWebTouchModifier):
2399 2010-11-03 Andreas Kling <kling@webkit.org>
2401 Reviewed by Kenneth Rohde Christiansen.
2403 [Qt] QGWV: Keep the scrolling delegation intact when switching pages
2405 * Api/qgraphicswebview.cpp:
2406 (QGraphicsWebViewPrivate::updateResizesToContentsForPage): Turn on/off
2407 scrolling delegation depending on the resizeToContents mode.
2408 (QGraphicsWebViewPrivate::detachCurrentPage): Turn off scrolling delegation.
2409 (QGraphicsWebView::setResizesToContents):
2411 2010-11-03 Kenneth Rohde Christiansen <kenneth@webkit.org>
2413 Reviewed by Andreas Kling.
2415 Make it possible to delegate scrolling to the UI
2416 https://bugs.webkit.org/show_bug.cgi?id=48907
2418 Enable scrolling delegation when setResizesToContents is active.
2420 * Api/qgraphicswebview.cpp:
2421 (QGraphicsWebView::setResizesToContents):
2423 2010-11-03 Daniel Bates <dbates@rim.com>
2425 For unnamed frames, window.name returns a generated name
2426 https://bugs.webkit.org/show_bug.cgi?id=6751
2430 Substitute FrameTree::uniqueName() for FrameTree::name() in the Qt port.
2432 * Api/qwebframe.cpp:
2433 (QWebFrame::frameName):
2435 2010-11-02 Noam Rosenthal <noam.rosenthal@nokia.com>
2437 Reviewed by Kenneth Rohde Christiansen.
2439 Some refactor for texmap to enable WebKit2: remove globals, and allow TextureMapper to exist without a GraphicsContext.
2440 This will allow rendering the TextureMapperNode tree without an active QPainter, into the current GL context.
2441 Most of the changes simply move the globas in TextureMapperGL into members of that class.
2443 [Texmap] [Qt] Texture mapper initial implementation
2444 https://bugs.webkit.org/show_bug.cgi?id=47070
2446 * Api/qwebframe.cpp:
2447 (QWebFramePrivate::renderFromTiledBackingStore):
2448 (QWebFramePrivate::renderCompositedLayers):
2449 (QWebFramePrivate::renderRelativeCoords):
2450 * Api/qwebframe_p.h:
2452 2010-11-01 Brady Eidson <beidson@apple.com>
2454 Reviewed by Anders Carlsson.
2456 <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
2457 Context menu support for WebKit 2.
2459 * WebCoreSupport/ChromeClientQt.h:
2460 (WebCore::ChromeClientQt::showContextMenu):
2462 2010-10-31 Robert Hogan <robert@webkit.org>
2464 Reviewed by Antonio Gomes.
2466 [Qt] Support nodesFromRect in DRT
2468 https://bugs.webkit.org/show_bug.cgi?id=48716
2470 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2471 (DumpRenderTreeSupportQt::nodesFromRect):
2472 * WebCoreSupport/DumpRenderTreeSupportQt.h:
2474 2010-10-31 Andreas Kling <kling@webkit.org>
2476 Reviewed by Kenneth Rohde Christiansen.
2478 [Qt] Short-circuit QWebPage::selectedText() if frame has no selection
2479 https://bugs.webkit.org/show_bug.cgi?id=48736
2481 Do an early return if the selection is empty.
2483 No new tests, this is covered by tst_QWebPage::findText().
2486 (QWebPage::selectedText):
2488 2010-10-30 Andreas Kling <kling@webkit.org>
2490 Reviewed by Antonio Gomes.
2492 [Qt] IM: Don't manipulate selection via RenderTextControl
2493 https://bugs.webkit.org/show_bug.cgi?id=48700
2495 Go directly through the Frame's SelectionController instead.
2497 No new tests, this is covered by tst_QWebPage::inputMethods.
2500 (QWebPagePrivate::inputMethodEvent):
2501 (QWebPage::inputMethodQuery):
2503 2010-10-29 Daniel Bates <dbates@rim.com>
2505 No review, rolling out 70971.
2506 http://trac.webkit.org/changeset/70971
2507 https://bugs.webkit.org/show_bug.cgi?id=6751
2509 Rolling out changeset 70971 <http://trac.webkit.org/changeset/70971> since
2510 it caused layout test failures on all bots. In particular, the
2511 child count in a generated frame name differs after this patch. We need
2512 to look into this further.
2514 * Api/qwebframe.cpp:
2515 (QWebFrame::frameName):
2517 2010-10-28 Antonio Gomes <agomes@rim.com>
2519 Reviewed by Ojan Vafai.
2521 Needs a "LinuxEditingBehavior", perhaps with a better name
2522 https://bugs.webkit.org/show_bug.cgi?id=36627
2524 Adding support to Qt's DRTSupport class to test the newly introduced Unix editing behavior.
2526 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2527 (DumpRenderTreeSupportQt::setEditingBehavior):
2529 2010-10-29 Daniel Bates <dbates@rim.com>
2531 Reviewed by Adam Barth.
2533 For unnamed frames, window.name returns a generated name
2534 https://bugs.webkit.org/show_bug.cgi?id=6751
2536 Modified Qt-port to use FrameTree::uniqueName().
2538 * Api/qwebframe.cpp:
2539 (QWebFrame::frameName):
2541 2010-10-29 Andreas Kling <kling@webkit.org>
2543 Reviewed by Ariya Hidayat.
2545 [Qt] QWebPage's InputMethod event handling calls ShortcutOverride handler too
2546 https://bugs.webkit.org/show_bug.cgi?id=48692
2549 (QWebPage::event): Add missing break statement.
2551 2010-10-29 Ryosuke Niwa <rniwa@webkit.org>
2553 Reviewed by Darin Adler.
2555 Remove RenderTextControl::setSelectionRange
2556 https://bugs.webkit.org/show_bug.cgi?id=47870
2558 Converted RenderTextControll::setSelectionRange to a global function.
2561 (QWebPagePrivate::inputMethodEvent): Calls setSelectionRange.
2563 2010-10-29 Darin Adler <darin@apple.com>
2565 Reviewed by Sam Weinig.
2567 Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
2568 https://bugs.webkit.org/show_bug.cgi?id=48574
2570 * Api/qwebhistory.cpp:
2571 (QWebHistory::clear):
2572 * Api/qwebhistory_p.h:
2574 (QWebPagePrivate::QWebPagePrivate):
2575 Use BackForwardListImpl.
2577 2010-10-29 Alexey Proskuryakov <ap@apple.com>
2579 Reviewed by Darin Adler.
2581 https://bugs.webkit.org/show_bug.cgi?id=48576
2582 Let WebKit2 client know when a frame is a frameset
2584 Added a blank implementation of the new FrameLoaderClient method.
2586 * WebCoreSupport/FrameLoaderClientQt.h:
2587 * WebCoreSupport/FrameLoaderClientQt.cpp:
2588 (WebCore::FrameLoaderClientQt::dispatchDidBecomeFrameset):
2590 2010-10-29 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2592 Reviewed by Andreas Kling.
2594 [Qt] Fix tst_QWebFrame on XVFB.
2595 https://bugs.webkit.org/show_bug.cgi?id=48637
2597 These tests relied on a window manager to activate the window.
2600 - tst_QWebFrame::popupFocus()
2601 - tst_QwebFrame::inputFieldFocus()
2603 * tests/qwebframe/tst_qwebframe.cpp:
2605 2010-10-28 Noam Rosenthal <noam.rosenthal@nokia.com>
2607 Reviewed by Ariya Hidayat.
2609 [Texmap] [Qt] Texture mapper initial implementation
2610 https://bugs.webkit.org/show_bug.cgi?id=47070
2614 * WebCoreSupport/PageClientQt.cpp:
2615 (WebCore::PlatformLayerProxyQGraphicsObject::PlatformLayerProxyQGraphicsObject):
2616 (WebCore::PageClientQGraphicsWidget::~PageClientQGraphicsWidget):
2617 (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
2618 * WebCoreSupport/PageClientQt.h:
2620 2010-10-28 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2622 Reviewed by Andreas Kling.
2624 [Qt] QWebElement: Don't retrieve CSS rules through DOMWindow.
2625 https://bugs.webkit.org/show_bug.cgi?id=48519
2627 JavaScript is prevented from retrieving cross-domain CSS rules since r70335.
2628 This patch allow QWebElement to retrive style without this limitation
2629 by asking the Document directly instead of going through DOMWindow.
2632 - tst_QWebFrame::setHtmlWithResource()
2633 - tst_QWebElement::style()
2635 * Api/qwebelement.cpp:
2636 (QWebElement::styleProperty):
2638 2010-10-28 Kenneth Rohde Christiansen <kenneth@webkit.org>
2640 Reviewed by Andreas Kling.
2642 Make Qt viewportAttributesForSize not assert on (0, 0) size
2643 https://bugs.webkit.org/show_bug.cgi?id=48524
2645 We now return an invalid (isValid() == false) ViewportAttributes
2646 instance when the supplied size is (0, 0).
2649 (QWebPage::viewportAttributesForSize):
2651 2010-10-27 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2653 Reviewed by Kenneth Rohde Christiansen.
2655 [Qt] Fix tst_QWebFrame::popupFocus().
2656 https://bugs.webkit.org/show_bug.cgi?id=48432
2658 - Call setFocus() before show() to work around a but in Qt.
2659 - Remove the check on combo at the end since hidePopup() leads
2660 indirectly to its destruction and segfault.
2662 * tests/qwebframe/tst_qwebframe.cpp:
2664 2010-10-26 Jenn Braithwaite <jennb@chromium.org>
2666 Reviewed by Dmitry Titov.
2668 Resource tracking failure when trying to move a frame between documents
2669 https://bugs.webkit.org/show_bug.cgi?id=44713
2671 * WebCoreSupport/FrameLoaderClientQt.cpp:
2672 (WebCore::FrameLoaderClientQt::transferLoadingResourceFromPage):
2674 * WebCoreSupport/FrameLoaderClientQt.h:
2676 2010-10-26 Yi Shen <yi.4.shen@nokia.com>
2678 Reviewed by Andreas Kling.
2680 [Qt] Skipping popup focus test for symbian
2681 https://bugs.webkit.org/show_bug.cgi?id=48324
2683 * tests/qwebframe/tst_qwebframe.cpp:
2685 2010-10-26 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2687 Reviewed by Andreas Kling.
2689 [Qt] Unit tests: setHtml("data:text/html,...") -> load(QUrl("data:text/html,..."))
2690 https://bugs.webkit.org/show_bug.cgi?id=48319
2692 These tests were failing since the new HTML parser.
2693 This patch removes the content type from the error page as well.
2695 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
2696 (tst_QGraphicsWebView::crashOnViewlessWebPages):
2697 * tests/qwebelement/tst_qwebelement.cpp:
2698 (tst_QWebElement::frame):
2699 * tests/qwebpage/tst_qwebpage.cpp:
2700 (tst_QWebPage::loadFinished):
2701 (ErrorPage::extension):
2702 (tst_QWebPage::errorPageExtension):
2703 (tst_QWebPage::errorPageExtensionInIFrames):
2704 (tst_QWebPage::errorPageExtensionInFrameset):
2706 2010-10-25 No'am Rosenthal <noam.rosenthal@nokia.com>
2708 Reviewed by Kenneth Rohde Christiansen.
2710 [Texmap] [Qt] Texture mapper initial implementation
2711 https://bugs.webkit.org/show_bug.cgi?id=47070
2713 Glue layer (WebCoreSupport) changes to allow connecting TextureMapper to a Qt PageClient, i.e.
2714 a QWebView or a QGraphicsWebView. This enables the new type, TextureMapperPlatformLayer, to be recognized both by
2715 the compositor and by the page client.
2716 Note that this is temporarily an opt-in, under USE(TEXTURE_MAPPER)
2719 * Api/qwebframe_p.h:
2720 (QWebFramePrivate::QWebFramePrivate):
2722 (QWebPage::setView):
2723 * WebCoreSupport/ChromeClientQt.cpp:
2724 (WebCore::ChromeClientQt::attachRootGraphicsLayer):
2725 * WebCoreSupport/PageClientQt.cpp:
2726 (WebCore::PlatformLayerProxyQt::PlatformLayerProxyQt):
2727 (WebCore::PlatformLayerProxyQt::~PlatformLayerProxyQt):
2728 (WebCore::PlatformLayerProxyQt::setSizeChanged):
2729 (WebCore::PlatformLayerProxyQWidget::PlatformLayerProxyQWidget):
2730 (WebCore::PlatformLayerProxyQWidget::eventFilter):
2731 (WebCore::PlatformLayerProxyQWidget::setNeedsDisplay):
2732 (WebCore::PlatformLayerProxyQWidget::setNeedsDisplayInRect):
2733 (WebCore::PlatformLayerProxyQGraphicsObject::PlatformLayerProxyQGraphicsWidget):
2734 (WebCore::PlatformLayerProxyQGraphicsObject::setNeedsDisplay):
2735 (WebCore::PlatformLayerProxyQGraphicsObject::setNeedsDisplayInRect):
2736 (WebCore::PageClientQWidget::setRootGraphicsLayer):
2737 (WebCore::PageClientQWidget::markForSync):
2738 (WebCore::PageClientQWidget::syncLayers):
2739 (WebCore::PageClientQGraphicsWidget::updateCompositingScrollPosition):
2740 (WebCore::PageClientQGraphicsWidget::createOrDeleteOverlay):
2741 (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
2742 * WebCoreSupport/PageClientQt.h:
2743 (WebCore::PageClientQWidget::PageClientQWidget):
2744 (WebCore::PageClientQWidget::allowsAcceleratedCompositing):
2745 (WebCore::PageClientQGraphicsWidget::PageClientQGraphicsWidget):
2747 2010-10-25 Johnny Ding <jnd@chromium.org>
2749 Reviewed by Tony Chang.
2751 Dump the gesture status of frame in frame load callbacks in DumpRenderTree
2752 by adding a new method dumpUserGestureInFrameLoadCallbacks.
2753 Now only dump the gesture status in "DidStartProvisionalLoad" callback.
2754 https://bugs.webkit.org/show_bug.cgi?id=47849
2756 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
2757 (DumpRenderTreeSupportQt::dumpUserGestureInFrameLoader):
2758 * WebCoreSupport/DumpRenderTreeSupportQt.h:
2759 * WebCoreSupport/FrameLoaderClientQt.cpp:
2760 (drtPrintFrameUserGestureStatus):
2761 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2762 (WebCore::FrameLoaderClientQt::dispatchDidPushStateWithinPage):
2763 (WebCore::FrameLoaderClientQt::dispatchDidReplaceStateWithinPage):
2764 (WebCore::FrameLoaderClientQt::dispatchDidPopStateWithinPage):
2765 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2766 * WebCoreSupport/FrameLoaderClientQt.h:
2768 2010-10-22 Sam Weinig <sam@webkit.org>
2770 Reviewed by Anders Carlsson.
2772 WebKit2 needs to pass the current event modifier flags when requesting a new window
2773 https://bugs.webkit.org/show_bug.cgi?id=48140
2777 * WebCoreSupport/ChromeClientQt.cpp:
2778 (WebCore::ChromeClientQt::createWindow):
2779 * WebCoreSupport/ChromeClientQt.h:
2780 * WebCoreSupport/FrameLoaderClientQt.cpp:
2781 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2782 * WebCoreSupport/FrameLoaderClientQt.h:
2783 Add NavigationAction parameter.
2785 2010-10-22 Yi Shen <yi.4.shen@nokia.com>
2787 Reviewed by Andreas Kling.
2789 [Qt] InspectorClientQt crashes when deleting a qwebpage which has an inspector
2790 https://bugs.webkit.org/show_bug.cgi?id=48079
2793 (QWebPagePrivate::~QWebPagePrivate):
2794 (QWebPage::~QWebPage):
2796 2010-10-22 Benjamin Poulain <benjamin.poulain@nokia.com>
2798 Reviewed by Simon Hausmann.
2800 [Qt] All widgets are rendered incorrectly when rendered through a cache
2801 https://bugs.webkit.org/show_bug.cgi?id=47767
2803 Add a new test for rendering with tiling.
2805 * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
2806 (tst_QGraphicsWebView::widgetsRenderingThroughCache):
2808 2010-10-21 Robert Hogan <robert@webkit.org>
2810 Reviewed by Simon Hausmann.
2812 [Qt] Sending a QInputMethodEvent::Selection event forces the
2813 Editor to go into Composition mode
2815 Improve QWebPage handling of input method events:
2816 - Selections don't trigger entering composition mode.
2817 - Handle multiple selections
2819 Also remove redundant cancellation of composition in tst_qwebpage.
2820 There is no composition in progress at that point.
2822 Finally, move infiniteLoopJS() to the end of the tst_qwebpage unit
2823 tests - so you don't have to wait for it to complete when running
2826 https://bugs.webkit.org/show_bug.cgi?id=39625
2829 (QWebPagePrivate::inputMethodEvent):
2830 (QWebPage::inputMethodQuery):
2831 * tests/qwebpage/tst_qwebpage.cpp:
2832 (tst_QWebPage::inputMethods):
2834 2010-10-20 Luiz Agostini <luiz.agostini@openbossa.org>
2836 Reviewed by Antonio Gomes.
2838 [Qt] Wrong null check in PopupMenuQt
2839 https://bugs.webkit.org/show_bug.cgi?id=47945
2841 Wrong null check in PopupMenuQt.
2843 * WebCoreSupport/PopupMenuQt.cpp:
2844 (WebCore::PopupMenuQt::hide):
2846 2010-10-18 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>
2848 Reviewed by Laszlo Gombos.
2850 [Qt] Export QWebPage::ViewportAttributes class.
2851 https://bugs.webkit.org/show_bug.cgi?id=47845
2854 * symbian/eabi/QtWebKitu.def:
2856 2010-10-18 Pavel Feldman <pfeldman@chromium.org>
2858 Reviewed by Simon Fraser.
2860 Web Inspector: [crash] when Inspector Open in CSSStyleSelector::loadPendingImages().
2861 https://bugs.webkit.org/show_bug.cgi?id=46224
2863 * WebCoreSupport/InspectorClientQt.cpp:
2864 (WebCore::InspectorClientQt::sendMessageToFrontend):
2866 2010-10-18 No'am Rosenthal <noam.rosenthal@nokia.com>
2868 Reviewed by Andreas Kling.
2870 [Qt] AC rendering bugs
2872 This fixes a regression that was introduced by making scrolling in accelerated compositing automatic,
2873 which made our explicit function to scroll the compositing layers superfluous, making the scrolling behavior
2874 when graphics layers are present incorrect. The fix simply removes those redundant functions.
2876 https://bugs.webkit.org/show_bug.cgi?id=47571
2878 * WebCoreSupport/PageClientQt.cpp:
2879 (WebCore::PageClientQGraphicsWidget::scroll):
2880 (WebCore::PageClientQGraphicsWidget::update):
2881 (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):
2882 * WebCoreSupport/PageClientQt.h:
2884 2010-10-18 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
2886 Reviewed by nobody, build fix.
2888 [Qt] Fix the build with MSVC.
2890 Splitting the condition in two to prevent qmake parentheses issues.
2892 * Api/DerivedSources.pro:
2894 2010-10-18 Yi Shen <yi.4.shen@nokia.com>
2896 Reviewed by Antonio Gomes.
2898 [QT] Unable to load pages on QtTestBrowser after canceling a page load.
2899 https://bugs.webkit.org/show_bug.cgi?id=43827
2902 (QWebPage::triggerAction):
2904 2010-10-15 Qi Zhang <qi.2.zhang@nokia.com>
2906 Reviewed by Andreas Kling.
2908 [Qt] window.close() doesn't work in qt
2909 https://bugs.webkit.org/show_bug.cgi?id=46186
2911 Introduce new attribute in QWebSettings to trigger "setAllowScriptsToCloseWindow"
2913 * Api/qwebsettings.cpp:
2914 (QWebSettingsPrivate::apply):
2915 * Api/qwebsettings.h:
2917 2010-10-15 Andreas Kling <kling@webkit.org>
2919 Reviewed by Kenneth Rohde Christiansen.
2921 [Qt] Unbreak scrolling the ContentsLayer with QWebView
2923 r69777 broke scrolling the contents layer in QWebView by not restoring
2924 the painter clip after painting each part of the dirty region.
2926 * Api/qwebframe.cpp:
2927 (QWebFramePrivate::renderRelativeCoords):
2929 2010-09-27 Dawit Alemayehu <adawit@kde.org>
2931 Reviewed by Andreas Kling.
2933 [Qt] Added functions for obtaining and checking the supported content types.
2934 http://webkit.org/b/37880
2937 (extractContentTypeFromHash):
2938 (extractContentTypeFromPluginVector):
2939 (QWebPage::supportedContentTypes):
2940 (QWebPage::supportsContentType):
2941 * tests/qwebpage/tst_qwebpage.cpp:
2942 (tst_QWebPage::supportedContentType):
2944 2010-10-14 Sheriff Bot <webkit.review.bot@gmail.com>
2946 Unreviewed, rolling out r69795.
2947 http://trac.webkit.org/changeset/69795
2948 https://bugs.webkit.org/show_bug.cgi?id=47687
2950 'See discussion at webkit.org/b/47609' (Requested by mwenge on
2953 * WebCoreSupport/FrameLoaderClientQt.cpp:
2954 (WebCore::FrameLoaderClientQt::canHandleRequest):
2955 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2957 2010-10-14 Robert Hogan <robert@webkit.org>
2959 Reviewed by Antonio Gomes.
2961 [Qt] Fix http/tests/misc/redirect-to-external-url.html
2963 Support the test in FrameLoaderClientQt and unskip.
2965 https://bugs.webkit.org/show_bug.cgi?id=47609
2967 * WebCoreSupport/FrameLoaderClientQt.cpp:
2968 (WebCore::FrameLoaderClientQt::canHandleRequest):
2969 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2971 2010-10-14 No'am Rosenthal <noam.rosenthal@nokia.com>
2973 Reviewed by Kenneth Rohde Christiansen.
2975 [Texmap] [Qt] Texture mapper initial implementation
2976 https://bugs.webkit.org/show_bug.cgi?id=47070
2978 Allow rendering of accelerated-compositing with TextureMapper, inside a QWebFrame. The frame will render the regular content,
2979 either normally or through tiled backingstore, then let the TextureMapper layer render itself to the active context, and
2980 then render the scrollbar and pan icon. This is different from the current implementation, which uses additional QGraphicsItems for AC
2981 and the scrollbar overlay.
2983 * Api/qgraphicswebview.cpp:
2984 (QGraphicsWebView::paint):
2985 * Api/qwebframe.cpp:
2986 (QWebFramePrivate::renderFromTiledBackingStore):
2987 (QWebFramePrivate::renderRelativeCoords):
2989 2010-10-13 Gavin Barraclough <barraclough@apple.com>
2991 Reviewed by Oliver Hunt.
2993 https://bugs.webkit.org/show_bug.cgi?id=43987
2994 Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
2995 to construct their internal result string. Remove ScriptString (this is now
2998 * WebCoreSupport/FrameLoaderClientQt.cpp:
3000 2010-10-13 Dinu Jacob <dinu.jacob@nokia.com>
3002 Reviewed by Andreas Kling.
3004 [Qt] Update .def file for Symbian
3005 https://bugs.webkit.org/show_bug.cgi?id=47540
3007 Updated symbols for Symbian - added viewportAttributesForSize and
3008 made viewportConfigurationForSize absent based on the API change in
3011 * symbian/eabi/QtWebKitu.def:
3013 2010-10-12 David Leong <david.leong@nokia.com>
3015 Reviewed by Laszlo Gombos.
3017 [Qt] Enable Netscape plugin metadata caching on Linux
3018 https://bugs.webkit.org/show_bug.cgi?id=46287
3020 QWebSettings::enablePersistentStorage will now store the netscape
3021 plugin cache to QDesktopServices::CacheLocation.
3023 * Api/qwebsettings.cpp:
3024 (QWebSettings::enablePersistentStorage):
3026 2010-10-12 Yael Aharon <yael.aharon@nokia.com>
3028 Reviewed by Antonio Gomes.
3030 [Qt] Editing commands should not be executed on non-editable content.
3031 https://bugs.webkit.org/show_bug.cgi?id=47426
3033 Remove calls to editor()->command() when we are not in editable content.
3034 There is no value in doing that, and in some cases, it prevents scrolling.
3036 * WebCoreSupport/EditorClientQt.cpp:
3037 (WebCore::EditorClientQt::handleKeyboardEvent):
3039 2010-10-08 Hui Huang <hui.2.huang@nokia.com>
3041 Reviewed by Simon Hausmann.
3043 ifdef out code that rewrites Flash Plug-in wmode for Symbian build
3044 https://bugs.webkit.org/show_bug.cgi?id=43484
3046 * WebCoreSupport/FrameLoaderClientQt.cpp:
3047 (WebCore::FrameLoaderClientQt::createPlugin):
3049 2010-10-07 Andreas Kling <kling@webkit.org>
3051 Reviewed by Simon Hausmann.
3053 [Qt] API: ViewportConfiguration => ViewportArguments
3054 https://bugs.webkit.org/show_bug.cgi?id=47325
3057 (QWebPage::ViewportAttributes::ViewportAttributes):
3058 (QWebPage::ViewportAttributes::~ViewportAttributes):
3059 (QWebPage::ViewportAttributes::operator=):
3060 (QWebPage::viewportAttributesForSize):
3063 (QtViewportAttributesPrivate::QtViewportAttributesPrivate):
3065 2010-10-07 Luiz Agostini <luiz.agostini@openbossa.org>
3067 Reviewed by Kenneth Rohde Christiansen.
3069 Fixing viewport meta tag user-scalable handling
3070 https://bugs.webkit.org/show_bug.cgi?id=47330
3072 user-scalable attribute was not considered in viewport meta tag handling.
3075 (QWebPage::viewportConfigurationForSize):
3077 2010-10-05 Diego Gonzalez <diegohcg@webkit.org>
3079 Reviewed by Andreas Kling.
3081 [Qt] Hook up accelerometer data via Qt DeviceMotion
3082 https://bugs.webkit.org/show_bug.cgi?id=47105
3084 Get accelerometer necessary data via Qt mobility library using a
3085 provider class. Enable, also the RotationRate using the current device
3086 orientation provider.
3088 * WebCoreSupport/DeviceMotionClientQt.cpp:
3089 (WebCore::DeviceMotionClientQt::DeviceMotionClientQt):
3090 (WebCore::DeviceMotionClientQt::~DeviceMotionClientQt):
3091 (WebCore::DeviceMotionClientQt::startUpdating):
3092 (WebCore::DeviceMotionClientQt::stopUpdating):
3093 (WebCore::DeviceMotionClientQt::currentDeviceMotion):
3094 (WebCore::DeviceMotionClientQt::changeDeviceMotion):
3095 * WebCoreSupport/DeviceMotionClientQt.h:
3096 * WebCoreSupport/DeviceMotionProviderQt.cpp: Added.
3097 (WebCore::DeviceMotionProviderQt::DeviceMotionProviderQt):
3098 (WebCore::DeviceMotionProviderQt::~DeviceMotionProviderQt):
3099 (WebCore::DeviceMotionProviderQt::start):
3100 (WebCore::DeviceMotionProviderQt::stop):
3101 (WebCore::DeviceMotionProviderQt::filter):
3102 * WebCoreSupport/DeviceMotionProviderQt.h: Added.
3103 (WebCore::DeviceMotionProviderQt::currentDeviceMotion):
3105 2010-10-07 Luiz Agostini <luiz.agostini@openbossa.org>
3107 Reviewed by Kenneth Rohde Christiansen.
3109 Some viewport meta tag api refactoring
3110 https://bugs.webkit.org/show_bug.cgi?id=47334
3112 WebCore::findConfigurationForViewportData renamed to computeViewportAttributes.
3113 WebCore::ViewportAttributes::layoutViewport renamed to layoutSize.
3116 (QWebPage::viewportConfigurationForSize):
3117 * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
3118 (DumpRenderTreeSupportQt::viewportAsText):
3120 2010-10-07 Keith Kyzivat <keith.kyzivat@nokia.com>
3122 Reviewed by Simon Hausmann.
3124 [Qt] Update .def file for Symbian
3125 https://bugs.webkit.org/show_bug.cgi?id=47336
3126 Fix and re-freeze symbols for symbian - viewportConfigurationForSize
3127 API changed, allowGeolocationRequest removed from API, several
3128 DumpRenderTree support calls added.
3130 * symbian/eabi/QtWebKitu.def:
3132 2010-10-06 Ragner Magalhaes <ragner.magalhaes@openbossa.org>