1 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Attempt to make the m_webFrame null pointer checking consistent. Always check for
6 m_webFrame. It should get set by the QWebFrame with the FramerLoaderClientQt::setFrame
7 call and should stay valid until the destruction of the QWebFrame.
8 * Currently the same checking is not needed for m_frame as it will only set to 0 in
9 FrameLoaderClientQt::frameLoaderDestroyed and should be not 0 because of the setFrame
13 * WebCoreSupport/FrameLoaderClientQt.cpp:
14 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
15 (WebCore::FrameLoaderClientQt::setMainDocumentError):
16 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
17 (WebCore::FrameLoaderClientQt::objectContentType):
18 (WebCore::FrameLoaderClientQt::createPlugin):
20 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
24 * Get the RefCounting of WebCore::Frame right and make sure that both QWebFrame
25 and WebCore::Frame get destroyed if we leave site with subframes and on the
26 end of the application.
27 * Use adoptRef in FrameLoaderClientQt::createFrame to get the refs right for subframes. We
28 do not want to add an extra reference. Without this we are leaking subframes.
29 * Assume that the lifetime of a Frame and FrameLoader are the same, when the Frame is gone
30 we want to destroy the QWebFrame (e.g. on a page with subframes). Add delete m_webFrame
31 in the frameLoaderDestroyed method to do that.
32 * If we happen to delete the QWebFrame before the FrameLoaderClientQt we set m_webFrame to
33 zero in the FrameLoaderClientQt to avoid bad things.
37 (QWebFrame::~QWebFrame):
38 * WebCoreSupport/FrameLoaderClientQt.cpp:
39 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
40 (WebCore::FrameLoaderClientQt::objectContentType):
41 * WebCoreSupport/FrameLoaderClientQt.h:
43 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
47 * Do not save a RefPtr to the frame. The FrameLoaderClient, Frame and
48 QWebFrame should have the same lifetime everything else is a leak
52 (QWebFramePrivate::init):
54 * WebCoreSupport/FrameLoaderClientQt.cpp:
56 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
60 * Do not store the QWebFrame associated with a ScrollView/FrameView
61 in the WebCore::Widget.
62 * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core
63 and QWebFramePrivate::kit function to convert from and to QWebFrame.
67 (QWebFramePrivate::init):
69 (QWebPagePrivate::createMainFrame):
71 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
75 * Do not store the FrameView in the QWebFrame and cope with the situation when
76 a WebCore::Frame has no WebCore::FrameView.
80 (QWebFramePrivate::init):
81 (QWebFramePrivate::horizontalScrollBar):
82 (QWebFramePrivate::verticalScrollBar):
83 (QWebFrame::innerText):
84 (QWebFrame::renderTreeDump):
85 (QWebFrame::setVerticalScrollBarPolicy):
86 (QWebFrame::setHorizontalScrollBarPolicy):
91 (QWebFramePrivate::QWebFramePrivate):
93 (QWebPagePrivate::updateEditorActions):
94 (QWebPagePrivate::mouseMoveEvent):
95 (QWebPagePrivate::mousePressEvent):
96 (QWebPagePrivate::mouseDoubleClickEvent):
97 (QWebPagePrivate::contextMenuEvent):
98 (QWebPagePrivate::wheelEvent):
99 (QWebPage::triggerAction):
100 * WebCoreSupport/FrameLoaderClientQt.cpp:
102 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
106 * Change the order of the methods to match with the FrameLoaderClient.h to ease
107 removing methods in the future.
109 * WebCoreSupport/FrameLoaderClientQt.h:
111 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
115 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
117 * WebCoreSupport/FrameLoaderClientQt.cpp:
118 (WebCore::FrameLoaderClientQt::detachedFromParent4):
119 * WebCoreSupport/FrameLoaderClientQt.h:
121 2008-03-25 Brady Eidson <beidson@apple.com>
125 Remove newly obsolete FrameLoaderClient methods
127 * WebCoreSupport/FrameLoaderClientQt.cpp:
128 * WebCoreSupport/FrameLoaderClientQt.h:
130 2008-03-22 Mark Rowe <mrowe@apple.com>
134 * WebCoreSupport/FrameLoaderClientQt.cpp:
137 2008-03-18 Simon Hausmann <hausmann@webkit.org>
141 Fix the Qt build. Don't return void in non-void functions.
143 * Api/qwebpluginfactory.cpp:
144 (QWebPluginFactory::extension):
146 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
150 Don't use RefPtr in classes you haven't seen the implementation of.
152 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
153 cannot *use* said objects until Foo is defined. This is true even for
154 initialisation with a 0.
156 Seems the HP aCC compiler is more strict here than gcc.
160 2008-03-14 Simon Hausmann <hausmann@webkit.org>
165 (QWebFrame::setHtml):
166 (QWebFrame::setContent):
168 2008-03-13 Simon Hausmann <hausmann@webkit.org>
173 (QWebFrame::addToJSWindowObject):
175 2008-03-12 Simon Hausmann <hausmann@webkit.org>
177 Fix compilation against Qt 4.3
183 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
187 * WebCoreSupport/FrameLoaderClientQt.cpp:
188 (FrameLoaderClientQt::CreatePlugin):
190 2008-03-11 Simon Hausmann <hausmann@webkit.org>
192 Fix the Qt build (silly typo).
194 * QtLauncher/main.cpp:
195 (MainWindow::MainWindow):
197 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
201 Moved obscuring progress bar to the lower right corner.
203 * QtLauncher/main.cpp:
204 (MainWindow::MainWindow):
205 (MainWindow::resizeEvent):
207 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
211 Added reload action and grouped stop and reload actions together.
213 * QtLauncher/main.cpp:
214 (MainWindow::MainWindow):
216 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
220 * Set a Icon on the QAction if we have one.
225 2008-03-11 Simon Hausmann <hausmann@webkit.org>
230 (QWebFrame::addToJSWindowObject):
232 2008-03-07 Simon Hausmann <hausmann@webkit.org>
238 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
240 * Api/qwebnetworkinterface.cpp:
241 (QWebNetworkManager::add):
242 (QWebNetworkManager::cancel):
243 (QWebNetworkManager::started):
244 (QWebNetworkManager::data):
245 (QWebNetworkManager::finished):
246 * Api/qwebnetworkinterface_p.h:
247 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
248 * Api/qwebobjectplugin.cpp: Removed.
249 * Api/qwebobjectplugin.h: Removed.
250 * Api/qwebobjectplugin_p.h: Removed.
251 * Api/qwebobjectpluginconnector.cpp: Removed.
252 * Api/qwebobjectpluginconnector.h: Removed.
254 (QWebPagePrivate::QWebPagePrivate):
255 (QWebPage::setPluginFactory):
256 (QWebPage::pluginFactory):
259 * Api/qwebpluginfactory.cpp: Added.
260 (QWebPluginFactory::QWebPluginFactory):
261 (QWebPluginFactory::~QWebPluginFactory):
262 (QWebPluginFactory::refreshPlugins):
263 (QWebPluginFactory::extension):
264 * Api/qwebpluginfactory.h: Added.
266 * WebCoreSupport/FrameLoaderClientQt.cpp:
267 (WebCore::FrameLoaderClientQt::objectContentType):
268 (WebCore::FrameLoaderClientQt::createPlugin):
270 2008-03-07 Simon Hausmann <hausmann@webkit.org>
276 2008-03-04 Sam Weinig <sam@webkit.org>
278 Reviewed by Mark Rowe.
280 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
284 (QWebFrame::addToJSWindowObject):
286 2008-03-04 Mark Rowe <mrowe@apple.com>
288 Another go at fixing the Qt build.
291 (QWebFrame::addToJSWindowObject):
293 2008-02-24 Darin Adler <darin@apple.com>
297 - remove separate client calls for "standard" and "reload' history
299 * WebCoreSupport/FrameLoaderClientQt.cpp:
300 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
301 * WebCoreSupport/FrameLoaderClientQt.h:
303 2008-02-24 Darin Adler <darin@apple.com>
305 - another try at fixing the build
308 (QWebFrame::load): Replace new FormData with FormData::create.
310 2008-02-22 Sam Weinig <sam@webkit.org>
314 * Api/qwebhistoryinterface.cpp:
316 2008-02-22 Sam Weinig <sam@webkit.org>
318 Rubber-stamped by Adam Roben.
320 Rid the project of the Devil known as DeprecatedString!
322 * Api/qwebhistory.cpp:
323 * Api/qwebhistoryinterface.cpp:
325 2008-02-18 Darin Adler <darin@apple.com>
329 * Api/qwebnetworkinterface.cpp:
330 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
332 2008-01-24 David Boddie <dboddie@trolltech.com>
336 Documentation tidying.
340 * Api/qwebhistoryinterface.cpp:
343 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
347 Text for translations were used wrongly as comments
350 * WebCoreSupport/FrameLoaderClientQt.cpp:
352 (WebCore::FrameLoaderClientQt::cannotShowURLError):
353 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
354 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
355 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
356 (WebCore::FrameLoaderClientQt::shouldFallBack):
358 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
362 * We have a KURL->QUrl conversion on KURL itself, make use of it.
363 * This conversion is supposed to be loss-free
368 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
370 * Rubber stamped by Simon
372 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
373 This was found while working on the page-cache, other ports are not affected.
375 * WebCoreSupport/FrameLoaderClientQt.cpp:
376 (WebCore::FrameLoaderClientQt::createFrame):
378 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
380 Reviewed by Simon Hausmann <hausmann@webkit.org>.
382 Fix Qtopia compilation with QT_NO_TOOLTIP
385 * WebCoreSupport/ChromeClientQt.cpp:
386 (WebCore::ChromeClientQt::print):
388 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
392 Doc: Replaced \code with snippets in the docs
397 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
401 Tweak key presses even to match commonly expected behavior
402 - space key == page down
403 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
404 - Use font height rather then a hard coded "10" for left, right, up, down
405 - Ctrl-Up moves to the top of the page
406 - Ctrl-Down move to the bottom of the page
407 - Backspace == GoBack
408 - Shift-Backspace == GoForward
412 (dropActionToDragOp):
413 (dragOpToDropAction):
414 (QWebPagePrivate::keyPressEvent):
416 2008-01-23 Simon Hausmann <hausmann@webkit.org>
420 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
422 Added two signals to QWebPage to handle downloading of links and handling of
427 (QWebPage::triggerAction):
429 * WebCoreSupport/FrameLoaderClientQt.cpp:
430 (WebCore::FrameLoaderClientQt::download):
431 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
432 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
433 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
434 (WebCore::FrameLoaderClientQt::willUseArchive):
436 2008-01-22 Lars Knoll <lars@trolltech.com>
440 setup a family for cursive and fantasy fonts as well.
443 * Api/qwebsettings.cpp:
444 (QWebSettings::QWebSettings):
446 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
450 Implement ChromeClientQt::setToolTip
451 Implement ChromeClientQt::mouseDidMoveOverElement
456 * WebCoreSupport/ChromeClientQt.cpp:
457 (WebCore::ChromeClientQt::ChromeClientQt):
458 (WebCore::ChromeClientQt::focus):
459 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
460 (WebCore::ChromeClientQt::setToolTip):
461 (WebCore::ChromeClientQt::print):
462 * WebCoreSupport/ChromeClientQt.h:
464 2008-01-21 Darin Adler <darin@apple.com>
466 Reviewed by John Sullivan.
468 - updated for changes to ChromeClient database functions
470 * WebCoreSupport/ChromeClientQt.cpp:
471 (WebCore::ChromeClientQt::exceededDatabaseQuota):
472 * WebCoreSupport/ChromeClientQt.h:
474 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
478 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
481 * Api/qwebhistoryinterface.h:
483 2008-01-21 Adam Treat <treat@kde.org>
487 * Don't leak the d-pointer in QWebSettings.
490 * Api/qwebsettings.cpp:
491 (QWebSettings::~QWebSettings):
493 2008-01-21 Simon Hausmann <hausmann@webkit.org>
497 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
499 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
504 2008-01-21 Simon Hausmann <hausmann@webkit.org>
508 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
510 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
511 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
512 and make the return value depend on whether we successfully determined a focusable
514 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
515 if we could not handle the focus chain ourselves.
516 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
517 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
518 used to control the situation of stepping out of the focus chain inside the page.
519 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
520 The layout tests expect this to be disabled but for the user it seems sensible to have it
521 on by default, hence the default in qwebsettings.cpp
525 (QWebPage::focusNextPrevChild):
526 * Api/qwebsettings.cpp:
527 (QWebSettings::QWebSettings):
528 * Api/qwebsettings.h:
530 (QWebView::QWebView):
531 (QWebView::focusNextPrevChild):
532 * WebCoreSupport/ChromeClientQt.cpp:
533 (WebCore::ChromeClientQt::canTakeFocus):
534 (WebCore::ChromeClientQt::takeFocus):
536 2008-01-18 Simon Hausmann <hausmann@webkit.org>
540 Coding style fixes and added a comment about the include order.
544 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
546 Reviewed by Simon Hausmann <hausmann@webkit.org>.
548 Add use of precompiled header, when building inside Qt.
550 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.
553 * WebKit_pch.h: Added.
555 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
559 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
560 we will see a crash in a HashSet.
561 * It is crashing there because the StringImpl of an empty String is 0.
562 * We avoid this crash by checking for isEmpty() in WebKit as there is no
563 use to ask the iconDatabase for an empty string. We will fallback to the
570 2008-01-17 Simon Hausmann <hausmann@webkit.org>
574 Minor documentation fixes
580 2008-01-17 Simon Hausmann <shausman@trolltech.com>
584 Fix form elements not focusing correctly after the qt widget lost its focus.
586 When receiving a focus out event notify the focus controller. Otherwise its
587 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
588 event shortcuts and doesn't call setActive(true).
593 2008-01-17 Simon Hausmann <shausman@trolltech.com>
597 Lots of updates to the documentation.
601 * Api/qwebhistory.cpp:
603 (QWebPagePrivate::dropEvent):
606 (QWebPage::triggerAction):
607 (QWebPage::viewportSize):
608 (QWebPage::navigationRequested):
611 (QWebPageContext::targetFrame):
615 2008-01-17 Simon Hausmann <shausman@trolltech.com>
619 Added a urlChanged signals to QWebFrame and QWebView.
627 * WebCoreSupport/FrameLoaderClientQt.cpp:
629 2008-01-17 Simon Hausmann <shausman@trolltech.com>
633 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
636 * Api/qwebsettings.cpp:
637 (QWebSettings::setIconDatabaseEnabled):
639 2008-01-17 Simon Hausmann <shausman@trolltech.com>
643 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
647 (QWebPage::createWindow):
649 (QWebView::createWindow):
652 2008-01-17 Lars Knoll <lars@trolltech.com>
656 add a 0 pointer check.
658 Fixes a crash in the demo web browser.
660 * WebCoreSupport/FrameLoaderClientQt.cpp:
661 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
663 2008-01-17 Simon Hausmann <hausmann@webkit.org>
667 Fix QWebFrame::title().
669 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
670 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
676 2008-01-17 Simon Hausmann <hausmann@webkit.org>
678 Reviewed by Maciej, Lars, Holger.
680 http://bugs.webkit.org/show_bug.cgi?id=16589
682 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
684 * Api/qwebnetworkinterface.cpp:
685 (QWebNetworkRequestPrivate::init):
686 (QWebNetworkManager::started):
688 2008-01-17 Warwick Allison <warwick@trolltech.com>
690 Reviewed by Simon Hausmann <hausmann@webkit.org>.
692 Follow QWidget::keyPressEvent advice and call parents.
694 Without this, Back does not work in Qtopia, for example.
698 (QWebView::keyPressEvent):
699 (QWebView::keyReleaseEvent):
701 2008-01-17 Simon Hausmann <hausmann@webkit.org>
705 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
707 * Api/qwebnetworkinterface.cpp:
708 (QWebNetworkManager::started):
710 2008-01-17 Simon Hausmann <shausman@trolltech.com>
714 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
719 * WebCoreSupport/FrameLoaderClientQt.cpp:
721 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
723 Reviewed by Simon Hausmann <hausmann@webkit.org>.
725 Fixes compilation with QT_NO_DRAGANDDROP
731 (QWebView::dragEnterEvent):
732 (QWebView::dragLeaveEvent):
733 (QWebView::dragMoveEvent):
734 (QWebView::dropEvent):
736 2008-01-17 Simon Hausmann <hausmann@webkit.org>
740 Fix compilation, removed obsolete privateBrowsingEnabled() method.
742 * WebCoreSupport/FrameLoaderClientQt.cpp:
744 2008-01-16 Lars Knoll <lars@trolltech.com>
746 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
748 Removed a whole bunch of notImplemented() warnings.
750 I don't want to hide the real warnings in lots of things that
751 I am by now pretty certain we won't need.
754 * WebCoreSupport/FrameLoaderClientQt.cpp:
755 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
756 (WebCore::FrameLoaderClientQt::canShowMIMEType):
758 2008-01-16 Simon Hausmann <hausmann@webkit.org>
762 Fix crash when bringing up the context menu on maps.google.com.
764 If the website provides its own context menu then we don't have a ContextMenu pointer.
768 (QWebPagePrivate::contextMenuEvent):
770 2008-01-16 Simon Hausmann <hausmann@webkit.org>
774 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
777 (QWebView::mouseMoveEvent):
778 (QWebView::mousePressEvent):
779 (QWebView::mouseDoubleClickEvent):
780 (QWebView::mouseReleaseEvent):
781 (QWebView::contextMenuEvent):
782 (QWebView::wheelEvent):
783 (QWebView::keyPressEvent):
784 (QWebView::keyReleaseEvent):
785 (QWebView::focusInEvent):
786 (QWebView::focusOutEvent):
787 (QWebView::dragEnterEvent):
788 (QWebView::dragLeaveEvent):
789 (QWebView::dragMoveEvent):
790 (QWebView::dropEvent):
791 (QWebView::focusNextPrevChild):
793 2008-01-16 Simon Hausmann <hausmann@webkit.org>
797 Made the url property read-write.
801 2008-01-16 Simon Hausmann <hausmann@webkit.org>
805 Don't crash when showing a default initialized QWebView that has no page/frame yet.
808 (QWebView::paintEvent):
810 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
814 Change hoveringOverLink implementation to have less issues.
816 * Currently we only compare a pointer. In the worst case we
817 could delete the Element we have pointed to and a new one
818 gets the same address. But even if that doesn't happen the
819 WebCore::Element is mutable and JavaScript could change the
820 URL, Title or Content. So we have to compare all these three
822 * This does not seem to be a performance impact.
826 (QWebPagePrivate::mouseMoveEvent):
829 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
833 * Move the hoverElement from QWebFrame to QWebPage. As it is
838 (QWebFramePrivate::QWebFramePrivate):
840 (QWebPagePrivate::mouseMoveEvent):
843 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
847 EventHandler changes/fixes in QWebPage:
848 -mouse{Press,Move,Release}Event:
849 Send the event always to the mainFrame of the QWebPage.
851 -contextMenuEvent, key{Press,Release}Event:
852 Send the event to the focused frame.
854 This is following the Windows port and fixes a issue with the
855 Web Inspector where we were sending the events to a wrong frame.
857 It is guaranteed that the mainFrame will always have an eventHandler
858 and frameView set. There is no need to check for this in QWebPage.
862 (QWebFramePrivate::init):
864 (QWebFramePrivate::QWebFramePrivate):
866 (QWebPagePrivate::updateEditorActions):
867 (QWebPagePrivate::mouseMoveEvent):
868 (QWebPagePrivate::mousePressEvent):
869 (QWebPagePrivate::mouseDoubleClickEvent):
870 (QWebPagePrivate::mouseReleaseEvent):
871 (QWebPagePrivate::contextMenuEvent):
872 (QWebPagePrivate::wheelEvent):
873 (QWebPagePrivate::keyPressEvent):
874 (QWebPagePrivate::keyReleaseEvent):
875 (QWebPagePrivate::focusInEvent):
878 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
882 * Add core and kit functions to QWebFramePrivate to convert from
883 QWebFrame to WebCore::Frame and vice versa.
887 (QWebFramePrivate::core):
888 (QWebFramePrivate::kit):
892 2008-01-16 Lars Knoll <lars@trolltech.com>
896 add conversion methods from and to QUrl to KURL.
898 Use them in the places I found at the moment. Fixes a bug
899 where form data was encoded twice.
900 Also fix QWebSettings to take a QUrl for the user style sheet
907 (QWebPage::createPlugin):
909 (QWebPage::triggerAction):
910 * Api/qwebsettings.cpp:
911 (QWebSettingsPrivate::apply):
912 * Api/qwebsettings.h:
913 * WebCoreSupport/ChromeClientQt.cpp:
914 (WebCore::ChromeClientQt::createWindow):
915 (WebCore::ChromeClientQt::show):
917 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
921 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
922 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
923 the QWebPage/WebInspector automatically.
926 * WebCoreSupport/InspectorClientQt.cpp:
927 (WebCore::InspectorClientWebPage::createWindow):
928 (WebCore::InspectorClientView::InspectorClientView):
930 2008-01-10 Maciej Stachowiak <mjs@apple.com>
934 - remove SecurityOriginData and fold its functionality into SecurityOrigin
936 * WebCoreSupport/ChromeClientQt.cpp:
937 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
938 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
939 * WebCoreSupport/ChromeClientQt.h:
941 2008-01-10 Lars Knoll <lars@trolltech.com>
948 * Api/qwebhistory.cpp:
949 (QWebHistoryItem::QWebHistoryItem):
950 (QWebHistoryItem::operator=):
951 (QWebHistoryItem::~QWebHistoryItem):
952 (QWebHistoryItem::originalUrl):
953 (QWebHistoryItem::currentUrl):
954 (QWebHistoryItem::title):
955 (QWebHistoryItem::icon):
956 (QWebHistory::canGoBack):
957 (QWebHistory::canGoForward):
958 (QWebHistory::goBack):
959 (QWebHistory::goForward):
960 (QWebHistory::goToItem):
963 2008-01-10 Simon Hausmann <hausmann@webkit.org>
967 Make the reset() functions not do anything on the default QWebSettings object.
970 * Api/qwebsettings.cpp:
971 (QWebSettings::resetFontSize):
972 (QWebSettings::resetFontFamily):
973 (QWebSettings::clearAttribute):
975 2008-01-10 Lars Knoll <lars@trolltech.com>
979 rename QWebPageHistory to QWebHistory.
982 * Api/qwebhistory.cpp: Added.
983 (QWebHistoryItem::QWebHistoryItem):
984 (QWebHistoryItem::operator=):
985 (QWebHistoryItem::~QWebHistoryItem):
986 (QWebHistoryItem::originalUrl):
987 (QWebHistoryItem::currentUrl):
988 (QWebHistoryItem::title):
989 (QWebHistoryItem::lastVisited):
990 (QWebHistoryItem::icon):
991 (QWebHistory::QWebHistory):
992 (QWebHistory::~QWebHistory):
993 (QWebHistory::clear):
994 (QWebHistory::items):
995 (QWebHistory::backItems):
996 (QWebHistory::forwardItems):
997 (QWebHistory::canGoBack):
998 (QWebHistory::canGoForward):
999 (QWebHistory::goBack):
1000 (QWebHistory::goForward):
1001 (QWebHistory::goToItem):
1002 (QWebHistory::backItem):
1003 (QWebHistory::currentItem):
1004 (QWebHistory::forwardItem):
1005 (QWebHistory::itemAtIndex):
1006 * Api/qwebhistory.h: Added.
1007 * Api/qwebhistory_p.h: Added.
1008 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1009 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1010 (QWebHistoryPrivate::QWebHistoryPrivate):
1011 (QWebHistoryPrivate::~QWebHistoryPrivate):
1013 (QWebPagePrivate::QWebPagePrivate):
1016 * Api/qwebpagehistory.cpp: Removed.
1017 * Api/qwebpagehistory.h: Removed.
1018 * Api/qwebpagehistory_p.h: Removed.
1022 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1026 Documentation for QWebSettings
1029 * Api/qwebsettings.cpp:
1030 (QWebSettings::~QWebSettings):
1031 (QWebSettings::setFontSize):
1032 (QWebSettings::resetFontSize):
1033 (QWebSettings::setUserStyleSheetLocation):
1034 (QWebSettings::userStyleSheetLocation):
1035 (QWebSettings::iconDatabaseEnabled):
1036 (QWebSettings::webGraphic):
1037 (QWebSettings::setFontFamily):
1038 (QWebSettings::resetFontFamily):
1039 (QWebSettings::setAttribute):
1041 2008-01-10 Lars Knoll <lars@trolltech.com>
1045 Document QWebHistoryInterface.
1048 * Api/qwebhistoryinterface.cpp:
1049 (QWebHistoryInterface::defaultInterface):
1050 (QWebHistoryInterface::~QWebHistoryInterface):
1052 2008-01-10 Lars Knoll <lars@trolltech.com>
1056 Documentation for QWebFrame.
1059 * Api/qwebframe.cpp:
1063 (QWebFrame::setHtml):
1064 (QWebFrame::parentFrame):
1065 (QWebFrame::render):
1067 (QWebFrame::geometry):
1069 * Api/qwebframe_p.h:
1071 2008-01-10 Lars Knoll <lars@trolltech.com>
1075 fix the drawing errors that where introduced due to refactoring.
1077 Correctly clip to the rectangle we want to draw in ScrollView::paint().
1080 * Api/qwebframe.cpp:
1081 (QWebFrame::render):
1084 (QWebView::paintEvent):
1085 * WebCoreSupport/ChromeClientQt.cpp:
1086 (WebCore::ChromeClientQt::scrollBackingStore):
1088 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1092 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
1096 (QWebPagePrivate::dropEvent):
1097 (QWebPage::QWebPage):
1098 (QWebPage::~QWebPage):
1099 (QWebPage::mainFrame):
1100 (QWebPage::currentFrame):
1101 (QWebPage::history):
1102 (QWebPage::setView):
1104 (QWebPage::javaScriptConsoleMessage):
1105 (QWebPage::javaScriptAlert):
1106 (QWebPage::javaScriptConfirm):
1107 (QWebPage::javaScriptPrompt):
1108 (QWebPage::createWindow):
1109 (QWebPage::createModalDialog):
1111 (QWebPage::triggerAction):
1112 (QWebPage::viewportSize):
1113 (QWebPage::navigationRequested):
1114 (QWebPage::selectedText):
1115 (QWebPage::isModified):
1116 (QWebPage::focusNextPrevChild):
1117 (QWebPage::settings):
1118 (QWebPage::networkProxy):
1119 (QWebPage::setNetworkAccessManager):
1120 (QWebPage::networkAccessManager):
1121 (QWebPagePrivate::_q_onLoadProgressChanged):
1124 2008-01-07 Holger Freyther <zecke@selfish.org>
1126 Reviewed by Alp Toker.
1128 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
1130 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
1131 * Update the ContextMenuController to accept CheckableActionTypes as well.
1132 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
1133 was extracted from ContextMenu::checkOrEnableIfNeeded.
1134 * Update the Qt and Windows port.
1137 (QWebPagePrivate::createContextMenu):
1139 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1141 Build fix for the Windows build. MSVC wants to see the full
1142 declaration of arguments even when just passing them through.
1146 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1150 Added the missing parameters to make it possible to do POST operations from the public API.
1152 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1153 two extra arguments were in QNetworkRequest :-/
1156 * Api/qwebframe.cpp:
1163 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1167 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1170 * Api/qwebframe.cpp:
1173 * Api/qwebnetworkinterface.cpp:
1174 * Api/qwebnetworkinterface.h:
1175 * Api/qwebnetworkinterface_p.h:
1176 * Api/qwebobjectplugin.cpp:
1177 * Api/qwebobjectplugin.h:
1178 * Api/qwebobjectplugin_p.h:
1179 * Api/qwebobjectpluginconnector.cpp:
1180 * Api/qwebobjectpluginconnector.h:
1182 (QWebPagePrivate::QWebPagePrivate):
1183 (QWebPagePrivate::~QWebPagePrivate):
1184 (QWebPagePrivate::navigationRequested):
1185 (QWebPage::setNetworkInterface):
1186 (QWebPage::networkInterface):
1187 (QWebPage::setNetworkAccessManager):
1188 (QWebPage::networkAccessManager):
1193 * WebCoreSupport/FrameLoaderClientQt.cpp:
1194 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1195 (WebCore::FrameLoaderClientQt::objectContentType):
1196 (WebCore::FrameLoaderClientQt::createPlugin):
1198 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1202 * Move the QWebPagePrivate methods up to the other private ones
1205 (dropActionToDragOp):
1206 (dragOpToDropAction):
1207 (QWebPagePrivate::mouseMoveEvent):
1208 (QWebPagePrivate::mousePressEvent):
1209 (QWebPagePrivate::mouseDoubleClickEvent):
1210 (QWebPagePrivate::mouseReleaseEvent):
1211 (QWebPagePrivate::contextMenuEvent):
1212 (QWebPagePrivate::wheelEvent):
1213 (QWebPagePrivate::keyPressEvent):
1214 (QWebPagePrivate::keyReleaseEvent):
1215 (QWebPagePrivate::focusInEvent):
1216 (QWebPagePrivate::focusOutEvent):
1217 (QWebPagePrivate::dragEnterEvent):
1218 (QWebPagePrivate::dragLeaveEvent):
1219 (QWebPagePrivate::dragMoveEvent):
1220 (QWebPagePrivate::dropEvent):
1221 (QWebPage::focusNextPrevChild):
1223 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1227 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1231 (dragOpToDropAction):
1233 (QWebView::mouseMoveEvent):
1234 (QWebView::mousePressEvent):
1235 (QWebView::mouseDoubleClickEvent):
1236 (QWebView::mouseReleaseEvent):
1237 (QWebView::contextMenuEvent):
1238 (QWebView::keyPressEvent):
1239 (QWebView::keyReleaseEvent):
1240 (QWebView::focusInEvent):
1241 (QWebView::focusOutEvent):
1242 (QWebView::dragEnterEvent):
1243 (QWebView::dragLeaveEvent):
1244 (QWebView::dragMoveEvent):
1245 (QWebView::dropEvent):
1247 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1251 * This layout is not needed anymore as Widget::invalidateRect will not
1256 (QWebView::paintEvent):
1258 2008-01-04 Lars Knoll <lars@trolltech.com>
1262 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1264 This also brings the code closer in line with the Windows code. Seems
1265 to work nicely on first try :)
1268 * WebCoreSupport/ChromeClientQt.cpp:
1269 (WebCore::ChromeClientQt::updateBackingStore):
1270 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1271 (WebCore::ChromeClientQt::setToolTip):
1272 * WebCoreSupport/FrameLoaderClientQt.cpp:
1273 (WebCore::FrameLoaderClientQt::createPlugin):
1275 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1279 * Remove the todo from QWebPage and move the code to QWebView.
1283 (QWebPagePrivate::wheelEvent):
1284 (QWebPagePrivate::focusInEvent):
1286 (QWebView::wheelEvent):
1287 (QWebView::focusInEvent):
1289 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1293 * Move the various event methods to QWebPagePrivate. This is similar to
1294 QTextControl as well.
1299 (QWebPagePrivate::mouseMoveEvent):
1300 (QWebPagePrivate::mousePressEvent):
1301 (QWebPagePrivate::mouseDoubleClickEvent):
1302 (QWebPagePrivate::mouseReleaseEvent):
1303 (QWebPagePrivate::contextMenuEvent):
1304 (QWebPagePrivate::wheelEvent):
1305 (QWebPagePrivate::keyPressEvent):
1306 (QWebPagePrivate::keyReleaseEvent):
1307 (QWebPagePrivate::focusInEvent):
1308 (QWebPagePrivate::focusOutEvent):
1309 (QWebPage::focusNextPrevChild):
1310 (QWebPagePrivate::dragEnterEvent):
1311 (QWebPagePrivate::dragLeaveEvent):
1312 (QWebPagePrivate::dragMoveEvent):
1313 (QWebPagePrivate::dropEvent):
1317 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1321 * Forward the event from QWebView to QWebPage through QObject::event. This
1322 is similar to the way QTextControl is working.
1326 (dragOpToDropAction):
1330 (QWebView::mouseMoveEvent):
1331 (QWebView::mousePressEvent):
1332 (QWebView::mouseDoubleClickEvent):
1333 (QWebView::mouseReleaseEvent):
1334 (QWebView::contextMenuEvent):
1335 (QWebView::wheelEvent):
1336 (QWebView::keyPressEvent):
1337 (QWebView::keyReleaseEvent):
1338 (QWebView::focusInEvent):
1339 (QWebView::focusOutEvent):
1340 (QWebView::dragEnterEvent):
1341 (QWebView::dragLeaveEvent):
1342 (QWebView::dragMoveEvent):
1343 (QWebView::dropEvent):
1346 2008-01-04 Lars Knoll <lars@trolltech.com>
1350 make QWebPage a QObject and get things to compile.
1352 Nothing works currently though.
1355 * Api/qwebobjectpluginconnector.cpp:
1357 (QWebPagePrivate::QWebPagePrivate):
1358 (QWebPagePrivate::createMainFrame):
1359 (QWebPage::QWebPage):
1360 (QWebPage::setView):
1362 (QWebPage::javaScriptAlert):
1363 (QWebPage::javaScriptPrompt):
1364 (dragOpToDropAction):
1365 (QWebPage::mousePressEvent):
1366 (QWebPage::mouseDoubleClickEvent):
1367 (QWebPage::mouseReleaseEvent):
1368 (QWebPage::wheelEvent):
1369 (QWebPage::keyPressEvent):
1370 (QWebPage::focusInEvent):
1374 (QWebView::QWebView):
1375 (QWebView::setPage):
1376 (QWebView::resizeEvent):
1377 (QWebView::paintEvent):
1379 * WebCoreSupport/ChromeClientQt.cpp:
1380 (WebCore::ChromeClientQt::windowRect):
1381 (WebCore::ChromeClientQt::pageRect):
1382 (WebCore::ChromeClientQt::focus):
1383 (WebCore::ChromeClientQt::unfocus):
1384 (WebCore::ChromeClientQt::canTakeFocus):
1385 (WebCore::ChromeClientQt::takeFocus):
1386 (WebCore::ChromeClientQt::canRunModal):
1387 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1388 * WebCoreSupport/DragClientQt.cpp:
1389 (WebCore::DragClientQt::startDrag):
1390 * WebCoreSupport/FrameLoaderClientQt.cpp:
1391 (WebCore::FrameLoaderClientQt::createPlugin):
1392 * WebCoreSupport/InspectorClientQt.cpp:
1393 (WebCore::InspectorClientWebPage::createWindow):
1394 (WebCore::InspectorClientView::InspectorClientView):
1395 (WebCore::InspectorClientView::page):
1396 (WebCore::InspectorClientView::hideEvent):
1397 (WebCore::InspectorClientView::closeEvent):
1398 (WebCore::InspectorClientQt::createPage):
1399 (WebCore::InspectorClientQt::closeWindow):
1401 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1405 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1409 (QWebView::setHtml):
1410 (QWebView::setContent):
1411 (QWebView::history):
1412 (QWebView::settings):
1414 (QWebView::triggerAction):
1416 (QWebView::backward):
1417 (QWebView::forward):
1421 2008-01-04 Lars Knoll <lars@trolltech.com>
1425 add a viewportSize to QWebPage.
1427 This is required to eventually make it a QObject only.
1431 (QWebPage::triggerAction):
1432 (QWebPage::viewportSize):
1433 (QWebPage::setViewportSize):
1436 2008-01-04 Lars Knoll <lars@trolltech.com>
1440 take a QString as identifier in QWebFrame::addToJSWindowObject.
1442 * Api/qwebframe.cpp:
1443 (QWebFrame::addToJSWindowObject):
1446 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1450 Call the frame arguments for the javascript callbacks "originatingFrame"
1455 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1459 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1462 * Api/qwebhistoryinterface.h:
1464 * WebCoreSupport/FrameLoaderClientQt.cpp:
1465 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1467 2008-01-04 Lars Knoll <lars@trolltech.com>
1471 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1473 * Api/qwebframe.cpp:
1476 (QWebFrame::setVerticalScrollBarPolicy):
1479 (QWebPage::javaScriptAlert):
1480 (QWebPage::javaScriptPrompt):
1481 (QWebPage::networkInterface):
1487 * WebCoreSupport/FrameLoaderClientQt.cpp:
1489 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1493 Moved QWebPage::open to QWebFrame::load and added setHtml.
1496 * Api/qwebframe.cpp:
1498 (QWebFrame::setHtml):
1499 (QWebFrame::setContent):
1505 (QWebView::setHtml):
1507 * WebCoreSupport/ChromeClientQt.cpp:
1508 (WebCore::ChromeClientQt::createWindow):
1509 * WebCoreSupport/InspectorClientQt.cpp:
1510 (WebCore::InspectorClientQt::createPage):
1512 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1516 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1522 (QWebPagePrivate::createMainFrame):
1524 * Api/qwebpagehistory.h:
1525 * Api/qwebview.cpp: Added.
1526 (QWebView::QWebView):
1527 (QWebView::~QWebView):
1529 (QWebView::setPage):
1531 (QWebView::setHtml):
1532 (QWebView::history):
1533 (QWebView::settings):
1537 (QWebView::selectedText):
1539 (QWebView::triggerAction):
1540 (QWebView::isModified):
1541 (QWebView::textInteractionFlags):
1542 (QWebView::setTextInteractionFlags):
1543 (QWebView::sizeHint):
1545 (QWebView::backward):
1546 (QWebView::forward):
1548 * Api/qwebview.h: Added.
1549 * QtLauncher/main.cpp:
1550 (MainWindow::MainWindow):
1551 (MainWindow::webPage):
1552 (MainWindow::changeLocation):
1553 * WebCoreSupport/FrameLoaderClientQt.cpp:
1554 (WebCore::FrameLoaderClientQt::setFrame):
1555 * WebCoreSupport/FrameLoaderClientQt.h:
1557 2007-12-14 Darin Adler <darin@apple.com>
1562 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1563 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1564 * WebCoreSupport/EditorClientQt.cpp:
1565 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1566 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1569 2007-12-12 Brady Eidson <beidson@apple.com>
1571 Reviewed by Sam Weinig
1573 As part of doing some CachedPage and client cleanup, keep Qt building
1575 * WebCoreSupport/FrameLoaderClientQt.cpp:
1576 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1577 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1578 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1579 * WebCoreSupport/FrameLoaderClientQt.h:
1581 2007-12-12 Sam Weinig <sam@webkit.org>
1585 * WebCoreSupport/FrameLoaderClientQt.cpp:
1586 (WebCore::FrameLoaderClientQt::userAgent):
1588 2007-12-12 Sam Weinig <sam@webkit.org>
1592 * Api/qwebnetworkinterface.cpp:
1593 (QWebNetworkRequestPrivate::init):
1596 (QWebPageContext::QWebPageContext):
1597 * Api/qwebpagehistory.cpp:
1598 (QWebHistoryItem::originalUrl):
1599 (QWebHistoryItem::currentUrl):
1600 * WebCoreSupport/FrameLoaderClientQt.cpp:
1601 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1602 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1603 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1604 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1605 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1606 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1607 (WebCore::FrameLoaderClientQt::createPlugin):
1609 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1613 <rdar://problem/5535636>
1614 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1616 http://bugs.webkit.org/show_bug.cgi?id=13916
1617 JavaScript detects Tab as a character input on a textfield validation
1619 * WebCoreSupport/EditorClientQt.cpp:
1620 (WebCore::EditorClientQt::handleKeyboardEvent):
1621 (WebCore::EditorClientQt::handleInputMethodKeydown):
1622 * WebCoreSupport/EditorClientQt.h:
1623 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1625 2007-12-07 Darin Adler <darin@apple.com>
1629 * Api/qwebhistoryinterface.cpp:
1630 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1631 be updated, since WebCore changed, but this should not be here.
1633 2007-12-04 Darin Adler <darin@apple.com>
1635 Reviewed by Kevin Decker.
1637 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1638 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1640 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1644 * Implement the InspectorClient for the Qt port
1645 * It does not support highlighting of nodes yet
1646 * Use QRC to open the internal page. The important thing is the
1647 '/' in the URL to make WebCore::Document::completeURL behave the
1649 * To make the InspectorClient work we will have to mark qrc as secure.
1652 (QWebPagePrivate::QWebPagePrivate):
1654 * WebCoreSupport/InspectorClientQt.cpp:
1655 (WebCore::InspectorClientWebPage::hideEvent):
1656 (WebCore::InspectorClientQt::InspectorClientQt):
1657 (WebCore::InspectorClientQt::inspectorDestroyed):
1658 (WebCore::InspectorClientQt::createPage):
1659 (WebCore::InspectorClientQt::localizedStringsURL):
1660 (WebCore::InspectorClientQt::showWindow):
1661 (WebCore::InspectorClientQt::closeWindow):
1662 (WebCore::InspectorClientQt::attachWindow):
1663 (WebCore::InspectorClientQt::detachWindow):
1664 * WebCoreSupport/InspectorClientQt.h:
1666 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1668 Rubber stamped by Mark.
1670 Always include config.h at the beginning of the file.
1672 * Api/qwebsettings.cpp:
1674 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1678 * Avoid crashes by making sure everything is layouted before
1679 we start painting. This avoids a crash in Widget::invalidateRect
1680 because QPainter::begin would fail
1681 * The QWebFrame::layout() methods and calls are left untouched because
1682 this would be an API decision.
1685 * Api/qwebframe.cpp:
1686 (QWebFrame::layout):
1688 (QWebPage::paintEvent):
1690 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1694 * SubClass QWebPage to handle hide and close events.
1695 * Forward these events to the InspectorController
1696 * The other options would have been using an eventFilter
1697 on the webpage and making InspectorClient a QObject or
1698 creating a QObject Observer.
1699 * Provide a simple QWebPage* createWindow implementation. This is needed
1700 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1701 of the inspector client.
1704 * WebCoreSupport/InspectorClientQt.cpp:
1705 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1706 (WebCore::InspectorClientWebPage::createWindow):
1707 (WebCore::InspectorClientWebPage::hideEvent):
1708 (WebCore::InspectorClientWebPage::closeEvent):
1709 (WebCore::InspectorClientQt::createPage):
1711 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1715 * Allow adding the Inspect ContextMenuItem to our Menu
1716 * Open the Inspector when Inspect was activated. This requires
1717 that we keep the innerNonSharedNode from the HitTest around. This
1718 forces us to include <wtf/RefPtr.h> in the private header. It is
1719 the first non Qt header but should be okay.
1723 (webActionForContextMenuAction):
1724 (QWebPage::triggerAction):
1726 (QWebPageContext::QWebPageContext):
1730 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1734 * Add the Developer Extras to the WebAttribute and propagate it
1735 to WebCore::Settings. This will enable the Inspect Element menu item
1736 * CodingStyle fixes in QWebSettings
1737 * Enable the Developer Extras in the QtLauncher
1740 * Api/qwebsettings.cpp:
1741 (QWebSettingsPrivate::apply):
1742 * Api/qwebsettings.h:
1743 * QtLauncher/main.cpp:
1746 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1748 Removed unnecessary and possibly incorrect #include from my last
1751 * Api/qwebframe.cpp:
1753 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1755 Qt build fix: Get globalExec() from the right place.
1757 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1761 * Self destruct the clients like the ohter ports do
1764 * WebCoreSupport/ChromeClientQt.cpp:
1765 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1766 * WebCoreSupport/ContextMenuClientQt.cpp:
1767 * WebCoreSupport/DragClientQt.cpp:
1768 * WebCoreSupport/EditorClientQt.cpp:
1769 * WebCoreSupport/InspectorClientQt.cpp:
1771 2007-11-29 Brady Eidson <beidson@apple.com>
1773 Keep it building with new client method
1775 * WebCoreSupport/ChromeClientQt.cpp:
1776 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1777 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1778 * WebCoreSupport/ChromeClientQt.h:
1780 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1782 Reviewed by Adam Treat.
1784 Fix compilation (don't define notImplemented twice)
1786 * Api/qwebnetworkinterface.cpp:
1788 2007-11-22 Simon Hausmann <hausmann@kde.org>
1792 Use Q_SIGNALS/Q_SLOTS in the public API
1797 2007-11-22 Simon Hausmann <hausmann@kde.org>
1801 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1805 2007-11-22 Simon Hausmann <hausmann@kde.org>
1809 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1813 * Api/qwebhistoryinterface.h:
1814 * Api/qwebnetworkinterface.h:
1815 * Api/qwebobjectplugin.h:
1816 * Api/qwebobjectplugin_p.h:
1817 * Api/qwebobjectpluginconnector.h:
1819 * Api/qwebpagehistory.h:
1820 * Api/qwebsettings.h:
1822 2007-11-22 Simon Hausmann <hausmann@kde.org>
1826 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1828 * Api/qwebpagehistory.h:
1830 2007-11-22 George Staikos <staikos@kde.org>
1832 Reviewed by Simon Hausmann <hausmann@kde.org>.
1837 * Api/qwebobjectplugin.cpp:
1838 * Api/qwebobjectplugin.h:
1839 * Api/qwebobjectpluginconnector.cpp:
1840 * Api/qwebobjectpluginconnector.h:
1842 2007-11-22 Simon Hausmann <hausmann@kde.org>
1844 Reviewed by George Staikos <staikos@kde.org>.
1846 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1848 This also fixes compilation with gcc 4.3.
1851 * Api/qwebframe.cpp:
1852 (QWebFramePrivate::init):
1854 2007-11-21 Adam Treat <treat@kde.org>
1858 * Connect up the signal for all subframes too.
1860 * Api/qwebframe.cpp:
1861 (QWebFramePrivate::init):
1863 (QWebPagePrivate::createMainFrame):
1865 2007-11-20 Simon Hausmann <hausmann@kde.org>
1867 Reviewed by Adam Treat <treat@kde.org>.
1869 Remove static linkage of QtWebKit against the ICO image format plugin.
1871 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1874 * Plugins/Plugins.pro:
1876 2007-11-20 Simon Hausmann <hausmann@kde.org>
1878 Reviewed by George Staikos <staikos@kde.org>.
1880 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1885 2007-11-20 George Staikos <staikos@kde.org>
1887 Reviewed by Simon Hausmann <hausmann@kde.org>.
1889 Add an argument to pass the link text in the hovering signal
1894 (QWebPagePrivate::createMainFrame):
1895 (QWebPage::mouseMoveEvent):
1898 2007-11-20 Adam Treat <treat@kde.org>
1900 Reviewed by Simon and George.
1902 * Be quiet and allow suppression of NotImplemented calls at runtime.
1904 * WebCoreSupport/FrameLoaderClientQt.cpp:
1905 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1907 2007-11-19 Adam Treat <treat@kde.org>
1911 * Don't segfault when event pos is outside of the widget.
1914 (QWebPage::mouseMoveEvent):
1915 (QWebPage::mousePressEvent):
1916 (QWebPage::mouseDoubleClickEvent):
1917 (QWebPage::mouseReleaseEvent):
1918 (QWebPage::contextMenuEvent):
1920 2007-11-17 Timothy Hatcher <timothy@apple.com>
1922 Reviewed by Mark Rowe.
1924 Bug 13470: i18n: The Web Inspector is not localizable
1925 http://bugs.webkit.org/show_bug.cgi?id=13470
1927 * WebCoreSupport/InspectorClientQt.cpp:
1928 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1929 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1931 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1933 Build fix: changed Shared to RefCounted.
1935 * WebCoreSupport/ChromeClientQt.h:
1936 * WebCoreSupport/ContextMenuClientQt.cpp:
1937 * WebCoreSupport/ContextMenuClientQt.h:
1938 * WebCoreSupport/EditorClientQt.h:
1939 * WebCoreSupport/FrameLoaderClientQt.h:
1941 2007-11-10 Simon Hausmann <hausmann@kde.org>
1943 Reviewed by Nikolas.
1945 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1949 (QWebPagePrivate::createContextMenu):
1951 2007-11-10 Simon Hausmann <hausmann@kde.org>
1953 Reviewed by Nikolas.
1955 Added support for the Bold/Italic/Underline toggle actions.
1959 (webActionForContextMenuAction):
1960 (QWebPage::triggerAction):
1964 2007-11-10 Simon Hausmann <hausmann@kde.org>
1966 Reviewed by Nikolas.
1968 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1969 to update the enable/checked state correctly.
1973 (QWebPagePrivate::createContextMenu):
1974 (QWebPage::contextMenuEvent):
1977 2007-11-10 Simon Hausmann <hausmann@kde.org>
1979 Reviewed by Nikolas.
1981 Mark the text direction actions as checkable actions.
1987 2007-11-09 Simon Hausmann <hausmann@kde.org>
1991 Implemented the webcore actions for changing the text direction.
1995 (webActionForContextMenuAction):
1996 (QWebPage::triggerAction):
2000 2007-11-09 Simon Hausmann <hausmann@kde.org>
2004 Fix ContextMenu allocation in the Qt port.
2006 Store all items and submenus value based in ContextMenu and ContextMenuItem.
2007 That fixes the crashes when the context menu was populated with sub-menus because
2008 of the use of temporary ContextMenu objects like this:
2010 ContextMenu subMenu(...);
2011 subMenu.appendItem(...);
2012 subMenu.appendItem(...);
2014 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
2018 (QWebPage::contextMenuEvent):
2021 2007-11-09 Simon Hausmann <hausmann@kde.org>
2025 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
2031 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2035 - windowObjectCleared() is no longer const. It needs to setup the
2036 script debugger and cannot be const to do so.
2038 * WebCoreSupport/FrameLoaderClientQt.cpp:
2039 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2040 * WebCoreSupport/FrameLoaderClientQt.h:
2042 2007-11-08 Simon Hausmann <hausmann@kde.org>
2044 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
2046 The buildbots use Qt 4.4 which has the function in question, but Qt
2047 4.3 doesn't have it. Use removeAll() as replacement instead, it
2048 shouldn't make a difference in performance.
2050 * Api/qwebsettings.cpp:
2051 (QWebSettings::~QWebSettings):
2053 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2055 Reviewed by Lars Knoll <lars@trolltech.com>.
2057 Cleanup checking for the request method.
2059 * Check the request method only in QWebNetworkManager::add.
2060 * Currently HEAD, GET, POST are allowed and for everything else
2061 QWebNetworkManager::add returns false.
2062 * Returning false is compatible with ResourceHandle::start and it
2063 can be used in ResourceHandle::loadResourceSynchronously to generate
2067 * Api/qwebnetworkinterface.cpp:
2068 (QWebNetworkManager::add):
2070 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2072 Reviewed by Lars Knoll <lars@trolltech.com>.
2074 Fix bug in the implementation of synchronous network jobs.
2076 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
2077 - if (jobMode == AsynchronousJob) {
2078 + if (jobMode == SynchronousJob) {
2079 add job to synchronous list/hash
2081 * Just applying the above change will lead to crashes because we can finish
2082 jobs before we started them.
2084 * Avoid these issues by saving all work (starting a job, sending data and
2085 finishing it) inside one list. JobWork will contain any
2086 of the above three work types and doWork will just work on this list
2087 (m_pendingWork). As foreach takes a copy of the list calling started, data
2088 and finished will not add new work and we gurantee that if we have JobStarted
2089 it will be in the list before JobData and JobFinished.
2091 * Observation: We might just kill the code to handle sync jobs.
2094 * Api/qwebnetworkinterface.cpp:
2095 (QWebNetworkManager::add):
2096 (QWebNetworkManager::queueStart):
2097 (QWebNetworkManager::queueData):
2098 (QWebNetworkManager::queueFinished):
2099 (QWebNetworkManager::doWork):
2100 * Api/qwebnetworkinterface_p.h:
2101 (QWebNetworkManager::JobWork::):
2102 (QWebNetworkManager::JobWork::JobWork):
2104 2007-11-07 Simon Hausmann <hausmann@kde.org>
2106 Build fix, reviewed by nobody.
2108 Fix the Qt build by setting up WindowFeatures before calling
2109 createWindow on the Chrome. This is similar to openNewWindow in
2110 page/ContextMenuController.cpp
2115 2007-11-07 Simon Hausmann <hausmann@kde.org>
2119 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2122 (QWebPagePrivate::QWebPagePrivate):
2123 * Api/qwebsettings.cpp:
2124 (QWebSettingsPrivate::apply):
2125 * Api/qwebsettings.h:
2127 2007-11-07 Simon Hausmann <hausmann@kde.org>
2131 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
2133 * Api/qwebpagehistory.cpp:
2134 * Api/qwebpagehistory.h:
2136 2007-11-07 Simon Hausmann <hausmann@kde.org>
2140 Removed unimplemented QWebHistoryItem::children() function
2142 * Api/qwebpagehistory.h:
2144 2007-11-07 Simon Hausmann <hausmann@kde.org>
2148 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2150 * Api/qwebsettings.cpp:
2151 (QWebSettings::fontSize):
2152 (QWebSettings::fontFamily):
2153 (QWebSettings::testAttribute):
2155 2007-11-07 Simon Hausmann <hausmann@kde.org>
2159 Added explicit functions for resetting the font sizes and font families.
2161 * Api/qwebsettings.cpp:
2162 (QWebSettings::resetFontSize):
2163 (QWebSettings::resetFontFamily):
2164 * Api/qwebsettings.h:
2166 2007-11-07 Simon Hausmann <hausmann@kde.org>
2170 Combined the font sizes accessors/setters under one setter/getter with an enum.
2172 * Api/qwebsettings.cpp:
2173 (QWebSettingsPrivate::QWebSettingsPrivate):
2174 (QWebSettingsPrivate::apply):
2175 (QWebSettings::QWebSettings):
2176 (QWebSettings::setFontSize):
2177 * Api/qwebsettings.h:
2179 2007-11-07 Simon Hausmann <hausmann@kde.org>
2183 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2187 * WebCoreSupport/FrameLoaderClientQt.cpp:
2188 (WebCore::FrameLoaderClientQt::userAgent):
2190 2007-11-07 Simon Hausmann <hausmann@kde.org>
2194 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2197 (QWebPagePrivate::_q_webActionTriggered):
2198 (QWebPage::keyPressEvent):
2201 2007-11-07 Simon Hausmann <hausmann@kde.org>
2205 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2209 * WebCoreSupport/ChromeClientQt.cpp:
2210 (WebCore::ChromeClientQt::setWindowRect):
2212 2007-11-07 Simon Hausmann <hausmann@kde.org>
2216 Renamed QWebPage::webAction() to QWebPage::action()
2219 (QWebPagePrivate::createContextMenu):
2221 * QtLauncher/main.cpp:
2222 (MainWindow::MainWindow):
2224 2007-11-07 Simon Hausmann <hausmann@kde.org>
2228 Removed a bunch of slots/functions that are now available through the new actions API.
2233 2007-11-07 Simon Hausmann <hausmann@kde.org>
2237 Added some more comments to the API after another round of API review with Lars.
2241 2007-11-07 Simon Hausmann <hausmann@kde.org>
2245 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2247 The currently selected text is a property of the page as a whole.
2249 * Api/qwebframe.cpp:
2252 (QWebPage::selectedText):
2255 2007-11-07 Simon Hausmann <hausmann@kde.org>
2259 Implemented support for settings propagation.
2261 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2263 * Api/qwebsettings.cpp:
2264 (QWebSettingsPrivate::QWebSettingsPrivate):
2265 (QWebSettingsPrivate::apply):
2266 (QWebSettings::QWebSettings):
2267 (QWebSettings::~QWebSettings):
2268 (QWebSettings::setFontFamily):
2269 * Api/qwebsettings.h:
2271 2007-11-07 Simon Hausmann <hausmann@kde.org>
2275 Reworked the QWebSettings API.
2276 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2279 (QWebPagePrivate::QWebPagePrivate):
2280 (QWebPagePrivate::~QWebPagePrivate):
2281 (QWebPage::QWebPage):
2284 * Api/qwebsettings.cpp:
2285 (QWebSettingsPrivate::QWebSettingsPrivate):
2286 (QWebSettingsPrivate::apply):
2287 (QWebSettings::defaultSettings):
2288 (QWebSettings::QWebSettings):
2289 (QWebSettings::setMinimumFontSize):
2290 (QWebSettings::setMinimumLogicalFontSize):
2291 (QWebSettings::setDefaultFontSize):
2292 (QWebSettings::setDefaultFixedFontSize):
2293 (QWebSettings::setUserStyleSheetLocation):
2294 (QWebSettings::setFontFamily):
2295 (QWebSettings::fontFamily):
2296 (QWebSettings::setAttribute):
2297 * Api/qwebsettings.h:
2298 * QtLauncher/main.cpp:
2301 2007-11-07 Simon Hausmann <hausmann@kde.org>
2305 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2307 * Api/qwebsettings.cpp:
2308 (QWebSettings::setWebGraphic):
2309 * Api/qwebsettings.h:
2311 2007-11-07 Simon Hausmann <hausmann@kde.org>
2315 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2317 * Api/qwebsettings.cpp:
2319 2007-11-07 Simon Hausmann <hausmann@kde.org>
2323 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2325 * Api/qwebsettings.cpp:
2326 * Api/qwebsettings.h:
2328 2007-11-07 Simon Hausmann <hausmann@kde.org>
2332 Changed the webAction() accessor to not be a slot but just a public function.
2336 2007-11-07 Simon Hausmann <hausmann@kde.org>
2340 Implemented createWindow() in QtLauncher.
2342 * QtLauncher/main.cpp:
2344 (MainWindow::MainWindow):
2345 (WebPage::createWindow):
2347 2007-11-07 Simon Hausmann <hausmann@kde.org>
2351 Implemented opening links in new windows
2356 (QWebPage::webActionTriggered):
2358 2007-11-07 Simon Hausmann <hausmann@kde.org>
2362 Added and implemented the "OpenLink" action.
2365 (webActionForContextMenuAction):
2366 (QWebPage::webActionTriggered):
2367 (QWebPage::webAction):
2370 2007-11-07 Simon Hausmann <hausmann@kde.org>
2374 Adjust the state of the reload action correctly.
2377 (QWebPagePrivate::updateAction):
2378 (QWebPagePrivate::updateNavigationActions):
2380 2007-11-07 Simon Hausmann <hausmann@kde.org>
2384 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2387 (QWebPagePrivate::updateAction):
2388 (QWebPage::webAction):
2389 (QWebPage::undoStack):
2392 2007-11-07 Simon Hausmann <hausmann@kde.org>
2396 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2398 * QtLauncher/main.cpp:
2399 (MainWindow::MainWindow):
2401 2007-11-07 Simon Hausmann <hausmann@kde.org>
2405 Update the editor actions when the selection changes.
2408 (QWebPagePrivate::updateAction):
2409 (QWebPagePrivate::updateEditorActions):
2411 * WebCoreSupport/EditorClientQt.cpp:
2412 (WebCore::EditorClientQt::respondToChangedSelection):
2414 2007-11-07 Simon Hausmann <hausmann@kde.org>
2418 Added cut/copy/paste actions to the toolbar of QtLauncher
2420 * QtLauncher/main.cpp:
2421 (MainWindow::MainWindow):
2423 2007-11-07 Simon Hausmann <hausmann@kde.org>
2427 Started working on keeping the state of the navigation actions up-to-date.
2430 (QWebPagePrivate::updateAction):
2431 (QWebPagePrivate::updateNavigationActions):
2432 (QWebPage::webAction):
2434 * WebCoreSupport/FrameLoaderClientQt.cpp:
2435 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2436 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2437 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2438 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2439 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2441 2007-11-07 Simon Hausmann <hausmann@kde.org>
2445 Use the navigational web actions in the toolbar
2447 * QtLauncher/main.cpp:
2448 (MainWindow::MainWindow):
2450 2007-11-07 Simon Hausmann <hausmann@kde.org>
2454 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2455 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2458 (QWebPagePrivate::QWebPagePrivate):
2459 (webActionForContextMenuAction):
2460 (QWebPagePrivate::createContextMenu):
2461 (QWebPagePrivate::_q_webActionTriggered):
2462 (QWebPage::webActionTriggered):
2463 (QWebPage::webAction):
2464 (QWebPage::contextMenuEvent):
2465 (QWebPageContext::QWebPageContext):
2466 (QWebPageContext::operator=):
2467 (QWebPageContext::~QWebPageContext):
2468 (QWebPageContext::pos):
2469 (QWebPageContext::text):
2470 (QWebPageContext::linkUrl):
2471 (QWebPageContext::imageUrl):
2472 (QWebPageContext::image):
2473 (QWebPageContext::targetFrame):
2477 2007-11-07 Simon Hausmann <hausmann@kde.org>
2481 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2484 (QWebPage::webActionTriggered):
2485 (QWebPage::keyPressEvent):
2488 2007-11-07 Simon Hausmann <hausmann@kde.org>
2492 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2493 convenience methods such as cut()/copy()/paste().
2497 (QWebPage::webActionTriggered):
2502 2007-11-07 Simon Hausmann <hausmann@kde.org>
2506 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2507 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2508 in ContextMenu::populate().
2509 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2510 out of it. That menu is currently not functional anymore though.
2513 (QWebPagePrivate::createContextMenu):
2514 (QWebPage::contextMenuEvent):
2517 2007-11-07 Simon Hausmann <hausmann@kde.org>
2521 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2522 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2523 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2527 (QWebPage::contextMenuEvent):
2528 * WebCoreSupport/ContextMenuClientQt.cpp:
2529 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2531 2007-11-07 Simon Hausmann <hausmann@kde.org>
2535 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2536 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2539 (QWebPage::mousePressEvent):
2540 (QWebPage::contextMenuEvent):
2543 2007-11-07 Simon Hausmann <hausmann@kde.org>
2547 Turned onLoadProgressChanged into a real private slot.
2550 (QWebPage::QWebPage):
2554 2007-11-07 Simon Hausmann <hausmann@kde.org>
2558 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2561 (QWebPagePrivate::QWebPagePrivate):
2564 * Api/qwebpagehistory.cpp:
2565 (QWebPageHistory::QWebPageHistory):
2566 * Api/qwebpagehistory.h:
2568 2007-11-07 Lars Knoll <lars@trolltech.com>
2572 comments on API changes that we'd like to do.
2576 2007-11-07 Simon Hausmann <hausmann@kde.org>
2578 Reviewed by Lars Knoll <lars@trolltech.com>.
2580 Add a QWebPage::frameCreated() signal and fix DRT
2582 The removal of createFrame in QWebPage broke the re-implementation
2583 in DumpRenderTree. Instead emit a frameCreated() signal and
2584 connect to it in DumpRenderTree.
2588 (QWebPagePrivate::createMainFrame):
2590 * WebCoreSupport/FrameLoaderClientQt.cpp:
2591 (WebCore::FrameLoaderClientQt::createFrame):
2593 2007-11-07 Lars Knoll <lars@trolltech.com>
2597 Remove QWebPage::createFrame()
2599 now that QWebFrame doesn't have virtual methods anymore, there
2600 is no need for a createFrame() factory method in QWebpage.
2603 (QWebPagePrivate::createMainFrame):
2605 * WebCoreSupport/FrameLoaderClientQt.cpp:
2606 (WebCore::FrameLoaderClientQt::createFrame):
2608 2007-11-07 Simon Hausmann <hausmann@kde.org>
2610 Reviewed by Lars Knoll <lars@trolltech.com>.
2612 Moved all the event handlers from QWebFrame into QWebPage.
2614 This cleans up the public API and allows us to remove the
2615 HackWebFrame hack in DumpRenderTree.
2618 * Api/qwebframe.cpp:
2621 * Api/qwebframe_p.h:
2623 (QWebPagePrivate::frameAt):
2624 (QWebPage::mouseMoveEvent):
2625 (QWebPage::mousePressEvent):
2626 (QWebPage::mouseDoubleClickEvent):
2627 (QWebPage::mouseReleaseEvent):
2628 (QWebPage::wheelEvent):
2631 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2633 Reviewed by Lars Knoll <lars@trolltech.com>.
2635 Use correct UserAgent string.
2637 * Only have one User Agent String and this place is QWebPage
2638 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2639 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2640 * ResourceRequest is != 0 when getting called from WebCore, we
2641 will only do requests when coming from WebCore and then we can
2642 use the User-Agent set with the help of the FrameLoaderClient
2643 * We might want to change QWebNetworkRequest a bit
2646 * Api/qwebnetworkinterface.cpp:
2647 (QWebNetworkRequestPrivate::init):
2649 2007-11-07 Lars Knoll <lars@trolltech.com>
2653 remove two notImplemented() warnings, as I believe we don't
2654 have to implement these methods. Add some (commented out)
2655 debug code in one place.
2657 * WebCoreSupport/EditorClientQt.cpp:
2658 (WebCore::EditorClientQt::respondToChangedSelection):
2659 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2661 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2663 Reviewed by Darin Adler.
2665 * WebCoreSupport/ChromeClientQt.cpp:
2666 (WebCore::ChromeClientQt::createWindow):
2667 * WebCoreSupport/ChromeClientQt.h:
2668 Revised to use new WebCore ChromeClient createWindow API.
2670 2007-10-31 Lars Knoll <lars@trolltech.com>
2674 fix most of the issues I found with Clipboard and DnD.
2677 (QWebPage::dragLeaveEvent):
2679 2007-10-31 Lars Knoll <lars@trolltech.com>
2683 QDrag objects need to be created on the heap.
2685 * WebCoreSupport/DragClientQt.cpp:
2686 (WebCore::DragClientQt::startDrag):
2688 2007-10-31 Lars Knoll <lars@trolltech.com>
2692 a dragLeave event is not the same as cancelling a drag.
2696 2007-10-26 Mark Rowe <mrowe@apple.com>
2698 Build fix. Add missing #include of Platform.h.
2700 * Api/qwebhistoryinterface.cpp:
2702 2007-10-25 Holger Freyther <zecke@selfish.org>
2704 Reviewed by Simon Hausmann <hausmann@kde.org>.
2706 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2707 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2708 * This is causing some regressions...
2711 * Api/qwebnetworkinterface.cpp:
2712 (QWebNetworkManager::started):
2713 (QWebNetworkInterface::addJob):
2715 2007-10-25 Holger Freyther <zecke@selfish.org>
2717 Reviewed by Simon Hausmann <hausmann@kde.org>.
2719 * 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.
2720 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2723 * Api/qwebnetworkinterface.cpp:
2724 (QWebNetworkManager::started):
2726 2007-10-25 Holger Freyther <zecke@selfish.org>
2728 Reviewed by Simon Hausmann <hausmann@kde.org>.
2730 * 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.
2731 * Use the error message from Qt. It might or might not be translated.
2734 * Api/qwebnetworkinterface.cpp:
2735 (QWebNetworkJob::errorString):
2736 (QWebNetworkJob::setErrorString):
2737 (QWebNetworkManager::finished):
2738 (QWebNetworkManager::doWork):
2739 (WebCoreHttp::onRequestFinished):
2740 * Api/qwebnetworkinterface.h:
2741 * Api/qwebnetworkinterface_p.h:
2743 2007-10-25 Holger Freyther <zecke@selfish.org>
2745 Reviewed by Simon Hausmann <hausmann@kde.org>.
2747 * 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.
2748 * 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.
2751 * Api/qwebnetworkinterface.cpp:
2752 (QWebNetworkManager::doWork):
2754 2007-10-25 Holger Freyther <zecke@selfish.org>
2756 Reviewed by Simon Hausmann <hausmann@kde.org>.
2758 * No need to initialize values in the QWebNetworkJob c'tor
2759 * 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.
2762 * Api/qwebnetworkinterface.cpp:
2763 (QWebNetworkJob::status):
2764 (QWebNetworkJob::setStatus):
2765 (QWebNetworkManager::started):
2766 (QWebNetworkManager::data):
2767 (QWebNetworkManager::finished):
2768 * Api/qwebnetworkinterface.h:
2769 * Api/qwebnetworkinterface_p.h:
2770 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2772 2007-10-25 Holger Freyther <zecke@selfish.org>
2774 Reviewed by Simon Hausmann <hausmann@kde.org>.
2776 * Consistency: Always name the jobs job.
2779 * Api/qwebnetworkinterface.cpp:
2780 (WebCoreHttp::onReadyRead):
2781 (WebCoreHttp::onRequestFinished):
2782 (WebCoreHttp::onSslErrors):
2783 (WebCoreHttp::onAuthenticationRequired):
2784 (WebCoreHttp::onProxyAuthenticationRequired):
2786 2007-10-25 Holger Freyther <zecke@selfish.org>
2788 Reviewed by Simon Hausmann <hausmann@kde.org>.
2790 * 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.
2791 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2794 * Api/qwebnetworkinterface.cpp:
2795 (QWebNetworkJob::~QWebNetworkJob):
2796 (QWebNetworkManager::QWebNetworkManager):
2797 (QWebNetworkManager::self):
2798 (QWebNetworkManager::add):
2799 (QWebNetworkManager::started):
2800 (QWebNetworkManager::finished):
2801 (QWebNetworkInterfacePrivate::sendFileData):
2802 (QWebNetworkInterfacePrivate::parseDataUrl):
2803 (QWebNetworkManager::queueStart):
2804 (QWebNetworkManager::queueData):
2805 (QWebNetworkManager::queueFinished):
2806 (QWebNetworkManager::doScheduleWork):
2807 (QWebNetworkManager::doWork):
2808 (gCleanupInterface):
2809 (QWebNetworkInterface::setDefaultInterface):
2810 (QWebNetworkInterface::defaultInterface):
2811 (QWebNetworkInterface::QWebNetworkInterface):
2812 (QWebNetworkInterface::started):
2813 (QWebNetworkInterface::data):
2814 (QWebNetworkInterface::finished):
2815 (WebCoreHttp::scheduleNextRequest):
2816 (WebCoreHttp::onResponseHeaderReceived):
2817 (WebCoreHttp::onReadyRead):
2818 (WebCoreHttp::onRequestFinished):
2819 (WebCoreHttp::cancel):
2820 * Api/qwebnetworkinterface.h:
2821 * Api/qwebnetworkinterface_p.h:
2822 (QWebNetworkManager::):
2823 (QWebNetworkManager::JobData::JobData):
2824 (QWebNetworkManager::JobFinished::JobFinished):
2826 2007-10-25 Holger Freyther <zecke@selfish.org>
2828 Reviewed by Simon Hausmann <hausmann@kde.org>.
2830 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2831 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2832 * We pass the char-decoding.html test now
2835 * Api/qwebnetworkinterface.cpp:
2836 (decodePercentEncoding):
2837 (QWebNetworkInterfacePrivate::parseDataUrl):
2839 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2841 Reviewed by Lars Knoll <lars@trolltech.com>.
2843 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2846 * WebCoreSupport/EditorClientQt.cpp:
2847 (WebCore::EditorClientQt::handleKeypress):
2849 2007-10-24 Lars Knoll <lars@trolltech.com>
2853 remove some notImplemented() warnings.
2855 * WebCoreSupport/EditorClientQt.cpp:
2856 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2857 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2858 (WebCore::EditorClientQt::respondToChangedSelection):
2860 2007-10-24 Lars Knoll <lars@trolltech.com>
2864 allow paste from DOM so we pass more test cases.
2867 (QWebPage::setSettings):
2869 2007-10-24 Lars Knoll <lars@trolltech.com>
2873 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2876 (QWebPage::keyPressEvent):
2877 (QWebPage::keyReleaseEvent):
2879 2007-10-24 Lars Knoll <lars@trolltech.com>
2883 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2885 * WebCoreSupport/EditorClientQt.cpp:
2886 (qt_dump_editing_callbacks):
2889 2007-10-24 Lars Knoll <lars@trolltech.com>
2893 implemented support for most editing shortcuts to make contentEditable usable.
2896 (QWebPage::keyPressEvent):
2898 2007-10-24 Lars Knoll <lars@trolltech.com>
2902 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2905 (QWebPage::focusInEvent):
2907 2007-10-24 Lars Knoll <lars@trolltech.com>
2911 Implement support for testing editing.
2913 * WebCoreSupport/EditorClientQt.cpp:
2914 (qt_dump_editing_callbacks):
2915 (qt_dump_set_accepts_editing):
2918 (WebCore::EditorClientQt::shouldDeleteRange):
2919 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2920 (WebCore::EditorClientQt::shouldBeginEditing):
2921 (WebCore::EditorClientQt::shouldEndEditing):
2922 (WebCore::EditorClientQt::shouldInsertText):
2923 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2924 (WebCore::EditorClientQt::shouldApplyStyle):
2925 (WebCore::EditorClientQt::didBeginEditing):
2926 (WebCore::EditorClientQt::respondToChangedContents):
2927 (WebCore::EditorClientQt::respondToChangedSelection):
2928 (WebCore::EditorClientQt::didEndEditing):
2929 (WebCore::EditorClientQt::shouldInsertNode):
2931 2007-10-19 Alp Toker <alp@atoker.com>
2935 GTK+ build fix enabling the new local database storage feature.
2936 There is also a prospective Qt build fix.
2938 * WebCoreSupport/ChromeClientQt.cpp:
2939 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2940 * WebCoreSupport/ChromeClientQt.h:
2942 2007-10-19 Simon Hausmann <hausmann@kde.org>
2944 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2945 that config.h is included before wtf/MathExtras. The former defines
2946 the MSVC defines for rand_s.
2948 * WebCoreSupport/FrameLoaderClientQt.cpp:
2950 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2954 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2956 * Api/qwebframe.cpp:
2959 2007-10-10 Alice Liu <alice.liu@apple.com>
2961 Reviewed by Geoff Garen.
2963 changes to keep the build from breaking
2965 * WebCoreSupport/FrameLoaderClientQt.cpp:
2966 (WebCore::FrameLoaderClientQt::createFrame):
2967 * WebCoreSupport/FrameLoaderClientQt.h:
2969 2007-10-09 Lars Knoll <lars@trolltech.com>
2973 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2976 (QWebPage::setSettings):
2978 2007-10-09 Lars Knoll <lars@trolltech.com>
2982 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2984 * Api/qwebnetworkinterface.cpp:
2985 (QWebNetworkManager::add):
2986 (QWebNetworkManager::cancel):
2987 (QWebNetworkManager::started):
2988 (QWebNetworkManager::data):
2989 (QWebNetworkInterfacePrivate::parseDataUrl):
2991 2007-10-09 Lars Knoll <lars@trolltech.com>
2995 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.
2998 (QWebPagePrivate::createMainFrame):
2999 (QWebPage::createFrame):
3000 * WebCoreSupport/FrameLoaderClientQt.cpp:
3001 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3002 * WebCoreSupport/FrameLoaderClientQt.h:
3004 2007-10-09 Lars Knoll <lars@trolltech.com>
3008 add a clear() method to QWebPageHistory.
3010 * Api/qwebpagehistory.cpp:
3011 (QWebPageHistory::clear):
3012 (QWebPageHistory::itemAtIndex):
3013 * Api/qwebpagehistory.h:
3015 2007-10-05 Lars Knoll <lars@trolltech.com>
3017 add proper error messages to the FrameLoaderClient.
3018 Implement ChromeClientQt::closeWindowSoon and
3019 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
3020 Some fixes in DRT to make it work correctly with multiple windows.
3025 * Api/qwebnetworkinterface.cpp:
3026 (QWebNetworkManager::cancel):
3027 (QWebNetworkInterface::addJob):
3028 * WebCoreSupport/ChromeClientQt.cpp:
3029 (WebCore::ChromeClientQt::closeWindowSoon):
3030 * WebCoreSupport/FrameLoaderClientQt.cpp:
3031 (WebCore::FrameLoaderClientQt::cancelledError):
3033 (WebCore::FrameLoaderClientQt::blockedError):
3034 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3035 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3036 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3037 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3039 2007-10-03 Lars Knoll <lars@trolltech.com>
3041 Signed off by Olliej.
3043 move WebKitQt to WebKit/qt for consistency with the other ports.
3045 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
3046 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
3047 (QCookieJarPrivate::QCookieJarPrivate):
3049 (QCookieJar::QCookieJar):
3050 (QCookieJar::~QCookieJar):
3051 (QCookieJar::setCookies):
3052 (QCookieJar::cookies):
3053 (QCookieJar::isEnabled):
3054 (QCookieJar::setEnabled):
3056 (QCookieJar::setCookieJar):
3057 (QCookieJar::cookieJar):
3058 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
3059 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
3060 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
3061 (QWebFramePrivate::init):
3062 (QWebFramePrivate::parentFrame):
3063 (QWebFramePrivate::horizontalScrollBar):
3064 (QWebFramePrivate::verticalScrollBar):
3065 (QWebFrame::QWebFrame):
3066 (QWebFrame::~QWebFrame):
3067 (QWebFrame::addToJSWindowObject):
3068 (QWebFrame::markup):
3069 (QWebFrame::innerText):
3070 (QWebFrame::renderTreeDump):
3074 (QWebFrame::selectedText):
3075 (QWebFrame::childFrames):
3076 (QWebFrame::verticalScrollBarPolicy):
3077 (QWebFrame::setVerticalScrollBarPolicy):
3078 (QWebFrame::horizontalScrollBarPolicy):
3079 (QWebFrame::setHorizontalScrollBarPolicy):
3080 (QWebFrame::render):
3081 (QWebFrame::layout):
3083 (QWebFrame::geometry):
3084 (QWebFrame::evaluateJavaScript):
3085 (QWebFrame::mouseMoveEvent):
3086 (QWebFrame::mousePressEvent):
3087 (QWebFrame::mouseDoubleClickEvent):
3088 (QWebFrame::mouseReleaseEvent):
3089 (QWebFrame::wheelEvent):
3090 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
3091 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
3092 (QWebFramePrivate::QWebFramePrivate):
3093 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
3094 (WebCore::historyContains):
3095 (gCleanupInterface):
3096 (QWebHistoryInterface::setDefaultInterface):
3097 (QWebHistoryInterface::defaultInterface):
3098 (QWebHistoryInterface::QWebHistoryInterface):
3099 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
3100 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
3101 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
3104 (QWebNetworkRequestPrivate::init):
3105 (QWebNetworkRequestPrivate::setURL):
3106 (QWebNetworkRequest::QWebNetworkRequest):
3107 (QWebNetworkRequest::operator=):
3108 (QWebNetworkRequest::~QWebNetworkRequest):
3109 (QWebNetworkRequest::url):
3110 (QWebNetworkRequest::setUrl):
3111 (QWebNetworkRequest::httpHeader):
3112 (QWebNetworkRequest::setHttpHeader):
3113 (QWebNetworkRequest::httpHeaderField):
3114 (QWebNetworkRequest::setHttpHeaderField):
3115 (QWebNetworkRequest::postData):
3116 (QWebNetworkRequest::setPostData):
3117 (QWebNetworkJob::QWebNetworkJob):
3118 (QWebNetworkJob::~QWebNetworkJob):
3119 (QWebNetworkJob::url):
3120 (QWebNetworkJob::postData):
3121 (QWebNetworkJob::httpHeader):
3122 (QWebNetworkJob::request):
3123 (QWebNetworkJob::response):
3124 (QWebNetworkJob::setResponse):
3125 (QWebNetworkJob::cancelled):
3126 (QWebNetworkJob::ref):
3127 (QWebNetworkJob::deref):
3128 (QWebNetworkJob::networkInterface):
3129 (QWebNetworkJob::frame):
3130 (QWebNetworkManager::QWebNetworkManager):
3131 (QWebNetworkManager::self):
3132 (QWebNetworkManager::add):
3133 (QWebNetworkManager::cancel):
3134 (QWebNetworkManager::started):
3135 (QWebNetworkManager::data):
3136 (QWebNetworkManager::finished):
3137 (QWebNetworkManager::addHttpJob):
3138 (QWebNetworkManager::cancelHttpJob):
3139 (QWebNetworkManager::httpConnectionClosed):
3140 (QWebNetworkInterfacePrivate::sendFileData):
3141 (QWebNetworkInterfacePrivate::parseDataUrl):
3142 (gCleanupInterface):
3143 (QWebNetworkInterface::setDefaultInterface):
3144 (QWebNetworkInterface::defaultInterface):
3145 (QWebNetworkInterface::QWebNetworkInterface):
3146 (QWebNetworkInterface::~QWebNetworkInterface):
3147 (QWebNetworkInterface::addJob):
3148 (QWebNetworkInterface::cancelJob):
3149 (WebCoreHttp::WebCoreHttp):
3150 (WebCoreHttp::~WebCoreHttp):
3151 (WebCoreHttp::request):
3152 (WebCoreHttp::scheduleNextRequest):
3153 (WebCoreHttp::getConnection):
3154 (WebCoreHttp::onResponseHeaderReceived):
3155 (WebCoreHttp::onReadyRead):
3156 (WebCoreHttp::onRequestFinished):
3157 (WebCoreHttp::onDone):
3158 (WebCoreHttp::onStateChanged):
3159 (WebCoreHttp::cancel):
3160 (WebCoreHttp::onSslErrors):
3161 (WebCoreHttp::onAuthenticationRequired):
3162 (WebCoreHttp::onProxyAuthenticationRequired):
3163 (HostInfo::HostInfo):
3164 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3165 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3166 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3167 (WebCore::HostInfo::HostInfo):
3168 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3169 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3170 (QWebFactoryLoader::QWebFactoryLoader):
3171 (QWebFactoryLoader::self):
3172 (QWebFactoryLoader::descriptionForName):
3173 (QWebFactoryLoader::mimetypesForName):
3174 (QWebFactoryLoader::mimeTypeForExtension):
3175 (QWebFactoryLoader::extensions):
3176 (QWebFactoryLoader::nameForMimetype):
3177 (QWebFactoryLoader::create):
3178 (QWebObjectPlugin::QWebObjectPlugin):
3179 (QWebObjectPlugin::~QWebObjectPlugin):
3180 (QWebObjectPlugin::descriptionForKey):
3181 (QWebObjectPlugin::mimetypesForKey):
3182 (QWebObjectPlugin::extensionsForMimetype):
3183 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3184 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3185 (QWebFactoryLoader::names):
3186 (QWebFactoryLoader::supportsMimeType):
3187 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3188 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3189 (QWebObjectPluginConnector::frame):
3190 (QWebObjectPluginConnector::pluginParentWidget):
3191 (QWebObjectPluginConnector::requestUrl):
3192 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3193 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3194 (QWebPagePrivate::QWebPagePrivate):
3195 (QWebPagePrivate::~QWebPagePrivate):
3196 (QWebPagePrivate::navigationRequested):
3197 (QWebPagePrivate::createMainFrame):
3198 (QWebPage::QWebPage):
3199 (QWebPage::~QWebPage):
3200 (QWebPage::createFrame):
3204 (QWebPage::mainFrame):
3205 (QWebPage::sizeHint):
3207 (QWebPage::history):
3209 (QWebPage::goForward):
3210 (QWebPage::goToHistoryItem):
3211 (QWebPage::javaScriptConsoleMessage):
3212 (QWebPage::javaScriptAlert):
3213 (QWebPage::javaScriptConfirm):
3214 (QWebPage::javaScriptPrompt):
3215 (QWebPage::createWindow):
3216 (QWebPage::createModalDialog):
3217 (QWebPage::createPlugin):
3218 (QWebPage::navigationRequested):
3219 (QWebPage::setWindowGeometry):
3221 (QWebPage::canCopy):
3222 (QWebPage::canPaste):
3226 (QWebPage::isModified):
3227 (QWebPage::undoStack):
3228 (dropActionToDragOp):
3229 (dragOpToDropAction):
3230 (QWebPage::resizeEvent):
3231 (QWebPage::paintEvent):
3232 (QWebPage::mouseMoveEvent):
3233 (QWebPage::mousePressEvent):
3234 (QWebPage::mouseDoubleClickEvent):
3235 (QWebPage::mouseReleaseEvent):
3236 (QWebPage::wheelEvent):
3237 (QWebPage::keyPressEvent):
3238 (QWebPage::keyReleaseEvent):
3239 (QWebPage::focusInEvent):
3240 (QWebPage::focusOutEvent):
3241 (QWebPage::focusNextPrevChild):
3242 (QWebPage::dragEnterEvent):
3243 (QWebPage::dragLeaveEvent):
3244 (QWebPage::dragMoveEvent):
3245 (QWebPage::dropEvent):
3246 (QWebPage::setNetworkInterface):
3247 (QWebPage::networkInterface):
3249 (QWebPage::setSettings):
3250 (QWebPage::settings):
3251 (QWebPage::chooseFile):
3252 (QWebPage::setNetworkProxy):
3253 (QWebPage::networkProxy):
3254 (QWebPage::userAgentStringForUrl):
3255 (QWebPage::onLoadProgressChanged):
3256 (QWebPage::totalBytes):
3257 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3258 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3259 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3260 (QWebHistoryItem::QWebHistoryItem):
3261 (QWebHistoryItem::operator=):
3262 (QWebHistoryItem::~QWebHistoryItem):
3263 (QWebHistoryItem::originalUrl):
3264 (QWebHistoryItem::currentUrl):
3265 (QWebHistoryItem::title):
3266 (QWebHistoryItem::lastVisited):
3267 (QWebHistoryItem::icon):
3268 (QWebPageHistory::QWebPageHistory):
3269 (QWebPageHistory::itemAtIndex):
3270 (QWebPageHistory::operator=):
3271 (QWebPageHistory::~QWebPageHistory):
3272 (QWebPageHistory::items):
3273 (QWebPageHistory::backItems):
3274 (QWebPageHistory::forwardItems):
3275 (QWebPageHistory::canGoBack):
3276 (QWebPageHistory::canGoForward):
3277 (QWebPageHistory::goBack):
3278 (QWebPageHistory::goForward):
3279 (QWebPageHistory::goToItem):
3280 (QWebPageHistory::backItem):
3281 (QWebPageHistory::currentItem):
3282 (QWebPageHistory::forwardItem):
3283 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3284 (QExplicitlySharedDataPointer::operator*):
3285 (QExplicitlySharedDataPointer::operator->):
3286 (QExplicitlySharedDataPointer::operator T *):
3287 (QExplicitlySharedDataPointer::operator const T *):
3288 (QExplicitlySharedDataPointer::data):
3289 (QExplicitlySharedDataPointer::constData):
3290 (QExplicitlySharedDataPointer::operator==):
3291 (QExplicitlySharedDataPointer::operator!=):
3292 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3293 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3294 (QExplicitlySharedDataPointer::operator=):
3295 (QExplicitlySharedDataPointer::operator!):
3296 (::QExplicitlySharedDataPointer):
3297 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3298 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3299 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3300 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3301 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3302 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3303 (QWebSettingsPrivate::QWebSettingsPrivate):
3304 (QWebSettings::QWebSettings):
3305 (QWebSettings::~QWebSettings):
3306 (QWebSettings::setMinimumFontSize):
3307 (QWebSettings::minimumFontSize):
3308 (QWebSettings::setMinimumLogicalFontSize):
3309 (QWebSettings::minimumLogicalFontSize):
3310 (QWebSettings::setDefaultFontSize):
3311 (QWebSettings::defaultFontSize):
3312 (QWebSettings::setDefaultFixedFontSize):
3313 (QWebSettings::defaultFixedFontSize):
3314 (QWebSettings::setUserStyleSheetLocation):
3315 (QWebSettings::userStyleSheetLocation):
3316 (QWebSettings::setIconDatabaseEnabled):
3317 (QWebSettings::iconDatabaseEnabled):
3318 (QWebSettings::setWebGraphic):
3319 (QWebSettings::webGraphic):
3320 (QWebSettings::operator=):
3321 (QWebSettings::setGlobal):
3322 (QWebSettings::global):
3323 (QWebSettings::setFontFamily):
3324 (QWebSettings::fontFamily):
3325 (QWebSettings::setAttribute):
3326 (QWebSettings::testAttribute):
3327 (loadResourcePixmap):
3328 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3329 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3330 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3331 (IcoHeader::operator >>):
3332 (IcoHeader::BMP_INFOHDR::):
3333 (IcoHeader::operator<<):
3334 (IcoHeader::LessDifference::LessDifference):
3335 (IcoHeader::LessDifference::operator ()):
3336 (IcoHeader::loadFromDIB):
3337 (ICOHandler::ICOHandler):
3338 (ICOHandler::canRead):
3340 (ICOHandler::write):
3343 (ICOPlugin::capabilities):
3344 (ICOPlugin::create):
3345 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3346 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3347 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3348 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3349 (HoverLabel::HoverLabel):
3350 (HoverLabel::setHoverLink):
3351 (HoverLabel::sizeForFont):
3352 (HoverLabel::sizeHint):
3353 (HoverLabel::updateSize):
3354 (HoverLabel::resetAnimation):
3355 (HoverLabel::paintEvent):
3356 (HoverLabel::interpolate):
3357 (ClearButton::ClearButton):
3358 (ClearButton::paintEvent):
3359 (SearchEdit::SearchEdit):
3360 (SearchEdit::~SearchEdit):
3361 (SearchEdit::paintEvent):
3362 (SearchEdit::resizeEvent):
3363 (SearchEdit::moveEvent):
3364 (MainWindow::MainWindow):
3365 (MainWindow::changeLocation):
3366 (MainWindow::loadFinished):
3367 (MainWindow::showLinkHover):
3368 (MainWindow::resizeEvent):
3370 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3371 (WebCore::ChromeClientQt::ChromeClientQt):
3372 (WebCore::ChromeClientQt::~ChromeClientQt):
3373 (WebCore::ChromeClientQt::setWindowRect):
3374 (WebCore::ChromeClientQt::windowRect):
3375 (WebCore::ChromeClientQt::pageRect):
3376 (WebCore::ChromeClientQt::scaleFactor):
3377 (WebCore::ChromeClientQt::focus):
3378 (WebCore::ChromeClientQt::unfocus):
3379 (WebCore::ChromeClientQt::canTakeFocus):
3380 (WebCore::ChromeClientQt::takeFocus):
3381 (WebCore::ChromeClientQt::createWindow):
3382 (WebCore::ChromeClientQt::createModalDialog):
3383 (WebCore::ChromeClientQt::show):
3384 (WebCore::ChromeClientQt::canRunModal):
3385 (WebCore::ChromeClientQt::runModal):
3386 (WebCore::ChromeClientQt::setToolbarsVisible):
3387 (WebCore::ChromeClientQt::toolbarsVisible):
3388 (WebCore::ChromeClientQt::setStatusbarVisible):
3389 (WebCore::ChromeClientQt::statusbarVisible):
3390 (WebCore::ChromeClientQt::setScrollbarsVisible):
3391 (WebCore::ChromeClientQt::scrollbarsVisible):
3392 (WebCore::ChromeClientQt::setMenubarVisible):
3393 (WebCore::ChromeClientQt::menubarVisible):
3394 (WebCore::ChromeClientQt::setResizable):
3395 (WebCore::ChromeClientQt::addMessageToConsole):
3396 (WebCore::ChromeClientQt::chromeDestroyed):
3397 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3398 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3399 (WebCore::ChromeClientQt::closeWindowSoon):
3400 (WebCore::ChromeClientQt::runJavaScriptAlert):
3401 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3402 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3403 (WebCore::ChromeClientQt::setStatusbarText):
3404 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3405 (WebCore::ChromeClientQt::tabsToLinks):
3406 (WebCore::ChromeClientQt::windowResizerRect):
3407 (WebCore::ChromeClientQt::addToDirtyRegion):
3408 (WebCore::ChromeClientQt::scrollBackingStore):
3409 (WebCore::ChromeClientQt::updateBackingStore):
3410 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3411 (WebCore::ChromeClientQt::setToolTip):
3412 (WebCore::ChromeClientQt::print):
3413 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3414 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3415 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3416 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3417 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3418 (WebCore::ContextMenuClientQt::downloadURL):
3419 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3420 (WebCore::ContextMenuClientQt::speak):
3421 (WebCore::ContextMenuClientQt::stopSpeaking):
3422 (WebCore::ContextMenuClientQt::searchWithGoogle):
3423 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3424 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3425 (WebCore::DragClientQt::actionMaskForDrag):
3426 (WebCore::DragClientQt::willPerformDragDestinationAction):
3427 (WebCore::DragClientQt::dragControllerDestroyed):
3428 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3429 (WebCore::DragClientQt::willPerformDragSourceAction):
3430 (WebCore::DragClientQt::startDrag):
3431 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3432 (WebCore::DragClientQt::DragClientQt):
3433 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3434 (EditCommandQt::EditCommandQt):
3435 (EditCommandQt::~EditCommandQt):
3436 (EditCommandQt::redo):
3437 (EditCommandQt::undo):
3438 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3439 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3440 (WebCore::EditorClientQt::shouldDeleteRange):
3441 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3442 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3443 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3444 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3445 (WebCore::EditorClientQt::shouldBeginEditing):
3446 (WebCore::EditorClientQt::shouldEndEditing):
3447 (WebCore::EditorClientQt::shouldInsertText):
3448 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3449 (WebCore::EditorClientQt::shouldApplyStyle):
3450 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3451 (WebCore::EditorClientQt::didBeginEditing):
3452 (WebCore::EditorClientQt::respondToChangedContents):
3453 (WebCore::EditorClientQt::respondToChangedSelection):
3454 (WebCore::EditorClientQt::didEndEditing):
3455 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3456 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3457 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3458 (WebCore::EditorClientQt::isEditable):
3459 (WebCore::EditorClientQt::registerCommandForUndo):
3460 (WebCore::EditorClientQt::registerCommandForRedo):
3461 (WebCore::EditorClientQt::clearUndoRedoOperations):
3462 (WebCore::EditorClientQt::canUndo):
3463 (WebCore::EditorClientQt::canRedo):
3464 (WebCore::EditorClientQt::undo):
3465 (WebCore::EditorClientQt::redo):
3466 (WebCore::EditorClientQt::shouldInsertNode):
3467 (WebCore::EditorClientQt::pageDestroyed):
3468 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3469 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3470 (WebCore::EditorClientQt::toggleGrammarChecking):
3471 (WebCore::EditorClientQt::handleKeypress):
3472 (WebCore::EditorClientQt::handleInputMethodKeypress):
3473 (WebCore::EditorClientQt::EditorClientQt):
3474 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3475 (WebCore::EditorClientQt::textFieldDidEndEditing):
3476 (WebCore::EditorClientQt::textDidChangeInTextField):
3477 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3478 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3479 (WebCore::EditorClientQt::textDidChangeInTextArea):
3480 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3481 (WebCore::EditorClientQt::learnWord):
3482 (WebCore::EditorClientQt::checkSpellingOfString):
3483 (WebCore::EditorClientQt::checkGrammarOfString):
3484 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3485 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3486 (WebCore::EditorClientQt::showSpellingUI):
3487 (WebCore::EditorClientQt::spellingUIIsShowing):
3488 (WebCore::EditorClientQt::getGuessesForWord):
3489 (WebCore::EditorClientQt::isEditing):
3490 (WebCore::EditorClientQt::setInputMethodState):
3491 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3492 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3493 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3494 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3495 (WebCore::FrameLoaderClientQt::setFrame):
3496 (WebCore::FrameLoaderClientQt::webFrame):
3497 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3498 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3499 (WebCore::FrameLoaderClientQt::hasWebView):
3500 (WebCore::FrameLoaderClientQt::hasFrameView):
3501 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3502 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3503 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3504 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3505 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3506 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3507 (WebCore::FrameLoaderClientQt::makeDocumentView):
3508 (WebCore::FrameLoaderClientQt::makeRepresentation):
3509 (WebCore::FrameLoaderClientQt::forceLayout):
3510 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3511 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3512 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3513 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3514 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3515 (WebCore::FrameLoaderClientQt::willCloseDocument):
3516 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3517 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3518 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3519 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3520 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3521 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3522 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3523 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3524 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3525 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3526 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3527 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3528 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3529 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3530 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3531 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3532 (WebCore::FrameLoaderClientQt::dispatchShow):
3533 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3534 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3535 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3536 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3537 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3538 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3539 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3540 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3541 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3542 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3543 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3544 (WebCore::FrameLoaderClientQt::willChangeTitle):
3545 (WebCore::FrameLoaderClientQt::didChangeTitle):
3546 (WebCore::FrameLoaderClientQt::finishedLoading):
3547 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3548 (WebCore::FrameLoaderClientQt::setDefersLoading):
3549 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3550 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3551 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3552 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3553 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3554 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3555 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3556 (WebCore::FrameLoaderClientQt::restoreViewState):
3557 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3558 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3559 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3560 (WebCore::FrameLoaderClientQt::didFinishLoad):
3561 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3562 (WebCore::FrameLoaderClientQt::setTitle):
3563 (WebCore::FrameLoaderClientQt::userAgent):
3564 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3565 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3566 (WebCore::FrameLoaderClientQt::canHandleRequest):
3567 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3568 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3569 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3570 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3571 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3572 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3573 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3574 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3575 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3576 (WebCore::FrameLoaderClientQt::canCachePage):
3577 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3578 (WebCore::FrameLoaderClientQt::committedLoad):
3579 (WebCore::FrameLoaderClientQt::cancelledError):
3580 (WebCore::FrameLoaderClientQt::blockedError):
3581 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3582 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3583 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3584 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3585 (WebCore::FrameLoaderClientQt::shouldFallBack):
3586 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3587 (WebCore::FrameLoaderClientQt::download):
3588 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3589 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3590 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3591 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3592 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3593 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3594 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3595 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3596 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3597 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3598 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3599 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3600 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3601 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3602 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3603 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3604 (WebCore::FrameLoaderClientQt::startDownload):
3605 (WebCore::FrameLoaderClientQt::willUseArchive):
3606 (WebCore::FrameLoaderClientQt::createFrame):
3607 (WebCore::FrameLoaderClientQt::objectContentType):
3609 (WebCore::FrameLoaderClientQt::createPlugin):
3610 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3611 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3612 (WebCore::FrameLoaderClientQt::overrideMediaType):
3613 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3614 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3615 (WebCore::InspectorClientQt::inspectorDestroyed):
3616 (WebCore::InspectorClientQt::createPage):
3617 (WebCore::InspectorClientQt::showWindow):
3618 (WebCore::InspectorClientQt::closeWindow):
3619 (WebCore::InspectorClientQt::attachWindow):
3620 (WebCore::InspectorClientQt::detachWindow):
3621 (WebCore::InspectorClientQt::highlight):
3622 (WebCore::InspectorClientQt::hideHighlight):
3623 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3624 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3625 (WebKitFactory::WebKitFactory):
3626 (WebKitFactory::~WebKitFactory):
3627 (WebKitFactory::createPartObject):
3628 (WebKitFactory::instance):
3629 (WebKitFactory::ref):
3630 (WebKitFactory::deref):
3631 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3632 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3633 (WebKitPart::WebKitPart):
3634 (WebKitPart::~WebKitPart):
3635 (WebKitPart::openFile):
3636 (WebKitPart::openUrl):
3637 (WebKitPart::closeUrl):
3638 (WebKitPart::parentPart):
3639 (WebKitPart::frame):
3640 (WebKitPart::initView):
3641 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3642 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3644 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3645 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3646 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3647 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3648 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3649 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3650 (WebKitPartClient::WebKitPartClient):
3651 (WebKitPartClient::~WebKitPartClient):
3652 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3653 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3654 (WebKitPartInterface::WebKitPartInterface):
3655 (WebKitPartInterface::~WebKitPartInterface):
3656 (WebKitPartInterface::url):
3657 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3658 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3660 2007-10-02 Adam Treat <treat@kde.org>
3662 Reviewed by Eric Seidel.
3664 Open the requested url on the newly created window.
3665 Implement createModalDialog and provide new API for this.
3666 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3669 (QWebPage::createModalDialog):
3671 * WebCoreSupport/ChromeClientQt.cpp:
3672 (WebCore::ChromeClientQt::createWindow):
3673 (WebCore::ChromeClientQt::createModalDialog):
3675 2007-10-02 Lars Knoll <lars@trolltech.com>
3679 Add API to retrieve the frame name from QWebFrame.
3680 Implement support for DRT::dumpChildrenAsText.
3682 * Api/qwebframe.cpp:
3686 2007-10-02 Lars Knoll <lars@trolltech.com>
3690 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3692 * Api/qwebnetworkinterface.cpp: