1 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
6 is not exporting enough to create the output in DRT itself. Settle with the approach
7 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
8 * run-webkit-tests http/tests(/loading) can now be executed.
9 * For tests in loading/ directories we are going to throw away the dirty
10 QWebPage to start with something clean.
13 * WebCoreSupport/FrameLoaderClientQt.cpp:
14 (qt_dump_frame_loader):
15 (drtDescriptionSuitableForTestResult):
16 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
17 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
18 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
19 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
20 (WebCore::FrameLoaderClientQt::dispatchWillClose):
21 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
22 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
23 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
24 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
25 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
26 (WebCore::FrameLoaderClientQt::registerForIconNotification):
27 (WebCore::FrameLoaderClientQt::setMainDocumentError):
28 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
30 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
34 * Export the PageCache and Cache capacity call one to one. This is only there
35 to allow the QtLauncher to play with caching.
36 * TODO: make API decisions and consider following the windows Api to set a WebCacheModel
37 and determine certain values automatically.
40 * Api/qwebsettings.cpp:
41 (QWebSettings::setPageCacheCapacity):
42 (QWebSettings::setObjectCacheCapacities):
44 * QtLauncher/main.cpp:
46 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
50 Prepapre everything for enabling the PageCache for the Qt Platform:
51 * Claim that we can cache pages
52 * Create the FrameView FrameLoaderClientQt::transitionToCommittedForNewPage using
53 the initial size of the viewport and stop creating it in the QWebFramePrivate::init
55 Differences to the Windows port:
56 * attachToWindow/detachFromWindow is not called and is not (yet) part
57 of Widget/ScrollView of the Qt platform. We might need that for plugin
58 support in the future.
59 * We store the margin's and scrolling flag inside QWebFrame and use it when
60 creating the FrameView.
63 * API to call pageCache()->setCapacity(XYZ);
67 (QWebFramePrivate::init):
69 (QWebFramePrivate::QWebFramePrivate):
71 (QWebPagePrivate::createMainFrame):
72 * WebCoreSupport/FrameLoaderClientQt.cpp:
73 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
74 (WebCore::FrameLoaderClientQt::blockedError):
76 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
80 * For the PageCache support we do not want to create a FrameView in the constructor
81 of QWebFrame. In QWegPage::viewportSize() we currently call mainFrame() and that will
82 create a QWebFrame if no mainFrame is present and this gets called when we try to
84 * Keep a copy of the initial viewportSize around and use it if we do not have a Frame
89 (QWebPagePrivate::QWebPagePrivate):
90 (QWebPage::triggerAction):
93 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
97 * Always return true in FrameLoaderClientQt::shouldGoToHistoryItem, like the windows port
99 * WebCoreSupport/FrameLoaderClientQt.cpp:
102 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
106 * Attempt to make the m_webFrame null pointer checking consistent. Always check for
107 m_webFrame. It should get set by the QWebFrame with the FramerLoaderClientQt::setFrame
108 call and should stay valid until the destruction of the QWebFrame.
109 * Currently the same checking is not needed for m_frame as it will only set to 0 in
110 FrameLoaderClientQt::frameLoaderDestroyed and should be not 0 because of the setFrame
114 * WebCoreSupport/FrameLoaderClientQt.cpp:
115 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
116 (WebCore::FrameLoaderClientQt::setMainDocumentError):
117 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
118 (WebCore::FrameLoaderClientQt::objectContentType):
119 (WebCore::FrameLoaderClientQt::createPlugin):
121 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
125 * Get the RefCounting of WebCore::Frame right and make sure that both QWebFrame
126 and WebCore::Frame get destroyed if we leave site with subframes and on the
127 end of the application.
128 * Use adoptRef in FrameLoaderClientQt::createFrame to get the refs right for subframes. We
129 do not want to add an extra reference. Without this we are leaking subframes.
130 * Assume that the lifetime of a Frame and FrameLoader are the same, when the Frame is gone
131 we want to destroy the QWebFrame (e.g. on a page with subframes). Add delete m_webFrame
132 in the frameLoaderDestroyed method to do that.
133 * If we happen to delete the QWebFrame before the FrameLoaderClientQt we set m_webFrame to
134 zero in the FrameLoaderClientQt to avoid bad things.
138 (QWebFrame::~QWebFrame):
139 * WebCoreSupport/FrameLoaderClientQt.cpp:
140 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
141 (WebCore::FrameLoaderClientQt::objectContentType):
142 * WebCoreSupport/FrameLoaderClientQt.h:
144 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
148 * Do not save a RefPtr to the frame. The FrameLoaderClient, Frame and
149 QWebFrame should have the same lifetime everything else is a leak
153 (QWebFramePrivate::init):
155 * WebCoreSupport/FrameLoaderClientQt.cpp:
157 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
161 * Do not store the QWebFrame associated with a ScrollView/FrameView
162 in the WebCore::Widget.
163 * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core
164 and QWebFramePrivate::kit function to convert from and to QWebFrame.
168 (QWebFramePrivate::init):
170 (QWebPagePrivate::createMainFrame):
172 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
176 * Do not store the FrameView in the QWebFrame and cope with the situation when
177 a WebCore::Frame has no WebCore::FrameView.
181 (QWebFramePrivate::init):
182 (QWebFramePrivate::horizontalScrollBar):
183 (QWebFramePrivate::verticalScrollBar):
184 (QWebFrame::innerText):
185 (QWebFrame::renderTreeDump):
186 (QWebFrame::setVerticalScrollBarPolicy):
187 (QWebFrame::setHorizontalScrollBarPolicy):
192 (QWebFramePrivate::QWebFramePrivate):
194 (QWebPagePrivate::updateEditorActions):
195 (QWebPagePrivate::mouseMoveEvent):
196 (QWebPagePrivate::mousePressEvent):
197 (QWebPagePrivate::mouseDoubleClickEvent):
198 (QWebPagePrivate::contextMenuEvent):
199 (QWebPagePrivate::wheelEvent):
200 (QWebPage::triggerAction):
201 * WebCoreSupport/FrameLoaderClientQt.cpp:
203 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
207 * Change the order of the methods to match with the FrameLoaderClient.h to ease
208 removing methods in the future.
210 * WebCoreSupport/FrameLoaderClientQt.h:
212 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
216 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
218 * WebCoreSupport/FrameLoaderClientQt.cpp:
219 (WebCore::FrameLoaderClientQt::detachedFromParent4):
220 * WebCoreSupport/FrameLoaderClientQt.h:
222 2008-03-25 Brady Eidson <beidson@apple.com>
226 Remove newly obsolete FrameLoaderClient methods
228 * WebCoreSupport/FrameLoaderClientQt.cpp:
229 * WebCoreSupport/FrameLoaderClientQt.h:
231 2008-03-22 Mark Rowe <mrowe@apple.com>
235 * WebCoreSupport/FrameLoaderClientQt.cpp:
238 2008-03-18 Simon Hausmann <hausmann@webkit.org>
242 Fix the Qt build. Don't return void in non-void functions.
244 * Api/qwebpluginfactory.cpp:
245 (QWebPluginFactory::extension):
247 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
251 Don't use RefPtr in classes you haven't seen the implementation of.
253 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
254 cannot *use* said objects until Foo is defined. This is true even for
255 initialisation with a 0.
257 Seems the HP aCC compiler is more strict here than gcc.
261 2008-03-14 Simon Hausmann <hausmann@webkit.org>
266 (QWebFrame::setHtml):
267 (QWebFrame::setContent):
269 2008-03-13 Simon Hausmann <hausmann@webkit.org>
274 (QWebFrame::addToJSWindowObject):
276 2008-03-12 Simon Hausmann <hausmann@webkit.org>
278 Fix compilation against Qt 4.3
284 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
288 * WebCoreSupport/FrameLoaderClientQt.cpp:
289 (FrameLoaderClientQt::CreatePlugin):
291 2008-03-11 Simon Hausmann <hausmann@webkit.org>
293 Fix the Qt build (silly typo).
295 * QtLauncher/main.cpp:
296 (MainWindow::MainWindow):
298 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
302 Moved obscuring progress bar to the lower right corner.
304 * QtLauncher/main.cpp:
305 (MainWindow::MainWindow):
306 (MainWindow::resizeEvent):
308 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
312 Added reload action and grouped stop and reload actions together.
314 * QtLauncher/main.cpp:
315 (MainWindow::MainWindow):
317 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
321 * Set a Icon on the QAction if we have one.
326 2008-03-11 Simon Hausmann <hausmann@webkit.org>
331 (QWebFrame::addToJSWindowObject):
333 2008-03-07 Simon Hausmann <hausmann@webkit.org>
339 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
341 * Api/qwebnetworkinterface.cpp:
342 (QWebNetworkManager::add):
343 (QWebNetworkManager::cancel):
344 (QWebNetworkManager::started):
345 (QWebNetworkManager::data):
346 (QWebNetworkManager::finished):
347 * Api/qwebnetworkinterface_p.h:
348 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
349 * Api/qwebobjectplugin.cpp: Removed.
350 * Api/qwebobjectplugin.h: Removed.
351 * Api/qwebobjectplugin_p.h: Removed.
352 * Api/qwebobjectpluginconnector.cpp: Removed.
353 * Api/qwebobjectpluginconnector.h: Removed.
355 (QWebPagePrivate::QWebPagePrivate):
356 (QWebPage::setPluginFactory):
357 (QWebPage::pluginFactory):
360 * Api/qwebpluginfactory.cpp: Added.
361 (QWebPluginFactory::QWebPluginFactory):
362 (QWebPluginFactory::~QWebPluginFactory):
363 (QWebPluginFactory::refreshPlugins):
364 (QWebPluginFactory::extension):
365 * Api/qwebpluginfactory.h: Added.
367 * WebCoreSupport/FrameLoaderClientQt.cpp:
368 (WebCore::FrameLoaderClientQt::objectContentType):
369 (WebCore::FrameLoaderClientQt::createPlugin):
371 2008-03-07 Simon Hausmann <hausmann@webkit.org>
377 2008-03-04 Sam Weinig <sam@webkit.org>
379 Reviewed by Mark Rowe.
381 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
385 (QWebFrame::addToJSWindowObject):
387 2008-03-04 Mark Rowe <mrowe@apple.com>
389 Another go at fixing the Qt build.
392 (QWebFrame::addToJSWindowObject):
394 2008-02-24 Darin Adler <darin@apple.com>
398 - remove separate client calls for "standard" and "reload' history
400 * WebCoreSupport/FrameLoaderClientQt.cpp:
401 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
402 * WebCoreSupport/FrameLoaderClientQt.h:
404 2008-02-24 Darin Adler <darin@apple.com>
406 - another try at fixing the build
409 (QWebFrame::load): Replace new FormData with FormData::create.
411 2008-02-22 Sam Weinig <sam@webkit.org>
415 * Api/qwebhistoryinterface.cpp:
417 2008-02-22 Sam Weinig <sam@webkit.org>
419 Rubber-stamped by Adam Roben.
421 Rid the project of the Devil known as DeprecatedString!
423 * Api/qwebhistory.cpp:
424 * Api/qwebhistoryinterface.cpp:
426 2008-02-18 Darin Adler <darin@apple.com>
430 * Api/qwebnetworkinterface.cpp:
431 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
433 2008-01-24 David Boddie <dboddie@trolltech.com>
437 Documentation tidying.
441 * Api/qwebhistoryinterface.cpp:
444 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
448 Text for translations were used wrongly as comments
451 * WebCoreSupport/FrameLoaderClientQt.cpp:
453 (WebCore::FrameLoaderClientQt::cannotShowURLError):
454 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
455 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
456 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
457 (WebCore::FrameLoaderClientQt::shouldFallBack):
459 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
463 * We have a KURL->QUrl conversion on KURL itself, make use of it.
464 * This conversion is supposed to be loss-free
469 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
471 * Rubber stamped by Simon
473 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
474 This was found while working on the page-cache, other ports are not affected.
476 * WebCoreSupport/FrameLoaderClientQt.cpp:
477 (WebCore::FrameLoaderClientQt::createFrame):
479 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
481 Reviewed by Simon Hausmann <hausmann@webkit.org>.
483 Fix Qtopia compilation with QT_NO_TOOLTIP
486 * WebCoreSupport/ChromeClientQt.cpp:
487 (WebCore::ChromeClientQt::print):
489 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
493 Doc: Replaced \code with snippets in the docs
498 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
502 Tweak key presses even to match commonly expected behavior
503 - space key == page down
504 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
505 - Use font height rather then a hard coded "10" for left, right, up, down
506 - Ctrl-Up moves to the top of the page
507 - Ctrl-Down move to the bottom of the page
508 - Backspace == GoBack
509 - Shift-Backspace == GoForward
513 (dropActionToDragOp):
514 (dragOpToDropAction):
515 (QWebPagePrivate::keyPressEvent):
517 2008-01-23 Simon Hausmann <hausmann@webkit.org>
521 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
523 Added two signals to QWebPage to handle downloading of links and handling of
528 (QWebPage::triggerAction):
530 * WebCoreSupport/FrameLoaderClientQt.cpp:
531 (WebCore::FrameLoaderClientQt::download):
532 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
533 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
534 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
535 (WebCore::FrameLoaderClientQt::willUseArchive):
537 2008-01-22 Lars Knoll <lars@trolltech.com>
541 setup a family for cursive and fantasy fonts as well.
544 * Api/qwebsettings.cpp:
545 (QWebSettings::QWebSettings):
547 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
551 Implement ChromeClientQt::setToolTip
552 Implement ChromeClientQt::mouseDidMoveOverElement
557 * WebCoreSupport/ChromeClientQt.cpp:
558 (WebCore::ChromeClientQt::ChromeClientQt):
559 (WebCore::ChromeClientQt::focus):
560 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
561 (WebCore::ChromeClientQt::setToolTip):
562 (WebCore::ChromeClientQt::print):
563 * WebCoreSupport/ChromeClientQt.h:
565 2008-01-21 Darin Adler <darin@apple.com>
567 Reviewed by John Sullivan.
569 - updated for changes to ChromeClient database functions
571 * WebCoreSupport/ChromeClientQt.cpp:
572 (WebCore::ChromeClientQt::exceededDatabaseQuota):
573 * WebCoreSupport/ChromeClientQt.h:
575 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
579 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
582 * Api/qwebhistoryinterface.h:
584 2008-01-21 Adam Treat <treat@kde.org>
588 * Don't leak the d-pointer in QWebSettings.
591 * Api/qwebsettings.cpp:
592 (QWebSettings::~QWebSettings):
594 2008-01-21 Simon Hausmann <hausmann@webkit.org>
598 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
600 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
605 2008-01-21 Simon Hausmann <hausmann@webkit.org>
609 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
611 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
612 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
613 and make the return value depend on whether we successfully determined a focusable
615 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
616 if we could not handle the focus chain ourselves.
617 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
618 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
619 used to control the situation of stepping out of the focus chain inside the page.
620 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
621 The layout tests expect this to be disabled but for the user it seems sensible to have it
622 on by default, hence the default in qwebsettings.cpp
626 (QWebPage::focusNextPrevChild):
627 * Api/qwebsettings.cpp:
628 (QWebSettings::QWebSettings):
629 * Api/qwebsettings.h:
631 (QWebView::QWebView):
632 (QWebView::focusNextPrevChild):
633 * WebCoreSupport/ChromeClientQt.cpp:
634 (WebCore::ChromeClientQt::canTakeFocus):
635 (WebCore::ChromeClientQt::takeFocus):
637 2008-01-18 Simon Hausmann <hausmann@webkit.org>
641 Coding style fixes and added a comment about the include order.
645 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
647 Reviewed by Simon Hausmann <hausmann@webkit.org>.
649 Add use of precompiled header, when building inside Qt.
651 Compiling WebKit was taking forever; 17 minutes on my machine for _one_ build! Adding the PCH at least brings it down to 12 minutes for one build, for me.
654 * WebKit_pch.h: Added.
656 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
660 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
661 we will see a crash in a HashSet.
662 * It is crashing there because the StringImpl of an empty String is 0.
663 * We avoid this crash by checking for isEmpty() in WebKit as there is no
664 use to ask the iconDatabase for an empty string. We will fallback to the
671 2008-01-17 Simon Hausmann <hausmann@webkit.org>
675 Minor documentation fixes
681 2008-01-17 Simon Hausmann <shausman@trolltech.com>
685 Fix form elements not focusing correctly after the qt widget lost its focus.
687 When receiving a focus out event notify the focus controller. Otherwise its
688 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
689 event shortcuts and doesn't call setActive(true).
694 2008-01-17 Simon Hausmann <shausman@trolltech.com>
698 Lots of updates to the documentation.
702 * Api/qwebhistory.cpp:
704 (QWebPagePrivate::dropEvent):
707 (QWebPage::triggerAction):
708 (QWebPage::viewportSize):
709 (QWebPage::navigationRequested):
712 (QWebPageContext::targetFrame):
716 2008-01-17 Simon Hausmann <shausman@trolltech.com>
720 Added a urlChanged signals to QWebFrame and QWebView.
728 * WebCoreSupport/FrameLoaderClientQt.cpp:
730 2008-01-17 Simon Hausmann <shausman@trolltech.com>
734 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
737 * Api/qwebsettings.cpp:
738 (QWebSettings::setIconDatabaseEnabled):
740 2008-01-17 Simon Hausmann <shausman@trolltech.com>
744 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
748 (QWebPage::createWindow):
750 (QWebView::createWindow):
753 2008-01-17 Lars Knoll <lars@trolltech.com>
757 add a 0 pointer check.
759 Fixes a crash in the demo web browser.
761 * WebCoreSupport/FrameLoaderClientQt.cpp:
762 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
764 2008-01-17 Simon Hausmann <hausmann@webkit.org>
768 Fix QWebFrame::title().
770 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
771 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
777 2008-01-17 Simon Hausmann <hausmann@webkit.org>
779 Reviewed by Maciej, Lars, Holger.
781 http://bugs.webkit.org/show_bug.cgi?id=16589
783 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
785 * Api/qwebnetworkinterface.cpp:
786 (QWebNetworkRequestPrivate::init):
787 (QWebNetworkManager::started):
789 2008-01-17 Warwick Allison <warwick@trolltech.com>
791 Reviewed by Simon Hausmann <hausmann@webkit.org>.
793 Follow QWidget::keyPressEvent advice and call parents.
795 Without this, Back does not work in Qtopia, for example.
799 (QWebView::keyPressEvent):
800 (QWebView::keyReleaseEvent):
802 2008-01-17 Simon Hausmann <hausmann@webkit.org>
806 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
808 * Api/qwebnetworkinterface.cpp:
809 (QWebNetworkManager::started):
811 2008-01-17 Simon Hausmann <shausman@trolltech.com>
815 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
820 * WebCoreSupport/FrameLoaderClientQt.cpp:
822 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
824 Reviewed by Simon Hausmann <hausmann@webkit.org>.
826 Fixes compilation with QT_NO_DRAGANDDROP
832 (QWebView::dragEnterEvent):
833 (QWebView::dragLeaveEvent):
834 (QWebView::dragMoveEvent):
835 (QWebView::dropEvent):
837 2008-01-17 Simon Hausmann <hausmann@webkit.org>
841 Fix compilation, removed obsolete privateBrowsingEnabled() method.
843 * WebCoreSupport/FrameLoaderClientQt.cpp:
845 2008-01-16 Lars Knoll <lars@trolltech.com>
847 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
849 Removed a whole bunch of notImplemented() warnings.
851 I don't want to hide the real warnings in lots of things that
852 I am by now pretty certain we won't need.
855 * WebCoreSupport/FrameLoaderClientQt.cpp:
856 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
857 (WebCore::FrameLoaderClientQt::canShowMIMEType):
859 2008-01-16 Simon Hausmann <hausmann@webkit.org>
863 Fix crash when bringing up the context menu on maps.google.com.
865 If the website provides its own context menu then we don't have a ContextMenu pointer.
869 (QWebPagePrivate::contextMenuEvent):
871 2008-01-16 Simon Hausmann <hausmann@webkit.org>
875 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
878 (QWebView::mouseMoveEvent):
879 (QWebView::mousePressEvent):
880 (QWebView::mouseDoubleClickEvent):
881 (QWebView::mouseReleaseEvent):
882 (QWebView::contextMenuEvent):
883 (QWebView::wheelEvent):
884 (QWebView::keyPressEvent):
885 (QWebView::keyReleaseEvent):
886 (QWebView::focusInEvent):
887 (QWebView::focusOutEvent):
888 (QWebView::dragEnterEvent):
889 (QWebView::dragLeaveEvent):
890 (QWebView::dragMoveEvent):
891 (QWebView::dropEvent):
892 (QWebView::focusNextPrevChild):
894 2008-01-16 Simon Hausmann <hausmann@webkit.org>
898 Made the url property read-write.
902 2008-01-16 Simon Hausmann <hausmann@webkit.org>
906 Don't crash when showing a default initialized QWebView that has no page/frame yet.
909 (QWebView::paintEvent):
911 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
915 Change hoveringOverLink implementation to have less issues.
917 * Currently we only compare a pointer. In the worst case we
918 could delete the Element we have pointed to and a new one
919 gets the same address. But even if that doesn't happen the
920 WebCore::Element is mutable and JavaScript could change the
921 URL, Title or Content. So we have to compare all these three
923 * This does not seem to be a performance impact.
927 (QWebPagePrivate::mouseMoveEvent):
930 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
934 * Move the hoverElement from QWebFrame to QWebPage. As it is
939 (QWebFramePrivate::QWebFramePrivate):
941 (QWebPagePrivate::mouseMoveEvent):
944 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
948 EventHandler changes/fixes in QWebPage:
949 -mouse{Press,Move,Release}Event:
950 Send the event always to the mainFrame of the QWebPage.
952 -contextMenuEvent, key{Press,Release}Event:
953 Send the event to the focused frame.
955 This is following the Windows port and fixes a issue with the
956 Web Inspector where we were sending the events to a wrong frame.
958 It is guaranteed that the mainFrame will always have an eventHandler
959 and frameView set. There is no need to check for this in QWebPage.
963 (QWebFramePrivate::init):
965 (QWebFramePrivate::QWebFramePrivate):
967 (QWebPagePrivate::updateEditorActions):
968 (QWebPagePrivate::mouseMoveEvent):
969 (QWebPagePrivate::mousePressEvent):
970 (QWebPagePrivate::mouseDoubleClickEvent):
971 (QWebPagePrivate::mouseReleaseEvent):
972 (QWebPagePrivate::contextMenuEvent):
973 (QWebPagePrivate::wheelEvent):
974 (QWebPagePrivate::keyPressEvent):
975 (QWebPagePrivate::keyReleaseEvent):
976 (QWebPagePrivate::focusInEvent):
979 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
983 * Add core and kit functions to QWebFramePrivate to convert from
984 QWebFrame to WebCore::Frame and vice versa.
988 (QWebFramePrivate::core):
989 (QWebFramePrivate::kit):
993 2008-01-16 Lars Knoll <lars@trolltech.com>
997 add conversion methods from and to QUrl to KURL.
999 Use them in the places I found at the moment. Fixes a bug
1000 where form data was encoded twice.
1001 Also fix QWebSettings to take a QUrl for the user style sheet
1005 * Api/qwebframe.cpp:
1008 (QWebPage::createPlugin):
1010 (QWebPage::triggerAction):
1011 * Api/qwebsettings.cpp:
1012 (QWebSettingsPrivate::apply):
1013 * Api/qwebsettings.h:
1014 * WebCoreSupport/ChromeClientQt.cpp:
1015 (WebCore::ChromeClientQt::createWindow):
1016 (WebCore::ChromeClientQt::show):
1018 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1022 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
1023 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
1024 the QWebPage/WebInspector automatically.
1027 * WebCoreSupport/InspectorClientQt.cpp:
1028 (WebCore::InspectorClientWebPage::createWindow):
1029 (WebCore::InspectorClientView::InspectorClientView):
1031 2008-01-10 Maciej Stachowiak <mjs@apple.com>
1035 - remove SecurityOriginData and fold its functionality into SecurityOrigin
1037 * WebCoreSupport/ChromeClientQt.cpp:
1038 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1039 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1040 * WebCoreSupport/ChromeClientQt.h:
1042 2008-01-10 Lars Knoll <lars@trolltech.com>
1046 document QWebHistory
1049 * Api/qwebhistory.cpp:
1050 (QWebHistoryItem::QWebHistoryItem):
1051 (QWebHistoryItem::operator=):
1052 (QWebHistoryItem::~QWebHistoryItem):
1053 (QWebHistoryItem::originalUrl):
1054 (QWebHistoryItem::currentUrl):
1055 (QWebHistoryItem::title):
1056 (QWebHistoryItem::icon):
1057 (QWebHistory::canGoBack):
1058 (QWebHistory::canGoForward):
1059 (QWebHistory::goBack):
1060 (QWebHistory::goForward):
1061 (QWebHistory::goToItem):
1062 * Api/qwebhistory.h:
1064 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1068 Make the reset() functions not do anything on the default QWebSettings object.
1071 * Api/qwebsettings.cpp:
1072 (QWebSettings::resetFontSize):
1073 (QWebSettings::resetFontFamily):
1074 (QWebSettings::clearAttribute):
1076 2008-01-10 Lars Knoll <lars@trolltech.com>
1080 rename QWebPageHistory to QWebHistory.
1083 * Api/qwebhistory.cpp: Added.
1084 (QWebHistoryItem::QWebHistoryItem):
1085 (QWebHistoryItem::operator=):
1086 (QWebHistoryItem::~QWebHistoryItem):
1087 (QWebHistoryItem::originalUrl):
1088 (QWebHistoryItem::currentUrl):
1089 (QWebHistoryItem::title):
1090 (QWebHistoryItem::lastVisited):
1091 (QWebHistoryItem::icon):
1092 (QWebHistory::QWebHistory):
1093 (QWebHistory::~QWebHistory):
1094 (QWebHistory::clear):
1095 (QWebHistory::items):
1096 (QWebHistory::backItems):
1097 (QWebHistory::forwardItems):
1098 (QWebHistory::canGoBack):
1099 (QWebHistory::canGoForward):
1100 (QWebHistory::goBack):
1101 (QWebHistory::goForward):
1102 (QWebHistory::goToItem):
1103 (QWebHistory::backItem):
1104 (QWebHistory::currentItem):
1105 (QWebHistory::forwardItem):
1106 (QWebHistory::itemAtIndex):
1107 * Api/qwebhistory.h: Added.
1108 * Api/qwebhistory_p.h: Added.
1109 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1110 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1111 (QWebHistoryPrivate::QWebHistoryPrivate):
1112 (QWebHistoryPrivate::~QWebHistoryPrivate):
1114 (QWebPagePrivate::QWebPagePrivate):
1117 * Api/qwebpagehistory.cpp: Removed.
1118 * Api/qwebpagehistory.h: Removed.
1119 * Api/qwebpagehistory_p.h: Removed.
1123 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1127 Documentation for QWebSettings
1130 * Api/qwebsettings.cpp:
1131 (QWebSettings::~QWebSettings):
1132 (QWebSettings::setFontSize):
1133 (QWebSettings::resetFontSize):
1134 (QWebSettings::setUserStyleSheetLocation):
1135 (QWebSettings::userStyleSheetLocation):
1136 (QWebSettings::iconDatabaseEnabled):
1137 (QWebSettings::webGraphic):
1138 (QWebSettings::setFontFamily):
1139 (QWebSettings::resetFontFamily):
1140 (QWebSettings::setAttribute):
1142 2008-01-10 Lars Knoll <lars@trolltech.com>
1146 Document QWebHistoryInterface.
1149 * Api/qwebhistoryinterface.cpp:
1150 (QWebHistoryInterface::defaultInterface):
1151 (QWebHistoryInterface::~QWebHistoryInterface):
1153 2008-01-10 Lars Knoll <lars@trolltech.com>
1157 Documentation for QWebFrame.
1160 * Api/qwebframe.cpp:
1164 (QWebFrame::setHtml):
1165 (QWebFrame::parentFrame):
1166 (QWebFrame::render):
1168 (QWebFrame::geometry):
1170 * Api/qwebframe_p.h:
1172 2008-01-10 Lars Knoll <lars@trolltech.com>
1176 fix the drawing errors that where introduced due to refactoring.
1178 Correctly clip to the rectangle we want to draw in ScrollView::paint().
1181 * Api/qwebframe.cpp:
1182 (QWebFrame::render):
1185 (QWebView::paintEvent):
1186 * WebCoreSupport/ChromeClientQt.cpp:
1187 (WebCore::ChromeClientQt::scrollBackingStore):
1189 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1193 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
1197 (QWebPagePrivate::dropEvent):
1198 (QWebPage::QWebPage):
1199 (QWebPage::~QWebPage):
1200 (QWebPage::mainFrame):
1201 (QWebPage::currentFrame):
1202 (QWebPage::history):
1203 (QWebPage::setView):
1205 (QWebPage::javaScriptConsoleMessage):
1206 (QWebPage::javaScriptAlert):
1207 (QWebPage::javaScriptConfirm):
1208 (QWebPage::javaScriptPrompt):
1209 (QWebPage::createWindow):
1210 (QWebPage::createModalDialog):
1212 (QWebPage::triggerAction):
1213 (QWebPage::viewportSize):
1214 (QWebPage::navigationRequested):
1215 (QWebPage::selectedText):
1216 (QWebPage::isModified):
1217 (QWebPage::focusNextPrevChild):
1218 (QWebPage::settings):
1219 (QWebPage::networkProxy):
1220 (QWebPage::setNetworkAccessManager):
1221 (QWebPage::networkAccessManager):
1222 (QWebPagePrivate::_q_onLoadProgressChanged):
1225 2008-01-07 Holger Freyther <zecke@selfish.org>
1227 Reviewed by Alp Toker.
1229 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
1231 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
1232 * Update the ContextMenuController to accept CheckableActionTypes as well.
1233 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
1234 was extracted from ContextMenu::checkOrEnableIfNeeded.
1235 * Update the Qt and Windows port.
1238 (QWebPagePrivate::createContextMenu):
1240 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1242 Build fix for the Windows build. MSVC wants to see the full
1243 declaration of arguments even when just passing them through.
1247 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1251 Added the missing parameters to make it possible to do POST operations from the public API.
1253 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1254 two extra arguments were in QNetworkRequest :-/
1257 * Api/qwebframe.cpp:
1264 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1268 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1271 * Api/qwebframe.cpp:
1274 * Api/qwebnetworkinterface.cpp:
1275 * Api/qwebnetworkinterface.h:
1276 * Api/qwebnetworkinterface_p.h:
1277 * Api/qwebobjectplugin.cpp:
1278 * Api/qwebobjectplugin.h:
1279 * Api/qwebobjectplugin_p.h:
1280 * Api/qwebobjectpluginconnector.cpp:
1281 * Api/qwebobjectpluginconnector.h:
1283 (QWebPagePrivate::QWebPagePrivate):
1284 (QWebPagePrivate::~QWebPagePrivate):
1285 (QWebPagePrivate::navigationRequested):
1286 (QWebPage::setNetworkInterface):
1287 (QWebPage::networkInterface):
1288 (QWebPage::setNetworkAccessManager):
1289 (QWebPage::networkAccessManager):
1294 * WebCoreSupport/FrameLoaderClientQt.cpp:
1295 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1296 (WebCore::FrameLoaderClientQt::objectContentType):
1297 (WebCore::FrameLoaderClientQt::createPlugin):
1299 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1303 * Move the QWebPagePrivate methods up to the other private ones
1306 (dropActionToDragOp):
1307 (dragOpToDropAction):
1308 (QWebPagePrivate::mouseMoveEvent):
1309 (QWebPagePrivate::mousePressEvent):
1310 (QWebPagePrivate::mouseDoubleClickEvent):
1311 (QWebPagePrivate::mouseReleaseEvent):
1312 (QWebPagePrivate::contextMenuEvent):
1313 (QWebPagePrivate::wheelEvent):
1314 (QWebPagePrivate::keyPressEvent):
1315 (QWebPagePrivate::keyReleaseEvent):
1316 (QWebPagePrivate::focusInEvent):
1317 (QWebPagePrivate::focusOutEvent):
1318 (QWebPagePrivate::dragEnterEvent):
1319 (QWebPagePrivate::dragLeaveEvent):
1320 (QWebPagePrivate::dragMoveEvent):
1321 (QWebPagePrivate::dropEvent):
1322 (QWebPage::focusNextPrevChild):
1324 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1328 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1332 (dragOpToDropAction):
1334 (QWebView::mouseMoveEvent):
1335 (QWebView::mousePressEvent):
1336 (QWebView::mouseDoubleClickEvent):
1337 (QWebView::mouseReleaseEvent):
1338 (QWebView::contextMenuEvent):
1339 (QWebView::keyPressEvent):
1340 (QWebView::keyReleaseEvent):
1341 (QWebView::focusInEvent):
1342 (QWebView::focusOutEvent):
1343 (QWebView::dragEnterEvent):
1344 (QWebView::dragLeaveEvent):
1345 (QWebView::dragMoveEvent):
1346 (QWebView::dropEvent):
1348 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1352 * This layout is not needed anymore as Widget::invalidateRect will not
1357 (QWebView::paintEvent):
1359 2008-01-04 Lars Knoll <lars@trolltech.com>
1363 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1365 This also brings the code closer in line with the Windows code. Seems
1366 to work nicely on first try :)
1369 * WebCoreSupport/ChromeClientQt.cpp:
1370 (WebCore::ChromeClientQt::updateBackingStore):
1371 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1372 (WebCore::ChromeClientQt::setToolTip):
1373 * WebCoreSupport/FrameLoaderClientQt.cpp:
1374 (WebCore::FrameLoaderClientQt::createPlugin):
1376 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1380 * Remove the todo from QWebPage and move the code to QWebView.
1384 (QWebPagePrivate::wheelEvent):
1385 (QWebPagePrivate::focusInEvent):
1387 (QWebView::wheelEvent):
1388 (QWebView::focusInEvent):
1390 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1394 * Move the various event methods to QWebPagePrivate. This is similar to
1395 QTextControl as well.
1400 (QWebPagePrivate::mouseMoveEvent):
1401 (QWebPagePrivate::mousePressEvent):
1402 (QWebPagePrivate::mouseDoubleClickEvent):
1403 (QWebPagePrivate::mouseReleaseEvent):
1404 (QWebPagePrivate::contextMenuEvent):
1405 (QWebPagePrivate::wheelEvent):
1406 (QWebPagePrivate::keyPressEvent):
1407 (QWebPagePrivate::keyReleaseEvent):
1408 (QWebPagePrivate::focusInEvent):
1409 (QWebPagePrivate::focusOutEvent):
1410 (QWebPage::focusNextPrevChild):
1411 (QWebPagePrivate::dragEnterEvent):
1412 (QWebPagePrivate::dragLeaveEvent):
1413 (QWebPagePrivate::dragMoveEvent):
1414 (QWebPagePrivate::dropEvent):
1418 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1422 * Forward the event from QWebView to QWebPage through QObject::event. This
1423 is similar to the way QTextControl is working.
1427 (dragOpToDropAction):
1431 (QWebView::mouseMoveEvent):
1432 (QWebView::mousePressEvent):
1433 (QWebView::mouseDoubleClickEvent):
1434 (QWebView::mouseReleaseEvent):
1435 (QWebView::contextMenuEvent):
1436 (QWebView::wheelEvent):
1437 (QWebView::keyPressEvent):
1438 (QWebView::keyReleaseEvent):
1439 (QWebView::focusInEvent):
1440 (QWebView::focusOutEvent):
1441 (QWebView::dragEnterEvent):
1442 (QWebView::dragLeaveEvent):
1443 (QWebView::dragMoveEvent):
1444 (QWebView::dropEvent):
1447 2008-01-04 Lars Knoll <lars@trolltech.com>
1451 make QWebPage a QObject and get things to compile.
1453 Nothing works currently though.
1456 * Api/qwebobjectpluginconnector.cpp:
1458 (QWebPagePrivate::QWebPagePrivate):
1459 (QWebPagePrivate::createMainFrame):
1460 (QWebPage::QWebPage):
1461 (QWebPage::setView):
1463 (QWebPage::javaScriptAlert):
1464 (QWebPage::javaScriptPrompt):
1465 (dragOpToDropAction):
1466 (QWebPage::mousePressEvent):
1467 (QWebPage::mouseDoubleClickEvent):
1468 (QWebPage::mouseReleaseEvent):
1469 (QWebPage::wheelEvent):
1470 (QWebPage::keyPressEvent):
1471 (QWebPage::focusInEvent):
1475 (QWebView::QWebView):
1476 (QWebView::setPage):
1477 (QWebView::resizeEvent):
1478 (QWebView::paintEvent):
1480 * WebCoreSupport/ChromeClientQt.cpp:
1481 (WebCore::ChromeClientQt::windowRect):
1482 (WebCore::ChromeClientQt::pageRect):
1483 (WebCore::ChromeClientQt::focus):
1484 (WebCore::ChromeClientQt::unfocus):
1485 (WebCore::ChromeClientQt::canTakeFocus):
1486 (WebCore::ChromeClientQt::takeFocus):
1487 (WebCore::ChromeClientQt::canRunModal):
1488 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1489 * WebCoreSupport/DragClientQt.cpp:
1490 (WebCore::DragClientQt::startDrag):
1491 * WebCoreSupport/FrameLoaderClientQt.cpp:
1492 (WebCore::FrameLoaderClientQt::createPlugin):
1493 * WebCoreSupport/InspectorClientQt.cpp:
1494 (WebCore::InspectorClientWebPage::createWindow):
1495 (WebCore::InspectorClientView::InspectorClientView):
1496 (WebCore::InspectorClientView::page):
1497 (WebCore::InspectorClientView::hideEvent):
1498 (WebCore::InspectorClientView::closeEvent):
1499 (WebCore::InspectorClientQt::createPage):
1500 (WebCore::InspectorClientQt::closeWindow):
1502 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1506 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1510 (QWebView::setHtml):
1511 (QWebView::setContent):
1512 (QWebView::history):
1513 (QWebView::settings):
1515 (QWebView::triggerAction):
1517 (QWebView::backward):
1518 (QWebView::forward):
1522 2008-01-04 Lars Knoll <lars@trolltech.com>
1526 add a viewportSize to QWebPage.
1528 This is required to eventually make it a QObject only.
1532 (QWebPage::triggerAction):
1533 (QWebPage::viewportSize):
1534 (QWebPage::setViewportSize):
1537 2008-01-04 Lars Knoll <lars@trolltech.com>
1541 take a QString as identifier in QWebFrame::addToJSWindowObject.
1543 * Api/qwebframe.cpp:
1544 (QWebFrame::addToJSWindowObject):
1547 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1551 Call the frame arguments for the javascript callbacks "originatingFrame"
1556 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1560 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1563 * Api/qwebhistoryinterface.h:
1565 * WebCoreSupport/FrameLoaderClientQt.cpp:
1566 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1568 2008-01-04 Lars Knoll <lars@trolltech.com>
1572 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1574 * Api/qwebframe.cpp:
1577 (QWebFrame::setVerticalScrollBarPolicy):
1580 (QWebPage::javaScriptAlert):
1581 (QWebPage::javaScriptPrompt):
1582 (QWebPage::networkInterface):
1588 * WebCoreSupport/FrameLoaderClientQt.cpp:
1590 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1594 Moved QWebPage::open to QWebFrame::load and added setHtml.
1597 * Api/qwebframe.cpp:
1599 (QWebFrame::setHtml):
1600 (QWebFrame::setContent):
1606 (QWebView::setHtml):
1608 * WebCoreSupport/ChromeClientQt.cpp:
1609 (WebCore::ChromeClientQt::createWindow):
1610 * WebCoreSupport/InspectorClientQt.cpp:
1611 (WebCore::InspectorClientQt::createPage):
1613 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1617 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1623 (QWebPagePrivate::createMainFrame):
1625 * Api/qwebpagehistory.h:
1626 * Api/qwebview.cpp: Added.
1627 (QWebView::QWebView):
1628 (QWebView::~QWebView):
1630 (QWebView::setPage):
1632 (QWebView::setHtml):
1633 (QWebView::history):
1634 (QWebView::settings):
1638 (QWebView::selectedText):
1640 (QWebView::triggerAction):
1641 (QWebView::isModified):
1642 (QWebView::textInteractionFlags):
1643 (QWebView::setTextInteractionFlags):
1644 (QWebView::sizeHint):
1646 (QWebView::backward):
1647 (QWebView::forward):
1649 * Api/qwebview.h: Added.
1650 * QtLauncher/main.cpp:
1651 (MainWindow::MainWindow):
1652 (MainWindow::webPage):
1653 (MainWindow::changeLocation):
1654 * WebCoreSupport/FrameLoaderClientQt.cpp:
1655 (WebCore::FrameLoaderClientQt::setFrame):
1656 * WebCoreSupport/FrameLoaderClientQt.h:
1658 2007-12-14 Darin Adler <darin@apple.com>
1663 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1664 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1665 * WebCoreSupport/EditorClientQt.cpp:
1666 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1667 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1670 2007-12-12 Brady Eidson <beidson@apple.com>
1672 Reviewed by Sam Weinig
1674 As part of doing some CachedPage and client cleanup, keep Qt building
1676 * WebCoreSupport/FrameLoaderClientQt.cpp:
1677 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1678 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1679 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1680 * WebCoreSupport/FrameLoaderClientQt.h:
1682 2007-12-12 Sam Weinig <sam@webkit.org>
1686 * WebCoreSupport/FrameLoaderClientQt.cpp:
1687 (WebCore::FrameLoaderClientQt::userAgent):
1689 2007-12-12 Sam Weinig <sam@webkit.org>
1693 * Api/qwebnetworkinterface.cpp:
1694 (QWebNetworkRequestPrivate::init):
1697 (QWebPageContext::QWebPageContext):
1698 * Api/qwebpagehistory.cpp:
1699 (QWebHistoryItem::originalUrl):
1700 (QWebHistoryItem::currentUrl):
1701 * WebCoreSupport/FrameLoaderClientQt.cpp:
1702 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1703 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1704 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1705 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1706 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1707 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1708 (WebCore::FrameLoaderClientQt::createPlugin):
1710 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1714 <rdar://problem/5535636>
1715 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1717 http://bugs.webkit.org/show_bug.cgi?id=13916
1718 JavaScript detects Tab as a character input on a textfield validation
1720 * WebCoreSupport/EditorClientQt.cpp:
1721 (WebCore::EditorClientQt::handleKeyboardEvent):
1722 (WebCore::EditorClientQt::handleInputMethodKeydown):
1723 * WebCoreSupport/EditorClientQt.h:
1724 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1726 2007-12-07 Darin Adler <darin@apple.com>
1730 * Api/qwebhistoryinterface.cpp:
1731 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1732 be updated, since WebCore changed, but this should not be here.
1734 2007-12-04 Darin Adler <darin@apple.com>
1736 Reviewed by Kevin Decker.
1738 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1739 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1741 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1745 * Implement the InspectorClient for the Qt port
1746 * It does not support highlighting of nodes yet
1747 * Use QRC to open the internal page. The important thing is the
1748 '/' in the URL to make WebCore::Document::completeURL behave the
1750 * To make the InspectorClient work we will have to mark qrc as secure.
1753 (QWebPagePrivate::QWebPagePrivate):
1755 * WebCoreSupport/InspectorClientQt.cpp:
1756 (WebCore::InspectorClientWebPage::hideEvent):
1757 (WebCore::InspectorClientQt::InspectorClientQt):
1758 (WebCore::InspectorClientQt::inspectorDestroyed):
1759 (WebCore::InspectorClientQt::createPage):
1760 (WebCore::InspectorClientQt::localizedStringsURL):
1761 (WebCore::InspectorClientQt::showWindow):
1762 (WebCore::InspectorClientQt::closeWindow):
1763 (WebCore::InspectorClientQt::attachWindow):
1764 (WebCore::InspectorClientQt::detachWindow):
1765 * WebCoreSupport/InspectorClientQt.h:
1767 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1769 Rubber stamped by Mark.
1771 Always include config.h at the beginning of the file.
1773 * Api/qwebsettings.cpp:
1775 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1779 * Avoid crashes by making sure everything is layouted before
1780 we start painting. This avoids a crash in Widget::invalidateRect
1781 because QPainter::begin would fail
1782 * The QWebFrame::layout() methods and calls are left untouched because
1783 this would be an API decision.
1786 * Api/qwebframe.cpp:
1787 (QWebFrame::layout):
1789 (QWebPage::paintEvent):
1791 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1795 * SubClass QWebPage to handle hide and close events.
1796 * Forward these events to the InspectorController
1797 * The other options would have been using an eventFilter
1798 on the webpage and making InspectorClient a QObject or
1799 creating a QObject Observer.
1800 * Provide a simple QWebPage* createWindow implementation. This is needed
1801 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1802 of the inspector client.
1805 * WebCoreSupport/InspectorClientQt.cpp:
1806 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1807 (WebCore::InspectorClientWebPage::createWindow):
1808 (WebCore::InspectorClientWebPage::hideEvent):
1809 (WebCore::InspectorClientWebPage::closeEvent):
1810 (WebCore::InspectorClientQt::createPage):
1812 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1816 * Allow adding the Inspect ContextMenuItem to our Menu
1817 * Open the Inspector when Inspect was activated. This requires
1818 that we keep the innerNonSharedNode from the HitTest around. This
1819 forces us to include <wtf/RefPtr.h> in the private header. It is
1820 the first non Qt header but should be okay.
1824 (webActionForContextMenuAction):
1825 (QWebPage::triggerAction):
1827 (QWebPageContext::QWebPageContext):
1831 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1835 * Add the Developer Extras to the WebAttribute and propagate it
1836 to WebCore::Settings. This will enable the Inspect Element menu item
1837 * CodingStyle fixes in QWebSettings
1838 * Enable the Developer Extras in the QtLauncher
1841 * Api/qwebsettings.cpp:
1842 (QWebSettingsPrivate::apply):
1843 * Api/qwebsettings.h:
1844 * QtLauncher/main.cpp:
1847 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1849 Removed unnecessary and possibly incorrect #include from my last
1852 * Api/qwebframe.cpp:
1854 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1856 Qt build fix: Get globalExec() from the right place.
1858 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1862 * Self destruct the clients like the ohter ports do
1865 * WebCoreSupport/ChromeClientQt.cpp:
1866 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1867 * WebCoreSupport/ContextMenuClientQt.cpp:
1868 * WebCoreSupport/DragClientQt.cpp:
1869 * WebCoreSupport/EditorClientQt.cpp:
1870 * WebCoreSupport/InspectorClientQt.cpp:
1872 2007-11-29 Brady Eidson <beidson@apple.com>
1874 Keep it building with new client method
1876 * WebCoreSupport/ChromeClientQt.cpp:
1877 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1878 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1879 * WebCoreSupport/ChromeClientQt.h:
1881 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1883 Reviewed by Adam Treat.
1885 Fix compilation (don't define notImplemented twice)
1887 * Api/qwebnetworkinterface.cpp:
1889 2007-11-22 Simon Hausmann <hausmann@kde.org>
1893 Use Q_SIGNALS/Q_SLOTS in the public API
1898 2007-11-22 Simon Hausmann <hausmann@kde.org>
1902 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1906 2007-11-22 Simon Hausmann <hausmann@kde.org>
1910 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1914 * Api/qwebhistoryinterface.h:
1915 * Api/qwebnetworkinterface.h:
1916 * Api/qwebobjectplugin.h:
1917 * Api/qwebobjectplugin_p.h:
1918 * Api/qwebobjectpluginconnector.h:
1920 * Api/qwebpagehistory.h:
1921 * Api/qwebsettings.h:
1923 2007-11-22 Simon Hausmann <hausmann@kde.org>
1927 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1929 * Api/qwebpagehistory.h:
1931 2007-11-22 George Staikos <staikos@kde.org>
1933 Reviewed by Simon Hausmann <hausmann@kde.org>.
1938 * Api/qwebobjectplugin.cpp:
1939 * Api/qwebobjectplugin.h:
1940 * Api/qwebobjectpluginconnector.cpp:
1941 * Api/qwebobjectpluginconnector.h:
1943 2007-11-22 Simon Hausmann <hausmann@kde.org>
1945 Reviewed by George Staikos <staikos@kde.org>.
1947 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1949 This also fixes compilation with gcc 4.3.
1952 * Api/qwebframe.cpp:
1953 (QWebFramePrivate::init):
1955 2007-11-21 Adam Treat <treat@kde.org>
1959 * Connect up the signal for all subframes too.
1961 * Api/qwebframe.cpp:
1962 (QWebFramePrivate::init):
1964 (QWebPagePrivate::createMainFrame):
1966 2007-11-20 Simon Hausmann <hausmann@kde.org>
1968 Reviewed by Adam Treat <treat@kde.org>.
1970 Remove static linkage of QtWebKit against the ICO image format plugin.
1972 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1975 * Plugins/Plugins.pro:
1977 2007-11-20 Simon Hausmann <hausmann@kde.org>
1979 Reviewed by George Staikos <staikos@kde.org>.
1981 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1986 2007-11-20 George Staikos <staikos@kde.org>
1988 Reviewed by Simon Hausmann <hausmann@kde.org>.
1990 Add an argument to pass the link text in the hovering signal
1995 (QWebPagePrivate::createMainFrame):
1996 (QWebPage::mouseMoveEvent):
1999 2007-11-20 Adam Treat <treat@kde.org>
2001 Reviewed by Simon and George.
2003 * Be quiet and allow suppression of NotImplemented calls at runtime.
2005 * WebCoreSupport/FrameLoaderClientQt.cpp:
2006 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2008 2007-11-19 Adam Treat <treat@kde.org>
2012 * Don't segfault when event pos is outside of the widget.
2015 (QWebPage::mouseMoveEvent):
2016 (QWebPage::mousePressEvent):
2017 (QWebPage::mouseDoubleClickEvent):
2018 (QWebPage::mouseReleaseEvent):
2019 (QWebPage::contextMenuEvent):
2021 2007-11-17 Timothy Hatcher <timothy@apple.com>
2023 Reviewed by Mark Rowe.
2025 Bug 13470: i18n: The Web Inspector is not localizable
2026 http://bugs.webkit.org/show_bug.cgi?id=13470
2028 * WebCoreSupport/InspectorClientQt.cpp:
2029 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
2030 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
2032 2007-11-13 Geoffrey Garen <ggaren@apple.com>
2034 Build fix: changed Shared to RefCounted.
2036 * WebCoreSupport/ChromeClientQt.h:
2037 * WebCoreSupport/ContextMenuClientQt.cpp:
2038 * WebCoreSupport/ContextMenuClientQt.h:
2039 * WebCoreSupport/EditorClientQt.h:
2040 * WebCoreSupport/FrameLoaderClientQt.h:
2042 2007-11-10 Simon Hausmann <hausmann@kde.org>
2044 Reviewed by Nikolas.
2046 When populating the context menu with sub-menus don't add sub-menus if they're empty.
2050 (QWebPagePrivate::createContextMenu):
2052 2007-11-10 Simon Hausmann <hausmann@kde.org>
2054 Reviewed by Nikolas.
2056 Added support for the Bold/Italic/Underline toggle actions.
2060 (webActionForContextMenuAction):
2061 (QWebPage::triggerAction):
2065 2007-11-10 Simon Hausmann <hausmann@kde.org>
2067 Reviewed by Nikolas.
2069 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
2070 to update the enable/checked state correctly.
2074 (QWebPagePrivate::createContextMenu):
2075 (QWebPage::contextMenuEvent):
2078 2007-11-10 Simon Hausmann <hausmann@kde.org>
2080 Reviewed by Nikolas.
2082 Mark the text direction actions as checkable actions.
2088 2007-11-09 Simon Hausmann <hausmann@kde.org>
2092 Implemented the webcore actions for changing the text direction.
2096 (webActionForContextMenuAction):
2097 (QWebPage::triggerAction):
2101 2007-11-09 Simon Hausmann <hausmann@kde.org>
2105 Fix ContextMenu allocation in the Qt port.
2107 Store all items and submenus value based in ContextMenu and ContextMenuItem.
2108 That fixes the crashes when the context menu was populated with sub-menus because
2109 of the use of temporary ContextMenu objects like this:
2111 ContextMenu subMenu(...);
2112 subMenu.appendItem(...);
2113 subMenu.appendItem(...);
2115 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
2119 (QWebPage::contextMenuEvent):
2122 2007-11-09 Simon Hausmann <hausmann@kde.org>
2126 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
2132 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2136 - windowObjectCleared() is no longer const. It needs to setup the
2137 script debugger and cannot be const to do so.
2139 * WebCoreSupport/FrameLoaderClientQt.cpp:
2140 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2141 * WebCoreSupport/FrameLoaderClientQt.h:
2143 2007-11-08 Simon Hausmann <hausmann@kde.org>
2145 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
2147 The buildbots use Qt 4.4 which has the function in question, but Qt
2148 4.3 doesn't have it. Use removeAll() as replacement instead, it
2149 shouldn't make a difference in performance.
2151 * Api/qwebsettings.cpp:
2152 (QWebSettings::~QWebSettings):
2154 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2156 Reviewed by Lars Knoll <lars@trolltech.com>.
2158 Cleanup checking for the request method.
2160 * Check the request method only in QWebNetworkManager::add.
2161 * Currently HEAD, GET, POST are allowed and for everything else
2162 QWebNetworkManager::add returns false.
2163 * Returning false is compatible with ResourceHandle::start and it
2164 can be used in ResourceHandle::loadResourceSynchronously to generate
2168 * Api/qwebnetworkinterface.cpp:
2169 (QWebNetworkManager::add):
2171 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2173 Reviewed by Lars Knoll <lars@trolltech.com>.
2175 Fix bug in the implementation of synchronous network jobs.
2177 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
2178 - if (jobMode == AsynchronousJob) {
2179 + if (jobMode == SynchronousJob) {
2180 add job to synchronous list/hash
2182 * Just applying the above change will lead to crashes because we can finish
2183 jobs before we started them.
2185 * Avoid these issues by saving all work (starting a job, sending data and
2186 finishing it) inside one list. JobWork will contain any
2187 of the above three work types and doWork will just work on this list
2188 (m_pendingWork). As foreach takes a copy of the list calling started, data
2189 and finished will not add new work and we gurantee that if we have JobStarted
2190 it will be in the list before JobData and JobFinished.
2192 * Observation: We might just kill the code to handle sync jobs.
2195 * Api/qwebnetworkinterface.cpp:
2196 (QWebNetworkManager::add):
2197 (QWebNetworkManager::queueStart):
2198 (QWebNetworkManager::queueData):
2199 (QWebNetworkManager::queueFinished):
2200 (QWebNetworkManager::doWork):
2201 * Api/qwebnetworkinterface_p.h:
2202 (QWebNetworkManager::JobWork::):
2203 (QWebNetworkManager::JobWork::JobWork):
2205 2007-11-07 Simon Hausmann <hausmann@kde.org>
2207 Build fix, reviewed by nobody.
2209 Fix the Qt build by setting up WindowFeatures before calling
2210 createWindow on the Chrome. This is similar to openNewWindow in
2211 page/ContextMenuController.cpp
2216 2007-11-07 Simon Hausmann <hausmann@kde.org>
2220 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2223 (QWebPagePrivate::QWebPagePrivate):
2224 * Api/qwebsettings.cpp:
2225 (QWebSettingsPrivate::apply):
2226 * Api/qwebsettings.h:
2228 2007-11-07 Simon Hausmann <hausmann@kde.org>
2232 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
2234 * Api/qwebpagehistory.cpp:
2235 * Api/qwebpagehistory.h:
2237 2007-11-07 Simon Hausmann <hausmann@kde.org>
2241 Removed unimplemented QWebHistoryItem::children() function
2243 * Api/qwebpagehistory.h:
2245 2007-11-07 Simon Hausmann <hausmann@kde.org>
2249 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2251 * Api/qwebsettings.cpp:
2252 (QWebSettings::fontSize):
2253 (QWebSettings::fontFamily):
2254 (QWebSettings::testAttribute):
2256 2007-11-07 Simon Hausmann <hausmann@kde.org>
2260 Added explicit functions for resetting the font sizes and font families.
2262 * Api/qwebsettings.cpp:
2263 (QWebSettings::resetFontSize):
2264 (QWebSettings::resetFontFamily):
2265 * Api/qwebsettings.h:
2267 2007-11-07 Simon Hausmann <hausmann@kde.org>
2271 Combined the font sizes accessors/setters under one setter/getter with an enum.
2273 * Api/qwebsettings.cpp:
2274 (QWebSettingsPrivate::QWebSettingsPrivate):
2275 (QWebSettingsPrivate::apply):
2276 (QWebSettings::QWebSettings):
2277 (QWebSettings::setFontSize):
2278 * Api/qwebsettings.h:
2280 2007-11-07 Simon Hausmann <hausmann@kde.org>
2284 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2288 * WebCoreSupport/FrameLoaderClientQt.cpp:
2289 (WebCore::FrameLoaderClientQt::userAgent):
2291 2007-11-07 Simon Hausmann <hausmann@kde.org>
2295 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2298 (QWebPagePrivate::_q_webActionTriggered):
2299 (QWebPage::keyPressEvent):
2302 2007-11-07 Simon Hausmann <hausmann@kde.org>
2306 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2310 * WebCoreSupport/ChromeClientQt.cpp:
2311 (WebCore::ChromeClientQt::setWindowRect):
2313 2007-11-07 Simon Hausmann <hausmann@kde.org>
2317 Renamed QWebPage::webAction() to QWebPage::action()
2320 (QWebPagePrivate::createContextMenu):
2322 * QtLauncher/main.cpp:
2323 (MainWindow::MainWindow):
2325 2007-11-07 Simon Hausmann <hausmann@kde.org>
2329 Removed a bunch of slots/functions that are now available through the new actions API.
2334 2007-11-07 Simon Hausmann <hausmann@kde.org>
2338 Added some more comments to the API after another round of API review with Lars.
2342 2007-11-07 Simon Hausmann <hausmann@kde.org>
2346 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2348 The currently selected text is a property of the page as a whole.
2350 * Api/qwebframe.cpp:
2353 (QWebPage::selectedText):
2356 2007-11-07 Simon Hausmann <hausmann@kde.org>
2360 Implemented support for settings propagation.
2362 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2364 * Api/qwebsettings.cpp:
2365 (QWebSettingsPrivate::QWebSettingsPrivate):
2366 (QWebSettingsPrivate::apply):
2367 (QWebSettings::QWebSettings):
2368 (QWebSettings::~QWebSettings):
2369 (QWebSettings::setFontFamily):
2370 * Api/qwebsettings.h:
2372 2007-11-07 Simon Hausmann <hausmann@kde.org>
2376 Reworked the QWebSettings API.
2377 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2380 (QWebPagePrivate::QWebPagePrivate):
2381 (QWebPagePrivate::~QWebPagePrivate):
2382 (QWebPage::QWebPage):
2385 * Api/qwebsettings.cpp:
2386 (QWebSettingsPrivate::QWebSettingsPrivate):
2387 (QWebSettingsPrivate::apply):
2388 (QWebSettings::defaultSettings):
2389 (QWebSettings::QWebSettings):
2390 (QWebSettings::setMinimumFontSize):
2391 (QWebSettings::setMinimumLogicalFontSize):
2392 (QWebSettings::setDefaultFontSize):
2393 (QWebSettings::setDefaultFixedFontSize):
2394 (QWebSettings::setUserStyleSheetLocation):
2395 (QWebSettings::setFontFamily):
2396 (QWebSettings::fontFamily):
2397 (QWebSettings::setAttribute):
2398 * Api/qwebsettings.h:
2399 * QtLauncher/main.cpp:
2402 2007-11-07 Simon Hausmann <hausmann@kde.org>
2406 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2408 * Api/qwebsettings.cpp:
2409 (QWebSettings::setWebGraphic):
2410 * Api/qwebsettings.h:
2412 2007-11-07 Simon Hausmann <hausmann@kde.org>
2416 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2418 * Api/qwebsettings.cpp:
2420 2007-11-07 Simon Hausmann <hausmann@kde.org>
2424 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2426 * Api/qwebsettings.cpp:
2427 * Api/qwebsettings.h:
2429 2007-11-07 Simon Hausmann <hausmann@kde.org>
2433 Changed the webAction() accessor to not be a slot but just a public function.
2437 2007-11-07 Simon Hausmann <hausmann@kde.org>
2441 Implemented createWindow() in QtLauncher.
2443 * QtLauncher/main.cpp:
2445 (MainWindow::MainWindow):
2446 (WebPage::createWindow):
2448 2007-11-07 Simon Hausmann <hausmann@kde.org>
2452 Implemented opening links in new windows
2457 (QWebPage::webActionTriggered):
2459 2007-11-07 Simon Hausmann <hausmann@kde.org>
2463 Added and implemented the "OpenLink" action.
2466 (webActionForContextMenuAction):
2467 (QWebPage::webActionTriggered):
2468 (QWebPage::webAction):
2471 2007-11-07 Simon Hausmann <hausmann@kde.org>
2475 Adjust the state of the reload action correctly.
2478 (QWebPagePrivate::updateAction):
2479 (QWebPagePrivate::updateNavigationActions):
2481 2007-11-07 Simon Hausmann <hausmann@kde.org>
2485 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2488 (QWebPagePrivate::updateAction):
2489 (QWebPage::webAction):
2490 (QWebPage::undoStack):
2493 2007-11-07 Simon Hausmann <hausmann@kde.org>
2497 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2499 * QtLauncher/main.cpp:
2500 (MainWindow::MainWindow):
2502 2007-11-07 Simon Hausmann <hausmann@kde.org>
2506 Update the editor actions when the selection changes.
2509 (QWebPagePrivate::updateAction):
2510 (QWebPagePrivate::updateEditorActions):
2512 * WebCoreSupport/EditorClientQt.cpp:
2513 (WebCore::EditorClientQt::respondToChangedSelection):
2515 2007-11-07 Simon Hausmann <hausmann@kde.org>
2519 Added cut/copy/paste actions to the toolbar of QtLauncher
2521 * QtLauncher/main.cpp:
2522 (MainWindow::MainWindow):
2524 2007-11-07 Simon Hausmann <hausmann@kde.org>
2528 Started working on keeping the state of the navigation actions up-to-date.
2531 (QWebPagePrivate::updateAction):
2532 (QWebPagePrivate::updateNavigationActions):
2533 (QWebPage::webAction):
2535 * WebCoreSupport/FrameLoaderClientQt.cpp:
2536 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2537 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2538 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2539 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2540 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2542 2007-11-07 Simon Hausmann <hausmann@kde.org>
2546 Use the navigational web actions in the toolbar
2548 * QtLauncher/main.cpp:
2549 (MainWindow::MainWindow):
2551 2007-11-07 Simon Hausmann <hausmann@kde.org>
2555 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2556 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2559 (QWebPagePrivate::QWebPagePrivate):
2560 (webActionForContextMenuAction):
2561 (QWebPagePrivate::createContextMenu):
2562 (QWebPagePrivate::_q_webActionTriggered):
2563 (QWebPage::webActionTriggered):
2564 (QWebPage::webAction):
2565 (QWebPage::contextMenuEvent):
2566 (QWebPageContext::QWebPageContext):
2567 (QWebPageContext::operator=):
2568 (QWebPageContext::~QWebPageContext):
2569 (QWebPageContext::pos):
2570 (QWebPageContext::text):
2571 (QWebPageContext::linkUrl):
2572 (QWebPageContext::imageUrl):
2573 (QWebPageContext::image):
2574 (QWebPageContext::targetFrame):
2578 2007-11-07 Simon Hausmann <hausmann@kde.org>
2582 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2585 (QWebPage::webActionTriggered):
2586 (QWebPage::keyPressEvent):
2589 2007-11-07 Simon Hausmann <hausmann@kde.org>
2593 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2594 convenience methods such as cut()/copy()/paste().
2598 (QWebPage::webActionTriggered):
2603 2007-11-07 Simon Hausmann <hausmann@kde.org>
2607 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2608 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2609 in ContextMenu::populate().
2610 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2611 out of it. That menu is currently not functional anymore though.
2614 (QWebPagePrivate::createContextMenu):
2615 (QWebPage::contextMenuEvent):
2618 2007-11-07 Simon Hausmann <hausmann@kde.org>
2622 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2623 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2624 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2628 (QWebPage::contextMenuEvent):
2629 * WebCoreSupport/ContextMenuClientQt.cpp:
2630 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2632 2007-11-07 Simon Hausmann <hausmann@kde.org>
2636 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2637 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2640 (QWebPage::mousePressEvent):
2641 (QWebPage::contextMenuEvent):
2644 2007-11-07 Simon Hausmann <hausmann@kde.org>
2648 Turned onLoadProgressChanged into a real private slot.
2651 (QWebPage::QWebPage):
2655 2007-11-07 Simon Hausmann <hausmann@kde.org>
2659 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2662 (QWebPagePrivate::QWebPagePrivate):
2665 * Api/qwebpagehistory.cpp:
2666 (QWebPageHistory::QWebPageHistory):
2667 * Api/qwebpagehistory.h:
2669 2007-11-07 Lars Knoll <lars@trolltech.com>
2673 comments on API changes that we'd like to do.
2677 2007-11-07 Simon Hausmann <hausmann@kde.org>
2679 Reviewed by Lars Knoll <lars@trolltech.com>.
2681 Add a QWebPage::frameCreated() signal and fix DRT
2683 The removal of createFrame in QWebPage broke the re-implementation
2684 in DumpRenderTree. Instead emit a frameCreated() signal and
2685 connect to it in DumpRenderTree.
2689 (QWebPagePrivate::createMainFrame):
2691 * WebCoreSupport/FrameLoaderClientQt.cpp:
2692 (WebCore::FrameLoaderClientQt::createFrame):
2694 2007-11-07 Lars Knoll <lars@trolltech.com>
2698 Remove QWebPage::createFrame()
2700 now that QWebFrame doesn't have virtual methods anymore, there
2701 is no need for a createFrame() factory method in QWebpage.
2704 (QWebPagePrivate::createMainFrame):
2706 * WebCoreSupport/FrameLoaderClientQt.cpp:
2707 (WebCore::FrameLoaderClientQt::createFrame):
2709 2007-11-07 Simon Hausmann <hausmann@kde.org>
2711 Reviewed by Lars Knoll <lars@trolltech.com>.
2713 Moved all the event handlers from QWebFrame into QWebPage.
2715 This cleans up the public API and allows us to remove the
2716 HackWebFrame hack in DumpRenderTree.
2719 * Api/qwebframe.cpp:
2722 * Api/qwebframe_p.h:
2724 (QWebPagePrivate::frameAt):
2725 (QWebPage::mouseMoveEvent):
2726 (QWebPage::mousePressEvent):
2727 (QWebPage::mouseDoubleClickEvent):
2728 (QWebPage::mouseReleaseEvent):
2729 (QWebPage::wheelEvent):
2732 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2734 Reviewed by Lars Knoll <lars@trolltech.com>.
2736 Use correct UserAgent string.
2738 * Only have one User Agent String and this place is QWebPage
2739 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2740 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2741 * ResourceRequest is != 0 when getting called from WebCore, we
2742 will only do requests when coming from WebCore and then we can
2743 use the User-Agent set with the help of the FrameLoaderClient
2744 * We might want to change QWebNetworkRequest a bit
2747 * Api/qwebnetworkinterface.cpp:
2748 (QWebNetworkRequestPrivate::init):
2750 2007-11-07 Lars Knoll <lars@trolltech.com>
2754 remove two notImplemented() warnings, as I believe we don't
2755 have to implement these methods. Add some (commented out)
2756 debug code in one place.
2758 * WebCoreSupport/EditorClientQt.cpp:
2759 (WebCore::EditorClientQt::respondToChangedSelection):
2760 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2762 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2764 Reviewed by Darin Adler.
2766 * WebCoreSupport/ChromeClientQt.cpp:
2767 (WebCore::ChromeClientQt::createWindow):
2768 * WebCoreSupport/ChromeClientQt.h:
2769 Revised to use new WebCore ChromeClient createWindow API.
2771 2007-10-31 Lars Knoll <lars@trolltech.com>
2775 fix most of the issues I found with Clipboard and DnD.
2778 (QWebPage::dragLeaveEvent):
2780 2007-10-31 Lars Knoll <lars@trolltech.com>
2784 QDrag objects need to be created on the heap.
2786 * WebCoreSupport/DragClientQt.cpp:
2787 (WebCore::DragClientQt::startDrag):
2789 2007-10-31 Lars Knoll <lars@trolltech.com>
2793 a dragLeave event is not the same as cancelling a drag.
2797 2007-10-26 Mark Rowe <mrowe@apple.com>
2799 Build fix. Add missing #include of Platform.h.
2801 * Api/qwebhistoryinterface.cpp:
2803 2007-10-25 Holger Freyther <zecke@selfish.org>
2805 Reviewed by Simon Hausmann <hausmann@kde.org>.
2807 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2808 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2809 * This is causing some regressions...
2812 * Api/qwebnetworkinterface.cpp:
2813 (QWebNetworkManager::started):
2814 (QWebNetworkInterface::addJob):
2816 2007-10-25 Holger Freyther <zecke@selfish.org>
2818 Reviewed by Simon Hausmann <hausmann@kde.org>.
2820 * Make fast/loader/xmlhttprequest-bad-mimetype.html pass. We use QHttp to download local files but we may not set the HTTP result code on the ResourceResponse.
2821 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2824 * Api/qwebnetworkinterface.cpp:
2825 (QWebNetworkManager::started):
2827 2007-10-25 Holger Freyther <zecke@selfish.org>
2829 Reviewed by Simon Hausmann <hausmann@kde.org>.
2831 * fast/dom/onerror-img.html regressed due checking the JobStates because in case of error (e.g. not being able to connect) the job will no be started.
2832 * Use the error message from Qt. It might or might not be translated.
2835 * Api/qwebnetworkinterface.cpp:
2836 (QWebNetworkJob::errorString):
2837 (QWebNetworkJob::setErrorString):
2838 (QWebNetworkManager::finished):
2839 (QWebNetworkManager::doWork):
2840 (WebCoreHttp::onRequestFinished):
2841 * Api/qwebnetworkinterface.h:
2842 * Api/qwebnetworkinterface_p.h:
2844 2007-10-25 Holger Freyther <zecke@selfish.org>
2846 Reviewed by Simon Hausmann <hausmann@kde.org>.
2848 * Use the JobStatus to make sure to not deliver finished/data before the job has started. This is the case with the fast/dom/onerror-img.html test case.
2849 * We have no idea if any data will come so we can still finish and then get pending data. This luckily can't happen for the local file case.
2852 * Api/qwebnetworkinterface.cpp:
2853 (QWebNetworkManager::doWork):
2855 2007-10-25 Holger Freyther <zecke@selfish.org>
2857 Reviewed by Simon Hausmann <hausmann@kde.org>.
2859 * No need to initialize values in the QWebNetworkJob c'tor
2860 * Add a JobStatus to QWebNetworkJob and verify that the jobs are handled in the way we expect them to be handled. This means no data after the job has finished, not finishing a job before it has been started.
2863 * Api/qwebnetworkinterface.cpp:
2864 (QWebNetworkJob::status):
2865 (QWebNetworkJob::setStatus):
2866 (QWebNetworkManager::started):
2867 (QWebNetworkManager::data):
2868 (QWebNetworkManager::finished):
2869 * Api/qwebnetworkinterface.h:
2870 * Api/qwebnetworkinterface_p.h:
2871 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2873 2007-10-25 Holger Freyther <zecke@selfish.org>
2875 Reviewed by Simon Hausmann <hausmann@kde.org>.
2877 * Consistency: Always name the jobs job.
2880 * Api/qwebnetworkinterface.cpp:
2881 (WebCoreHttp::onReadyRead):
2882 (WebCoreHttp::onRequestFinished):
2883 (WebCoreHttp::onSslErrors):
2884 (WebCoreHttp::onAuthenticationRequired):
2885 (WebCoreHttp::onProxyAuthenticationRequired):
2887 2007-10-25 Holger Freyther <zecke@selfish.org>
2889 Reviewed by Simon Hausmann <hausmann@kde.org>.
2891 * Implement our own queuing of network jobs to allow special handling of synchronous jobs. This makes us pass the fast/dom/xmlhttprequest-html-response-encoding.html test without a crash. Sync jobs will get a special treatment over the normals ones and in theory more than one sync job is supported.
2892 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2895 * Api/qwebnetworkinterface.cpp:
2896 (QWebNetworkJob::~QWebNetworkJob):
2897 (QWebNetworkManager::QWebNetworkManager):
2898 (QWebNetworkManager::self):
2899 (QWebNetworkManager::add):
2900 (QWebNetworkManager::started):
2901 (QWebNetworkManager::finished):
2902 (QWebNetworkInterfacePrivate::sendFileData):
2903 (QWebNetworkInterfacePrivate::parseDataUrl):
2904 (QWebNetworkManager::queueStart):
2905 (QWebNetworkManager::queueData):
2906 (QWebNetworkManager::queueFinished):
2907 (QWebNetworkManager::doScheduleWork):
2908 (QWebNetworkManager::doWork):
2909 (gCleanupInterface):
2910 (QWebNetworkInterface::setDefaultInterface):
2911 (QWebNetworkInterface::defaultInterface):
2912 (QWebNetworkInterface::QWebNetworkInterface):
2913 (QWebNetworkInterface::started):
2914 (QWebNetworkInterface::data):
2915 (QWebNetworkInterface::finished):
2916 (WebCoreHttp::scheduleNextRequest):
2917 (WebCoreHttp::onResponseHeaderReceived):
2918 (WebCoreHttp::onReadyRead):
2919 (WebCoreHttp::onRequestFinished):
2920 (WebCoreHttp::cancel):
2921 * Api/qwebnetworkinterface.h:
2922 * Api/qwebnetworkinterface_p.h:
2923 (QWebNetworkManager::):
2924 (QWebNetworkManager::JobData::JobData):
2925 (QWebNetworkManager::JobFinished::JobFinished):
2927 2007-10-25 Holger Freyther <zecke@selfish.org>
2929 Reviewed by Simon Hausmann <hausmann@kde.org>.
2931 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2932 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2933 * We pass the char-decoding.html test now
2936 * Api/qwebnetworkinterface.cpp:
2937 (decodePercentEncoding):
2938 (QWebNetworkInterfacePrivate::parseDataUrl):
2940 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2942 Reviewed by Lars Knoll <lars@trolltech.com>.
2944 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2947 * WebCoreSupport/EditorClientQt.cpp:
2948 (WebCore::EditorClientQt::handleKeypress):
2950 2007-10-24 Lars Knoll <lars@trolltech.com>
2954 remove some notImplemented() warnings.
2956 * WebCoreSupport/EditorClientQt.cpp:
2957 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2958 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2959 (WebCore::EditorClientQt::respondToChangedSelection):
2961 2007-10-24 Lars Knoll <lars@trolltech.com>
2965 allow paste from DOM so we pass more test cases.
2968 (QWebPage::setSettings):
2970 2007-10-24 Lars Knoll <lars@trolltech.com>
2974 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2977 (QWebPage::keyPressEvent):
2978 (QWebPage::keyReleaseEvent):
2980 2007-10-24 Lars Knoll <lars@trolltech.com>
2984 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2986 * WebCoreSupport/EditorClientQt.cpp:
2987 (qt_dump_editing_callbacks):
2990 2007-10-24 Lars Knoll <lars@trolltech.com>
2994 implemented support for most editing shortcuts to make contentEditable usable.
2997 (QWebPage::keyPressEvent):
2999 2007-10-24 Lars Knoll <lars@trolltech.com>
3003 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
3006 (QWebPage::focusInEvent):
3008 2007-10-24 Lars Knoll <lars@trolltech.com>
3012 Implement support for testing editing.
3014 * WebCoreSupport/EditorClientQt.cpp:
3015 (qt_dump_editing_callbacks):
3016 (qt_dump_set_accepts_editing):
3019 (WebCore::EditorClientQt::shouldDeleteRange):
3020 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3021 (WebCore::EditorClientQt::shouldBeginEditing):
3022 (WebCore::EditorClientQt::shouldEndEditing):
3023 (WebCore::EditorClientQt::shouldInsertText):
3024 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3025 (WebCore::EditorClientQt::shouldApplyStyle):
3026 (WebCore::EditorClientQt::didBeginEditing):
3027 (WebCore::EditorClientQt::respondToChangedContents):
3028 (WebCore::EditorClientQt::respondToChangedSelection):
3029 (WebCore::EditorClientQt::didEndEditing):
3030 (WebCore::EditorClientQt::shouldInsertNode):
3032 2007-10-19 Alp Toker <alp@atoker.com>
3036 GTK+ build fix enabling the new local database storage feature.
3037 There is also a prospective Qt build fix.
3039 * WebCoreSupport/ChromeClientQt.cpp:
3040 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
3041 * WebCoreSupport/ChromeClientQt.h:
3043 2007-10-19 Simon Hausmann <hausmann@kde.org>
3045 Fix the Qt/Windows build: Include the moc file from the .cpp file so
3046 that config.h is included before wtf/MathExtras. The former defines
3047 the MSVC defines for rand_s.
3049 * WebCoreSupport/FrameLoaderClientQt.cpp:
3051 2007-10-19 Simon Hausmann <shausman@trolltech.com>
3055 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
3057 * Api/qwebframe.cpp:
3060 2007-10-10 Alice Liu <alice.liu@apple.com>
3062 Reviewed by Geoff Garen.
3064 changes to keep the build from breaking
3066 * WebCoreSupport/FrameLoaderClientQt.cpp:
3067 (WebCore::FrameLoaderClientQt::createFrame):
3068 * WebCoreSupport/FrameLoaderClientQt.h:
3070 2007-10-09 Lars Knoll <lars@trolltech.com>
3074 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
3077 (QWebPage::setSettings):
3079 2007-10-09 Lars Knoll <lars@trolltech.com>
3083 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
3085 * Api/qwebnetworkinterface.cpp:
3086 (QWebNetworkManager::add):
3087 (QWebNetworkManager::cancel):
3088 (QWebNetworkManager::started):
3089 (QWebNetworkManager::data):
3090 (QWebNetworkInterfacePrivate::parseDataUrl):
3092 2007-10-09 Lars Knoll <lars@trolltech.com>
3096 Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
3099 (QWebPagePrivate::createMainFrame):
3100 (QWebPage::createFrame):
3101 * WebCoreSupport/FrameLoaderClientQt.cpp:
3102 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3103 * WebCoreSupport/FrameLoaderClientQt.h:
3105 2007-10-09 Lars Knoll <lars@trolltech.com>
3109 add a clear() method to QWebPageHistory.
3111 * Api/qwebpagehistory.cpp:
3112 (QWebPageHistory::clear):
3113 (QWebPageHistory::itemAtIndex):
3114 * Api/qwebpagehistory.h:
3116 2007-10-05 Lars Knoll <lars@trolltech.com>
3118 add proper error messages to the FrameLoaderClient.
3119 Implement ChromeClientQt::closeWindowSoon and
3120 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
3121 Some fixes in DRT to make it work correctly with multiple windows.
3126 * Api/qwebnetworkinterface.cpp:
3127 (QWebNetworkManager::cancel):
3128 (QWebNetworkInterface::addJob):
3129 * WebCoreSupport/ChromeClientQt.cpp:
3130 (WebCore::ChromeClientQt::closeWindowSoon):
3131 * WebCoreSupport/FrameLoaderClientQt.cpp:
3132 (WebCore::FrameLoaderClientQt::cancelledError):
3134 (WebCore::FrameLoaderClientQt::blockedError):
3135 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3136 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3137 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3138 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3140 2007-10-03 Lars Knoll <lars@trolltech.com>
3142 Signed off by Olliej.
3144 move WebKitQt to WebKit/qt for consistency with the other ports.
3146 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
3147 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
3148 (QCookieJarPrivate::QCookieJarPrivate):
3150 (QCookieJar::QCookieJar):
3151 (QCookieJar::~QCookieJar):
3152 (QCookieJar::setCookies):
3153 (QCookieJar::cookies):
3154 (QCookieJar::isEnabled):
3155 (QCookieJar::setEnabled):
3157 (QCookieJar::setCookieJar):
3158 (QCookieJar::cookieJar):
3159 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
3160 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
3161 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
3162 (QWebFramePrivate::init):
3163 (QWebFramePrivate::parentFrame):
3164 (QWebFramePrivate::horizontalScrollBar):
3165 (QWebFramePrivate::verticalScrollBar):
3166 (QWebFrame::QWebFrame):
3167 (QWebFrame::~QWebFrame):
3168 (QWebFrame::addToJSWindowObject):
3169 (QWebFrame::markup):
3170 (QWebFrame::innerText):
3171 (QWebFrame::renderTreeDump):
3175 (QWebFrame::selectedText):
3176 (QWebFrame::childFrames):
3177 (QWebFrame::verticalScrollBarPolicy):
3178 (QWebFrame::setVerticalScrollBarPolicy):
3179 (QWebFrame::horizontalScrollBarPolicy):
3180 (QWebFrame::setHorizontalScrollBarPolicy):
3181 (QWebFrame::render):
3182 (QWebFrame::layout):
3184 (QWebFrame::geometry):
3185 (QWebFrame::evaluateJavaScript):
3186 (QWebFrame::mouseMoveEvent):
3187 (QWebFrame::mousePressEvent):
3188 (QWebFrame::mouseDoubleClickEvent):
3189 (QWebFrame::mouseReleaseEvent):
3190 (QWebFrame::wheelEvent):
3191 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
3192 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
3193 (QWebFramePrivate::QWebFramePrivate):
3194 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
3195 (WebCore::historyContains):
3196 (gCleanupInterface):
3197 (QWebHistoryInterface::setDefaultInterface):
3198 (QWebHistoryInterface::defaultInterface):
3199 (QWebHistoryInterface::QWebHistoryInterface):
3200 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
3201 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
3202 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
3205 (QWebNetworkRequestPrivate::init):
3206 (QWebNetworkRequestPrivate::setURL):
3207 (QWebNetworkRequest::QWebNetworkRequest):
3208 (QWebNetworkRequest::operator=):
3209 (QWebNetworkRequest::~QWebNetworkRequest):
3210 (QWebNetworkRequest::url):
3211 (QWebNetworkRequest::setUrl):
3212 (QWebNetworkRequest::httpHeader):
3213 (QWebNetworkRequest::setHttpHeader):
3214 (QWebNetworkRequest::httpHeaderField):
3215 (QWebNetworkRequest::setHttpHeaderField):
3216 (QWebNetworkRequest::postData):
3217 (QWebNetworkRequest::setPostData):
3218 (QWebNetworkJob::QWebNetworkJob):
3219 (QWebNetworkJob::~QWebNetworkJob):
3220 (QWebNetworkJob::url):
3221 (QWebNetworkJob::postData):
3222 (QWebNetworkJob::httpHeader):
3223 (QWebNetworkJob::request):
3224 (QWebNetworkJob::response):
3225 (QWebNetworkJob::setResponse):
3226 (QWebNetworkJob::cancelled):
3227 (QWebNetworkJob::ref):
3228 (QWebNetworkJob::deref):
3229 (QWebNetworkJob::networkInterface):
3230 (QWebNetworkJob::frame):
3231 (QWebNetworkManager::QWebNetworkManager):
3232 (QWebNetworkManager::self):
3233 (QWebNetworkManager::add):
3234 (QWebNetworkManager::cancel):
3235 (QWebNetworkManager::started):
3236 (QWebNetworkManager::data):
3237 (QWebNetworkManager::finished):
3238 (QWebNetworkManager::addHttpJob):
3239 (QWebNetworkManager::cancelHttpJob):
3240 (QWebNetworkManager::httpConnectionClosed):
3241 (QWebNetworkInterfacePrivate::sendFileData):
3242 (QWebNetworkInterfacePrivate::parseDataUrl):
3243 (gCleanupInterface):
3244 (QWebNetworkInterface::setDefaultInterface):
3245 (QWebNetworkInterface::defaultInterface):
3246 (QWebNetworkInterface::QWebNetworkInterface):
3247 (QWebNetworkInterface::~QWebNetworkInterface):
3248 (QWebNetworkInterface::addJob):
3249 (QWebNetworkInterface::cancelJob):
3250 (WebCoreHttp::WebCoreHttp):
3251 (WebCoreHttp::~WebCoreHttp):
3252 (WebCoreHttp::request):
3253 (WebCoreHttp::scheduleNextRequest):
3254 (WebCoreHttp::getConnection):
3255 (WebCoreHttp::onResponseHeaderReceived):
3256 (WebCoreHttp::onReadyRead):
3257 (WebCoreHttp::onRequestFinished):
3258 (WebCoreHttp::onDone):
3259 (WebCoreHttp::onStateChanged):
3260 (WebCoreHttp::cancel):
3261 (WebCoreHttp::onSslErrors):
3262 (WebCoreHttp::onAuthenticationRequired):
3263 (WebCoreHttp::onProxyAuthenticationRequired):
3264 (HostInfo::HostInfo):
3265 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3266 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3267 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3268 (WebCore::HostInfo::HostInfo):
3269 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3270 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3271 (QWebFactoryLoader::QWebFactoryLoader):
3272 (QWebFactoryLoader::self):
3273 (QWebFactoryLoader::descriptionForName):
3274 (QWebFactoryLoader::mimetypesForName):
3275 (QWebFactoryLoader::mimeTypeForExtension):
3276 (QWebFactoryLoader::extensions):
3277 (QWebFactoryLoader::nameForMimetype):
3278 (QWebFactoryLoader::create):
3279 (QWebObjectPlugin::QWebObjectPlugin):
3280 (QWebObjectPlugin::~QWebObjectPlugin):
3281 (QWebObjectPlugin::descriptionForKey):
3282 (QWebObjectPlugin::mimetypesForKey):
3283 (QWebObjectPlugin::extensionsForMimetype):
3284 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3285 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3286 (QWebFactoryLoader::names):
3287 (QWebFactoryLoader::supportsMimeType):
3288 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3289 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3290 (QWebObjectPluginConnector::frame):
3291 (QWebObjectPluginConnector::pluginParentWidget):
3292 (QWebObjectPluginConnector::requestUrl):
3293 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3294 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3295 (QWebPagePrivate::QWebPagePrivate):
3296 (QWebPagePrivate::~QWebPagePrivate):
3297 (QWebPagePrivate::navigationRequested):
3298 (QWebPagePrivate::createMainFrame):
3299 (QWebPage::QWebPage):
3300 (QWebPage::~QWebPage):
3301 (QWebPage::createFrame):
3305 (QWebPage::mainFrame):
3306 (QWebPage::sizeHint):
3308 (QWebPage::history):
3310 (QWebPage::goForward):
3311 (QWebPage::goToHistoryItem):
3312 (QWebPage::javaScriptConsoleMessage):
3313 (QWebPage::javaScriptAlert):
3314 (QWebPage::javaScriptConfirm):
3315 (QWebPage::javaScriptPrompt):
3316 (QWebPage::createWindow):
3317 (QWebPage::createModalDialog):
3318 (QWebPage::createPlugin):
3319 (QWebPage::navigationRequested):
3320 (QWebPage::setWindowGeometry):
3322 (QWebPage::canCopy):
3323 (QWebPage::canPaste):
3327 (QWebPage::isModified):
3328 (QWebPage::undoStack):
3329 (dropActionToDragOp):
3330 (dragOpToDropAction):
3331 (QWebPage::resizeEvent):
3332 (QWebPage::paintEvent):
3333 (QWebPage::mouseMoveEvent):
3334 (QWebPage::mousePressEvent):
3335 (QWebPage::mouseDoubleClickEvent):
3336 (QWebPage::mouseReleaseEvent):
3337 (QWebPage::wheelEvent):
3338 (QWebPage::keyPressEvent):
3339 (QWebPage::keyReleaseEvent):
3340 (QWebPage::focusInEvent):
3341 (QWebPage::focusOutEvent):
3342 (QWebPage::focusNextPrevChild):
3343 (QWebPage::dragEnterEvent):
3344 (QWebPage::dragLeaveEvent):
3345 (QWebPage::dragMoveEvent):
3346 (QWebPage::dropEvent):
3347 (QWebPage::setNetworkInterface):
3348 (QWebPage::networkInterface):
3350 (QWebPage::setSettings):
3351 (QWebPage::settings):
3352 (QWebPage::chooseFile):
3353 (QWebPage::setNetworkProxy):
3354 (QWebPage::networkProxy):
3355 (QWebPage::userAgentStringForUrl):
3356 (QWebPage::onLoadProgressChanged):
3357 (QWebPage::totalBytes):
3358 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3359 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3360 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3361 (QWebHistoryItem::QWebHistoryItem):
3362 (QWebHistoryItem::operator=):
3363 (QWebHistoryItem::~QWebHistoryItem):
3364 (QWebHistoryItem::originalUrl):
3365 (QWebHistoryItem::currentUrl):
3366 (QWebHistoryItem::title):
3367 (QWebHistoryItem::lastVisited):
3368 (QWebHistoryItem::icon):
3369 (QWebPageHistory::QWebPageHistory):
3370 (QWebPageHistory::itemAtIndex):
3371 (QWebPageHistory::operator=):
3372 (QWebPageHistory::~QWebPageHistory):
3373 (QWebPageHistory::items):
3374 (QWebPageHistory::backItems):
3375 (QWebPageHistory::forwardItems):
3376 (QWebPageHistory::canGoBack):
3377 (QWebPageHistory::canGoForward):
3378 (QWebPageHistory::goBack):
3379 (QWebPageHistory::goForward):
3380 (QWebPageHistory::goToItem):
3381 (QWebPageHistory::backItem):
3382 (QWebPageHistory::currentItem):
3383 (QWebPageHistory::forwardItem):
3384 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3385 (QExplicitlySharedDataPointer::operator*):
3386 (QExplicitlySharedDataPointer::operator->):
3387 (QExplicitlySharedDataPointer::operator T *):
3388 (QExplicitlySharedDataPointer::operator const T *):
3389 (QExplicitlySharedDataPointer::data):
3390 (QExplicitlySharedDataPointer::constData):
3391 (QExplicitlySharedDataPointer::operator==):
3392 (QExplicitlySharedDataPointer::operator!=):
3393 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3394 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3395 (QExplicitlySharedDataPointer::operator=):
3396 (QExplicitlySharedDataPointer::operator!):
3397 (::QExplicitlySharedDataPointer):
3398 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3399 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3400 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3401 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3402 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3403 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3404 (QWebSettingsPrivate::QWebSettingsPrivate):
3405 (QWebSettings::QWebSettings):
3406 (QWebSettings::~QWebSettings):
3407 (QWebSettings::setMinimumFontSize):
3408 (QWebSettings::minimumFontSize):
3409 (QWebSettings::setMinimumLogicalFontSize):
3410 (QWebSettings::minimumLogicalFontSize):
3411 (QWebSettings::setDefaultFontSize):
3412 (QWebSettings::defaultFontSize):
3413 (QWebSettings::setDefaultFixedFontSize):
3414 (QWebSettings::defaultFixedFontSize):
3415 (QWebSettings::setUserStyleSheetLocation):
3416 (QWebSettings::userStyleSheetLocation):
3417 (QWebSettings::setIconDatabaseEnabled):
3418 (QWebSettings::iconDatabaseEnabled):
3419 (QWebSettings::setWebGraphic):
3420 (QWebSettings::webGraphic):
3421 (QWebSettings::operator=):
3422 (QWebSettings::setGlobal):
3423 (QWebSettings::global):
3424 (QWebSettings::setFontFamily):
3425 (QWebSettings::fontFamily):
3426 (QWebSettings::setAttribute):
3427 (QWebSettings::testAttribute):
3428 (loadResourcePixmap):
3429 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3430 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3431 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3432 (IcoHeader::operator >>):
3433 (IcoHeader::BMP_INFOHDR::):
3434 (IcoHeader::operator<<):
3435 (IcoHeader::LessDifference::LessDifference):
3436 (IcoHeader::LessDifference::operator ()):
3437 (IcoHeader::loadFromDIB):
3438 (ICOHandler::ICOHandler):
3439 (ICOHandler::canRead):
3441 (ICOHandler::write):
3444 (ICOPlugin::capabilities):
3445 (ICOPlugin::create):
3446 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3447 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3448 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3449 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3450 (HoverLabel::HoverLabel):
3451 (HoverLabel::setHoverLink):
3452 (HoverLabel::sizeForFont):
3453 (HoverLabel::sizeHint):
3454 (HoverLabel::updateSize):
3455 (HoverLabel::resetAnimation):
3456 (HoverLabel::paintEvent):
3457 (HoverLabel::interpolate):
3458 (ClearButton::ClearButton):
3459 (ClearButton::paintEvent):
3460 (SearchEdit::SearchEdit):
3461 (SearchEdit::~SearchEdit):
3462 (SearchEdit::paintEvent):
3463 (SearchEdit::resizeEvent):
3464 (SearchEdit::moveEvent):
3465 (MainWindow::MainWindow):
3466 (MainWindow::changeLocation):
3467 (MainWindow::loadFinished):
3468 (MainWindow::showLinkHover):
3469 (MainWindow::resizeEvent):
3471 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3472 (WebCore::ChromeClientQt::ChromeClientQt):
3473 (WebCore::ChromeClientQt::~ChromeClientQt):
3474 (WebCore::ChromeClientQt::setWindowRect):
3475 (WebCore::ChromeClientQt::windowRect):
3476 (WebCore::ChromeClientQt::pageRect):
3477 (WebCore::ChromeClientQt::scaleFactor):
3478 (WebCore::ChromeClientQt::focus):
3479 (WebCore::ChromeClientQt::unfocus):
3480 (WebCore::ChromeClientQt::canTakeFocus):
3481 (WebCore::ChromeClientQt::takeFocus):
3482 (WebCore::ChromeClientQt::createWindow):
3483 (WebCore::ChromeClientQt::createModalDialog):
3484 (WebCore::ChromeClientQt::show):
3485 (WebCore::ChromeClientQt::canRunModal):
3486 (WebCore::ChromeClientQt::runModal):
3487 (WebCore::ChromeClientQt::setToolbarsVisible):
3488 (WebCore::ChromeClientQt::toolbarsVisible):
3489 (WebCore::ChromeClientQt::setStatusbarVisible):
3490 (WebCore::ChromeClientQt::statusbarVisible):
3491 (WebCore::ChromeClientQt::setScrollbarsVisible):
3492 (WebCore::ChromeClientQt::scrollbarsVisible):
3493 (WebCore::ChromeClientQt::setMenubarVisible):
3494 (WebCore::ChromeClientQt::menubarVisible):
3495 (WebCore::ChromeClientQt::setResizable):
3496 (WebCore::ChromeClientQt::addMessageToConsole):
3497 (WebCore::ChromeClientQt::chromeDestroyed):
3498 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3499 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3500 (WebCore::ChromeClientQt::closeWindowSoon):
3501 (WebCore::ChromeClientQt::runJavaScriptAlert):
3502 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3503 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3504 (WebCore::ChromeClientQt::setStatusbarText):
3505 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3506 (WebCore::ChromeClientQt::tabsToLinks):
3507 (WebCore::ChromeClientQt::windowResizerRect):
3508 (WebCore::ChromeClientQt::addToDirtyRegion):
3509 (WebCore::ChromeClientQt::scrollBackingStore):
3510 (WebCore::ChromeClientQt::updateBackingStore):
3511 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3512 (WebCore::ChromeClientQt::setToolTip):
3513 (WebCore::ChromeClientQt::print):
3514 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3515 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3516 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3517 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3518 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3519 (WebCore::ContextMenuClientQt::downloadURL):
3520 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3521 (WebCore::ContextMenuClientQt::speak):
3522 (WebCore::ContextMenuClientQt::stopSpeaking):
3523 (WebCore::ContextMenuClientQt::searchWithGoogle):
3524 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3525 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3526 (WebCore::DragClientQt::actionMaskForDrag):
3527 (WebCore::DragClientQt::willPerformDragDestinationAction):
3528 (WebCore::DragClientQt::dragControllerDestroyed):
3529 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3530 (WebCore::DragClientQt::willPerformDragSourceAction):
3531 (WebCore::DragClientQt::startDrag):
3532 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3533 (WebCore::DragClientQt::DragClientQt):
3534 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3535 (EditCommandQt::EditCommandQt):
3536 (EditCommandQt::~EditCommandQt):
3537 (EditCommandQt::redo):
3538 (EditCommandQt::undo):
3539 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3540 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3541 (WebCore::EditorClientQt::shouldDeleteRange):
3542 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3543 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3544 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3545 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3546 (WebCore::EditorClientQt::shouldBeginEditing):
3547 (WebCore::EditorClientQt::shouldEndEditing):
3548 (WebCore::EditorClientQt::shouldInsertText):
3549 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3550 (WebCore::EditorClientQt::shouldApplyStyle):
3551 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3552 (WebCore::EditorClientQt::didBeginEditing):
3553 (WebCore::EditorClientQt::respondToChangedContents):
3554 (WebCore::EditorClientQt::respondToChangedSelection):
3555 (WebCore::EditorClientQt::didEndEditing):
3556 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3557 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3558 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3559 (WebCore::EditorClientQt::isEditable):
3560 (WebCore::EditorClientQt::registerCommandForUndo):
3561 (WebCore::EditorClientQt::registerCommandForRedo):
3562 (WebCore::EditorClientQt::clearUndoRedoOperations):
3563 (WebCore::EditorClientQt::canUndo):
3564 (WebCore::EditorClientQt::canRedo):
3565 (WebCore::EditorClientQt::undo):
3566 (WebCore::EditorClientQt::redo):
3567 (WebCore::EditorClientQt::shouldInsertNode):
3568 (WebCore::EditorClientQt::pageDestroyed):
3569 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3570 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3571 (WebCore::EditorClientQt::toggleGrammarChecking):
3572 (WebCore::EditorClientQt::handleKeypress):
3573 (WebCore::EditorClientQt::handleInputMethodKeypress):
3574 (WebCore::EditorClientQt::EditorClientQt):
3575 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3576 (WebCore::EditorClientQt::textFieldDidEndEditing):
3577 (WebCore::EditorClientQt::textDidChangeInTextField):
3578 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3579 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3580 (WebCore::EditorClientQt::textDidChangeInTextArea):
3581 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3582 (WebCore::EditorClientQt::learnWord):
3583 (WebCore::EditorClientQt::checkSpellingOfString):
3584 (WebCore::EditorClientQt::checkGrammarOfString):
3585 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3586 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3587 (WebCore::EditorClientQt::showSpellingUI):
3588 (WebCore::EditorClientQt::spellingUIIsShowing):
3589 (WebCore::EditorClientQt::getGuessesForWord):
3590 (WebCore::EditorClientQt::isEditing):
3591 (WebCore::EditorClientQt::setInputMethodState):
3592 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3593 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3594 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3595 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3596 (WebCore::FrameLoaderClientQt::setFrame):
3597 (WebCore::FrameLoaderClientQt::webFrame):
3598 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3599 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3600 (WebCore::FrameLoaderClientQt::hasWebView):
3601 (WebCore::FrameLoaderClientQt::hasFrameView):
3602 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3603 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3604 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3605 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3606 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3607 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3608 (WebCore::FrameLoaderClientQt::makeDocumentView):
3609 (WebCore::FrameLoaderClientQt::makeRepresentation):
3610 (WebCore::FrameLoaderClientQt::forceLayout):
3611 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3612 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3613 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3614 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3615 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3616 (WebCore::FrameLoaderClientQt::willCloseDocument):
3617 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3618 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3619 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3620 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3621 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3622 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3623 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3624 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3625 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3626 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3627 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3628 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3629 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3630 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3631 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3632 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3633 (WebCore::FrameLoaderClientQt::dispatchShow):
3634 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3635 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3636 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3637 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3638 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3639 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3640 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3641 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3642 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3643 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3644 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3645 (WebCore::FrameLoaderClientQt::willChangeTitle):
3646 (WebCore::FrameLoaderClientQt::didChangeTitle):
3647 (WebCore::FrameLoaderClientQt::finishedLoading):
3648 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3649 (WebCore::FrameLoaderClientQt::setDefersLoading):
3650 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3651 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3652 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3653 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3654 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3655 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3656 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3657 (WebCore::FrameLoaderClientQt::restoreViewState):
3658 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3659 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3660 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3661 (WebCore::FrameLoaderClientQt::didFinishLoad):
3662 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3663 (WebCore::FrameLoaderClientQt::setTitle):
3664 (WebCore::FrameLoaderClientQt::userAgent):
3665 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3666 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3667 (WebCore::FrameLoaderClientQt::canHandleRequest):
3668 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3669 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3670 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3671 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3672 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3673 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3674 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3675 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3676 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3677 (WebCore::FrameLoaderClientQt::canCachePage):
3678 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3679 (WebCore::FrameLoaderClientQt::committedLoad):
3680 (WebCore::FrameLoaderClientQt::cancelledError):
3681 (WebCore::FrameLoaderClientQt::blockedError):
3682 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3683 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3684 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3685 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3686 (WebCore::FrameLoaderClientQt::shouldFallBack):
3687 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3688 (WebCore::FrameLoaderClientQt::download):
3689 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3690 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3691 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3692 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3693 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3694 (WebCore::FrameLoaderClientQ