1 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Always return true in FrameLoaderClientQt::shouldGoToHistoryItem, like the windows port
7 * WebCoreSupport/FrameLoaderClientQt.cpp:
10 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
14 * Attempt to make the m_webFrame null pointer checking consistent. Always check for
15 m_webFrame. It should get set by the QWebFrame with the FramerLoaderClientQt::setFrame
16 call and should stay valid until the destruction of the QWebFrame.
17 * Currently the same checking is not needed for m_frame as it will only set to 0 in
18 FrameLoaderClientQt::frameLoaderDestroyed and should be not 0 because of the setFrame
22 * WebCoreSupport/FrameLoaderClientQt.cpp:
23 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
24 (WebCore::FrameLoaderClientQt::setMainDocumentError):
25 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
26 (WebCore::FrameLoaderClientQt::objectContentType):
27 (WebCore::FrameLoaderClientQt::createPlugin):
29 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
33 * Get the RefCounting of WebCore::Frame right and make sure that both QWebFrame
34 and WebCore::Frame get destroyed if we leave site with subframes and on the
35 end of the application.
36 * Use adoptRef in FrameLoaderClientQt::createFrame to get the refs right for subframes. We
37 do not want to add an extra reference. Without this we are leaking subframes.
38 * Assume that the lifetime of a Frame and FrameLoader are the same, when the Frame is gone
39 we want to destroy the QWebFrame (e.g. on a page with subframes). Add delete m_webFrame
40 in the frameLoaderDestroyed method to do that.
41 * If we happen to delete the QWebFrame before the FrameLoaderClientQt we set m_webFrame to
42 zero in the FrameLoaderClientQt to avoid bad things.
46 (QWebFrame::~QWebFrame):
47 * WebCoreSupport/FrameLoaderClientQt.cpp:
48 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
49 (WebCore::FrameLoaderClientQt::objectContentType):
50 * WebCoreSupport/FrameLoaderClientQt.h:
52 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
56 * Do not save a RefPtr to the frame. The FrameLoaderClient, Frame and
57 QWebFrame should have the same lifetime everything else is a leak
61 (QWebFramePrivate::init):
63 * WebCoreSupport/FrameLoaderClientQt.cpp:
65 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
69 * Do not store the QWebFrame associated with a ScrollView/FrameView
70 in the WebCore::Widget.
71 * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core
72 and QWebFramePrivate::kit function to convert from and to QWebFrame.
76 (QWebFramePrivate::init):
78 (QWebPagePrivate::createMainFrame):
80 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
84 * Do not store the FrameView in the QWebFrame and cope with the situation when
85 a WebCore::Frame has no WebCore::FrameView.
89 (QWebFramePrivate::init):
90 (QWebFramePrivate::horizontalScrollBar):
91 (QWebFramePrivate::verticalScrollBar):
92 (QWebFrame::innerText):
93 (QWebFrame::renderTreeDump):
94 (QWebFrame::setVerticalScrollBarPolicy):
95 (QWebFrame::setHorizontalScrollBarPolicy):
100 (QWebFramePrivate::QWebFramePrivate):
102 (QWebPagePrivate::updateEditorActions):
103 (QWebPagePrivate::mouseMoveEvent):
104 (QWebPagePrivate::mousePressEvent):
105 (QWebPagePrivate::mouseDoubleClickEvent):
106 (QWebPagePrivate::contextMenuEvent):
107 (QWebPagePrivate::wheelEvent):
108 (QWebPage::triggerAction):
109 * WebCoreSupport/FrameLoaderClientQt.cpp:
111 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
115 * Change the order of the methods to match with the FrameLoaderClient.h to ease
116 removing methods in the future.
118 * WebCoreSupport/FrameLoaderClientQt.h:
120 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
124 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
126 * WebCoreSupport/FrameLoaderClientQt.cpp:
127 (WebCore::FrameLoaderClientQt::detachedFromParent4):
128 * WebCoreSupport/FrameLoaderClientQt.h:
130 2008-03-25 Brady Eidson <beidson@apple.com>
134 Remove newly obsolete FrameLoaderClient methods
136 * WebCoreSupport/FrameLoaderClientQt.cpp:
137 * WebCoreSupport/FrameLoaderClientQt.h:
139 2008-03-22 Mark Rowe <mrowe@apple.com>
143 * WebCoreSupport/FrameLoaderClientQt.cpp:
146 2008-03-18 Simon Hausmann <hausmann@webkit.org>
150 Fix the Qt build. Don't return void in non-void functions.
152 * Api/qwebpluginfactory.cpp:
153 (QWebPluginFactory::extension):
155 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
159 Don't use RefPtr in classes you haven't seen the implementation of.
161 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
162 cannot *use* said objects until Foo is defined. This is true even for
163 initialisation with a 0.
165 Seems the HP aCC compiler is more strict here than gcc.
169 2008-03-14 Simon Hausmann <hausmann@webkit.org>
174 (QWebFrame::setHtml):
175 (QWebFrame::setContent):
177 2008-03-13 Simon Hausmann <hausmann@webkit.org>
182 (QWebFrame::addToJSWindowObject):
184 2008-03-12 Simon Hausmann <hausmann@webkit.org>
186 Fix compilation against Qt 4.3
192 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
196 * WebCoreSupport/FrameLoaderClientQt.cpp:
197 (FrameLoaderClientQt::CreatePlugin):
199 2008-03-11 Simon Hausmann <hausmann@webkit.org>
201 Fix the Qt build (silly typo).
203 * QtLauncher/main.cpp:
204 (MainWindow::MainWindow):
206 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
210 Moved obscuring progress bar to the lower right corner.
212 * QtLauncher/main.cpp:
213 (MainWindow::MainWindow):
214 (MainWindow::resizeEvent):
216 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
220 Added reload action and grouped stop and reload actions together.
222 * QtLauncher/main.cpp:
223 (MainWindow::MainWindow):
225 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
229 * Set a Icon on the QAction if we have one.
234 2008-03-11 Simon Hausmann <hausmann@webkit.org>
239 (QWebFrame::addToJSWindowObject):
241 2008-03-07 Simon Hausmann <hausmann@webkit.org>
247 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
249 * Api/qwebnetworkinterface.cpp:
250 (QWebNetworkManager::add):
251 (QWebNetworkManager::cancel):
252 (QWebNetworkManager::started):
253 (QWebNetworkManager::data):
254 (QWebNetworkManager::finished):
255 * Api/qwebnetworkinterface_p.h:
256 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
257 * Api/qwebobjectplugin.cpp: Removed.
258 * Api/qwebobjectplugin.h: Removed.
259 * Api/qwebobjectplugin_p.h: Removed.
260 * Api/qwebobjectpluginconnector.cpp: Removed.
261 * Api/qwebobjectpluginconnector.h: Removed.
263 (QWebPagePrivate::QWebPagePrivate):
264 (QWebPage::setPluginFactory):
265 (QWebPage::pluginFactory):
268 * Api/qwebpluginfactory.cpp: Added.
269 (QWebPluginFactory::QWebPluginFactory):
270 (QWebPluginFactory::~QWebPluginFactory):
271 (QWebPluginFactory::refreshPlugins):
272 (QWebPluginFactory::extension):
273 * Api/qwebpluginfactory.h: Added.
275 * WebCoreSupport/FrameLoaderClientQt.cpp:
276 (WebCore::FrameLoaderClientQt::objectContentType):
277 (WebCore::FrameLoaderClientQt::createPlugin):
279 2008-03-07 Simon Hausmann <hausmann@webkit.org>
285 2008-03-04 Sam Weinig <sam@webkit.org>
287 Reviewed by Mark Rowe.
289 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
293 (QWebFrame::addToJSWindowObject):
295 2008-03-04 Mark Rowe <mrowe@apple.com>
297 Another go at fixing the Qt build.
300 (QWebFrame::addToJSWindowObject):
302 2008-02-24 Darin Adler <darin@apple.com>
306 - remove separate client calls for "standard" and "reload' history
308 * WebCoreSupport/FrameLoaderClientQt.cpp:
309 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
310 * WebCoreSupport/FrameLoaderClientQt.h:
312 2008-02-24 Darin Adler <darin@apple.com>
314 - another try at fixing the build
317 (QWebFrame::load): Replace new FormData with FormData::create.
319 2008-02-22 Sam Weinig <sam@webkit.org>
323 * Api/qwebhistoryinterface.cpp:
325 2008-02-22 Sam Weinig <sam@webkit.org>
327 Rubber-stamped by Adam Roben.
329 Rid the project of the Devil known as DeprecatedString!
331 * Api/qwebhistory.cpp:
332 * Api/qwebhistoryinterface.cpp:
334 2008-02-18 Darin Adler <darin@apple.com>
338 * Api/qwebnetworkinterface.cpp:
339 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
341 2008-01-24 David Boddie <dboddie@trolltech.com>
345 Documentation tidying.
349 * Api/qwebhistoryinterface.cpp:
352 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
356 Text for translations were used wrongly as comments
359 * WebCoreSupport/FrameLoaderClientQt.cpp:
361 (WebCore::FrameLoaderClientQt::cannotShowURLError):
362 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
363 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
364 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
365 (WebCore::FrameLoaderClientQt::shouldFallBack):
367 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
371 * We have a KURL->QUrl conversion on KURL itself, make use of it.
372 * This conversion is supposed to be loss-free
377 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
379 * Rubber stamped by Simon
381 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
382 This was found while working on the page-cache, other ports are not affected.
384 * WebCoreSupport/FrameLoaderClientQt.cpp:
385 (WebCore::FrameLoaderClientQt::createFrame):
387 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
389 Reviewed by Simon Hausmann <hausmann@webkit.org>.
391 Fix Qtopia compilation with QT_NO_TOOLTIP
394 * WebCoreSupport/ChromeClientQt.cpp:
395 (WebCore::ChromeClientQt::print):
397 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
401 Doc: Replaced \code with snippets in the docs
406 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
410 Tweak key presses even to match commonly expected behavior
411 - space key == page down
412 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
413 - Use font height rather then a hard coded "10" for left, right, up, down
414 - Ctrl-Up moves to the top of the page
415 - Ctrl-Down move to the bottom of the page
416 - Backspace == GoBack
417 - Shift-Backspace == GoForward
421 (dropActionToDragOp):
422 (dragOpToDropAction):
423 (QWebPagePrivate::keyPressEvent):
425 2008-01-23 Simon Hausmann <hausmann@webkit.org>
429 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
431 Added two signals to QWebPage to handle downloading of links and handling of
436 (QWebPage::triggerAction):
438 * WebCoreSupport/FrameLoaderClientQt.cpp:
439 (WebCore::FrameLoaderClientQt::download):
440 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
441 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
442 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
443 (WebCore::FrameLoaderClientQt::willUseArchive):
445 2008-01-22 Lars Knoll <lars@trolltech.com>
449 setup a family for cursive and fantasy fonts as well.
452 * Api/qwebsettings.cpp:
453 (QWebSettings::QWebSettings):
455 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
459 Implement ChromeClientQt::setToolTip
460 Implement ChromeClientQt::mouseDidMoveOverElement
465 * WebCoreSupport/ChromeClientQt.cpp:
466 (WebCore::ChromeClientQt::ChromeClientQt):
467 (WebCore::ChromeClientQt::focus):
468 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
469 (WebCore::ChromeClientQt::setToolTip):
470 (WebCore::ChromeClientQt::print):
471 * WebCoreSupport/ChromeClientQt.h:
473 2008-01-21 Darin Adler <darin@apple.com>
475 Reviewed by John Sullivan.
477 - updated for changes to ChromeClient database functions
479 * WebCoreSupport/ChromeClientQt.cpp:
480 (WebCore::ChromeClientQt::exceededDatabaseQuota):
481 * WebCoreSupport/ChromeClientQt.h:
483 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
487 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
490 * Api/qwebhistoryinterface.h:
492 2008-01-21 Adam Treat <treat@kde.org>
496 * Don't leak the d-pointer in QWebSettings.
499 * Api/qwebsettings.cpp:
500 (QWebSettings::~QWebSettings):
502 2008-01-21 Simon Hausmann <hausmann@webkit.org>
506 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
508 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
513 2008-01-21 Simon Hausmann <hausmann@webkit.org>
517 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
519 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
520 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
521 and make the return value depend on whether we successfully determined a focusable
523 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
524 if we could not handle the focus chain ourselves.
525 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
526 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
527 used to control the situation of stepping out of the focus chain inside the page.
528 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
529 The layout tests expect this to be disabled but for the user it seems sensible to have it
530 on by default, hence the default in qwebsettings.cpp
534 (QWebPage::focusNextPrevChild):
535 * Api/qwebsettings.cpp:
536 (QWebSettings::QWebSettings):
537 * Api/qwebsettings.h:
539 (QWebView::QWebView):
540 (QWebView::focusNextPrevChild):
541 * WebCoreSupport/ChromeClientQt.cpp:
542 (WebCore::ChromeClientQt::canTakeFocus):
543 (WebCore::ChromeClientQt::takeFocus):
545 2008-01-18 Simon Hausmann <hausmann@webkit.org>
549 Coding style fixes and added a comment about the include order.
553 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
555 Reviewed by Simon Hausmann <hausmann@webkit.org>.
557 Add use of precompiled header, when building inside Qt.
559 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.
562 * WebKit_pch.h: Added.
564 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
568 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
569 we will see a crash in a HashSet.
570 * It is crashing there because the StringImpl of an empty String is 0.
571 * We avoid this crash by checking for isEmpty() in WebKit as there is no
572 use to ask the iconDatabase for an empty string. We will fallback to the
579 2008-01-17 Simon Hausmann <hausmann@webkit.org>
583 Minor documentation fixes
589 2008-01-17 Simon Hausmann <shausman@trolltech.com>
593 Fix form elements not focusing correctly after the qt widget lost its focus.
595 When receiving a focus out event notify the focus controller. Otherwise its
596 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
597 event shortcuts and doesn't call setActive(true).
602 2008-01-17 Simon Hausmann <shausman@trolltech.com>
606 Lots of updates to the documentation.
610 * Api/qwebhistory.cpp:
612 (QWebPagePrivate::dropEvent):
615 (QWebPage::triggerAction):
616 (QWebPage::viewportSize):
617 (QWebPage::navigationRequested):
620 (QWebPageContext::targetFrame):
624 2008-01-17 Simon Hausmann <shausman@trolltech.com>
628 Added a urlChanged signals to QWebFrame and QWebView.
636 * WebCoreSupport/FrameLoaderClientQt.cpp:
638 2008-01-17 Simon Hausmann <shausman@trolltech.com>
642 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
645 * Api/qwebsettings.cpp:
646 (QWebSettings::setIconDatabaseEnabled):
648 2008-01-17 Simon Hausmann <shausman@trolltech.com>
652 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
656 (QWebPage::createWindow):
658 (QWebView::createWindow):
661 2008-01-17 Lars Knoll <lars@trolltech.com>
665 add a 0 pointer check.
667 Fixes a crash in the demo web browser.
669 * WebCoreSupport/FrameLoaderClientQt.cpp:
670 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
672 2008-01-17 Simon Hausmann <hausmann@webkit.org>
676 Fix QWebFrame::title().
678 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
679 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
685 2008-01-17 Simon Hausmann <hausmann@webkit.org>
687 Reviewed by Maciej, Lars, Holger.
689 http://bugs.webkit.org/show_bug.cgi?id=16589
691 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
693 * Api/qwebnetworkinterface.cpp:
694 (QWebNetworkRequestPrivate::init):
695 (QWebNetworkManager::started):
697 2008-01-17 Warwick Allison <warwick@trolltech.com>
699 Reviewed by Simon Hausmann <hausmann@webkit.org>.
701 Follow QWidget::keyPressEvent advice and call parents.
703 Without this, Back does not work in Qtopia, for example.
707 (QWebView::keyPressEvent):
708 (QWebView::keyReleaseEvent):
710 2008-01-17 Simon Hausmann <hausmann@webkit.org>
714 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
716 * Api/qwebnetworkinterface.cpp:
717 (QWebNetworkManager::started):
719 2008-01-17 Simon Hausmann <shausman@trolltech.com>
723 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
728 * WebCoreSupport/FrameLoaderClientQt.cpp:
730 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
732 Reviewed by Simon Hausmann <hausmann@webkit.org>.
734 Fixes compilation with QT_NO_DRAGANDDROP
740 (QWebView::dragEnterEvent):
741 (QWebView::dragLeaveEvent):
742 (QWebView::dragMoveEvent):
743 (QWebView::dropEvent):
745 2008-01-17 Simon Hausmann <hausmann@webkit.org>
749 Fix compilation, removed obsolete privateBrowsingEnabled() method.
751 * WebCoreSupport/FrameLoaderClientQt.cpp:
753 2008-01-16 Lars Knoll <lars@trolltech.com>
755 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
757 Removed a whole bunch of notImplemented() warnings.
759 I don't want to hide the real warnings in lots of things that
760 I am by now pretty certain we won't need.
763 * WebCoreSupport/FrameLoaderClientQt.cpp:
764 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
765 (WebCore::FrameLoaderClientQt::canShowMIMEType):
767 2008-01-16 Simon Hausmann <hausmann@webkit.org>
771 Fix crash when bringing up the context menu on maps.google.com.
773 If the website provides its own context menu then we don't have a ContextMenu pointer.
777 (QWebPagePrivate::contextMenuEvent):
779 2008-01-16 Simon Hausmann <hausmann@webkit.org>
783 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
786 (QWebView::mouseMoveEvent):
787 (QWebView::mousePressEvent):
788 (QWebView::mouseDoubleClickEvent):
789 (QWebView::mouseReleaseEvent):
790 (QWebView::contextMenuEvent):
791 (QWebView::wheelEvent):
792 (QWebView::keyPressEvent):
793 (QWebView::keyReleaseEvent):
794 (QWebView::focusInEvent):
795 (QWebView::focusOutEvent):
796 (QWebView::dragEnterEvent):
797 (QWebView::dragLeaveEvent):
798 (QWebView::dragMoveEvent):
799 (QWebView::dropEvent):
800 (QWebView::focusNextPrevChild):
802 2008-01-16 Simon Hausmann <hausmann@webkit.org>
806 Made the url property read-write.
810 2008-01-16 Simon Hausmann <hausmann@webkit.org>
814 Don't crash when showing a default initialized QWebView that has no page/frame yet.
817 (QWebView::paintEvent):
819 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
823 Change hoveringOverLink implementation to have less issues.
825 * Currently we only compare a pointer. In the worst case we
826 could delete the Element we have pointed to and a new one
827 gets the same address. But even if that doesn't happen the
828 WebCore::Element is mutable and JavaScript could change the
829 URL, Title or Content. So we have to compare all these three
831 * This does not seem to be a performance impact.
835 (QWebPagePrivate::mouseMoveEvent):
838 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
842 * Move the hoverElement from QWebFrame to QWebPage. As it is
847 (QWebFramePrivate::QWebFramePrivate):
849 (QWebPagePrivate::mouseMoveEvent):
852 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
856 EventHandler changes/fixes in QWebPage:
857 -mouse{Press,Move,Release}Event:
858 Send the event always to the mainFrame of the QWebPage.
860 -contextMenuEvent, key{Press,Release}Event:
861 Send the event to the focused frame.
863 This is following the Windows port and fixes a issue with the
864 Web Inspector where we were sending the events to a wrong frame.
866 It is guaranteed that the mainFrame will always have an eventHandler
867 and frameView set. There is no need to check for this in QWebPage.
871 (QWebFramePrivate::init):
873 (QWebFramePrivate::QWebFramePrivate):
875 (QWebPagePrivate::updateEditorActions):
876 (QWebPagePrivate::mouseMoveEvent):
877 (QWebPagePrivate::mousePressEvent):
878 (QWebPagePrivate::mouseDoubleClickEvent):
879 (QWebPagePrivate::mouseReleaseEvent):
880 (QWebPagePrivate::contextMenuEvent):
881 (QWebPagePrivate::wheelEvent):
882 (QWebPagePrivate::keyPressEvent):
883 (QWebPagePrivate::keyReleaseEvent):
884 (QWebPagePrivate::focusInEvent):
887 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
891 * Add core and kit functions to QWebFramePrivate to convert from
892 QWebFrame to WebCore::Frame and vice versa.
896 (QWebFramePrivate::core):
897 (QWebFramePrivate::kit):
901 2008-01-16 Lars Knoll <lars@trolltech.com>
905 add conversion methods from and to QUrl to KURL.
907 Use them in the places I found at the moment. Fixes a bug
908 where form data was encoded twice.
909 Also fix QWebSettings to take a QUrl for the user style sheet
916 (QWebPage::createPlugin):
918 (QWebPage::triggerAction):
919 * Api/qwebsettings.cpp:
920 (QWebSettingsPrivate::apply):
921 * Api/qwebsettings.h:
922 * WebCoreSupport/ChromeClientQt.cpp:
923 (WebCore::ChromeClientQt::createWindow):
924 (WebCore::ChromeClientQt::show):
926 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
930 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
931 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
932 the QWebPage/WebInspector automatically.
935 * WebCoreSupport/InspectorClientQt.cpp:
936 (WebCore::InspectorClientWebPage::createWindow):
937 (WebCore::InspectorClientView::InspectorClientView):
939 2008-01-10 Maciej Stachowiak <mjs@apple.com>
943 - remove SecurityOriginData and fold its functionality into SecurityOrigin
945 * WebCoreSupport/ChromeClientQt.cpp:
946 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
947 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
948 * WebCoreSupport/ChromeClientQt.h:
950 2008-01-10 Lars Knoll <lars@trolltech.com>
957 * Api/qwebhistory.cpp:
958 (QWebHistoryItem::QWebHistoryItem):
959 (QWebHistoryItem::operator=):
960 (QWebHistoryItem::~QWebHistoryItem):
961 (QWebHistoryItem::originalUrl):
962 (QWebHistoryItem::currentUrl):
963 (QWebHistoryItem::title):
964 (QWebHistoryItem::icon):
965 (QWebHistory::canGoBack):
966 (QWebHistory::canGoForward):
967 (QWebHistory::goBack):
968 (QWebHistory::goForward):
969 (QWebHistory::goToItem):
972 2008-01-10 Simon Hausmann <hausmann@webkit.org>
976 Make the reset() functions not do anything on the default QWebSettings object.
979 * Api/qwebsettings.cpp:
980 (QWebSettings::resetFontSize):
981 (QWebSettings::resetFontFamily):
982 (QWebSettings::clearAttribute):
984 2008-01-10 Lars Knoll <lars@trolltech.com>
988 rename QWebPageHistory to QWebHistory.
991 * Api/qwebhistory.cpp: Added.
992 (QWebHistoryItem::QWebHistoryItem):
993 (QWebHistoryItem::operator=):
994 (QWebHistoryItem::~QWebHistoryItem):
995 (QWebHistoryItem::originalUrl):
996 (QWebHistoryItem::currentUrl):
997 (QWebHistoryItem::title):
998 (QWebHistoryItem::lastVisited):
999 (QWebHistoryItem::icon):
1000 (QWebHistory::QWebHistory):
1001 (QWebHistory::~QWebHistory):
1002 (QWebHistory::clear):
1003 (QWebHistory::items):
1004 (QWebHistory::backItems):
1005 (QWebHistory::forwardItems):
1006 (QWebHistory::canGoBack):
1007 (QWebHistory::canGoForward):
1008 (QWebHistory::goBack):
1009 (QWebHistory::goForward):
1010 (QWebHistory::goToItem):
1011 (QWebHistory::backItem):
1012 (QWebHistory::currentItem):
1013 (QWebHistory::forwardItem):
1014 (QWebHistory::itemAtIndex):
1015 * Api/qwebhistory.h: Added.
1016 * Api/qwebhistory_p.h: Added.
1017 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1018 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1019 (QWebHistoryPrivate::QWebHistoryPrivate):
1020 (QWebHistoryPrivate::~QWebHistoryPrivate):
1022 (QWebPagePrivate::QWebPagePrivate):
1025 * Api/qwebpagehistory.cpp: Removed.
1026 * Api/qwebpagehistory.h: Removed.
1027 * Api/qwebpagehistory_p.h: Removed.
1031 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1035 Documentation for QWebSettings
1038 * Api/qwebsettings.cpp:
1039 (QWebSettings::~QWebSettings):
1040 (QWebSettings::setFontSize):
1041 (QWebSettings::resetFontSize):
1042 (QWebSettings::setUserStyleSheetLocation):
1043 (QWebSettings::userStyleSheetLocation):
1044 (QWebSettings::iconDatabaseEnabled):
1045 (QWebSettings::webGraphic):
1046 (QWebSettings::setFontFamily):
1047 (QWebSettings::resetFontFamily):
1048 (QWebSettings::setAttribute):
1050 2008-01-10 Lars Knoll <lars@trolltech.com>
1054 Document QWebHistoryInterface.
1057 * Api/qwebhistoryinterface.cpp:
1058 (QWebHistoryInterface::defaultInterface):
1059 (QWebHistoryInterface::~QWebHistoryInterface):
1061 2008-01-10 Lars Knoll <lars@trolltech.com>
1065 Documentation for QWebFrame.
1068 * Api/qwebframe.cpp:
1072 (QWebFrame::setHtml):
1073 (QWebFrame::parentFrame):
1074 (QWebFrame::render):
1076 (QWebFrame::geometry):
1078 * Api/qwebframe_p.h:
1080 2008-01-10 Lars Knoll <lars@trolltech.com>
1084 fix the drawing errors that where introduced due to refactoring.
1086 Correctly clip to the rectangle we want to draw in ScrollView::paint().
1089 * Api/qwebframe.cpp:
1090 (QWebFrame::render):
1093 (QWebView::paintEvent):
1094 * WebCoreSupport/ChromeClientQt.cpp:
1095 (WebCore::ChromeClientQt::scrollBackingStore):
1097 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1101 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
1105 (QWebPagePrivate::dropEvent):
1106 (QWebPage::QWebPage):
1107 (QWebPage::~QWebPage):
1108 (QWebPage::mainFrame):
1109 (QWebPage::currentFrame):
1110 (QWebPage::history):
1111 (QWebPage::setView):
1113 (QWebPage::javaScriptConsoleMessage):
1114 (QWebPage::javaScriptAlert):
1115 (QWebPage::javaScriptConfirm):
1116 (QWebPage::javaScriptPrompt):
1117 (QWebPage::createWindow):
1118 (QWebPage::createModalDialog):
1120 (QWebPage::triggerAction):
1121 (QWebPage::viewportSize):
1122 (QWebPage::navigationRequested):
1123 (QWebPage::selectedText):
1124 (QWebPage::isModified):
1125 (QWebPage::focusNextPrevChild):
1126 (QWebPage::settings):
1127 (QWebPage::networkProxy):
1128 (QWebPage::setNetworkAccessManager):
1129 (QWebPage::networkAccessManager):
1130 (QWebPagePrivate::_q_onLoadProgressChanged):
1133 2008-01-07 Holger Freyther <zecke@selfish.org>
1135 Reviewed by Alp Toker.
1137 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
1139 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
1140 * Update the ContextMenuController to accept CheckableActionTypes as well.
1141 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
1142 was extracted from ContextMenu::checkOrEnableIfNeeded.
1143 * Update the Qt and Windows port.
1146 (QWebPagePrivate::createContextMenu):
1148 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1150 Build fix for the Windows build. MSVC wants to see the full
1151 declaration of arguments even when just passing them through.
1155 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1159 Added the missing parameters to make it possible to do POST operations from the public API.
1161 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1162 two extra arguments were in QNetworkRequest :-/
1165 * Api/qwebframe.cpp:
1172 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1176 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1179 * Api/qwebframe.cpp:
1182 * Api/qwebnetworkinterface.cpp:
1183 * Api/qwebnetworkinterface.h:
1184 * Api/qwebnetworkinterface_p.h:
1185 * Api/qwebobjectplugin.cpp:
1186 * Api/qwebobjectplugin.h:
1187 * Api/qwebobjectplugin_p.h:
1188 * Api/qwebobjectpluginconnector.cpp:
1189 * Api/qwebobjectpluginconnector.h:
1191 (QWebPagePrivate::QWebPagePrivate):
1192 (QWebPagePrivate::~QWebPagePrivate):
1193 (QWebPagePrivate::navigationRequested):
1194 (QWebPage::setNetworkInterface):
1195 (QWebPage::networkInterface):
1196 (QWebPage::setNetworkAccessManager):
1197 (QWebPage::networkAccessManager):
1202 * WebCoreSupport/FrameLoaderClientQt.cpp:
1203 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1204 (WebCore::FrameLoaderClientQt::objectContentType):
1205 (WebCore::FrameLoaderClientQt::createPlugin):
1207 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1211 * Move the QWebPagePrivate methods up to the other private ones
1214 (dropActionToDragOp):
1215 (dragOpToDropAction):
1216 (QWebPagePrivate::mouseMoveEvent):
1217 (QWebPagePrivate::mousePressEvent):
1218 (QWebPagePrivate::mouseDoubleClickEvent):
1219 (QWebPagePrivate::mouseReleaseEvent):
1220 (QWebPagePrivate::contextMenuEvent):
1221 (QWebPagePrivate::wheelEvent):
1222 (QWebPagePrivate::keyPressEvent):
1223 (QWebPagePrivate::keyReleaseEvent):
1224 (QWebPagePrivate::focusInEvent):
1225 (QWebPagePrivate::focusOutEvent):
1226 (QWebPagePrivate::dragEnterEvent):
1227 (QWebPagePrivate::dragLeaveEvent):
1228 (QWebPagePrivate::dragMoveEvent):
1229 (QWebPagePrivate::dropEvent):
1230 (QWebPage::focusNextPrevChild):
1232 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1236 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1240 (dragOpToDropAction):
1242 (QWebView::mouseMoveEvent):
1243 (QWebView::mousePressEvent):
1244 (QWebView::mouseDoubleClickEvent):
1245 (QWebView::mouseReleaseEvent):
1246 (QWebView::contextMenuEvent):
1247 (QWebView::keyPressEvent):
1248 (QWebView::keyReleaseEvent):
1249 (QWebView::focusInEvent):
1250 (QWebView::focusOutEvent):
1251 (QWebView::dragEnterEvent):
1252 (QWebView::dragLeaveEvent):
1253 (QWebView::dragMoveEvent):
1254 (QWebView::dropEvent):
1256 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1260 * This layout is not needed anymore as Widget::invalidateRect will not
1265 (QWebView::paintEvent):
1267 2008-01-04 Lars Knoll <lars@trolltech.com>
1271 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1273 This also brings the code closer in line with the Windows code. Seems
1274 to work nicely on first try :)
1277 * WebCoreSupport/ChromeClientQt.cpp:
1278 (WebCore::ChromeClientQt::updateBackingStore):
1279 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1280 (WebCore::ChromeClientQt::setToolTip):
1281 * WebCoreSupport/FrameLoaderClientQt.cpp:
1282 (WebCore::FrameLoaderClientQt::createPlugin):
1284 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1288 * Remove the todo from QWebPage and move the code to QWebView.
1292 (QWebPagePrivate::wheelEvent):
1293 (QWebPagePrivate::focusInEvent):
1295 (QWebView::wheelEvent):
1296 (QWebView::focusInEvent):
1298 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1302 * Move the various event methods to QWebPagePrivate. This is similar to
1303 QTextControl as well.
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 (QWebPage::focusNextPrevChild):
1319 (QWebPagePrivate::dragEnterEvent):
1320 (QWebPagePrivate::dragLeaveEvent):
1321 (QWebPagePrivate::dragMoveEvent):
1322 (QWebPagePrivate::dropEvent):
1326 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1330 * Forward the event from QWebView to QWebPage through QObject::event. This
1331 is similar to the way QTextControl is working.
1335 (dragOpToDropAction):
1339 (QWebView::mouseMoveEvent):
1340 (QWebView::mousePressEvent):
1341 (QWebView::mouseDoubleClickEvent):
1342 (QWebView::mouseReleaseEvent):
1343 (QWebView::contextMenuEvent):
1344 (QWebView::wheelEvent):
1345 (QWebView::keyPressEvent):
1346 (QWebView::keyReleaseEvent):
1347 (QWebView::focusInEvent):
1348 (QWebView::focusOutEvent):
1349 (QWebView::dragEnterEvent):
1350 (QWebView::dragLeaveEvent):
1351 (QWebView::dragMoveEvent):
1352 (QWebView::dropEvent):
1355 2008-01-04 Lars Knoll <lars@trolltech.com>
1359 make QWebPage a QObject and get things to compile.
1361 Nothing works currently though.
1364 * Api/qwebobjectpluginconnector.cpp:
1366 (QWebPagePrivate::QWebPagePrivate):
1367 (QWebPagePrivate::createMainFrame):
1368 (QWebPage::QWebPage):
1369 (QWebPage::setView):
1371 (QWebPage::javaScriptAlert):
1372 (QWebPage::javaScriptPrompt):
1373 (dragOpToDropAction):
1374 (QWebPage::mousePressEvent):
1375 (QWebPage::mouseDoubleClickEvent):
1376 (QWebPage::mouseReleaseEvent):
1377 (QWebPage::wheelEvent):
1378 (QWebPage::keyPressEvent):
1379 (QWebPage::focusInEvent):
1383 (QWebView::QWebView):
1384 (QWebView::setPage):
1385 (QWebView::resizeEvent):
1386 (QWebView::paintEvent):
1388 * WebCoreSupport/ChromeClientQt.cpp:
1389 (WebCore::ChromeClientQt::windowRect):
1390 (WebCore::ChromeClientQt::pageRect):
1391 (WebCore::ChromeClientQt::focus):
1392 (WebCore::ChromeClientQt::unfocus):
1393 (WebCore::ChromeClientQt::canTakeFocus):
1394 (WebCore::ChromeClientQt::takeFocus):
1395 (WebCore::ChromeClientQt::canRunModal):
1396 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1397 * WebCoreSupport/DragClientQt.cpp:
1398 (WebCore::DragClientQt::startDrag):
1399 * WebCoreSupport/FrameLoaderClientQt.cpp:
1400 (WebCore::FrameLoaderClientQt::createPlugin):
1401 * WebCoreSupport/InspectorClientQt.cpp:
1402 (WebCore::InspectorClientWebPage::createWindow):
1403 (WebCore::InspectorClientView::InspectorClientView):
1404 (WebCore::InspectorClientView::page):
1405 (WebCore::InspectorClientView::hideEvent):
1406 (WebCore::InspectorClientView::closeEvent):
1407 (WebCore::InspectorClientQt::createPage):
1408 (WebCore::InspectorClientQt::closeWindow):
1410 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1414 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1418 (QWebView::setHtml):
1419 (QWebView::setContent):
1420 (QWebView::history):
1421 (QWebView::settings):
1423 (QWebView::triggerAction):
1425 (QWebView::backward):
1426 (QWebView::forward):
1430 2008-01-04 Lars Knoll <lars@trolltech.com>
1434 add a viewportSize to QWebPage.
1436 This is required to eventually make it a QObject only.
1440 (QWebPage::triggerAction):
1441 (QWebPage::viewportSize):
1442 (QWebPage::setViewportSize):
1445 2008-01-04 Lars Knoll <lars@trolltech.com>
1449 take a QString as identifier in QWebFrame::addToJSWindowObject.
1451 * Api/qwebframe.cpp:
1452 (QWebFrame::addToJSWindowObject):
1455 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1459 Call the frame arguments for the javascript callbacks "originatingFrame"
1464 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1468 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1471 * Api/qwebhistoryinterface.h:
1473 * WebCoreSupport/FrameLoaderClientQt.cpp:
1474 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1476 2008-01-04 Lars Knoll <lars@trolltech.com>
1480 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1482 * Api/qwebframe.cpp:
1485 (QWebFrame::setVerticalScrollBarPolicy):
1488 (QWebPage::javaScriptAlert):
1489 (QWebPage::javaScriptPrompt):
1490 (QWebPage::networkInterface):
1496 * WebCoreSupport/FrameLoaderClientQt.cpp:
1498 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1502 Moved QWebPage::open to QWebFrame::load and added setHtml.
1505 * Api/qwebframe.cpp:
1507 (QWebFrame::setHtml):
1508 (QWebFrame::setContent):
1514 (QWebView::setHtml):
1516 * WebCoreSupport/ChromeClientQt.cpp:
1517 (WebCore::ChromeClientQt::createWindow):
1518 * WebCoreSupport/InspectorClientQt.cpp:
1519 (WebCore::InspectorClientQt::createPage):
1521 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1525 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1531 (QWebPagePrivate::createMainFrame):
1533 * Api/qwebpagehistory.h:
1534 * Api/qwebview.cpp: Added.
1535 (QWebView::QWebView):
1536 (QWebView::~QWebView):
1538 (QWebView::setPage):
1540 (QWebView::setHtml):
1541 (QWebView::history):
1542 (QWebView::settings):
1546 (QWebView::selectedText):
1548 (QWebView::triggerAction):
1549 (QWebView::isModified):
1550 (QWebView::textInteractionFlags):
1551 (QWebView::setTextInteractionFlags):
1552 (QWebView::sizeHint):
1554 (QWebView::backward):
1555 (QWebView::forward):
1557 * Api/qwebview.h: Added.
1558 * QtLauncher/main.cpp:
1559 (MainWindow::MainWindow):
1560 (MainWindow::webPage):
1561 (MainWindow::changeLocation):
1562 * WebCoreSupport/FrameLoaderClientQt.cpp:
1563 (WebCore::FrameLoaderClientQt::setFrame):
1564 * WebCoreSupport/FrameLoaderClientQt.h:
1566 2007-12-14 Darin Adler <darin@apple.com>
1571 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1572 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1573 * WebCoreSupport/EditorClientQt.cpp:
1574 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1575 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1578 2007-12-12 Brady Eidson <beidson@apple.com>
1580 Reviewed by Sam Weinig
1582 As part of doing some CachedPage and client cleanup, keep Qt building
1584 * WebCoreSupport/FrameLoaderClientQt.cpp:
1585 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1586 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1587 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1588 * WebCoreSupport/FrameLoaderClientQt.h:
1590 2007-12-12 Sam Weinig <sam@webkit.org>
1594 * WebCoreSupport/FrameLoaderClientQt.cpp:
1595 (WebCore::FrameLoaderClientQt::userAgent):
1597 2007-12-12 Sam Weinig <sam@webkit.org>
1601 * Api/qwebnetworkinterface.cpp:
1602 (QWebNetworkRequestPrivate::init):
1605 (QWebPageContext::QWebPageContext):
1606 * Api/qwebpagehistory.cpp:
1607 (QWebHistoryItem::originalUrl):
1608 (QWebHistoryItem::currentUrl):
1609 * WebCoreSupport/FrameLoaderClientQt.cpp:
1610 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1611 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1612 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1613 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1614 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1615 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1616 (WebCore::FrameLoaderClientQt::createPlugin):
1618 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1622 <rdar://problem/5535636>
1623 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1625 http://bugs.webkit.org/show_bug.cgi?id=13916
1626 JavaScript detects Tab as a character input on a textfield validation
1628 * WebCoreSupport/EditorClientQt.cpp:
1629 (WebCore::EditorClientQt::handleKeyboardEvent):
1630 (WebCore::EditorClientQt::handleInputMethodKeydown):
1631 * WebCoreSupport/EditorClientQt.h:
1632 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1634 2007-12-07 Darin Adler <darin@apple.com>
1638 * Api/qwebhistoryinterface.cpp:
1639 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1640 be updated, since WebCore changed, but this should not be here.
1642 2007-12-04 Darin Adler <darin@apple.com>
1644 Reviewed by Kevin Decker.
1646 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1647 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1649 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1653 * Implement the InspectorClient for the Qt port
1654 * It does not support highlighting of nodes yet
1655 * Use QRC to open the internal page. The important thing is the
1656 '/' in the URL to make WebCore::Document::completeURL behave the
1658 * To make the InspectorClient work we will have to mark qrc as secure.
1661 (QWebPagePrivate::QWebPagePrivate):
1663 * WebCoreSupport/InspectorClientQt.cpp:
1664 (WebCore::InspectorClientWebPage::hideEvent):
1665 (WebCore::InspectorClientQt::InspectorClientQt):
1666 (WebCore::InspectorClientQt::inspectorDestroyed):
1667 (WebCore::InspectorClientQt::createPage):
1668 (WebCore::InspectorClientQt::localizedStringsURL):
1669 (WebCore::InspectorClientQt::showWindow):
1670 (WebCore::InspectorClientQt::closeWindow):
1671 (WebCore::InspectorClientQt::attachWindow):
1672 (WebCore::InspectorClientQt::detachWindow):
1673 * WebCoreSupport/InspectorClientQt.h:
1675 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1677 Rubber stamped by Mark.
1679 Always include config.h at the beginning of the file.
1681 * Api/qwebsettings.cpp:
1683 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1687 * Avoid crashes by making sure everything is layouted before
1688 we start painting. This avoids a crash in Widget::invalidateRect
1689 because QPainter::begin would fail
1690 * The QWebFrame::layout() methods and calls are left untouched because
1691 this would be an API decision.
1694 * Api/qwebframe.cpp:
1695 (QWebFrame::layout):
1697 (QWebPage::paintEvent):
1699 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1703 * SubClass QWebPage to handle hide and close events.
1704 * Forward these events to the InspectorController
1705 * The other options would have been using an eventFilter
1706 on the webpage and making InspectorClient a QObject or
1707 creating a QObject Observer.
1708 * Provide a simple QWebPage* createWindow implementation. This is needed
1709 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1710 of the inspector client.
1713 * WebCoreSupport/InspectorClientQt.cpp:
1714 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1715 (WebCore::InspectorClientWebPage::createWindow):
1716 (WebCore::InspectorClientWebPage::hideEvent):
1717 (WebCore::InspectorClientWebPage::closeEvent):
1718 (WebCore::InspectorClientQt::createPage):
1720 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1724 * Allow adding the Inspect ContextMenuItem to our Menu
1725 * Open the Inspector when Inspect was activated. This requires
1726 that we keep the innerNonSharedNode from the HitTest around. This
1727 forces us to include <wtf/RefPtr.h> in the private header. It is
1728 the first non Qt header but should be okay.
1732 (webActionForContextMenuAction):
1733 (QWebPage::triggerAction):
1735 (QWebPageContext::QWebPageContext):
1739 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1743 * Add the Developer Extras to the WebAttribute and propagate it
1744 to WebCore::Settings. This will enable the Inspect Element menu item
1745 * CodingStyle fixes in QWebSettings
1746 * Enable the Developer Extras in the QtLauncher
1749 * Api/qwebsettings.cpp:
1750 (QWebSettingsPrivate::apply):
1751 * Api/qwebsettings.h:
1752 * QtLauncher/main.cpp:
1755 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1757 Removed unnecessary and possibly incorrect #include from my last
1760 * Api/qwebframe.cpp:
1762 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1764 Qt build fix: Get globalExec() from the right place.
1766 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1770 * Self destruct the clients like the ohter ports do
1773 * WebCoreSupport/ChromeClientQt.cpp:
1774 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1775 * WebCoreSupport/ContextMenuClientQt.cpp:
1776 * WebCoreSupport/DragClientQt.cpp:
1777 * WebCoreSupport/EditorClientQt.cpp:
1778 * WebCoreSupport/InspectorClientQt.cpp:
1780 2007-11-29 Brady Eidson <beidson@apple.com>
1782 Keep it building with new client method
1784 * WebCoreSupport/ChromeClientQt.cpp:
1785 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1786 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1787 * WebCoreSupport/ChromeClientQt.h:
1789 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1791 Reviewed by Adam Treat.
1793 Fix compilation (don't define notImplemented twice)
1795 * Api/qwebnetworkinterface.cpp:
1797 2007-11-22 Simon Hausmann <hausmann@kde.org>
1801 Use Q_SIGNALS/Q_SLOTS in the public API
1806 2007-11-22 Simon Hausmann <hausmann@kde.org>
1810 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1814 2007-11-22 Simon Hausmann <hausmann@kde.org>
1818 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1822 * Api/qwebhistoryinterface.h:
1823 * Api/qwebnetworkinterface.h:
1824 * Api/qwebobjectplugin.h:
1825 * Api/qwebobjectplugin_p.h:
1826 * Api/qwebobjectpluginconnector.h:
1828 * Api/qwebpagehistory.h:
1829 * Api/qwebsettings.h:
1831 2007-11-22 Simon Hausmann <hausmann@kde.org>
1835 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1837 * Api/qwebpagehistory.h:
1839 2007-11-22 George Staikos <staikos@kde.org>
1841 Reviewed by Simon Hausmann <hausmann@kde.org>.
1846 * Api/qwebobjectplugin.cpp:
1847 * Api/qwebobjectplugin.h:
1848 * Api/qwebobjectpluginconnector.cpp:
1849 * Api/qwebobjectpluginconnector.h:
1851 2007-11-22 Simon Hausmann <hausmann@kde.org>
1853 Reviewed by George Staikos <staikos@kde.org>.
1855 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1857 This also fixes compilation with gcc 4.3.
1860 * Api/qwebframe.cpp:
1861 (QWebFramePrivate::init):
1863 2007-11-21 Adam Treat <treat@kde.org>
1867 * Connect up the signal for all subframes too.
1869 * Api/qwebframe.cpp:
1870 (QWebFramePrivate::init):
1872 (QWebPagePrivate::createMainFrame):
1874 2007-11-20 Simon Hausmann <hausmann@kde.org>
1876 Reviewed by Adam Treat <treat@kde.org>.
1878 Remove static linkage of QtWebKit against the ICO image format plugin.
1880 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1883 * Plugins/Plugins.pro:
1885 2007-11-20 Simon Hausmann <hausmann@kde.org>
1887 Reviewed by George Staikos <staikos@kde.org>.
1889 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1894 2007-11-20 George Staikos <staikos@kde.org>
1896 Reviewed by Simon Hausmann <hausmann@kde.org>.
1898 Add an argument to pass the link text in the hovering signal
1903 (QWebPagePrivate::createMainFrame):
1904 (QWebPage::mouseMoveEvent):
1907 2007-11-20 Adam Treat <treat@kde.org>
1909 Reviewed by Simon and George.
1911 * Be quiet and allow suppression of NotImplemented calls at runtime.
1913 * WebCoreSupport/FrameLoaderClientQt.cpp:
1914 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1916 2007-11-19 Adam Treat <treat@kde.org>
1920 * Don't segfault when event pos is outside of the widget.
1923 (QWebPage::mouseMoveEvent):
1924 (QWebPage::mousePressEvent):
1925 (QWebPage::mouseDoubleClickEvent):
1926 (QWebPage::mouseReleaseEvent):
1927 (QWebPage::contextMenuEvent):
1929 2007-11-17 Timothy Hatcher <timothy@apple.com>
1931 Reviewed by Mark Rowe.
1933 Bug 13470: i18n: The Web Inspector is not localizable
1934 http://bugs.webkit.org/show_bug.cgi?id=13470
1936 * WebCoreSupport/InspectorClientQt.cpp:
1937 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1938 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1940 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1942 Build fix: changed Shared to RefCounted.
1944 * WebCoreSupport/ChromeClientQt.h:
1945 * WebCoreSupport/ContextMenuClientQt.cpp:
1946 * WebCoreSupport/ContextMenuClientQt.h:
1947 * WebCoreSupport/EditorClientQt.h:
1948 * WebCoreSupport/FrameLoaderClientQt.h:
1950 2007-11-10 Simon Hausmann <hausmann@kde.org>
1952 Reviewed by Nikolas.
1954 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1958 (QWebPagePrivate::createContextMenu):
1960 2007-11-10 Simon Hausmann <hausmann@kde.org>
1962 Reviewed by Nikolas.
1964 Added support for the Bold/Italic/Underline toggle actions.
1968 (webActionForContextMenuAction):
1969 (QWebPage::triggerAction):
1973 2007-11-10 Simon Hausmann <hausmann@kde.org>
1975 Reviewed by Nikolas.
1977 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1978 to update the enable/checked state correctly.
1982 (QWebPagePrivate::createContextMenu):
1983 (QWebPage::contextMenuEvent):
1986 2007-11-10 Simon Hausmann <hausmann@kde.org>
1988 Reviewed by Nikolas.
1990 Mark the text direction actions as checkable actions.
1996 2007-11-09 Simon Hausmann <hausmann@kde.org>
2000 Implemented the webcore actions for changing the text direction.
2004 (webActionForContextMenuAction):
2005 (QWebPage::triggerAction):
2009 2007-11-09 Simon Hausmann <hausmann@kde.org>
2013 Fix ContextMenu allocation in the Qt port.
2015 Store all items and submenus value based in ContextMenu and ContextMenuItem.
2016 That fixes the crashes when the context menu was populated with sub-menus because
2017 of the use of temporary ContextMenu objects like this:
2019 ContextMenu subMenu(...);
2020 subMenu.appendItem(...);
2021 subMenu.appendItem(...);
2023 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
2027 (QWebPage::contextMenuEvent):
2030 2007-11-09 Simon Hausmann <hausmann@kde.org>
2034 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
2040 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2044 - windowObjectCleared() is no longer const. It needs to setup the
2045 script debugger and cannot be const to do so.
2047 * WebCoreSupport/FrameLoaderClientQt.cpp:
2048 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2049 * WebCoreSupport/FrameLoaderClientQt.h:
2051 2007-11-08 Simon Hausmann <hausmann@kde.org>
2053 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
2055 The buildbots use Qt 4.4 which has the function in question, but Qt
2056 4.3 doesn't have it. Use removeAll() as replacement instead, it
2057 shouldn't make a difference in performance.
2059 * Api/qwebsettings.cpp:
2060 (QWebSettings::~QWebSettings):
2062 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2064 Reviewed by Lars Knoll <lars@trolltech.com>.
2066 Cleanup checking for the request method.
2068 * Check the request method only in QWebNetworkManager::add.
2069 * Currently HEAD, GET, POST are allowed and for everything else
2070 QWebNetworkManager::add returns false.
2071 * Returning false is compatible with ResourceHandle::start and it
2072 can be used in ResourceHandle::loadResourceSynchronously to generate
2076 * Api/qwebnetworkinterface.cpp:
2077 (QWebNetworkManager::add):
2079 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2081 Reviewed by Lars Knoll <lars@trolltech.com>.
2083 Fix bug in the implementation of synchronous network jobs.
2085 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
2086 - if (jobMode == AsynchronousJob) {
2087 + if (jobMode == SynchronousJob) {
2088 add job to synchronous list/hash
2090 * Just applying the above change will lead to crashes because we can finish
2091 jobs before we started them.
2093 * Avoid these issues by saving all work (starting a job, sending data and
2094 finishing it) inside one list. JobWork will contain any
2095 of the above three work types and doWork will just work on this list
2096 (m_pendingWork). As foreach takes a copy of the list calling started, data
2097 and finished will not add new work and we gurantee that if we have JobStarted
2098 it will be in the list before JobData and JobFinished.
2100 * Observation: We might just kill the code to handle sync jobs.
2103 * Api/qwebnetworkinterface.cpp:
2104 (QWebNetworkManager::add):
2105 (QWebNetworkManager::queueStart):
2106 (QWebNetworkManager::queueData):
2107 (QWebNetworkManager::queueFinished):
2108 (QWebNetworkManager::doWork):
2109 * Api/qwebnetworkinterface_p.h:
2110 (QWebNetworkManager::JobWork::):
2111 (QWebNetworkManager::JobWork::JobWork):
2113 2007-11-07 Simon Hausmann <hausmann@kde.org>
2115 Build fix, reviewed by nobody.
2117 Fix the Qt build by setting up WindowFeatures before calling
2118 createWindow on the Chrome. This is similar to openNewWindow in
2119 page/ContextMenuController.cpp
2124 2007-11-07 Simon Hausmann <hausmann@kde.org>
2128 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2131 (QWebPagePrivate::QWebPagePrivate):
2132 * Api/qwebsettings.cpp:
2133 (QWebSettingsPrivate::apply):
2134 * Api/qwebsettings.h:
2136 2007-11-07 Simon Hausmann <hausmann@kde.org>
2140 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
2142 * Api/qwebpagehistory.cpp:
2143 * Api/qwebpagehistory.h:
2145 2007-11-07 Simon Hausmann <hausmann@kde.org>
2149 Removed unimplemented QWebHistoryItem::children() function
2151 * Api/qwebpagehistory.h:
2153 2007-11-07 Simon Hausmann <hausmann@kde.org>
2157 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2159 * Api/qwebsettings.cpp:
2160 (QWebSettings::fontSize):
2161 (QWebSettings::fontFamily):
2162 (QWebSettings::testAttribute):
2164 2007-11-07 Simon Hausmann <hausmann@kde.org>
2168 Added explicit functions for resetting the font sizes and font families.
2170 * Api/qwebsettings.cpp:
2171 (QWebSettings::resetFontSize):
2172 (QWebSettings::resetFontFamily):
2173 * Api/qwebsettings.h:
2175 2007-11-07 Simon Hausmann <hausmann@kde.org>
2179 Combined the font sizes accessors/setters under one setter/getter with an enum.
2181 * Api/qwebsettings.cpp:
2182 (QWebSettingsPrivate::QWebSettingsPrivate):
2183 (QWebSettingsPrivate::apply):
2184 (QWebSettings::QWebSettings):
2185 (QWebSettings::setFontSize):
2186 * Api/qwebsettings.h:
2188 2007-11-07 Simon Hausmann <hausmann@kde.org>
2192 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2196 * WebCoreSupport/FrameLoaderClientQt.cpp:
2197 (WebCore::FrameLoaderClientQt::userAgent):
2199 2007-11-07 Simon Hausmann <hausmann@kde.org>
2203 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2206 (QWebPagePrivate::_q_webActionTriggered):
2207 (QWebPage::keyPressEvent):
2210 2007-11-07 Simon Hausmann <hausmann@kde.org>
2214 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2218 * WebCoreSupport/ChromeClientQt.cpp:
2219 (WebCore::ChromeClientQt::setWindowRect):
2221 2007-11-07 Simon Hausmann <hausmann@kde.org>
2225 Renamed QWebPage::webAction() to QWebPage::action()
2228 (QWebPagePrivate::createContextMenu):
2230 * QtLauncher/main.cpp:
2231 (MainWindow::MainWindow):
2233 2007-11-07 Simon Hausmann <hausmann@kde.org>
2237 Removed a bunch of slots/functions that are now available through the new actions API.
2242 2007-11-07 Simon Hausmann <hausmann@kde.org>
2246 Added some more comments to the API after another round of API review with Lars.
2250 2007-11-07 Simon Hausmann <hausmann@kde.org>
2254 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2256 The currently selected text is a property of the page as a whole.
2258 * Api/qwebframe.cpp:
2261 (QWebPage::selectedText):
2264 2007-11-07 Simon Hausmann <hausmann@kde.org>
2268 Implemented support for settings propagation.
2270 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2272 * Api/qwebsettings.cpp:
2273 (QWebSettingsPrivate::QWebSettingsPrivate):
2274 (QWebSettingsPrivate::apply):
2275 (QWebSettings::QWebSettings):
2276 (QWebSettings::~QWebSettings):
2277 (QWebSettings::setFontFamily):
2278 * Api/qwebsettings.h:
2280 2007-11-07 Simon Hausmann <hausmann@kde.org>
2284 Reworked the QWebSettings API.
2285 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2288 (QWebPagePrivate::QWebPagePrivate):
2289 (QWebPagePrivate::~QWebPagePrivate):
2290 (QWebPage::QWebPage):
2293 * Api/qwebsettings.cpp:
2294 (QWebSettingsPrivate::QWebSettingsPrivate):
2295 (QWebSettingsPrivate::apply):
2296 (QWebSettings::defaultSettings):
2297 (QWebSettings::QWebSettings):
2298 (QWebSettings::setMinimumFontSize):
2299 (QWebSettings::setMinimumLogicalFontSize):
2300 (QWebSettings::setDefaultFontSize):
2301 (QWebSettings::setDefaultFixedFontSize):
2302 (QWebSettings::setUserStyleSheetLocation):
2303 (QWebSettings::setFontFamily):
2304 (QWebSettings::fontFamily):
2305 (QWebSettings::setAttribute):
2306 * Api/qwebsettings.h:
2307 * QtLauncher/main.cpp:
2310 2007-11-07 Simon Hausmann <hausmann@kde.org>
2314 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2316 * Api/qwebsettings.cpp:
2317 (QWebSettings::setWebGraphic):
2318 * Api/qwebsettings.h:
2320 2007-11-07 Simon Hausmann <hausmann@kde.org>
2324 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2326 * Api/qwebsettings.cpp:
2328 2007-11-07 Simon Hausmann <hausmann@kde.org>
2332 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2334 * Api/qwebsettings.cpp:
2335 * Api/qwebsettings.h:
2337 2007-11-07 Simon Hausmann <hausmann@kde.org>
2341 Changed the webAction() accessor to not be a slot but just a public function.
2345 2007-11-07 Simon Hausmann <hausmann@kde.org>
2349 Implemented createWindow() in QtLauncher.
2351 * QtLauncher/main.cpp:
2353 (MainWindow::MainWindow):
2354 (WebPage::createWindow):
2356 2007-11-07 Simon Hausmann <hausmann@kde.org>
2360 Implemented opening links in new windows
2365 (QWebPage::webActionTriggered):
2367 2007-11-07 Simon Hausmann <hausmann@kde.org>
2371 Added and implemented the "OpenLink" action.
2374 (webActionForContextMenuAction):
2375 (QWebPage::webActionTriggered):
2376 (QWebPage::webAction):
2379 2007-11-07 Simon Hausmann <hausmann@kde.org>
2383 Adjust the state of the reload action correctly.
2386 (QWebPagePrivate::updateAction):
2387 (QWebPagePrivate::updateNavigationActions):
2389 2007-11-07 Simon Hausmann <hausmann@kde.org>
2393 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2396 (QWebPagePrivate::updateAction):
2397 (QWebPage::webAction):
2398 (QWebPage::undoStack):
2401 2007-11-07 Simon Hausmann <hausmann@kde.org>
2405 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2407 * QtLauncher/main.cpp:
2408 (MainWindow::MainWindow):
2410 2007-11-07 Simon Hausmann <hausmann@kde.org>
2414 Update the editor actions when the selection changes.
2417 (QWebPagePrivate::updateAction):
2418 (QWebPagePrivate::updateEditorActions):
2420 * WebCoreSupport/EditorClientQt.cpp:
2421 (WebCore::EditorClientQt::respondToChangedSelection):
2423 2007-11-07 Simon Hausmann <hausmann@kde.org>
2427 Added cut/copy/paste actions to the toolbar of QtLauncher
2429 * QtLauncher/main.cpp:
2430 (MainWindow::MainWindow):
2432 2007-11-07 Simon Hausmann <hausmann@kde.org>
2436 Started working on keeping the state of the navigation actions up-to-date.
2439 (QWebPagePrivate::updateAction):
2440 (QWebPagePrivate::updateNavigationActions):
2441 (QWebPage::webAction):
2443 * WebCoreSupport/FrameLoaderClientQt.cpp:
2444 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2445 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2446 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2447 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2448 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2450 2007-11-07 Simon Hausmann <hausmann@kde.org>
2454 Use the navigational web actions in the toolbar
2456 * QtLauncher/main.cpp:
2457 (MainWindow::MainWindow):
2459 2007-11-07 Simon Hausmann <hausmann@kde.org>
2463 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2464 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2467 (QWebPagePrivate::QWebPagePrivate):
2468 (webActionForContextMenuAction):
2469 (QWebPagePrivate::createContextMenu):
2470 (QWebPagePrivate::_q_webActionTriggered):
2471 (QWebPage::webActionTriggered):
2472 (QWebPage::webAction):
2473 (QWebPage::contextMenuEvent):
2474 (QWebPageContext::QWebPageContext):
2475 (QWebPageContext::operator=):
2476 (QWebPageContext::~QWebPageContext):
2477 (QWebPageContext::pos):
2478 (QWebPageContext::text):
2479 (QWebPageContext::linkUrl):
2480 (QWebPageContext::imageUrl):
2481 (QWebPageContext::image):
2482 (QWebPageContext::targetFrame):
2486 2007-11-07 Simon Hausmann <hausmann@kde.org>
2490 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2493 (QWebPage::webActionTriggered):
2494 (QWebPage::keyPressEvent):
2497 2007-11-07 Simon Hausmann <hausmann@kde.org>
2501 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2502 convenience methods such as cut()/copy()/paste().
2506 (QWebPage::webActionTriggered):
2511 2007-11-07 Simon Hausmann <hausmann@kde.org>
2515 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2516 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2517 in ContextMenu::populate().
2518 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2519 out of it. That menu is currently not functional anymore though.
2522 (QWebPagePrivate::createContextMenu):
2523 (QWebPage::contextMenuEvent):
2526 2007-11-07 Simon Hausmann <hausmann@kde.org>
2530 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2531 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2532 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2536 (QWebPage::contextMenuEvent):
2537 * WebCoreSupport/ContextMenuClientQt.cpp:
2538 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2540 2007-11-07 Simon Hausmann <hausmann@kde.org>
2544 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2545 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2548 (QWebPage::mousePressEvent):
2549 (QWebPage::contextMenuEvent):
2552 2007-11-07 Simon Hausmann <hausmann@kde.org>
2556 Turned onLoadProgressChanged into a real private slot.
2559 (QWebPage::QWebPage):
2563 2007-11-07 Simon Hausmann <hausmann@kde.org>
2567 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2570 (QWebPagePrivate::QWebPagePrivate):
2573 * Api/qwebpagehistory.cpp:
2574 (QWebPageHistory::QWebPageHistory):
2575 * Api/qwebpagehistory.h:
2577 2007-11-07 Lars Knoll <lars@trolltech.com>
2581 comments on API changes that we'd like to do.
2585 2007-11-07 Simon Hausmann <hausmann@kde.org>
2587 Reviewed by Lars Knoll <lars@trolltech.com>.
2589 Add a QWebPage::frameCreated() signal and fix DRT
2591 The removal of createFrame in QWebPage broke the re-implementation
2592 in DumpRenderTree. Instead emit a frameCreated() signal and
2593 connect to it in DumpRenderTree.
2597 (QWebPagePrivate::createMainFrame):
2599 * WebCoreSupport/FrameLoaderClientQt.cpp:
2600 (WebCore::FrameLoaderClientQt::createFrame):
2602 2007-11-07 Lars Knoll <lars@trolltech.com>
2606 Remove QWebPage::createFrame()
2608 now that QWebFrame doesn't have virtual methods anymore, there
2609 is no need for a createFrame() factory method in QWebpage.
2612 (QWebPagePrivate::createMainFrame):
2614 * WebCoreSupport/FrameLoaderClientQt.cpp:
2615 (WebCore::FrameLoaderClientQt::createFrame):
2617 2007-11-07 Simon Hausmann <hausmann@kde.org>
2619 Reviewed by Lars Knoll <lars@trolltech.com>.
2621 Moved all the event handlers from QWebFrame into QWebPage.
2623 This cleans up the public API and allows us to remove the
2624 HackWebFrame hack in DumpRenderTree.
2627 * Api/qwebframe.cpp:
2630 * Api/qwebframe_p.h:
2632 (QWebPagePrivate::frameAt):
2633 (QWebPage::mouseMoveEvent):
2634 (QWebPage::mousePressEvent):
2635 (QWebPage::mouseDoubleClickEvent):
2636 (QWebPage::mouseReleaseEvent):
2637 (QWebPage::wheelEvent):
2640 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2642 Reviewed by Lars Knoll <lars@trolltech.com>.
2644 Use correct UserAgent string.
2646 * Only have one User Agent String and this place is QWebPage
2647 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2648 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2649 * ResourceRequest is != 0 when getting called from WebCore, we
2650 will only do requests when coming from WebCore and then we can
2651 use the User-Agent set with the help of the FrameLoaderClient
2652 * We might want to change QWebNetworkRequest a bit
2655 * Api/qwebnetworkinterface.cpp:
2656 (QWebNetworkRequestPrivate::init):
2658 2007-11-07 Lars Knoll <lars@trolltech.com>
2662 remove two notImplemented() warnings, as I believe we don't
2663 have to implement these methods. Add some (commented out)
2664 debug code in one place.
2666 * WebCoreSupport/EditorClientQt.cpp:
2667 (WebCore::EditorClientQt::respondToChangedSelection):
2668 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2670 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2672 Reviewed by Darin Adler.
2674 * WebCoreSupport/ChromeClientQt.cpp:
2675 (WebCore::ChromeClientQt::createWindow):
2676 * WebCoreSupport/ChromeClientQt.h:
2677 Revised to use new WebCore ChromeClient createWindow API.
2679 2007-10-31 Lars Knoll <lars@trolltech.com>
2683 fix most of the issues I found with Clipboard and DnD.
2686 (QWebPage::dragLeaveEvent):
2688 2007-10-31 Lars Knoll <lars@trolltech.com>
2692 QDrag objects need to be created on the heap.
2694 * WebCoreSupport/DragClientQt.cpp:
2695 (WebCore::DragClientQt::startDrag):
2697 2007-10-31 Lars Knoll <lars@trolltech.com>
2701 a dragLeave event is not the same as cancelling a drag.
2705 2007-10-26 Mark Rowe <mrowe@apple.com>
2707 Build fix. Add missing #include of Platform.h.
2709 * Api/qwebhistoryinterface.cpp:
2711 2007-10-25 Holger Freyther <zecke@selfish.org>
2713 Reviewed by Simon Hausmann <hausmann@kde.org>.
2715 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2716 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2717 * This is causing some regressions...
2720 * Api/qwebnetworkinterface.cpp:
2721 (QWebNetworkManager::started):
2722 (QWebNetworkInterface::addJob):
2724 2007-10-25 Holger Freyther <zecke@selfish.org>
2726 Reviewed by Simon Hausmann <hausmann@kde.org>.
2728 * 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.
2729 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2732 * Api/qwebnetworkinterface.cpp:
2733 (QWebNetworkManager::started):
2735 2007-10-25 Holger Freyther <zecke@selfish.org>
2737 Reviewed by Simon Hausmann <hausmann@kde.org>.
2739 * 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.
2740 * Use the error message from Qt. It might or might not be translated.
2743 * Api/qwebnetworkinterface.cpp:
2744 (QWebNetworkJob::errorString):
2745 (QWebNetworkJob::setErrorString):
2746 (QWebNetworkManager::finished):
2747 (QWebNetworkManager::doWork):
2748 (WebCoreHttp::onRequestFinished):
2749 * Api/qwebnetworkinterface.h:
2750 * Api/qwebnetworkinterface_p.h:
2752 2007-10-25 Holger Freyther <zecke@selfish.org>
2754 Reviewed by Simon Hausmann <hausmann@kde.org>.
2756 * 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.
2757 * 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.
2760 * Api/qwebnetworkinterface.cpp:
2761 (QWebNetworkManager::doWork):
2763 2007-10-25 Holger Freyther <zecke@selfish.org>
2765 Reviewed by Simon Hausmann <hausmann@kde.org>.
2767 * No need to initialize values in the QWebNetworkJob c'tor
2768 * 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.
2771 * Api/qwebnetworkinterface.cpp:
2772 (QWebNetworkJob::status):
2773 (QWebNetworkJob::setStatus):
2774 (QWebNetworkManager::started):
2775 (QWebNetworkManager::data):
2776 (QWebNetworkManager::finished):
2777 * Api/qwebnetworkinterface.h:
2778 * Api/qwebnetworkinterface_p.h:
2779 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2781 2007-10-25 Holger Freyther <zecke@selfish.org>
2783 Reviewed by Simon Hausmann <hausmann@kde.org>.
2785 * Consistency: Always name the jobs job.
2788 * Api/qwebnetworkinterface.cpp:
2789 (WebCoreHttp::onReadyRead):
2790 (WebCoreHttp::onRequestFinished):
2791 (WebCoreHttp::onSslErrors):
2792 (WebCoreHttp::onAuthenticationRequired):
2793 (WebCoreHttp::onProxyAuthenticationRequired):
2795 2007-10-25 Holger Freyther <zecke@selfish.org>
2797 Reviewed by Simon Hausmann <hausmann@kde.org>.
2799 * 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.
2800 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2803 * Api/qwebnetworkinterface.cpp:
2804 (QWebNetworkJob::~QWebNetworkJob):
2805 (QWebNetworkManager::QWebNetworkManager):
2806 (QWebNetworkManager::self):
2807 (QWebNetworkManager::add):
2808 (QWebNetworkManager::started):
2809 (QWebNetworkManager::finished):
2810 (QWebNetworkInterfacePrivate::sendFileData):
2811 (QWebNetworkInterfacePrivate::parseDataUrl):
2812 (QWebNetworkManager::queueStart):
2813 (QWebNetworkManager::queueData):
2814 (QWebNetworkManager::queueFinished):
2815 (QWebNetworkManager::doScheduleWork):
2816 (QWebNetworkManager::doWork):
2817 (gCleanupInterface):
2818 (QWebNetworkInterface::setDefaultInterface):
2819 (QWebNetworkInterface::defaultInterface):
2820 (QWebNetworkInterface::QWebNetworkInterface):
2821 (QWebNetworkInterface::started):
2822 (QWebNetworkInterface::data):
2823 (QWebNetworkInterface::finished):
2824 (WebCoreHttp::scheduleNextRequest):
2825 (WebCoreHttp::onResponseHeaderReceived):
2826 (WebCoreHttp::onReadyRead):
2827 (WebCoreHttp::onRequestFinished):
2828 (WebCoreHttp::cancel):
2829 * Api/qwebnetworkinterface.h:
2830 * Api/qwebnetworkinterface_p.h:
2831 (QWebNetworkManager::):
2832 (QWebNetworkManager::JobData::JobData):
2833 (QWebNetworkManager::JobFinished::JobFinished):
2835 2007-10-25 Holger Freyther <zecke@selfish.org>
2837 Reviewed by Simon Hausmann <hausmann@kde.org>.
2839 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2840 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2841 * We pass the char-decoding.html test now
2844 * Api/qwebnetworkinterface.cpp:
2845 (decodePercentEncoding):
2846 (QWebNetworkInterfacePrivate::parseDataUrl):
2848 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2850 Reviewed by Lars Knoll <lars@trolltech.com>.
2852 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2855 * WebCoreSupport/EditorClientQt.cpp:
2856 (WebCore::EditorClientQt::handleKeypress):
2858 2007-10-24 Lars Knoll <lars@trolltech.com>
2862 remove some notImplemented() warnings.
2864 * WebCoreSupport/EditorClientQt.cpp:
2865 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2866 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2867 (WebCore::EditorClientQt::respondToChangedSelection):
2869 2007-10-24 Lars Knoll <lars@trolltech.com>
2873 allow paste from DOM so we pass more test cases.
2876 (QWebPage::setSettings):
2878 2007-10-24 Lars Knoll <lars@trolltech.com>
2882 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2885 (QWebPage::keyPressEvent):
2886 (QWebPage::keyReleaseEvent):
2888 2007-10-24 Lars Knoll <lars@trolltech.com>
2892 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2894 * WebCoreSupport/EditorClientQt.cpp:
2895 (qt_dump_editing_callbacks):
2898 2007-10-24 Lars Knoll <lars@trolltech.com>
2902 implemented support for most editing shortcuts to make contentEditable usable.
2905 (QWebPage::keyPressEvent):
2907 2007-10-24 Lars Knoll <lars@trolltech.com>
2911 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2914 (QWebPage::focusInEvent):
2916 2007-10-24 Lars Knoll <lars@trolltech.com>
2920 Implement support for testing editing.
2922 * WebCoreSupport/EditorClientQt.cpp:
2923 (qt_dump_editing_callbacks):
2924 (qt_dump_set_accepts_editing):
2927 (WebCore::EditorClientQt::shouldDeleteRange):
2928 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2929 (WebCore::EditorClientQt::shouldBeginEditing):
2930 (WebCore::EditorClientQt::shouldEndEditing):
2931 (WebCore::EditorClientQt::shouldInsertText):
2932 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2933 (WebCore::EditorClientQt::shouldApplyStyle):
2934 (WebCore::EditorClientQt::didBeginEditing):
2935 (WebCore::EditorClientQt::respondToChangedContents):
2936 (WebCore::EditorClientQt::respondToChangedSelection):
2937 (WebCore::EditorClientQt::didEndEditing):
2938 (WebCore::EditorClientQt::shouldInsertNode):
2940 2007-10-19 Alp Toker <alp@atoker.com>
2944 GTK+ build fix enabling the new local database storage feature.
2945 There is also a prospective Qt build fix.
2947 * WebCoreSupport/ChromeClientQt.cpp:
2948 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2949 * WebCoreSupport/ChromeClientQt.h:
2951 2007-10-19 Simon Hausmann <hausmann@kde.org>
2953 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2954 that config.h is included before wtf/MathExtras. The former defines
2955 the MSVC defines for rand_s.
2957 * WebCoreSupport/FrameLoaderClientQt.cpp:
2959 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2963 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2965 * Api/qwebframe.cpp:
2968 2007-10-10 Alice Liu <alice.liu@apple.com>
2970 Reviewed by Geoff Garen.
2972 changes to keep the build from breaking
2974 * WebCoreSupport/FrameLoaderClientQt.cpp:
2975 (WebCore::FrameLoaderClientQt::createFrame):
2976 * WebCoreSupport/FrameLoaderClientQt.h:
2978 2007-10-09 Lars Knoll <lars@trolltech.com>
2982 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2985 (QWebPage::setSettings):
2987 2007-10-09 Lars Knoll <lars@trolltech.com>
2991 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2993 * Api/qwebnetworkinterface.cpp:
2994 (QWebNetworkManager::add):
2995 (QWebNetworkManager::cancel):
2996 (QWebNetworkManager::started):
2997 (QWebNetworkManager::data):
2998 (QWebNetworkInterfacePrivate::parseDataUrl):
3000 2007-10-09 Lars Knoll <lars@trolltech.com>
3004 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.
3007 (QWebPagePrivate::createMainFrame):
3008 (QWebPage::createFrame):
3009 * WebCoreSupport/FrameLoaderClientQt.cpp:
3010 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3011 * WebCoreSupport/FrameLoaderClientQt.h:
3013 2007-10-09 Lars Knoll <lars@trolltech.com>
3017 add a clear() method to QWebPageHistory.
3019 * Api/qwebpagehistory.cpp:
3020 (QWebPageHistory::clear):
3021 (QWebPageHistory::itemAtIndex):
3022 * Api/qwebpagehistory.h:
3024 2007-10-05 Lars Knoll <lars@trolltech.com>
3026 add proper error messages to the FrameLoaderClient.
3027 Implement ChromeClientQt::closeWindowSoon and
3028 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
3029 Some fixes in DRT to make it work correctly with multiple windows.
3034 * Api/qwebnetworkinterface.cpp:
3035 (QWebNetworkManager::cancel):
3036 (QWebNetworkInterface::addJob):
3037 * WebCoreSupport/ChromeClientQt.cpp:
3038 (WebCore::ChromeClientQt::closeWindowSoon):
3039 * WebCoreSupport/FrameLoaderClientQt.cpp:
3040 (WebCore::FrameLoaderClientQt::cancelledError):
3042 (WebCore::FrameLoaderClientQt::blockedError):
3043 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3044 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3045 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3046 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3048 2007-10-03 Lars Knoll <lars@trolltech.com>
3050 Signed off by Olliej.
3052 move WebKitQt to WebKit/qt for consistency with the other ports.
3054 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
3055 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
3056 (QCookieJarPrivate::QCookieJarPrivate):
3058 (QCookieJar::QCookieJar):
3059 (QCookieJar::~QCookieJar):
3060 (QCookieJar::setCookies):
3061 (QCookieJar::cookies):
3062 (QCookieJar::isEnabled):
3063 (QCookieJar::setEnabled):
3065 (QCookieJar::setCookieJar):
3066 (QCookieJar::cookieJar):
3067 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
3068 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
3069 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
3070 (QWebFramePrivate::init):
3071 (QWebFramePrivate::parentFrame):
3072 (QWebFramePrivate::horizontalScrollBar):
3073 (QWebFramePrivate::verticalScrollBar):
3074 (QWebFrame::QWebFrame):
3075 (QWebFrame::~QWebFrame):
3076 (QWebFrame::addToJSWindowObject):
3077 (QWebFrame::markup):
3078 (QWebFrame::innerText):
3079 (QWebFrame::renderTreeDump):
3083 (QWebFrame::selectedText):
3084 (QWebFrame::childFrames):
3085 (QWebFrame::verticalScrollBarPolicy):
3086 (QWebFrame::setVerticalScrollBarPolicy):
3087 (QWebFrame::horizontalScrollBarPolicy):
3088 (QWebFrame::setHorizontalScrollBarPolicy):
3089 (QWebFrame::render):
3090 (QWebFrame::layout):
3092 (QWebFrame::geometry):
3093 (QWebFrame::evaluateJavaScript):
3094 (QWebFrame::mouseMoveEvent):
3095 (QWebFrame::mousePressEvent):
3096 (QWebFrame::mouseDoubleClickEvent):
3097 (QWebFrame::mouseReleaseEvent):
3098 (QWebFrame::wheelEvent):
3099 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
3100 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
3101 (QWebFramePrivate::QWebFramePrivate):
3102 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
3103 (WebCore::historyContains):
3104 (gCleanupInterface):
3105 (QWebHistoryInterface::setDefaultInterface):
3106 (QWebHistoryInterface::defaultInterface):
3107 (QWebHistoryInterface::QWebHistoryInterface):
3108 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
3109 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
3110 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
3113 (QWebNetworkRequestPrivate::init):
3114 (QWebNetworkRequestPrivate::setURL):
3115 (QWebNetworkRequest::QWebNetworkRequest):
3116 (QWebNetworkRequest::operator=):
3117 (QWebNetworkRequest::~QWebNetworkRequest):
3118 (QWebNetworkRequest::url):
3119 (QWebNetworkRequest::setUrl):
3120 (QWebNetworkRequest::httpHeader):
3121 (QWebNetworkRequest::setHttpHeader):
3122 (QWebNetworkRequest::httpHeaderField):
3123 (QWebNetworkRequest::setHttpHeaderField):
3124 (QWebNetworkRequest::postData):
3125 (QWebNetworkRequest::setPostData):
3126 (QWebNetworkJob::QWebNetworkJob):
3127 (QWebNetworkJob::~QWebNetworkJob):
3128 (QWebNetworkJob::url):
3129 (QWebNetworkJob::postData):
3130 (QWebNetworkJob::httpHeader):
3131 (QWebNetworkJob::request):
3132 (QWebNetworkJob::response):
3133 (QWebNetworkJob::setResponse):
3134 (QWebNetworkJob::cancelled):
3135 (QWebNetworkJob::ref):
3136 (QWebNetworkJob::deref):
3137 (QWebNetworkJob::networkInterface):
3138 (QWebNetworkJob::frame):
3139 (QWebNetworkManager::QWebNetworkManager):
3140 (QWebNetworkManager::self):
3141 (QWebNetworkManager::add):
3142 (QWebNetworkManager::cancel):
3143 (QWebNetworkManager::started):
3144 (QWebNetworkManager::data):
3145 (QWebNetworkManager::finished):
3146 (QWebNetworkManager::addHttpJob):
3147 (QWebNetworkManager::cancelHttpJob):
3148 (QWebNetworkManager::httpConnectionClosed):
3149 (QWebNetworkInterfacePrivate::sendFileData):
3150 (QWebNetworkInterfacePrivate::parseDataUrl):
3151 (gCleanupInterface):
3152 (QWebNetworkInterface::setDefaultInterface):
3153 (QWebNetworkInterface::defaultInterface):
3154 (QWebNetworkInterface::QWebNetworkInterface):
3155 (QWebNetworkInterface::~QWebNetworkInterface):
3156 (QWebNetworkInterface::addJob):
3157 (QWebNetworkInterface::cancelJob):
3158 (WebCoreHttp::WebCoreHttp):
3159 (WebCoreHttp::~WebCoreHttp):
3160 (WebCoreHttp::request):
3161 (WebCoreHttp::scheduleNextRequest):
3162 (WebCoreHttp::getConnection):
3163 (WebCoreHttp::onResponseHeaderReceived):
3164 (WebCoreHttp::onReadyRead):
3165 (WebCoreHttp::onRequestFinished):
3166 (WebCoreHttp::onDone):
3167 (WebCoreHttp::onStateChanged):
3168 (WebCoreHttp::cancel):
3169 (WebCoreHttp::onSslErrors):
3170 (WebCoreHttp::onAuthenticationRequired):
3171 (WebCoreHttp::onProxyAuthenticationRequired):
3172 (HostInfo::HostInfo):
3173 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3174 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3175 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3176 (WebCore::HostInfo::HostInfo):
3177 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3178 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3179 (QWebFactoryLoader::QWebFactoryLoader):
3180 (QWebFactoryLoader::self):
3181 (QWebFactoryLoader::descriptionForName):
3182 (QWebFactoryLoader::mimetypesForName):
3183 (QWebFactoryLoader::mimeTypeForExtension):
3184 (QWebFactoryLoader::extensions):
3185 (QWebFactoryLoader::nameForMimetype):
3186 (QWebFactoryLoader::create):
3187 (QWebObjectPlugin::QWebObjectPlugin):
3188 (QWebObjectPlugin::~QWebObjectPlugin):
3189 (QWebObjectPlugin::descriptionForKey):
3190 (QWebObjectPlugin::mimetypesForKey):
3191 (QWebObjectPlugin::extensionsForMimetype):
3192 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3193 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3194 (QWebFactoryLoader::names):
3195 (QWebFactoryLoader::supportsMimeType):
3196 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3197 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3198 (QWebObjectPluginConnector::frame):
3199 (QWebObjectPluginConnector::pluginParentWidget):
3200 (QWebObjectPluginConnector::requestUrl):
3201 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3202 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3203 (QWebPagePrivate::QWebPagePrivate):
3204 (QWebPagePrivate::~QWebPagePrivate):
3205 (QWebPagePrivate::navigationRequested):
3206 (QWebPagePrivate::createMainFrame):
3207 (QWebPage::QWebPage):
3208 (QWebPage::~QWebPage):
3209 (QWebPage::createFrame):
3213 (QWebPage::mainFrame):
3214 (QWebPage::sizeHint):
3216 (QWebPage::history):
3218 (QWebPage::goForward):
3219 (QWebPage::goToHistoryItem):
3220 (QWebPage::javaScriptConsoleMessage):
3221 (QWebPage::javaScriptAlert):
3222 (QWebPage::javaScriptConfirm):
3223 (QWebPage::javaScriptPrompt):
3224 (QWebPage::createWindow):
3225 (QWebPage::createModalDialog):
3226 (QWebPage::createPlugin):
3227 (QWebPage::navigationRequested):
3228 (QWebPage::setWindowGeometry):
3230 (QWebPage::canCopy):
3231 (QWebPage::canPaste):
3235 (QWebPage::isModified):
3236 (QWebPage::undoStack):
3237 (dropActionToDragOp):
3238 (dragOpToDropAction):
3239 (QWebPage::resizeEvent):
3240 (QWebPage::paintEvent):
3241 (QWebPage::mouseMoveEvent):
3242 (QWebPage::mousePressEvent):
3243 (QWebPage::mouseDoubleClickEvent):
3244 (QWebPage::mouseReleaseEvent):
3245 (QWebPage::wheelEvent):
3246 (QWebPage::keyPressEvent):
3247 (QWebPage::keyReleaseEvent):
3248 (QWebPage::focusInEvent):
3249 (QWebPage::focusOutEvent):
3250 (QWebPage::focusNextPrevChild):
3251 (QWebPage::dragEnterEvent):
3252 (QWebPage::dragLeaveEvent):
3253 (QWebPage::dragMoveEvent):
3254 (QWebPage::dropEvent):
3255 (QWebPage::setNetworkInterface):
3256 (QWebPage::networkInterface):
3258 (QWebPage::setSettings):
3259 (QWebPage::settings):
3260 (QWebPage::chooseFile):
3261 (QWebPage::setNetworkProxy):
3262 (QWebPage::networkProxy):
3263 (QWebPage::userAgentStringForUrl):
3264 (QWebPage::onLoadProgressChanged):
3265 (QWebPage::totalBytes):
3266 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3267 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3268 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3269 (QWebHistoryItem::QWebHistoryItem):
3270 (QWebHistoryItem::operator=):
3271 (QWebHistoryItem::~QWebHistoryItem):
3272 (QWebHistoryItem::originalUrl):
3273 (QWebHistoryItem::currentUrl):
3274 (QWebHistoryItem::title):
3275 (QWebHistoryItem::lastVisited):
3276 (QWebHistoryItem::icon):
3277 (QWebPageHistory::QWebPageHistory):
3278 (QWebPageHistory::itemAtIndex):
3279 (QWebPageHistory::operator=):
3280 (QWebPageHistory::~QWebPageHistory):
3281 (QWebPageHistory::items):
3282 (QWebPageHistory::backItems):
3283 (QWebPageHistory::forwardItems):
3284 (QWebPageHistory::canGoBack):
3285 (QWebPageHistory::canGoForward):
3286 (QWebPageHistory::goBack):
3287 (QWebPageHistory::goForward):
3288 (QWebPageHistory::goToItem):
3289 (QWebPageHistory::backItem):
3290 (QWebPageHistory::currentItem):
3291 (QWebPageHistory::forwardItem):
3292 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3293 (QExplicitlySharedDataPointer::operator*):
3294 (QExplicitlySharedDataPointer::operator->):
3295 (QExplicitlySharedDataPointer::operator T *):
3296 (QExplicitlySharedDataPointer::operator const T *):
3297 (QExplicitlySharedDataPointer::data):
3298 (QExplicitlySharedDataPointer::constData):
3299 (QExplicitlySharedDataPointer::operator==):
3300 (QExplicitlySharedDataPointer::operator!=):
3301 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3302 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3303 (QExplicitlySharedDataPointer::operator=):
3304 (QExplicitlySharedDataPointer::operator!):
3305 (::QExplicitlySharedDataPointer):
3306 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3307 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3308 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3309 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3310 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3311 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3312 (QWebSettingsPrivate::QWebSettingsPrivate):
3313 (QWebSettings::QWebSettings):
3314 (QWebSettings::~QWebSettings):
3315 (QWebSettings::setMinimumFontSize):
3316 (QWebSettings::minimumFontSize):
3317 (QWebSettings::setMinimumLogicalFontSize):
3318 (QWebSettings::minimumLogicalFontSize):
3319 (QWebSettings::setDefaultFontSize):
3320 (QWebSettings::defaultFontSize):
3321 (QWebSettings::setDefaultFixedFontSize):
3322 (QWebSettings::defaultFixedFontSize):
3323 (QWebSettings::setUserStyleSheetLocation):
3324 (QWebSettings::userStyleSheetLocation):
3325 (QWebSettings::setIconDatabaseEnabled):
3326 (QWebSettings::iconDatabaseEnabled):
3327 (QWebSettings::setWebGraphic):
3328 (QWebSettings::webGraphic):
3329 (QWebSettings::operator=):
3330 (QWebSettings::setGlobal):
3331 (QWebSettings::global):
3332 (QWebSettings::setFontFamily):
3333 (QWebSettings::fontFamily):
3334 (QWebSettings::setAttribute):
3335 (QWebSettings::testAttribute):
3336 (loadResourcePixmap):
3337 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3338 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3339 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3340 (IcoHeader::operator >>):
3341 (IcoHeader::BMP_INFOHDR::):
3342 (IcoHeader::operator<<):
3343 (IcoHeader::LessDifference::LessDifference):
3344 (IcoHeader::LessDifference::operator ()):
3345 (IcoHeader::loadFromDIB):
3346 (ICOHandler::ICOHandler):
3347 (ICOHandler::canRead):
3349 (ICOHandler::write):
3352 (ICOPlugin::capabilities):
3353 (ICOPlugin::create):
3354 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3355 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3356 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3357 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3358 (HoverLabel::HoverLabel):
3359 (HoverLabel::setHoverLink):
3360 (HoverLabel::sizeForFont):
3361 (HoverLabel::sizeHint):
3362 (HoverLabel::updateSize):
3363 (HoverLabel::resetAnimation):
3364 (HoverLabel::paintEvent):
3365 (HoverLabel::interpolate):
3366 (ClearButton::ClearButton):
3367 (ClearButton::paintEvent):
3368 (SearchEdit::SearchEdit):
3369 (SearchEdit::~SearchEdit):
3370 (SearchEdit::paintEvent):
3371 (SearchEdit::resizeEvent):
3372 (SearchEdit::moveEvent):
3373 (MainWindow::MainWindow):
3374 (MainWindow::changeLocation):
3375 (MainWindow::loadFinished):
3376 (MainWindow::showLinkHover):
3377 (MainWindow::resizeEvent):
3379 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3380 (WebCore::ChromeClientQt::ChromeClientQt):
3381 (WebCore::ChromeClientQt::~ChromeClientQt):
3382 (WebCore::ChromeClientQt::setWindowRect):
3383 (WebCore::ChromeClientQt::windowRect):
3384 (WebCore::ChromeClientQt::pageRect):
3385 (WebCore::ChromeClientQt::scaleFactor):
3386 (WebCore::ChromeClientQt::focus):
3387 (WebCore::ChromeClientQt::unfocus):
3388 (WebCore::ChromeClientQt::canTakeFocus):
3389 (WebCore::ChromeClientQt::takeFocus):
3390 (WebCore::ChromeClientQt::createWindow):
3391 (WebCore::ChromeClientQt::createModalDialog):
3392 (WebCore::ChromeClientQt::show):
3393 (WebCore::ChromeClientQt::canRunModal):
3394 (WebCore::ChromeClientQt::runModal):
3395 (WebCore::ChromeClientQt::setToolbarsVisible):
3396 (WebCore::ChromeClientQt::toolbarsVisible):
3397 (WebCore::ChromeClientQt::setStatusbarVisible):
3398 (WebCore::ChromeClientQt::statusbarVisible):
3399 (WebCore::ChromeClientQt::setScrollbarsVisible):
3400 (WebCore::ChromeClientQt::scrollbarsVisible):
3401 (WebCore::ChromeClientQt::setMenubarVisible):
3402 (WebCore::ChromeClientQt::menubarVisible):
3403 (WebCore::ChromeClientQt::setResizable):
3404 (WebCore::ChromeClientQt::addMessageToConsole):
3405 (WebCore::ChromeClientQt::chromeDestroyed):
3406 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3407 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3408 (WebCore::ChromeClientQt::closeWindowSoon):
3409 (WebCore::ChromeClientQt::runJavaScriptAlert):
3410 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3411 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3412 (WebCore::ChromeClientQt::setStatusbarText):
3413 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3414 (WebCore::ChromeClientQt::tabsToLinks):
3415 (WebCore::ChromeClientQt::windowResizerRect):
3416 (WebCore::ChromeClientQt::addToDirtyRegion):
3417 (WebCore::ChromeClientQt::scrollBackingStore):
3418 (WebCore::ChromeClientQt::updateBackingStore):
3419 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3420 (WebCore::ChromeClientQt::setToolTip):
3421 (WebCore::ChromeClientQt::print):
3422 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3423 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3424 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3425 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3426 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3427 (WebCore::ContextMenuClientQt::downloadURL):
3428 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3429 (WebCore::ContextMenuClientQt::speak):
3430 (WebCore::ContextMenuClientQt::stopSpeaking):
3431 (WebCore::ContextMenuClientQt::searchWithGoogle):
3432 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3433 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3434 (WebCore::DragClientQt::actionMaskForDrag):
3435 (WebCore::DragClientQt::willPerformDragDestinationAction):
3436 (WebCore::DragClientQt::dragControllerDestroyed):
3437 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3438 (WebCore::DragClientQt::willPerformDragSourceAction):
3439 (WebCore::DragClientQt::startDrag):
3440 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3441 (WebCore::DragClientQt::DragClientQt):
3442 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3443 (EditCommandQt::EditCommandQt):
3444 (EditCommandQt::~EditCommandQt):
3445 (EditCommandQt::redo):
3446 (EditCommandQt::undo):
3447 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3448 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3449 (WebCore::EditorClientQt::shouldDeleteRange):
3450 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3451 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3452 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3453 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3454 (WebCore::EditorClientQt::shouldBeginEditing):
3455 (WebCore::EditorClientQt::shouldEndEditing):
3456 (WebCore::EditorClientQt::shouldInsertText):
3457 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3458 (WebCore::EditorClientQt::shouldApplyStyle):
3459 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3460 (WebCore::EditorClientQt::didBeginEditing):
3461 (WebCore::EditorClientQt::respondToChangedContents):
3462 (WebCore::EditorClientQt::respondToChangedSelection):
3463 (WebCore::EditorClientQt::didEndEditing):
3464 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3465 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3466 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3467 (WebCore::EditorClientQt::isEditable):
3468 (WebCore::EditorClientQt::registerCommandForUndo):
3469 (WebCore::EditorClientQt::registerCommandForRedo):
3470 (WebCore::EditorClientQt::clearUndoRedoOperations):
3471 (WebCore::EditorClientQt::canUndo):
3472 (WebCore::EditorClientQt::canRedo):
3473 (WebCore::EditorClientQt::undo):
3474 (WebCore::EditorClientQt::redo):
3475 (WebCore::EditorClientQt::shouldInsertNode):
3476 (WebCore::EditorClientQt::pageDestroyed):
3477 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3478 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3479 (WebCore::EditorClientQt::toggleGrammarChecking):
3480 (WebCore::EditorClientQt::handleKeypress):
3481 (WebCore::EditorClientQt::handleInputMethodKeypress):
3482 (WebCore::EditorClientQt::EditorClientQt):
3483 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3484 (WebCore::EditorClientQt::textFieldDidEndEditing):
3485 (WebCore::EditorClientQt::textDidChangeInTextField):
3486 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3487 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3488 (WebCore::EditorClientQt::textDidChangeInTextArea):
3489 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3490 (WebCore::EditorClientQt::learnWord):
3491 (WebCore::EditorClientQt::checkSpellingOfString):
3492 (WebCore::EditorClientQt::checkGrammarOfString):
3493 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3494 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3495 (WebCore::EditorClientQt::showSpellingUI):
3496 (WebCore::EditorClientQt::spellingUIIsShowing):
3497 (WebCore::EditorClientQt::getGuessesForWord):
3498 (WebCore::EditorClientQt::isEditing):
3499 (WebCore::EditorClientQt::setInputMethodState):
3500 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3501 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3502 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3503 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3504 (WebCore::FrameLoaderClientQt::setFrame):
3505 (WebCore::FrameLoaderClientQt::webFrame):
3506 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3507 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3508 (WebCore::FrameLoaderClientQt::hasWebView):
3509 (WebCore::FrameLoaderClientQt::hasFrameView):
3510 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3511 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3512 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3513 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3514 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3515 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3516 (WebCore::FrameLoaderClientQt::makeDocumentView):
3517 (WebCore::FrameLoaderClientQt::makeRepresentation):
3518 (WebCore::FrameLoaderClientQt::forceLayout):
3519 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3520 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3521 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3522 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3523 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3524 (WebCore::FrameLoaderClientQt::willCloseDocument):
3525 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3526 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3527 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3528 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3529 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3530 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3531 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3532 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3533 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3534 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3535 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3536 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3537 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3538 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3539 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3540 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3541 (WebCore::FrameLoaderClientQt::dispatchShow):
3542 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3543 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3544 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3545 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3546 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3547 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3548 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3549 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3550 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3551 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3552 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3553 (WebCore::FrameLoaderClientQt::willChangeTitle):
3554 (WebCore::FrameLoaderClientQt::didChangeTitle):
3555 (WebCore::FrameLoaderClientQt::finishedLoading):
3556 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3557 (WebCore::FrameLoaderClientQt::setDefersLoading):
3558 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3559 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3560 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3561 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3562 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3563 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3564 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3565 (WebCore::FrameLoaderClientQt::restoreViewState):
3566 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3567 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3568 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3569 (WebCore::FrameLoaderClientQt::didFinishLoad):
3570 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3571 (WebCore::FrameLoaderClientQt::setTitle):
3572 (WebCore::FrameLoaderClientQt::userAgent):
3573 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3574 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3575 (WebCore::FrameLoaderClientQt::canHandleRequest):
3576 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3577 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3578 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3579 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3580 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3581 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3582 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3583 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3584 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3585 (WebCore::FrameLoaderClientQt::canCachePage):
3586 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3587 (WebCore::FrameLoaderClientQt::committedLoad):
3588 (WebCore::FrameLoaderClientQt::cancelledError):
3589 (WebCore::FrameLoaderClientQt::blockedError):
3590 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3591 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3592 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3593 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3594 (WebCore::FrameLoaderClientQt::shouldFallBack):
3595 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3596 (WebCore::FrameLoaderClientQt::download):
3597 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3598 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3599 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3600 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3601 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3602 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3603 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3604 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3605 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3606 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3607 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3608 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3609 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3610 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3611 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3612 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3613 (WebCore::FrameLoaderClientQt::startDownload):
3614 (WebCore::FrameLoaderClientQt::willUseArchive):
3615 (WebCore::FrameLoaderClientQt::createFrame):
3616 (WebCore::FrameLoaderClientQt::objectContentType):
3618 (WebCore::FrameLoaderClientQt::createPlugin):
3619 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3620 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3621 (WebCore::FrameLoaderClientQt::overrideMediaType):
3622 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3623 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3624 (WebCore::InspectorClientQt::inspectorDestroyed):
3625 (WebCore::InspectorClientQt::createPage):
3626 (WebCore::InspectorClientQt::showWindow):
3627 (WebCore::InspectorClientQt::closeWindow):
3628 (WebCore::InspectorClientQt::attachWindow):
3629 (WebCore::InspectorClientQt::detachWindow):
3630 (WebCore::InspectorClientQt::highlight):
3631 (WebCore::InspectorClientQt::hideHighlight):
3632 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3633 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3634 (WebKitFactory::WebKitFactory):
3635 (WebKitFactory::~WebKitFactory):
3636 (WebKitFactory::createPartObject):
3637 (WebKitFactory::instance):
3638 (WebKitFactory::ref):
3639 (WebKitFactory::deref):
3640 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3641 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3642 (WebKitPart::WebKitPart):
3643 (WebKitPart::~WebKitPart):
3644 (WebKitPart::openFile):
3645 (WebKitPart::openUrl):
3646 (WebKitPart::closeUrl):
3647 (WebKitPart::parentPart):
3648 (WebKitPart::frame):
3649 (WebKitPart::initView):
3650 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3651 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3653 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3654 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3655 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3656 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3657 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3658 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3659 (WebKitPartClient::WebKitPartClient):
3660 (WebKitPartClient::~WebKitPartClient):
3661 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3662 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3663 (WebKitPartInterface::WebKitPartInterface):
3664 (WebKitPartInterface::~WebKitPartInterface):
3665 (WebKitPartInterface::url):
3666 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3667 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3669 2007-10-02 Adam Treat <treat@kde.org>
3671 Reviewed by Eric Seidel.
3673 Open the requested url on the newly created window.
3674 Implement createModalDialog and provide new API for this.
3675 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3678 (QWebPage::createModalDialog):
3680 * WebCoreSupport/ChromeClientQt.cpp:
3681 (WebCore::ChromeClientQt::createWindow):
3682 (WebCore::ChromeClientQt::createModalDialog):
3684 2007-10-02 Lars Knoll <lars@trolltech.com>
3688 Add API to retrieve the frame name from QWebFrame.
3689 Implement support for DRT::dumpChildrenAsText.
3691 * Api/qwebframe.cpp: