1 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
7 * WebCoreSupport/FrameLoaderClientQt.cpp:
8 (WebCore::FrameLoaderClientQt::detachedFromParent4):
9 * WebCoreSupport/FrameLoaderClientQt.h:
11 2008-03-25 Brady Eidson <beidson@apple.com>
15 Remove newly obsolete FrameLoaderClient methods
17 * WebCoreSupport/FrameLoaderClientQt.cpp:
18 * WebCoreSupport/FrameLoaderClientQt.h:
20 2008-03-22 Mark Rowe <mrowe@apple.com>
24 * WebCoreSupport/FrameLoaderClientQt.cpp:
27 2008-03-18 Simon Hausmann <hausmann@webkit.org>
31 Fix the Qt build. Don't return void in non-void functions.
33 * Api/qwebpluginfactory.cpp:
34 (QWebPluginFactory::extension):
36 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
40 Don't use RefPtr in classes you haven't seen the implementation of.
42 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
43 cannot *use* said objects until Foo is defined. This is true even for
44 initialisation with a 0.
46 Seems the HP aCC compiler is more strict here than gcc.
50 2008-03-14 Simon Hausmann <hausmann@webkit.org>
56 (QWebFrame::setContent):
58 2008-03-13 Simon Hausmann <hausmann@webkit.org>
63 (QWebFrame::addToJSWindowObject):
65 2008-03-12 Simon Hausmann <hausmann@webkit.org>
67 Fix compilation against Qt 4.3
73 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
77 * WebCoreSupport/FrameLoaderClientQt.cpp:
78 (FrameLoaderClientQt::CreatePlugin):
80 2008-03-11 Simon Hausmann <hausmann@webkit.org>
82 Fix the Qt build (silly typo).
84 * QtLauncher/main.cpp:
85 (MainWindow::MainWindow):
87 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
91 Moved obscuring progress bar to the lower right corner.
93 * QtLauncher/main.cpp:
94 (MainWindow::MainWindow):
95 (MainWindow::resizeEvent):
97 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
101 Added reload action and grouped stop and reload actions together.
103 * QtLauncher/main.cpp:
104 (MainWindow::MainWindow):
106 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
110 * Set a Icon on the QAction if we have one.
115 2008-03-11 Simon Hausmann <hausmann@webkit.org>
120 (QWebFrame::addToJSWindowObject):
122 2008-03-07 Simon Hausmann <hausmann@webkit.org>
128 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
130 * Api/qwebnetworkinterface.cpp:
131 (QWebNetworkManager::add):
132 (QWebNetworkManager::cancel):
133 (QWebNetworkManager::started):
134 (QWebNetworkManager::data):
135 (QWebNetworkManager::finished):
136 * Api/qwebnetworkinterface_p.h:
137 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
138 * Api/qwebobjectplugin.cpp: Removed.
139 * Api/qwebobjectplugin.h: Removed.
140 * Api/qwebobjectplugin_p.h: Removed.
141 * Api/qwebobjectpluginconnector.cpp: Removed.
142 * Api/qwebobjectpluginconnector.h: Removed.
144 (QWebPagePrivate::QWebPagePrivate):
145 (QWebPage::setPluginFactory):
146 (QWebPage::pluginFactory):
149 * Api/qwebpluginfactory.cpp: Added.
150 (QWebPluginFactory::QWebPluginFactory):
151 (QWebPluginFactory::~QWebPluginFactory):
152 (QWebPluginFactory::refreshPlugins):
153 (QWebPluginFactory::extension):
154 * Api/qwebpluginfactory.h: Added.
156 * WebCoreSupport/FrameLoaderClientQt.cpp:
157 (WebCore::FrameLoaderClientQt::objectContentType):
158 (WebCore::FrameLoaderClientQt::createPlugin):
160 2008-03-07 Simon Hausmann <hausmann@webkit.org>
166 2008-03-04 Sam Weinig <sam@webkit.org>
168 Reviewed by Mark Rowe.
170 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
174 (QWebFrame::addToJSWindowObject):
176 2008-03-04 Mark Rowe <mrowe@apple.com>
178 Another go at fixing the Qt build.
181 (QWebFrame::addToJSWindowObject):
183 2008-02-24 Darin Adler <darin@apple.com>
187 - remove separate client calls for "standard" and "reload' history
189 * WebCoreSupport/FrameLoaderClientQt.cpp:
190 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
191 * WebCoreSupport/FrameLoaderClientQt.h:
193 2008-02-24 Darin Adler <darin@apple.com>
195 - another try at fixing the build
198 (QWebFrame::load): Replace new FormData with FormData::create.
200 2008-02-22 Sam Weinig <sam@webkit.org>
204 * Api/qwebhistoryinterface.cpp:
206 2008-02-22 Sam Weinig <sam@webkit.org>
208 Rubber-stamped by Adam Roben.
210 Rid the project of the Devil known as DeprecatedString!
212 * Api/qwebhistory.cpp:
213 * Api/qwebhistoryinterface.cpp:
215 2008-02-18 Darin Adler <darin@apple.com>
219 * Api/qwebnetworkinterface.cpp:
220 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
222 2008-01-24 David Boddie <dboddie@trolltech.com>
226 Documentation tidying.
230 * Api/qwebhistoryinterface.cpp:
233 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
237 Text for translations were used wrongly as comments
240 * WebCoreSupport/FrameLoaderClientQt.cpp:
242 (WebCore::FrameLoaderClientQt::cannotShowURLError):
243 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
244 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
245 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
246 (WebCore::FrameLoaderClientQt::shouldFallBack):
248 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
252 * We have a KURL->QUrl conversion on KURL itself, make use of it.
253 * This conversion is supposed to be loss-free
258 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
260 * Rubber stamped by Simon
262 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
263 This was found while working on the page-cache, other ports are not affected.
265 * WebCoreSupport/FrameLoaderClientQt.cpp:
266 (WebCore::FrameLoaderClientQt::createFrame):
268 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
270 Reviewed by Simon Hausmann <hausmann@webkit.org>.
272 Fix Qtopia compilation with QT_NO_TOOLTIP
275 * WebCoreSupport/ChromeClientQt.cpp:
276 (WebCore::ChromeClientQt::print):
278 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
282 Doc: Replaced \code with snippets in the docs
287 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
291 Tweak key presses even to match commonly expected behavior
292 - space key == page down
293 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
294 - Use font height rather then a hard coded "10" for left, right, up, down
295 - Ctrl-Up moves to the top of the page
296 - Ctrl-Down move to the bottom of the page
297 - Backspace == GoBack
298 - Shift-Backspace == GoForward
302 (dropActionToDragOp):
303 (dragOpToDropAction):
304 (QWebPagePrivate::keyPressEvent):
306 2008-01-23 Simon Hausmann <hausmann@webkit.org>
310 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
312 Added two signals to QWebPage to handle downloading of links and handling of
317 (QWebPage::triggerAction):
319 * WebCoreSupport/FrameLoaderClientQt.cpp:
320 (WebCore::FrameLoaderClientQt::download):
321 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
322 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
323 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
324 (WebCore::FrameLoaderClientQt::willUseArchive):
326 2008-01-22 Lars Knoll <lars@trolltech.com>
330 setup a family for cursive and fantasy fonts as well.
333 * Api/qwebsettings.cpp:
334 (QWebSettings::QWebSettings):
336 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
340 Implement ChromeClientQt::setToolTip
341 Implement ChromeClientQt::mouseDidMoveOverElement
346 * WebCoreSupport/ChromeClientQt.cpp:
347 (WebCore::ChromeClientQt::ChromeClientQt):
348 (WebCore::ChromeClientQt::focus):
349 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
350 (WebCore::ChromeClientQt::setToolTip):
351 (WebCore::ChromeClientQt::print):
352 * WebCoreSupport/ChromeClientQt.h:
354 2008-01-21 Darin Adler <darin@apple.com>
356 Reviewed by John Sullivan.
358 - updated for changes to ChromeClient database functions
360 * WebCoreSupport/ChromeClientQt.cpp:
361 (WebCore::ChromeClientQt::exceededDatabaseQuota):
362 * WebCoreSupport/ChromeClientQt.h:
364 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
368 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
371 * Api/qwebhistoryinterface.h:
373 2008-01-21 Adam Treat <treat@kde.org>
377 * Don't leak the d-pointer in QWebSettings.
380 * Api/qwebsettings.cpp:
381 (QWebSettings::~QWebSettings):
383 2008-01-21 Simon Hausmann <hausmann@webkit.org>
387 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
389 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
394 2008-01-21 Simon Hausmann <hausmann@webkit.org>
398 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
400 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
401 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
402 and make the return value depend on whether we successfully determined a focusable
404 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
405 if we could not handle the focus chain ourselves.
406 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
407 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
408 used to control the situation of stepping out of the focus chain inside the page.
409 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
410 The layout tests expect this to be disabled but for the user it seems sensible to have it
411 on by default, hence the default in qwebsettings.cpp
415 (QWebPage::focusNextPrevChild):
416 * Api/qwebsettings.cpp:
417 (QWebSettings::QWebSettings):
418 * Api/qwebsettings.h:
420 (QWebView::QWebView):
421 (QWebView::focusNextPrevChild):
422 * WebCoreSupport/ChromeClientQt.cpp:
423 (WebCore::ChromeClientQt::canTakeFocus):
424 (WebCore::ChromeClientQt::takeFocus):
426 2008-01-18 Simon Hausmann <hausmann@webkit.org>
430 Coding style fixes and added a comment about the include order.
434 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
436 Reviewed by Simon Hausmann <hausmann@webkit.org>.
438 Add use of precompiled header, when building inside Qt.
440 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.
443 * WebKit_pch.h: Added.
445 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
449 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
450 we will see a crash in a HashSet.
451 * It is crashing there because the StringImpl of an empty String is 0.
452 * We avoid this crash by checking for isEmpty() in WebKit as there is no
453 use to ask the iconDatabase for an empty string. We will fallback to the
460 2008-01-17 Simon Hausmann <hausmann@webkit.org>
464 Minor documentation fixes
470 2008-01-17 Simon Hausmann <shausman@trolltech.com>
474 Fix form elements not focusing correctly after the qt widget lost its focus.
476 When receiving a focus out event notify the focus controller. Otherwise its
477 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
478 event shortcuts and doesn't call setActive(true).
483 2008-01-17 Simon Hausmann <shausman@trolltech.com>
487 Lots of updates to the documentation.
491 * Api/qwebhistory.cpp:
493 (QWebPagePrivate::dropEvent):
496 (QWebPage::triggerAction):
497 (QWebPage::viewportSize):
498 (QWebPage::navigationRequested):
501 (QWebPageContext::targetFrame):
505 2008-01-17 Simon Hausmann <shausman@trolltech.com>
509 Added a urlChanged signals to QWebFrame and QWebView.
517 * WebCoreSupport/FrameLoaderClientQt.cpp:
519 2008-01-17 Simon Hausmann <shausman@trolltech.com>
523 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
526 * Api/qwebsettings.cpp:
527 (QWebSettings::setIconDatabaseEnabled):
529 2008-01-17 Simon Hausmann <shausman@trolltech.com>
533 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
537 (QWebPage::createWindow):
539 (QWebView::createWindow):
542 2008-01-17 Lars Knoll <lars@trolltech.com>
546 add a 0 pointer check.
548 Fixes a crash in the demo web browser.
550 * WebCoreSupport/FrameLoaderClientQt.cpp:
551 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
553 2008-01-17 Simon Hausmann <hausmann@webkit.org>
557 Fix QWebFrame::title().
559 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
560 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
566 2008-01-17 Simon Hausmann <hausmann@webkit.org>
568 Reviewed by Maciej, Lars, Holger.
570 http://bugs.webkit.org/show_bug.cgi?id=16589
572 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
574 * Api/qwebnetworkinterface.cpp:
575 (QWebNetworkRequestPrivate::init):
576 (QWebNetworkManager::started):
578 2008-01-17 Warwick Allison <warwick@trolltech.com>
580 Reviewed by Simon Hausmann <hausmann@webkit.org>.
582 Follow QWidget::keyPressEvent advice and call parents.
584 Without this, Back does not work in Qtopia, for example.
588 (QWebView::keyPressEvent):
589 (QWebView::keyReleaseEvent):
591 2008-01-17 Simon Hausmann <hausmann@webkit.org>
595 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
597 * Api/qwebnetworkinterface.cpp:
598 (QWebNetworkManager::started):
600 2008-01-17 Simon Hausmann <shausman@trolltech.com>
604 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
609 * WebCoreSupport/FrameLoaderClientQt.cpp:
611 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
613 Reviewed by Simon Hausmann <hausmann@webkit.org>.
615 Fixes compilation with QT_NO_DRAGANDDROP
621 (QWebView::dragEnterEvent):
622 (QWebView::dragLeaveEvent):
623 (QWebView::dragMoveEvent):
624 (QWebView::dropEvent):
626 2008-01-17 Simon Hausmann <hausmann@webkit.org>
630 Fix compilation, removed obsolete privateBrowsingEnabled() method.
632 * WebCoreSupport/FrameLoaderClientQt.cpp:
634 2008-01-16 Lars Knoll <lars@trolltech.com>
636 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
638 Removed a whole bunch of notImplemented() warnings.
640 I don't want to hide the real warnings in lots of things that
641 I am by now pretty certain we won't need.
644 * WebCoreSupport/FrameLoaderClientQt.cpp:
645 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
646 (WebCore::FrameLoaderClientQt::canShowMIMEType):
648 2008-01-16 Simon Hausmann <hausmann@webkit.org>
652 Fix crash when bringing up the context menu on maps.google.com.
654 If the website provides its own context menu then we don't have a ContextMenu pointer.
658 (QWebPagePrivate::contextMenuEvent):
660 2008-01-16 Simon Hausmann <hausmann@webkit.org>
664 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
667 (QWebView::mouseMoveEvent):
668 (QWebView::mousePressEvent):
669 (QWebView::mouseDoubleClickEvent):
670 (QWebView::mouseReleaseEvent):
671 (QWebView::contextMenuEvent):
672 (QWebView::wheelEvent):
673 (QWebView::keyPressEvent):
674 (QWebView::keyReleaseEvent):
675 (QWebView::focusInEvent):
676 (QWebView::focusOutEvent):
677 (QWebView::dragEnterEvent):
678 (QWebView::dragLeaveEvent):
679 (QWebView::dragMoveEvent):
680 (QWebView::dropEvent):
681 (QWebView::focusNextPrevChild):
683 2008-01-16 Simon Hausmann <hausmann@webkit.org>
687 Made the url property read-write.
691 2008-01-16 Simon Hausmann <hausmann@webkit.org>
695 Don't crash when showing a default initialized QWebView that has no page/frame yet.
698 (QWebView::paintEvent):
700 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
704 Change hoveringOverLink implementation to have less issues.
706 * Currently we only compare a pointer. In the worst case we
707 could delete the Element we have pointed to and a new one
708 gets the same address. But even if that doesn't happen the
709 WebCore::Element is mutable and JavaScript could change the
710 URL, Title or Content. So we have to compare all these three
712 * This does not seem to be a performance impact.
716 (QWebPagePrivate::mouseMoveEvent):
719 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
723 * Move the hoverElement from QWebFrame to QWebPage. As it is
728 (QWebFramePrivate::QWebFramePrivate):
730 (QWebPagePrivate::mouseMoveEvent):
733 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
737 EventHandler changes/fixes in QWebPage:
738 -mouse{Press,Move,Release}Event:
739 Send the event always to the mainFrame of the QWebPage.
741 -contextMenuEvent, key{Press,Release}Event:
742 Send the event to the focused frame.
744 This is following the Windows port and fixes a issue with the
745 Web Inspector where we were sending the events to a wrong frame.
747 It is guaranteed that the mainFrame will always have an eventHandler
748 and frameView set. There is no need to check for this in QWebPage.
752 (QWebFramePrivate::init):
754 (QWebFramePrivate::QWebFramePrivate):
756 (QWebPagePrivate::updateEditorActions):
757 (QWebPagePrivate::mouseMoveEvent):
758 (QWebPagePrivate::mousePressEvent):
759 (QWebPagePrivate::mouseDoubleClickEvent):
760 (QWebPagePrivate::mouseReleaseEvent):
761 (QWebPagePrivate::contextMenuEvent):
762 (QWebPagePrivate::wheelEvent):
763 (QWebPagePrivate::keyPressEvent):
764 (QWebPagePrivate::keyReleaseEvent):
765 (QWebPagePrivate::focusInEvent):
768 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
772 * Add core and kit functions to QWebFramePrivate to convert from
773 QWebFrame to WebCore::Frame and vice versa.
777 (QWebFramePrivate::core):
778 (QWebFramePrivate::kit):
782 2008-01-16 Lars Knoll <lars@trolltech.com>
786 add conversion methods from and to QUrl to KURL.
788 Use them in the places I found at the moment. Fixes a bug
789 where form data was encoded twice.
790 Also fix QWebSettings to take a QUrl for the user style sheet
797 (QWebPage::createPlugin):
799 (QWebPage::triggerAction):
800 * Api/qwebsettings.cpp:
801 (QWebSettingsPrivate::apply):
802 * Api/qwebsettings.h:
803 * WebCoreSupport/ChromeClientQt.cpp:
804 (WebCore::ChromeClientQt::createWindow):
805 (WebCore::ChromeClientQt::show):
807 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
811 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
812 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
813 the QWebPage/WebInspector automatically.
816 * WebCoreSupport/InspectorClientQt.cpp:
817 (WebCore::InspectorClientWebPage::createWindow):
818 (WebCore::InspectorClientView::InspectorClientView):
820 2008-01-10 Maciej Stachowiak <mjs@apple.com>
824 - remove SecurityOriginData and fold its functionality into SecurityOrigin
826 * WebCoreSupport/ChromeClientQt.cpp:
827 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
828 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
829 * WebCoreSupport/ChromeClientQt.h:
831 2008-01-10 Lars Knoll <lars@trolltech.com>
838 * Api/qwebhistory.cpp:
839 (QWebHistoryItem::QWebHistoryItem):
840 (QWebHistoryItem::operator=):
841 (QWebHistoryItem::~QWebHistoryItem):
842 (QWebHistoryItem::originalUrl):
843 (QWebHistoryItem::currentUrl):
844 (QWebHistoryItem::title):
845 (QWebHistoryItem::icon):
846 (QWebHistory::canGoBack):
847 (QWebHistory::canGoForward):
848 (QWebHistory::goBack):
849 (QWebHistory::goForward):
850 (QWebHistory::goToItem):
853 2008-01-10 Simon Hausmann <hausmann@webkit.org>
857 Make the reset() functions not do anything on the default QWebSettings object.
860 * Api/qwebsettings.cpp:
861 (QWebSettings::resetFontSize):
862 (QWebSettings::resetFontFamily):
863 (QWebSettings::clearAttribute):
865 2008-01-10 Lars Knoll <lars@trolltech.com>
869 rename QWebPageHistory to QWebHistory.
872 * Api/qwebhistory.cpp: Added.
873 (QWebHistoryItem::QWebHistoryItem):
874 (QWebHistoryItem::operator=):
875 (QWebHistoryItem::~QWebHistoryItem):
876 (QWebHistoryItem::originalUrl):
877 (QWebHistoryItem::currentUrl):
878 (QWebHistoryItem::title):
879 (QWebHistoryItem::lastVisited):
880 (QWebHistoryItem::icon):
881 (QWebHistory::QWebHistory):
882 (QWebHistory::~QWebHistory):
883 (QWebHistory::clear):
884 (QWebHistory::items):
885 (QWebHistory::backItems):
886 (QWebHistory::forwardItems):
887 (QWebHistory::canGoBack):
888 (QWebHistory::canGoForward):
889 (QWebHistory::goBack):
890 (QWebHistory::goForward):
891 (QWebHistory::goToItem):
892 (QWebHistory::backItem):
893 (QWebHistory::currentItem):
894 (QWebHistory::forwardItem):
895 (QWebHistory::itemAtIndex):
896 * Api/qwebhistory.h: Added.
897 * Api/qwebhistory_p.h: Added.
898 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
899 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
900 (QWebHistoryPrivate::QWebHistoryPrivate):
901 (QWebHistoryPrivate::~QWebHistoryPrivate):
903 (QWebPagePrivate::QWebPagePrivate):
906 * Api/qwebpagehistory.cpp: Removed.
907 * Api/qwebpagehistory.h: Removed.
908 * Api/qwebpagehistory_p.h: Removed.
912 2008-01-10 Simon Hausmann <hausmann@webkit.org>
916 Documentation for QWebSettings
919 * Api/qwebsettings.cpp:
920 (QWebSettings::~QWebSettings):
921 (QWebSettings::setFontSize):
922 (QWebSettings::resetFontSize):
923 (QWebSettings::setUserStyleSheetLocation):
924 (QWebSettings::userStyleSheetLocation):
925 (QWebSettings::iconDatabaseEnabled):
926 (QWebSettings::webGraphic):
927 (QWebSettings::setFontFamily):
928 (QWebSettings::resetFontFamily):
929 (QWebSettings::setAttribute):
931 2008-01-10 Lars Knoll <lars@trolltech.com>
935 Document QWebHistoryInterface.
938 * Api/qwebhistoryinterface.cpp:
939 (QWebHistoryInterface::defaultInterface):
940 (QWebHistoryInterface::~QWebHistoryInterface):
942 2008-01-10 Lars Knoll <lars@trolltech.com>
946 Documentation for QWebFrame.
953 (QWebFrame::setHtml):
954 (QWebFrame::parentFrame):
957 (QWebFrame::geometry):
961 2008-01-10 Lars Knoll <lars@trolltech.com>
965 fix the drawing errors that where introduced due to refactoring.
967 Correctly clip to the rectangle we want to draw in ScrollView::paint().
974 (QWebView::paintEvent):
975 * WebCoreSupport/ChromeClientQt.cpp:
976 (WebCore::ChromeClientQt::scrollBackingStore):
978 2008-01-10 Simon Hausmann <hausmann@webkit.org>
982 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
986 (QWebPagePrivate::dropEvent):
987 (QWebPage::QWebPage):
988 (QWebPage::~QWebPage):
989 (QWebPage::mainFrame):
990 (QWebPage::currentFrame):
994 (QWebPage::javaScriptConsoleMessage):
995 (QWebPage::javaScriptAlert):
996 (QWebPage::javaScriptConfirm):
997 (QWebPage::javaScriptPrompt):
998 (QWebPage::createWindow):
999 (QWebPage::createModalDialog):
1001 (QWebPage::triggerAction):
1002 (QWebPage::viewportSize):
1003 (QWebPage::navigationRequested):
1004 (QWebPage::selectedText):
1005 (QWebPage::isModified):
1006 (QWebPage::focusNextPrevChild):
1007 (QWebPage::settings):
1008 (QWebPage::networkProxy):
1009 (QWebPage::setNetworkAccessManager):
1010 (QWebPage::networkAccessManager):
1011 (QWebPagePrivate::_q_onLoadProgressChanged):
1014 2008-01-07 Holger Freyther <zecke@selfish.org>
1016 Reviewed by Alp Toker.
1018 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
1020 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
1021 * Update the ContextMenuController to accept CheckableActionTypes as well.
1022 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
1023 was extracted from ContextMenu::checkOrEnableIfNeeded.
1024 * Update the Qt and Windows port.
1027 (QWebPagePrivate::createContextMenu):
1029 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1031 Build fix for the Windows build. MSVC wants to see the full
1032 declaration of arguments even when just passing them through.
1036 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1040 Added the missing parameters to make it possible to do POST operations from the public API.
1042 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1043 two extra arguments were in QNetworkRequest :-/
1046 * Api/qwebframe.cpp:
1053 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1057 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1060 * Api/qwebframe.cpp:
1063 * Api/qwebnetworkinterface.cpp:
1064 * Api/qwebnetworkinterface.h:
1065 * Api/qwebnetworkinterface_p.h:
1066 * Api/qwebobjectplugin.cpp:
1067 * Api/qwebobjectplugin.h:
1068 * Api/qwebobjectplugin_p.h:
1069 * Api/qwebobjectpluginconnector.cpp:
1070 * Api/qwebobjectpluginconnector.h:
1072 (QWebPagePrivate::QWebPagePrivate):
1073 (QWebPagePrivate::~QWebPagePrivate):
1074 (QWebPagePrivate::navigationRequested):
1075 (QWebPage::setNetworkInterface):
1076 (QWebPage::networkInterface):
1077 (QWebPage::setNetworkAccessManager):
1078 (QWebPage::networkAccessManager):
1083 * WebCoreSupport/FrameLoaderClientQt.cpp:
1084 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1085 (WebCore::FrameLoaderClientQt::objectContentType):
1086 (WebCore::FrameLoaderClientQt::createPlugin):
1088 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1092 * Move the QWebPagePrivate methods up to the other private ones
1095 (dropActionToDragOp):
1096 (dragOpToDropAction):
1097 (QWebPagePrivate::mouseMoveEvent):
1098 (QWebPagePrivate::mousePressEvent):
1099 (QWebPagePrivate::mouseDoubleClickEvent):
1100 (QWebPagePrivate::mouseReleaseEvent):
1101 (QWebPagePrivate::contextMenuEvent):
1102 (QWebPagePrivate::wheelEvent):
1103 (QWebPagePrivate::keyPressEvent):
1104 (QWebPagePrivate::keyReleaseEvent):
1105 (QWebPagePrivate::focusInEvent):
1106 (QWebPagePrivate::focusOutEvent):
1107 (QWebPagePrivate::dragEnterEvent):
1108 (QWebPagePrivate::dragLeaveEvent):
1109 (QWebPagePrivate::dragMoveEvent):
1110 (QWebPagePrivate::dropEvent):
1111 (QWebPage::focusNextPrevChild):
1113 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1117 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1121 (dragOpToDropAction):
1123 (QWebView::mouseMoveEvent):
1124 (QWebView::mousePressEvent):
1125 (QWebView::mouseDoubleClickEvent):
1126 (QWebView::mouseReleaseEvent):
1127 (QWebView::contextMenuEvent):
1128 (QWebView::keyPressEvent):
1129 (QWebView::keyReleaseEvent):
1130 (QWebView::focusInEvent):
1131 (QWebView::focusOutEvent):
1132 (QWebView::dragEnterEvent):
1133 (QWebView::dragLeaveEvent):
1134 (QWebView::dragMoveEvent):
1135 (QWebView::dropEvent):
1137 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1141 * This layout is not needed anymore as Widget::invalidateRect will not
1146 (QWebView::paintEvent):
1148 2008-01-04 Lars Knoll <lars@trolltech.com>
1152 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1154 This also brings the code closer in line with the Windows code. Seems
1155 to work nicely on first try :)
1158 * WebCoreSupport/ChromeClientQt.cpp:
1159 (WebCore::ChromeClientQt::updateBackingStore):
1160 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1161 (WebCore::ChromeClientQt::setToolTip):
1162 * WebCoreSupport/FrameLoaderClientQt.cpp:
1163 (WebCore::FrameLoaderClientQt::createPlugin):
1165 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1169 * Remove the todo from QWebPage and move the code to QWebView.
1173 (QWebPagePrivate::wheelEvent):
1174 (QWebPagePrivate::focusInEvent):
1176 (QWebView::wheelEvent):
1177 (QWebView::focusInEvent):
1179 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1183 * Move the various event methods to QWebPagePrivate. This is similar to
1184 QTextControl as well.
1189 (QWebPagePrivate::mouseMoveEvent):
1190 (QWebPagePrivate::mousePressEvent):
1191 (QWebPagePrivate::mouseDoubleClickEvent):
1192 (QWebPagePrivate::mouseReleaseEvent):
1193 (QWebPagePrivate::contextMenuEvent):
1194 (QWebPagePrivate::wheelEvent):
1195 (QWebPagePrivate::keyPressEvent):
1196 (QWebPagePrivate::keyReleaseEvent):
1197 (QWebPagePrivate::focusInEvent):
1198 (QWebPagePrivate::focusOutEvent):
1199 (QWebPage::focusNextPrevChild):
1200 (QWebPagePrivate::dragEnterEvent):
1201 (QWebPagePrivate::dragLeaveEvent):
1202 (QWebPagePrivate::dragMoveEvent):
1203 (QWebPagePrivate::dropEvent):
1207 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1211 * Forward the event from QWebView to QWebPage through QObject::event. This
1212 is similar to the way QTextControl is working.
1216 (dragOpToDropAction):
1220 (QWebView::mouseMoveEvent):
1221 (QWebView::mousePressEvent):
1222 (QWebView::mouseDoubleClickEvent):
1223 (QWebView::mouseReleaseEvent):
1224 (QWebView::contextMenuEvent):
1225 (QWebView::wheelEvent):
1226 (QWebView::keyPressEvent):
1227 (QWebView::keyReleaseEvent):
1228 (QWebView::focusInEvent):
1229 (QWebView::focusOutEvent):
1230 (QWebView::dragEnterEvent):
1231 (QWebView::dragLeaveEvent):
1232 (QWebView::dragMoveEvent):
1233 (QWebView::dropEvent):
1236 2008-01-04 Lars Knoll <lars@trolltech.com>
1240 make QWebPage a QObject and get things to compile.
1242 Nothing works currently though.
1245 * Api/qwebobjectpluginconnector.cpp:
1247 (QWebPagePrivate::QWebPagePrivate):
1248 (QWebPagePrivate::createMainFrame):
1249 (QWebPage::QWebPage):
1250 (QWebPage::setView):
1252 (QWebPage::javaScriptAlert):
1253 (QWebPage::javaScriptPrompt):
1254 (dragOpToDropAction):
1255 (QWebPage::mousePressEvent):
1256 (QWebPage::mouseDoubleClickEvent):
1257 (QWebPage::mouseReleaseEvent):
1258 (QWebPage::wheelEvent):
1259 (QWebPage::keyPressEvent):
1260 (QWebPage::focusInEvent):
1264 (QWebView::QWebView):
1265 (QWebView::setPage):
1266 (QWebView::resizeEvent):
1267 (QWebView::paintEvent):
1269 * WebCoreSupport/ChromeClientQt.cpp:
1270 (WebCore::ChromeClientQt::windowRect):
1271 (WebCore::ChromeClientQt::pageRect):
1272 (WebCore::ChromeClientQt::focus):
1273 (WebCore::ChromeClientQt::unfocus):
1274 (WebCore::ChromeClientQt::canTakeFocus):
1275 (WebCore::ChromeClientQt::takeFocus):
1276 (WebCore::ChromeClientQt::canRunModal):
1277 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1278 * WebCoreSupport/DragClientQt.cpp:
1279 (WebCore::DragClientQt::startDrag):
1280 * WebCoreSupport/FrameLoaderClientQt.cpp:
1281 (WebCore::FrameLoaderClientQt::createPlugin):
1282 * WebCoreSupport/InspectorClientQt.cpp:
1283 (WebCore::InspectorClientWebPage::createWindow):
1284 (WebCore::InspectorClientView::InspectorClientView):
1285 (WebCore::InspectorClientView::page):
1286 (WebCore::InspectorClientView::hideEvent):
1287 (WebCore::InspectorClientView::closeEvent):
1288 (WebCore::InspectorClientQt::createPage):
1289 (WebCore::InspectorClientQt::closeWindow):
1291 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1295 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1299 (QWebView::setHtml):
1300 (QWebView::setContent):
1301 (QWebView::history):
1302 (QWebView::settings):
1304 (QWebView::triggerAction):
1306 (QWebView::backward):
1307 (QWebView::forward):
1311 2008-01-04 Lars Knoll <lars@trolltech.com>
1315 add a viewportSize to QWebPage.
1317 This is required to eventually make it a QObject only.
1321 (QWebPage::triggerAction):
1322 (QWebPage::viewportSize):
1323 (QWebPage::setViewportSize):
1326 2008-01-04 Lars Knoll <lars@trolltech.com>
1330 take a QString as identifier in QWebFrame::addToJSWindowObject.
1332 * Api/qwebframe.cpp:
1333 (QWebFrame::addToJSWindowObject):
1336 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1340 Call the frame arguments for the javascript callbacks "originatingFrame"
1345 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1349 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1352 * Api/qwebhistoryinterface.h:
1354 * WebCoreSupport/FrameLoaderClientQt.cpp:
1355 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1357 2008-01-04 Lars Knoll <lars@trolltech.com>
1361 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1363 * Api/qwebframe.cpp:
1366 (QWebFrame::setVerticalScrollBarPolicy):
1369 (QWebPage::javaScriptAlert):
1370 (QWebPage::javaScriptPrompt):
1371 (QWebPage::networkInterface):
1377 * WebCoreSupport/FrameLoaderClientQt.cpp:
1379 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1383 Moved QWebPage::open to QWebFrame::load and added setHtml.
1386 * Api/qwebframe.cpp:
1388 (QWebFrame::setHtml):
1389 (QWebFrame::setContent):
1395 (QWebView::setHtml):
1397 * WebCoreSupport/ChromeClientQt.cpp:
1398 (WebCore::ChromeClientQt::createWindow):
1399 * WebCoreSupport/InspectorClientQt.cpp:
1400 (WebCore::InspectorClientQt::createPage):
1402 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1406 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1412 (QWebPagePrivate::createMainFrame):
1414 * Api/qwebpagehistory.h:
1415 * Api/qwebview.cpp: Added.
1416 (QWebView::QWebView):
1417 (QWebView::~QWebView):
1419 (QWebView::setPage):
1421 (QWebView::setHtml):
1422 (QWebView::history):
1423 (QWebView::settings):
1427 (QWebView::selectedText):
1429 (QWebView::triggerAction):
1430 (QWebView::isModified):
1431 (QWebView::textInteractionFlags):
1432 (QWebView::setTextInteractionFlags):
1433 (QWebView::sizeHint):
1435 (QWebView::backward):
1436 (QWebView::forward):
1438 * Api/qwebview.h: Added.
1439 * QtLauncher/main.cpp:
1440 (MainWindow::MainWindow):
1441 (MainWindow::webPage):
1442 (MainWindow::changeLocation):
1443 * WebCoreSupport/FrameLoaderClientQt.cpp:
1444 (WebCore::FrameLoaderClientQt::setFrame):
1445 * WebCoreSupport/FrameLoaderClientQt.h:
1447 2007-12-14 Darin Adler <darin@apple.com>
1452 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1453 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1454 * WebCoreSupport/EditorClientQt.cpp:
1455 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1456 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1459 2007-12-12 Brady Eidson <beidson@apple.com>
1461 Reviewed by Sam Weinig
1463 As part of doing some CachedPage and client cleanup, keep Qt building
1465 * WebCoreSupport/FrameLoaderClientQt.cpp:
1466 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1467 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1468 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1469 * WebCoreSupport/FrameLoaderClientQt.h:
1471 2007-12-12 Sam Weinig <sam@webkit.org>
1475 * WebCoreSupport/FrameLoaderClientQt.cpp:
1476 (WebCore::FrameLoaderClientQt::userAgent):
1478 2007-12-12 Sam Weinig <sam@webkit.org>
1482 * Api/qwebnetworkinterface.cpp:
1483 (QWebNetworkRequestPrivate::init):
1486 (QWebPageContext::QWebPageContext):
1487 * Api/qwebpagehistory.cpp:
1488 (QWebHistoryItem::originalUrl):
1489 (QWebHistoryItem::currentUrl):
1490 * WebCoreSupport/FrameLoaderClientQt.cpp:
1491 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1492 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1493 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1494 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1495 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1496 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1497 (WebCore::FrameLoaderClientQt::createPlugin):
1499 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1503 <rdar://problem/5535636>
1504 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1506 http://bugs.webkit.org/show_bug.cgi?id=13916
1507 JavaScript detects Tab as a character input on a textfield validation
1509 * WebCoreSupport/EditorClientQt.cpp:
1510 (WebCore::EditorClientQt::handleKeyboardEvent):
1511 (WebCore::EditorClientQt::handleInputMethodKeydown):
1512 * WebCoreSupport/EditorClientQt.h:
1513 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1515 2007-12-07 Darin Adler <darin@apple.com>
1519 * Api/qwebhistoryinterface.cpp:
1520 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1521 be updated, since WebCore changed, but this should not be here.
1523 2007-12-04 Darin Adler <darin@apple.com>
1525 Reviewed by Kevin Decker.
1527 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1528 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1530 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1534 * Implement the InspectorClient for the Qt port
1535 * It does not support highlighting of nodes yet
1536 * Use QRC to open the internal page. The important thing is the
1537 '/' in the URL to make WebCore::Document::completeURL behave the
1539 * To make the InspectorClient work we will have to mark qrc as secure.
1542 (QWebPagePrivate::QWebPagePrivate):
1544 * WebCoreSupport/InspectorClientQt.cpp:
1545 (WebCore::InspectorClientWebPage::hideEvent):
1546 (WebCore::InspectorClientQt::InspectorClientQt):
1547 (WebCore::InspectorClientQt::inspectorDestroyed):
1548 (WebCore::InspectorClientQt::createPage):
1549 (WebCore::InspectorClientQt::localizedStringsURL):
1550 (WebCore::InspectorClientQt::showWindow):
1551 (WebCore::InspectorClientQt::closeWindow):
1552 (WebCore::InspectorClientQt::attachWindow):
1553 (WebCore::InspectorClientQt::detachWindow):
1554 * WebCoreSupport/InspectorClientQt.h:
1556 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1558 Rubber stamped by Mark.
1560 Always include config.h at the beginning of the file.
1562 * Api/qwebsettings.cpp:
1564 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1568 * Avoid crashes by making sure everything is layouted before
1569 we start painting. This avoids a crash in Widget::invalidateRect
1570 because QPainter::begin would fail
1571 * The QWebFrame::layout() methods and calls are left untouched because
1572 this would be an API decision.
1575 * Api/qwebframe.cpp:
1576 (QWebFrame::layout):
1578 (QWebPage::paintEvent):
1580 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1584 * SubClass QWebPage to handle hide and close events.
1585 * Forward these events to the InspectorController
1586 * The other options would have been using an eventFilter
1587 on the webpage and making InspectorClient a QObject or
1588 creating a QObject Observer.
1589 * Provide a simple QWebPage* createWindow implementation. This is needed
1590 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1591 of the inspector client.
1594 * WebCoreSupport/InspectorClientQt.cpp:
1595 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1596 (WebCore::InspectorClientWebPage::createWindow):
1597 (WebCore::InspectorClientWebPage::hideEvent):
1598 (WebCore::InspectorClientWebPage::closeEvent):
1599 (WebCore::InspectorClientQt::createPage):
1601 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1605 * Allow adding the Inspect ContextMenuItem to our Menu
1606 * Open the Inspector when Inspect was activated. This requires
1607 that we keep the innerNonSharedNode from the HitTest around. This
1608 forces us to include <wtf/RefPtr.h> in the private header. It is
1609 the first non Qt header but should be okay.
1613 (webActionForContextMenuAction):
1614 (QWebPage::triggerAction):
1616 (QWebPageContext::QWebPageContext):
1620 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1624 * Add the Developer Extras to the WebAttribute and propagate it
1625 to WebCore::Settings. This will enable the Inspect Element menu item
1626 * CodingStyle fixes in QWebSettings
1627 * Enable the Developer Extras in the QtLauncher
1630 * Api/qwebsettings.cpp:
1631 (QWebSettingsPrivate::apply):
1632 * Api/qwebsettings.h:
1633 * QtLauncher/main.cpp:
1636 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1638 Removed unnecessary and possibly incorrect #include from my last
1641 * Api/qwebframe.cpp:
1643 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1645 Qt build fix: Get globalExec() from the right place.
1647 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1651 * Self destruct the clients like the ohter ports do
1654 * WebCoreSupport/ChromeClientQt.cpp:
1655 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1656 * WebCoreSupport/ContextMenuClientQt.cpp:
1657 * WebCoreSupport/DragClientQt.cpp:
1658 * WebCoreSupport/EditorClientQt.cpp:
1659 * WebCoreSupport/InspectorClientQt.cpp:
1661 2007-11-29 Brady Eidson <beidson@apple.com>
1663 Keep it building with new client method
1665 * WebCoreSupport/ChromeClientQt.cpp:
1666 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1667 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1668 * WebCoreSupport/ChromeClientQt.h:
1670 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1672 Reviewed by Adam Treat.
1674 Fix compilation (don't define notImplemented twice)
1676 * Api/qwebnetworkinterface.cpp:
1678 2007-11-22 Simon Hausmann <hausmann@kde.org>
1682 Use Q_SIGNALS/Q_SLOTS in the public API
1687 2007-11-22 Simon Hausmann <hausmann@kde.org>
1691 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1695 2007-11-22 Simon Hausmann <hausmann@kde.org>
1699 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1703 * Api/qwebhistoryinterface.h:
1704 * Api/qwebnetworkinterface.h:
1705 * Api/qwebobjectplugin.h:
1706 * Api/qwebobjectplugin_p.h:
1707 * Api/qwebobjectpluginconnector.h:
1709 * Api/qwebpagehistory.h:
1710 * Api/qwebsettings.h:
1712 2007-11-22 Simon Hausmann <hausmann@kde.org>
1716 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1718 * Api/qwebpagehistory.h:
1720 2007-11-22 George Staikos <staikos@kde.org>
1722 Reviewed by Simon Hausmann <hausmann@kde.org>.
1727 * Api/qwebobjectplugin.cpp:
1728 * Api/qwebobjectplugin.h:
1729 * Api/qwebobjectpluginconnector.cpp:
1730 * Api/qwebobjectpluginconnector.h:
1732 2007-11-22 Simon Hausmann <hausmann@kde.org>
1734 Reviewed by George Staikos <staikos@kde.org>.
1736 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1738 This also fixes compilation with gcc 4.3.
1741 * Api/qwebframe.cpp:
1742 (QWebFramePrivate::init):
1744 2007-11-21 Adam Treat <treat@kde.org>
1748 * Connect up the signal for all subframes too.
1750 * Api/qwebframe.cpp:
1751 (QWebFramePrivate::init):
1753 (QWebPagePrivate::createMainFrame):
1755 2007-11-20 Simon Hausmann <hausmann@kde.org>
1757 Reviewed by Adam Treat <treat@kde.org>.
1759 Remove static linkage of QtWebKit against the ICO image format plugin.
1761 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1764 * Plugins/Plugins.pro:
1766 2007-11-20 Simon Hausmann <hausmann@kde.org>
1768 Reviewed by George Staikos <staikos@kde.org>.
1770 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1775 2007-11-20 George Staikos <staikos@kde.org>
1777 Reviewed by Simon Hausmann <hausmann@kde.org>.
1779 Add an argument to pass the link text in the hovering signal
1784 (QWebPagePrivate::createMainFrame):
1785 (QWebPage::mouseMoveEvent):
1788 2007-11-20 Adam Treat <treat@kde.org>
1790 Reviewed by Simon and George.
1792 * Be quiet and allow suppression of NotImplemented calls at runtime.
1794 * WebCoreSupport/FrameLoaderClientQt.cpp:
1795 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1797 2007-11-19 Adam Treat <treat@kde.org>
1801 * Don't segfault when event pos is outside of the widget.
1804 (QWebPage::mouseMoveEvent):
1805 (QWebPage::mousePressEvent):
1806 (QWebPage::mouseDoubleClickEvent):
1807 (QWebPage::mouseReleaseEvent):
1808 (QWebPage::contextMenuEvent):
1810 2007-11-17 Timothy Hatcher <timothy@apple.com>
1812 Reviewed by Mark Rowe.
1814 Bug 13470: i18n: The Web Inspector is not localizable
1815 http://bugs.webkit.org/show_bug.cgi?id=13470
1817 * WebCoreSupport/InspectorClientQt.cpp:
1818 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1819 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1821 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1823 Build fix: changed Shared to RefCounted.
1825 * WebCoreSupport/ChromeClientQt.h:
1826 * WebCoreSupport/ContextMenuClientQt.cpp:
1827 * WebCoreSupport/ContextMenuClientQt.h:
1828 * WebCoreSupport/EditorClientQt.h:
1829 * WebCoreSupport/FrameLoaderClientQt.h:
1831 2007-11-10 Simon Hausmann <hausmann@kde.org>
1833 Reviewed by Nikolas.
1835 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1839 (QWebPagePrivate::createContextMenu):
1841 2007-11-10 Simon Hausmann <hausmann@kde.org>
1843 Reviewed by Nikolas.
1845 Added support for the Bold/Italic/Underline toggle actions.
1849 (webActionForContextMenuAction):
1850 (QWebPage::triggerAction):
1854 2007-11-10 Simon Hausmann <hausmann@kde.org>
1856 Reviewed by Nikolas.
1858 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1859 to update the enable/checked state correctly.
1863 (QWebPagePrivate::createContextMenu):
1864 (QWebPage::contextMenuEvent):
1867 2007-11-10 Simon Hausmann <hausmann@kde.org>
1869 Reviewed by Nikolas.
1871 Mark the text direction actions as checkable actions.
1877 2007-11-09 Simon Hausmann <hausmann@kde.org>
1881 Implemented the webcore actions for changing the text direction.
1885 (webActionForContextMenuAction):
1886 (QWebPage::triggerAction):
1890 2007-11-09 Simon Hausmann <hausmann@kde.org>
1894 Fix ContextMenu allocation in the Qt port.
1896 Store all items and submenus value based in ContextMenu and ContextMenuItem.
1897 That fixes the crashes when the context menu was populated with sub-menus because
1898 of the use of temporary ContextMenu objects like this:
1900 ContextMenu subMenu(...);
1901 subMenu.appendItem(...);
1902 subMenu.appendItem(...);
1904 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
1908 (QWebPage::contextMenuEvent):
1911 2007-11-09 Simon Hausmann <hausmann@kde.org>
1915 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
1921 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1925 - windowObjectCleared() is no longer const. It needs to setup the
1926 script debugger and cannot be const to do so.
1928 * WebCoreSupport/FrameLoaderClientQt.cpp:
1929 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1930 * WebCoreSupport/FrameLoaderClientQt.h:
1932 2007-11-08 Simon Hausmann <hausmann@kde.org>
1934 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
1936 The buildbots use Qt 4.4 which has the function in question, but Qt
1937 4.3 doesn't have it. Use removeAll() as replacement instead, it
1938 shouldn't make a difference in performance.
1940 * Api/qwebsettings.cpp:
1941 (QWebSettings::~QWebSettings):
1943 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1945 Reviewed by Lars Knoll <lars@trolltech.com>.
1947 Cleanup checking for the request method.
1949 * Check the request method only in QWebNetworkManager::add.
1950 * Currently HEAD, GET, POST are allowed and for everything else
1951 QWebNetworkManager::add returns false.
1952 * Returning false is compatible with ResourceHandle::start and it
1953 can be used in ResourceHandle::loadResourceSynchronously to generate
1957 * Api/qwebnetworkinterface.cpp:
1958 (QWebNetworkManager::add):
1960 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1962 Reviewed by Lars Knoll <lars@trolltech.com>.
1964 Fix bug in the implementation of synchronous network jobs.
1966 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
1967 - if (jobMode == AsynchronousJob) {
1968 + if (jobMode == SynchronousJob) {
1969 add job to synchronous list/hash
1971 * Just applying the above change will lead to crashes because we can finish
1972 jobs before we started them.
1974 * Avoid these issues by saving all work (starting a job, sending data and
1975 finishing it) inside one list. JobWork will contain any
1976 of the above three work types and doWork will just work on this list
1977 (m_pendingWork). As foreach takes a copy of the list calling started, data
1978 and finished will not add new work and we gurantee that if we have JobStarted
1979 it will be in the list before JobData and JobFinished.
1981 * Observation: We might just kill the code to handle sync jobs.
1984 * Api/qwebnetworkinterface.cpp:
1985 (QWebNetworkManager::add):
1986 (QWebNetworkManager::queueStart):
1987 (QWebNetworkManager::queueData):
1988 (QWebNetworkManager::queueFinished):
1989 (QWebNetworkManager::doWork):
1990 * Api/qwebnetworkinterface_p.h:
1991 (QWebNetworkManager::JobWork::):
1992 (QWebNetworkManager::JobWork::JobWork):
1994 2007-11-07 Simon Hausmann <hausmann@kde.org>
1996 Build fix, reviewed by nobody.
1998 Fix the Qt build by setting up WindowFeatures before calling
1999 createWindow on the Chrome. This is similar to openNewWindow in
2000 page/ContextMenuController.cpp
2005 2007-11-07 Simon Hausmann <hausmann@kde.org>
2009 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2012 (QWebPagePrivate::QWebPagePrivate):
2013 * Api/qwebsettings.cpp:
2014 (QWebSettingsPrivate::apply):
2015 * Api/qwebsettings.h:
2017 2007-11-07 Simon Hausmann <hausmann@kde.org>
2021 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
2023 * Api/qwebpagehistory.cpp:
2024 * Api/qwebpagehistory.h:
2026 2007-11-07 Simon Hausmann <hausmann@kde.org>
2030 Removed unimplemented QWebHistoryItem::children() function
2032 * Api/qwebpagehistory.h:
2034 2007-11-07 Simon Hausmann <hausmann@kde.org>
2038 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2040 * Api/qwebsettings.cpp:
2041 (QWebSettings::fontSize):
2042 (QWebSettings::fontFamily):
2043 (QWebSettings::testAttribute):
2045 2007-11-07 Simon Hausmann <hausmann@kde.org>
2049 Added explicit functions for resetting the font sizes and font families.
2051 * Api/qwebsettings.cpp:
2052 (QWebSettings::resetFontSize):
2053 (QWebSettings::resetFontFamily):
2054 * Api/qwebsettings.h:
2056 2007-11-07 Simon Hausmann <hausmann@kde.org>
2060 Combined the font sizes accessors/setters under one setter/getter with an enum.
2062 * Api/qwebsettings.cpp:
2063 (QWebSettingsPrivate::QWebSettingsPrivate):
2064 (QWebSettingsPrivate::apply):
2065 (QWebSettings::QWebSettings):
2066 (QWebSettings::setFontSize):
2067 * Api/qwebsettings.h:
2069 2007-11-07 Simon Hausmann <hausmann@kde.org>
2073 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2077 * WebCoreSupport/FrameLoaderClientQt.cpp:
2078 (WebCore::FrameLoaderClientQt::userAgent):
2080 2007-11-07 Simon Hausmann <hausmann@kde.org>
2084 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2087 (QWebPagePrivate::_q_webActionTriggered):
2088 (QWebPage::keyPressEvent):
2091 2007-11-07 Simon Hausmann <hausmann@kde.org>
2095 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2099 * WebCoreSupport/ChromeClientQt.cpp:
2100 (WebCore::ChromeClientQt::setWindowRect):
2102 2007-11-07 Simon Hausmann <hausmann@kde.org>
2106 Renamed QWebPage::webAction() to QWebPage::action()
2109 (QWebPagePrivate::createContextMenu):
2111 * QtLauncher/main.cpp:
2112 (MainWindow::MainWindow):
2114 2007-11-07 Simon Hausmann <hausmann@kde.org>
2118 Removed a bunch of slots/functions that are now available through the new actions API.
2123 2007-11-07 Simon Hausmann <hausmann@kde.org>
2127 Added some more comments to the API after another round of API review with Lars.
2131 2007-11-07 Simon Hausmann <hausmann@kde.org>
2135 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2137 The currently selected text is a property of the page as a whole.
2139 * Api/qwebframe.cpp:
2142 (QWebPage::selectedText):
2145 2007-11-07 Simon Hausmann <hausmann@kde.org>
2149 Implemented support for settings propagation.
2151 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2153 * Api/qwebsettings.cpp:
2154 (QWebSettingsPrivate::QWebSettingsPrivate):
2155 (QWebSettingsPrivate::apply):
2156 (QWebSettings::QWebSettings):
2157 (QWebSettings::~QWebSettings):
2158 (QWebSettings::setFontFamily):
2159 * Api/qwebsettings.h:
2161 2007-11-07 Simon Hausmann <hausmann@kde.org>
2165 Reworked the QWebSettings API.
2166 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2169 (QWebPagePrivate::QWebPagePrivate):
2170 (QWebPagePrivate::~QWebPagePrivate):
2171 (QWebPage::QWebPage):
2174 * Api/qwebsettings.cpp:
2175 (QWebSettingsPrivate::QWebSettingsPrivate):
2176 (QWebSettingsPrivate::apply):
2177 (QWebSettings::defaultSettings):
2178 (QWebSettings::QWebSettings):
2179 (QWebSettings::setMinimumFontSize):
2180 (QWebSettings::setMinimumLogicalFontSize):
2181 (QWebSettings::setDefaultFontSize):
2182 (QWebSettings::setDefaultFixedFontSize):
2183 (QWebSettings::setUserStyleSheetLocation):
2184 (QWebSettings::setFontFamily):
2185 (QWebSettings::fontFamily):
2186 (QWebSettings::setAttribute):
2187 * Api/qwebsettings.h:
2188 * QtLauncher/main.cpp:
2191 2007-11-07 Simon Hausmann <hausmann@kde.org>
2195 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2197 * Api/qwebsettings.cpp:
2198 (QWebSettings::setWebGraphic):
2199 * Api/qwebsettings.h:
2201 2007-11-07 Simon Hausmann <hausmann@kde.org>
2205 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2207 * Api/qwebsettings.cpp:
2209 2007-11-07 Simon Hausmann <hausmann@kde.org>
2213 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2215 * Api/qwebsettings.cpp:
2216 * Api/qwebsettings.h:
2218 2007-11-07 Simon Hausmann <hausmann@kde.org>
2222 Changed the webAction() accessor to not be a slot but just a public function.
2226 2007-11-07 Simon Hausmann <hausmann@kde.org>
2230 Implemented createWindow() in QtLauncher.
2232 * QtLauncher/main.cpp:
2234 (MainWindow::MainWindow):
2235 (WebPage::createWindow):
2237 2007-11-07 Simon Hausmann <hausmann@kde.org>
2241 Implemented opening links in new windows
2246 (QWebPage::webActionTriggered):
2248 2007-11-07 Simon Hausmann <hausmann@kde.org>
2252 Added and implemented the "OpenLink" action.
2255 (webActionForContextMenuAction):
2256 (QWebPage::webActionTriggered):
2257 (QWebPage::webAction):
2260 2007-11-07 Simon Hausmann <hausmann@kde.org>
2264 Adjust the state of the reload action correctly.
2267 (QWebPagePrivate::updateAction):
2268 (QWebPagePrivate::updateNavigationActions):
2270 2007-11-07 Simon Hausmann <hausmann@kde.org>
2274 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2277 (QWebPagePrivate::updateAction):
2278 (QWebPage::webAction):
2279 (QWebPage::undoStack):
2282 2007-11-07 Simon Hausmann <hausmann@kde.org>
2286 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2288 * QtLauncher/main.cpp:
2289 (MainWindow::MainWindow):
2291 2007-11-07 Simon Hausmann <hausmann@kde.org>
2295 Update the editor actions when the selection changes.
2298 (QWebPagePrivate::updateAction):
2299 (QWebPagePrivate::updateEditorActions):
2301 * WebCoreSupport/EditorClientQt.cpp:
2302 (WebCore::EditorClientQt::respondToChangedSelection):
2304 2007-11-07 Simon Hausmann <hausmann@kde.org>
2308 Added cut/copy/paste actions to the toolbar of QtLauncher
2310 * QtLauncher/main.cpp:
2311 (MainWindow::MainWindow):
2313 2007-11-07 Simon Hausmann <hausmann@kde.org>
2317 Started working on keeping the state of the navigation actions up-to-date.
2320 (QWebPagePrivate::updateAction):
2321 (QWebPagePrivate::updateNavigationActions):
2322 (QWebPage::webAction):
2324 * WebCoreSupport/FrameLoaderClientQt.cpp:
2325 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2326 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2327 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2328 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2329 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2331 2007-11-07 Simon Hausmann <hausmann@kde.org>
2335 Use the navigational web actions in the toolbar
2337 * QtLauncher/main.cpp:
2338 (MainWindow::MainWindow):
2340 2007-11-07 Simon Hausmann <hausmann@kde.org>
2344 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2345 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2348 (QWebPagePrivate::QWebPagePrivate):
2349 (webActionForContextMenuAction):
2350 (QWebPagePrivate::createContextMenu):
2351 (QWebPagePrivate::_q_webActionTriggered):
2352 (QWebPage::webActionTriggered):
2353 (QWebPage::webAction):
2354 (QWebPage::contextMenuEvent):
2355 (QWebPageContext::QWebPageContext):
2356 (QWebPageContext::operator=):
2357 (QWebPageContext::~QWebPageContext):
2358 (QWebPageContext::pos):
2359 (QWebPageContext::text):
2360 (QWebPageContext::linkUrl):
2361 (QWebPageContext::imageUrl):
2362 (QWebPageContext::image):
2363 (QWebPageContext::targetFrame):
2367 2007-11-07 Simon Hausmann <hausmann@kde.org>
2371 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2374 (QWebPage::webActionTriggered):
2375 (QWebPage::keyPressEvent):
2378 2007-11-07 Simon Hausmann <hausmann@kde.org>
2382 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2383 convenience methods such as cut()/copy()/paste().
2387 (QWebPage::webActionTriggered):
2392 2007-11-07 Simon Hausmann <hausmann@kde.org>
2396 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2397 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2398 in ContextMenu::populate().
2399 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2400 out of it. That menu is currently not functional anymore though.
2403 (QWebPagePrivate::createContextMenu):
2404 (QWebPage::contextMenuEvent):
2407 2007-11-07 Simon Hausmann <hausmann@kde.org>
2411 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2412 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2413 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2417 (QWebPage::contextMenuEvent):
2418 * WebCoreSupport/ContextMenuClientQt.cpp:
2419 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2421 2007-11-07 Simon Hausmann <hausmann@kde.org>
2425 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2426 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2429 (QWebPage::mousePressEvent):
2430 (QWebPage::contextMenuEvent):
2433 2007-11-07 Simon Hausmann <hausmann@kde.org>
2437 Turned onLoadProgressChanged into a real private slot.
2440 (QWebPage::QWebPage):
2444 2007-11-07 Simon Hausmann <hausmann@kde.org>
2448 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2451 (QWebPagePrivate::QWebPagePrivate):
2454 * Api/qwebpagehistory.cpp:
2455 (QWebPageHistory::QWebPageHistory):
2456 * Api/qwebpagehistory.h:
2458 2007-11-07 Lars Knoll <lars@trolltech.com>
2462 comments on API changes that we'd like to do.
2466 2007-11-07 Simon Hausmann <hausmann@kde.org>
2468 Reviewed by Lars Knoll <lars@trolltech.com>.
2470 Add a QWebPage::frameCreated() signal and fix DRT
2472 The removal of createFrame in QWebPage broke the re-implementation
2473 in DumpRenderTree. Instead emit a frameCreated() signal and
2474 connect to it in DumpRenderTree.
2478 (QWebPagePrivate::createMainFrame):
2480 * WebCoreSupport/FrameLoaderClientQt.cpp:
2481 (WebCore::FrameLoaderClientQt::createFrame):
2483 2007-11-07 Lars Knoll <lars@trolltech.com>
2487 Remove QWebPage::createFrame()
2489 now that QWebFrame doesn't have virtual methods anymore, there
2490 is no need for a createFrame() factory method in QWebpage.
2493 (QWebPagePrivate::createMainFrame):
2495 * WebCoreSupport/FrameLoaderClientQt.cpp:
2496 (WebCore::FrameLoaderClientQt::createFrame):
2498 2007-11-07 Simon Hausmann <hausmann@kde.org>
2500 Reviewed by Lars Knoll <lars@trolltech.com>.
2502 Moved all the event handlers from QWebFrame into QWebPage.
2504 This cleans up the public API and allows us to remove the
2505 HackWebFrame hack in DumpRenderTree.
2508 * Api/qwebframe.cpp:
2511 * Api/qwebframe_p.h:
2513 (QWebPagePrivate::frameAt):
2514 (QWebPage::mouseMoveEvent):
2515 (QWebPage::mousePressEvent):
2516 (QWebPage::mouseDoubleClickEvent):
2517 (QWebPage::mouseReleaseEvent):
2518 (QWebPage::wheelEvent):
2521 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2523 Reviewed by Lars Knoll <lars@trolltech.com>.
2525 Use correct UserAgent string.
2527 * Only have one User Agent String and this place is QWebPage
2528 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2529 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2530 * ResourceRequest is != 0 when getting called from WebCore, we
2531 will only do requests when coming from WebCore and then we can
2532 use the User-Agent set with the help of the FrameLoaderClient
2533 * We might want to change QWebNetworkRequest a bit
2536 * Api/qwebnetworkinterface.cpp:
2537 (QWebNetworkRequestPrivate::init):
2539 2007-11-07 Lars Knoll <lars@trolltech.com>
2543 remove two notImplemented() warnings, as I believe we don't
2544 have to implement these methods. Add some (commented out)
2545 debug code in one place.
2547 * WebCoreSupport/EditorClientQt.cpp:
2548 (WebCore::EditorClientQt::respondToChangedSelection):
2549 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2551 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2553 Reviewed by Darin Adler.
2555 * WebCoreSupport/ChromeClientQt.cpp:
2556 (WebCore::ChromeClientQt::createWindow):
2557 * WebCoreSupport/ChromeClientQt.h:
2558 Revised to use new WebCore ChromeClient createWindow API.
2560 2007-10-31 Lars Knoll <lars@trolltech.com>
2564 fix most of the issues I found with Clipboard and DnD.
2567 (QWebPage::dragLeaveEvent):
2569 2007-10-31 Lars Knoll <lars@trolltech.com>
2573 QDrag objects need to be created on the heap.
2575 * WebCoreSupport/DragClientQt.cpp:
2576 (WebCore::DragClientQt::startDrag):
2578 2007-10-31 Lars Knoll <lars@trolltech.com>
2582 a dragLeave event is not the same as cancelling a drag.
2586 2007-10-26 Mark Rowe <mrowe@apple.com>
2588 Build fix. Add missing #include of Platform.h.
2590 * Api/qwebhistoryinterface.cpp:
2592 2007-10-25 Holger Freyther <zecke@selfish.org>
2594 Reviewed by Simon Hausmann <hausmann@kde.org>.
2596 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2597 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2598 * This is causing some regressions...
2601 * Api/qwebnetworkinterface.cpp:
2602 (QWebNetworkManager::started):
2603 (QWebNetworkInterface::addJob):
2605 2007-10-25 Holger Freyther <zecke@selfish.org>
2607 Reviewed by Simon Hausmann <hausmann@kde.org>.
2609 * 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.
2610 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2613 * Api/qwebnetworkinterface.cpp:
2614 (QWebNetworkManager::started):
2616 2007-10-25 Holger Freyther <zecke@selfish.org>
2618 Reviewed by Simon Hausmann <hausmann@kde.org>.
2620 * 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.
2621 * Use the error message from Qt. It might or might not be translated.
2624 * Api/qwebnetworkinterface.cpp:
2625 (QWebNetworkJob::errorString):
2626 (QWebNetworkJob::setErrorString):
2627 (QWebNetworkManager::finished):
2628 (QWebNetworkManager::doWork):
2629 (WebCoreHttp::onRequestFinished):
2630 * Api/qwebnetworkinterface.h:
2631 * Api/qwebnetworkinterface_p.h:
2633 2007-10-25 Holger Freyther <zecke@selfish.org>
2635 Reviewed by Simon Hausmann <hausmann@kde.org>.
2637 * 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.
2638 * 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.
2641 * Api/qwebnetworkinterface.cpp:
2642 (QWebNetworkManager::doWork):
2644 2007-10-25 Holger Freyther <zecke@selfish.org>
2646 Reviewed by Simon Hausmann <hausmann@kde.org>.
2648 * No need to initialize values in the QWebNetworkJob c'tor
2649 * 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.
2652 * Api/qwebnetworkinterface.cpp:
2653 (QWebNetworkJob::status):
2654 (QWebNetworkJob::setStatus):
2655 (QWebNetworkManager::started):
2656 (QWebNetworkManager::data):
2657 (QWebNetworkManager::finished):
2658 * Api/qwebnetworkinterface.h:
2659 * Api/qwebnetworkinterface_p.h:
2660 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2662 2007-10-25 Holger Freyther <zecke@selfish.org>
2664 Reviewed by Simon Hausmann <hausmann@kde.org>.
2666 * Consistency: Always name the jobs job.
2669 * Api/qwebnetworkinterface.cpp:
2670 (WebCoreHttp::onReadyRead):
2671 (WebCoreHttp::onRequestFinished):
2672 (WebCoreHttp::onSslErrors):
2673 (WebCoreHttp::onAuthenticationRequired):
2674 (WebCoreHttp::onProxyAuthenticationRequired):
2676 2007-10-25 Holger Freyther <zecke@selfish.org>
2678 Reviewed by Simon Hausmann <hausmann@kde.org>.
2680 * 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.
2681 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2684 * Api/qwebnetworkinterface.cpp:
2685 (QWebNetworkJob::~QWebNetworkJob):
2686 (QWebNetworkManager::QWebNetworkManager):
2687 (QWebNetworkManager::self):
2688 (QWebNetworkManager::add):
2689 (QWebNetworkManager::started):
2690 (QWebNetworkManager::finished):
2691 (QWebNetworkInterfacePrivate::sendFileData):
2692 (QWebNetworkInterfacePrivate::parseDataUrl):
2693 (QWebNetworkManager::queueStart):
2694 (QWebNetworkManager::queueData):
2695 (QWebNetworkManager::queueFinished):
2696 (QWebNetworkManager::doScheduleWork):
2697 (QWebNetworkManager::doWork):
2698 (gCleanupInterface):
2699 (QWebNetworkInterface::setDefaultInterface):
2700 (QWebNetworkInterface::defaultInterface):
2701 (QWebNetworkInterface::QWebNetworkInterface):
2702 (QWebNetworkInterface::started):
2703 (QWebNetworkInterface::data):
2704 (QWebNetworkInterface::finished):
2705 (WebCoreHttp::scheduleNextRequest):
2706 (WebCoreHttp::onResponseHeaderReceived):
2707 (WebCoreHttp::onReadyRead):
2708 (WebCoreHttp::onRequestFinished):
2709 (WebCoreHttp::cancel):
2710 * Api/qwebnetworkinterface.h:
2711 * Api/qwebnetworkinterface_p.h:
2712 (QWebNetworkManager::):
2713 (QWebNetworkManager::JobData::JobData):
2714 (QWebNetworkManager::JobFinished::JobFinished):
2716 2007-10-25 Holger Freyther <zecke@selfish.org>
2718 Reviewed by Simon Hausmann <hausmann@kde.org>.
2720 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2721 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2722 * We pass the char-decoding.html test now
2725 * Api/qwebnetworkinterface.cpp:
2726 (decodePercentEncoding):
2727 (QWebNetworkInterfacePrivate::parseDataUrl):
2729 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2731 Reviewed by Lars Knoll <lars@trolltech.com>.
2733 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2736 * WebCoreSupport/EditorClientQt.cpp:
2737 (WebCore::EditorClientQt::handleKeypress):
2739 2007-10-24 Lars Knoll <lars@trolltech.com>
2743 remove some notImplemented() warnings.
2745 * WebCoreSupport/EditorClientQt.cpp:
2746 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2747 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2748 (WebCore::EditorClientQt::respondToChangedSelection):
2750 2007-10-24 Lars Knoll <lars@trolltech.com>
2754 allow paste from DOM so we pass more test cases.
2757 (QWebPage::setSettings):
2759 2007-10-24 Lars Knoll <lars@trolltech.com>
2763 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2766 (QWebPage::keyPressEvent):
2767 (QWebPage::keyReleaseEvent):
2769 2007-10-24 Lars Knoll <lars@trolltech.com>
2773 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2775 * WebCoreSupport/EditorClientQt.cpp:
2776 (qt_dump_editing_callbacks):
2779 2007-10-24 Lars Knoll <lars@trolltech.com>
2783 implemented support for most editing shortcuts to make contentEditable usable.
2786 (QWebPage::keyPressEvent):
2788 2007-10-24 Lars Knoll <lars@trolltech.com>
2792 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2795 (QWebPage::focusInEvent):
2797 2007-10-24 Lars Knoll <lars@trolltech.com>
2801 Implement support for testing editing.
2803 * WebCoreSupport/EditorClientQt.cpp:
2804 (qt_dump_editing_callbacks):
2805 (qt_dump_set_accepts_editing):
2808 (WebCore::EditorClientQt::shouldDeleteRange):
2809 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2810 (WebCore::EditorClientQt::shouldBeginEditing):
2811 (WebCore::EditorClientQt::shouldEndEditing):
2812 (WebCore::EditorClientQt::shouldInsertText):
2813 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2814 (WebCore::EditorClientQt::shouldApplyStyle):
2815 (WebCore::EditorClientQt::didBeginEditing):
2816 (WebCore::EditorClientQt::respondToChangedContents):
2817 (WebCore::EditorClientQt::respondToChangedSelection):
2818 (WebCore::EditorClientQt::didEndEditing):
2819 (WebCore::EditorClientQt::shouldInsertNode):
2821 2007-10-19 Alp Toker <alp@atoker.com>
2825 GTK+ build fix enabling the new local database storage feature.
2826 There is also a prospective Qt build fix.
2828 * WebCoreSupport/ChromeClientQt.cpp:
2829 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2830 * WebCoreSupport/ChromeClientQt.h:
2832 2007-10-19 Simon Hausmann <hausmann@kde.org>
2834 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2835 that config.h is included before wtf/MathExtras. The former defines
2836 the MSVC defines for rand_s.
2838 * WebCoreSupport/FrameLoaderClientQt.cpp:
2840 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2844 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2846 * Api/qwebframe.cpp:
2849 2007-10-10 Alice Liu <alice.liu@apple.com>
2851 Reviewed by Geoff Garen.
2853 changes to keep the build from breaking
2855 * WebCoreSupport/FrameLoaderClientQt.cpp:
2856 (WebCore::FrameLoaderClientQt::createFrame):
2857 * WebCoreSupport/FrameLoaderClientQt.h:
2859 2007-10-09 Lars Knoll <lars@trolltech.com>
2863 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2866 (QWebPage::setSettings):
2868 2007-10-09 Lars Knoll <lars@trolltech.com>
2872 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2874 * Api/qwebnetworkinterface.cpp:
2875 (QWebNetworkManager::add):
2876 (QWebNetworkManager::cancel):
2877 (QWebNetworkManager::started):
2878 (QWebNetworkManager::data):
2879 (QWebNetworkInterfacePrivate::parseDataUrl):
2881 2007-10-09 Lars Knoll <lars@trolltech.com>
2885 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.
2888 (QWebPagePrivate::createMainFrame):
2889 (QWebPage::createFrame):
2890 * WebCoreSupport/FrameLoaderClientQt.cpp:
2891 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2892 * WebCoreSupport/FrameLoaderClientQt.h:
2894 2007-10-09 Lars Knoll <lars@trolltech.com>
2898 add a clear() method to QWebPageHistory.
2900 * Api/qwebpagehistory.cpp:
2901 (QWebPageHistory::clear):
2902 (QWebPageHistory::itemAtIndex):
2903 * Api/qwebpagehistory.h:
2905 2007-10-05 Lars Knoll <lars@trolltech.com>
2907 add proper error messages to the FrameLoaderClient.
2908 Implement ChromeClientQt::closeWindowSoon and
2909 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2910 Some fixes in DRT to make it work correctly with multiple windows.
2915 * Api/qwebnetworkinterface.cpp:
2916 (QWebNetworkManager::cancel):
2917 (QWebNetworkInterface::addJob):
2918 * WebCoreSupport/ChromeClientQt.cpp:
2919 (WebCore::ChromeClientQt::closeWindowSoon):
2920 * WebCoreSupport/FrameLoaderClientQt.cpp:
2921 (WebCore::FrameLoaderClientQt::cancelledError):
2923 (WebCore::FrameLoaderClientQt::blockedError):
2924 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2925 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2926 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2927 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2929 2007-10-03 Lars Knoll <lars@trolltech.com>
2931 Signed off by Olliej.
2933 move WebKitQt to WebKit/qt for consistency with the other ports.
2935 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
2936 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
2937 (QCookieJarPrivate::QCookieJarPrivate):
2939 (QCookieJar::QCookieJar):
2940 (QCookieJar::~QCookieJar):
2941 (QCookieJar::setCookies):
2942 (QCookieJar::cookies):
2943 (QCookieJar::isEnabled):
2944 (QCookieJar::setEnabled):
2946 (QCookieJar::setCookieJar):
2947 (QCookieJar::cookieJar):
2948 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
2949 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
2950 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
2951 (QWebFramePrivate::init):
2952 (QWebFramePrivate::parentFrame):
2953 (QWebFramePrivate::horizontalScrollBar):
2954 (QWebFramePrivate::verticalScrollBar):
2955 (QWebFrame::QWebFrame):
2956 (QWebFrame::~QWebFrame):
2957 (QWebFrame::addToJSWindowObject):
2958 (QWebFrame::markup):
2959 (QWebFrame::innerText):
2960 (QWebFrame::renderTreeDump):
2964 (QWebFrame::selectedText):
2965 (QWebFrame::childFrames):
2966 (QWebFrame::verticalScrollBarPolicy):
2967 (QWebFrame::setVerticalScrollBarPolicy):
2968 (QWebFrame::horizontalScrollBarPolicy):
2969 (QWebFrame::setHorizontalScrollBarPolicy):
2970 (QWebFrame::render):
2971 (QWebFrame::layout):
2973 (QWebFrame::geometry):
2974 (QWebFrame::evaluateJavaScript):
2975 (QWebFrame::mouseMoveEvent):
2976 (QWebFrame::mousePressEvent):
2977 (QWebFrame::mouseDoubleClickEvent):
2978 (QWebFrame::mouseReleaseEvent):
2979 (QWebFrame::wheelEvent):
2980 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
2981 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
2982 (QWebFramePrivate::QWebFramePrivate):
2983 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
2984 (WebCore::historyContains):
2985 (gCleanupInterface):
2986 (QWebHistoryInterface::setDefaultInterface):
2987 (QWebHistoryInterface::defaultInterface):
2988 (QWebHistoryInterface::QWebHistoryInterface):
2989 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
2990 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
2991 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
2994 (QWebNetworkRequestPrivate::init):
2995 (QWebNetworkRequestPrivate::setURL):
2996 (QWebNetworkRequest::QWebNetworkRequest):
2997 (QWebNetworkRequest::operator=):
2998 (QWebNetworkRequest::~QWebNetworkRequest):
2999 (QWebNetworkRequest::url):
3000 (QWebNetworkRequest::setUrl):
3001 (QWebNetworkRequest::httpHeader):
3002 (QWebNetworkRequest::setHttpHeader):
3003 (QWebNetworkRequest::httpHeaderField):
3004 (QWebNetworkRequest::setHttpHeaderField):
3005 (QWebNetworkRequest::postData):
3006 (QWebNetworkRequest::setPostData):
3007 (QWebNetworkJob::QWebNetworkJob):
3008 (QWebNetworkJob::~QWebNetworkJob):
3009 (QWebNetworkJob::url):
3010 (QWebNetworkJob::postData):
3011 (QWebNetworkJob::httpHeader):
3012 (QWebNetworkJob::request):
3013 (QWebNetworkJob::response):
3014 (QWebNetworkJob::setResponse):
3015 (QWebNetworkJob::cancelled):
3016 (QWebNetworkJob::ref):
3017 (QWebNetworkJob::deref):
3018 (QWebNetworkJob::networkInterface):
3019 (QWebNetworkJob::frame):
3020 (QWebNetworkManager::QWebNetworkManager):
3021 (QWebNetworkManager::self):
3022 (QWebNetworkManager::add):
3023 (QWebNetworkManager::cancel):
3024 (QWebNetworkManager::started):
3025 (QWebNetworkManager::data):
3026 (QWebNetworkManager::finished):
3027 (QWebNetworkManager::addHttpJob):
3028 (QWebNetworkManager::cancelHttpJob):
3029 (QWebNetworkManager::httpConnectionClosed):
3030 (QWebNetworkInterfacePrivate::sendFileData):
3031 (QWebNetworkInterfacePrivate::parseDataUrl):
3032 (gCleanupInterface):
3033 (QWebNetworkInterface::setDefaultInterface):
3034 (QWebNetworkInterface::defaultInterface):
3035 (QWebNetworkInterface::QWebNetworkInterface):
3036 (QWebNetworkInterface::~QWebNetworkInterface):
3037 (QWebNetworkInterface::addJob):
3038 (QWebNetworkInterface::cancelJob):
3039 (WebCoreHttp::WebCoreHttp):
3040 (WebCoreHttp::~WebCoreHttp):
3041 (WebCoreHttp::request):
3042 (WebCoreHttp::scheduleNextRequest):
3043 (WebCoreHttp::getConnection):
3044 (WebCoreHttp::onResponseHeaderReceived):
3045 (WebCoreHttp::onReadyRead):
3046 (WebCoreHttp::onRequestFinished):
3047 (WebCoreHttp::onDone):
3048 (WebCoreHttp::onStateChanged):
3049 (WebCoreHttp::cancel):
3050 (WebCoreHttp::onSslErrors):
3051 (WebCoreHttp::onAuthenticationRequired):
3052 (WebCoreHttp::onProxyAuthenticationRequired):
3053 (HostInfo::HostInfo):
3054 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3055 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3056 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3057 (WebCore::HostInfo::HostInfo):
3058 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3059 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3060 (QWebFactoryLoader::QWebFactoryLoader):
3061 (QWebFactoryLoader::self):
3062 (QWebFactoryLoader::descriptionForName):
3063 (QWebFactoryLoader::mimetypesForName):
3064 (QWebFactoryLoader::mimeTypeForExtension):
3065 (QWebFactoryLoader::extensions):
3066 (QWebFactoryLoader::nameForMimetype):
3067 (QWebFactoryLoader::create):
3068 (QWebObjectPlugin::QWebObjectPlugin):
3069 (QWebObjectPlugin::~QWebObjectPlugin):
3070 (QWebObjectPlugin::descriptionForKey):
3071 (QWebObjectPlugin::mimetypesForKey):
3072 (QWebObjectPlugin::extensionsForMimetype):
3073 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3074 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3075 (QWebFactoryLoader::names):
3076 (QWebFactoryLoader::supportsMimeType):
3077 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3078 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3079 (QWebObjectPluginConnector::frame):
3080 (QWebObjectPluginConnector::pluginParentWidget):
3081 (QWebObjectPluginConnector::requestUrl):
3082 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3083 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3084 (QWebPagePrivate::QWebPagePrivate):
3085 (QWebPagePrivate::~QWebPagePrivate):
3086 (QWebPagePrivate::navigationRequested):
3087 (QWebPagePrivate::createMainFrame):
3088 (QWebPage::QWebPage):
3089 (QWebPage::~QWebPage):
3090 (QWebPage::createFrame):
3094 (QWebPage::mainFrame):
3095 (QWebPage::sizeHint):
3097 (QWebPage::history):
3099 (QWebPage::goForward):
3100 (QWebPage::goToHistoryItem):
3101 (QWebPage::javaScriptConsoleMessage):
3102 (QWebPage::javaScriptAlert):
3103 (QWebPage::javaScriptConfirm):
3104 (QWebPage::javaScriptPrompt):
3105 (QWebPage::createWindow):
3106 (QWebPage::createModalDialog):
3107 (QWebPage::createPlugin):
3108 (QWebPage::navigationRequested):
3109 (QWebPage::setWindowGeometry):
3111 (QWebPage::canCopy):
3112 (QWebPage::canPaste):
3116 (QWebPage::isModified):
3117 (QWebPage::undoStack):
3118 (dropActionToDragOp):
3119 (dragOpToDropAction):
3120 (QWebPage::resizeEvent):
3121 (QWebPage::paintEvent):
3122 (QWebPage::mouseMoveEvent):
3123 (QWebPage::mousePressEvent):
3124 (QWebPage::mouseDoubleClickEvent):
3125 (QWebPage::mouseReleaseEvent):
3126 (QWebPage::wheelEvent):
3127 (QWebPage::keyPressEvent):
3128 (QWebPage::keyReleaseEvent):
3129 (QWebPage::focusInEvent):
3130 (QWebPage::focusOutEvent):
3131 (QWebPage::focusNextPrevChild):
3132 (QWebPage::dragEnterEvent):
3133 (QWebPage::dragLeaveEvent):
3134 (QWebPage::dragMoveEvent):
3135 (QWebPage::dropEvent):
3136 (QWebPage::setNetworkInterface):
3137 (QWebPage::networkInterface):
3139 (QWebPage::setSettings):
3140 (QWebPage::settings):
3141 (QWebPage::chooseFile):
3142 (QWebPage::setNetworkProxy):
3143 (QWebPage::networkProxy):
3144 (QWebPage::userAgentStringForUrl):
3145 (QWebPage::onLoadProgressChanged):
3146 (QWebPage::totalBytes):
3147 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3148 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3149 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3150 (QWebHistoryItem::QWebHistoryItem):
3151 (QWebHistoryItem::operator=):
3152 (QWebHistoryItem::~QWebHistoryItem):
3153 (QWebHistoryItem::originalUrl):
3154 (QWebHistoryItem::currentUrl):
3155 (QWebHistoryItem::title):
3156 (QWebHistoryItem::lastVisited):
3157 (QWebHistoryItem::icon):
3158 (QWebPageHistory::QWebPageHistory):
3159 (QWebPageHistory::itemAtIndex):
3160 (QWebPageHistory::operator=):
3161 (QWebPageHistory::~QWebPageHistory):
3162 (QWebPageHistory::items):
3163 (QWebPageHistory::backItems):
3164 (QWebPageHistory::forwardItems):
3165 (QWebPageHistory::canGoBack):
3166 (QWebPageHistory::canGoForward):
3167 (QWebPageHistory::goBack):
3168 (QWebPageHistory::goForward):
3169 (QWebPageHistory::goToItem):
3170 (QWebPageHistory::backItem):
3171 (QWebPageHistory::currentItem):
3172 (QWebPageHistory::forwardItem):
3173 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3174 (QExplicitlySharedDataPointer::operator*):
3175 (QExplicitlySharedDataPointer::operator->):
3176 (QExplicitlySharedDataPointer::operator T *):
3177 (QExplicitlySharedDataPointer::operator const T *):
3178 (QExplicitlySharedDataPointer::data):
3179 (QExplicitlySharedDataPointer::constData):
3180 (QExplicitlySharedDataPointer::operator==):
3181 (QExplicitlySharedDataPointer::operator!=):
3182 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3183 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3184 (QExplicitlySharedDataPointer::operator=):
3185 (QExplicitlySharedDataPointer::operator!):
3186 (::QExplicitlySharedDataPointer):
3187 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3188 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3189 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3190 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3191 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3192 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3193 (QWebSettingsPrivate::QWebSettingsPrivate):
3194 (QWebSettings::QWebSettings):
3195 (QWebSettings::~QWebSettings):
3196 (QWebSettings::setMinimumFontSize):
3197 (QWebSettings::minimumFontSize):
3198 (QWebSettings::setMinimumLogicalFontSize):
3199 (QWebSettings::minimumLogicalFontSize):
3200 (QWebSettings::setDefaultFontSize):
3201 (QWebSettings::defaultFontSize):
3202 (QWebSettings::setDefaultFixedFontSize):
3203 (QWebSettings::defaultFixedFontSize):
3204 (QWebSettings::setUserStyleSheetLocation):
3205 (QWebSettings::userStyleSheetLocation):
3206 (QWebSettings::setIconDatabaseEnabled):
3207 (QWebSettings::iconDatabaseEnabled):
3208 (QWebSettings::setWebGraphic):
3209 (QWebSettings::webGraphic):
3210 (QWebSettings::operator=):
3211 (QWebSettings::setGlobal):
3212 (QWebSettings::global):
3213 (QWebSettings::setFontFamily):
3214 (QWebSettings::fontFamily):
3215 (QWebSettings::setAttribute):
3216 (QWebSettings::testAttribute):
3217 (loadResourcePixmap):
3218 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3219 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3220 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3221 (IcoHeader::operator >>):
3222 (IcoHeader::BMP_INFOHDR::):
3223 (IcoHeader::operator<<):
3224 (IcoHeader::LessDifference::LessDifference):
3225 (IcoHeader::LessDifference::operator ()):
3226 (IcoHeader::loadFromDIB):
3227 (ICOHandler::ICOHandler):
3228 (ICOHandler::canRead):
3230 (ICOHandler::write):
3233 (ICOPlugin::capabilities):
3234 (ICOPlugin::create):
3235 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3236 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3237 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3238 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3239 (HoverLabel::HoverLabel):
3240 (HoverLabel::setHoverLink):
3241 (HoverLabel::sizeForFont):
3242 (HoverLabel::sizeHint):
3243 (HoverLabel::updateSize):
3244 (HoverLabel::resetAnimation):
3245 (HoverLabel::paintEvent):
3246 (HoverLabel::interpolate):
3247 (ClearButton::ClearButton):
3248 (ClearButton::paintEvent):
3249 (SearchEdit::SearchEdit):
3250 (SearchEdit::~SearchEdit):
3251 (SearchEdit::paintEvent):
3252 (SearchEdit::resizeEvent):
3253 (SearchEdit::moveEvent):
3254 (MainWindow::MainWindow):
3255 (MainWindow::changeLocation):
3256 (MainWindow::loadFinished):
3257 (MainWindow::showLinkHover):
3258 (MainWindow::resizeEvent):
3260 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3261 (WebCore::ChromeClientQt::ChromeClientQt):
3262 (WebCore::ChromeClientQt::~ChromeClientQt):
3263 (WebCore::ChromeClientQt::setWindowRect):
3264 (WebCore::ChromeClientQt::windowRect):
3265 (WebCore::ChromeClientQt::pageRect):
3266 (WebCore::ChromeClientQt::scaleFactor):
3267 (WebCore::ChromeClientQt::focus):
3268 (WebCore::ChromeClientQt::unfocus):
3269 (WebCore::ChromeClientQt::canTakeFocus):
3270 (WebCore::ChromeClientQt::takeFocus):
3271 (WebCore::ChromeClientQt::createWindow):
3272 (WebCore::ChromeClientQt::createModalDialog):
3273 (WebCore::ChromeClientQt::show):
3274 (WebCore::ChromeClientQt::canRunModal):
3275 (WebCore::ChromeClientQt::runModal):
3276 (WebCore::ChromeClientQt::setToolbarsVisible):
3277 (WebCore::ChromeClientQt::toolbarsVisible):
3278 (WebCore::ChromeClientQt::setStatusbarVisible):
3279 (WebCore::ChromeClientQt::statusbarVisible):
3280 (WebCore::ChromeClientQt::setScrollbarsVisible):
3281 (WebCore::ChromeClientQt::scrollbarsVisible):
3282 (WebCore::ChromeClientQt::setMenubarVisible):
3283 (WebCore::ChromeClientQt::menubarVisible):
3284 (WebCore::ChromeClientQt::setResizable):
3285 (WebCore::ChromeClientQt::addMessageToConsole):
3286 (WebCore::ChromeClientQt::chromeDestroyed):
3287 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3288 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3289 (WebCore::ChromeClientQt::closeWindowSoon):
3290 (WebCore::ChromeClientQt::runJavaScriptAlert):
3291 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3292 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3293 (WebCore::ChromeClientQt::setStatusbarText):
3294 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3295 (WebCore::ChromeClientQt::tabsToLinks):
3296 (WebCore::ChromeClientQt::windowResizerRect):
3297 (WebCore::ChromeClientQt::addToDirtyRegion):
3298 (WebCore::ChromeClientQt::scrollBackingStore):
3299 (WebCore::ChromeClientQt::updateBackingStore):
3300 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3301 (WebCore::ChromeClientQt::setToolTip):
3302 (WebCore::ChromeClientQt::print):
3303 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3304 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3305 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3306 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3307 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3308 (WebCore::ContextMenuClientQt::downloadURL):
3309 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3310 (WebCore::ContextMenuClientQt::speak):
3311 (WebCore::ContextMenuClientQt::stopSpeaking):
3312 (WebCore::ContextMenuClientQt::searchWithGoogle):
3313 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3314 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3315 (WebCore::DragClientQt::actionMaskForDrag):
3316 (WebCore::DragClientQt::willPerformDragDestinationAction):
3317 (WebCore::DragClientQt::dragControllerDestroyed):
3318 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3319 (WebCore::DragClientQt::willPerformDragSourceAction):
3320 (WebCore::DragClientQt::startDrag):
3321 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3322 (WebCore::DragClientQt::DragClientQt):
3323 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3324 (EditCommandQt::EditCommandQt):
3325 (EditCommandQt::~EditCommandQt):
3326 (EditCommandQt::redo):
3327 (EditCommandQt::undo):
3328 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3329 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3330 (WebCore::EditorClientQt::shouldDeleteRange):
3331 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3332 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3333 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3334 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3335 (WebCore::EditorClientQt::shouldBeginEditing):
3336 (WebCore::EditorClientQt::shouldEndEditing):
3337 (WebCore::EditorClientQt::shouldInsertText):
3338 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3339 (WebCore::EditorClientQt::shouldApplyStyle):
3340 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3341 (WebCore::EditorClientQt::didBeginEditing):
3342 (WebCore::EditorClientQt::respondToChangedContents):
3343 (WebCore::EditorClientQt::respondToChangedSelection):
3344 (WebCore::EditorClientQt::didEndEditing):
3345 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3346 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3347 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3348 (WebCore::EditorClientQt::isEditable):
3349 (WebCore::EditorClientQt::registerCommandForUndo):
3350 (WebCore::EditorClientQt::registerCommandForRedo):
3351 (WebCore::EditorClientQt::clearUndoRedoOperations):
3352 (WebCore::EditorClientQt::canUndo):
3353 (WebCore::EditorClientQt::canRedo):
3354 (WebCore::EditorClientQt::undo):
3355 (WebCore::EditorClientQt::redo):
3356 (WebCore::EditorClientQt::shouldInsertNode):
3357 (WebCore::EditorClientQt::pageDestroyed):
3358 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3359 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3360 (WebCore::EditorClientQt::toggleGrammarChecking):
3361 (WebCore::EditorClientQt::handleKeypress):
3362 (WebCore::EditorClientQt::handleInputMethodKeypress):
3363 (WebCore::EditorClientQt::EditorClientQt):
3364 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3365 (WebCore::EditorClientQt::textFieldDidEndEditing):
3366 (WebCore::EditorClientQt::textDidChangeInTextField):
3367 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3368 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3369 (WebCore::EditorClientQt::textDidChangeInTextArea):
3370 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3371 (WebCore::EditorClientQt::learnWord):
3372 (WebCore::EditorClientQt::checkSpellingOfString):
3373 (WebCore::EditorClientQt::checkGrammarOfString):
3374 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3375 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3376 (WebCore::EditorClientQt::showSpellingUI):
3377 (WebCore::EditorClientQt::spellingUIIsShowing):
3378 (WebCore::EditorClientQt::getGuessesForWord):
3379 (WebCore::EditorClientQt::isEditing):
3380 (WebCore::EditorClientQt::setInputMethodState):
3381 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3382 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3383 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3384 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3385 (WebCore::FrameLoaderClientQt::setFrame):
3386 (WebCore::FrameLoaderClientQt::webFrame):
3387 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3388 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3389 (WebCore::FrameLoaderClientQt::hasWebView):
3390 (WebCore::FrameLoaderClientQt::hasFrameView):
3391 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3392 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3393 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3394 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3395 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3396 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3397 (WebCore::FrameLoaderClientQt::makeDocumentView):
3398 (WebCore::FrameLoaderClientQt::makeRepresentation):
3399 (WebCore::FrameLoaderClientQt::forceLayout):
3400 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3401 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3402 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3403 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3404 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3405 (WebCore::FrameLoaderClientQt::willCloseDocument):
3406 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3407 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3408 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3409 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3410 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3411 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3412 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3413 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3414 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3415 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3416 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3417 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3418 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3419 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3420 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3421 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3422 (WebCore::FrameLoaderClientQt::dispatchShow):
3423 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3424 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3425 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3426 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3427 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3428 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3429 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3430 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3431 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3432 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3433 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3434 (WebCore::FrameLoaderClientQt::willChangeTitle):
3435 (WebCore::FrameLoaderClientQt::didChangeTitle):
3436 (WebCore::FrameLoaderClientQt::finishedLoading):
3437 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3438 (WebCore::FrameLoaderClientQt::setDefersLoading):
3439 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3440 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3441 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3442 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3443 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3444 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3445 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3446 (WebCore::FrameLoaderClientQt::restoreViewState):
3447 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3448 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3449 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3450 (WebCore::FrameLoaderClientQt::didFinishLoad):
3451 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3452 (WebCore::FrameLoaderClientQt::setTitle):
3453 (WebCore::FrameLoaderClientQt::userAgent):
3454 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3455 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3456 (WebCore::FrameLoaderClientQt::canHandleRequest):
3457 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3458 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3459 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3460 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3461 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3462 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3463 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3464 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3465 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3466 (WebCore::FrameLoaderClientQt::canCachePage):
3467 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3468 (WebCore::FrameLoaderClientQt::committedLoad):
3469 (WebCore::FrameLoaderClientQt::cancelledError):
3470 (WebCore::FrameLoaderClientQt::blockedError):
3471 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3472 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3473 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3474 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3475 (WebCore::FrameLoaderClientQt::shouldFallBack):
3476 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3477 (WebCore::FrameLoaderClientQt::download):
3478 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3479 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3480 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3481 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3482 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3483 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3484 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3485 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3486 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3487 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3488 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3489 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3490 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3491 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3492 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3493 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3494 (WebCore::FrameLoaderClientQt::startDownload):
3495 (WebCore::FrameLoaderClientQt::willUseArchive):
3496 (WebCore::FrameLoaderClientQt::createFrame):
3497 (WebCore::FrameLoaderClientQt::objectContentType):
3499 (WebCore::FrameLoaderClientQt::createPlugin):
3500 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3501 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3502 (WebCore::FrameLoaderClientQt::overrideMediaType):
3503 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3504 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3505 (WebCore::InspectorClientQt::inspectorDestroyed):
3506 (WebCore::InspectorClientQt::createPage):
3507 (WebCore::InspectorClientQt::showWindow):
3508 (WebCore::InspectorClientQt::closeWindow):
3509 (WebCore::InspectorClientQt::attachWindow):
3510 (WebCore::InspectorClientQt::detachWindow):
3511 (WebCore::InspectorClientQt::highlight):
3512 (WebCore::InspectorClientQt::hideHighlight):
3513 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3514 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3515 (WebKitFactory::WebKitFactory):
3516 (WebKitFactory::~WebKitFactory):
3517 (WebKitFactory::createPartObject):
3518 (WebKitFactory::instance):
3519 (WebKitFactory::ref):
3520 (WebKitFactory::deref):
3521 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3522 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3523 (WebKitPart::WebKitPart):
3524 (WebKitPart::~WebKitPart):
3525 (WebKitPart::openFile):
3526 (WebKitPart::openUrl):
3527 (WebKitPart::closeUrl):
3528 (WebKitPart::parentPart):
3529 (WebKitPart::frame):
3530 (WebKitPart::initView):
3531 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3532 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3534 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3535 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3536 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3537 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3538 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3539 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3540 (WebKitPartClient::WebKitPartClient):
3541 (WebKitPartClient::~WebKitPartClient):
3542 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3543 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3544 (WebKitPartInterface::WebKitPartInterface):
3545 (WebKitPartInterface::~WebKitPartInterface):
3546 (WebKitPartInterface::url):
3547 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3548 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3550 2007-10-02 Adam Treat <treat@kde.org>
3552 Reviewed by Eric Seidel.
3554 Open the requested url on the newly created window.
3555 Implement createModalDialog and provide new API for this.
3556 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3559 (QWebPage::createModalDialog):
3561 * WebCoreSupport/ChromeClientQt.cpp:
3562 (WebCore::ChromeClientQt::createWindow):
3563 (WebCore::ChromeClientQt::createModalDialog):
3565 2007-10-02 Lars Knoll <lars@trolltech.com>
3569 Add API to retrieve the frame name from QWebFrame.
3570 Implement support for DRT::dumpChildrenAsText.
3572 * Api/qwebframe.cpp:
3576 2007-10-02 Lars Knoll <lars@trolltech.com>
3580 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3582 * Api/qwebnetworkinterface.cpp:
3583 (QWebNetworkManager::started):
3584 (QWebNetworkManager::data):
3585 (QWebNetworkManager::finished):
3586 (QWebNetworkInterfacePrivate::sendFileData):
3587 (QWebNetworkInterfacePrivate::parseDataUrl):
3588 (WebCoreHttp::scheduleNextRequest):
3589 (WebCoreHttp::onSslErrors):
3590 * QtLauncher/main.cpp:
3593 2007-10-01 Lars Knoll <lars@trolltech.com>
3597 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
3599 * WebCoreSupport/FrameLoaderClientQt.cpp:
3600 (WebCore::FrameLoaderClientQt::makeDocumentView):
3601 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3602 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3603 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3604 (WebCore::FrameLoaderClientQt::objectContentType):
3605 (WebCore::FrameLoaderClientQt::createPlugin):
3607 2007-09-30 George Staikos <staikos@kde.org>
3609 Qt build fix (OS X specific).
3611 * QtLauncher/QtLauncher.pro:
3613 2007-09-26 Mark Rowe <mrowe@apple.com>
3617 * WebCoreSupport/FrameLoaderClientQt.cpp:
3618 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
3620 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3624 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3625 LGPL'ed files contain incorrect FSF address
3627 * Api/qcookiejar.cpp:
3629 * Api/qwebframe.cpp:
3631 * Api/qwebframe_p.h:
3632 * Api/qwebhistoryinterface.cpp:
3633 * Api/qwebhistoryinterface.h:
3634 * Api/qwebkitglobal.h:
3635 * Api/qwebnetworkinterface.cpp:
3636 * Api/qwebnetworkinterface.h:
3637 * Api/qwebnetworkinterface_p.h:
3638 * Api/qwebobjectplugin.cpp:
3639 * Api/qwebobjectplugin.h:
3640 * Api/qwebobjectpluginconnector.cpp:
3641 * Api/qwebobjectpluginconnector.h:
3645 * Api/qwebpagehistory.cpp:
3646 * Api/qwebpagehistory.h:
3647 * Api/qwebsettings.cpp:
3648 * Api/qwebsettings.h:
3649 * WebCoreSupport/EditCommandQt.cpp:
3650 * WebCoreSupport/EditCommandQt.h:
3652 2007-09-25 Adam Treat <treat@kde.org>
3654 Reviewed by Simon and Lars.
3656 Modifies the addToJSWindowObject to bind js objects using the built-in
3657 kjs_window class. Make sure to protect the created runtime object from
3660 Adds a signal to QWebFrame to notify clients of the beginning of a
3661 provisional load. DRT needs this.
3663 * Api/qwebframe.cpp:
3664 (QWebFrame::addToJSWindowObject):
3666 * WebCoreSupport/FrameLoaderClientQt.cpp:
3667 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3669 2007-09-10 Qing Zhao <qing@staikos.net>
3671 Reviewed by George Staikos.
3673 Don't re-encode urls, resulting in double encoding. Fixes login to
3676 * Api/qwebnetworkinterface.cpp:
3677 (QWebNetworkRequestPrivate::init):
3678 (QWebNetworkManager::started):
3680 2007-09-08 Mark Rowe <mrowe@apple.com>
3682 Qt build fix. Move stub method implementations to the right class.
3684 * WebCoreSupport/FrameLoaderClientQt.cpp:
3685 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3687 2007-09-08 Brady Eidson <beidson@apple.com>
3689 YABF (Yet Another Build Fix)
3691 * Api/qwebsettings.cpp:
3692 (QWebSettings::iconDatabaseEnabled):
3694 2007-09-08 Brady Eidson <beidson@apple.com>
3698 * WebCoreSupport/FrameLoaderClientQt.cpp:
3699 (WebCore::FrameLoaderClient::registerForIconNotification):
3700 * WebCoreSupport/FrameLoaderClientQt.h:
3702 2007-09-08 Brady Eidson <beidson@apple.com>
3706 * WebCoreSupport/FrameLoaderClientQt.cpp:
3707 (WebCore::FrameLoaderClient::registerForIconNotification):
3708 * WebCoreSupport/FrameLoaderClientQt.h:
3710 2007-09-05 Geoffrey Garen <ggaren@apple.com>
3712 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
3714 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
3715 memory cache, or a very tiny one
3717 Keep the Qt build working with an empty stub.
3719 * WebCoreSupport/FrameLoaderClientQt.cpp:
3720 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
3721 * WebCoreSupport/FrameLoaderClientQt.h:
3723 2007-09-07 George Staikos <staikos@kde.org>
3728 (QWebPage::onLoadProgressChanged):
3730 2007-09-07 Qing Zhao <qing@staikos.net>
3732 Reviewed by Anders and George.
3734 Export page size and load progress in bytes.
3737 (QWebPage::QWebPage):
3738 (QWebPage::onLoadProgressChanged):
3739 (QWebPage::totalBytes):
3740 (QWebPage::bytesReceived):
3744 2007-09-06 George Staikos <staikos@kde.org>
3748 Make popup windows work again.
3750 * WebCoreSupport/FrameLoaderClientQt.cpp:
3751 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3753 2007-09-01 Oliver Hunt <oliver@apple.com>
3757 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
3759 EditorClient::setInputMethodState stub
3761 * WebCoreSupport/EditorClientQt.cpp:
3762 (WebCore::EditorClientQt::setInputMethodState):
3763 * WebCoreSupport/EditorClientQt.h:
3765 2007-08-30 Simon Hausmann <hausmann@kde.org>
3769 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
3772 (QWebPage::keyPressEvent):
3774 2007-08-30 Simon Hausmann <hausmann@kde.org>
3778 When scrolling with the keyboard don't call update() on the entire widget.
3779 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
3783 (QWebPage::keyPressEvent):
3785 2007-08-30 Simon Hausmann <hausmann@kde.org>
3789 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
3792 (QWebPage::keyPressEvent):
3794 2007-08-29 Simon Hausmann <hausmann@kde.org>
3800 * WebCoreSupport/FrameLoaderClientQt.cpp:
3801 (WebCore::FrameLoaderClientQt::objectContentType):
3803 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
3805 Reviewed by George Staikos.
3807 Don't export ICO symbols.
3809 * Plugins/Plugins.pro:
3811 2007-08-19 George Staikos <staikos@kde.org>
3815 * WebCoreSupport/FrameLoaderClientQt.cpp:
3816 (WebCore::FrameLoaderClientQt::createPlugin):
3817 * WebCoreSupport/FrameLoaderClientQt.h:
3819 2007-08-10 Lars Knoll <lars@trolltech.com>
3821 Reviewed and landed by Simon.
3823 Limit the set of properties from the computed style to apply to Qt
3824 plugin widgets, as only a few of them make sense.
3826 * WebCoreSupport/FrameLoaderClientQt.cpp:
3829 2007-08-10 Lars Knoll <lars@trolltech.com>
3833 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
3836 (QWebPage::createPlugin):
3838 * WebCoreSupport/FrameLoaderClientQt.cpp:
3839 (WebCore::FrameLoaderClientQt::objectContentType):
3840 (WebCore::FrameLoaderClientQt::createPlugin):
3842 2007-08-10 Simon Hausmann <hausmann@kde.org>
3846 Added support for network jobs from Qt resources using the qrc protocol.
3848 * Api/qwebnetworkinterface.cpp:
3849 (QWebNetworkInterface::addJob):
3851 2007-08-10 Simon Hausmann <hausmann@kde.org>
3855 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
3856 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
3858 * WebCoreSupport/FrameLoaderClientQt.cpp:
3859 (WebCore::FrameLoaderClientQt::objectContentType):
3861 (WebCore::FrameLoaderClientQt::createPlugin):
3863 2007-08-10 Simon Hausmann <hausmann@kde.org>
3867 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
3868 and fixed widget embedding by setting the right QWidget parent.
3871 (QWebPage::createPlugin):
3873 * WebCoreSupport/FrameLoaderClientQt.cpp:
3874 (WebCore::FrameLoaderClientQt::objectContentType):
3875 (WebCore::FrameLoaderClientQt::createPlugin):
3877 2007-08-02 George Staikos <staikos@kde.org>
3881 Add an interface for the useragent string.
3884 (QWebPage::userAgentStringForUrl):
3886 * WebCoreSupport/FrameLoaderClientQt.cpp:
3887 (WebCore::FrameLoaderClientQt::userAgent):
3889 2007-08-01 Adam Treat <treat@kde.org>
3891 Reviewed by George Staikos.
3893 Add an interface to manage global history for clients
3896 * Api/qwebhistoryinterface.cpp: Added.
3897 (WebCore::historyContains):
3898 (gCleanupInterface):
3899 (QWebHistoryInterface::setDefaultInterface):
3900 (QWebHistoryInterface::defaultInterface):
3901 (QWebHistoryInterface::QWebHistoryInterface):
3902 * Api/qwebhistoryinterface.h: Added.
3904 2007-07-30 Adam Treat <treat@kde.org>
3908 * WebCoreSupport/EditorClientQt.cpp:
3909 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3910 * WebCoreSupport/EditorClientQt.h:
3912 2007-07-30 Simon Hausmann <hausmann@kde.org>
3916 Link QtLauncher into $$OUTPUT_DIR/bin
3918 * QtLauncher/QtLauncher.pro:
3920 2007-07-29 Adam Treat <treat@kde.org>
3922 Reviewed by George Staikos.
3924 Change QWebPage::paintEvent to draw using the individual rects provided
3925 via the QRegion and set the widget to use opaque paint events.
3927 These changes greatly reduce the cpu load as we are no longer painting the
3928 entire page for each 1px scroll :P
3930 * Api/qwebframe.cpp:
3931 (QWebFrame::render):
3933 (QWebPage::QWebPage):
3934 (QWebPage::paintEvent):
3935 * WebCoreSupport/ChromeClientQt.cpp:
3936 (WebCore::ChromeClientQt::addToDirtyRegion):
3938 2007-07-29 Adam Treat <treat@kde.org>
3940 Reviewed by Alexey Proskuryakov.
3942 Respect the margins when creating frames.
3943 Set the scroll mode to always off like we did before the rendered
3944 frames patch and the other ports do now.
3946 * Api/qwebframe.cpp:
3947 (QWebFramePrivate::init):
3949 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3953 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
3955 * QtLauncher/QtLauncher.pro:
3957 2007-07-27 Simon Hausmann <hausmann@kde.org>
3961 Fix compilation with MSVC.
3963 * Api/qwebpagehistory.cpp:
3964 (QWebPageHistory::operator=):
3965 * Api/qwebpagehistory.h:
3966 * Api/qwebsettings.cpp:
3967 (QWebSettings::operator=):
3968 * Api/qwebsettings.h:
3970 2007-07-26 Qing Zhao <qing@staikos.net>
3972 Reviewed by George Staikos.
3974 Add a signal for history notification.
3977 * WebCoreSupport/FrameLoaderClientQt.cpp:
3979 2007-07-24 Adam Treat <treat@kde.org>
3981 Reviewed by Niko and Lars.
3983 These are no longer necessary or used.
3985 * WebCoreSupport/FrameLoaderClientQt.cpp:
3986 * WebCoreSupport/FrameLoaderClientQt.h:
3988 2007-07-20 Adam Treat <adam@staikos.net>
3990 Reviewed by George Staikos.
3992 Add a signal for first layout and add the action type for the policy
3996 (QWebPagePrivate::navigationRequested):
3997 (QWebPage::navigationRequested):
4000 * WebCoreSupport/FrameLoaderClientQt.cpp:
4001 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
4002 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
4004 2007-07-19 Adam Treat <treat@kde.org>
4008 Do a recursive layout on the frame's children. This fixes a
4009 segfault found when rendering some framesets.
4011 * Api/qwebframe.cpp:
4012 (QWebFrame::render):
4013 (QWebFrame::layout):
4016 2007-07-18 Timothy Hatcher <timothy@apple.com>
4020 Make the Page with the now required InspectorClient.
4023 (QWebPagePrivate::QWebPagePrivate):
4024 * WebKitPart/WebKitPart.cpp:
4025 (WebKitPart::initView):
4027 2007-07-18 Sam Weinig <sam@webkit.org>
4031 * Api/qwebnetworkinterface.cpp:
4032 (QWebNetworkManager::started):
4033 * WebCoreSupport/FrameLoaderClientQt.cpp:
4034 (WebCore::FrameLoaderClientQt::canShowMIMEType):
4035 (WebCore::FrameLoaderClientQt::objectContentType):
4037 2007-07-18 Lars Knoll <lars@trolltech.com>
4039 Reviewed by Zack & Simon
4041 Reallow setting of scrollbar policies on QWebFrame.
4043 * Api/qwebframe.cpp:
4044 (QWebFrame::verticalScrollBarPolicy):
4045 (QWebFrame::setVerticalScrollBarPolicy):
4046 (QWebFrame::horizontalScrollBarPolicy):
4049 2007-07-17 Adam Treat <treat@kde.org>
4053 * WebCoreSupport/FrameLoaderClientQt.cpp:
4054 (WebCore::FrameLoaderClientQt::createFrame):
4056 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
4058 Blind build fix for Qt after r24366 by adding the additional
4059 WebCore::ResourceRequest& parameter to the download method.
4061 * WebCoreSupport/FrameLoaderClientQt.cpp:
4062 (WebCore::FrameLoaderClientQt::download):
4063 * WebCoreSupport/FrameLoaderClientQt.h:
4065 2007-07-17 Adam Roben <aroben@apple.com>
4067 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
4071 * WebCoreSupport/ContextMenuClientQt.cpp:
4072 * WebCoreSupport/ContextMenuClientQt.h:
4074 2007-07-16 Adam Roben <aroben@apple.com>
4076 Updated ChromeClientQt for ChromeClient changes.
4080 * WebCoreSupport/ChromeClientQt.cpp:
4081 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
4082 * WebCoreSupport/ChromeClientQt.h: Ditto.
4084 2007-07-13 Mark Rowe <mrowe@apple.com>
4088 Build fix. Stub out ChromeClientQt::print.
4090 * WebCoreSupport/ChromeClientQt.cpp:
4091 (WebCore::ChromeClientQt::print):
4092 * WebCoreSupport/ChromeClientQt.h:
4094 2007-07-12 George Staikos <staikos@kde.org>
4096 Qt build fix for assertions.
4098 * Api/qwebnetworkinterface.cpp:
4099 (QWebNetworkManager::add):
4101 2007-07-12 George Staikos <staikos@kde.org>
4105 * Api/qwebnetworkinterface.cpp:
4106 (QWebNetworkManager::add):
4108 2007-07-10 Mark Rowe <mrowe@apple.com>
4110 Qt build fix after r24126.
4112 * Api/qwebframe.cpp:
4113 (QWebFrame::evaluateJavaScript):
4115 2007-07-10 Eli Fidler <eli@staikos.net>
4117 Reviewed by George Staikos.
4119 Properly url-decode data urls.
4121 * Api/qwebnetworkinterface.cpp:
4122 (QWebNetworkInterfacePrivate::parseDataUrl):
4124 2007-07-09 Adam Treat <adam@staikos.net>
4126 Reviewed by George Staikos.
4128 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
4131 * Api/qwebframe.cpp:
4132 (QWebFramePrivate::init):
4133 (QWebFramePrivate::parentFrame):
4134 (QWebFrame::QWebFrame):
4135 (QWebFrame::render):
4137 (QWebFrame::geometry):
4138 (QWebFrame::evaluateJavaScript):
4139 (QWebFrame::mouseMoveEvent):
4140 (QWebFrame::mousePressEvent):
4141 (QWebFrame::mouseDoubleClickEvent):
4142 (QWebFrame::mouseReleaseEvent):
4143 (QWebFrame::wheelEvent):
4145 * Api/qwebobjectpluginconnector.cpp:
4146 (QWebObjectPluginConnector::pluginParentWidget):
4148 (QWebPagePrivate::QWebPagePrivate):
4149 (QWebPagePrivate::createMainFrame):
4150 (QWebPage::QWebPage):
4151 (QWebPage::javaScriptAlert):
4152 (QWebPage::javaScriptConfirm):
4153 (QWebPage::javaScriptPrompt):
4154 (QWebPage::resizeEvent):
4155 (QWebPage::paintEvent):
4156 (QWebPage::mouseMoveEvent):
4157 (QWebPage::mousePressEvent):
4158 (QWebPage::mouseDoubleClickEvent):
4159 (QWebPage::mouseReleaseEvent):
4160 (QWebPage::wheelEvent):
4161 (QWebPage::keyPressEvent):
4162 (QWebPage::keyReleaseEvent):
4163 (QWebPage::focusInEvent):
4164 (QWebPage::focusOutEvent):
4165 (QWebPage::focusNextPrevChild):
4166 (QWebPage::chooseFile):
4169 * WebCoreSupport/ChromeClientQt.cpp:
4170 (WebCore::ChromeClientQt::addToDirtyRegion):
4172 2007-07-09 George Staikos <staikos@kde.org>
4174 Fix a minor memory leak in the loader.
4176 * Api/qwebnetworkinterface.cpp:
4177 (gCleanupInterface):
4178 (QWebNetworkInterface::setDefaultInterface):
4179 (QWebNetworkInterface::defaultInterface):
4181 2007-07-09 George Staikos <staikos@kde.org>
4183 Fix a massive memory leak in the loader.
4185 * Api/qwebnetworkinterface.cpp:
4186 (QWebNetworkManager::httpConnectionClosed):
4187 (WebCoreHttp::~WebCoreHttp):
4189 2007-07-09 George Staikos <staikos@kde.org>
4193 Rework much of the HTTP stuff to make it more stable, and add SSL and
4194 proxy support. Major memory leak also discovered but it needs more
4195 research as the obvious fix causes crashes.
4197 * Api/qwebnetworkinterface.cpp:
4198 (QWebNetworkManager::add):
4199 (QWebNetworkManager::started):
4200 (QWebNetworkManager::data):
4201 (WebCoreHttp::WebCoreHttp):
4202 (WebCoreHttp::~WebCoreHttp):
4203 (WebCoreHttp::request):
4204 (WebCoreHttp::scheduleNextRequest):
4205 (WebCoreHttp::getConnection):
4206 (WebCoreHttp::onResponseHeaderReceived):
4207 (WebCoreHttp::onReadyRead):
4208 (WebCoreHttp::onRequestFinished):
4209 (WebCoreHttp::onDone):
4210 (WebCoreHttp::onStateChanged):
4211 (WebCoreHttp::onSslErrors):
4212 (WebCoreHttp::onAuthenticationRequired):
4213 (WebCoreHttp::onProxyAuthenticationRequired):
4214 * Api/qwebnetworkinterface.h:
4215 * Api/qwebnetworkinterface_p.h:
4216 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
4218 2007-07-06 Adam Treat <adam@staikos.net>
4220 Reviewed by George Staikos.
4222 Convert QWebFrame to a QFrame from a scroll area.
4224 * Api/qwebframe.cpp:
4225 (QWebFramePrivate::init):
4226 (QWebFramePrivate::parentFrame):
4227 (QWebFramePrivate::horizontalScrollBar):
4228 (QWebFramePrivate::verticalScrollBar):
4229 (QWebFrame::QWebFrame):
4230 (QWebFrame::resizeEvent):
4231 (QWebFrame::suppressScrollbars):
4232 (QWebFrame::paintEvent):
4233 (QWebFrame::mouseMoveEvent):
4234 (QWebFrame::mousePressEvent):
4235 (QWebFrame::mouseDoubleClickEvent):
4236 (QWebFrame::mouseReleaseEvent):
4237 (QWebFrame::wheelEvent):
4238 (QWebFrame::keyPressEvent):
4239 (QWebFrame::focusInEvent):
4240 (QWebFrame::focusOutEvent):
4241 (QWebFrame::evaluateJavaScript):
4243 * Api/qwebframe_p.h:
4244 * Api/qwebobjectpluginconnector.cpp:
4245 (QWebObjectPluginConnector::pluginParentWidget):
4247 2007-07-04 Adam Roben <aroben@apple.com>
4249 Added a stub for ChromeClientQt::setToolTip
4253 * WebCoreSupport/ChromeClientQt.cpp:
4254 (WebCore::ChromeClientQt::setToolTip):
4255 * WebCoreSupport/ChromeClientQt.h:
4257 2007-07-04 Adam Roben <aroben@apple.com>
4259 Added a stub for ChromeClientQt::mouseDidMoveOverElement
4263 * WebCoreSupport/ChromeClientQt.cpp:
4264 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4265 * WebCoreSupport/ChromeClientQt.h:
4267 2007-06-28 Simon Hausmann <hausmann@kde.org>
4271 Propagate mouse double click events from Qt to WebCore.
4273 * Api/qwebframe.cpp:
4274 (QWebFrame::mouseDoubleClickEvent):
4277 2007-06-28 Simon Hausmann <hausmann@kde.org>
4281 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
4285 (QWebPage::canCopy):
4286 (QWebPage::canPaste):
4291 * WebCoreSupport/EditorClientQt.cpp:
4293 2007-06-27 George Staikos <staikos@kde.org>
4295 Compile with various Qt configurations.
4297 * Api/qwebnetworkinterface.cpp:
4298 (WebCoreHttp::scheduleNextRequest):
4300 (QWebPage::javaScriptPrompt):
4301 (QWebPage::dragEnterEvent):
4302 (QWebPage::dragLeaveEvent):
4303 (QWebPage::dragMoveEvent):
4304 (QWebPage::dropEvent):
4305 (QWebPage::chooseFile):
4308 * WebCoreSupport/DragClientQt.cpp:
4309 (WebCore::DragClientQt::startDrag):
4311 2007-06-27 Eli Fidler <eli@staikos.net>
4313 Reviewed by George Staikos.
4315 Check for QT_NO_IMAGE_TEXT and compile either way.
4317 * Plugins/ICOHandler.cpp:
4320 2007-06-27 Eli Fidler <eli@staikos.net>
4322 Reviewed by George Staikos.
4324 Remove QT3_SUPPORT dependency in the ICO plugin.
4326 * Plugins/ICOHandler.cpp:
4327 (IcoHeader::loadFromDIB):
4329 2007-06-25 George Staikos <staikos@kde.org>
4333 Start to add proxy and SSL support to WebKit Qt. Proxy works
4334 unauthenticated. Added hooks to be able to add authentication.
4335 Also fixes some network errors.
4337 * Api/qwebnetworkinterface.cpp:
4338 (QWebNetworkRequestPrivate::setURL):
4339 (QWebNetworkJob::frame):
4340 (WebCoreHttp::WebCoreHttp):
4341 (WebCoreHttp::scheduleNextRequest):
4342 (WebCoreHttp::onRequestFinished):
4343 (WebCoreHttp::onDone):
4344 (WebCoreHttp::onSslErrors):
4345 (WebCoreHttp::onAuthenticationRequired):
4346 (WebCoreHttp::onProxyAuthenticationRequired):
4347 * Api/qwebnetworkinterface.h:
4348 * Api/qwebnetworkinterface_p.h:
4350 (QWebPage::setNetworkProxy):
4351 (QWebPage::networkProxy):
4355 2007-06-21 Adam Treat <adam@staikos.net>
4357 Reviewed by George Staikos.
4359 Implement the default resources on Qt.
4363 * Api/qwebsettings.cpp:
4364 (QWebSettings::setWebGraphic):
4365 (QWebSettings::webGraphic):
4366 (loadResourcePixmap):
4367 * Api/qwebsettings.h:
4369 2007-06-15 Adam Treat <adam@staikos.net>
4371 Reviewed by George Staikos.
4373 Add ICO support to the Qt build.
4378 * Api/qwebsettings.cpp:
4379 (QWebSettings::setIconDatabaseEnabled):
4380 (QWebSettings::iconDatabaseEnabled):
4381 * Api/qwebsettings.h:
4383 * Plugins/ICOHandler.cpp: Added.
4384 (IcoHeader::operator >>):
4385 (IcoHeader::BMP_INFOHDR::):
4386 (IcoHeader::operator<<):
4387 (IcoHeader::LessDifference::LessDifference):
4388 (IcoHeader::LessDifference::operator ()):
4389 (IcoHeader::loadFromDIB):
4390 (ICOHandler::ICOHandler):
4391 (ICOHandler::canRead):
4393 (ICOHandler::write):
4396 (ICOPlugin::capabilities):
4397 (ICOPlugin::create):
4398 * Plugins/ICOHandler.h: Added.
4399 * Plugins/Plugins.pro: Added.
4400 * WebCoreSupport/FrameLoaderClientQt.cpp:
4401 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
4403 2007-06-15 George Staikos <staikos@kde.org>
4405 Fixing the Qt build.
4407 * WebCoreSupport/ContextMenuClientQt.cpp:
4408 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
4409 * WebCoreSupport/ContextMenuClientQt.h:
4411 2007-06-20 Adam Roben <aroben@apple.com>
4413 More speculative Qt build fixes.