1 2008-03-22 Mark Rowe <mrowe@apple.com>
5 * WebCoreSupport/FrameLoaderClientQt.cpp:
8 2008-03-18 Simon Hausmann <hausmann@webkit.org>
12 Fix the Qt build. Don't return void in non-void functions.
14 * Api/qwebpluginfactory.cpp:
15 (QWebPluginFactory::extension):
17 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
21 Don't use RefPtr in classes you haven't seen the implementation of.
23 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
24 cannot *use* said objects until Foo is defined. This is true even for
25 initialisation with a 0.
27 Seems the HP aCC compiler is more strict here than gcc.
31 2008-03-14 Simon Hausmann <hausmann@webkit.org>
37 (QWebFrame::setContent):
39 2008-03-13 Simon Hausmann <hausmann@webkit.org>
44 (QWebFrame::addToJSWindowObject):
46 2008-03-12 Simon Hausmann <hausmann@webkit.org>
48 Fix compilation against Qt 4.3
54 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
58 * WebCoreSupport/FrameLoaderClientQt.cpp:
59 (FrameLoaderClientQt::CreatePlugin):
61 2008-03-11 Simon Hausmann <hausmann@webkit.org>
63 Fix the Qt build (silly typo).
65 * QtLauncher/main.cpp:
66 (MainWindow::MainWindow):
68 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
72 Moved obscuring progress bar to the lower right corner.
74 * QtLauncher/main.cpp:
75 (MainWindow::MainWindow):
76 (MainWindow::resizeEvent):
78 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
82 Added reload action and grouped stop and reload actions together.
84 * QtLauncher/main.cpp:
85 (MainWindow::MainWindow):
87 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
91 * Set a Icon on the QAction if we have one.
96 2008-03-11 Simon Hausmann <hausmann@webkit.org>
101 (QWebFrame::addToJSWindowObject):
103 2008-03-07 Simon Hausmann <hausmann@webkit.org>
109 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
111 * Api/qwebnetworkinterface.cpp:
112 (QWebNetworkManager::add):
113 (QWebNetworkManager::cancel):
114 (QWebNetworkManager::started):
115 (QWebNetworkManager::data):
116 (QWebNetworkManager::finished):
117 * Api/qwebnetworkinterface_p.h:
118 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
119 * Api/qwebobjectplugin.cpp: Removed.
120 * Api/qwebobjectplugin.h: Removed.
121 * Api/qwebobjectplugin_p.h: Removed.
122 * Api/qwebobjectpluginconnector.cpp: Removed.
123 * Api/qwebobjectpluginconnector.h: Removed.
125 (QWebPagePrivate::QWebPagePrivate):
126 (QWebPage::setPluginFactory):
127 (QWebPage::pluginFactory):
130 * Api/qwebpluginfactory.cpp: Added.
131 (QWebPluginFactory::QWebPluginFactory):
132 (QWebPluginFactory::~QWebPluginFactory):
133 (QWebPluginFactory::refreshPlugins):
134 (QWebPluginFactory::extension):
135 * Api/qwebpluginfactory.h: Added.
137 * WebCoreSupport/FrameLoaderClientQt.cpp:
138 (WebCore::FrameLoaderClientQt::objectContentType):
139 (WebCore::FrameLoaderClientQt::createPlugin):
141 2008-03-07 Simon Hausmann <hausmann@webkit.org>
147 2008-03-04 Sam Weinig <sam@webkit.org>
149 Reviewed by Mark Rowe.
151 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
155 (QWebFrame::addToJSWindowObject):
157 2008-03-04 Mark Rowe <mrowe@apple.com>
159 Another go at fixing the Qt build.
162 (QWebFrame::addToJSWindowObject):
164 2008-02-24 Darin Adler <darin@apple.com>
168 - remove separate client calls for "standard" and "reload' history
170 * WebCoreSupport/FrameLoaderClientQt.cpp:
171 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
172 * WebCoreSupport/FrameLoaderClientQt.h:
174 2008-02-24 Darin Adler <darin@apple.com>
176 - another try at fixing the build
179 (QWebFrame::load): Replace new FormData with FormData::create.
181 2008-02-22 Sam Weinig <sam@webkit.org>
185 * Api/qwebhistoryinterface.cpp:
187 2008-02-22 Sam Weinig <sam@webkit.org>
189 Rubber-stamped by Adam Roben.
191 Rid the project of the Devil known as DeprecatedString!
193 * Api/qwebhistory.cpp:
194 * Api/qwebhistoryinterface.cpp:
196 2008-02-18 Darin Adler <darin@apple.com>
200 * Api/qwebnetworkinterface.cpp:
201 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
203 2008-01-24 David Boddie <dboddie@trolltech.com>
207 Documentation tidying.
211 * Api/qwebhistoryinterface.cpp:
214 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
218 Text for translations were used wrongly as comments
221 * WebCoreSupport/FrameLoaderClientQt.cpp:
223 (WebCore::FrameLoaderClientQt::cannotShowURLError):
224 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
225 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
226 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
227 (WebCore::FrameLoaderClientQt::shouldFallBack):
229 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
233 * We have a KURL->QUrl conversion on KURL itself, make use of it.
234 * This conversion is supposed to be loss-free
239 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
241 * Rubber stamped by Simon
243 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
244 This was found while working on the page-cache, other ports are not affected.
246 * WebCoreSupport/FrameLoaderClientQt.cpp:
247 (WebCore::FrameLoaderClientQt::createFrame):
249 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
251 Reviewed by Simon Hausmann <hausmann@webkit.org>.
253 Fix Qtopia compilation with QT_NO_TOOLTIP
256 * WebCoreSupport/ChromeClientQt.cpp:
257 (WebCore::ChromeClientQt::print):
259 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
263 Doc: Replaced \code with snippets in the docs
268 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
272 Tweak key presses even to match commonly expected behavior
273 - space key == page down
274 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
275 - Use font height rather then a hard coded "10" for left, right, up, down
276 - Ctrl-Up moves to the top of the page
277 - Ctrl-Down move to the bottom of the page
278 - Backspace == GoBack
279 - Shift-Backspace == GoForward
283 (dropActionToDragOp):
284 (dragOpToDropAction):
285 (QWebPagePrivate::keyPressEvent):
287 2008-01-23 Simon Hausmann <hausmann@webkit.org>
291 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
293 Added two signals to QWebPage to handle downloading of links and handling of
298 (QWebPage::triggerAction):
300 * WebCoreSupport/FrameLoaderClientQt.cpp:
301 (WebCore::FrameLoaderClientQt::download):
302 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
303 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
304 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
305 (WebCore::FrameLoaderClientQt::willUseArchive):
307 2008-01-22 Lars Knoll <lars@trolltech.com>
311 setup a family for cursive and fantasy fonts as well.
314 * Api/qwebsettings.cpp:
315 (QWebSettings::QWebSettings):
317 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
321 Implement ChromeClientQt::setToolTip
322 Implement ChromeClientQt::mouseDidMoveOverElement
327 * WebCoreSupport/ChromeClientQt.cpp:
328 (WebCore::ChromeClientQt::ChromeClientQt):
329 (WebCore::ChromeClientQt::focus):
330 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
331 (WebCore::ChromeClientQt::setToolTip):
332 (WebCore::ChromeClientQt::print):
333 * WebCoreSupport/ChromeClientQt.h:
335 2008-01-21 Darin Adler <darin@apple.com>
337 Reviewed by John Sullivan.
339 - updated for changes to ChromeClient database functions
341 * WebCoreSupport/ChromeClientQt.cpp:
342 (WebCore::ChromeClientQt::exceededDatabaseQuota):
343 * WebCoreSupport/ChromeClientQt.h:
345 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
349 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
352 * Api/qwebhistoryinterface.h:
354 2008-01-21 Adam Treat <treat@kde.org>
358 * Don't leak the d-pointer in QWebSettings.
361 * Api/qwebsettings.cpp:
362 (QWebSettings::~QWebSettings):
364 2008-01-21 Simon Hausmann <hausmann@webkit.org>
368 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
370 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
375 2008-01-21 Simon Hausmann <hausmann@webkit.org>
379 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
381 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
382 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
383 and make the return value depend on whether we successfully determined a focusable
385 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
386 if we could not handle the focus chain ourselves.
387 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
388 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
389 used to control the situation of stepping out of the focus chain inside the page.
390 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
391 The layout tests expect this to be disabled but for the user it seems sensible to have it
392 on by default, hence the default in qwebsettings.cpp
396 (QWebPage::focusNextPrevChild):
397 * Api/qwebsettings.cpp:
398 (QWebSettings::QWebSettings):
399 * Api/qwebsettings.h:
401 (QWebView::QWebView):
402 (QWebView::focusNextPrevChild):
403 * WebCoreSupport/ChromeClientQt.cpp:
404 (WebCore::ChromeClientQt::canTakeFocus):
405 (WebCore::ChromeClientQt::takeFocus):
407 2008-01-18 Simon Hausmann <hausmann@webkit.org>
411 Coding style fixes and added a comment about the include order.
415 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
417 Reviewed by Simon Hausmann <hausmann@webkit.org>.
419 Add use of precompiled header, when building inside Qt.
421 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.
424 * WebKit_pch.h: Added.
426 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
430 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
431 we will see a crash in a HashSet.
432 * It is crashing there because the StringImpl of an empty String is 0.
433 * We avoid this crash by checking for isEmpty() in WebKit as there is no
434 use to ask the iconDatabase for an empty string. We will fallback to the
441 2008-01-17 Simon Hausmann <hausmann@webkit.org>
445 Minor documentation fixes
451 2008-01-17 Simon Hausmann <shausman@trolltech.com>
455 Fix form elements not focusing correctly after the qt widget lost its focus.
457 When receiving a focus out event notify the focus controller. Otherwise its
458 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
459 event shortcuts and doesn't call setActive(true).
464 2008-01-17 Simon Hausmann <shausman@trolltech.com>
468 Lots of updates to the documentation.
472 * Api/qwebhistory.cpp:
474 (QWebPagePrivate::dropEvent):
477 (QWebPage::triggerAction):
478 (QWebPage::viewportSize):
479 (QWebPage::navigationRequested):
482 (QWebPageContext::targetFrame):
486 2008-01-17 Simon Hausmann <shausman@trolltech.com>
490 Added a urlChanged signals to QWebFrame and QWebView.
498 * WebCoreSupport/FrameLoaderClientQt.cpp:
500 2008-01-17 Simon Hausmann <shausman@trolltech.com>
504 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
507 * Api/qwebsettings.cpp:
508 (QWebSettings::setIconDatabaseEnabled):
510 2008-01-17 Simon Hausmann <shausman@trolltech.com>
514 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
518 (QWebPage::createWindow):
520 (QWebView::createWindow):
523 2008-01-17 Lars Knoll <lars@trolltech.com>
527 add a 0 pointer check.
529 Fixes a crash in the demo web browser.
531 * WebCoreSupport/FrameLoaderClientQt.cpp:
532 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
534 2008-01-17 Simon Hausmann <hausmann@webkit.org>
538 Fix QWebFrame::title().
540 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
541 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
547 2008-01-17 Simon Hausmann <hausmann@webkit.org>
549 Reviewed by Maciej, Lars, Holger.
551 http://bugs.webkit.org/show_bug.cgi?id=16589
553 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
555 * Api/qwebnetworkinterface.cpp:
556 (QWebNetworkRequestPrivate::init):
557 (QWebNetworkManager::started):
559 2008-01-17 Warwick Allison <warwick@trolltech.com>
561 Reviewed by Simon Hausmann <hausmann@webkit.org>.
563 Follow QWidget::keyPressEvent advice and call parents.
565 Without this, Back does not work in Qtopia, for example.
569 (QWebView::keyPressEvent):
570 (QWebView::keyReleaseEvent):
572 2008-01-17 Simon Hausmann <hausmann@webkit.org>
576 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
578 * Api/qwebnetworkinterface.cpp:
579 (QWebNetworkManager::started):
581 2008-01-17 Simon Hausmann <shausman@trolltech.com>
585 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
590 * WebCoreSupport/FrameLoaderClientQt.cpp:
592 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
594 Reviewed by Simon Hausmann <hausmann@webkit.org>.
596 Fixes compilation with QT_NO_DRAGANDDROP
602 (QWebView::dragEnterEvent):
603 (QWebView::dragLeaveEvent):
604 (QWebView::dragMoveEvent):
605 (QWebView::dropEvent):
607 2008-01-17 Simon Hausmann <hausmann@webkit.org>
611 Fix compilation, removed obsolete privateBrowsingEnabled() method.
613 * WebCoreSupport/FrameLoaderClientQt.cpp:
615 2008-01-16 Lars Knoll <lars@trolltech.com>
617 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
619 Removed a whole bunch of notImplemented() warnings.
621 I don't want to hide the real warnings in lots of things that
622 I am by now pretty certain we won't need.
625 * WebCoreSupport/FrameLoaderClientQt.cpp:
626 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
627 (WebCore::FrameLoaderClientQt::canShowMIMEType):
629 2008-01-16 Simon Hausmann <hausmann@webkit.org>
633 Fix crash when bringing up the context menu on maps.google.com.
635 If the website provides its own context menu then we don't have a ContextMenu pointer.
639 (QWebPagePrivate::contextMenuEvent):
641 2008-01-16 Simon Hausmann <hausmann@webkit.org>
645 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
648 (QWebView::mouseMoveEvent):
649 (QWebView::mousePressEvent):
650 (QWebView::mouseDoubleClickEvent):
651 (QWebView::mouseReleaseEvent):
652 (QWebView::contextMenuEvent):
653 (QWebView::wheelEvent):
654 (QWebView::keyPressEvent):
655 (QWebView::keyReleaseEvent):
656 (QWebView::focusInEvent):
657 (QWebView::focusOutEvent):
658 (QWebView::dragEnterEvent):
659 (QWebView::dragLeaveEvent):
660 (QWebView::dragMoveEvent):
661 (QWebView::dropEvent):
662 (QWebView::focusNextPrevChild):
664 2008-01-16 Simon Hausmann <hausmann@webkit.org>
668 Made the url property read-write.
672 2008-01-16 Simon Hausmann <hausmann@webkit.org>
676 Don't crash when showing a default initialized QWebView that has no page/frame yet.
679 (QWebView::paintEvent):
681 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
685 Change hoveringOverLink implementation to have less issues.
687 * Currently we only compare a pointer. In the worst case we
688 could delete the Element we have pointed to and a new one
689 gets the same address. But even if that doesn't happen the
690 WebCore::Element is mutable and JavaScript could change the
691 URL, Title or Content. So we have to compare all these three
693 * This does not seem to be a performance impact.
697 (QWebPagePrivate::mouseMoveEvent):
700 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
704 * Move the hoverElement from QWebFrame to QWebPage. As it is
709 (QWebFramePrivate::QWebFramePrivate):
711 (QWebPagePrivate::mouseMoveEvent):
714 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
718 EventHandler changes/fixes in QWebPage:
719 -mouse{Press,Move,Release}Event:
720 Send the event always to the mainFrame of the QWebPage.
722 -contextMenuEvent, key{Press,Release}Event:
723 Send the event to the focused frame.
725 This is following the Windows port and fixes a issue with the
726 Web Inspector where we were sending the events to a wrong frame.
728 It is guaranteed that the mainFrame will always have an eventHandler
729 and frameView set. There is no need to check for this in QWebPage.
733 (QWebFramePrivate::init):
735 (QWebFramePrivate::QWebFramePrivate):
737 (QWebPagePrivate::updateEditorActions):
738 (QWebPagePrivate::mouseMoveEvent):
739 (QWebPagePrivate::mousePressEvent):
740 (QWebPagePrivate::mouseDoubleClickEvent):
741 (QWebPagePrivate::mouseReleaseEvent):
742 (QWebPagePrivate::contextMenuEvent):
743 (QWebPagePrivate::wheelEvent):
744 (QWebPagePrivate::keyPressEvent):
745 (QWebPagePrivate::keyReleaseEvent):
746 (QWebPagePrivate::focusInEvent):
749 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
753 * Add core and kit functions to QWebFramePrivate to convert from
754 QWebFrame to WebCore::Frame and vice versa.
758 (QWebFramePrivate::core):
759 (QWebFramePrivate::kit):
763 2008-01-16 Lars Knoll <lars@trolltech.com>
767 add conversion methods from and to QUrl to KURL.
769 Use them in the places I found at the moment. Fixes a bug
770 where form data was encoded twice.
771 Also fix QWebSettings to take a QUrl for the user style sheet
778 (QWebPage::createPlugin):
780 (QWebPage::triggerAction):
781 * Api/qwebsettings.cpp:
782 (QWebSettingsPrivate::apply):
783 * Api/qwebsettings.h:
784 * WebCoreSupport/ChromeClientQt.cpp:
785 (WebCore::ChromeClientQt::createWindow):
786 (WebCore::ChromeClientQt::show):
788 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
792 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
793 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
794 the QWebPage/WebInspector automatically.
797 * WebCoreSupport/InspectorClientQt.cpp:
798 (WebCore::InspectorClientWebPage::createWindow):
799 (WebCore::InspectorClientView::InspectorClientView):
801 2008-01-10 Maciej Stachowiak <mjs@apple.com>
805 - remove SecurityOriginData and fold its functionality into SecurityOrigin
807 * WebCoreSupport/ChromeClientQt.cpp:
808 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
809 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
810 * WebCoreSupport/ChromeClientQt.h:
812 2008-01-10 Lars Knoll <lars@trolltech.com>
819 * Api/qwebhistory.cpp:
820 (QWebHistoryItem::QWebHistoryItem):
821 (QWebHistoryItem::operator=):
822 (QWebHistoryItem::~QWebHistoryItem):
823 (QWebHistoryItem::originalUrl):
824 (QWebHistoryItem::currentUrl):
825 (QWebHistoryItem::title):
826 (QWebHistoryItem::icon):
827 (QWebHistory::canGoBack):
828 (QWebHistory::canGoForward):
829 (QWebHistory::goBack):
830 (QWebHistory::goForward):
831 (QWebHistory::goToItem):
834 2008-01-10 Simon Hausmann <hausmann@webkit.org>
838 Make the reset() functions not do anything on the default QWebSettings object.
841 * Api/qwebsettings.cpp:
842 (QWebSettings::resetFontSize):
843 (QWebSettings::resetFontFamily):
844 (QWebSettings::clearAttribute):
846 2008-01-10 Lars Knoll <lars@trolltech.com>
850 rename QWebPageHistory to QWebHistory.
853 * Api/qwebhistory.cpp: Added.
854 (QWebHistoryItem::QWebHistoryItem):
855 (QWebHistoryItem::operator=):
856 (QWebHistoryItem::~QWebHistoryItem):
857 (QWebHistoryItem::originalUrl):
858 (QWebHistoryItem::currentUrl):
859 (QWebHistoryItem::title):
860 (QWebHistoryItem::lastVisited):
861 (QWebHistoryItem::icon):
862 (QWebHistory::QWebHistory):
863 (QWebHistory::~QWebHistory):
864 (QWebHistory::clear):
865 (QWebHistory::items):
866 (QWebHistory::backItems):
867 (QWebHistory::forwardItems):
868 (QWebHistory::canGoBack):
869 (QWebHistory::canGoForward):
870 (QWebHistory::goBack):
871 (QWebHistory::goForward):
872 (QWebHistory::goToItem):
873 (QWebHistory::backItem):
874 (QWebHistory::currentItem):
875 (QWebHistory::forwardItem):
876 (QWebHistory::itemAtIndex):
877 * Api/qwebhistory.h: Added.
878 * Api/qwebhistory_p.h: Added.
879 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
880 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
881 (QWebHistoryPrivate::QWebHistoryPrivate):
882 (QWebHistoryPrivate::~QWebHistoryPrivate):
884 (QWebPagePrivate::QWebPagePrivate):
887 * Api/qwebpagehistory.cpp: Removed.
888 * Api/qwebpagehistory.h: Removed.
889 * Api/qwebpagehistory_p.h: Removed.
893 2008-01-10 Simon Hausmann <hausmann@webkit.org>
897 Documentation for QWebSettings
900 * Api/qwebsettings.cpp:
901 (QWebSettings::~QWebSettings):
902 (QWebSettings::setFontSize):
903 (QWebSettings::resetFontSize):
904 (QWebSettings::setUserStyleSheetLocation):
905 (QWebSettings::userStyleSheetLocation):
906 (QWebSettings::iconDatabaseEnabled):
907 (QWebSettings::webGraphic):
908 (QWebSettings::setFontFamily):
909 (QWebSettings::resetFontFamily):
910 (QWebSettings::setAttribute):
912 2008-01-10 Lars Knoll <lars@trolltech.com>
916 Document QWebHistoryInterface.
919 * Api/qwebhistoryinterface.cpp:
920 (QWebHistoryInterface::defaultInterface):
921 (QWebHistoryInterface::~QWebHistoryInterface):
923 2008-01-10 Lars Knoll <lars@trolltech.com>
927 Documentation for QWebFrame.
934 (QWebFrame::setHtml):
935 (QWebFrame::parentFrame):
938 (QWebFrame::geometry):
942 2008-01-10 Lars Knoll <lars@trolltech.com>
946 fix the drawing errors that where introduced due to refactoring.
948 Correctly clip to the rectangle we want to draw in ScrollView::paint().
955 (QWebView::paintEvent):
956 * WebCoreSupport/ChromeClientQt.cpp:
957 (WebCore::ChromeClientQt::scrollBackingStore):
959 2008-01-10 Simon Hausmann <hausmann@webkit.org>
963 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
967 (QWebPagePrivate::dropEvent):
968 (QWebPage::QWebPage):
969 (QWebPage::~QWebPage):
970 (QWebPage::mainFrame):
971 (QWebPage::currentFrame):
975 (QWebPage::javaScriptConsoleMessage):
976 (QWebPage::javaScriptAlert):
977 (QWebPage::javaScriptConfirm):
978 (QWebPage::javaScriptPrompt):
979 (QWebPage::createWindow):
980 (QWebPage::createModalDialog):
982 (QWebPage::triggerAction):
983 (QWebPage::viewportSize):
984 (QWebPage::navigationRequested):
985 (QWebPage::selectedText):
986 (QWebPage::isModified):
987 (QWebPage::focusNextPrevChild):
988 (QWebPage::settings):
989 (QWebPage::networkProxy):
990 (QWebPage::setNetworkAccessManager):
991 (QWebPage::networkAccessManager):
992 (QWebPagePrivate::_q_onLoadProgressChanged):
995 2008-01-07 Holger Freyther <zecke@selfish.org>
997 Reviewed by Alp Toker.
999 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
1001 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
1002 * Update the ContextMenuController to accept CheckableActionTypes as well.
1003 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
1004 was extracted from ContextMenu::checkOrEnableIfNeeded.
1005 * Update the Qt and Windows port.
1008 (QWebPagePrivate::createContextMenu):
1010 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1012 Build fix for the Windows build. MSVC wants to see the full
1013 declaration of arguments even when just passing them through.
1017 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1021 Added the missing parameters to make it possible to do POST operations from the public API.
1023 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1024 two extra arguments were in QNetworkRequest :-/
1027 * Api/qwebframe.cpp:
1034 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1038 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1041 * Api/qwebframe.cpp:
1044 * Api/qwebnetworkinterface.cpp:
1045 * Api/qwebnetworkinterface.h:
1046 * Api/qwebnetworkinterface_p.h:
1047 * Api/qwebobjectplugin.cpp:
1048 * Api/qwebobjectplugin.h:
1049 * Api/qwebobjectplugin_p.h:
1050 * Api/qwebobjectpluginconnector.cpp:
1051 * Api/qwebobjectpluginconnector.h:
1053 (QWebPagePrivate::QWebPagePrivate):
1054 (QWebPagePrivate::~QWebPagePrivate):
1055 (QWebPagePrivate::navigationRequested):
1056 (QWebPage::setNetworkInterface):
1057 (QWebPage::networkInterface):
1058 (QWebPage::setNetworkAccessManager):
1059 (QWebPage::networkAccessManager):
1064 * WebCoreSupport/FrameLoaderClientQt.cpp:
1065 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1066 (WebCore::FrameLoaderClientQt::objectContentType):
1067 (WebCore::FrameLoaderClientQt::createPlugin):
1069 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1073 * Move the QWebPagePrivate methods up to the other private ones
1076 (dropActionToDragOp):
1077 (dragOpToDropAction):
1078 (QWebPagePrivate::mouseMoveEvent):
1079 (QWebPagePrivate::mousePressEvent):
1080 (QWebPagePrivate::mouseDoubleClickEvent):
1081 (QWebPagePrivate::mouseReleaseEvent):
1082 (QWebPagePrivate::contextMenuEvent):
1083 (QWebPagePrivate::wheelEvent):
1084 (QWebPagePrivate::keyPressEvent):
1085 (QWebPagePrivate::keyReleaseEvent):
1086 (QWebPagePrivate::focusInEvent):
1087 (QWebPagePrivate::focusOutEvent):
1088 (QWebPagePrivate::dragEnterEvent):
1089 (QWebPagePrivate::dragLeaveEvent):
1090 (QWebPagePrivate::dragMoveEvent):
1091 (QWebPagePrivate::dropEvent):
1092 (QWebPage::focusNextPrevChild):
1094 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1098 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1102 (dragOpToDropAction):
1104 (QWebView::mouseMoveEvent):
1105 (QWebView::mousePressEvent):
1106 (QWebView::mouseDoubleClickEvent):
1107 (QWebView::mouseReleaseEvent):
1108 (QWebView::contextMenuEvent):
1109 (QWebView::keyPressEvent):
1110 (QWebView::keyReleaseEvent):
1111 (QWebView::focusInEvent):
1112 (QWebView::focusOutEvent):
1113 (QWebView::dragEnterEvent):
1114 (QWebView::dragLeaveEvent):
1115 (QWebView::dragMoveEvent):
1116 (QWebView::dropEvent):
1118 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1122 * This layout is not needed anymore as Widget::invalidateRect will not
1127 (QWebView::paintEvent):
1129 2008-01-04 Lars Knoll <lars@trolltech.com>
1133 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1135 This also brings the code closer in line with the Windows code. Seems
1136 to work nicely on first try :)
1139 * WebCoreSupport/ChromeClientQt.cpp:
1140 (WebCore::ChromeClientQt::updateBackingStore):
1141 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1142 (WebCore::ChromeClientQt::setToolTip):
1143 * WebCoreSupport/FrameLoaderClientQt.cpp:
1144 (WebCore::FrameLoaderClientQt::createPlugin):
1146 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1150 * Remove the todo from QWebPage and move the code to QWebView.
1154 (QWebPagePrivate::wheelEvent):
1155 (QWebPagePrivate::focusInEvent):
1157 (QWebView::wheelEvent):
1158 (QWebView::focusInEvent):
1160 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1164 * Move the various event methods to QWebPagePrivate. This is similar to
1165 QTextControl as well.
1170 (QWebPagePrivate::mouseMoveEvent):
1171 (QWebPagePrivate::mousePressEvent):
1172 (QWebPagePrivate::mouseDoubleClickEvent):
1173 (QWebPagePrivate::mouseReleaseEvent):
1174 (QWebPagePrivate::contextMenuEvent):
1175 (QWebPagePrivate::wheelEvent):
1176 (QWebPagePrivate::keyPressEvent):
1177 (QWebPagePrivate::keyReleaseEvent):
1178 (QWebPagePrivate::focusInEvent):
1179 (QWebPagePrivate::focusOutEvent):
1180 (QWebPage::focusNextPrevChild):
1181 (QWebPagePrivate::dragEnterEvent):
1182 (QWebPagePrivate::dragLeaveEvent):
1183 (QWebPagePrivate::dragMoveEvent):
1184 (QWebPagePrivate::dropEvent):
1188 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1192 * Forward the event from QWebView to QWebPage through QObject::event. This
1193 is similar to the way QTextControl is working.
1197 (dragOpToDropAction):
1201 (QWebView::mouseMoveEvent):
1202 (QWebView::mousePressEvent):
1203 (QWebView::mouseDoubleClickEvent):
1204 (QWebView::mouseReleaseEvent):
1205 (QWebView::contextMenuEvent):
1206 (QWebView::wheelEvent):
1207 (QWebView::keyPressEvent):
1208 (QWebView::keyReleaseEvent):
1209 (QWebView::focusInEvent):
1210 (QWebView::focusOutEvent):
1211 (QWebView::dragEnterEvent):
1212 (QWebView::dragLeaveEvent):
1213 (QWebView::dragMoveEvent):
1214 (QWebView::dropEvent):
1217 2008-01-04 Lars Knoll <lars@trolltech.com>
1221 make QWebPage a QObject and get things to compile.
1223 Nothing works currently though.
1226 * Api/qwebobjectpluginconnector.cpp:
1228 (QWebPagePrivate::QWebPagePrivate):
1229 (QWebPagePrivate::createMainFrame):
1230 (QWebPage::QWebPage):
1231 (QWebPage::setView):
1233 (QWebPage::javaScriptAlert):
1234 (QWebPage::javaScriptPrompt):
1235 (dragOpToDropAction):
1236 (QWebPage::mousePressEvent):
1237 (QWebPage::mouseDoubleClickEvent):
1238 (QWebPage::mouseReleaseEvent):
1239 (QWebPage::wheelEvent):
1240 (QWebPage::keyPressEvent):
1241 (QWebPage::focusInEvent):
1245 (QWebView::QWebView):
1246 (QWebView::setPage):
1247 (QWebView::resizeEvent):
1248 (QWebView::paintEvent):
1250 * WebCoreSupport/ChromeClientQt.cpp:
1251 (WebCore::ChromeClientQt::windowRect):
1252 (WebCore::ChromeClientQt::pageRect):
1253 (WebCore::ChromeClientQt::focus):
1254 (WebCore::ChromeClientQt::unfocus):
1255 (WebCore::ChromeClientQt::canTakeFocus):
1256 (WebCore::ChromeClientQt::takeFocus):
1257 (WebCore::ChromeClientQt::canRunModal):
1258 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1259 * WebCoreSupport/DragClientQt.cpp:
1260 (WebCore::DragClientQt::startDrag):
1261 * WebCoreSupport/FrameLoaderClientQt.cpp:
1262 (WebCore::FrameLoaderClientQt::createPlugin):
1263 * WebCoreSupport/InspectorClientQt.cpp:
1264 (WebCore::InspectorClientWebPage::createWindow):
1265 (WebCore::InspectorClientView::InspectorClientView):
1266 (WebCore::InspectorClientView::page):
1267 (WebCore::InspectorClientView::hideEvent):
1268 (WebCore::InspectorClientView::closeEvent):
1269 (WebCore::InspectorClientQt::createPage):
1270 (WebCore::InspectorClientQt::closeWindow):
1272 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1276 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1280 (QWebView::setHtml):
1281 (QWebView::setContent):
1282 (QWebView::history):
1283 (QWebView::settings):
1285 (QWebView::triggerAction):
1287 (QWebView::backward):
1288 (QWebView::forward):
1292 2008-01-04 Lars Knoll <lars@trolltech.com>
1296 add a viewportSize to QWebPage.
1298 This is required to eventually make it a QObject only.
1302 (QWebPage::triggerAction):
1303 (QWebPage::viewportSize):
1304 (QWebPage::setViewportSize):
1307 2008-01-04 Lars Knoll <lars@trolltech.com>
1311 take a QString as identifier in QWebFrame::addToJSWindowObject.
1313 * Api/qwebframe.cpp:
1314 (QWebFrame::addToJSWindowObject):
1317 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1321 Call the frame arguments for the javascript callbacks "originatingFrame"
1326 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1330 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1333 * Api/qwebhistoryinterface.h:
1335 * WebCoreSupport/FrameLoaderClientQt.cpp:
1336 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1338 2008-01-04 Lars Knoll <lars@trolltech.com>
1342 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1344 * Api/qwebframe.cpp:
1347 (QWebFrame::setVerticalScrollBarPolicy):
1350 (QWebPage::javaScriptAlert):
1351 (QWebPage::javaScriptPrompt):
1352 (QWebPage::networkInterface):
1358 * WebCoreSupport/FrameLoaderClientQt.cpp:
1360 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1364 Moved QWebPage::open to QWebFrame::load and added setHtml.
1367 * Api/qwebframe.cpp:
1369 (QWebFrame::setHtml):
1370 (QWebFrame::setContent):
1376 (QWebView::setHtml):
1378 * WebCoreSupport/ChromeClientQt.cpp:
1379 (WebCore::ChromeClientQt::createWindow):
1380 * WebCoreSupport/InspectorClientQt.cpp:
1381 (WebCore::InspectorClientQt::createPage):
1383 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1387 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1393 (QWebPagePrivate::createMainFrame):
1395 * Api/qwebpagehistory.h:
1396 * Api/qwebview.cpp: Added.
1397 (QWebView::QWebView):
1398 (QWebView::~QWebView):
1400 (QWebView::setPage):
1402 (QWebView::setHtml):
1403 (QWebView::history):
1404 (QWebView::settings):
1408 (QWebView::selectedText):
1410 (QWebView::triggerAction):
1411 (QWebView::isModified):
1412 (QWebView::textInteractionFlags):
1413 (QWebView::setTextInteractionFlags):
1414 (QWebView::sizeHint):
1416 (QWebView::backward):
1417 (QWebView::forward):
1419 * Api/qwebview.h: Added.
1420 * QtLauncher/main.cpp:
1421 (MainWindow::MainWindow):
1422 (MainWindow::webPage):
1423 (MainWindow::changeLocation):
1424 * WebCoreSupport/FrameLoaderClientQt.cpp:
1425 (WebCore::FrameLoaderClientQt::setFrame):
1426 * WebCoreSupport/FrameLoaderClientQt.h:
1428 2007-12-14 Darin Adler <darin@apple.com>
1433 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1434 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1435 * WebCoreSupport/EditorClientQt.cpp:
1436 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1437 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1440 2007-12-12 Brady Eidson <beidson@apple.com>
1442 Reviewed by Sam Weinig
1444 As part of doing some CachedPage and client cleanup, keep Qt building
1446 * WebCoreSupport/FrameLoaderClientQt.cpp:
1447 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1448 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1449 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1450 * WebCoreSupport/FrameLoaderClientQt.h:
1452 2007-12-12 Sam Weinig <sam@webkit.org>
1456 * WebCoreSupport/FrameLoaderClientQt.cpp:
1457 (WebCore::FrameLoaderClientQt::userAgent):
1459 2007-12-12 Sam Weinig <sam@webkit.org>
1463 * Api/qwebnetworkinterface.cpp:
1464 (QWebNetworkRequestPrivate::init):
1467 (QWebPageContext::QWebPageContext):
1468 * Api/qwebpagehistory.cpp:
1469 (QWebHistoryItem::originalUrl):
1470 (QWebHistoryItem::currentUrl):
1471 * WebCoreSupport/FrameLoaderClientQt.cpp:
1472 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1473 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1474 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1475 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1476 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1477 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1478 (WebCore::FrameLoaderClientQt::createPlugin):
1480 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1484 <rdar://problem/5535636>
1485 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1487 http://bugs.webkit.org/show_bug.cgi?id=13916
1488 JavaScript detects Tab as a character input on a textfield validation
1490 * WebCoreSupport/EditorClientQt.cpp:
1491 (WebCore::EditorClientQt::handleKeyboardEvent):
1492 (WebCore::EditorClientQt::handleInputMethodKeydown):
1493 * WebCoreSupport/EditorClientQt.h:
1494 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1496 2007-12-07 Darin Adler <darin@apple.com>
1500 * Api/qwebhistoryinterface.cpp:
1501 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1502 be updated, since WebCore changed, but this should not be here.
1504 2007-12-04 Darin Adler <darin@apple.com>
1506 Reviewed by Kevin Decker.
1508 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1509 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1511 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1515 * Implement the InspectorClient for the Qt port
1516 * It does not support highlighting of nodes yet
1517 * Use QRC to open the internal page. The important thing is the
1518 '/' in the URL to make WebCore::Document::completeURL behave the
1520 * To make the InspectorClient work we will have to mark qrc as secure.
1523 (QWebPagePrivate::QWebPagePrivate):
1525 * WebCoreSupport/InspectorClientQt.cpp:
1526 (WebCore::InspectorClientWebPage::hideEvent):
1527 (WebCore::InspectorClientQt::InspectorClientQt):
1528 (WebCore::InspectorClientQt::inspectorDestroyed):
1529 (WebCore::InspectorClientQt::createPage):
1530 (WebCore::InspectorClientQt::localizedStringsURL):
1531 (WebCore::InspectorClientQt::showWindow):
1532 (WebCore::InspectorClientQt::closeWindow):
1533 (WebCore::InspectorClientQt::attachWindow):
1534 (WebCore::InspectorClientQt::detachWindow):
1535 * WebCoreSupport/InspectorClientQt.h:
1537 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1539 Rubber stamped by Mark.
1541 Always include config.h at the beginning of the file.
1543 * Api/qwebsettings.cpp:
1545 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1549 * Avoid crashes by making sure everything is layouted before
1550 we start painting. This avoids a crash in Widget::invalidateRect
1551 because QPainter::begin would fail
1552 * The QWebFrame::layout() methods and calls are left untouched because
1553 this would be an API decision.
1556 * Api/qwebframe.cpp:
1557 (QWebFrame::layout):
1559 (QWebPage::paintEvent):
1561 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1565 * SubClass QWebPage to handle hide and close events.
1566 * Forward these events to the InspectorController
1567 * The other options would have been using an eventFilter
1568 on the webpage and making InspectorClient a QObject or
1569 creating a QObject Observer.
1570 * Provide a simple QWebPage* createWindow implementation. This is needed
1571 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1572 of the inspector client.
1575 * WebCoreSupport/InspectorClientQt.cpp:
1576 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1577 (WebCore::InspectorClientWebPage::createWindow):
1578 (WebCore::InspectorClientWebPage::hideEvent):
1579 (WebCore::InspectorClientWebPage::closeEvent):
1580 (WebCore::InspectorClientQt::createPage):
1582 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1586 * Allow adding the Inspect ContextMenuItem to our Menu
1587 * Open the Inspector when Inspect was activated. This requires
1588 that we keep the innerNonSharedNode from the HitTest around. This
1589 forces us to include <wtf/RefPtr.h> in the private header. It is
1590 the first non Qt header but should be okay.
1594 (webActionForContextMenuAction):
1595 (QWebPage::triggerAction):
1597 (QWebPageContext::QWebPageContext):
1601 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1605 * Add the Developer Extras to the WebAttribute and propagate it
1606 to WebCore::Settings. This will enable the Inspect Element menu item
1607 * CodingStyle fixes in QWebSettings
1608 * Enable the Developer Extras in the QtLauncher
1611 * Api/qwebsettings.cpp:
1612 (QWebSettingsPrivate::apply):
1613 * Api/qwebsettings.h:
1614 * QtLauncher/main.cpp:
1617 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1619 Removed unnecessary and possibly incorrect #include from my last
1622 * Api/qwebframe.cpp:
1624 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1626 Qt build fix: Get globalExec() from the right place.
1628 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1632 * Self destruct the clients like the ohter ports do
1635 * WebCoreSupport/ChromeClientQt.cpp:
1636 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1637 * WebCoreSupport/ContextMenuClientQt.cpp:
1638 * WebCoreSupport/DragClientQt.cpp:
1639 * WebCoreSupport/EditorClientQt.cpp:
1640 * WebCoreSupport/InspectorClientQt.cpp:
1642 2007-11-29 Brady Eidson <beidson@apple.com>
1644 Keep it building with new client method
1646 * WebCoreSupport/ChromeClientQt.cpp:
1647 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1648 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1649 * WebCoreSupport/ChromeClientQt.h:
1651 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1653 Reviewed by Adam Treat.
1655 Fix compilation (don't define notImplemented twice)
1657 * Api/qwebnetworkinterface.cpp:
1659 2007-11-22 Simon Hausmann <hausmann@kde.org>
1663 Use Q_SIGNALS/Q_SLOTS in the public API
1668 2007-11-22 Simon Hausmann <hausmann@kde.org>
1672 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1676 2007-11-22 Simon Hausmann <hausmann@kde.org>
1680 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1684 * Api/qwebhistoryinterface.h:
1685 * Api/qwebnetworkinterface.h:
1686 * Api/qwebobjectplugin.h:
1687 * Api/qwebobjectplugin_p.h:
1688 * Api/qwebobjectpluginconnector.h:
1690 * Api/qwebpagehistory.h:
1691 * Api/qwebsettings.h:
1693 2007-11-22 Simon Hausmann <hausmann@kde.org>
1697 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1699 * Api/qwebpagehistory.h:
1701 2007-11-22 George Staikos <staikos@kde.org>
1703 Reviewed by Simon Hausmann <hausmann@kde.org>.
1708 * Api/qwebobjectplugin.cpp:
1709 * Api/qwebobjectplugin.h:
1710 * Api/qwebobjectpluginconnector.cpp:
1711 * Api/qwebobjectpluginconnector.h:
1713 2007-11-22 Simon Hausmann <hausmann@kde.org>
1715 Reviewed by George Staikos <staikos@kde.org>.
1717 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1719 This also fixes compilation with gcc 4.3.
1722 * Api/qwebframe.cpp:
1723 (QWebFramePrivate::init):
1725 2007-11-21 Adam Treat <treat@kde.org>
1729 * Connect up the signal for all subframes too.
1731 * Api/qwebframe.cpp:
1732 (QWebFramePrivate::init):
1734 (QWebPagePrivate::createMainFrame):
1736 2007-11-20 Simon Hausmann <hausmann@kde.org>
1738 Reviewed by Adam Treat <treat@kde.org>.
1740 Remove static linkage of QtWebKit against the ICO image format plugin.
1742 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1745 * Plugins/Plugins.pro:
1747 2007-11-20 Simon Hausmann <hausmann@kde.org>
1749 Reviewed by George Staikos <staikos@kde.org>.
1751 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1756 2007-11-20 George Staikos <staikos@kde.org>
1758 Reviewed by Simon Hausmann <hausmann@kde.org>.
1760 Add an argument to pass the link text in the hovering signal
1765 (QWebPagePrivate::createMainFrame):
1766 (QWebPage::mouseMoveEvent):
1769 2007-11-20 Adam Treat <treat@kde.org>
1771 Reviewed by Simon and George.
1773 * Be quiet and allow suppression of NotImplemented calls at runtime.
1775 * WebCoreSupport/FrameLoaderClientQt.cpp:
1776 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1778 2007-11-19 Adam Treat <treat@kde.org>
1782 * Don't segfault when event pos is outside of the widget.
1785 (QWebPage::mouseMoveEvent):
1786 (QWebPage::mousePressEvent):
1787 (QWebPage::mouseDoubleClickEvent):
1788 (QWebPage::mouseReleaseEvent):
1789 (QWebPage::contextMenuEvent):
1791 2007-11-17 Timothy Hatcher <timothy@apple.com>
1793 Reviewed by Mark Rowe.
1795 Bug 13470: i18n: The Web Inspector is not localizable
1796 http://bugs.webkit.org/show_bug.cgi?id=13470
1798 * WebCoreSupport/InspectorClientQt.cpp:
1799 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1800 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1802 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1804 Build fix: changed Shared to RefCounted.
1806 * WebCoreSupport/ChromeClientQt.h:
1807 * WebCoreSupport/ContextMenuClientQt.cpp:
1808 * WebCoreSupport/ContextMenuClientQt.h:
1809 * WebCoreSupport/EditorClientQt.h:
1810 * WebCoreSupport/FrameLoaderClientQt.h:
1812 2007-11-10 Simon Hausmann <hausmann@kde.org>
1814 Reviewed by Nikolas.
1816 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1820 (QWebPagePrivate::createContextMenu):
1822 2007-11-10 Simon Hausmann <hausmann@kde.org>
1824 Reviewed by Nikolas.
1826 Added support for the Bold/Italic/Underline toggle actions.
1830 (webActionForContextMenuAction):
1831 (QWebPage::triggerAction):
1835 2007-11-10 Simon Hausmann <hausmann@kde.org>
1837 Reviewed by Nikolas.
1839 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1840 to update the enable/checked state correctly.
1844 (QWebPagePrivate::createContextMenu):
1845 (QWebPage::contextMenuEvent):
1848 2007-11-10 Simon Hausmann <hausmann@kde.org>
1850 Reviewed by Nikolas.
1852 Mark the text direction actions as checkable actions.
1858 2007-11-09 Simon Hausmann <hausmann@kde.org>
1862 Implemented the webcore actions for changing the text direction.
1866 (webActionForContextMenuAction):
1867 (QWebPage::triggerAction):
1871 2007-11-09 Simon Hausmann <hausmann@kde.org>
1875 Fix ContextMenu allocation in the Qt port.
1877 Store all items and submenus value based in ContextMenu and ContextMenuItem.
1878 That fixes the crashes when the context menu was populated with sub-menus because
1879 of the use of temporary ContextMenu objects like this:
1881 ContextMenu subMenu(...);
1882 subMenu.appendItem(...);
1883 subMenu.appendItem(...);
1885 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
1889 (QWebPage::contextMenuEvent):
1892 2007-11-09 Simon Hausmann <hausmann@kde.org>
1896 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
1902 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1906 - windowObjectCleared() is no longer const. It needs to setup the
1907 script debugger and cannot be const to do so.
1909 * WebCoreSupport/FrameLoaderClientQt.cpp:
1910 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1911 * WebCoreSupport/FrameLoaderClientQt.h:
1913 2007-11-08 Simon Hausmann <hausmann@kde.org>
1915 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
1917 The buildbots use Qt 4.4 which has the function in question, but Qt
1918 4.3 doesn't have it. Use removeAll() as replacement instead, it
1919 shouldn't make a difference in performance.
1921 * Api/qwebsettings.cpp:
1922 (QWebSettings::~QWebSettings):
1924 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1926 Reviewed by Lars Knoll <lars@trolltech.com>.
1928 Cleanup checking for the request method.
1930 * Check the request method only in QWebNetworkManager::add.
1931 * Currently HEAD, GET, POST are allowed and for everything else
1932 QWebNetworkManager::add returns false.
1933 * Returning false is compatible with ResourceHandle::start and it
1934 can be used in ResourceHandle::loadResourceSynchronously to generate
1938 * Api/qwebnetworkinterface.cpp:
1939 (QWebNetworkManager::add):
1941 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1943 Reviewed by Lars Knoll <lars@trolltech.com>.
1945 Fix bug in the implementation of synchronous network jobs.
1947 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
1948 - if (jobMode == AsynchronousJob) {
1949 + if (jobMode == SynchronousJob) {
1950 add job to synchronous list/hash
1952 * Just applying the above change will lead to crashes because we can finish
1953 jobs before we started them.
1955 * Avoid these issues by saving all work (starting a job, sending data and
1956 finishing it) inside one list. JobWork will contain any
1957 of the above three work types and doWork will just work on this list
1958 (m_pendingWork). As foreach takes a copy of the list calling started, data
1959 and finished will not add new work and we gurantee that if we have JobStarted
1960 it will be in the list before JobData and JobFinished.
1962 * Observation: We might just kill the code to handle sync jobs.
1965 * Api/qwebnetworkinterface.cpp:
1966 (QWebNetworkManager::add):
1967 (QWebNetworkManager::queueStart):
1968 (QWebNetworkManager::queueData):
1969 (QWebNetworkManager::queueFinished):
1970 (QWebNetworkManager::doWork):
1971 * Api/qwebnetworkinterface_p.h:
1972 (QWebNetworkManager::JobWork::):
1973 (QWebNetworkManager::JobWork::JobWork):
1975 2007-11-07 Simon Hausmann <hausmann@kde.org>
1977 Build fix, reviewed by nobody.
1979 Fix the Qt build by setting up WindowFeatures before calling
1980 createWindow on the Chrome. This is similar to openNewWindow in
1981 page/ContextMenuController.cpp
1986 2007-11-07 Simon Hausmann <hausmann@kde.org>
1990 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
1993 (QWebPagePrivate::QWebPagePrivate):
1994 * Api/qwebsettings.cpp:
1995 (QWebSettingsPrivate::apply):
1996 * Api/qwebsettings.h:
1998 2007-11-07 Simon Hausmann <hausmann@kde.org>
2002 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
2004 * Api/qwebpagehistory.cpp:
2005 * Api/qwebpagehistory.h:
2007 2007-11-07 Simon Hausmann <hausmann@kde.org>
2011 Removed unimplemented QWebHistoryItem::children() function
2013 * Api/qwebpagehistory.h:
2015 2007-11-07 Simon Hausmann <hausmann@kde.org>
2019 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2021 * Api/qwebsettings.cpp:
2022 (QWebSettings::fontSize):
2023 (QWebSettings::fontFamily):
2024 (QWebSettings::testAttribute):
2026 2007-11-07 Simon Hausmann <hausmann@kde.org>
2030 Added explicit functions for resetting the font sizes and font families.
2032 * Api/qwebsettings.cpp:
2033 (QWebSettings::resetFontSize):
2034 (QWebSettings::resetFontFamily):
2035 * Api/qwebsettings.h:
2037 2007-11-07 Simon Hausmann <hausmann@kde.org>
2041 Combined the font sizes accessors/setters under one setter/getter with an enum.
2043 * Api/qwebsettings.cpp:
2044 (QWebSettingsPrivate::QWebSettingsPrivate):
2045 (QWebSettingsPrivate::apply):
2046 (QWebSettings::QWebSettings):
2047 (QWebSettings::setFontSize):
2048 * Api/qwebsettings.h:
2050 2007-11-07 Simon Hausmann <hausmann@kde.org>
2054 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2058 * WebCoreSupport/FrameLoaderClientQt.cpp:
2059 (WebCore::FrameLoaderClientQt::userAgent):
2061 2007-11-07 Simon Hausmann <hausmann@kde.org>
2065 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2068 (QWebPagePrivate::_q_webActionTriggered):
2069 (QWebPage::keyPressEvent):
2072 2007-11-07 Simon Hausmann <hausmann@kde.org>
2076 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2080 * WebCoreSupport/ChromeClientQt.cpp:
2081 (WebCore::ChromeClientQt::setWindowRect):
2083 2007-11-07 Simon Hausmann <hausmann@kde.org>
2087 Renamed QWebPage::webAction() to QWebPage::action()
2090 (QWebPagePrivate::createContextMenu):
2092 * QtLauncher/main.cpp:
2093 (MainWindow::MainWindow):
2095 2007-11-07 Simon Hausmann <hausmann@kde.org>
2099 Removed a bunch of slots/functions that are now available through the new actions API.
2104 2007-11-07 Simon Hausmann <hausmann@kde.org>
2108 Added some more comments to the API after another round of API review with Lars.
2112 2007-11-07 Simon Hausmann <hausmann@kde.org>
2116 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2118 The currently selected text is a property of the page as a whole.
2120 * Api/qwebframe.cpp:
2123 (QWebPage::selectedText):
2126 2007-11-07 Simon Hausmann <hausmann@kde.org>
2130 Implemented support for settings propagation.
2132 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2134 * Api/qwebsettings.cpp:
2135 (QWebSettingsPrivate::QWebSettingsPrivate):
2136 (QWebSettingsPrivate::apply):
2137 (QWebSettings::QWebSettings):
2138 (QWebSettings::~QWebSettings):
2139 (QWebSettings::setFontFamily):
2140 * Api/qwebsettings.h:
2142 2007-11-07 Simon Hausmann <hausmann@kde.org>
2146 Reworked the QWebSettings API.
2147 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2150 (QWebPagePrivate::QWebPagePrivate):
2151 (QWebPagePrivate::~QWebPagePrivate):
2152 (QWebPage::QWebPage):
2155 * Api/qwebsettings.cpp:
2156 (QWebSettingsPrivate::QWebSettingsPrivate):
2157 (QWebSettingsPrivate::apply):
2158 (QWebSettings::defaultSettings):
2159 (QWebSettings::QWebSettings):
2160 (QWebSettings::setMinimumFontSize):
2161 (QWebSettings::setMinimumLogicalFontSize):
2162 (QWebSettings::setDefaultFontSize):
2163 (QWebSettings::setDefaultFixedFontSize):
2164 (QWebSettings::setUserStyleSheetLocation):
2165 (QWebSettings::setFontFamily):
2166 (QWebSettings::fontFamily):
2167 (QWebSettings::setAttribute):
2168 * Api/qwebsettings.h:
2169 * QtLauncher/main.cpp:
2172 2007-11-07 Simon Hausmann <hausmann@kde.org>
2176 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2178 * Api/qwebsettings.cpp:
2179 (QWebSettings::setWebGraphic):
2180 * Api/qwebsettings.h:
2182 2007-11-07 Simon Hausmann <hausmann@kde.org>
2186 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2188 * Api/qwebsettings.cpp:
2190 2007-11-07 Simon Hausmann <hausmann@kde.org>
2194 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2196 * Api/qwebsettings.cpp:
2197 * Api/qwebsettings.h:
2199 2007-11-07 Simon Hausmann <hausmann@kde.org>
2203 Changed the webAction() accessor to not be a slot but just a public function.
2207 2007-11-07 Simon Hausmann <hausmann@kde.org>
2211 Implemented createWindow() in QtLauncher.
2213 * QtLauncher/main.cpp:
2215 (MainWindow::MainWindow):
2216 (WebPage::createWindow):
2218 2007-11-07 Simon Hausmann <hausmann@kde.org>
2222 Implemented opening links in new windows
2227 (QWebPage::webActionTriggered):
2229 2007-11-07 Simon Hausmann <hausmann@kde.org>
2233 Added and implemented the "OpenLink" action.
2236 (webActionForContextMenuAction):
2237 (QWebPage::webActionTriggered):
2238 (QWebPage::webAction):
2241 2007-11-07 Simon Hausmann <hausmann@kde.org>
2245 Adjust the state of the reload action correctly.
2248 (QWebPagePrivate::updateAction):
2249 (QWebPagePrivate::updateNavigationActions):
2251 2007-11-07 Simon Hausmann <hausmann@kde.org>
2255 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2258 (QWebPagePrivate::updateAction):
2259 (QWebPage::webAction):
2260 (QWebPage::undoStack):
2263 2007-11-07 Simon Hausmann <hausmann@kde.org>
2267 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2269 * QtLauncher/main.cpp:
2270 (MainWindow::MainWindow):
2272 2007-11-07 Simon Hausmann <hausmann@kde.org>
2276 Update the editor actions when the selection changes.
2279 (QWebPagePrivate::updateAction):
2280 (QWebPagePrivate::updateEditorActions):
2282 * WebCoreSupport/EditorClientQt.cpp:
2283 (WebCore::EditorClientQt::respondToChangedSelection):
2285 2007-11-07 Simon Hausmann <hausmann@kde.org>
2289 Added cut/copy/paste actions to the toolbar of QtLauncher
2291 * QtLauncher/main.cpp:
2292 (MainWindow::MainWindow):
2294 2007-11-07 Simon Hausmann <hausmann@kde.org>
2298 Started working on keeping the state of the navigation actions up-to-date.
2301 (QWebPagePrivate::updateAction):
2302 (QWebPagePrivate::updateNavigationActions):
2303 (QWebPage::webAction):
2305 * WebCoreSupport/FrameLoaderClientQt.cpp:
2306 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2307 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2308 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2309 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2310 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2312 2007-11-07 Simon Hausmann <hausmann@kde.org>
2316 Use the navigational web actions in the toolbar
2318 * QtLauncher/main.cpp:
2319 (MainWindow::MainWindow):
2321 2007-11-07 Simon Hausmann <hausmann@kde.org>
2325 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2326 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2329 (QWebPagePrivate::QWebPagePrivate):
2330 (webActionForContextMenuAction):
2331 (QWebPagePrivate::createContextMenu):
2332 (QWebPagePrivate::_q_webActionTriggered):
2333 (QWebPage::webActionTriggered):
2334 (QWebPage::webAction):
2335 (QWebPage::contextMenuEvent):
2336 (QWebPageContext::QWebPageContext):
2337 (QWebPageContext::operator=):
2338 (QWebPageContext::~QWebPageContext):
2339 (QWebPageContext::pos):
2340 (QWebPageContext::text):
2341 (QWebPageContext::linkUrl):
2342 (QWebPageContext::imageUrl):
2343 (QWebPageContext::image):
2344 (QWebPageContext::targetFrame):
2348 2007-11-07 Simon Hausmann <hausmann@kde.org>
2352 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2355 (QWebPage::webActionTriggered):
2356 (QWebPage::keyPressEvent):
2359 2007-11-07 Simon Hausmann <hausmann@kde.org>
2363 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2364 convenience methods such as cut()/copy()/paste().
2368 (QWebPage::webActionTriggered):
2373 2007-11-07 Simon Hausmann <hausmann@kde.org>
2377 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2378 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2379 in ContextMenu::populate().
2380 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2381 out of it. That menu is currently not functional anymore though.
2384 (QWebPagePrivate::createContextMenu):
2385 (QWebPage::contextMenuEvent):
2388 2007-11-07 Simon Hausmann <hausmann@kde.org>
2392 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2393 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2394 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2398 (QWebPage::contextMenuEvent):
2399 * WebCoreSupport/ContextMenuClientQt.cpp:
2400 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2402 2007-11-07 Simon Hausmann <hausmann@kde.org>
2406 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2407 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2410 (QWebPage::mousePressEvent):
2411 (QWebPage::contextMenuEvent):
2414 2007-11-07 Simon Hausmann <hausmann@kde.org>
2418 Turned onLoadProgressChanged into a real private slot.
2421 (QWebPage::QWebPage):
2425 2007-11-07 Simon Hausmann <hausmann@kde.org>
2429 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2432 (QWebPagePrivate::QWebPagePrivate):
2435 * Api/qwebpagehistory.cpp:
2436 (QWebPageHistory::QWebPageHistory):
2437 * Api/qwebpagehistory.h:
2439 2007-11-07 Lars Knoll <lars@trolltech.com>
2443 comments on API changes that we'd like to do.
2447 2007-11-07 Simon Hausmann <hausmann@kde.org>
2449 Reviewed by Lars Knoll <lars@trolltech.com>.
2451 Add a QWebPage::frameCreated() signal and fix DRT
2453 The removal of createFrame in QWebPage broke the re-implementation
2454 in DumpRenderTree. Instead emit a frameCreated() signal and
2455 connect to it in DumpRenderTree.
2459 (QWebPagePrivate::createMainFrame):
2461 * WebCoreSupport/FrameLoaderClientQt.cpp:
2462 (WebCore::FrameLoaderClientQt::createFrame):
2464 2007-11-07 Lars Knoll <lars@trolltech.com>
2468 Remove QWebPage::createFrame()
2470 now that QWebFrame doesn't have virtual methods anymore, there
2471 is no need for a createFrame() factory method in QWebpage.
2474 (QWebPagePrivate::createMainFrame):
2476 * WebCoreSupport/FrameLoaderClientQt.cpp:
2477 (WebCore::FrameLoaderClientQt::createFrame):
2479 2007-11-07 Simon Hausmann <hausmann@kde.org>
2481 Reviewed by Lars Knoll <lars@trolltech.com>.
2483 Moved all the event handlers from QWebFrame into QWebPage.
2485 This cleans up the public API and allows us to remove the
2486 HackWebFrame hack in DumpRenderTree.
2489 * Api/qwebframe.cpp:
2492 * Api/qwebframe_p.h:
2494 (QWebPagePrivate::frameAt):
2495 (QWebPage::mouseMoveEvent):
2496 (QWebPage::mousePressEvent):
2497 (QWebPage::mouseDoubleClickEvent):
2498 (QWebPage::mouseReleaseEvent):
2499 (QWebPage::wheelEvent):
2502 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2504 Reviewed by Lars Knoll <lars@trolltech.com>.
2506 Use correct UserAgent string.
2508 * Only have one User Agent String and this place is QWebPage
2509 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2510 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2511 * ResourceRequest is != 0 when getting called from WebCore, we
2512 will only do requests when coming from WebCore and then we can
2513 use the User-Agent set with the help of the FrameLoaderClient
2514 * We might want to change QWebNetworkRequest a bit
2517 * Api/qwebnetworkinterface.cpp:
2518 (QWebNetworkRequestPrivate::init):
2520 2007-11-07 Lars Knoll <lars@trolltech.com>
2524 remove two notImplemented() warnings, as I believe we don't
2525 have to implement these methods. Add some (commented out)
2526 debug code in one place.
2528 * WebCoreSupport/EditorClientQt.cpp:
2529 (WebCore::EditorClientQt::respondToChangedSelection):
2530 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2532 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2534 Reviewed by Darin Adler.
2536 * WebCoreSupport/ChromeClientQt.cpp:
2537 (WebCore::ChromeClientQt::createWindow):
2538 * WebCoreSupport/ChromeClientQt.h:
2539 Revised to use new WebCore ChromeClient createWindow API.
2541 2007-10-31 Lars Knoll <lars@trolltech.com>
2545 fix most of the issues I found with Clipboard and DnD.
2548 (QWebPage::dragLeaveEvent):
2550 2007-10-31 Lars Knoll <lars@trolltech.com>
2554 QDrag objects need to be created on the heap.
2556 * WebCoreSupport/DragClientQt.cpp:
2557 (WebCore::DragClientQt::startDrag):
2559 2007-10-31 Lars Knoll <lars@trolltech.com>
2563 a dragLeave event is not the same as cancelling a drag.
2567 2007-10-26 Mark Rowe <mrowe@apple.com>
2569 Build fix. Add missing #include of Platform.h.
2571 * Api/qwebhistoryinterface.cpp:
2573 2007-10-25 Holger Freyther <zecke@selfish.org>
2575 Reviewed by Simon Hausmann <hausmann@kde.org>.
2577 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2578 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2579 * This is causing some regressions...
2582 * Api/qwebnetworkinterface.cpp:
2583 (QWebNetworkManager::started):
2584 (QWebNetworkInterface::addJob):
2586 2007-10-25 Holger Freyther <zecke@selfish.org>
2588 Reviewed by Simon Hausmann <hausmann@kde.org>.
2590 * 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.
2591 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2594 * Api/qwebnetworkinterface.cpp:
2595 (QWebNetworkManager::started):
2597 2007-10-25 Holger Freyther <zecke@selfish.org>
2599 Reviewed by Simon Hausmann <hausmann@kde.org>.
2601 * 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.
2602 * Use the error message from Qt. It might or might not be translated.
2605 * Api/qwebnetworkinterface.cpp:
2606 (QWebNetworkJob::errorString):
2607 (QWebNetworkJob::setErrorString):
2608 (QWebNetworkManager::finished):
2609 (QWebNetworkManager::doWork):
2610 (WebCoreHttp::onRequestFinished):
2611 * Api/qwebnetworkinterface.h:
2612 * Api/qwebnetworkinterface_p.h:
2614 2007-10-25 Holger Freyther <zecke@selfish.org>
2616 Reviewed by Simon Hausmann <hausmann@kde.org>.
2618 * 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.
2619 * 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.
2622 * Api/qwebnetworkinterface.cpp:
2623 (QWebNetworkManager::doWork):
2625 2007-10-25 Holger Freyther <zecke@selfish.org>
2627 Reviewed by Simon Hausmann <hausmann@kde.org>.
2629 * No need to initialize values in the QWebNetworkJob c'tor
2630 * 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.
2633 * Api/qwebnetworkinterface.cpp:
2634 (QWebNetworkJob::status):
2635 (QWebNetworkJob::setStatus):
2636 (QWebNetworkManager::started):
2637 (QWebNetworkManager::data):
2638 (QWebNetworkManager::finished):
2639 * Api/qwebnetworkinterface.h:
2640 * Api/qwebnetworkinterface_p.h:
2641 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2643 2007-10-25 Holger Freyther <zecke@selfish.org>
2645 Reviewed by Simon Hausmann <hausmann@kde.org>.
2647 * Consistency: Always name the jobs job.
2650 * Api/qwebnetworkinterface.cpp:
2651 (WebCoreHttp::onReadyRead):
2652 (WebCoreHttp::onRequestFinished):
2653 (WebCoreHttp::onSslErrors):
2654 (WebCoreHttp::onAuthenticationRequired):
2655 (WebCoreHttp::onProxyAuthenticationRequired):
2657 2007-10-25 Holger Freyther <zecke@selfish.org>
2659 Reviewed by Simon Hausmann <hausmann@kde.org>.
2661 * 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.
2662 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2665 * Api/qwebnetworkinterface.cpp:
2666 (QWebNetworkJob::~QWebNetworkJob):
2667 (QWebNetworkManager::QWebNetworkManager):
2668 (QWebNetworkManager::self):
2669 (QWebNetworkManager::add):
2670 (QWebNetworkManager::started):
2671 (QWebNetworkManager::finished):
2672 (QWebNetworkInterfacePrivate::sendFileData):
2673 (QWebNetworkInterfacePrivate::parseDataUrl):
2674 (QWebNetworkManager::queueStart):
2675 (QWebNetworkManager::queueData):
2676 (QWebNetworkManager::queueFinished):
2677 (QWebNetworkManager::doScheduleWork):
2678 (QWebNetworkManager::doWork):
2679 (gCleanupInterface):
2680 (QWebNetworkInterface::setDefaultInterface):
2681 (QWebNetworkInterface::defaultInterface):
2682 (QWebNetworkInterface::QWebNetworkInterface):
2683 (QWebNetworkInterface::started):
2684 (QWebNetworkInterface::data):
2685 (QWebNetworkInterface::finished):
2686 (WebCoreHttp::scheduleNextRequest):
2687 (WebCoreHttp::onResponseHeaderReceived):
2688 (WebCoreHttp::onReadyRead):
2689 (WebCoreHttp::onRequestFinished):
2690 (WebCoreHttp::cancel):
2691 * Api/qwebnetworkinterface.h:
2692 * Api/qwebnetworkinterface_p.h:
2693 (QWebNetworkManager::):
2694 (QWebNetworkManager::JobData::JobData):
2695 (QWebNetworkManager::JobFinished::JobFinished):
2697 2007-10-25 Holger Freyther <zecke@selfish.org>
2699 Reviewed by Simon Hausmann <hausmann@kde.org>.
2701 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2702 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2703 * We pass the char-decoding.html test now
2706 * Api/qwebnetworkinterface.cpp:
2707 (decodePercentEncoding):
2708 (QWebNetworkInterfacePrivate::parseDataUrl):
2710 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2712 Reviewed by Lars Knoll <lars@trolltech.com>.
2714 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2717 * WebCoreSupport/EditorClientQt.cpp:
2718 (WebCore::EditorClientQt::handleKeypress):
2720 2007-10-24 Lars Knoll <lars@trolltech.com>
2724 remove some notImplemented() warnings.
2726 * WebCoreSupport/EditorClientQt.cpp:
2727 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2728 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2729 (WebCore::EditorClientQt::respondToChangedSelection):
2731 2007-10-24 Lars Knoll <lars@trolltech.com>
2735 allow paste from DOM so we pass more test cases.
2738 (QWebPage::setSettings):
2740 2007-10-24 Lars Knoll <lars@trolltech.com>
2744 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2747 (QWebPage::keyPressEvent):
2748 (QWebPage::keyReleaseEvent):
2750 2007-10-24 Lars Knoll <lars@trolltech.com>
2754 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2756 * WebCoreSupport/EditorClientQt.cpp:
2757 (qt_dump_editing_callbacks):
2760 2007-10-24 Lars Knoll <lars@trolltech.com>
2764 implemented support for most editing shortcuts to make contentEditable usable.
2767 (QWebPage::keyPressEvent):
2769 2007-10-24 Lars Knoll <lars@trolltech.com>
2773 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2776 (QWebPage::focusInEvent):
2778 2007-10-24 Lars Knoll <lars@trolltech.com>
2782 Implement support for testing editing.
2784 * WebCoreSupport/EditorClientQt.cpp:
2785 (qt_dump_editing_callbacks):
2786 (qt_dump_set_accepts_editing):
2789 (WebCore::EditorClientQt::shouldDeleteRange):
2790 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2791 (WebCore::EditorClientQt::shouldBeginEditing):
2792 (WebCore::EditorClientQt::shouldEndEditing):
2793 (WebCore::EditorClientQt::shouldInsertText):
2794 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2795 (WebCore::EditorClientQt::shouldApplyStyle):
2796 (WebCore::EditorClientQt::didBeginEditing):
2797 (WebCore::EditorClientQt::respondToChangedContents):
2798 (WebCore::EditorClientQt::respondToChangedSelection):
2799 (WebCore::EditorClientQt::didEndEditing):
2800 (WebCore::EditorClientQt::shouldInsertNode):
2802 2007-10-19 Alp Toker <alp@atoker.com>
2806 GTK+ build fix enabling the new local database storage feature.
2807 There is also a prospective Qt build fix.
2809 * WebCoreSupport/ChromeClientQt.cpp:
2810 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2811 * WebCoreSupport/ChromeClientQt.h:
2813 2007-10-19 Simon Hausmann <hausmann@kde.org>
2815 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2816 that config.h is included before wtf/MathExtras. The former defines
2817 the MSVC defines for rand_s.
2819 * WebCoreSupport/FrameLoaderClientQt.cpp:
2821 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2825 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2827 * Api/qwebframe.cpp:
2830 2007-10-10 Alice Liu <alice.liu@apple.com>
2832 Reviewed by Geoff Garen.
2834 changes to keep the build from breaking
2836 * WebCoreSupport/FrameLoaderClientQt.cpp:
2837 (WebCore::FrameLoaderClientQt::createFrame):
2838 * WebCoreSupport/FrameLoaderClientQt.h:
2840 2007-10-09 Lars Knoll <lars@trolltech.com>
2844 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2847 (QWebPage::setSettings):
2849 2007-10-09 Lars Knoll <lars@trolltech.com>
2853 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2855 * Api/qwebnetworkinterface.cpp:
2856 (QWebNetworkManager::add):
2857 (QWebNetworkManager::cancel):
2858 (QWebNetworkManager::started):
2859 (QWebNetworkManager::data):
2860 (QWebNetworkInterfacePrivate::parseDataUrl):
2862 2007-10-09 Lars Knoll <lars@trolltech.com>
2866 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.
2869 (QWebPagePrivate::createMainFrame):
2870 (QWebPage::createFrame):
2871 * WebCoreSupport/FrameLoaderClientQt.cpp:
2872 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2873 * WebCoreSupport/FrameLoaderClientQt.h:
2875 2007-10-09 Lars Knoll <lars@trolltech.com>
2879 add a clear() method to QWebPageHistory.
2881 * Api/qwebpagehistory.cpp:
2882 (QWebPageHistory::clear):
2883 (QWebPageHistory::itemAtIndex):
2884 * Api/qwebpagehistory.h:
2886 2007-10-05 Lars Knoll <lars@trolltech.com>
2888 add proper error messages to the FrameLoaderClient.
2889 Implement ChromeClientQt::closeWindowSoon and
2890 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2891 Some fixes in DRT to make it work correctly with multiple windows.
2896 * Api/qwebnetworkinterface.cpp:
2897 (QWebNetworkManager::cancel):
2898 (QWebNetworkInterface::addJob):
2899 * WebCoreSupport/ChromeClientQt.cpp:
2900 (WebCore::ChromeClientQt::closeWindowSoon):
2901 * WebCoreSupport/FrameLoaderClientQt.cpp:
2902 (WebCore::FrameLoaderClientQt::cancelledError):
2904 (WebCore::FrameLoaderClientQt::blockedError):
2905 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2906 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2907 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2908 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2910 2007-10-03 Lars Knoll <lars@trolltech.com>
2912 Signed off by Olliej.
2914 move WebKitQt to WebKit/qt for consistency with the other ports.
2916 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
2917 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
2918 (QCookieJarPrivate::QCookieJarPrivate):
2920 (QCookieJar::QCookieJar):
2921 (QCookieJar::~QCookieJar):
2922 (QCookieJar::setCookies):
2923 (QCookieJar::cookies):
2924 (QCookieJar::isEnabled):
2925 (QCookieJar::setEnabled):
2927 (QCookieJar::setCookieJar):
2928 (QCookieJar::cookieJar):
2929 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
2930 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
2931 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
2932 (QWebFramePrivate::init):
2933 (QWebFramePrivate::parentFrame):
2934 (QWebFramePrivate::horizontalScrollBar):
2935 (QWebFramePrivate::verticalScrollBar):
2936 (QWebFrame::QWebFrame):
2937 (QWebFrame::~QWebFrame):
2938 (QWebFrame::addToJSWindowObject):
2939 (QWebFrame::markup):
2940 (QWebFrame::innerText):
2941 (QWebFrame::renderTreeDump):
2945 (QWebFrame::selectedText):
2946 (QWebFrame::childFrames):
2947 (QWebFrame::verticalScrollBarPolicy):
2948 (QWebFrame::setVerticalScrollBarPolicy):
2949 (QWebFrame::horizontalScrollBarPolicy):
2950 (QWebFrame::setHorizontalScrollBarPolicy):
2951 (QWebFrame::render):
2952 (QWebFrame::layout):
2954 (QWebFrame::geometry):
2955 (QWebFrame::evaluateJavaScript):
2956 (QWebFrame::mouseMoveEvent):
2957 (QWebFrame::mousePressEvent):
2958 (QWebFrame::mouseDoubleClickEvent):
2959 (QWebFrame::mouseReleaseEvent):
2960 (QWebFrame::wheelEvent):
2961 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
2962 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
2963 (QWebFramePrivate::QWebFramePrivate):
2964 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
2965 (WebCore::historyContains):
2966 (gCleanupInterface):
2967 (QWebHistoryInterface::setDefaultInterface):
2968 (QWebHistoryInterface::defaultInterface):
2969 (QWebHistoryInterface::QWebHistoryInterface):
2970 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
2971 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
2972 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
2975 (QWebNetworkRequestPrivate::init):
2976 (QWebNetworkRequestPrivate::setURL):
2977 (QWebNetworkRequest::QWebNetworkRequest):
2978 (QWebNetworkRequest::operator=):
2979 (QWebNetworkRequest::~QWebNetworkRequest):
2980 (QWebNetworkRequest::url):
2981 (QWebNetworkRequest::setUrl):
2982 (QWebNetworkRequest::httpHeader):
2983 (QWebNetworkRequest::setHttpHeader):
2984 (QWebNetworkRequest::httpHeaderField):
2985 (QWebNetworkRequest::setHttpHeaderField):
2986 (QWebNetworkRequest::postData):
2987 (QWebNetworkRequest::setPostData):
2988 (QWebNetworkJob::QWebNetworkJob):
2989 (QWebNetworkJob::~QWebNetworkJob):
2990 (QWebNetworkJob::url):
2991 (QWebNetworkJob::postData):
2992 (QWebNetworkJob::httpHeader):
2993 (QWebNetworkJob::request):
2994 (QWebNetworkJob::response):
2995 (QWebNetworkJob::setResponse):
2996 (QWebNetworkJob::cancelled):
2997 (QWebNetworkJob::ref):
2998 (QWebNetworkJob::deref):
2999 (QWebNetworkJob::networkInterface):
3000 (QWebNetworkJob::frame):
3001 (QWebNetworkManager::QWebNetworkManager):
3002 (QWebNetworkManager::self):
3003 (QWebNetworkManager::add):
3004 (QWebNetworkManager::cancel):
3005 (QWebNetworkManager::started):
3006 (QWebNetworkManager::data):
3007 (QWebNetworkManager::finished):
3008 (QWebNetworkManager::addHttpJob):
3009 (QWebNetworkManager::cancelHttpJob):
3010 (QWebNetworkManager::httpConnectionClosed):
3011 (QWebNetworkInterfacePrivate::sendFileData):
3012 (QWebNetworkInterfacePrivate::parseDataUrl):
3013 (gCleanupInterface):
3014 (QWebNetworkInterface::setDefaultInterface):
3015 (QWebNetworkInterface::defaultInterface):
3016 (QWebNetworkInterface::QWebNetworkInterface):
3017 (QWebNetworkInterface::~QWebNetworkInterface):
3018 (QWebNetworkInterface::addJob):
3019 (QWebNetworkInterface::cancelJob):
3020 (WebCoreHttp::WebCoreHttp):
3021 (WebCoreHttp::~WebCoreHttp):
3022 (WebCoreHttp::request):
3023 (WebCoreHttp::scheduleNextRequest):
3024 (WebCoreHttp::getConnection):
3025 (WebCoreHttp::onResponseHeaderReceived):
3026 (WebCoreHttp::onReadyRead):
3027 (WebCoreHttp::onRequestFinished):
3028 (WebCoreHttp::onDone):
3029 (WebCoreHttp::onStateChanged):
3030 (WebCoreHttp::cancel):
3031 (WebCoreHttp::onSslErrors):
3032 (WebCoreHttp::onAuthenticationRequired):
3033 (WebCoreHttp::onProxyAuthenticationRequired):
3034 (HostInfo::HostInfo):
3035 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3036 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3037 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3038 (WebCore::HostInfo::HostInfo):
3039 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3040 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3041 (QWebFactoryLoader::QWebFactoryLoader):
3042 (QWebFactoryLoader::self):
3043 (QWebFactoryLoader::descriptionForName):
3044 (QWebFactoryLoader::mimetypesForName):
3045 (QWebFactoryLoader::mimeTypeForExtension):
3046 (QWebFactoryLoader::extensions):
3047 (QWebFactoryLoader::nameForMimetype):
3048 (QWebFactoryLoader::create):
3049 (QWebObjectPlugin::QWebObjectPlugin):
3050 (QWebObjectPlugin::~QWebObjectPlugin):
3051 (QWebObjectPlugin::descriptionForKey):
3052 (QWebObjectPlugin::mimetypesForKey):
3053 (QWebObjectPlugin::extensionsForMimetype):
3054 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3055 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3056 (QWebFactoryLoader::names):
3057 (QWebFactoryLoader::supportsMimeType):
3058 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3059 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3060 (QWebObjectPluginConnector::frame):
3061 (QWebObjectPluginConnector::pluginParentWidget):
3062 (QWebObjectPluginConnector::requestUrl):
3063 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3064 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3065 (QWebPagePrivate::QWebPagePrivate):
3066 (QWebPagePrivate::~QWebPagePrivate):
3067 (QWebPagePrivate::navigationRequested):
3068 (QWebPagePrivate::createMainFrame):
3069 (QWebPage::QWebPage):
3070 (QWebPage::~QWebPage):
3071 (QWebPage::createFrame):
3075 (QWebPage::mainFrame):
3076 (QWebPage::sizeHint):
3078 (QWebPage::history):
3080 (QWebPage::goForward):
3081 (QWebPage::goToHistoryItem):
3082 (QWebPage::javaScriptConsoleMessage):
3083 (QWebPage::javaScriptAlert):
3084 (QWebPage::javaScriptConfirm):
3085 (QWebPage::javaScriptPrompt):
3086 (QWebPage::createWindow):
3087 (QWebPage::createModalDialog):
3088 (QWebPage::createPlugin):
3089 (QWebPage::navigationRequested):
3090 (QWebPage::setWindowGeometry):
3092 (QWebPage::canCopy):
3093 (QWebPage::canPaste):
3097 (QWebPage::isModified):
3098 (QWebPage::undoStack):
3099 (dropActionToDragOp):
3100 (dragOpToDropAction):
3101 (QWebPage::resizeEvent):
3102 (QWebPage::paintEvent):
3103 (QWebPage::mouseMoveEvent):
3104 (QWebPage::mousePressEvent):
3105 (QWebPage::mouseDoubleClickEvent):
3106 (QWebPage::mouseReleaseEvent):
3107 (QWebPage::wheelEvent):
3108 (QWebPage::keyPressEvent):
3109 (QWebPage::keyReleaseEvent):
3110 (QWebPage::focusInEvent):
3111 (QWebPage::focusOutEvent):
3112 (QWebPage::focusNextPrevChild):
3113 (QWebPage::dragEnterEvent):
3114 (QWebPage::dragLeaveEvent):
3115 (QWebPage::dragMoveEvent):
3116 (QWebPage::dropEvent):
3117 (QWebPage::setNetworkInterface):
3118 (QWebPage::networkInterface):
3120 (QWebPage::setSettings):
3121 (QWebPage::settings):
3122 (QWebPage::chooseFile):
3123 (QWebPage::setNetworkProxy):
3124 (QWebPage::networkProxy):
3125 (QWebPage::userAgentStringForUrl):
3126 (QWebPage::onLoadProgressChanged):
3127 (QWebPage::totalBytes):
3128 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3129 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3130 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3131 (QWebHistoryItem::QWebHistoryItem):
3132 (QWebHistoryItem::operator=):
3133 (QWebHistoryItem::~QWebHistoryItem):
3134 (QWebHistoryItem::originalUrl):
3135 (QWebHistoryItem::currentUrl):
3136 (QWebHistoryItem::title):
3137 (QWebHistoryItem::lastVisited):
3138 (QWebHistoryItem::icon):
3139 (QWebPageHistory::QWebPageHistory):
3140 (QWebPageHistory::itemAtIndex):
3141 (QWebPageHistory::operator=):
3142 (QWebPageHistory::~QWebPageHistory):
3143 (QWebPageHistory::items):
3144 (QWebPageHistory::backItems):
3145 (QWebPageHistory::forwardItems):
3146 (QWebPageHistory::canGoBack):
3147 (QWebPageHistory::canGoForward):
3148 (QWebPageHistory::goBack):
3149 (QWebPageHistory::goForward):
3150 (QWebPageHistory::goToItem):
3151 (QWebPageHistory::backItem):
3152 (QWebPageHistory::currentItem):
3153 (QWebPageHistory::forwardItem):
3154 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3155 (QExplicitlySharedDataPointer::operator*):
3156 (QExplicitlySharedDataPointer::operator->):
3157 (QExplicitlySharedDataPointer::operator T *):
3158 (QExplicitlySharedDataPointer::operator const T *):
3159 (QExplicitlySharedDataPointer::data):
3160 (QExplicitlySharedDataPointer::constData):
3161 (QExplicitlySharedDataPointer::operator==):
3162 (QExplicitlySharedDataPointer::operator!=):
3163 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3164 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3165 (QExplicitlySharedDataPointer::operator=):
3166 (QExplicitlySharedDataPointer::operator!):
3167 (::QExplicitlySharedDataPointer):
3168 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3169 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3170 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3171 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3172 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3173 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3174 (QWebSettingsPrivate::QWebSettingsPrivate):
3175 (QWebSettings::QWebSettings):
3176 (QWebSettings::~QWebSettings):
3177 (QWebSettings::setMinimumFontSize):
3178 (QWebSettings::minimumFontSize):
3179 (QWebSettings::setMinimumLogicalFontSize):
3180 (QWebSettings::minimumLogicalFontSize):
3181 (QWebSettings::setDefaultFontSize):
3182 (QWebSettings::defaultFontSize):
3183 (QWebSettings::setDefaultFixedFontSize):
3184 (QWebSettings::defaultFixedFontSize):
3185 (QWebSettings::setUserStyleSheetLocation):
3186 (QWebSettings::userStyleSheetLocation):
3187 (QWebSettings::setIconDatabaseEnabled):
3188 (QWebSettings::iconDatabaseEnabled):
3189 (QWebSettings::setWebGraphic):
3190 (QWebSettings::webGraphic):
3191 (QWebSettings::operator=):
3192 (QWebSettings::setGlobal):
3193 (QWebSettings::global):
3194 (QWebSettings::setFontFamily):
3195 (QWebSettings::fontFamily):
3196 (QWebSettings::setAttribute):
3197 (QWebSettings::testAttribute):
3198 (loadResourcePixmap):
3199 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3200 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3201 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3202 (IcoHeader::operator >>):
3203 (IcoHeader::BMP_INFOHDR::):
3204 (IcoHeader::operator<<):
3205 (IcoHeader::LessDifference::LessDifference):
3206 (IcoHeader::LessDifference::operator ()):
3207 (IcoHeader::loadFromDIB):
3208 (ICOHandler::ICOHandler):
3209 (ICOHandler::canRead):
3211 (ICOHandler::write):
3214 (ICOPlugin::capabilities):
3215 (ICOPlugin::create):
3216 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3217 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3218 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3219 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3220 (HoverLabel::HoverLabel):
3221 (HoverLabel::setHoverLink):
3222 (HoverLabel::sizeForFont):
3223 (HoverLabel::sizeHint):
3224 (HoverLabel::updateSize):
3225 (HoverLabel::resetAnimation):
3226 (HoverLabel::paintEvent):
3227 (HoverLabel::interpolate):
3228 (ClearButton::ClearButton):
3229 (ClearButton::paintEvent):
3230 (SearchEdit::SearchEdit):
3231 (SearchEdit::~SearchEdit):
3232 (SearchEdit::paintEvent):
3233 (SearchEdit::resizeEvent):
3234 (SearchEdit::moveEvent):
3235 (MainWindow::MainWindow):
3236 (MainWindow::changeLocation):
3237 (MainWindow::loadFinished):
3238 (MainWindow::showLinkHover):
3239 (MainWindow::resizeEvent):
3241 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3242 (WebCore::ChromeClientQt::ChromeClientQt):
3243 (WebCore::ChromeClientQt::~ChromeClientQt):
3244 (WebCore::ChromeClientQt::setWindowRect):
3245 (WebCore::ChromeClientQt::windowRect):
3246 (WebCore::ChromeClientQt::pageRect):
3247 (WebCore::ChromeClientQt::scaleFactor):
3248 (WebCore::ChromeClientQt::focus):
3249 (WebCore::ChromeClientQt::unfocus):
3250 (WebCore::ChromeClientQt::canTakeFocus):
3251 (WebCore::ChromeClientQt::takeFocus):
3252 (WebCore::ChromeClientQt::createWindow):
3253 (WebCore::ChromeClientQt::createModalDialog):
3254 (WebCore::ChromeClientQt::show):
3255 (WebCore::ChromeClientQt::canRunModal):
3256 (WebCore::ChromeClientQt::runModal):
3257 (WebCore::ChromeClientQt::setToolbarsVisible):
3258 (WebCore::ChromeClientQt::toolbarsVisible):
3259 (WebCore::ChromeClientQt::setStatusbarVisible):
3260 (WebCore::ChromeClientQt::statusbarVisible):
3261 (WebCore::ChromeClientQt::setScrollbarsVisible):
3262 (WebCore::ChromeClientQt::scrollbarsVisible):
3263 (WebCore::ChromeClientQt::setMenubarVisible):
3264 (WebCore::ChromeClientQt::menubarVisible):
3265 (WebCore::ChromeClientQt::setResizable):
3266 (WebCore::ChromeClientQt::addMessageToConsole):
3267 (WebCore::ChromeClientQt::chromeDestroyed):
3268 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3269 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3270 (WebCore::ChromeClientQt::closeWindowSoon):
3271 (WebCore::ChromeClientQt::runJavaScriptAlert):
3272 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3273 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3274 (WebCore::ChromeClientQt::setStatusbarText):
3275 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3276 (WebCore::ChromeClientQt::tabsToLinks):
3277 (WebCore::ChromeClientQt::windowResizerRect):
3278 (WebCore::ChromeClientQt::addToDirtyRegion):
3279 (WebCore::ChromeClientQt::scrollBackingStore):
3280 (WebCore::ChromeClientQt::updateBackingStore):
3281 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3282 (WebCore::ChromeClientQt::setToolTip):
3283 (WebCore::ChromeClientQt::print):
3284 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3285 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3286 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3287 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3288 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3289 (WebCore::ContextMenuClientQt::downloadURL):
3290 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3291 (WebCore::ContextMenuClientQt::speak):
3292 (WebCore::ContextMenuClientQt::stopSpeaking):
3293 (WebCore::ContextMenuClientQt::searchWithGoogle):
3294 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3295 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3296 (WebCore::DragClientQt::actionMaskForDrag):
3297 (WebCore::DragClientQt::willPerformDragDestinationAction):
3298 (WebCore::DragClientQt::dragControllerDestroyed):
3299 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3300 (WebCore::DragClientQt::willPerformDragSourceAction):
3301 (WebCore::DragClientQt::startDrag):
3302 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3303 (WebCore::DragClientQt::DragClientQt):
3304 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3305 (EditCommandQt::EditCommandQt):
3306 (EditCommandQt::~EditCommandQt):
3307 (EditCommandQt::redo):
3308 (EditCommandQt::undo):
3309 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3310 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3311 (WebCore::EditorClientQt::shouldDeleteRange):
3312 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3313 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3314 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3315 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3316 (WebCore::EditorClientQt::shouldBeginEditing):
3317 (WebCore::EditorClientQt::shouldEndEditing):
3318 (WebCore::EditorClientQt::shouldInsertText):
3319 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3320 (WebCore::EditorClientQt::shouldApplyStyle):
3321 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3322 (WebCore::EditorClientQt::didBeginEditing):
3323 (WebCore::EditorClientQt::respondToChangedContents):
3324 (WebCore::EditorClientQt::respondToChangedSelection):
3325 (WebCore::EditorClientQt::didEndEditing):
3326 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3327 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3328 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3329 (WebCore::EditorClientQt::isEditable):
3330 (WebCore::EditorClientQt::registerCommandForUndo):
3331 (WebCore::EditorClientQt::registerCommandForRedo):
3332 (WebCore::EditorClientQt::clearUndoRedoOperations):
3333 (WebCore::EditorClientQt::canUndo):
3334 (WebCore::EditorClientQt::canRedo):
3335 (WebCore::EditorClientQt::undo):
3336 (WebCore::EditorClientQt::redo):
3337 (WebCore::EditorClientQt::shouldInsertNode):
3338 (WebCore::EditorClientQt::pageDestroyed):
3339 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3340 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3341 (WebCore::EditorClientQt::toggleGrammarChecking):
3342 (WebCore::EditorClientQt::handleKeypress):
3343 (WebCore::EditorClientQt::handleInputMethodKeypress):
3344 (WebCore::EditorClientQt::EditorClientQt):
3345 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3346 (WebCore::EditorClientQt::textFieldDidEndEditing):
3347 (WebCore::EditorClientQt::textDidChangeInTextField):
3348 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3349 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3350 (WebCore::EditorClientQt::textDidChangeInTextArea):
3351 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3352 (WebCore::EditorClientQt::learnWord):
3353 (WebCore::EditorClientQt::checkSpellingOfString):
3354 (WebCore::EditorClientQt::checkGrammarOfString):
3355 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3356 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3357 (WebCore::EditorClientQt::showSpellingUI):
3358 (WebCore::EditorClientQt::spellingUIIsShowing):
3359 (WebCore::EditorClientQt::getGuessesForWord):
3360 (WebCore::EditorClientQt::isEditing):
3361 (WebCore::EditorClientQt::setInputMethodState):
3362 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3363 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3364 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3365 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3366 (WebCore::FrameLoaderClientQt::setFrame):
3367 (WebCore::FrameLoaderClientQt::webFrame):
3368 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3369 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3370 (WebCore::FrameLoaderClientQt::hasWebView):
3371 (WebCore::FrameLoaderClientQt::hasFrameView):
3372 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3373 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3374 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3375 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3376 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3377 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3378 (WebCore::FrameLoaderClientQt::makeDocumentView):
3379 (WebCore::FrameLoaderClientQt::makeRepresentation):
3380 (WebCore::FrameLoaderClientQt::forceLayout):
3381 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3382 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3383 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3384 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3385 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3386 (WebCore::FrameLoaderClientQt::willCloseDocument):
3387 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3388 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3389 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3390 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3391 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3392 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3393 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3394 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3395 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3396 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3397 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3398 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3399 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3400 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3401 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3402 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3403 (WebCore::FrameLoaderClientQt::dispatchShow):
3404 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3405 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3406 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3407 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3408 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3409 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3410 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3411 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3412 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3413 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3414 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3415 (WebCore::FrameLoaderClientQt::willChangeTitle):
3416 (WebCore::FrameLoaderClientQt::didChangeTitle):
3417 (WebCore::FrameLoaderClientQt::finishedLoading):
3418 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3419 (WebCore::FrameLoaderClientQt::setDefersLoading):
3420 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3421 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3422 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3423 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3424 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3425 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3426 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3427 (WebCore::FrameLoaderClientQt::restoreViewState):
3428 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3429 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3430 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3431 (WebCore::FrameLoaderClientQt::didFinishLoad):
3432 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3433 (WebCore::FrameLoaderClientQt::setTitle):
3434 (WebCore::FrameLoaderClientQt::userAgent):
3435 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3436 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3437 (WebCore::FrameLoaderClientQt::canHandleRequest):
3438 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3439 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3440 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3441 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3442 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3443 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3444 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3445 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3446 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3447 (WebCore::FrameLoaderClientQt::canCachePage):
3448 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3449 (WebCore::FrameLoaderClientQt::committedLoad):
3450 (WebCore::FrameLoaderClientQt::cancelledError):
3451 (WebCore::FrameLoaderClientQt::blockedError):
3452 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3453 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3454 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3455 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3456 (WebCore::FrameLoaderClientQt::shouldFallBack):
3457 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3458 (WebCore::FrameLoaderClientQt::download):
3459 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3460 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3461 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3462 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3463 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3464 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3465 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3466 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3467 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3468 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3469 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3470 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3471 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3472 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3473 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3474 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3475 (WebCore::FrameLoaderClientQt::startDownload):
3476 (WebCore::FrameLoaderClientQt::willUseArchive):
3477 (WebCore::FrameLoaderClientQt::createFrame):
3478 (WebCore::FrameLoaderClientQt::objectContentType):
3480 (WebCore::FrameLoaderClientQt::createPlugin):
3481 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3482 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3483 (WebCore::FrameLoaderClientQt::overrideMediaType):
3484 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3485 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3486 (WebCore::InspectorClientQt::inspectorDestroyed):
3487 (WebCore::InspectorClientQt::createPage):
3488 (WebCore::InspectorClientQt::showWindow):
3489 (WebCore::InspectorClientQt::closeWindow):
3490 (WebCore::InspectorClientQt::attachWindow):
3491 (WebCore::InspectorClientQt::detachWindow):
3492 (WebCore::InspectorClientQt::highlight):
3493 (WebCore::InspectorClientQt::hideHighlight):
3494 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3495 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3496 (WebKitFactory::WebKitFactory):
3497 (WebKitFactory::~WebKitFactory):
3498 (WebKitFactory::createPartObject):
3499 (WebKitFactory::instance):
3500 (WebKitFactory::ref):
3501 (WebKitFactory::deref):
3502 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3503 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3504 (WebKitPart::WebKitPart):
3505 (WebKitPart::~WebKitPart):
3506 (WebKitPart::openFile):
3507 (WebKitPart::openUrl):
3508 (WebKitPart::closeUrl):
3509 (WebKitPart::parentPart):
3510 (WebKitPart::frame):
3511 (WebKitPart::initView):
3512 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3513 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3515 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3516 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3517 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3518 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3519 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3520 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3521 (WebKitPartClient::WebKitPartClient):
3522 (WebKitPartClient::~WebKitPartClient):
3523 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3524 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3525 (WebKitPartInterface::WebKitPartInterface):
3526 (WebKitPartInterface::~WebKitPartInterface):
3527 (WebKitPartInterface::url):
3528 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3529 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3531 2007-10-02 Adam Treat <treat@kde.org>
3533 Reviewed by Eric Seidel.
3535 Open the requested url on the newly created window.
3536 Implement createModalDialog and provide new API for this.
3537 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3540 (QWebPage::createModalDialog):
3542 * WebCoreSupport/ChromeClientQt.cpp:
3543 (WebCore::ChromeClientQt::createWindow):
3544 (WebCore::ChromeClientQt::createModalDialog):
3546 2007-10-02 Lars Knoll <lars@trolltech.com>
3550 Add API to retrieve the frame name from QWebFrame.
3551 Implement support for DRT::dumpChildrenAsText.
3553 * Api/qwebframe.cpp:
3557 2007-10-02 Lars Knoll <lars@trolltech.com>
3561 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3563 * Api/qwebnetworkinterface.cpp:
3564 (QWebNetworkManager::started):
3565 (QWebNetworkManager::data):
3566 (QWebNetworkManager::finished):
3567 (QWebNetworkInterfacePrivate::sendFileData):
3568 (QWebNetworkInterfacePrivate::parseDataUrl):
3569 (WebCoreHttp::scheduleNextRequest):
3570 (WebCoreHttp::onSslErrors):
3571 * QtLauncher/main.cpp:
3574 2007-10-01 Lars Knoll <lars@trolltech.com>
3578 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
3580 * WebCoreSupport/FrameLoaderClientQt.cpp:
3581 (WebCore::FrameLoaderClientQt::makeDocumentView):
3582 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3583 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3584 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3585 (WebCore::FrameLoaderClientQt::objectContentType):
3586 (WebCore::FrameLoaderClientQt::createPlugin):
3588 2007-09-30 George Staikos <staikos@kde.org>
3590 Qt build fix (OS X specific).
3592 * QtLauncher/QtLauncher.pro:
3594 2007-09-26 Mark Rowe <mrowe@apple.com>
3598 * WebCoreSupport/FrameLoaderClientQt.cpp:
3599 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
3601 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3605 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3606 LGPL'ed files contain incorrect FSF address
3608 * Api/qcookiejar.cpp:
3610 * Api/qwebframe.cpp:
3612 * Api/qwebframe_p.h:
3613 * Api/qwebhistoryinterface.cpp:
3614 * Api/qwebhistoryinterface.h:
3615 * Api/qwebkitglobal.h:
3616 * Api/qwebnetworkinterface.cpp:
3617 * Api/qwebnetworkinterface.h:
3618 * Api/qwebnetworkinterface_p.h:
3619 * Api/qwebobjectplugin.cpp:
3620 * Api/qwebobjectplugin.h:
3621 * Api/qwebobjectpluginconnector.cpp:
3622 * Api/qwebobjectpluginconnector.h:
3626 * Api/qwebpagehistory.cpp:
3627 * Api/qwebpagehistory.h:
3628 * Api/qwebsettings.cpp:
3629 * Api/qwebsettings.h:
3630 * WebCoreSupport/EditCommandQt.cpp:
3631 * WebCoreSupport/EditCommandQt.h:
3633 2007-09-25 Adam Treat <treat@kde.org>
3635 Reviewed by Simon and Lars.
3637 Modifies the addToJSWindowObject to bind js objects using the built-in
3638 kjs_window class. Make sure to protect the created runtime object from
3641 Adds a signal to QWebFrame to notify clients of the beginning of a
3642 provisional load. DRT needs this.
3644 * Api/qwebframe.cpp:
3645 (QWebFrame::addToJSWindowObject):
3647 * WebCoreSupport/FrameLoaderClientQt.cpp:
3648 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3650 2007-09-10 Qing Zhao <qing@staikos.net>
3652 Reviewed by George Staikos.
3654 Don't re-encode urls, resulting in double encoding. Fixes login to
3657 * Api/qwebnetworkinterface.cpp:
3658 (QWebNetworkRequestPrivate::init):
3659 (QWebNetworkManager::started):
3661 2007-09-08 Mark Rowe <mrowe@apple.com>
3663 Qt build fix. Move stub method implementations to the right class.
3665 * WebCoreSupport/FrameLoaderClientQt.cpp:
3666 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3668 2007-09-08 Brady Eidson <beidson@apple.com>
3670 YABF (Yet Another Build Fix)
3672 * Api/qwebsettings.cpp:
3673 (QWebSettings::iconDatabaseEnabled):
3675 2007-09-08 Brady Eidson <beidson@apple.com>
3679 * WebCoreSupport/FrameLoaderClientQt.cpp:
3680 (WebCore::FrameLoaderClient::registerForIconNotification):
3681 * WebCoreSupport/FrameLoaderClientQt.h:
3683 2007-09-08 Brady Eidson <beidson@apple.com>
3687 * WebCoreSupport/FrameLoaderClientQt.cpp:
3688 (WebCore::FrameLoaderClient::registerForIconNotification):
3689 * WebCoreSupport/FrameLoaderClientQt.h:
3691 2007-09-05 Geoffrey Garen <ggaren@apple.com>
3693 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
3695 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
3696 memory cache, or a very tiny one
3698 Keep the Qt build working with an empty stub.