1 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Do not store the QWebFrame associated with a ScrollView/FrameView
6 in the WebCore::Widget.
7 * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core
8 and QWebFramePrivate::kit function to convert from and to QWebFrame.
12 (QWebFramePrivate::init):
14 (QWebPagePrivate::createMainFrame):
16 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
20 * Do not store the FrameView in the QWebFrame and cope with the situation when
21 a WebCore::Frame has no WebCore::FrameView.
25 (QWebFramePrivate::init):
26 (QWebFramePrivate::horizontalScrollBar):
27 (QWebFramePrivate::verticalScrollBar):
28 (QWebFrame::innerText):
29 (QWebFrame::renderTreeDump):
30 (QWebFrame::setVerticalScrollBarPolicy):
31 (QWebFrame::setHorizontalScrollBarPolicy):
36 (QWebFramePrivate::QWebFramePrivate):
38 (QWebPagePrivate::updateEditorActions):
39 (QWebPagePrivate::mouseMoveEvent):
40 (QWebPagePrivate::mousePressEvent):
41 (QWebPagePrivate::mouseDoubleClickEvent):
42 (QWebPagePrivate::contextMenuEvent):
43 (QWebPagePrivate::wheelEvent):
44 (QWebPage::triggerAction):
45 * WebCoreSupport/FrameLoaderClientQt.cpp:
47 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
51 * Change the order of the methods to match with the FrameLoaderClient.h to ease
52 removing methods in the future.
54 * WebCoreSupport/FrameLoaderClientQt.h:
56 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
60 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
62 * WebCoreSupport/FrameLoaderClientQt.cpp:
63 (WebCore::FrameLoaderClientQt::detachedFromParent4):
64 * WebCoreSupport/FrameLoaderClientQt.h:
66 2008-03-25 Brady Eidson <beidson@apple.com>
70 Remove newly obsolete FrameLoaderClient methods
72 * WebCoreSupport/FrameLoaderClientQt.cpp:
73 * WebCoreSupport/FrameLoaderClientQt.h:
75 2008-03-22 Mark Rowe <mrowe@apple.com>
79 * WebCoreSupport/FrameLoaderClientQt.cpp:
82 2008-03-18 Simon Hausmann <hausmann@webkit.org>
86 Fix the Qt build. Don't return void in non-void functions.
88 * Api/qwebpluginfactory.cpp:
89 (QWebPluginFactory::extension):
91 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
95 Don't use RefPtr in classes you haven't seen the implementation of.
97 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
98 cannot *use* said objects until Foo is defined. This is true even for
99 initialisation with a 0.
101 Seems the HP aCC compiler is more strict here than gcc.
105 2008-03-14 Simon Hausmann <hausmann@webkit.org>
110 (QWebFrame::setHtml):
111 (QWebFrame::setContent):
113 2008-03-13 Simon Hausmann <hausmann@webkit.org>
118 (QWebFrame::addToJSWindowObject):
120 2008-03-12 Simon Hausmann <hausmann@webkit.org>
122 Fix compilation against Qt 4.3
128 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
132 * WebCoreSupport/FrameLoaderClientQt.cpp:
133 (FrameLoaderClientQt::CreatePlugin):
135 2008-03-11 Simon Hausmann <hausmann@webkit.org>
137 Fix the Qt build (silly typo).
139 * QtLauncher/main.cpp:
140 (MainWindow::MainWindow):
142 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
146 Moved obscuring progress bar to the lower right corner.
148 * QtLauncher/main.cpp:
149 (MainWindow::MainWindow):
150 (MainWindow::resizeEvent):
152 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
156 Added reload action and grouped stop and reload actions together.
158 * QtLauncher/main.cpp:
159 (MainWindow::MainWindow):
161 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
165 * Set a Icon on the QAction if we have one.
170 2008-03-11 Simon Hausmann <hausmann@webkit.org>
175 (QWebFrame::addToJSWindowObject):
177 2008-03-07 Simon Hausmann <hausmann@webkit.org>
183 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
185 * Api/qwebnetworkinterface.cpp:
186 (QWebNetworkManager::add):
187 (QWebNetworkManager::cancel):
188 (QWebNetworkManager::started):
189 (QWebNetworkManager::data):
190 (QWebNetworkManager::finished):
191 * Api/qwebnetworkinterface_p.h:
192 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
193 * Api/qwebobjectplugin.cpp: Removed.
194 * Api/qwebobjectplugin.h: Removed.
195 * Api/qwebobjectplugin_p.h: Removed.
196 * Api/qwebobjectpluginconnector.cpp: Removed.
197 * Api/qwebobjectpluginconnector.h: Removed.
199 (QWebPagePrivate::QWebPagePrivate):
200 (QWebPage::setPluginFactory):
201 (QWebPage::pluginFactory):
204 * Api/qwebpluginfactory.cpp: Added.
205 (QWebPluginFactory::QWebPluginFactory):
206 (QWebPluginFactory::~QWebPluginFactory):
207 (QWebPluginFactory::refreshPlugins):
208 (QWebPluginFactory::extension):
209 * Api/qwebpluginfactory.h: Added.
211 * WebCoreSupport/FrameLoaderClientQt.cpp:
212 (WebCore::FrameLoaderClientQt::objectContentType):
213 (WebCore::FrameLoaderClientQt::createPlugin):
215 2008-03-07 Simon Hausmann <hausmann@webkit.org>
221 2008-03-04 Sam Weinig <sam@webkit.org>
223 Reviewed by Mark Rowe.
225 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
229 (QWebFrame::addToJSWindowObject):
231 2008-03-04 Mark Rowe <mrowe@apple.com>
233 Another go at fixing the Qt build.
236 (QWebFrame::addToJSWindowObject):
238 2008-02-24 Darin Adler <darin@apple.com>
242 - remove separate client calls for "standard" and "reload' history
244 * WebCoreSupport/FrameLoaderClientQt.cpp:
245 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
246 * WebCoreSupport/FrameLoaderClientQt.h:
248 2008-02-24 Darin Adler <darin@apple.com>
250 - another try at fixing the build
253 (QWebFrame::load): Replace new FormData with FormData::create.
255 2008-02-22 Sam Weinig <sam@webkit.org>
259 * Api/qwebhistoryinterface.cpp:
261 2008-02-22 Sam Weinig <sam@webkit.org>
263 Rubber-stamped by Adam Roben.
265 Rid the project of the Devil known as DeprecatedString!
267 * Api/qwebhistory.cpp:
268 * Api/qwebhistoryinterface.cpp:
270 2008-02-18 Darin Adler <darin@apple.com>
274 * Api/qwebnetworkinterface.cpp:
275 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
277 2008-01-24 David Boddie <dboddie@trolltech.com>
281 Documentation tidying.
285 * Api/qwebhistoryinterface.cpp:
288 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
292 Text for translations were used wrongly as comments
295 * WebCoreSupport/FrameLoaderClientQt.cpp:
297 (WebCore::FrameLoaderClientQt::cannotShowURLError):
298 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
299 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
300 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
301 (WebCore::FrameLoaderClientQt::shouldFallBack):
303 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
307 * We have a KURL->QUrl conversion on KURL itself, make use of it.
308 * This conversion is supposed to be loss-free
313 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
315 * Rubber stamped by Simon
317 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
318 This was found while working on the page-cache, other ports are not affected.
320 * WebCoreSupport/FrameLoaderClientQt.cpp:
321 (WebCore::FrameLoaderClientQt::createFrame):
323 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
325 Reviewed by Simon Hausmann <hausmann@webkit.org>.
327 Fix Qtopia compilation with QT_NO_TOOLTIP
330 * WebCoreSupport/ChromeClientQt.cpp:
331 (WebCore::ChromeClientQt::print):
333 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
337 Doc: Replaced \code with snippets in the docs
342 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
346 Tweak key presses even to match commonly expected behavior
347 - space key == page down
348 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
349 - Use font height rather then a hard coded "10" for left, right, up, down
350 - Ctrl-Up moves to the top of the page
351 - Ctrl-Down move to the bottom of the page
352 - Backspace == GoBack
353 - Shift-Backspace == GoForward
357 (dropActionToDragOp):
358 (dragOpToDropAction):
359 (QWebPagePrivate::keyPressEvent):
361 2008-01-23 Simon Hausmann <hausmann@webkit.org>
365 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
367 Added two signals to QWebPage to handle downloading of links and handling of
372 (QWebPage::triggerAction):
374 * WebCoreSupport/FrameLoaderClientQt.cpp:
375 (WebCore::FrameLoaderClientQt::download):
376 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
377 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
378 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
379 (WebCore::FrameLoaderClientQt::willUseArchive):
381 2008-01-22 Lars Knoll <lars@trolltech.com>
385 setup a family for cursive and fantasy fonts as well.
388 * Api/qwebsettings.cpp:
389 (QWebSettings::QWebSettings):
391 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
395 Implement ChromeClientQt::setToolTip
396 Implement ChromeClientQt::mouseDidMoveOverElement
401 * WebCoreSupport/ChromeClientQt.cpp:
402 (WebCore::ChromeClientQt::ChromeClientQt):
403 (WebCore::ChromeClientQt::focus):
404 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
405 (WebCore::ChromeClientQt::setToolTip):
406 (WebCore::ChromeClientQt::print):
407 * WebCoreSupport/ChromeClientQt.h:
409 2008-01-21 Darin Adler <darin@apple.com>
411 Reviewed by John Sullivan.
413 - updated for changes to ChromeClient database functions
415 * WebCoreSupport/ChromeClientQt.cpp:
416 (WebCore::ChromeClientQt::exceededDatabaseQuota):
417 * WebCoreSupport/ChromeClientQt.h:
419 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
423 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
426 * Api/qwebhistoryinterface.h:
428 2008-01-21 Adam Treat <treat@kde.org>
432 * Don't leak the d-pointer in QWebSettings.
435 * Api/qwebsettings.cpp:
436 (QWebSettings::~QWebSettings):
438 2008-01-21 Simon Hausmann <hausmann@webkit.org>
442 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
444 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
449 2008-01-21 Simon Hausmann <hausmann@webkit.org>
453 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
455 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
456 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
457 and make the return value depend on whether we successfully determined a focusable
459 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
460 if we could not handle the focus chain ourselves.
461 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
462 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
463 used to control the situation of stepping out of the focus chain inside the page.
464 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
465 The layout tests expect this to be disabled but for the user it seems sensible to have it
466 on by default, hence the default in qwebsettings.cpp
470 (QWebPage::focusNextPrevChild):
471 * Api/qwebsettings.cpp:
472 (QWebSettings::QWebSettings):
473 * Api/qwebsettings.h:
475 (QWebView::QWebView):
476 (QWebView::focusNextPrevChild):
477 * WebCoreSupport/ChromeClientQt.cpp:
478 (WebCore::ChromeClientQt::canTakeFocus):
479 (WebCore::ChromeClientQt::takeFocus):
481 2008-01-18 Simon Hausmann <hausmann@webkit.org>
485 Coding style fixes and added a comment about the include order.
489 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
491 Reviewed by Simon Hausmann <hausmann@webkit.org>.
493 Add use of precompiled header, when building inside Qt.
495 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.
498 * WebKit_pch.h: Added.
500 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
504 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
505 we will see a crash in a HashSet.
506 * It is crashing there because the StringImpl of an empty String is 0.
507 * We avoid this crash by checking for isEmpty() in WebKit as there is no
508 use to ask the iconDatabase for an empty string. We will fallback to the
515 2008-01-17 Simon Hausmann <hausmann@webkit.org>
519 Minor documentation fixes
525 2008-01-17 Simon Hausmann <shausman@trolltech.com>
529 Fix form elements not focusing correctly after the qt widget lost its focus.
531 When receiving a focus out event notify the focus controller. Otherwise its
532 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
533 event shortcuts and doesn't call setActive(true).
538 2008-01-17 Simon Hausmann <shausman@trolltech.com>
542 Lots of updates to the documentation.
546 * Api/qwebhistory.cpp:
548 (QWebPagePrivate::dropEvent):
551 (QWebPage::triggerAction):
552 (QWebPage::viewportSize):
553 (QWebPage::navigationRequested):
556 (QWebPageContext::targetFrame):
560 2008-01-17 Simon Hausmann <shausman@trolltech.com>
564 Added a urlChanged signals to QWebFrame and QWebView.
572 * WebCoreSupport/FrameLoaderClientQt.cpp:
574 2008-01-17 Simon Hausmann <shausman@trolltech.com>
578 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
581 * Api/qwebsettings.cpp:
582 (QWebSettings::setIconDatabaseEnabled):
584 2008-01-17 Simon Hausmann <shausman@trolltech.com>
588 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
592 (QWebPage::createWindow):
594 (QWebView::createWindow):
597 2008-01-17 Lars Knoll <lars@trolltech.com>
601 add a 0 pointer check.
603 Fixes a crash in the demo web browser.
605 * WebCoreSupport/FrameLoaderClientQt.cpp:
606 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
608 2008-01-17 Simon Hausmann <hausmann@webkit.org>
612 Fix QWebFrame::title().
614 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
615 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
621 2008-01-17 Simon Hausmann <hausmann@webkit.org>
623 Reviewed by Maciej, Lars, Holger.
625 http://bugs.webkit.org/show_bug.cgi?id=16589
627 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
629 * Api/qwebnetworkinterface.cpp:
630 (QWebNetworkRequestPrivate::init):
631 (QWebNetworkManager::started):
633 2008-01-17 Warwick Allison <warwick@trolltech.com>
635 Reviewed by Simon Hausmann <hausmann@webkit.org>.
637 Follow QWidget::keyPressEvent advice and call parents.
639 Without this, Back does not work in Qtopia, for example.
643 (QWebView::keyPressEvent):
644 (QWebView::keyReleaseEvent):
646 2008-01-17 Simon Hausmann <hausmann@webkit.org>
650 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
652 * Api/qwebnetworkinterface.cpp:
653 (QWebNetworkManager::started):
655 2008-01-17 Simon Hausmann <shausman@trolltech.com>
659 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
664 * WebCoreSupport/FrameLoaderClientQt.cpp:
666 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
668 Reviewed by Simon Hausmann <hausmann@webkit.org>.
670 Fixes compilation with QT_NO_DRAGANDDROP
676 (QWebView::dragEnterEvent):
677 (QWebView::dragLeaveEvent):
678 (QWebView::dragMoveEvent):
679 (QWebView::dropEvent):
681 2008-01-17 Simon Hausmann <hausmann@webkit.org>
685 Fix compilation, removed obsolete privateBrowsingEnabled() method.
687 * WebCoreSupport/FrameLoaderClientQt.cpp:
689 2008-01-16 Lars Knoll <lars@trolltech.com>
691 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
693 Removed a whole bunch of notImplemented() warnings.
695 I don't want to hide the real warnings in lots of things that
696 I am by now pretty certain we won't need.
699 * WebCoreSupport/FrameLoaderClientQt.cpp:
700 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
701 (WebCore::FrameLoaderClientQt::canShowMIMEType):
703 2008-01-16 Simon Hausmann <hausmann@webkit.org>
707 Fix crash when bringing up the context menu on maps.google.com.
709 If the website provides its own context menu then we don't have a ContextMenu pointer.
713 (QWebPagePrivate::contextMenuEvent):
715 2008-01-16 Simon Hausmann <hausmann@webkit.org>
719 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
722 (QWebView::mouseMoveEvent):
723 (QWebView::mousePressEvent):
724 (QWebView::mouseDoubleClickEvent):
725 (QWebView::mouseReleaseEvent):
726 (QWebView::contextMenuEvent):
727 (QWebView::wheelEvent):
728 (QWebView::keyPressEvent):
729 (QWebView::keyReleaseEvent):
730 (QWebView::focusInEvent):
731 (QWebView::focusOutEvent):
732 (QWebView::dragEnterEvent):
733 (QWebView::dragLeaveEvent):
734 (QWebView::dragMoveEvent):
735 (QWebView::dropEvent):
736 (QWebView::focusNextPrevChild):
738 2008-01-16 Simon Hausmann <hausmann@webkit.org>
742 Made the url property read-write.
746 2008-01-16 Simon Hausmann <hausmann@webkit.org>
750 Don't crash when showing a default initialized QWebView that has no page/frame yet.
753 (QWebView::paintEvent):
755 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
759 Change hoveringOverLink implementation to have less issues.
761 * Currently we only compare a pointer. In the worst case we
762 could delete the Element we have pointed to and a new one
763 gets the same address. But even if that doesn't happen the
764 WebCore::Element is mutable and JavaScript could change the
765 URL, Title or Content. So we have to compare all these three
767 * This does not seem to be a performance impact.
771 (QWebPagePrivate::mouseMoveEvent):
774 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
778 * Move the hoverElement from QWebFrame to QWebPage. As it is
783 (QWebFramePrivate::QWebFramePrivate):
785 (QWebPagePrivate::mouseMoveEvent):
788 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
792 EventHandler changes/fixes in QWebPage:
793 -mouse{Press,Move,Release}Event:
794 Send the event always to the mainFrame of the QWebPage.
796 -contextMenuEvent, key{Press,Release}Event:
797 Send the event to the focused frame.
799 This is following the Windows port and fixes a issue with the
800 Web Inspector where we were sending the events to a wrong frame.
802 It is guaranteed that the mainFrame will always have an eventHandler
803 and frameView set. There is no need to check for this in QWebPage.
807 (QWebFramePrivate::init):
809 (QWebFramePrivate::QWebFramePrivate):
811 (QWebPagePrivate::updateEditorActions):
812 (QWebPagePrivate::mouseMoveEvent):
813 (QWebPagePrivate::mousePressEvent):
814 (QWebPagePrivate::mouseDoubleClickEvent):
815 (QWebPagePrivate::mouseReleaseEvent):
816 (QWebPagePrivate::contextMenuEvent):
817 (QWebPagePrivate::wheelEvent):
818 (QWebPagePrivate::keyPressEvent):
819 (QWebPagePrivate::keyReleaseEvent):
820 (QWebPagePrivate::focusInEvent):
823 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
827 * Add core and kit functions to QWebFramePrivate to convert from
828 QWebFrame to WebCore::Frame and vice versa.
832 (QWebFramePrivate::core):
833 (QWebFramePrivate::kit):
837 2008-01-16 Lars Knoll <lars@trolltech.com>
841 add conversion methods from and to QUrl to KURL.
843 Use them in the places I found at the moment. Fixes a bug
844 where form data was encoded twice.
845 Also fix QWebSettings to take a QUrl for the user style sheet
852 (QWebPage::createPlugin):
854 (QWebPage::triggerAction):
855 * Api/qwebsettings.cpp:
856 (QWebSettingsPrivate::apply):
857 * Api/qwebsettings.h:
858 * WebCoreSupport/ChromeClientQt.cpp:
859 (WebCore::ChromeClientQt::createWindow):
860 (WebCore::ChromeClientQt::show):
862 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
866 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
867 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
868 the QWebPage/WebInspector automatically.
871 * WebCoreSupport/InspectorClientQt.cpp:
872 (WebCore::InspectorClientWebPage::createWindow):
873 (WebCore::InspectorClientView::InspectorClientView):
875 2008-01-10 Maciej Stachowiak <mjs@apple.com>
879 - remove SecurityOriginData and fold its functionality into SecurityOrigin
881 * WebCoreSupport/ChromeClientQt.cpp:
882 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
883 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
884 * WebCoreSupport/ChromeClientQt.h:
886 2008-01-10 Lars Knoll <lars@trolltech.com>
893 * Api/qwebhistory.cpp:
894 (QWebHistoryItem::QWebHistoryItem):
895 (QWebHistoryItem::operator=):
896 (QWebHistoryItem::~QWebHistoryItem):
897 (QWebHistoryItem::originalUrl):
898 (QWebHistoryItem::currentUrl):
899 (QWebHistoryItem::title):
900 (QWebHistoryItem::icon):
901 (QWebHistory::canGoBack):
902 (QWebHistory::canGoForward):
903 (QWebHistory::goBack):
904 (QWebHistory::goForward):
905 (QWebHistory::goToItem):
908 2008-01-10 Simon Hausmann <hausmann@webkit.org>
912 Make the reset() functions not do anything on the default QWebSettings object.
915 * Api/qwebsettings.cpp:
916 (QWebSettings::resetFontSize):
917 (QWebSettings::resetFontFamily):
918 (QWebSettings::clearAttribute):
920 2008-01-10 Lars Knoll <lars@trolltech.com>
924 rename QWebPageHistory to QWebHistory.
927 * Api/qwebhistory.cpp: Added.
928 (QWebHistoryItem::QWebHistoryItem):
929 (QWebHistoryItem::operator=):
930 (QWebHistoryItem::~QWebHistoryItem):
931 (QWebHistoryItem::originalUrl):
932 (QWebHistoryItem::currentUrl):
933 (QWebHistoryItem::title):
934 (QWebHistoryItem::lastVisited):
935 (QWebHistoryItem::icon):
936 (QWebHistory::QWebHistory):
937 (QWebHistory::~QWebHistory):
938 (QWebHistory::clear):
939 (QWebHistory::items):
940 (QWebHistory::backItems):
941 (QWebHistory::forwardItems):
942 (QWebHistory::canGoBack):
943 (QWebHistory::canGoForward):
944 (QWebHistory::goBack):
945 (QWebHistory::goForward):
946 (QWebHistory::goToItem):
947 (QWebHistory::backItem):
948 (QWebHistory::currentItem):
949 (QWebHistory::forwardItem):
950 (QWebHistory::itemAtIndex):
951 * Api/qwebhistory.h: Added.
952 * Api/qwebhistory_p.h: Added.
953 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
954 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
955 (QWebHistoryPrivate::QWebHistoryPrivate):
956 (QWebHistoryPrivate::~QWebHistoryPrivate):
958 (QWebPagePrivate::QWebPagePrivate):
961 * Api/qwebpagehistory.cpp: Removed.
962 * Api/qwebpagehistory.h: Removed.
963 * Api/qwebpagehistory_p.h: Removed.
967 2008-01-10 Simon Hausmann <hausmann@webkit.org>
971 Documentation for QWebSettings
974 * Api/qwebsettings.cpp:
975 (QWebSettings::~QWebSettings):
976 (QWebSettings::setFontSize):
977 (QWebSettings::resetFontSize):
978 (QWebSettings::setUserStyleSheetLocation):
979 (QWebSettings::userStyleSheetLocation):
980 (QWebSettings::iconDatabaseEnabled):
981 (QWebSettings::webGraphic):
982 (QWebSettings::setFontFamily):
983 (QWebSettings::resetFontFamily):
984 (QWebSettings::setAttribute):
986 2008-01-10 Lars Knoll <lars@trolltech.com>
990 Document QWebHistoryInterface.
993 * Api/qwebhistoryinterface.cpp:
994 (QWebHistoryInterface::defaultInterface):
995 (QWebHistoryInterface::~QWebHistoryInterface):
997 2008-01-10 Lars Knoll <lars@trolltech.com>
1001 Documentation for QWebFrame.
1004 * Api/qwebframe.cpp:
1008 (QWebFrame::setHtml):
1009 (QWebFrame::parentFrame):
1010 (QWebFrame::render):
1012 (QWebFrame::geometry):
1014 * Api/qwebframe_p.h:
1016 2008-01-10 Lars Knoll <lars@trolltech.com>
1020 fix the drawing errors that where introduced due to refactoring.
1022 Correctly clip to the rectangle we want to draw in ScrollView::paint().
1025 * Api/qwebframe.cpp:
1026 (QWebFrame::render):
1029 (QWebView::paintEvent):
1030 * WebCoreSupport/ChromeClientQt.cpp:
1031 (WebCore::ChromeClientQt::scrollBackingStore):
1033 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1037 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
1041 (QWebPagePrivate::dropEvent):
1042 (QWebPage::QWebPage):
1043 (QWebPage::~QWebPage):
1044 (QWebPage::mainFrame):
1045 (QWebPage::currentFrame):
1046 (QWebPage::history):
1047 (QWebPage::setView):
1049 (QWebPage::javaScriptConsoleMessage):
1050 (QWebPage::javaScriptAlert):
1051 (QWebPage::javaScriptConfirm):
1052 (QWebPage::javaScriptPrompt):
1053 (QWebPage::createWindow):
1054 (QWebPage::createModalDialog):
1056 (QWebPage::triggerAction):
1057 (QWebPage::viewportSize):
1058 (QWebPage::navigationRequested):
1059 (QWebPage::selectedText):
1060 (QWebPage::isModified):
1061 (QWebPage::focusNextPrevChild):
1062 (QWebPage::settings):
1063 (QWebPage::networkProxy):
1064 (QWebPage::setNetworkAccessManager):
1065 (QWebPage::networkAccessManager):
1066 (QWebPagePrivate::_q_onLoadProgressChanged):
1069 2008-01-07 Holger Freyther <zecke@selfish.org>
1071 Reviewed by Alp Toker.
1073 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
1075 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
1076 * Update the ContextMenuController to accept CheckableActionTypes as well.
1077 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
1078 was extracted from ContextMenu::checkOrEnableIfNeeded.
1079 * Update the Qt and Windows port.
1082 (QWebPagePrivate::createContextMenu):
1084 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1086 Build fix for the Windows build. MSVC wants to see the full
1087 declaration of arguments even when just passing them through.
1091 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1095 Added the missing parameters to make it possible to do POST operations from the public API.
1097 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1098 two extra arguments were in QNetworkRequest :-/
1101 * Api/qwebframe.cpp:
1108 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1112 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1115 * Api/qwebframe.cpp:
1118 * Api/qwebnetworkinterface.cpp:
1119 * Api/qwebnetworkinterface.h:
1120 * Api/qwebnetworkinterface_p.h:
1121 * Api/qwebobjectplugin.cpp:
1122 * Api/qwebobjectplugin.h:
1123 * Api/qwebobjectplugin_p.h:
1124 * Api/qwebobjectpluginconnector.cpp:
1125 * Api/qwebobjectpluginconnector.h:
1127 (QWebPagePrivate::QWebPagePrivate):
1128 (QWebPagePrivate::~QWebPagePrivate):
1129 (QWebPagePrivate::navigationRequested):
1130 (QWebPage::setNetworkInterface):
1131 (QWebPage::networkInterface):
1132 (QWebPage::setNetworkAccessManager):
1133 (QWebPage::networkAccessManager):
1138 * WebCoreSupport/FrameLoaderClientQt.cpp:
1139 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1140 (WebCore::FrameLoaderClientQt::objectContentType):
1141 (WebCore::FrameLoaderClientQt::createPlugin):
1143 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1147 * Move the QWebPagePrivate methods up to the other private ones
1150 (dropActionToDragOp):
1151 (dragOpToDropAction):
1152 (QWebPagePrivate::mouseMoveEvent):
1153 (QWebPagePrivate::mousePressEvent):
1154 (QWebPagePrivate::mouseDoubleClickEvent):
1155 (QWebPagePrivate::mouseReleaseEvent):
1156 (QWebPagePrivate::contextMenuEvent):
1157 (QWebPagePrivate::wheelEvent):
1158 (QWebPagePrivate::keyPressEvent):
1159 (QWebPagePrivate::keyReleaseEvent):
1160 (QWebPagePrivate::focusInEvent):
1161 (QWebPagePrivate::focusOutEvent):
1162 (QWebPagePrivate::dragEnterEvent):
1163 (QWebPagePrivate::dragLeaveEvent):
1164 (QWebPagePrivate::dragMoveEvent):
1165 (QWebPagePrivate::dropEvent):
1166 (QWebPage::focusNextPrevChild):
1168 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1172 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1176 (dragOpToDropAction):
1178 (QWebView::mouseMoveEvent):
1179 (QWebView::mousePressEvent):
1180 (QWebView::mouseDoubleClickEvent):
1181 (QWebView::mouseReleaseEvent):
1182 (QWebView::contextMenuEvent):
1183 (QWebView::keyPressEvent):
1184 (QWebView::keyReleaseEvent):
1185 (QWebView::focusInEvent):
1186 (QWebView::focusOutEvent):
1187 (QWebView::dragEnterEvent):
1188 (QWebView::dragLeaveEvent):
1189 (QWebView::dragMoveEvent):
1190 (QWebView::dropEvent):
1192 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1196 * This layout is not needed anymore as Widget::invalidateRect will not
1201 (QWebView::paintEvent):
1203 2008-01-04 Lars Knoll <lars@trolltech.com>
1207 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1209 This also brings the code closer in line with the Windows code. Seems
1210 to work nicely on first try :)
1213 * WebCoreSupport/ChromeClientQt.cpp:
1214 (WebCore::ChromeClientQt::updateBackingStore):
1215 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1216 (WebCore::ChromeClientQt::setToolTip):
1217 * WebCoreSupport/FrameLoaderClientQt.cpp:
1218 (WebCore::FrameLoaderClientQt::createPlugin):
1220 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1224 * Remove the todo from QWebPage and move the code to QWebView.
1228 (QWebPagePrivate::wheelEvent):
1229 (QWebPagePrivate::focusInEvent):
1231 (QWebView::wheelEvent):
1232 (QWebView::focusInEvent):
1234 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1238 * Move the various event methods to QWebPagePrivate. This is similar to
1239 QTextControl as well.
1244 (QWebPagePrivate::mouseMoveEvent):
1245 (QWebPagePrivate::mousePressEvent):
1246 (QWebPagePrivate::mouseDoubleClickEvent):
1247 (QWebPagePrivate::mouseReleaseEvent):
1248 (QWebPagePrivate::contextMenuEvent):
1249 (QWebPagePrivate::wheelEvent):
1250 (QWebPagePrivate::keyPressEvent):
1251 (QWebPagePrivate::keyReleaseEvent):
1252 (QWebPagePrivate::focusInEvent):
1253 (QWebPagePrivate::focusOutEvent):
1254 (QWebPage::focusNextPrevChild):
1255 (QWebPagePrivate::dragEnterEvent):
1256 (QWebPagePrivate::dragLeaveEvent):
1257 (QWebPagePrivate::dragMoveEvent):
1258 (QWebPagePrivate::dropEvent):
1262 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1266 * Forward the event from QWebView to QWebPage through QObject::event. This
1267 is similar to the way QTextControl is working.
1271 (dragOpToDropAction):
1275 (QWebView::mouseMoveEvent):
1276 (QWebView::mousePressEvent):
1277 (QWebView::mouseDoubleClickEvent):
1278 (QWebView::mouseReleaseEvent):
1279 (QWebView::contextMenuEvent):
1280 (QWebView::wheelEvent):
1281 (QWebView::keyPressEvent):
1282 (QWebView::keyReleaseEvent):
1283 (QWebView::focusInEvent):
1284 (QWebView::focusOutEvent):
1285 (QWebView::dragEnterEvent):
1286 (QWebView::dragLeaveEvent):
1287 (QWebView::dragMoveEvent):
1288 (QWebView::dropEvent):
1291 2008-01-04 Lars Knoll <lars@trolltech.com>
1295 make QWebPage a QObject and get things to compile.
1297 Nothing works currently though.
1300 * Api/qwebobjectpluginconnector.cpp:
1302 (QWebPagePrivate::QWebPagePrivate):
1303 (QWebPagePrivate::createMainFrame):
1304 (QWebPage::QWebPage):
1305 (QWebPage::setView):
1307 (QWebPage::javaScriptAlert):
1308 (QWebPage::javaScriptPrompt):
1309 (dragOpToDropAction):
1310 (QWebPage::mousePressEvent):
1311 (QWebPage::mouseDoubleClickEvent):
1312 (QWebPage::mouseReleaseEvent):
1313 (QWebPage::wheelEvent):
1314 (QWebPage::keyPressEvent):
1315 (QWebPage::focusInEvent):
1319 (QWebView::QWebView):
1320 (QWebView::setPage):
1321 (QWebView::resizeEvent):
1322 (QWebView::paintEvent):
1324 * WebCoreSupport/ChromeClientQt.cpp:
1325 (WebCore::ChromeClientQt::windowRect):
1326 (WebCore::ChromeClientQt::pageRect):
1327 (WebCore::ChromeClientQt::focus):
1328 (WebCore::ChromeClientQt::unfocus):
1329 (WebCore::ChromeClientQt::canTakeFocus):
1330 (WebCore::ChromeClientQt::takeFocus):
1331 (WebCore::ChromeClientQt::canRunModal):
1332 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1333 * WebCoreSupport/DragClientQt.cpp:
1334 (WebCore::DragClientQt::startDrag):
1335 * WebCoreSupport/FrameLoaderClientQt.cpp:
1336 (WebCore::FrameLoaderClientQt::createPlugin):
1337 * WebCoreSupport/InspectorClientQt.cpp:
1338 (WebCore::InspectorClientWebPage::createWindow):
1339 (WebCore::InspectorClientView::InspectorClientView):
1340 (WebCore::InspectorClientView::page):
1341 (WebCore::InspectorClientView::hideEvent):
1342 (WebCore::InspectorClientView::closeEvent):
1343 (WebCore::InspectorClientQt::createPage):
1344 (WebCore::InspectorClientQt::closeWindow):
1346 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1350 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1354 (QWebView::setHtml):
1355 (QWebView::setContent):
1356 (QWebView::history):
1357 (QWebView::settings):
1359 (QWebView::triggerAction):
1361 (QWebView::backward):
1362 (QWebView::forward):
1366 2008-01-04 Lars Knoll <lars@trolltech.com>
1370 add a viewportSize to QWebPage.
1372 This is required to eventually make it a QObject only.
1376 (QWebPage::triggerAction):
1377 (QWebPage::viewportSize):
1378 (QWebPage::setViewportSize):
1381 2008-01-04 Lars Knoll <lars@trolltech.com>
1385 take a QString as identifier in QWebFrame::addToJSWindowObject.
1387 * Api/qwebframe.cpp:
1388 (QWebFrame::addToJSWindowObject):
1391 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1395 Call the frame arguments for the javascript callbacks "originatingFrame"
1400 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1404 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1407 * Api/qwebhistoryinterface.h:
1409 * WebCoreSupport/FrameLoaderClientQt.cpp:
1410 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1412 2008-01-04 Lars Knoll <lars@trolltech.com>
1416 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1418 * Api/qwebframe.cpp:
1421 (QWebFrame::setVerticalScrollBarPolicy):
1424 (QWebPage::javaScriptAlert):
1425 (QWebPage::javaScriptPrompt):
1426 (QWebPage::networkInterface):
1432 * WebCoreSupport/FrameLoaderClientQt.cpp:
1434 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1438 Moved QWebPage::open to QWebFrame::load and added setHtml.
1441 * Api/qwebframe.cpp:
1443 (QWebFrame::setHtml):
1444 (QWebFrame::setContent):
1450 (QWebView::setHtml):
1452 * WebCoreSupport/ChromeClientQt.cpp:
1453 (WebCore::ChromeClientQt::createWindow):
1454 * WebCoreSupport/InspectorClientQt.cpp:
1455 (WebCore::InspectorClientQt::createPage):
1457 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1461 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1467 (QWebPagePrivate::createMainFrame):
1469 * Api/qwebpagehistory.h:
1470 * Api/qwebview.cpp: Added.
1471 (QWebView::QWebView):
1472 (QWebView::~QWebView):
1474 (QWebView::setPage):
1476 (QWebView::setHtml):
1477 (QWebView::history):
1478 (QWebView::settings):
1482 (QWebView::selectedText):
1484 (QWebView::triggerAction):
1485 (QWebView::isModified):
1486 (QWebView::textInteractionFlags):
1487 (QWebView::setTextInteractionFlags):
1488 (QWebView::sizeHint):
1490 (QWebView::backward):
1491 (QWebView::forward):
1493 * Api/qwebview.h: Added.
1494 * QtLauncher/main.cpp:
1495 (MainWindow::MainWindow):
1496 (MainWindow::webPage):
1497 (MainWindow::changeLocation):
1498 * WebCoreSupport/FrameLoaderClientQt.cpp:
1499 (WebCore::FrameLoaderClientQt::setFrame):
1500 * WebCoreSupport/FrameLoaderClientQt.h:
1502 2007-12-14 Darin Adler <darin@apple.com>
1507 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1508 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1509 * WebCoreSupport/EditorClientQt.cpp:
1510 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1511 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1514 2007-12-12 Brady Eidson <beidson@apple.com>
1516 Reviewed by Sam Weinig
1518 As part of doing some CachedPage and client cleanup, keep Qt building
1520 * WebCoreSupport/FrameLoaderClientQt.cpp:
1521 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1522 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1523 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1524 * WebCoreSupport/FrameLoaderClientQt.h:
1526 2007-12-12 Sam Weinig <sam@webkit.org>
1530 * WebCoreSupport/FrameLoaderClientQt.cpp:
1531 (WebCore::FrameLoaderClientQt::userAgent):
1533 2007-12-12 Sam Weinig <sam@webkit.org>
1537 * Api/qwebnetworkinterface.cpp:
1538 (QWebNetworkRequestPrivate::init):
1541 (QWebPageContext::QWebPageContext):
1542 * Api/qwebpagehistory.cpp:
1543 (QWebHistoryItem::originalUrl):
1544 (QWebHistoryItem::currentUrl):
1545 * WebCoreSupport/FrameLoaderClientQt.cpp:
1546 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1547 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1548 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1549 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1550 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1551 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1552 (WebCore::FrameLoaderClientQt::createPlugin):
1554 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1558 <rdar://problem/5535636>
1559 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1561 http://bugs.webkit.org/show_bug.cgi?id=13916
1562 JavaScript detects Tab as a character input on a textfield validation
1564 * WebCoreSupport/EditorClientQt.cpp:
1565 (WebCore::EditorClientQt::handleKeyboardEvent):
1566 (WebCore::EditorClientQt::handleInputMethodKeydown):
1567 * WebCoreSupport/EditorClientQt.h:
1568 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1570 2007-12-07 Darin Adler <darin@apple.com>
1574 * Api/qwebhistoryinterface.cpp:
1575 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1576 be updated, since WebCore changed, but this should not be here.
1578 2007-12-04 Darin Adler <darin@apple.com>
1580 Reviewed by Kevin Decker.
1582 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1583 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1585 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1589 * Implement the InspectorClient for the Qt port
1590 * It does not support highlighting of nodes yet
1591 * Use QRC to open the internal page. The important thing is the
1592 '/' in the URL to make WebCore::Document::completeURL behave the
1594 * To make the InspectorClient work we will have to mark qrc as secure.
1597 (QWebPagePrivate::QWebPagePrivate):
1599 * WebCoreSupport/InspectorClientQt.cpp:
1600 (WebCore::InspectorClientWebPage::hideEvent):
1601 (WebCore::InspectorClientQt::InspectorClientQt):
1602 (WebCore::InspectorClientQt::inspectorDestroyed):
1603 (WebCore::InspectorClientQt::createPage):
1604 (WebCore::InspectorClientQt::localizedStringsURL):
1605 (WebCore::InspectorClientQt::showWindow):
1606 (WebCore::InspectorClientQt::closeWindow):
1607 (WebCore::InspectorClientQt::attachWindow):
1608 (WebCore::InspectorClientQt::detachWindow):
1609 * WebCoreSupport/InspectorClientQt.h:
1611 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1613 Rubber stamped by Mark.
1615 Always include config.h at the beginning of the file.
1617 * Api/qwebsettings.cpp:
1619 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1623 * Avoid crashes by making sure everything is layouted before
1624 we start painting. This avoids a crash in Widget::invalidateRect
1625 because QPainter::begin would fail
1626 * The QWebFrame::layout() methods and calls are left untouched because
1627 this would be an API decision.
1630 * Api/qwebframe.cpp:
1631 (QWebFrame::layout):
1633 (QWebPage::paintEvent):
1635 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1639 * SubClass QWebPage to handle hide and close events.
1640 * Forward these events to the InspectorController
1641 * The other options would have been using an eventFilter
1642 on the webpage and making InspectorClient a QObject or
1643 creating a QObject Observer.
1644 * Provide a simple QWebPage* createWindow implementation. This is needed
1645 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1646 of the inspector client.
1649 * WebCoreSupport/InspectorClientQt.cpp:
1650 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1651 (WebCore::InspectorClientWebPage::createWindow):
1652 (WebCore::InspectorClientWebPage::hideEvent):
1653 (WebCore::InspectorClientWebPage::closeEvent):
1654 (WebCore::InspectorClientQt::createPage):
1656 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1660 * Allow adding the Inspect ContextMenuItem to our Menu
1661 * Open the Inspector when Inspect was activated. This requires
1662 that we keep the innerNonSharedNode from the HitTest around. This
1663 forces us to include <wtf/RefPtr.h> in the private header. It is
1664 the first non Qt header but should be okay.
1668 (webActionForContextMenuAction):
1669 (QWebPage::triggerAction):
1671 (QWebPageContext::QWebPageContext):
1675 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1679 * Add the Developer Extras to the WebAttribute and propagate it
1680 to WebCore::Settings. This will enable the Inspect Element menu item
1681 * CodingStyle fixes in QWebSettings
1682 * Enable the Developer Extras in the QtLauncher
1685 * Api/qwebsettings.cpp:
1686 (QWebSettingsPrivate::apply):
1687 * Api/qwebsettings.h:
1688 * QtLauncher/main.cpp:
1691 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1693 Removed unnecessary and possibly incorrect #include from my last
1696 * Api/qwebframe.cpp:
1698 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1700 Qt build fix: Get globalExec() from the right place.
1702 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1706 * Self destruct the clients like the ohter ports do
1709 * WebCoreSupport/ChromeClientQt.cpp:
1710 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1711 * WebCoreSupport/ContextMenuClientQt.cpp:
1712 * WebCoreSupport/DragClientQt.cpp:
1713 * WebCoreSupport/EditorClientQt.cpp:
1714 * WebCoreSupport/InspectorClientQt.cpp:
1716 2007-11-29 Brady Eidson <beidson@apple.com>
1718 Keep it building with new client method
1720 * WebCoreSupport/ChromeClientQt.cpp:
1721 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1722 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1723 * WebCoreSupport/ChromeClientQt.h:
1725 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1727 Reviewed by Adam Treat.
1729 Fix compilation (don't define notImplemented twice)
1731 * Api/qwebnetworkinterface.cpp:
1733 2007-11-22 Simon Hausmann <hausmann@kde.org>
1737 Use Q_SIGNALS/Q_SLOTS in the public API
1742 2007-11-22 Simon Hausmann <hausmann@kde.org>
1746 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1750 2007-11-22 Simon Hausmann <hausmann@kde.org>
1754 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1758 * Api/qwebhistoryinterface.h:
1759 * Api/qwebnetworkinterface.h:
1760 * Api/qwebobjectplugin.h:
1761 * Api/qwebobjectplugin_p.h:
1762 * Api/qwebobjectpluginconnector.h:
1764 * Api/qwebpagehistory.h:
1765 * Api/qwebsettings.h:
1767 2007-11-22 Simon Hausmann <hausmann@kde.org>
1771 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1773 * Api/qwebpagehistory.h:
1775 2007-11-22 George Staikos <staikos@kde.org>
1777 Reviewed by Simon Hausmann <hausmann@kde.org>.
1782 * Api/qwebobjectplugin.cpp:
1783 * Api/qwebobjectplugin.h:
1784 * Api/qwebobjectpluginconnector.cpp:
1785 * Api/qwebobjectpluginconnector.h:
1787 2007-11-22 Simon Hausmann <hausmann@kde.org>
1789 Reviewed by George Staikos <staikos@kde.org>.
1791 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1793 This also fixes compilation with gcc 4.3.
1796 * Api/qwebframe.cpp:
1797 (QWebFramePrivate::init):
1799 2007-11-21 Adam Treat <treat@kde.org>
1803 * Connect up the signal for all subframes too.
1805 * Api/qwebframe.cpp:
1806 (QWebFramePrivate::init):
1808 (QWebPagePrivate::createMainFrame):
1810 2007-11-20 Simon Hausmann <hausmann@kde.org>
1812 Reviewed by Adam Treat <treat@kde.org>.
1814 Remove static linkage of QtWebKit against the ICO image format plugin.
1816 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1819 * Plugins/Plugins.pro:
1821 2007-11-20 Simon Hausmann <hausmann@kde.org>
1823 Reviewed by George Staikos <staikos@kde.org>.
1825 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1830 2007-11-20 George Staikos <staikos@kde.org>
1832 Reviewed by Simon Hausmann <hausmann@kde.org>.
1834 Add an argument to pass the link text in the hovering signal
1839 (QWebPagePrivate::createMainFrame):
1840 (QWebPage::mouseMoveEvent):
1843 2007-11-20 Adam Treat <treat@kde.org>
1845 Reviewed by Simon and George.
1847 * Be quiet and allow suppression of NotImplemented calls at runtime.
1849 * WebCoreSupport/FrameLoaderClientQt.cpp:
1850 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1852 2007-11-19 Adam Treat <treat@kde.org>
1856 * Don't segfault when event pos is outside of the widget.
1859 (QWebPage::mouseMoveEvent):
1860 (QWebPage::mousePressEvent):
1861 (QWebPage::mouseDoubleClickEvent):
1862 (QWebPage::mouseReleaseEvent):
1863 (QWebPage::contextMenuEvent):
1865 2007-11-17 Timothy Hatcher <timothy@apple.com>
1867 Reviewed by Mark Rowe.
1869 Bug 13470: i18n: The Web Inspector is not localizable
1870 http://bugs.webkit.org/show_bug.cgi?id=13470
1872 * WebCoreSupport/InspectorClientQt.cpp:
1873 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1874 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1876 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1878 Build fix: changed Shared to RefCounted.
1880 * WebCoreSupport/ChromeClientQt.h:
1881 * WebCoreSupport/ContextMenuClientQt.cpp:
1882 * WebCoreSupport/ContextMenuClientQt.h:
1883 * WebCoreSupport/EditorClientQt.h:
1884 * WebCoreSupport/FrameLoaderClientQt.h:
1886 2007-11-10 Simon Hausmann <hausmann@kde.org>
1888 Reviewed by Nikolas.
1890 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1894 (QWebPagePrivate::createContextMenu):
1896 2007-11-10 Simon Hausmann <hausmann@kde.org>
1898 Reviewed by Nikolas.
1900 Added support for the Bold/Italic/Underline toggle actions.
1904 (webActionForContextMenuAction):
1905 (QWebPage::triggerAction):
1909 2007-11-10 Simon Hausmann <hausmann@kde.org>
1911 Reviewed by Nikolas.
1913 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1914 to update the enable/checked state correctly.
1918 (QWebPagePrivate::createContextMenu):
1919 (QWebPage::contextMenuEvent):
1922 2007-11-10 Simon Hausmann <hausmann@kde.org>
1924 Reviewed by Nikolas.
1926 Mark the text direction actions as checkable actions.
1932 2007-11-09 Simon Hausmann <hausmann@kde.org>
1936 Implemented the webcore actions for changing the text direction.
1940 (webActionForContextMenuAction):
1941 (QWebPage::triggerAction):
1945 2007-11-09 Simon Hausmann <hausmann@kde.org>
1949 Fix ContextMenu allocation in the Qt port.
1951 Store all items and submenus value based in ContextMenu and ContextMenuItem.
1952 That fixes the crashes when the context menu was populated with sub-menus because
1953 of the use of temporary ContextMenu objects like this:
1955 ContextMenu subMenu(...);
1956 subMenu.appendItem(...);
1957 subMenu.appendItem(...);
1959 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
1963 (QWebPage::contextMenuEvent):
1966 2007-11-09 Simon Hausmann <hausmann@kde.org>
1970 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
1976 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1980 - windowObjectCleared() is no longer const. It needs to setup the
1981 script debugger and cannot be const to do so.
1983 * WebCoreSupport/FrameLoaderClientQt.cpp:
1984 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1985 * WebCoreSupport/FrameLoaderClientQt.h:
1987 2007-11-08 Simon Hausmann <hausmann@kde.org>
1989 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
1991 The buildbots use Qt 4.4 which has the function in question, but Qt
1992 4.3 doesn't have it. Use removeAll() as replacement instead, it
1993 shouldn't make a difference in performance.
1995 * Api/qwebsettings.cpp:
1996 (QWebSettings::~QWebSettings):
1998 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2000 Reviewed by Lars Knoll <lars@trolltech.com>.
2002 Cleanup checking for the request method.
2004 * Check the request method only in QWebNetworkManager::add.
2005 * Currently HEAD, GET, POST are allowed and for everything else
2006 QWebNetworkManager::add returns false.
2007 * Returning false is compatible with ResourceHandle::start and it
2008 can be used in ResourceHandle::loadResourceSynchronously to generate
2012 * Api/qwebnetworkinterface.cpp:
2013 (QWebNetworkManager::add):
2015 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2017 Reviewed by Lars Knoll <lars@trolltech.com>.
2019 Fix bug in the implementation of synchronous network jobs.
2021 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
2022 - if (jobMode == AsynchronousJob) {
2023 + if (jobMode == SynchronousJob) {
2024 add job to synchronous list/hash
2026 * Just applying the above change will lead to crashes because we can finish
2027 jobs before we started them.
2029 * Avoid these issues by saving all work (starting a job, sending data and
2030 finishing it) inside one list. JobWork will contain any
2031 of the above three work types and doWork will just work on this list
2032 (m_pendingWork). As foreach takes a copy of the list calling started, data
2033 and finished will not add new work and we gurantee that if we have JobStarted
2034 it will be in the list before JobData and JobFinished.
2036 * Observation: We might just kill the code to handle sync jobs.
2039 * Api/qwebnetworkinterface.cpp:
2040 (QWebNetworkManager::add):
2041 (QWebNetworkManager::queueStart):
2042 (QWebNetworkManager::queueData):
2043 (QWebNetworkManager::queueFinished):
2044 (QWebNetworkManager::doWork):
2045 * Api/qwebnetworkinterface_p.h:
2046 (QWebNetworkManager::JobWork::):
2047 (QWebNetworkManager::JobWork::JobWork):
2049 2007-11-07 Simon Hausmann <hausmann@kde.org>
2051 Build fix, reviewed by nobody.
2053 Fix the Qt build by setting up WindowFeatures before calling
2054 createWindow on the Chrome. This is similar to openNewWindow in
2055 page/ContextMenuController.cpp
2060 2007-11-07 Simon Hausmann <hausmann@kde.org>
2064 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2067 (QWebPagePrivate::QWebPagePrivate):
2068 * Api/qwebsettings.cpp:
2069 (QWebSettingsPrivate::apply):
2070 * Api/qwebsettings.h:
2072 2007-11-07 Simon Hausmann <hausmann@kde.org>
2076 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
2078 * Api/qwebpagehistory.cpp:
2079 * Api/qwebpagehistory.h:
2081 2007-11-07 Simon Hausmann <hausmann@kde.org>
2085 Removed unimplemented QWebHistoryItem::children() function
2087 * Api/qwebpagehistory.h:
2089 2007-11-07 Simon Hausmann <hausmann@kde.org>
2093 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2095 * Api/qwebsettings.cpp:
2096 (QWebSettings::fontSize):
2097 (QWebSettings::fontFamily):
2098 (QWebSettings::testAttribute):
2100 2007-11-07 Simon Hausmann <hausmann@kde.org>
2104 Added explicit functions for resetting the font sizes and font families.
2106 * Api/qwebsettings.cpp:
2107 (QWebSettings::resetFontSize):
2108 (QWebSettings::resetFontFamily):
2109 * Api/qwebsettings.h:
2111 2007-11-07 Simon Hausmann <hausmann@kde.org>
2115 Combined the font sizes accessors/setters under one setter/getter with an enum.
2117 * Api/qwebsettings.cpp:
2118 (QWebSettingsPrivate::QWebSettingsPrivate):
2119 (QWebSettingsPrivate::apply):
2120 (QWebSettings::QWebSettings):
2121 (QWebSettings::setFontSize):
2122 * Api/qwebsettings.h:
2124 2007-11-07 Simon Hausmann <hausmann@kde.org>
2128 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2132 * WebCoreSupport/FrameLoaderClientQt.cpp:
2133 (WebCore::FrameLoaderClientQt::userAgent):
2135 2007-11-07 Simon Hausmann <hausmann@kde.org>
2139 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2142 (QWebPagePrivate::_q_webActionTriggered):
2143 (QWebPage::keyPressEvent):
2146 2007-11-07 Simon Hausmann <hausmann@kde.org>
2150 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2154 * WebCoreSupport/ChromeClientQt.cpp:
2155 (WebCore::ChromeClientQt::setWindowRect):
2157 2007-11-07 Simon Hausmann <hausmann@kde.org>
2161 Renamed QWebPage::webAction() to QWebPage::action()
2164 (QWebPagePrivate::createContextMenu):
2166 * QtLauncher/main.cpp:
2167 (MainWindow::MainWindow):
2169 2007-11-07 Simon Hausmann <hausmann@kde.org>
2173 Removed a bunch of slots/functions that are now available through the new actions API.
2178 2007-11-07 Simon Hausmann <hausmann@kde.org>
2182 Added some more comments to the API after another round of API review with Lars.
2186 2007-11-07 Simon Hausmann <hausmann@kde.org>
2190 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2192 The currently selected text is a property of the page as a whole.
2194 * Api/qwebframe.cpp:
2197 (QWebPage::selectedText):
2200 2007-11-07 Simon Hausmann <hausmann@kde.org>
2204 Implemented support for settings propagation.
2206 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2208 * Api/qwebsettings.cpp:
2209 (QWebSettingsPrivate::QWebSettingsPrivate):
2210 (QWebSettingsPrivate::apply):
2211 (QWebSettings::QWebSettings):
2212 (QWebSettings::~QWebSettings):
2213 (QWebSettings::setFontFamily):
2214 * Api/qwebsettings.h:
2216 2007-11-07 Simon Hausmann <hausmann@kde.org>
2220 Reworked the QWebSettings API.
2221 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2224 (QWebPagePrivate::QWebPagePrivate):
2225 (QWebPagePrivate::~QWebPagePrivate):
2226 (QWebPage::QWebPage):
2229 * Api/qwebsettings.cpp:
2230 (QWebSettingsPrivate::QWebSettingsPrivate):
2231 (QWebSettingsPrivate::apply):
2232 (QWebSettings::defaultSettings):
2233 (QWebSettings::QWebSettings):
2234 (QWebSettings::setMinimumFontSize):
2235 (QWebSettings::setMinimumLogicalFontSize):
2236 (QWebSettings::setDefaultFontSize):
2237 (QWebSettings::setDefaultFixedFontSize):
2238 (QWebSettings::setUserStyleSheetLocation):
2239 (QWebSettings::setFontFamily):
2240 (QWebSettings::fontFamily):
2241 (QWebSettings::setAttribute):
2242 * Api/qwebsettings.h:
2243 * QtLauncher/main.cpp:
2246 2007-11-07 Simon Hausmann <hausmann@kde.org>
2250 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2252 * Api/qwebsettings.cpp:
2253 (QWebSettings::setWebGraphic):
2254 * Api/qwebsettings.h:
2256 2007-11-07 Simon Hausmann <hausmann@kde.org>
2260 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2262 * Api/qwebsettings.cpp:
2264 2007-11-07 Simon Hausmann <hausmann@kde.org>
2268 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2270 * Api/qwebsettings.cpp:
2271 * Api/qwebsettings.h:
2273 2007-11-07 Simon Hausmann <hausmann@kde.org>
2277 Changed the webAction() accessor to not be a slot but just a public function.
2281 2007-11-07 Simon Hausmann <hausmann@kde.org>
2285 Implemented createWindow() in QtLauncher.
2287 * QtLauncher/main.cpp:
2289 (MainWindow::MainWindow):
2290 (WebPage::createWindow):
2292 2007-11-07 Simon Hausmann <hausmann@kde.org>
2296 Implemented opening links in new windows
2301 (QWebPage::webActionTriggered):
2303 2007-11-07 Simon Hausmann <hausmann@kde.org>
2307 Added and implemented the "OpenLink" action.
2310 (webActionForContextMenuAction):
2311 (QWebPage::webActionTriggered):
2312 (QWebPage::webAction):
2315 2007-11-07 Simon Hausmann <hausmann@kde.org>
2319 Adjust the state of the reload action correctly.
2322 (QWebPagePrivate::updateAction):
2323 (QWebPagePrivate::updateNavigationActions):
2325 2007-11-07 Simon Hausmann <hausmann@kde.org>
2329 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2332 (QWebPagePrivate::updateAction):
2333 (QWebPage::webAction):
2334 (QWebPage::undoStack):
2337 2007-11-07 Simon Hausmann <hausmann@kde.org>
2341 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2343 * QtLauncher/main.cpp:
2344 (MainWindow::MainWindow):
2346 2007-11-07 Simon Hausmann <hausmann@kde.org>
2350 Update the editor actions when the selection changes.
2353 (QWebPagePrivate::updateAction):
2354 (QWebPagePrivate::updateEditorActions):
2356 * WebCoreSupport/EditorClientQt.cpp:
2357 (WebCore::EditorClientQt::respondToChangedSelection):
2359 2007-11-07 Simon Hausmann <hausmann@kde.org>
2363 Added cut/copy/paste actions to the toolbar of QtLauncher
2365 * QtLauncher/main.cpp:
2366 (MainWindow::MainWindow):
2368 2007-11-07 Simon Hausmann <hausmann@kde.org>
2372 Started working on keeping the state of the navigation actions up-to-date.
2375 (QWebPagePrivate::updateAction):
2376 (QWebPagePrivate::updateNavigationActions):
2377 (QWebPage::webAction):
2379 * WebCoreSupport/FrameLoaderClientQt.cpp:
2380 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2381 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2382 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2383 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2384 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2386 2007-11-07 Simon Hausmann <hausmann@kde.org>
2390 Use the navigational web actions in the toolbar
2392 * QtLauncher/main.cpp:
2393 (MainWindow::MainWindow):
2395 2007-11-07 Simon Hausmann <hausmann@kde.org>
2399 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2400 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2403 (QWebPagePrivate::QWebPagePrivate):
2404 (webActionForContextMenuAction):
2405 (QWebPagePrivate::createContextMenu):
2406 (QWebPagePrivate::_q_webActionTriggered):
2407 (QWebPage::webActionTriggered):
2408 (QWebPage::webAction):
2409 (QWebPage::contextMenuEvent):
2410 (QWebPageContext::QWebPageContext):
2411 (QWebPageContext::operator=):
2412 (QWebPageContext::~QWebPageContext):
2413 (QWebPageContext::pos):
2414 (QWebPageContext::text):
2415 (QWebPageContext::linkUrl):
2416 (QWebPageContext::imageUrl):
2417 (QWebPageContext::image):
2418 (QWebPageContext::targetFrame):
2422 2007-11-07 Simon Hausmann <hausmann@kde.org>
2426 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2429 (QWebPage::webActionTriggered):
2430 (QWebPage::keyPressEvent):
2433 2007-11-07 Simon Hausmann <hausmann@kde.org>
2437 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2438 convenience methods such as cut()/copy()/paste().
2442 (QWebPage::webActionTriggered):
2447 2007-11-07 Simon Hausmann <hausmann@kde.org>
2451 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2452 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2453 in ContextMenu::populate().
2454 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2455 out of it. That menu is currently not functional anymore though.
2458 (QWebPagePrivate::createContextMenu):
2459 (QWebPage::contextMenuEvent):
2462 2007-11-07 Simon Hausmann <hausmann@kde.org>
2466 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2467 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2468 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2472 (QWebPage::contextMenuEvent):
2473 * WebCoreSupport/ContextMenuClientQt.cpp:
2474 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2476 2007-11-07 Simon Hausmann <hausmann@kde.org>
2480 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2481 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2484 (QWebPage::mousePressEvent):
2485 (QWebPage::contextMenuEvent):
2488 2007-11-07 Simon Hausmann <hausmann@kde.org>
2492 Turned onLoadProgressChanged into a real private slot.
2495 (QWebPage::QWebPage):
2499 2007-11-07 Simon Hausmann <hausmann@kde.org>
2503 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2506 (QWebPagePrivate::QWebPagePrivate):
2509 * Api/qwebpagehistory.cpp:
2510 (QWebPageHistory::QWebPageHistory):
2511 * Api/qwebpagehistory.h:
2513 2007-11-07 Lars Knoll <lars@trolltech.com>
2517 comments on API changes that we'd like to do.
2521 2007-11-07 Simon Hausmann <hausmann@kde.org>
2523 Reviewed by Lars Knoll <lars@trolltech.com>.
2525 Add a QWebPage::frameCreated() signal and fix DRT
2527 The removal of createFrame in QWebPage broke the re-implementation
2528 in DumpRenderTree. Instead emit a frameCreated() signal and
2529 connect to it in DumpRenderTree.
2533 (QWebPagePrivate::createMainFrame):
2535 * WebCoreSupport/FrameLoaderClientQt.cpp:
2536 (WebCore::FrameLoaderClientQt::createFrame):
2538 2007-11-07 Lars Knoll <lars@trolltech.com>
2542 Remove QWebPage::createFrame()
2544 now that QWebFrame doesn't have virtual methods anymore, there
2545 is no need for a createFrame() factory method in QWebpage.
2548 (QWebPagePrivate::createMainFrame):
2550 * WebCoreSupport/FrameLoaderClientQt.cpp:
2551 (WebCore::FrameLoaderClientQt::createFrame):
2553 2007-11-07 Simon Hausmann <hausmann@kde.org>
2555 Reviewed by Lars Knoll <lars@trolltech.com>.
2557 Moved all the event handlers from QWebFrame into QWebPage.
2559 This cleans up the public API and allows us to remove the
2560 HackWebFrame hack in DumpRenderTree.
2563 * Api/qwebframe.cpp:
2566 * Api/qwebframe_p.h:
2568 (QWebPagePrivate::frameAt):
2569 (QWebPage::mouseMoveEvent):
2570 (QWebPage::mousePressEvent):
2571 (QWebPage::mouseDoubleClickEvent):
2572 (QWebPage::mouseReleaseEvent):
2573 (QWebPage::wheelEvent):
2576 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2578 Reviewed by Lars Knoll <lars@trolltech.com>.
2580 Use correct UserAgent string.
2582 * Only have one User Agent String and this place is QWebPage
2583 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2584 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2585 * ResourceRequest is != 0 when getting called from WebCore, we
2586 will only do requests when coming from WebCore and then we can
2587 use the User-Agent set with the help of the FrameLoaderClient
2588 * We might want to change QWebNetworkRequest a bit
2591 * Api/qwebnetworkinterface.cpp:
2592 (QWebNetworkRequestPrivate::init):
2594 2007-11-07 Lars Knoll <lars@trolltech.com>
2598 remove two notImplemented() warnings, as I believe we don't
2599 have to implement these methods. Add some (commented out)
2600 debug code in one place.
2602 * WebCoreSupport/EditorClientQt.cpp:
2603 (WebCore::EditorClientQt::respondToChangedSelection):
2604 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2606 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2608 Reviewed by Darin Adler.
2610 * WebCoreSupport/ChromeClientQt.cpp:
2611 (WebCore::ChromeClientQt::createWindow):
2612 * WebCoreSupport/ChromeClientQt.h:
2613 Revised to use new WebCore ChromeClient createWindow API.
2615 2007-10-31 Lars Knoll <lars@trolltech.com>
2619 fix most of the issues I found with Clipboard and DnD.
2622 (QWebPage::dragLeaveEvent):
2624 2007-10-31 Lars Knoll <lars@trolltech.com>
2628 QDrag objects need to be created on the heap.
2630 * WebCoreSupport/DragClientQt.cpp:
2631 (WebCore::DragClientQt::startDrag):
2633 2007-10-31 Lars Knoll <lars@trolltech.com>
2637 a dragLeave event is not the same as cancelling a drag.
2641 2007-10-26 Mark Rowe <mrowe@apple.com>
2643 Build fix. Add missing #include of Platform.h.
2645 * Api/qwebhistoryinterface.cpp:
2647 2007-10-25 Holger Freyther <zecke@selfish.org>
2649 Reviewed by Simon Hausmann <hausmann@kde.org>.
2651 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2652 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2653 * This is causing some regressions...
2656 * Api/qwebnetworkinterface.cpp:
2657 (QWebNetworkManager::started):
2658 (QWebNetworkInterface::addJob):
2660 2007-10-25 Holger Freyther <zecke@selfish.org>
2662 Reviewed by Simon Hausmann <hausmann@kde.org>.
2664 * 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.
2665 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2668 * Api/qwebnetworkinterface.cpp:
2669 (QWebNetworkManager::started):
2671 2007-10-25 Holger Freyther <zecke@selfish.org>
2673 Reviewed by Simon Hausmann <hausmann@kde.org>.
2675 * 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.
2676 * Use the error message from Qt. It might or might not be translated.
2679 * Api/qwebnetworkinterface.cpp:
2680 (QWebNetworkJob::errorString):
2681 (QWebNetworkJob::setErrorString):
2682 (QWebNetworkManager::finished):
2683 (QWebNetworkManager::doWork):
2684 (WebCoreHttp::onRequestFinished):
2685 * Api/qwebnetworkinterface.h:
2686 * Api/qwebnetworkinterface_p.h:
2688 2007-10-25 Holger Freyther <zecke@selfish.org>
2690 Reviewed by Simon Hausmann <hausmann@kde.org>.
2692 * 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.
2693 * 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.
2696 * Api/qwebnetworkinterface.cpp:
2697 (QWebNetworkManager::doWork):
2699 2007-10-25 Holger Freyther <zecke@selfish.org>
2701 Reviewed by Simon Hausmann <hausmann@kde.org>.
2703 * No need to initialize values in the QWebNetworkJob c'tor
2704 * 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.
2707 * Api/qwebnetworkinterface.cpp:
2708 (QWebNetworkJob::status):
2709 (QWebNetworkJob::setStatus):
2710 (QWebNetworkManager::started):
2711 (QWebNetworkManager::data):
2712 (QWebNetworkManager::finished):
2713 * Api/qwebnetworkinterface.h:
2714 * Api/qwebnetworkinterface_p.h:
2715 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2717 2007-10-25 Holger Freyther <zecke@selfish.org>
2719 Reviewed by Simon Hausmann <hausmann@kde.org>.
2721 * Consistency: Always name the jobs job.
2724 * Api/qwebnetworkinterface.cpp:
2725 (WebCoreHttp::onReadyRead):
2726 (WebCoreHttp::onRequestFinished):
2727 (WebCoreHttp::onSslErrors):
2728 (WebCoreHttp::onAuthenticationRequired):
2729 (WebCoreHttp::onProxyAuthenticationRequired):
2731 2007-10-25 Holger Freyther <zecke@selfish.org>
2733 Reviewed by Simon Hausmann <hausmann@kde.org>.
2735 * 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.
2736 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2739 * Api/qwebnetworkinterface.cpp:
2740 (QWebNetworkJob::~QWebNetworkJob):
2741 (QWebNetworkManager::QWebNetworkManager):
2742 (QWebNetworkManager::self):
2743 (QWebNetworkManager::add):
2744 (QWebNetworkManager::started):
2745 (QWebNetworkManager::finished):
2746 (QWebNetworkInterfacePrivate::sendFileData):
2747 (QWebNetworkInterfacePrivate::parseDataUrl):
2748 (QWebNetworkManager::queueStart):
2749 (QWebNetworkManager::queueData):
2750 (QWebNetworkManager::queueFinished):
2751 (QWebNetworkManager::doScheduleWork):
2752 (QWebNetworkManager::doWork):
2753 (gCleanupInterface):
2754 (QWebNetworkInterface::setDefaultInterface):
2755 (QWebNetworkInterface::defaultInterface):
2756 (QWebNetworkInterface::QWebNetworkInterface):
2757 (QWebNetworkInterface::started):
2758 (QWebNetworkInterface::data):
2759 (QWebNetworkInterface::finished):
2760 (WebCoreHttp::scheduleNextRequest):
2761 (WebCoreHttp::onResponseHeaderReceived):
2762 (WebCoreHttp::onReadyRead):
2763 (WebCoreHttp::onRequestFinished):
2764 (WebCoreHttp::cancel):
2765 * Api/qwebnetworkinterface.h:
2766 * Api/qwebnetworkinterface_p.h:
2767 (QWebNetworkManager::):
2768 (QWebNetworkManager::JobData::JobData):
2769 (QWebNetworkManager::JobFinished::JobFinished):
2771 2007-10-25 Holger Freyther <zecke@selfish.org>
2773 Reviewed by Simon Hausmann <hausmann@kde.org>.
2775 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2776 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2777 * We pass the char-decoding.html test now
2780 * Api/qwebnetworkinterface.cpp:
2781 (decodePercentEncoding):
2782 (QWebNetworkInterfacePrivate::parseDataUrl):
2784 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2786 Reviewed by Lars Knoll <lars@trolltech.com>.
2788 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2791 * WebCoreSupport/EditorClientQt.cpp:
2792 (WebCore::EditorClientQt::handleKeypress):
2794 2007-10-24 Lars Knoll <lars@trolltech.com>
2798 remove some notImplemented() warnings.
2800 * WebCoreSupport/EditorClientQt.cpp:
2801 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2802 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2803 (WebCore::EditorClientQt::respondToChangedSelection):
2805 2007-10-24 Lars Knoll <lars@trolltech.com>
2809 allow paste from DOM so we pass more test cases.
2812 (QWebPage::setSettings):
2814 2007-10-24 Lars Knoll <lars@trolltech.com>
2818 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2821 (QWebPage::keyPressEvent):
2822 (QWebPage::keyReleaseEvent):
2824 2007-10-24 Lars Knoll <lars@trolltech.com>
2828 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2830 * WebCoreSupport/EditorClientQt.cpp:
2831 (qt_dump_editing_callbacks):
2834 2007-10-24 Lars Knoll <lars@trolltech.com>
2838 implemented support for most editing shortcuts to make contentEditable usable.
2841 (QWebPage::keyPressEvent):
2843 2007-10-24 Lars Knoll <lars@trolltech.com>
2847 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2850 (QWebPage::focusInEvent):
2852 2007-10-24 Lars Knoll <lars@trolltech.com>
2856 Implement support for testing editing.
2858 * WebCoreSupport/EditorClientQt.cpp:
2859 (qt_dump_editing_callbacks):
2860 (qt_dump_set_accepts_editing):
2863 (WebCore::EditorClientQt::shouldDeleteRange):
2864 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2865 (WebCore::EditorClientQt::shouldBeginEditing):
2866 (WebCore::EditorClientQt::shouldEndEditing):
2867 (WebCore::EditorClientQt::shouldInsertText):
2868 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2869 (WebCore::EditorClientQt::shouldApplyStyle):
2870 (WebCore::EditorClientQt::didBeginEditing):
2871 (WebCore::EditorClientQt::respondToChangedContents):
2872 (WebCore::EditorClientQt::respondToChangedSelection):
2873 (WebCore::EditorClientQt::didEndEditing):
2874 (WebCore::EditorClientQt::shouldInsertNode):
2876 2007-10-19 Alp Toker <alp@atoker.com>
2880 GTK+ build fix enabling the new local database storage feature.
2881 There is also a prospective Qt build fix.
2883 * WebCoreSupport/ChromeClientQt.cpp:
2884 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2885 * WebCoreSupport/ChromeClientQt.h:
2887 2007-10-19 Simon Hausmann <hausmann@kde.org>
2889 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2890 that config.h is included before wtf/MathExtras. The former defines
2891 the MSVC defines for rand_s.
2893 * WebCoreSupport/FrameLoaderClientQt.cpp:
2895 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2899 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2901 * Api/qwebframe.cpp:
2904 2007-10-10 Alice Liu <alice.liu@apple.com>
2906 Reviewed by Geoff Garen.
2908 changes to keep the build from breaking
2910 * WebCoreSupport/FrameLoaderClientQt.cpp:
2911 (WebCore::FrameLoaderClientQt::createFrame):
2912 * WebCoreSupport/FrameLoaderClientQt.h:
2914 2007-10-09 Lars Knoll <lars@trolltech.com>
2918 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2921 (QWebPage::setSettings):
2923 2007-10-09 Lars Knoll <lars@trolltech.com>
2927 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2929 * Api/qwebnetworkinterface.cpp:
2930 (QWebNetworkManager::add):
2931 (QWebNetworkManager::cancel):
2932 (QWebNetworkManager::started):
2933 (QWebNetworkManager::data):
2934 (QWebNetworkInterfacePrivate::parseDataUrl):
2936 2007-10-09 Lars Knoll <lars@trolltech.com>
2940 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.
2943 (QWebPagePrivate::createMainFrame):
2944 (QWebPage::createFrame):
2945 * WebCoreSupport/FrameLoaderClientQt.cpp:
2946 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2947 * WebCoreSupport/FrameLoaderClientQt.h:
2949 2007-10-09 Lars Knoll <lars@trolltech.com>
2953 add a clear() method to QWebPageHistory.
2955 * Api/qwebpagehistory.cpp:
2956 (QWebPageHistory::clear):
2957 (QWebPageHistory::itemAtIndex):
2958 * Api/qwebpagehistory.h:
2960 2007-10-05 Lars Knoll <lars@trolltech.com>
2962 add proper error messages to the FrameLoaderClient.
2963 Implement ChromeClientQt::closeWindowSoon and
2964 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2965 Some fixes in DRT to make it work correctly with multiple windows.
2970 * Api/qwebnetworkinterface.cpp:
2971 (QWebNetworkManager::cancel):
2972 (QWebNetworkInterface::addJob):
2973 * WebCoreSupport/ChromeClientQt.cpp:
2974 (WebCore::ChromeClientQt::closeWindowSoon):
2975 * WebCoreSupport/FrameLoaderClientQt.cpp:
2976 (WebCore::FrameLoaderClientQt::cancelledError):
2978 (WebCore::FrameLoaderClientQt::blockedError):
2979 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2980 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2981 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2982 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2984 2007-10-03 Lars Knoll <lars@trolltech.com>
2986 Signed off by Olliej.
2988 move WebKitQt to WebKit/qt for consistency with the other ports.
2990 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
2991 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
2992 (QCookieJarPrivate::QCookieJarPrivate):
2994 (QCookieJar::QCookieJar):
2995 (QCookieJar::~QCookieJar):
2996 (QCookieJar::setCookies):
2997 (QCookieJar::cookies):
2998 (QCookieJar::isEnabled):
2999 (QCookieJar::setEnabled):
3001 (QCookieJar::setCookieJar):
3002 (QCookieJar::cookieJar):
3003 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
3004 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
3005 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
3006 (QWebFramePrivate::init):
3007 (QWebFramePrivate::parentFrame):
3008 (QWebFramePrivate::horizontalScrollBar):
3009 (QWebFramePrivate::verticalScrollBar):
3010 (QWebFrame::QWebFrame):
3011 (QWebFrame::~QWebFrame):
3012 (QWebFrame::addToJSWindowObject):
3013 (QWebFrame::markup):
3014 (QWebFrame::innerText):
3015 (QWebFrame::renderTreeDump):
3019 (QWebFrame::selectedText):
3020 (QWebFrame::childFrames):
3021 (QWebFrame::verticalScrollBarPolicy):
3022 (QWebFrame::setVerticalScrollBarPolicy):
3023 (QWebFrame::horizontalScrollBarPolicy):
3024 (QWebFrame::setHorizontalScrollBarPolicy):
3025 (QWebFrame::render):
3026 (QWebFrame::layout):
3028 (QWebFrame::geometry):
3029 (QWebFrame::evaluateJavaScript):
3030 (QWebFrame::mouseMoveEvent):
3031 (QWebFrame::mousePressEvent):
3032 (QWebFrame::mouseDoubleClickEvent):
3033 (QWebFrame::mouseReleaseEvent):
3034 (QWebFrame::wheelEvent):
3035 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
3036 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
3037 (QWebFramePrivate::QWebFramePrivate):
3038 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
3039 (WebCore::historyContains):
3040 (gCleanupInterface):
3041 (QWebHistoryInterface::setDefaultInterface):
3042 (QWebHistoryInterface::defaultInterface):
3043 (QWebHistoryInterface::QWebHistoryInterface):
3044 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
3045 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
3046 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
3049 (QWebNetworkRequestPrivate::init):
3050 (QWebNetworkRequestPrivate::setURL):
3051 (QWebNetworkRequest::QWebNetworkRequest):
3052 (QWebNetworkRequest::operator=):
3053 (QWebNetworkRequest::~QWebNetworkRequest):
3054 (QWebNetworkRequest::url):
3055 (QWebNetworkRequest::setUrl):
3056 (QWebNetworkRequest::httpHeader):
3057 (QWebNetworkRequest::setHttpHeader):
3058 (QWebNetworkRequest::httpHeaderField):
3059 (QWebNetworkRequest::setHttpHeaderField):
3060 (QWebNetworkRequest::postData):
3061 (QWebNetworkRequest::setPostData):
3062 (QWebNetworkJob::QWebNetworkJob):
3063 (QWebNetworkJob::~QWebNetworkJob):
3064 (QWebNetworkJob::url):
3065 (QWebNetworkJob::postData):
3066 (QWebNetworkJob::httpHeader):
3067 (QWebNetworkJob::request):
3068 (QWebNetworkJob::response):
3069 (QWebNetworkJob::setResponse):
3070 (QWebNetworkJob::cancelled):
3071 (QWebNetworkJob::ref):
3072 (QWebNetworkJob::deref):
3073 (QWebNetworkJob::networkInterface):
3074 (QWebNetworkJob::frame):
3075 (QWebNetworkManager::QWebNetworkManager):
3076 (QWebNetworkManager::self):
3077 (QWebNetworkManager::add):
3078 (QWebNetworkManager::cancel):
3079 (QWebNetworkManager::started):
3080 (QWebNetworkManager::data):
3081 (QWebNetworkManager::finished):
3082 (QWebNetworkManager::addHttpJob):
3083 (QWebNetworkManager::cancelHttpJob):
3084 (QWebNetworkManager::httpConnectionClosed):
3085 (QWebNetworkInterfacePrivate::sendFileData):
3086 (QWebNetworkInterfacePrivate::parseDataUrl):
3087 (gCleanupInterface):
3088 (QWebNetworkInterface::setDefaultInterface):
3089 (QWebNetworkInterface::defaultInterface):
3090 (QWebNetworkInterface::QWebNetworkInterface):
3091 (QWebNetworkInterface::~QWebNetworkInterface):
3092 (QWebNetworkInterface::addJob):
3093 (QWebNetworkInterface::cancelJob):
3094 (WebCoreHttp::WebCoreHttp):
3095 (WebCoreHttp::~WebCoreHttp):
3096 (WebCoreHttp::request):
3097 (WebCoreHttp::scheduleNextRequest):
3098 (WebCoreHttp::getConnection):
3099 (WebCoreHttp::onResponseHeaderReceived):
3100 (WebCoreHttp::onReadyRead):
3101 (WebCoreHttp::onRequestFinished):
3102 (WebCoreHttp::onDone):
3103 (WebCoreHttp::onStateChanged):
3104 (WebCoreHttp::cancel):
3105 (WebCoreHttp::onSslErrors):
3106 (WebCoreHttp::onAuthenticationRequired):
3107 (WebCoreHttp::onProxyAuthenticationRequired):
3108 (HostInfo::HostInfo):
3109 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3110 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3111 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3112 (WebCore::HostInfo::HostInfo):
3113 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3114 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3115 (QWebFactoryLoader::QWebFactoryLoader):
3116 (QWebFactoryLoader::self):
3117 (QWebFactoryLoader::descriptionForName):
3118 (QWebFactoryLoader::mimetypesForName):
3119 (QWebFactoryLoader::mimeTypeForExtension):
3120 (QWebFactoryLoader::extensions):
3121 (QWebFactoryLoader::nameForMimetype):
3122 (QWebFactoryLoader::create):
3123 (QWebObjectPlugin::QWebObjectPlugin):
3124 (QWebObjectPlugin::~QWebObjectPlugin):
3125 (QWebObjectPlugin::descriptionForKey):
3126 (QWebObjectPlugin::mimetypesForKey):
3127 (QWebObjectPlugin::extensionsForMimetype):
3128 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3129 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3130 (QWebFactoryLoader::names):
3131 (QWebFactoryLoader::supportsMimeType):
3132 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3133 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3134 (QWebObjectPluginConnector::frame):
3135 (QWebObjectPluginConnector::pluginParentWidget):
3136 (QWebObjectPluginConnector::requestUrl):
3137 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3138 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3139 (QWebPagePrivate::QWebPagePrivate):
3140 (QWebPagePrivate::~QWebPagePrivate):
3141 (QWebPagePrivate::navigationRequested):
3142 (QWebPagePrivate::createMainFrame):
3143 (QWebPage::QWebPage):
3144 (QWebPage::~QWebPage):
3145 (QWebPage::createFrame):
3149 (QWebPage::mainFrame):
3150 (QWebPage::sizeHint):
3152 (QWebPage::history):
3154 (QWebPage::goForward):
3155 (QWebPage::goToHistoryItem):
3156 (QWebPage::javaScriptConsoleMessage):
3157 (QWebPage::javaScriptAlert):
3158 (QWebPage::javaScriptConfirm):
3159 (QWebPage::javaScriptPrompt):
3160 (QWebPage::createWindow):
3161 (QWebPage::createModalDialog):
3162 (QWebPage::createPlugin):
3163 (QWebPage::navigationRequested):
3164 (QWebPage::setWindowGeometry):
3166 (QWebPage::canCopy):
3167 (QWebPage::canPaste):
3171 (QWebPage::isModified):
3172 (QWebPage::undoStack):
3173 (dropActionToDragOp):
3174 (dragOpToDropAction):
3175 (QWebPage::resizeEvent):
3176 (QWebPage::paintEvent):
3177 (QWebPage::mouseMoveEvent):
3178 (QWebPage::mousePressEvent):
3179 (QWebPage::mouseDoubleClickEvent):
3180 (QWebPage::mouseReleaseEvent):
3181 (QWebPage::wheelEvent):
3182 (QWebPage::keyPressEvent):
3183 (QWebPage::keyReleaseEvent):
3184 (QWebPage::focusInEvent):
3185 (QWebPage::focusOutEvent):
3186 (QWebPage::focusNextPrevChild):
3187 (QWebPage::dragEnterEvent):
3188 (QWebPage::dragLeaveEvent):
3189 (QWebPage::dragMoveEvent):
3190 (QWebPage::dropEvent):
3191 (QWebPage::setNetworkInterface):
3192 (QWebPage::networkInterface):
3194 (QWebPage::setSettings):
3195 (QWebPage::settings):
3196 (QWebPage::chooseFile):
3197 (QWebPage::setNetworkProxy):
3198 (QWebPage::networkProxy):
3199 (QWebPage::userAgentStringForUrl):
3200 (QWebPage::onLoadProgressChanged):
3201 (QWebPage::totalBytes):
3202 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3203 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3204 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3205 (QWebHistoryItem::QWebHistoryItem):
3206 (QWebHistoryItem::operator=):
3207 (QWebHistoryItem::~QWebHistoryItem):
3208 (QWebHistoryItem::originalUrl):
3209 (QWebHistoryItem::currentUrl):
3210 (QWebHistoryItem::title):
3211 (QWebHistoryItem::lastVisited):
3212 (QWebHistoryItem::icon):
3213 (QWebPageHistory::QWebPageHistory):
3214 (QWebPageHistory::itemAtIndex):
3215 (QWebPageHistory::operator=):
3216 (QWebPageHistory::~QWebPageHistory):
3217 (QWebPageHistory::items):
3218 (QWebPageHistory::backItems):
3219 (QWebPageHistory::forwardItems):
3220 (QWebPageHistory::canGoBack):
3221 (QWebPageHistory::canGoForward):
3222 (QWebPageHistory::goBack):
3223 (QWebPageHistory::goForward):
3224 (QWebPageHistory::goToItem):
3225 (QWebPageHistory::backItem):
3226 (QWebPageHistory::currentItem):
3227 (QWebPageHistory::forwardItem):
3228 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3229 (QExplicitlySharedDataPointer::operator*):
3230 (QExplicitlySharedDataPointer::operator->):
3231 (QExplicitlySharedDataPointer::operator T *):
3232 (QExplicitlySharedDataPointer::operator const T *):
3233 (QExplicitlySharedDataPointer::data):
3234 (QExplicitlySharedDataPointer::constData):
3235 (QExplicitlySharedDataPointer::operator==):
3236 (QExplicitlySharedDataPointer::operator!=):
3237 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3238 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3239 (QExplicitlySharedDataPointer::operator=):
3240 (QExplicitlySharedDataPointer::operator!):
3241 (::QExplicitlySharedDataPointer):
3242 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3243 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3244 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3245 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3246 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3247 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3248 (QWebSettingsPrivate::QWebSettingsPrivate):
3249 (QWebSettings::QWebSettings):
3250 (QWebSettings::~QWebSettings):
3251 (QWebSettings::setMinimumFontSize):
3252 (QWebSettings::minimumFontSize):
3253 (QWebSettings::setMinimumLogicalFontSize):
3254 (QWebSettings::minimumLogicalFontSize):
3255 (QWebSettings::setDefaultFontSize):
3256 (QWebSettings::defaultFontSize):
3257 (QWebSettings::setDefaultFixedFontSize):
3258 (QWebSettings::defaultFixedFontSize):
3259 (QWebSettings::setUserStyleSheetLocation):
3260 (QWebSettings::userStyleSheetLocation):
3261 (QWebSettings::setIconDatabaseEnabled):
3262 (QWebSettings::iconDatabaseEnabled):
3263 (QWebSettings::setWebGraphic):
3264 (QWebSettings::webGraphic):
3265 (QWebSettings::operator=):
3266 (QWebSettings::setGlobal):
3267 (QWebSettings::global):
3268 (QWebSettings::setFontFamily):
3269 (QWebSettings::fontFamily):
3270 (QWebSettings::setAttribute):
3271 (QWebSettings::testAttribute):
3272 (loadResourcePixmap):
3273 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3274 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3275 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3276 (IcoHeader::operator >>):
3277 (IcoHeader::BMP_INFOHDR::):
3278 (IcoHeader::operator<<):
3279 (IcoHeader::LessDifference::LessDifference):
3280 (IcoHeader::LessDifference::operator ()):
3281 (IcoHeader::loadFromDIB):
3282 (ICOHandler::ICOHandler):
3283 (ICOHandler::canRead):
3285 (ICOHandler::write):
3288 (ICOPlugin::capabilities):
3289 (ICOPlugin::create):
3290 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3291 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3292 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3293 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3294 (HoverLabel::HoverLabel):
3295 (HoverLabel::setHoverLink):
3296 (HoverLabel::sizeForFont):
3297 (HoverLabel::sizeHint):
3298 (HoverLabel::updateSize):
3299 (HoverLabel::resetAnimation):
3300 (HoverLabel::paintEvent):
3301 (HoverLabel::interpolate):
3302 (ClearButton::ClearButton):
3303 (ClearButton::paintEvent):
3304 (SearchEdit::SearchEdit):
3305 (SearchEdit::~SearchEdit):
3306 (SearchEdit::paintEvent):
3307 (SearchEdit::resizeEvent):
3308 (SearchEdit::moveEvent):
3309 (MainWindow::MainWindow):
3310 (MainWindow::changeLocation):
3311 (MainWindow::loadFinished):
3312 (MainWindow::showLinkHover):
3313 (MainWindow::resizeEvent):
3315 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3316 (WebCore::ChromeClientQt::ChromeClientQt):
3317 (WebCore::ChromeClientQt::~ChromeClientQt):
3318 (WebCore::ChromeClientQt::setWindowRect):
3319 (WebCore::ChromeClientQt::windowRect):
3320 (WebCore::ChromeClientQt::pageRect):
3321 (WebCore::ChromeClientQt::scaleFactor):
3322 (WebCore::ChromeClientQt::focus):
3323 (WebCore::ChromeClientQt::unfocus):
3324 (WebCore::ChromeClientQt::canTakeFocus):
3325 (WebCore::ChromeClientQt::takeFocus):
3326 (WebCore::ChromeClientQt::createWindow):
3327 (WebCore::ChromeClientQt::createModalDialog):
3328 (WebCore::ChromeClientQt::show):
3329 (WebCore::ChromeClientQt::canRunModal):
3330 (WebCore::ChromeClientQt::runModal):
3331 (WebCore::ChromeClientQt::setToolbarsVisible):
3332 (WebCore::ChromeClientQt::toolbarsVisible):
3333 (WebCore::ChromeClientQt::setStatusbarVisible):
3334 (WebCore::ChromeClientQt::statusbarVisible):
3335 (WebCore::ChromeClientQt::setScrollbarsVisible):
3336 (WebCore::ChromeClientQt::scrollbarsVisible):
3337 (WebCore::ChromeClientQt::setMenubarVisible):
3338 (WebCore::ChromeClientQt::menubarVisible):
3339 (WebCore::ChromeClientQt::setResizable):
3340 (WebCore::ChromeClientQt::addMessageToConsole):
3341 (WebCore::ChromeClientQt::chromeDestroyed):
3342 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3343 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3344 (WebCore::ChromeClientQt::closeWindowSoon):
3345 (WebCore::ChromeClientQt::runJavaScriptAlert):
3346 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3347 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3348 (WebCore::ChromeClientQt::setStatusbarText):
3349 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3350 (WebCore::ChromeClientQt::tabsToLinks):
3351 (WebCore::ChromeClientQt::windowResizerRect):
3352 (WebCore::ChromeClientQt::addToDirtyRegion):
3353 (WebCore::ChromeClientQt::scrollBackingStore):
3354 (WebCore::ChromeClientQt::updateBackingStore):
3355 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3356 (WebCore::ChromeClientQt::setToolTip):
3357 (WebCore::ChromeClientQt::print):
3358 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3359 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3360 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3361 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3362 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3363 (WebCore::ContextMenuClientQt::downloadURL):
3364 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3365 (WebCore::ContextMenuClientQt::speak):
3366 (WebCore::ContextMenuClientQt::stopSpeaking):
3367 (WebCore::ContextMenuClientQt::searchWithGoogle):
3368 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3369 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3370 (WebCore::DragClientQt::actionMaskForDrag):
3371 (WebCore::DragClientQt::willPerformDragDestinationAction):
3372 (WebCore::DragClientQt::dragControllerDestroyed):
3373 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3374 (WebCore::DragClientQt::willPerformDragSourceAction):
3375 (WebCore::DragClientQt::startDrag):
3376 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3377 (WebCore::DragClientQt::DragClientQt):
3378 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3379 (EditCommandQt::EditCommandQt):
3380 (EditCommandQt::~EditCommandQt):
3381 (EditCommandQt::redo):
3382 (EditCommandQt::undo):
3383 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3384 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3385 (WebCore::EditorClientQt::shouldDeleteRange):
3386 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3387 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3388 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3389 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3390 (WebCore::EditorClientQt::shouldBeginEditing):
3391 (WebCore::EditorClientQt::shouldEndEditing):
3392 (WebCore::EditorClientQt::shouldInsertText):
3393 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3394 (WebCore::EditorClientQt::shouldApplyStyle):
3395 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3396 (WebCore::EditorClientQt::didBeginEditing):
3397 (WebCore::EditorClientQt::respondToChangedContents):
3398 (WebCore::EditorClientQt::respondToChangedSelection):
3399 (WebCore::EditorClientQt::didEndEditing):
3400 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3401 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3402 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3403 (WebCore::EditorClientQt::isEditable):
3404 (WebCore::EditorClientQt::registerCommandForUndo):
3405 (WebCore::EditorClientQt::registerCommandForRedo):
3406 (WebCore::EditorClientQt::clearUndoRedoOperations):
3407 (WebCore::EditorClientQt::canUndo):
3408 (WebCore::EditorClientQt::canRedo):
3409 (WebCore::EditorClientQt::undo):
3410 (WebCore::EditorClientQt::redo):
3411 (WebCore::EditorClientQt::shouldInsertNode):
3412 (WebCore::EditorClientQt::pageDestroyed):
3413 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3414 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3415 (WebCore::EditorClientQt::toggleGrammarChecking):
3416 (WebCore::EditorClientQt::handleKeypress):
3417 (WebCore::EditorClientQt::handleInputMethodKeypress):
3418 (WebCore::EditorClientQt::EditorClientQt):
3419 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3420 (WebCore::EditorClientQt::textFieldDidEndEditing):
3421 (WebCore::EditorClientQt::textDidChangeInTextField):
3422 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3423 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3424 (WebCore::EditorClientQt::textDidChangeInTextArea):
3425 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3426 (WebCore::EditorClientQt::learnWord):
3427 (WebCore::EditorClientQt::checkSpellingOfString):
3428 (WebCore::EditorClientQt::checkGrammarOfString):
3429 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3430 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3431 (WebCore::EditorClientQt::showSpellingUI):
3432 (WebCore::EditorClientQt::spellingUIIsShowing):
3433 (WebCore::EditorClientQt::getGuessesForWord):
3434 (WebCore::EditorClientQt::isEditing):
3435 (WebCore::EditorClientQt::setInputMethodState):
3436 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3437 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3438 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3439 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3440 (WebCore::FrameLoaderClientQt::setFrame):
3441 (WebCore::FrameLoaderClientQt::webFrame):
3442 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3443 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3444 (WebCore::FrameLoaderClientQt::hasWebView):
3445 (WebCore::FrameLoaderClientQt::hasFrameView):
3446 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3447 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3448 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3449 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3450 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3451 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3452 (WebCore::FrameLoaderClientQt::makeDocumentView):
3453 (WebCore::FrameLoaderClientQt::makeRepresentation):
3454 (WebCore::FrameLoaderClientQt::forceLayout):
3455 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3456 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3457 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3458 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3459 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3460 (WebCore::FrameLoaderClientQt::willCloseDocument):
3461 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3462 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3463 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3464 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3465 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3466 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3467 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3468 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3469 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3470 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3471 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3472 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3473 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3474 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3475 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3476 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3477 (WebCore::FrameLoaderClientQt::dispatchShow):
3478 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3479 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3480 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3481 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3482 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3483 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3484 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3485 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3486 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3487 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3488 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3489 (WebCore::FrameLoaderClientQt::willChangeTitle):
3490 (WebCore::FrameLoaderClientQt::didChangeTitle):
3491 (WebCore::FrameLoaderClientQt::finishedLoading):
3492 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3493 (WebCore::FrameLoaderClientQt::setDefersLoading):
3494 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3495 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3496 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3497 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3498 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3499 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3500 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3501 (WebCore::FrameLoaderClientQt::restoreViewState):
3502 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3503 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3504 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3505 (WebCore::FrameLoaderClientQt::didFinishLoad):
3506 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3507 (WebCore::FrameLoaderClientQt::setTitle):
3508 (WebCore::FrameLoaderClientQt::userAgent):
3509 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3510 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3511 (WebCore::FrameLoaderClientQt::canHandleRequest):
3512 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3513 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3514 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3515 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3516 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3517 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3518 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3519 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3520 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3521 (WebCore::FrameLoaderClientQt::canCachePage):
3522 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3523 (WebCore::FrameLoaderClientQt::committedLoad):
3524 (WebCore::FrameLoaderClientQt::cancelledError):
3525 (WebCore::FrameLoaderClientQt::blockedError):
3526 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3527 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3528 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3529 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3530 (WebCore::FrameLoaderClientQt::shouldFallBack):
3531 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3532 (WebCore::FrameLoaderClientQt::download):
3533 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3534 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3535 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3536 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3537 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3538 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3539 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3540 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3541 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3542 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3543 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3544 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3545 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3546 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3547 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3548 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3549 (WebCore::FrameLoaderClientQt::startDownload):
3550 (WebCore::FrameLoaderClientQt::willUseArchive):
3551 (WebCore::FrameLoaderClientQt::createFrame):
3552 (WebCore::FrameLoaderClientQt::objectContentType):
3554 (WebCore::FrameLoaderClientQt::createPlugin):
3555 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3556 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3557 (WebCore::FrameLoaderClientQt::overrideMediaType):
3558 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3559 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3560 (WebCore::InspectorClientQt::inspectorDestroyed):
3561 (WebCore::InspectorClientQt::createPage):
3562 (WebCore::InspectorClientQt::showWindow):
3563 (WebCore::InspectorClientQt::closeWindow):
3564 (WebCore::InspectorClientQt::attachWindow):
3565 (WebCore::InspectorClientQt::detachWindow):
3566 (WebCore::InspectorClientQt::highlight):
3567 (WebCore::InspectorClientQt::hideHighlight):
3568 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3569 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3570 (WebKitFactory::WebKitFactory):
3571 (WebKitFactory::~WebKitFactory):
3572 (WebKitFactory::createPartObject):
3573 (WebKitFactory::instance):
3574 (WebKitFactory::ref):
3575 (WebKitFactory::deref):
3576 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3577 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3578 (WebKitPart::WebKitPart):
3579 (WebKitPart::~WebKitPart):
3580 (WebKitPart::openFile):
3581 (WebKitPart::openUrl):
3582 (WebKitPart::closeUrl):
3583 (WebKitPart::parentPart):
3584 (WebKitPart::frame):
3585 (WebKitPart::initView):
3586 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3587 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3589 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3590 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3591 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3592 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3593 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3594 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3595 (WebKitPartClient::WebKitPartClient):
3596 (WebKitPartClient::~WebKitPartClient):
3597 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3598 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3599 (WebKitPartInterface::WebKitPartInterface):
3600 (WebKitPartInterface::~WebKitPartInterface):
3601 (WebKitPartInterface::url):
3602 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3603 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3605 2007-10-02 Adam Treat <treat@kde.org>
3607 Reviewed by Eric Seidel.
3609 Open the requested url on the newly created window.
3610 Implement createModalDialog and provide new API for this.
3611 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3614 (QWebPage::createModalDialog):
3616 * WebCoreSupport/ChromeClientQt.cpp:
3617 (WebCore::ChromeClientQt::createWindow):
3618 (WebCore::ChromeClientQt::createModalDialog):
3620 2007-10-02 Lars Knoll <lars@trolltech.com>
3624 Add API to retrieve the frame name from QWebFrame.
3625 Implement support for DRT::dumpChildrenAsText.
3627 * Api/qwebframe.cpp:
3631 2007-10-02 Lars Knoll <lars@trolltech.com>
3635 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3637 * Api/qwebnetworkinterface.cpp:
3638 (QWebNetworkManager::started):
3639 (QWebNetworkManager::data):
3640 (QWebNetworkManager::finished):
3641 (QWebNetworkInterfacePrivate::sendFileData):
3642 (QWebNetworkInterfacePrivate::parseDataUrl):
3643 (WebCoreHttp::scheduleNextRequest):
3644 (WebCoreHttp::onSslErrors):
3645 * QtLauncher/main.cpp:
3648 2007-10-01 Lars Knoll <lars@trolltech.com>
3652 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
3654 * WebCoreSupport/FrameLoaderClientQt.cpp:
3655 (WebCore::FrameLoaderClientQt::makeDocumentView):
3656 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3657 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3658 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3659 (WebCore::FrameLoaderClientQt::objectContentType):
3660 (WebCore::FrameLoaderClientQt::createPlugin):
3662 2007-09-30 George Staikos <staikos@kde.org>
3664 Qt build fix (OS X specific).
3666 * QtLauncher/QtLauncher.pro:
3668 2007-09-26 Mark Rowe <mrowe@apple.com>
3672 * WebCoreSupport/FrameLoaderClientQt.cpp:
3673 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
3675 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3679 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3680 LGPL'ed files contain incorrect FSF address
3682 * Api/qcookiejar.cpp:
3684 * Api/qwebframe.cpp:
3686 * Api/qwebframe_p.h:
3687 * Api/qwebhistoryinterface.cpp:
3688 * Api/qwebhistoryinterface.h:
3689 * Api/qwebkitglobal.h:
3690 * Api/qwebnetworkinterface.cpp:
3691 * Api/qwebnetworkinterface.h:
3692 * Api/qwebnetworkinterface_p.h:
3693 * Api/qwebobjectplugin.cpp:
3694 * Api/qwebobjectplugin.h:
3695 * Api/qwebobjectpluginconnector.cpp:
3696 * Api/qwebobjectpluginconnector.h: