1 2008-03-18 Simon Hausmann <hausmann@webkit.org>
5 Fix the Qt build. Don't return void in non-void functions.
7 * Api/qwebpluginfactory.cpp:
8 (QWebPluginFactory::extension):
10 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
14 Don't use RefPtr in classes you haven't seen the implementation of.
16 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
17 cannot *use* said objects until Foo is defined. This is true even for
18 initialisation with a 0.
20 Seems the HP aCC compiler is more strict here than gcc.
24 2008-03-14 Simon Hausmann <hausmann@webkit.org>
30 (QWebFrame::setContent):
32 2008-03-13 Simon Hausmann <hausmann@webkit.org>
37 (QWebFrame::addToJSWindowObject):
39 2008-03-12 Simon Hausmann <hausmann@webkit.org>
41 Fix compilation against Qt 4.3
47 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
51 * WebCoreSupport/FrameLoaderClientQt.cpp:
52 (FrameLoaderClientQt::CreatePlugin):
54 2008-03-11 Simon Hausmann <hausmann@webkit.org>
56 Fix the Qt build (silly typo).
58 * QtLauncher/main.cpp:
59 (MainWindow::MainWindow):
61 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
65 Moved obscuring progress bar to the lower right corner.
67 * QtLauncher/main.cpp:
68 (MainWindow::MainWindow):
69 (MainWindow::resizeEvent):
71 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
75 Added reload action and grouped stop and reload actions together.
77 * QtLauncher/main.cpp:
78 (MainWindow::MainWindow):
80 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
84 * Set a Icon on the QAction if we have one.
89 2008-03-11 Simon Hausmann <hausmann@webkit.org>
94 (QWebFrame::addToJSWindowObject):
96 2008-03-07 Simon Hausmann <hausmann@webkit.org>
102 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
104 * Api/qwebnetworkinterface.cpp:
105 (QWebNetworkManager::add):
106 (QWebNetworkManager::cancel):
107 (QWebNetworkManager::started):
108 (QWebNetworkManager::data):
109 (QWebNetworkManager::finished):
110 * Api/qwebnetworkinterface_p.h:
111 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
112 * Api/qwebobjectplugin.cpp: Removed.
113 * Api/qwebobjectplugin.h: Removed.
114 * Api/qwebobjectplugin_p.h: Removed.
115 * Api/qwebobjectpluginconnector.cpp: Removed.
116 * Api/qwebobjectpluginconnector.h: Removed.
118 (QWebPagePrivate::QWebPagePrivate):
119 (QWebPage::setPluginFactory):
120 (QWebPage::pluginFactory):
123 * Api/qwebpluginfactory.cpp: Added.
124 (QWebPluginFactory::QWebPluginFactory):
125 (QWebPluginFactory::~QWebPluginFactory):
126 (QWebPluginFactory::refreshPlugins):
127 (QWebPluginFactory::extension):
128 * Api/qwebpluginfactory.h: Added.
130 * WebCoreSupport/FrameLoaderClientQt.cpp:
131 (WebCore::FrameLoaderClientQt::objectContentType):
132 (WebCore::FrameLoaderClientQt::createPlugin):
134 2008-03-07 Simon Hausmann <hausmann@webkit.org>
140 2008-03-04 Sam Weinig <sam@webkit.org>
142 Reviewed by Mark Rowe.
144 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
148 (QWebFrame::addToJSWindowObject):
150 2008-03-04 Mark Rowe <mrowe@apple.com>
152 Another go at fixing the Qt build.
155 (QWebFrame::addToJSWindowObject):
157 2008-02-24 Darin Adler <darin@apple.com>
161 - remove separate client calls for "standard" and "reload' history
163 * WebCoreSupport/FrameLoaderClientQt.cpp:
164 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
165 * WebCoreSupport/FrameLoaderClientQt.h:
167 2008-02-24 Darin Adler <darin@apple.com>
169 - another try at fixing the build
172 (QWebFrame::load): Replace new FormData with FormData::create.
174 2008-02-22 Sam Weinig <sam@webkit.org>
178 * Api/qwebhistoryinterface.cpp:
180 2008-02-22 Sam Weinig <sam@webkit.org>
182 Rubber-stamped by Adam Roben.
184 Rid the project of the Devil known as DeprecatedString!
186 * Api/qwebhistory.cpp:
187 * Api/qwebhistoryinterface.cpp:
189 2008-02-18 Darin Adler <darin@apple.com>
193 * Api/qwebnetworkinterface.cpp:
194 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
196 2008-01-24 David Boddie <dboddie@trolltech.com>
200 Documentation tidying.
204 * Api/qwebhistoryinterface.cpp:
207 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
211 Text for translations were used wrongly as comments
214 * WebCoreSupport/FrameLoaderClientQt.cpp:
216 (WebCore::FrameLoaderClientQt::cannotShowURLError):
217 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
218 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
219 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
220 (WebCore::FrameLoaderClientQt::shouldFallBack):
222 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
226 * We have a KURL->QUrl conversion on KURL itself, make use of it.
227 * This conversion is supposed to be loss-free
232 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
234 * Rubber stamped by Simon
236 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
237 This was found while working on the page-cache, other ports are not affected.
239 * WebCoreSupport/FrameLoaderClientQt.cpp:
240 (WebCore::FrameLoaderClientQt::createFrame):
242 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
244 Reviewed by Simon Hausmann <hausmann@webkit.org>.
246 Fix Qtopia compilation with QT_NO_TOOLTIP
249 * WebCoreSupport/ChromeClientQt.cpp:
250 (WebCore::ChromeClientQt::print):
252 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
256 Doc: Replaced \code with snippets in the docs
261 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
265 Tweak key presses even to match commonly expected behavior
266 - space key == page down
267 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
268 - Use font height rather then a hard coded "10" for left, right, up, down
269 - Ctrl-Up moves to the top of the page
270 - Ctrl-Down move to the bottom of the page
271 - Backspace == GoBack
272 - Shift-Backspace == GoForward
276 (dropActionToDragOp):
277 (dragOpToDropAction):
278 (QWebPagePrivate::keyPressEvent):
280 2008-01-23 Simon Hausmann <hausmann@webkit.org>
284 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
286 Added two signals to QWebPage to handle downloading of links and handling of
291 (QWebPage::triggerAction):
293 * WebCoreSupport/FrameLoaderClientQt.cpp:
294 (WebCore::FrameLoaderClientQt::download):
295 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
296 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
297 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
298 (WebCore::FrameLoaderClientQt::willUseArchive):
300 2008-01-22 Lars Knoll <lars@trolltech.com>
304 setup a family for cursive and fantasy fonts as well.
307 * Api/qwebsettings.cpp:
308 (QWebSettings::QWebSettings):
310 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
314 Implement ChromeClientQt::setToolTip
315 Implement ChromeClientQt::mouseDidMoveOverElement
320 * WebCoreSupport/ChromeClientQt.cpp:
321 (WebCore::ChromeClientQt::ChromeClientQt):
322 (WebCore::ChromeClientQt::focus):
323 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
324 (WebCore::ChromeClientQt::setToolTip):
325 (WebCore::ChromeClientQt::print):
326 * WebCoreSupport/ChromeClientQt.h:
328 2008-01-21 Darin Adler <darin@apple.com>
330 Reviewed by John Sullivan.
332 - updated for changes to ChromeClient database functions
334 * WebCoreSupport/ChromeClientQt.cpp:
335 (WebCore::ChromeClientQt::exceededDatabaseQuota):
336 * WebCoreSupport/ChromeClientQt.h:
338 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
342 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
345 * Api/qwebhistoryinterface.h:
347 2008-01-21 Adam Treat <treat@kde.org>
351 * Don't leak the d-pointer in QWebSettings.
354 * Api/qwebsettings.cpp:
355 (QWebSettings::~QWebSettings):
357 2008-01-21 Simon Hausmann <hausmann@webkit.org>
361 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
363 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
368 2008-01-21 Simon Hausmann <hausmann@webkit.org>
372 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
374 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
375 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
376 and make the return value depend on whether we successfully determined a focusable
378 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
379 if we could not handle the focus chain ourselves.
380 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
381 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
382 used to control the situation of stepping out of the focus chain inside the page.
383 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
384 The layout tests expect this to be disabled but for the user it seems sensible to have it
385 on by default, hence the default in qwebsettings.cpp
389 (QWebPage::focusNextPrevChild):
390 * Api/qwebsettings.cpp:
391 (QWebSettings::QWebSettings):
392 * Api/qwebsettings.h:
394 (QWebView::QWebView):
395 (QWebView::focusNextPrevChild):
396 * WebCoreSupport/ChromeClientQt.cpp:
397 (WebCore::ChromeClientQt::canTakeFocus):
398 (WebCore::ChromeClientQt::takeFocus):
400 2008-01-18 Simon Hausmann <hausmann@webkit.org>
404 Coding style fixes and added a comment about the include order.
408 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
410 Reviewed by Simon Hausmann <hausmann@webkit.org>.
412 Add use of precompiled header, when building inside Qt.
414 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.
417 * WebKit_pch.h: Added.
419 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
423 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
424 we will see a crash in a HashSet.
425 * It is crashing there because the StringImpl of an empty String is 0.
426 * We avoid this crash by checking for isEmpty() in WebKit as there is no
427 use to ask the iconDatabase for an empty string. We will fallback to the
434 2008-01-17 Simon Hausmann <hausmann@webkit.org>
438 Minor documentation fixes
444 2008-01-17 Simon Hausmann <shausman@trolltech.com>
448 Fix form elements not focusing correctly after the qt widget lost its focus.
450 When receiving a focus out event notify the focus controller. Otherwise its
451 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
452 event shortcuts and doesn't call setActive(true).
457 2008-01-17 Simon Hausmann <shausman@trolltech.com>
461 Lots of updates to the documentation.
465 * Api/qwebhistory.cpp:
467 (QWebPagePrivate::dropEvent):
470 (QWebPage::triggerAction):
471 (QWebPage::viewportSize):
472 (QWebPage::navigationRequested):
475 (QWebPageContext::targetFrame):
479 2008-01-17 Simon Hausmann <shausman@trolltech.com>
483 Added a urlChanged signals to QWebFrame and QWebView.
491 * WebCoreSupport/FrameLoaderClientQt.cpp:
493 2008-01-17 Simon Hausmann <shausman@trolltech.com>
497 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
500 * Api/qwebsettings.cpp:
501 (QWebSettings::setIconDatabaseEnabled):
503 2008-01-17 Simon Hausmann <shausman@trolltech.com>
507 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
511 (QWebPage::createWindow):
513 (QWebView::createWindow):
516 2008-01-17 Lars Knoll <lars@trolltech.com>
520 add a 0 pointer check.
522 Fixes a crash in the demo web browser.
524 * WebCoreSupport/FrameLoaderClientQt.cpp:
525 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
527 2008-01-17 Simon Hausmann <hausmann@webkit.org>
531 Fix QWebFrame::title().
533 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
534 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
540 2008-01-17 Simon Hausmann <hausmann@webkit.org>
542 Reviewed by Maciej, Lars, Holger.
544 http://bugs.webkit.org/show_bug.cgi?id=16589
546 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
548 * Api/qwebnetworkinterface.cpp:
549 (QWebNetworkRequestPrivate::init):
550 (QWebNetworkManager::started):
552 2008-01-17 Warwick Allison <warwick@trolltech.com>
554 Reviewed by Simon Hausmann <hausmann@webkit.org>.
556 Follow QWidget::keyPressEvent advice and call parents.
558 Without this, Back does not work in Qtopia, for example.
562 (QWebView::keyPressEvent):
563 (QWebView::keyReleaseEvent):
565 2008-01-17 Simon Hausmann <hausmann@webkit.org>
569 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
571 * Api/qwebnetworkinterface.cpp:
572 (QWebNetworkManager::started):
574 2008-01-17 Simon Hausmann <shausman@trolltech.com>
578 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
583 * WebCoreSupport/FrameLoaderClientQt.cpp:
585 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
587 Reviewed by Simon Hausmann <hausmann@webkit.org>.
589 Fixes compilation with QT_NO_DRAGANDDROP
595 (QWebView::dragEnterEvent):
596 (QWebView::dragLeaveEvent):
597 (QWebView::dragMoveEvent):
598 (QWebView::dropEvent):
600 2008-01-17 Simon Hausmann <hausmann@webkit.org>
604 Fix compilation, removed obsolete privateBrowsingEnabled() method.
606 * WebCoreSupport/FrameLoaderClientQt.cpp:
608 2008-01-16 Lars Knoll <lars@trolltech.com>
610 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
612 Removed a whole bunch of notImplemented() warnings.
614 I don't want to hide the real warnings in lots of things that
615 I am by now pretty certain we won't need.
618 * WebCoreSupport/FrameLoaderClientQt.cpp:
619 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
620 (WebCore::FrameLoaderClientQt::canShowMIMEType):
622 2008-01-16 Simon Hausmann <hausmann@webkit.org>
626 Fix crash when bringing up the context menu on maps.google.com.
628 If the website provides its own context menu then we don't have a ContextMenu pointer.
632 (QWebPagePrivate::contextMenuEvent):
634 2008-01-16 Simon Hausmann <hausmann@webkit.org>
638 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
641 (QWebView::mouseMoveEvent):
642 (QWebView::mousePressEvent):
643 (QWebView::mouseDoubleClickEvent):
644 (QWebView::mouseReleaseEvent):
645 (QWebView::contextMenuEvent):
646 (QWebView::wheelEvent):
647 (QWebView::keyPressEvent):
648 (QWebView::keyReleaseEvent):
649 (QWebView::focusInEvent):
650 (QWebView::focusOutEvent):
651 (QWebView::dragEnterEvent):
652 (QWebView::dragLeaveEvent):
653 (QWebView::dragMoveEvent):
654 (QWebView::dropEvent):
655 (QWebView::focusNextPrevChild):
657 2008-01-16 Simon Hausmann <hausmann@webkit.org>
661 Made the url property read-write.
665 2008-01-16 Simon Hausmann <hausmann@webkit.org>
669 Don't crash when showing a default initialized QWebView that has no page/frame yet.
672 (QWebView::paintEvent):
674 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
678 Change hoveringOverLink implementation to have less issues.
680 * Currently we only compare a pointer. In the worst case we
681 could delete the Element we have pointed to and a new one
682 gets the same address. But even if that doesn't happen the
683 WebCore::Element is mutable and JavaScript could change the
684 URL, Title or Content. So we have to compare all these three
686 * This does not seem to be a performance impact.
690 (QWebPagePrivate::mouseMoveEvent):
693 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
697 * Move the hoverElement from QWebFrame to QWebPage. As it is
702 (QWebFramePrivate::QWebFramePrivate):
704 (QWebPagePrivate::mouseMoveEvent):
707 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
711 EventHandler changes/fixes in QWebPage:
712 -mouse{Press,Move,Release}Event:
713 Send the event always to the mainFrame of the QWebPage.
715 -contextMenuEvent, key{Press,Release}Event:
716 Send the event to the focused frame.
718 This is following the Windows port and fixes a issue with the
719 Web Inspector where we were sending the events to a wrong frame.
721 It is guaranteed that the mainFrame will always have an eventHandler
722 and frameView set. There is no need to check for this in QWebPage.
726 (QWebFramePrivate::init):
728 (QWebFramePrivate::QWebFramePrivate):
730 (QWebPagePrivate::updateEditorActions):
731 (QWebPagePrivate::mouseMoveEvent):
732 (QWebPagePrivate::mousePressEvent):
733 (QWebPagePrivate::mouseDoubleClickEvent):
734 (QWebPagePrivate::mouseReleaseEvent):
735 (QWebPagePrivate::contextMenuEvent):
736 (QWebPagePrivate::wheelEvent):
737 (QWebPagePrivate::keyPressEvent):
738 (QWebPagePrivate::keyReleaseEvent):
739 (QWebPagePrivate::focusInEvent):
742 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
746 * Add core and kit functions to QWebFramePrivate to convert from
747 QWebFrame to WebCore::Frame and vice versa.
751 (QWebFramePrivate::core):
752 (QWebFramePrivate::kit):
756 2008-01-16 Lars Knoll <lars@trolltech.com>
760 add conversion methods from and to QUrl to KURL.
762 Use them in the places I found at the moment. Fixes a bug
763 where form data was encoded twice.
764 Also fix QWebSettings to take a QUrl for the user style sheet
771 (QWebPage::createPlugin):
773 (QWebPage::triggerAction):
774 * Api/qwebsettings.cpp:
775 (QWebSettingsPrivate::apply):
776 * Api/qwebsettings.h:
777 * WebCoreSupport/ChromeClientQt.cpp:
778 (WebCore::ChromeClientQt::createWindow):
779 (WebCore::ChromeClientQt::show):
781 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
785 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
786 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
787 the QWebPage/WebInspector automatically.
790 * WebCoreSupport/InspectorClientQt.cpp:
791 (WebCore::InspectorClientWebPage::createWindow):
792 (WebCore::InspectorClientView::InspectorClientView):
794 2008-01-10 Maciej Stachowiak <mjs@apple.com>
798 - remove SecurityOriginData and fold its functionality into SecurityOrigin
800 * WebCoreSupport/ChromeClientQt.cpp:
801 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
802 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
803 * WebCoreSupport/ChromeClientQt.h:
805 2008-01-10 Lars Knoll <lars@trolltech.com>
812 * Api/qwebhistory.cpp:
813 (QWebHistoryItem::QWebHistoryItem):
814 (QWebHistoryItem::operator=):
815 (QWebHistoryItem::~QWebHistoryItem):
816 (QWebHistoryItem::originalUrl):
817 (QWebHistoryItem::currentUrl):
818 (QWebHistoryItem::title):
819 (QWebHistoryItem::icon):
820 (QWebHistory::canGoBack):
821 (QWebHistory::canGoForward):
822 (QWebHistory::goBack):
823 (QWebHistory::goForward):
824 (QWebHistory::goToItem):
827 2008-01-10 Simon Hausmann <hausmann@webkit.org>
831 Make the reset() functions not do anything on the default QWebSettings object.
834 * Api/qwebsettings.cpp:
835 (QWebSettings::resetFontSize):
836 (QWebSettings::resetFontFamily):
837 (QWebSettings::clearAttribute):
839 2008-01-10 Lars Knoll <lars@trolltech.com>
843 rename QWebPageHistory to QWebHistory.
846 * Api/qwebhistory.cpp: Added.
847 (QWebHistoryItem::QWebHistoryItem):
848 (QWebHistoryItem::operator=):
849 (QWebHistoryItem::~QWebHistoryItem):
850 (QWebHistoryItem::originalUrl):
851 (QWebHistoryItem::currentUrl):
852 (QWebHistoryItem::title):
853 (QWebHistoryItem::lastVisited):
854 (QWebHistoryItem::icon):
855 (QWebHistory::QWebHistory):
856 (QWebHistory::~QWebHistory):
857 (QWebHistory::clear):
858 (QWebHistory::items):
859 (QWebHistory::backItems):
860 (QWebHistory::forwardItems):
861 (QWebHistory::canGoBack):
862 (QWebHistory::canGoForward):
863 (QWebHistory::goBack):
864 (QWebHistory::goForward):
865 (QWebHistory::goToItem):
866 (QWebHistory::backItem):
867 (QWebHistory::currentItem):
868 (QWebHistory::forwardItem):
869 (QWebHistory::itemAtIndex):
870 * Api/qwebhistory.h: Added.
871 * Api/qwebhistory_p.h: Added.
872 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
873 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
874 (QWebHistoryPrivate::QWebHistoryPrivate):
875 (QWebHistoryPrivate::~QWebHistoryPrivate):
877 (QWebPagePrivate::QWebPagePrivate):
880 * Api/qwebpagehistory.cpp: Removed.
881 * Api/qwebpagehistory.h: Removed.
882 * Api/qwebpagehistory_p.h: Removed.
886 2008-01-10 Simon Hausmann <hausmann@webkit.org>
890 Documentation for QWebSettings
893 * Api/qwebsettings.cpp:
894 (QWebSettings::~QWebSettings):
895 (QWebSettings::setFontSize):
896 (QWebSettings::resetFontSize):
897 (QWebSettings::setUserStyleSheetLocation):
898 (QWebSettings::userStyleSheetLocation):
899 (QWebSettings::iconDatabaseEnabled):
900 (QWebSettings::webGraphic):
901 (QWebSettings::setFontFamily):
902 (QWebSettings::resetFontFamily):
903 (QWebSettings::setAttribute):
905 2008-01-10 Lars Knoll <lars@trolltech.com>
909 Document QWebHistoryInterface.
912 * Api/qwebhistoryinterface.cpp:
913 (QWebHistoryInterface::defaultInterface):
914 (QWebHistoryInterface::~QWebHistoryInterface):
916 2008-01-10 Lars Knoll <lars@trolltech.com>
920 Documentation for QWebFrame.
927 (QWebFrame::setHtml):
928 (QWebFrame::parentFrame):
931 (QWebFrame::geometry):
935 2008-01-10 Lars Knoll <lars@trolltech.com>
939 fix the drawing errors that where introduced due to refactoring.
941 Correctly clip to the rectangle we want to draw in ScrollView::paint().
948 (QWebView::paintEvent):
949 * WebCoreSupport/ChromeClientQt.cpp:
950 (WebCore::ChromeClientQt::scrollBackingStore):
952 2008-01-10 Simon Hausmann <hausmann@webkit.org>
956 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
960 (QWebPagePrivate::dropEvent):
961 (QWebPage::QWebPage):
962 (QWebPage::~QWebPage):
963 (QWebPage::mainFrame):
964 (QWebPage::currentFrame):
968 (QWebPage::javaScriptConsoleMessage):
969 (QWebPage::javaScriptAlert):
970 (QWebPage::javaScriptConfirm):
971 (QWebPage::javaScriptPrompt):
972 (QWebPage::createWindow):
973 (QWebPage::createModalDialog):
975 (QWebPage::triggerAction):
976 (QWebPage::viewportSize):
977 (QWebPage::navigationRequested):
978 (QWebPage::selectedText):
979 (QWebPage::isModified):
980 (QWebPage::focusNextPrevChild):
981 (QWebPage::settings):
982 (QWebPage::networkProxy):
983 (QWebPage::setNetworkAccessManager):
984 (QWebPage::networkAccessManager):
985 (QWebPagePrivate::_q_onLoadProgressChanged):
988 2008-01-07 Holger Freyther <zecke@selfish.org>
990 Reviewed by Alp Toker.
992 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
994 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
995 * Update the ContextMenuController to accept CheckableActionTypes as well.
996 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
997 was extracted from ContextMenu::checkOrEnableIfNeeded.
998 * Update the Qt and Windows port.
1001 (QWebPagePrivate::createContextMenu):
1003 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1005 Build fix for the Windows build. MSVC wants to see the full
1006 declaration of arguments even when just passing them through.
1010 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1014 Added the missing parameters to make it possible to do POST operations from the public API.
1016 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1017 two extra arguments were in QNetworkRequest :-/
1020 * Api/qwebframe.cpp:
1027 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1031 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1034 * Api/qwebframe.cpp:
1037 * Api/qwebnetworkinterface.cpp:
1038 * Api/qwebnetworkinterface.h:
1039 * Api/qwebnetworkinterface_p.h:
1040 * Api/qwebobjectplugin.cpp:
1041 * Api/qwebobjectplugin.h:
1042 * Api/qwebobjectplugin_p.h:
1043 * Api/qwebobjectpluginconnector.cpp:
1044 * Api/qwebobjectpluginconnector.h:
1046 (QWebPagePrivate::QWebPagePrivate):
1047 (QWebPagePrivate::~QWebPagePrivate):
1048 (QWebPagePrivate::navigationRequested):
1049 (QWebPage::setNetworkInterface):
1050 (QWebPage::networkInterface):
1051 (QWebPage::setNetworkAccessManager):
1052 (QWebPage::networkAccessManager):
1057 * WebCoreSupport/FrameLoaderClientQt.cpp:
1058 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1059 (WebCore::FrameLoaderClientQt::objectContentType):
1060 (WebCore::FrameLoaderClientQt::createPlugin):
1062 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1066 * Move the QWebPagePrivate methods up to the other private ones
1069 (dropActionToDragOp):
1070 (dragOpToDropAction):
1071 (QWebPagePrivate::mouseMoveEvent):
1072 (QWebPagePrivate::mousePressEvent):
1073 (QWebPagePrivate::mouseDoubleClickEvent):
1074 (QWebPagePrivate::mouseReleaseEvent):
1075 (QWebPagePrivate::contextMenuEvent):
1076 (QWebPagePrivate::wheelEvent):
1077 (QWebPagePrivate::keyPressEvent):
1078 (QWebPagePrivate::keyReleaseEvent):
1079 (QWebPagePrivate::focusInEvent):
1080 (QWebPagePrivate::focusOutEvent):
1081 (QWebPagePrivate::dragEnterEvent):
1082 (QWebPagePrivate::dragLeaveEvent):
1083 (QWebPagePrivate::dragMoveEvent):
1084 (QWebPagePrivate::dropEvent):
1085 (QWebPage::focusNextPrevChild):
1087 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1091 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1095 (dragOpToDropAction):
1097 (QWebView::mouseMoveEvent):
1098 (QWebView::mousePressEvent):
1099 (QWebView::mouseDoubleClickEvent):
1100 (QWebView::mouseReleaseEvent):
1101 (QWebView::contextMenuEvent):
1102 (QWebView::keyPressEvent):
1103 (QWebView::keyReleaseEvent):
1104 (QWebView::focusInEvent):
1105 (QWebView::focusOutEvent):
1106 (QWebView::dragEnterEvent):
1107 (QWebView::dragLeaveEvent):
1108 (QWebView::dragMoveEvent):
1109 (QWebView::dropEvent):
1111 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1115 * This layout is not needed anymore as Widget::invalidateRect will not
1120 (QWebView::paintEvent):
1122 2008-01-04 Lars Knoll <lars@trolltech.com>
1126 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1128 This also brings the code closer in line with the Windows code. Seems
1129 to work nicely on first try :)
1132 * WebCoreSupport/ChromeClientQt.cpp:
1133 (WebCore::ChromeClientQt::updateBackingStore):
1134 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1135 (WebCore::ChromeClientQt::setToolTip):
1136 * WebCoreSupport/FrameLoaderClientQt.cpp:
1137 (WebCore::FrameLoaderClientQt::createPlugin):
1139 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1143 * Remove the todo from QWebPage and move the code to QWebView.
1147 (QWebPagePrivate::wheelEvent):
1148 (QWebPagePrivate::focusInEvent):
1150 (QWebView::wheelEvent):
1151 (QWebView::focusInEvent):
1153 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1157 * Move the various event methods to QWebPagePrivate. This is similar to
1158 QTextControl as well.
1163 (QWebPagePrivate::mouseMoveEvent):
1164 (QWebPagePrivate::mousePressEvent):
1165 (QWebPagePrivate::mouseDoubleClickEvent):
1166 (QWebPagePrivate::mouseReleaseEvent):
1167 (QWebPagePrivate::contextMenuEvent):
1168 (QWebPagePrivate::wheelEvent):
1169 (QWebPagePrivate::keyPressEvent):
1170 (QWebPagePrivate::keyReleaseEvent):
1171 (QWebPagePrivate::focusInEvent):
1172 (QWebPagePrivate::focusOutEvent):
1173 (QWebPage::focusNextPrevChild):
1174 (QWebPagePrivate::dragEnterEvent):
1175 (QWebPagePrivate::dragLeaveEvent):
1176 (QWebPagePrivate::dragMoveEvent):
1177 (QWebPagePrivate::dropEvent):
1181 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1185 * Forward the event from QWebView to QWebPage through QObject::event. This
1186 is similar to the way QTextControl is working.
1190 (dragOpToDropAction):
1194 (QWebView::mouseMoveEvent):
1195 (QWebView::mousePressEvent):
1196 (QWebView::mouseDoubleClickEvent):
1197 (QWebView::mouseReleaseEvent):
1198 (QWebView::contextMenuEvent):
1199 (QWebView::wheelEvent):
1200 (QWebView::keyPressEvent):
1201 (QWebView::keyReleaseEvent):
1202 (QWebView::focusInEvent):
1203 (QWebView::focusOutEvent):
1204 (QWebView::dragEnterEvent):
1205 (QWebView::dragLeaveEvent):
1206 (QWebView::dragMoveEvent):
1207 (QWebView::dropEvent):
1210 2008-01-04 Lars Knoll <lars@trolltech.com>
1214 make QWebPage a QObject and get things to compile.
1216 Nothing works currently though.
1219 * Api/qwebobjectpluginconnector.cpp:
1221 (QWebPagePrivate::QWebPagePrivate):
1222 (QWebPagePrivate::createMainFrame):
1223 (QWebPage::QWebPage):
1224 (QWebPage::setView):
1226 (QWebPage::javaScriptAlert):
1227 (QWebPage::javaScriptPrompt):
1228 (dragOpToDropAction):
1229 (QWebPage::mousePressEvent):
1230 (QWebPage::mouseDoubleClickEvent):
1231 (QWebPage::mouseReleaseEvent):
1232 (QWebPage::wheelEvent):
1233 (QWebPage::keyPressEvent):
1234 (QWebPage::focusInEvent):
1238 (QWebView::QWebView):
1239 (QWebView::setPage):
1240 (QWebView::resizeEvent):
1241 (QWebView::paintEvent):
1243 * WebCoreSupport/ChromeClientQt.cpp:
1244 (WebCore::ChromeClientQt::windowRect):
1245 (WebCore::ChromeClientQt::pageRect):
1246 (WebCore::ChromeClientQt::focus):
1247 (WebCore::ChromeClientQt::unfocus):
1248 (WebCore::ChromeClientQt::canTakeFocus):
1249 (WebCore::ChromeClientQt::takeFocus):
1250 (WebCore::ChromeClientQt::canRunModal):
1251 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1252 * WebCoreSupport/DragClientQt.cpp:
1253 (WebCore::DragClientQt::startDrag):
1254 * WebCoreSupport/FrameLoaderClientQt.cpp:
1255 (WebCore::FrameLoaderClientQt::createPlugin):
1256 * WebCoreSupport/InspectorClientQt.cpp:
1257 (WebCore::InspectorClientWebPage::createWindow):
1258 (WebCore::InspectorClientView::InspectorClientView):
1259 (WebCore::InspectorClientView::page):
1260 (WebCore::InspectorClientView::hideEvent):
1261 (WebCore::InspectorClientView::closeEvent):
1262 (WebCore::InspectorClientQt::createPage):
1263 (WebCore::InspectorClientQt::closeWindow):
1265 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1269 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1273 (QWebView::setHtml):
1274 (QWebView::setContent):
1275 (QWebView::history):
1276 (QWebView::settings):
1278 (QWebView::triggerAction):
1280 (QWebView::backward):
1281 (QWebView::forward):
1285 2008-01-04 Lars Knoll <lars@trolltech.com>
1289 add a viewportSize to QWebPage.
1291 This is required to eventually make it a QObject only.
1295 (QWebPage::triggerAction):
1296 (QWebPage::viewportSize):
1297 (QWebPage::setViewportSize):
1300 2008-01-04 Lars Knoll <lars@trolltech.com>
1304 take a QString as identifier in QWebFrame::addToJSWindowObject.
1306 * Api/qwebframe.cpp:
1307 (QWebFrame::addToJSWindowObject):
1310 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1314 Call the frame arguments for the javascript callbacks "originatingFrame"
1319 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1323 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1326 * Api/qwebhistoryinterface.h:
1328 * WebCoreSupport/FrameLoaderClientQt.cpp:
1329 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1331 2008-01-04 Lars Knoll <lars@trolltech.com>
1335 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1337 * Api/qwebframe.cpp:
1340 (QWebFrame::setVerticalScrollBarPolicy):
1343 (QWebPage::javaScriptAlert):
1344 (QWebPage::javaScriptPrompt):
1345 (QWebPage::networkInterface):
1351 * WebCoreSupport/FrameLoaderClientQt.cpp:
1353 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1357 Moved QWebPage::open to QWebFrame::load and added setHtml.
1360 * Api/qwebframe.cpp:
1362 (QWebFrame::setHtml):
1363 (QWebFrame::setContent):
1369 (QWebView::setHtml):
1371 * WebCoreSupport/ChromeClientQt.cpp:
1372 (WebCore::ChromeClientQt::createWindow):
1373 * WebCoreSupport/InspectorClientQt.cpp:
1374 (WebCore::InspectorClientQt::createPage):
1376 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1380 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1386 (QWebPagePrivate::createMainFrame):
1388 * Api/qwebpagehistory.h:
1389 * Api/qwebview.cpp: Added.
1390 (QWebView::QWebView):
1391 (QWebView::~QWebView):
1393 (QWebView::setPage):
1395 (QWebView::setHtml):
1396 (QWebView::history):
1397 (QWebView::settings):
1401 (QWebView::selectedText):
1403 (QWebView::triggerAction):
1404 (QWebView::isModified):
1405 (QWebView::textInteractionFlags):
1406 (QWebView::setTextInteractionFlags):
1407 (QWebView::sizeHint):
1409 (QWebView::backward):
1410 (QWebView::forward):
1412 * Api/qwebview.h: Added.
1413 * QtLauncher/main.cpp:
1414 (MainWindow::MainWindow):
1415 (MainWindow::webPage):
1416 (MainWindow::changeLocation):
1417 * WebCoreSupport/FrameLoaderClientQt.cpp:
1418 (WebCore::FrameLoaderClientQt::setFrame):
1419 * WebCoreSupport/FrameLoaderClientQt.h:
1421 2007-12-14 Darin Adler <darin@apple.com>
1426 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1427 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1428 * WebCoreSupport/EditorClientQt.cpp:
1429 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1430 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1433 2007-12-12 Brady Eidson <beidson@apple.com>
1435 Reviewed by Sam Weinig
1437 As part of doing some CachedPage and client cleanup, keep Qt building
1439 * WebCoreSupport/FrameLoaderClientQt.cpp:
1440 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1441 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1442 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1443 * WebCoreSupport/FrameLoaderClientQt.h:
1445 2007-12-12 Sam Weinig <sam@webkit.org>
1449 * WebCoreSupport/FrameLoaderClientQt.cpp:
1450 (WebCore::FrameLoaderClientQt::userAgent):
1452 2007-12-12 Sam Weinig <sam@webkit.org>
1456 * Api/qwebnetworkinterface.cpp:
1457 (QWebNetworkRequestPrivate::init):
1460 (QWebPageContext::QWebPageContext):
1461 * Api/qwebpagehistory.cpp:
1462 (QWebHistoryItem::originalUrl):
1463 (QWebHistoryItem::currentUrl):
1464 * WebCoreSupport/FrameLoaderClientQt.cpp:
1465 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1466 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1467 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1468 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1469 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1470 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1471 (WebCore::FrameLoaderClientQt::createPlugin):
1473 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1477 <rdar://problem/5535636>
1478 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1480 http://bugs.webkit.org/show_bug.cgi?id=13916
1481 JavaScript detects Tab as a character input on a textfield validation
1483 * WebCoreSupport/EditorClientQt.cpp:
1484 (WebCore::EditorClientQt::handleKeyboardEvent):
1485 (WebCore::EditorClientQt::handleInputMethodKeydown):
1486 * WebCoreSupport/EditorClientQt.h:
1487 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1489 2007-12-07 Darin Adler <darin@apple.com>
1493 * Api/qwebhistoryinterface.cpp:
1494 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1495 be updated, since WebCore changed, but this should not be here.
1497 2007-12-04 Darin Adler <darin@apple.com>
1499 Reviewed by Kevin Decker.
1501 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1502 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1504 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1508 * Implement the InspectorClient for the Qt port
1509 * It does not support highlighting of nodes yet
1510 * Use QRC to open the internal page. The important thing is the
1511 '/' in the URL to make WebCore::Document::completeURL behave the
1513 * To make the InspectorClient work we will have to mark qrc as secure.
1516 (QWebPagePrivate::QWebPagePrivate):
1518 * WebCoreSupport/InspectorClientQt.cpp:
1519 (WebCore::InspectorClientWebPage::hideEvent):
1520 (WebCore::InspectorClientQt::InspectorClientQt):
1521 (WebCore::InspectorClientQt::inspectorDestroyed):
1522 (WebCore::InspectorClientQt::createPage):
1523 (WebCore::InspectorClientQt::localizedStringsURL):
1524 (WebCore::InspectorClientQt::showWindow):
1525 (WebCore::InspectorClientQt::closeWindow):
1526 (WebCore::InspectorClientQt::attachWindow):
1527 (WebCore::InspectorClientQt::detachWindow):
1528 * WebCoreSupport/InspectorClientQt.h:
1530 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1532 Rubber stamped by Mark.
1534 Always include config.h at the beginning of the file.
1536 * Api/qwebsettings.cpp:
1538 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1542 * Avoid crashes by making sure everything is layouted before
1543 we start painting. This avoids a crash in Widget::invalidateRect
1544 because QPainter::begin would fail
1545 * The QWebFrame::layout() methods and calls are left untouched because
1546 this would be an API decision.
1549 * Api/qwebframe.cpp:
1550 (QWebFrame::layout):
1552 (QWebPage::paintEvent):
1554 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1558 * SubClass QWebPage to handle hide and close events.
1559 * Forward these events to the InspectorController
1560 * The other options would have been using an eventFilter
1561 on the webpage and making InspectorClient a QObject or
1562 creating a QObject Observer.
1563 * Provide a simple QWebPage* createWindow implementation. This is needed
1564 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1565 of the inspector client.
1568 * WebCoreSupport/InspectorClientQt.cpp:
1569 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1570 (WebCore::InspectorClientWebPage::createWindow):
1571 (WebCore::InspectorClientWebPage::hideEvent):
1572 (WebCore::InspectorClientWebPage::closeEvent):
1573 (WebCore::InspectorClientQt::createPage):
1575 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1579 * Allow adding the Inspect ContextMenuItem to our Menu
1580 * Open the Inspector when Inspect was activated. This requires
1581 that we keep the innerNonSharedNode from the HitTest around. This
1582 forces us to include <wtf/RefPtr.h> in the private header. It is
1583 the first non Qt header but should be okay.
1587 (webActionForContextMenuAction):
1588 (QWebPage::triggerAction):
1590 (QWebPageContext::QWebPageContext):
1594 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1598 * Add the Developer Extras to the WebAttribute and propagate it
1599 to WebCore::Settings. This will enable the Inspect Element menu item
1600 * CodingStyle fixes in QWebSettings
1601 * Enable the Developer Extras in the QtLauncher
1604 * Api/qwebsettings.cpp:
1605 (QWebSettingsPrivate::apply):
1606 * Api/qwebsettings.h:
1607 * QtLauncher/main.cpp:
1610 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1612 Removed unnecessary and possibly incorrect #include from my last
1615 * Api/qwebframe.cpp:
1617 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1619 Qt build fix: Get globalExec() from the right place.
1621 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1625 * Self destruct the clients like the ohter ports do
1628 * WebCoreSupport/ChromeClientQt.cpp:
1629 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1630 * WebCoreSupport/ContextMenuClientQt.cpp:
1631 * WebCoreSupport/DragClientQt.cpp:
1632 * WebCoreSupport/EditorClientQt.cpp:
1633 * WebCoreSupport/InspectorClientQt.cpp:
1635 2007-11-29 Brady Eidson <beidson@apple.com>
1637 Keep it building with new client method
1639 * WebCoreSupport/ChromeClientQt.cpp:
1640 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1641 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1642 * WebCoreSupport/ChromeClientQt.h:
1644 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1646 Reviewed by Adam Treat.
1648 Fix compilation (don't define notImplemented twice)
1650 * Api/qwebnetworkinterface.cpp:
1652 2007-11-22 Simon Hausmann <hausmann@kde.org>
1656 Use Q_SIGNALS/Q_SLOTS in the public API
1661 2007-11-22 Simon Hausmann <hausmann@kde.org>
1665 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1669 2007-11-22 Simon Hausmann <hausmann@kde.org>
1673 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1677 * Api/qwebhistoryinterface.h:
1678 * Api/qwebnetworkinterface.h:
1679 * Api/qwebobjectplugin.h:
1680 * Api/qwebobjectplugin_p.h:
1681 * Api/qwebobjectpluginconnector.h:
1683 * Api/qwebpagehistory.h:
1684 * Api/qwebsettings.h:
1686 2007-11-22 Simon Hausmann <hausmann@kde.org>
1690 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1692 * Api/qwebpagehistory.h:
1694 2007-11-22 George Staikos <staikos@kde.org>
1696 Reviewed by Simon Hausmann <hausmann@kde.org>.
1701 * Api/qwebobjectplugin.cpp:
1702 * Api/qwebobjectplugin.h:
1703 * Api/qwebobjectpluginconnector.cpp:
1704 * Api/qwebobjectpluginconnector.h:
1706 2007-11-22 Simon Hausmann <hausmann@kde.org>
1708 Reviewed by George Staikos <staikos@kde.org>.
1710 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1712 This also fixes compilation with gcc 4.3.
1715 * Api/qwebframe.cpp:
1716 (QWebFramePrivate::init):
1718 2007-11-21 Adam Treat <treat@kde.org>
1722 * Connect up the signal for all subframes too.
1724 * Api/qwebframe.cpp:
1725 (QWebFramePrivate::init):
1727 (QWebPagePrivate::createMainFrame):
1729 2007-11-20 Simon Hausmann <hausmann@kde.org>
1731 Reviewed by Adam Treat <treat@kde.org>.
1733 Remove static linkage of QtWebKit against the ICO image format plugin.
1735 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1738 * Plugins/Plugins.pro:
1740 2007-11-20 Simon Hausmann <hausmann@kde.org>
1742 Reviewed by George Staikos <staikos@kde.org>.
1744 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1749 2007-11-20 George Staikos <staikos@kde.org>
1751 Reviewed by Simon Hausmann <hausmann@kde.org>.
1753 Add an argument to pass the link text in the hovering signal
1758 (QWebPagePrivate::createMainFrame):
1759 (QWebPage::mouseMoveEvent):
1762 2007-11-20 Adam Treat <treat@kde.org>
1764 Reviewed by Simon and George.
1766 * Be quiet and allow suppression of NotImplemented calls at runtime.
1768 * WebCoreSupport/FrameLoaderClientQt.cpp:
1769 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1771 2007-11-19 Adam Treat <treat@kde.org>
1775 * Don't segfault when event pos is outside of the widget.
1778 (QWebPage::mouseMoveEvent):
1779 (QWebPage::mousePressEvent):
1780 (QWebPage::mouseDoubleClickEvent):
1781 (QWebPage::mouseReleaseEvent):
1782 (QWebPage::contextMenuEvent):
1784 2007-11-17 Timothy Hatcher <timothy@apple.com>
1786 Reviewed by Mark Rowe.
1788 Bug 13470: i18n: The Web Inspector is not localizable
1789 http://bugs.webkit.org/show_bug.cgi?id=13470
1791 * WebCoreSupport/InspectorClientQt.cpp:
1792 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1793 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1795 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1797 Build fix: changed Shared to RefCounted.
1799 * WebCoreSupport/ChromeClientQt.h:
1800 * WebCoreSupport/ContextMenuClientQt.cpp:
1801 * WebCoreSupport/ContextMenuClientQt.h:
1802 * WebCoreSupport/EditorClientQt.h:
1803 * WebCoreSupport/FrameLoaderClientQt.h:
1805 2007-11-10 Simon Hausmann <hausmann@kde.org>
1807 Reviewed by Nikolas.
1809 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1813 (QWebPagePrivate::createContextMenu):
1815 2007-11-10 Simon Hausmann <hausmann@kde.org>
1817 Reviewed by Nikolas.
1819 Added support for the Bold/Italic/Underline toggle actions.
1823 (webActionForContextMenuAction):
1824 (QWebPage::triggerAction):
1828 2007-11-10 Simon Hausmann <hausmann@kde.org>
1830 Reviewed by Nikolas.
1832 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1833 to update the enable/checked state correctly.
1837 (QWebPagePrivate::createContextMenu):
1838 (QWebPage::contextMenuEvent):
1841 2007-11-10 Simon Hausmann <hausmann@kde.org>
1843 Reviewed by Nikolas.
1845 Mark the text direction actions as checkable actions.
1851 2007-11-09 Simon Hausmann <hausmann@kde.org>
1855 Implemented the webcore actions for changing the text direction.
1859 (webActionForContextMenuAction):
1860 (QWebPage::triggerAction):
1864 2007-11-09 Simon Hausmann <hausmann@kde.org>
1868 Fix ContextMenu allocation in the Qt port.
1870 Store all items and submenus value based in ContextMenu and ContextMenuItem.
1871 That fixes the crashes when the context menu was populated with sub-menus because
1872 of the use of temporary ContextMenu objects like this:
1874 ContextMenu subMenu(...);
1875 subMenu.appendItem(...);
1876 subMenu.appendItem(...);
1878 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
1882 (QWebPage::contextMenuEvent):
1885 2007-11-09 Simon Hausmann <hausmann@kde.org>
1889 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
1895 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1899 - windowObjectCleared() is no longer const. It needs to setup the
1900 script debugger and cannot be const to do so.
1902 * WebCoreSupport/FrameLoaderClientQt.cpp:
1903 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1904 * WebCoreSupport/FrameLoaderClientQt.h:
1906 2007-11-08 Simon Hausmann <hausmann@kde.org>
1908 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
1910 The buildbots use Qt 4.4 which has the function in question, but Qt
1911 4.3 doesn't have it. Use removeAll() as replacement instead, it
1912 shouldn't make a difference in performance.
1914 * Api/qwebsettings.cpp:
1915 (QWebSettings::~QWebSettings):
1917 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1919 Reviewed by Lars Knoll <lars@trolltech.com>.
1921 Cleanup checking for the request method.
1923 * Check the request method only in QWebNetworkManager::add.
1924 * Currently HEAD, GET, POST are allowed and for everything else
1925 QWebNetworkManager::add returns false.
1926 * Returning false is compatible with ResourceHandle::start and it
1927 can be used in ResourceHandle::loadResourceSynchronously to generate
1931 * Api/qwebnetworkinterface.cpp:
1932 (QWebNetworkManager::add):
1934 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1936 Reviewed by Lars Knoll <lars@trolltech.com>.
1938 Fix bug in the implementation of synchronous network jobs.
1940 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
1941 - if (jobMode == AsynchronousJob) {
1942 + if (jobMode == SynchronousJob) {
1943 add job to synchronous list/hash
1945 * Just applying the above change will lead to crashes because we can finish
1946 jobs before we started them.
1948 * Avoid these issues by saving all work (starting a job, sending data and
1949 finishing it) inside one list. JobWork will contain any
1950 of the above three work types and doWork will just work on this list
1951 (m_pendingWork). As foreach takes a copy of the list calling started, data
1952 and finished will not add new work and we gurantee that if we have JobStarted
1953 it will be in the list before JobData and JobFinished.
1955 * Observation: We might just kill the code to handle sync jobs.
1958 * Api/qwebnetworkinterface.cpp:
1959 (QWebNetworkManager::add):
1960 (QWebNetworkManager::queueStart):
1961 (QWebNetworkManager::queueData):
1962 (QWebNetworkManager::queueFinished):
1963 (QWebNetworkManager::doWork):
1964 * Api/qwebnetworkinterface_p.h:
1965 (QWebNetworkManager::JobWork::):
1966 (QWebNetworkManager::JobWork::JobWork):
1968 2007-11-07 Simon Hausmann <hausmann@kde.org>
1970 Build fix, reviewed by nobody.
1972 Fix the Qt build by setting up WindowFeatures before calling
1973 createWindow on the Chrome. This is similar to openNewWindow in
1974 page/ContextMenuController.cpp
1979 2007-11-07 Simon Hausmann <hausmann@kde.org>
1983 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
1986 (QWebPagePrivate::QWebPagePrivate):
1987 * Api/qwebsettings.cpp:
1988 (QWebSettingsPrivate::apply):
1989 * Api/qwebsettings.h:
1991 2007-11-07 Simon Hausmann <hausmann@kde.org>
1995 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
1997 * Api/qwebpagehistory.cpp:
1998 * Api/qwebpagehistory.h:
2000 2007-11-07 Simon Hausmann <hausmann@kde.org>
2004 Removed unimplemented QWebHistoryItem::children() function
2006 * Api/qwebpagehistory.h:
2008 2007-11-07 Simon Hausmann <hausmann@kde.org>
2012 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2014 * Api/qwebsettings.cpp:
2015 (QWebSettings::fontSize):
2016 (QWebSettings::fontFamily):
2017 (QWebSettings::testAttribute):
2019 2007-11-07 Simon Hausmann <hausmann@kde.org>
2023 Added explicit functions for resetting the font sizes and font families.
2025 * Api/qwebsettings.cpp:
2026 (QWebSettings::resetFontSize):
2027 (QWebSettings::resetFontFamily):
2028 * Api/qwebsettings.h:
2030 2007-11-07 Simon Hausmann <hausmann@kde.org>
2034 Combined the font sizes accessors/setters under one setter/getter with an enum.
2036 * Api/qwebsettings.cpp:
2037 (QWebSettingsPrivate::QWebSettingsPrivate):
2038 (QWebSettingsPrivate::apply):
2039 (QWebSettings::QWebSettings):
2040 (QWebSettings::setFontSize):
2041 * Api/qwebsettings.h:
2043 2007-11-07 Simon Hausmann <hausmann@kde.org>
2047 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2051 * WebCoreSupport/FrameLoaderClientQt.cpp:
2052 (WebCore::FrameLoaderClientQt::userAgent):
2054 2007-11-07 Simon Hausmann <hausmann@kde.org>
2058 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2061 (QWebPagePrivate::_q_webActionTriggered):
2062 (QWebPage::keyPressEvent):
2065 2007-11-07 Simon Hausmann <hausmann@kde.org>
2069 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2073 * WebCoreSupport/ChromeClientQt.cpp:
2074 (WebCore::ChromeClientQt::setWindowRect):
2076 2007-11-07 Simon Hausmann <hausmann@kde.org>
2080 Renamed QWebPage::webAction() to QWebPage::action()
2083 (QWebPagePrivate::createContextMenu):
2085 * QtLauncher/main.cpp:
2086 (MainWindow::MainWindow):
2088 2007-11-07 Simon Hausmann <hausmann@kde.org>
2092 Removed a bunch of slots/functions that are now available through the new actions API.
2097 2007-11-07 Simon Hausmann <hausmann@kde.org>
2101 Added some more comments to the API after another round of API review with Lars.
2105 2007-11-07 Simon Hausmann <hausmann@kde.org>
2109 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2111 The currently selected text is a property of the page as a whole.
2113 * Api/qwebframe.cpp:
2116 (QWebPage::selectedText):
2119 2007-11-07 Simon Hausmann <hausmann@kde.org>
2123 Implemented support for settings propagation.
2125 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2127 * Api/qwebsettings.cpp:
2128 (QWebSettingsPrivate::QWebSettingsPrivate):
2129 (QWebSettingsPrivate::apply):
2130 (QWebSettings::QWebSettings):
2131 (QWebSettings::~QWebSettings):
2132 (QWebSettings::setFontFamily):
2133 * Api/qwebsettings.h:
2135 2007-11-07 Simon Hausmann <hausmann@kde.org>
2139 Reworked the QWebSettings API.
2140 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2143 (QWebPagePrivate::QWebPagePrivate):
2144 (QWebPagePrivate::~QWebPagePrivate):
2145 (QWebPage::QWebPage):
2148 * Api/qwebsettings.cpp:
2149 (QWebSettingsPrivate::QWebSettingsPrivate):
2150 (QWebSettingsPrivate::apply):
2151 (QWebSettings::defaultSettings):
2152 (QWebSettings::QWebSettings):
2153 (QWebSettings::setMinimumFontSize):
2154 (QWebSettings::setMinimumLogicalFontSize):
2155 (QWebSettings::setDefaultFontSize):
2156 (QWebSettings::setDefaultFixedFontSize):
2157 (QWebSettings::setUserStyleSheetLocation):
2158 (QWebSettings::setFontFamily):
2159 (QWebSettings::fontFamily):
2160 (QWebSettings::setAttribute):
2161 * Api/qwebsettings.h:
2162 * QtLauncher/main.cpp:
2165 2007-11-07 Simon Hausmann <hausmann@kde.org>
2169 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2171 * Api/qwebsettings.cpp:
2172 (QWebSettings::setWebGraphic):
2173 * Api/qwebsettings.h:
2175 2007-11-07 Simon Hausmann <hausmann@kde.org>
2179 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2181 * Api/qwebsettings.cpp:
2183 2007-11-07 Simon Hausmann <hausmann@kde.org>
2187 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2189 * Api/qwebsettings.cpp:
2190 * Api/qwebsettings.h:
2192 2007-11-07 Simon Hausmann <hausmann@kde.org>
2196 Changed the webAction() accessor to not be a slot but just a public function.
2200 2007-11-07 Simon Hausmann <hausmann@kde.org>
2204 Implemented createWindow() in QtLauncher.
2206 * QtLauncher/main.cpp:
2208 (MainWindow::MainWindow):
2209 (WebPage::createWindow):
2211 2007-11-07 Simon Hausmann <hausmann@kde.org>
2215 Implemented opening links in new windows
2220 (QWebPage::webActionTriggered):
2222 2007-11-07 Simon Hausmann <hausmann@kde.org>
2226 Added and implemented the "OpenLink" action.
2229 (webActionForContextMenuAction):
2230 (QWebPage::webActionTriggered):
2231 (QWebPage::webAction):
2234 2007-11-07 Simon Hausmann <hausmann@kde.org>
2238 Adjust the state of the reload action correctly.
2241 (QWebPagePrivate::updateAction):
2242 (QWebPagePrivate::updateNavigationActions):
2244 2007-11-07 Simon Hausmann <hausmann@kde.org>
2248 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2251 (QWebPagePrivate::updateAction):
2252 (QWebPage::webAction):
2253 (QWebPage::undoStack):
2256 2007-11-07 Simon Hausmann <hausmann@kde.org>
2260 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2262 * QtLauncher/main.cpp:
2263 (MainWindow::MainWindow):
2265 2007-11-07 Simon Hausmann <hausmann@kde.org>
2269 Update the editor actions when the selection changes.
2272 (QWebPagePrivate::updateAction):
2273 (QWebPagePrivate::updateEditorActions):
2275 * WebCoreSupport/EditorClientQt.cpp:
2276 (WebCore::EditorClientQt::respondToChangedSelection):
2278 2007-11-07 Simon Hausmann <hausmann@kde.org>
2282 Added cut/copy/paste actions to the toolbar of QtLauncher
2284 * QtLauncher/main.cpp:
2285 (MainWindow::MainWindow):
2287 2007-11-07 Simon Hausmann <hausmann@kde.org>
2291 Started working on keeping the state of the navigation actions up-to-date.
2294 (QWebPagePrivate::updateAction):
2295 (QWebPagePrivate::updateNavigationActions):
2296 (QWebPage::webAction):
2298 * WebCoreSupport/FrameLoaderClientQt.cpp:
2299 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2300 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2301 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2302 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2303 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2305 2007-11-07 Simon Hausmann <hausmann@kde.org>
2309 Use the navigational web actions in the toolbar
2311 * QtLauncher/main.cpp:
2312 (MainWindow::MainWindow):
2314 2007-11-07 Simon Hausmann <hausmann@kde.org>
2318 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2319 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2322 (QWebPagePrivate::QWebPagePrivate):
2323 (webActionForContextMenuAction):
2324 (QWebPagePrivate::createContextMenu):
2325 (QWebPagePrivate::_q_webActionTriggered):
2326 (QWebPage::webActionTriggered):
2327 (QWebPage::webAction):
2328 (QWebPage::contextMenuEvent):
2329 (QWebPageContext::QWebPageContext):
2330 (QWebPageContext::operator=):
2331 (QWebPageContext::~QWebPageContext):
2332 (QWebPageContext::pos):
2333 (QWebPageContext::text):
2334 (QWebPageContext::linkUrl):
2335 (QWebPageContext::imageUrl):
2336 (QWebPageContext::image):
2337 (QWebPageContext::targetFrame):
2341 2007-11-07 Simon Hausmann <hausmann@kde.org>
2345 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2348 (QWebPage::webActionTriggered):
2349 (QWebPage::keyPressEvent):
2352 2007-11-07 Simon Hausmann <hausmann@kde.org>
2356 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2357 convenience methods such as cut()/copy()/paste().
2361 (QWebPage::webActionTriggered):
2366 2007-11-07 Simon Hausmann <hausmann@kde.org>
2370 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2371 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2372 in ContextMenu::populate().
2373 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2374 out of it. That menu is currently not functional anymore though.
2377 (QWebPagePrivate::createContextMenu):
2378 (QWebPage::contextMenuEvent):
2381 2007-11-07 Simon Hausmann <hausmann@kde.org>
2385 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2386 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2387 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2391 (QWebPage::contextMenuEvent):
2392 * WebCoreSupport/ContextMenuClientQt.cpp:
2393 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2395 2007-11-07 Simon Hausmann <hausmann@kde.org>
2399 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2400 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2403 (QWebPage::mousePressEvent):
2404 (QWebPage::contextMenuEvent):
2407 2007-11-07 Simon Hausmann <hausmann@kde.org>
2411 Turned onLoadProgressChanged into a real private slot.
2414 (QWebPage::QWebPage):
2418 2007-11-07 Simon Hausmann <hausmann@kde.org>
2422 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2425 (QWebPagePrivate::QWebPagePrivate):
2428 * Api/qwebpagehistory.cpp:
2429 (QWebPageHistory::QWebPageHistory):
2430 * Api/qwebpagehistory.h:
2432 2007-11-07 Lars Knoll <lars@trolltech.com>
2436 comments on API changes that we'd like to do.
2440 2007-11-07 Simon Hausmann <hausmann@kde.org>
2442 Reviewed by Lars Knoll <lars@trolltech.com>.
2444 Add a QWebPage::frameCreated() signal and fix DRT
2446 The removal of createFrame in QWebPage broke the re-implementation
2447 in DumpRenderTree. Instead emit a frameCreated() signal and
2448 connect to it in DumpRenderTree.
2452 (QWebPagePrivate::createMainFrame):
2454 * WebCoreSupport/FrameLoaderClientQt.cpp:
2455 (WebCore::FrameLoaderClientQt::createFrame):
2457 2007-11-07 Lars Knoll <lars@trolltech.com>
2461 Remove QWebPage::createFrame()
2463 now that QWebFrame doesn't have virtual methods anymore, there
2464 is no need for a createFrame() factory method in QWebpage.
2467 (QWebPagePrivate::createMainFrame):
2469 * WebCoreSupport/FrameLoaderClientQt.cpp:
2470 (WebCore::FrameLoaderClientQt::createFrame):
2472 2007-11-07 Simon Hausmann <hausmann@kde.org>
2474 Reviewed by Lars Knoll <lars@trolltech.com>.
2476 Moved all the event handlers from QWebFrame into QWebPage.
2478 This cleans up the public API and allows us to remove the
2479 HackWebFrame hack in DumpRenderTree.
2482 * Api/qwebframe.cpp:
2485 * Api/qwebframe_p.h:
2487 (QWebPagePrivate::frameAt):
2488 (QWebPage::mouseMoveEvent):
2489 (QWebPage::mousePressEvent):
2490 (QWebPage::mouseDoubleClickEvent):
2491 (QWebPage::mouseReleaseEvent):
2492 (QWebPage::wheelEvent):
2495 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2497 Reviewed by Lars Knoll <lars@trolltech.com>.
2499 Use correct UserAgent string.
2501 * Only have one User Agent String and this place is QWebPage
2502 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2503 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2504 * ResourceRequest is != 0 when getting called from WebCore, we
2505 will only do requests when coming from WebCore and then we can
2506 use the User-Agent set with the help of the FrameLoaderClient
2507 * We might want to change QWebNetworkRequest a bit
2510 * Api/qwebnetworkinterface.cpp:
2511 (QWebNetworkRequestPrivate::init):
2513 2007-11-07 Lars Knoll <lars@trolltech.com>
2517 remove two notImplemented() warnings, as I believe we don't
2518 have to implement these methods. Add some (commented out)
2519 debug code in one place.
2521 * WebCoreSupport/EditorClientQt.cpp:
2522 (WebCore::EditorClientQt::respondToChangedSelection):
2523 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2525 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2527 Reviewed by Darin Adler.
2529 * WebCoreSupport/ChromeClientQt.cpp:
2530 (WebCore::ChromeClientQt::createWindow):
2531 * WebCoreSupport/ChromeClientQt.h:
2532 Revised to use new WebCore ChromeClient createWindow API.
2534 2007-10-31 Lars Knoll <lars@trolltech.com>
2538 fix most of the issues I found with Clipboard and DnD.
2541 (QWebPage::dragLeaveEvent):
2543 2007-10-31 Lars Knoll <lars@trolltech.com>
2547 QDrag objects need to be created on the heap.
2549 * WebCoreSupport/DragClientQt.cpp:
2550 (WebCore::DragClientQt::startDrag):
2552 2007-10-31 Lars Knoll <lars@trolltech.com>
2556 a dragLeave event is not the same as cancelling a drag.
2560 2007-10-26 Mark Rowe <mrowe@apple.com>
2562 Build fix. Add missing #include of Platform.h.
2564 * Api/qwebhistoryinterface.cpp:
2566 2007-10-25 Holger Freyther <zecke@selfish.org>
2568 Reviewed by Simon Hausmann <hausmann@kde.org>.
2570 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2571 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2572 * This is causing some regressions...
2575 * Api/qwebnetworkinterface.cpp:
2576 (QWebNetworkManager::started):
2577 (QWebNetworkInterface::addJob):
2579 2007-10-25 Holger Freyther <zecke@selfish.org>
2581 Reviewed by Simon Hausmann <hausmann@kde.org>.
2583 * 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.
2584 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2587 * Api/qwebnetworkinterface.cpp:
2588 (QWebNetworkManager::started):
2590 2007-10-25 Holger Freyther <zecke@selfish.org>
2592 Reviewed by Simon Hausmann <hausmann@kde.org>.
2594 * 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.
2595 * Use the error message from Qt. It might or might not be translated.
2598 * Api/qwebnetworkinterface.cpp:
2599 (QWebNetworkJob::errorString):
2600 (QWebNetworkJob::setErrorString):
2601 (QWebNetworkManager::finished):
2602 (QWebNetworkManager::doWork):
2603 (WebCoreHttp::onRequestFinished):
2604 * Api/qwebnetworkinterface.h:
2605 * Api/qwebnetworkinterface_p.h:
2607 2007-10-25 Holger Freyther <zecke@selfish.org>
2609 Reviewed by Simon Hausmann <hausmann@kde.org>.
2611 * 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.
2612 * 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.
2615 * Api/qwebnetworkinterface.cpp:
2616 (QWebNetworkManager::doWork):
2618 2007-10-25 Holger Freyther <zecke@selfish.org>
2620 Reviewed by Simon Hausmann <hausmann@kde.org>.
2622 * No need to initialize values in the QWebNetworkJob c'tor
2623 * 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.
2626 * Api/qwebnetworkinterface.cpp:
2627 (QWebNetworkJob::status):
2628 (QWebNetworkJob::setStatus):
2629 (QWebNetworkManager::started):
2630 (QWebNetworkManager::data):
2631 (QWebNetworkManager::finished):
2632 * Api/qwebnetworkinterface.h:
2633 * Api/qwebnetworkinterface_p.h:
2634 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2636 2007-10-25 Holger Freyther <zecke@selfish.org>
2638 Reviewed by Simon Hausmann <hausmann@kde.org>.
2640 * Consistency: Always name the jobs job.
2643 * Api/qwebnetworkinterface.cpp:
2644 (WebCoreHttp::onReadyRead):
2645 (WebCoreHttp::onRequestFinished):
2646 (WebCoreHttp::onSslErrors):
2647 (WebCoreHttp::onAuthenticationRequired):
2648 (WebCoreHttp::onProxyAuthenticationRequired):
2650 2007-10-25 Holger Freyther <zecke@selfish.org>
2652 Reviewed by Simon Hausmann <hausmann@kde.org>.
2654 * 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.
2655 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2658 * Api/qwebnetworkinterface.cpp:
2659 (QWebNetworkJob::~QWebNetworkJob):
2660 (QWebNetworkManager::QWebNetworkManager):
2661 (QWebNetworkManager::self):
2662 (QWebNetworkManager::add):
2663 (QWebNetworkManager::started):
2664 (QWebNetworkManager::finished):
2665 (QWebNetworkInterfacePrivate::sendFileData):
2666 (QWebNetworkInterfacePrivate::parseDataUrl):
2667 (QWebNetworkManager::queueStart):
2668 (QWebNetworkManager::queueData):
2669 (QWebNetworkManager::queueFinished):
2670 (QWebNetworkManager::doScheduleWork):
2671 (QWebNetworkManager::doWork):
2672 (gCleanupInterface):
2673 (QWebNetworkInterface::setDefaultInterface):
2674 (QWebNetworkInterface::defaultInterface):
2675 (QWebNetworkInterface::QWebNetworkInterface):
2676 (QWebNetworkInterface::started):
2677 (QWebNetworkInterface::data):
2678 (QWebNetworkInterface::finished):
2679 (WebCoreHttp::scheduleNextRequest):
2680 (WebCoreHttp::onResponseHeaderReceived):
2681 (WebCoreHttp::onReadyRead):
2682 (WebCoreHttp::onRequestFinished):
2683 (WebCoreHttp::cancel):
2684 * Api/qwebnetworkinterface.h:
2685 * Api/qwebnetworkinterface_p.h:
2686 (QWebNetworkManager::):
2687 (QWebNetworkManager::JobData::JobData):
2688 (QWebNetworkManager::JobFinished::JobFinished):
2690 2007-10-25 Holger Freyther <zecke@selfish.org>
2692 Reviewed by Simon Hausmann <hausmann@kde.org>.
2694 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2695 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2696 * We pass the char-decoding.html test now
2699 * Api/qwebnetworkinterface.cpp:
2700 (decodePercentEncoding):
2701 (QWebNetworkInterfacePrivate::parseDataUrl):
2703 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2705 Reviewed by Lars Knoll <lars@trolltech.com>.
2707 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2710 * WebCoreSupport/EditorClientQt.cpp:
2711 (WebCore::EditorClientQt::handleKeypress):
2713 2007-10-24 Lars Knoll <lars@trolltech.com>
2717 remove some notImplemented() warnings.
2719 * WebCoreSupport/EditorClientQt.cpp:
2720 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2721 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2722 (WebCore::EditorClientQt::respondToChangedSelection):
2724 2007-10-24 Lars Knoll <lars@trolltech.com>
2728 allow paste from DOM so we pass more test cases.
2731 (QWebPage::setSettings):
2733 2007-10-24 Lars Knoll <lars@trolltech.com>
2737 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2740 (QWebPage::keyPressEvent):
2741 (QWebPage::keyReleaseEvent):
2743 2007-10-24 Lars Knoll <lars@trolltech.com>
2747 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2749 * WebCoreSupport/EditorClientQt.cpp:
2750 (qt_dump_editing_callbacks):
2753 2007-10-24 Lars Knoll <lars@trolltech.com>
2757 implemented support for most editing shortcuts to make contentEditable usable.
2760 (QWebPage::keyPressEvent):
2762 2007-10-24 Lars Knoll <lars@trolltech.com>
2766 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2769 (QWebPage::focusInEvent):
2771 2007-10-24 Lars Knoll <lars@trolltech.com>
2775 Implement support for testing editing.
2777 * WebCoreSupport/EditorClientQt.cpp:
2778 (qt_dump_editing_callbacks):
2779 (qt_dump_set_accepts_editing):
2782 (WebCore::EditorClientQt::shouldDeleteRange):
2783 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2784 (WebCore::EditorClientQt::shouldBeginEditing):
2785 (WebCore::EditorClientQt::shouldEndEditing):
2786 (WebCore::EditorClientQt::shouldInsertText):
2787 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2788 (WebCore::EditorClientQt::shouldApplyStyle):
2789 (WebCore::EditorClientQt::didBeginEditing):
2790 (WebCore::EditorClientQt::respondToChangedContents):
2791 (WebCore::EditorClientQt::respondToChangedSelection):
2792 (WebCore::EditorClientQt::didEndEditing):
2793 (WebCore::EditorClientQt::shouldInsertNode):
2795 2007-10-19 Alp Toker <alp@atoker.com>
2799 GTK+ build fix enabling the new local database storage feature.
2800 There is also a prospective Qt build fix.
2802 * WebCoreSupport/ChromeClientQt.cpp:
2803 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2804 * WebCoreSupport/ChromeClientQt.h:
2806 2007-10-19 Simon Hausmann <hausmann@kde.org>
2808 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2809 that config.h is included before wtf/MathExtras. The former defines
2810 the MSVC defines for rand_s.
2812 * WebCoreSupport/FrameLoaderClientQt.cpp:
2814 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2818 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2820 * Api/qwebframe.cpp:
2823 2007-10-10 Alice Liu <alice.liu@apple.com>
2825 Reviewed by Geoff Garen.
2827 changes to keep the build from breaking
2829 * WebCoreSupport/FrameLoaderClientQt.cpp:
2830 (WebCore::FrameLoaderClientQt::createFrame):
2831 * WebCoreSupport/FrameLoaderClientQt.h:
2833 2007-10-09 Lars Knoll <lars@trolltech.com>
2837 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2840 (QWebPage::setSettings):
2842 2007-10-09 Lars Knoll <lars@trolltech.com>
2846 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2848 * Api/qwebnetworkinterface.cpp:
2849 (QWebNetworkManager::add):
2850 (QWebNetworkManager::cancel):
2851 (QWebNetworkManager::started):
2852 (QWebNetworkManager::data):
2853 (QWebNetworkInterfacePrivate::parseDataUrl):
2855 2007-10-09 Lars Knoll <lars@trolltech.com>
2859 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.
2862 (QWebPagePrivate::createMainFrame):
2863 (QWebPage::createFrame):
2864 * WebCoreSupport/FrameLoaderClientQt.cpp:
2865 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2866 * WebCoreSupport/FrameLoaderClientQt.h:
2868 2007-10-09 Lars Knoll <lars@trolltech.com>
2872 add a clear() method to QWebPageHistory.
2874 * Api/qwebpagehistory.cpp:
2875 (QWebPageHistory::clear):
2876 (QWebPageHistory::itemAtIndex):
2877 * Api/qwebpagehistory.h:
2879 2007-10-05 Lars Knoll <lars@trolltech.com>
2881 add proper error messages to the FrameLoaderClient.
2882 Implement ChromeClientQt::closeWindowSoon and
2883 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2884 Some fixes in DRT to make it work correctly with multiple windows.
2889 * Api/qwebnetworkinterface.cpp:
2890 (QWebNetworkManager::cancel):
2891 (QWebNetworkInterface::addJob):
2892 * WebCoreSupport/ChromeClientQt.cpp:
2893 (WebCore::ChromeClientQt::closeWindowSoon):
2894 * WebCoreSupport/FrameLoaderClientQt.cpp:
2895 (WebCore::FrameLoaderClientQt::cancelledError):
2897 (WebCore::FrameLoaderClientQt::blockedError):
2898 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2899 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2900 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2901 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2903 2007-10-03 Lars Knoll <lars@trolltech.com>
2905 Signed off by Olliej.
2907 move WebKitQt to WebKit/qt for consistency with the other ports.
2909 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
2910 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
2911 (QCookieJarPrivate::QCookieJarPrivate):
2913 (QCookieJar::QCookieJar):
2914 (QCookieJar::~QCookieJar):
2915 (QCookieJar::setCookies):
2916 (QCookieJar::cookies):
2917 (QCookieJar::isEnabled):
2918 (QCookieJar::setEnabled):
2920 (QCookieJar::setCookieJar):
2921 (QCookieJar::cookieJar):
2922 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
2923 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
2924 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
2925 (QWebFramePrivate::init):
2926 (QWebFramePrivate::parentFrame):
2927 (QWebFramePrivate::horizontalScrollBar):
2928 (QWebFramePrivate::verticalScrollBar):
2929 (QWebFrame::QWebFrame):
2930 (QWebFrame::~QWebFrame):
2931 (QWebFrame::addToJSWindowObject):
2932 (QWebFrame::markup):
2933 (QWebFrame::innerText):
2934 (QWebFrame::renderTreeDump):
2938 (QWebFrame::selectedText):
2939 (QWebFrame::childFrames):
2940 (QWebFrame::verticalScrollBarPolicy):
2941 (QWebFrame::setVerticalScrollBarPolicy):
2942 (QWebFrame::horizontalScrollBarPolicy):
2943 (QWebFrame::setHorizontalScrollBarPolicy):
2944 (QWebFrame::render):
2945 (QWebFrame::layout):
2947 (QWebFrame::geometry):
2948 (QWebFrame::evaluateJavaScript):
2949 (QWebFrame::mouseMoveEvent):
2950 (QWebFrame::mousePressEvent):
2951 (QWebFrame::mouseDoubleClickEvent):
2952 (QWebFrame::mouseReleaseEvent):
2953 (QWebFrame::wheelEvent):
2954 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
2955 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
2956 (QWebFramePrivate::QWebFramePrivate):
2957 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
2958 (WebCore::historyContains):
2959 (gCleanupInterface):
2960 (QWebHistoryInterface::setDefaultInterface):
2961 (QWebHistoryInterface::defaultInterface):
2962 (QWebHistoryInterface::QWebHistoryInterface):
2963 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
2964 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
2965 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
2968 (QWebNetworkRequestPrivate::init):
2969 (QWebNetworkRequestPrivate::setURL):
2970 (QWebNetworkRequest::QWebNetworkRequest):
2971 (QWebNetworkRequest::operator=):
2972 (QWebNetworkRequest::~QWebNetworkRequest):
2973 (QWebNetworkRequest::url):
2974 (QWebNetworkRequest::setUrl):
2975 (QWebNetworkRequest::httpHeader):
2976 (QWebNetworkRequest::setHttpHeader):
2977 (QWebNetworkRequest::httpHeaderField):
2978 (QWebNetworkRequest::setHttpHeaderField):
2979 (QWebNetworkRequest::postData):
2980 (QWebNetworkRequest::setPostData):
2981 (QWebNetworkJob::QWebNetworkJob):
2982 (QWebNetworkJob::~QWebNetworkJob):
2983 (QWebNetworkJob::url):
2984 (QWebNetworkJob::postData):
2985 (QWebNetworkJob::httpHeader):
2986 (QWebNetworkJob::request):
2987 (QWebNetworkJob::response):
2988 (QWebNetworkJob::setResponse):
2989 (QWebNetworkJob::cancelled):
2990 (QWebNetworkJob::ref):
2991 (QWebNetworkJob::deref):
2992 (QWebNetworkJob::networkInterface):
2993 (QWebNetworkJob::frame):
2994 (QWebNetworkManager::QWebNetworkManager):
2995 (QWebNetworkManager::self):
2996 (QWebNetworkManager::add):
2997 (QWebNetworkManager::cancel):
2998 (QWebNetworkManager::started):
2999 (QWebNetworkManager::data):
3000 (QWebNetworkManager::finished):
3001 (QWebNetworkManager::addHttpJob):
3002 (QWebNetworkManager::cancelHttpJob):
3003 (QWebNetworkManager::httpConnectionClosed):
3004 (QWebNetworkInterfacePrivate::sendFileData):
3005 (QWebNetworkInterfacePrivate::parseDataUrl):
3006 (gCleanupInterface):
3007 (QWebNetworkInterface::setDefaultInterface):
3008 (QWebNetworkInterface::defaultInterface):
3009 (QWebNetworkInterface::QWebNetworkInterface):
3010 (QWebNetworkInterface::~QWebNetworkInterface):
3011 (QWebNetworkInterface::addJob):
3012 (QWebNetworkInterface::cancelJob):
3013 (WebCoreHttp::WebCoreHttp):
3014 (WebCoreHttp::~WebCoreHttp):
3015 (WebCoreHttp::request):
3016 (WebCoreHttp::scheduleNextRequest):
3017 (WebCoreHttp::getConnection):
3018 (WebCoreHttp::onResponseHeaderReceived):
3019 (WebCoreHttp::onReadyRead):
3020 (WebCoreHttp::onRequestFinished):
3021 (WebCoreHttp::onDone):
3022 (WebCoreHttp::onStateChanged):
3023 (WebCoreHttp::cancel):
3024 (WebCoreHttp::onSslErrors):
3025 (WebCoreHttp::onAuthenticationRequired):
3026 (WebCoreHttp::onProxyAuthenticationRequired):
3027 (HostInfo::HostInfo):
3028 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3029 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3030 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3031 (WebCore::HostInfo::HostInfo):
3032 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3033 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3034 (QWebFactoryLoader::QWebFactoryLoader):
3035 (QWebFactoryLoader::self):
3036 (QWebFactoryLoader::descriptionForName):
3037 (QWebFactoryLoader::mimetypesForName):
3038 (QWebFactoryLoader::mimeTypeForExtension):
3039 (QWebFactoryLoader::extensions):
3040 (QWebFactoryLoader::nameForMimetype):
3041 (QWebFactoryLoader::create):
3042 (QWebObjectPlugin::QWebObjectPlugin):
3043 (QWebObjectPlugin::~QWebObjectPlugin):
3044 (QWebObjectPlugin::descriptionForKey):
3045 (QWebObjectPlugin::mimetypesForKey):
3046 (QWebObjectPlugin::extensionsForMimetype):
3047 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3048 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3049 (QWebFactoryLoader::names):
3050 (QWebFactoryLoader::supportsMimeType):
3051 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3052 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3053 (QWebObjectPluginConnector::frame):
3054 (QWebObjectPluginConnector::pluginParentWidget):
3055 (QWebObjectPluginConnector::requestUrl):
3056 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3057 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3058 (QWebPagePrivate::QWebPagePrivate):
3059 (QWebPagePrivate::~QWebPagePrivate):
3060 (QWebPagePrivate::navigationRequested):
3061 (QWebPagePrivate::createMainFrame):
3062 (QWebPage::QWebPage):
3063 (QWebPage::~QWebPage):
3064 (QWebPage::createFrame):
3068 (QWebPage::mainFrame):
3069 (QWebPage::sizeHint):
3071 (QWebPage::history):
3073 (QWebPage::goForward):
3074 (QWebPage::goToHistoryItem):
3075 (QWebPage::javaScriptConsoleMessage):
3076 (QWebPage::javaScriptAlert):
3077 (QWebPage::javaScriptConfirm):
3078 (QWebPage::javaScriptPrompt):
3079 (QWebPage::createWindow):
3080 (QWebPage::createModalDialog):
3081 (QWebPage::createPlugin):
3082 (QWebPage::navigationRequested):
3083 (QWebPage::setWindowGeometry):
3085 (QWebPage::canCopy):
3086 (QWebPage::canPaste):
3090 (QWebPage::isModified):
3091 (QWebPage::undoStack):
3092 (dropActionToDragOp):
3093 (dragOpToDropAction):
3094 (QWebPage::resizeEvent):
3095 (QWebPage::paintEvent):
3096 (QWebPage::mouseMoveEvent):
3097 (QWebPage::mousePressEvent):
3098 (QWebPage::mouseDoubleClickEvent):
3099 (QWebPage::mouseReleaseEvent):
3100 (QWebPage::wheelEvent):
3101 (QWebPage::keyPressEvent):
3102 (QWebPage::keyReleaseEvent):
3103 (QWebPage::focusInEvent):
3104 (QWebPage::focusOutEvent):
3105 (QWebPage::focusNextPrevChild):
3106 (QWebPage::dragEnterEvent):
3107 (QWebPage::dragLeaveEvent):
3108 (QWebPage::dragMoveEvent):
3109 (QWebPage::dropEvent):
3110 (QWebPage::setNetworkInterface):
3111 (QWebPage::networkInterface):
3113 (QWebPage::setSettings):
3114 (QWebPage::settings):
3115 (QWebPage::chooseFile):
3116 (QWebPage::setNetworkProxy):
3117 (QWebPage::networkProxy):
3118 (QWebPage::userAgentStringForUrl):
3119 (QWebPage::onLoadProgressChanged):
3120 (QWebPage::totalBytes):
3121 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3122 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3123 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3124 (QWebHistoryItem::QWebHistoryItem):
3125 (QWebHistoryItem::operator=):
3126 (QWebHistoryItem::~QWebHistoryItem):
3127 (QWebHistoryItem::originalUrl):
3128 (QWebHistoryItem::currentUrl):
3129 (QWebHistoryItem::title):
3130 (QWebHistoryItem::lastVisited):
3131 (QWebHistoryItem::icon):
3132 (QWebPageHistory::QWebPageHistory):
3133 (QWebPageHistory::itemAtIndex):
3134 (QWebPageHistory::operator=):
3135 (QWebPageHistory::~QWebPageHistory):
3136 (QWebPageHistory::items):
3137 (QWebPageHistory::backItems):
3138 (QWebPageHistory::forwardItems):
3139 (QWebPageHistory::canGoBack):
3140 (QWebPageHistory::canGoForward):
3141 (QWebPageHistory::goBack):
3142 (QWebPageHistory::goForward):
3143 (QWebPageHistory::goToItem):
3144 (QWebPageHistory::backItem):
3145 (QWebPageHistory::currentItem):
3146 (QWebPageHistory::forwardItem):
3147 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3148 (QExplicitlySharedDataPointer::operator*):
3149 (QExplicitlySharedDataPointer::operator->):
3150 (QExplicitlySharedDataPointer::operator T *):
3151 (QExplicitlySharedDataPointer::operator const T *):
3152 (QExplicitlySharedDataPointer::data):
3153 (QExplicitlySharedDataPointer::constData):
3154 (QExplicitlySharedDataPointer::operator==):
3155 (QExplicitlySharedDataPointer::operator!=):
3156 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3157 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3158 (QExplicitlySharedDataPointer::operator=):
3159 (QExplicitlySharedDataPointer::operator!):
3160 (::QExplicitlySharedDataPointer):
3161 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3162 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3163 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3164 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3165 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3166 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3167 (QWebSettingsPrivate::QWebSettingsPrivate):
3168 (QWebSettings::QWebSettings):
3169 (QWebSettings::~QWebSettings):
3170 (QWebSettings::setMinimumFontSize):
3171 (QWebSettings::minimumFontSize):
3172 (QWebSettings::setMinimumLogicalFontSize):
3173 (QWebSettings::minimumLogicalFontSize):
3174 (QWebSettings::setDefaultFontSize):
3175 (QWebSettings::defaultFontSize):
3176 (QWebSettings::setDefaultFixedFontSize):
3177 (QWebSettings::defaultFixedFontSize):
3178 (QWebSettings::setUserStyleSheetLocation):
3179 (QWebSettings::userStyleSheetLocation):
3180 (QWebSettings::setIconDatabaseEnabled):
3181 (QWebSettings::iconDatabaseEnabled):
3182 (QWebSettings::setWebGraphic):
3183 (QWebSettings::webGraphic):
3184 (QWebSettings::operator=):
3185 (QWebSettings::setGlobal):
3186 (QWebSettings::global):
3187 (QWebSettings::setFontFamily):
3188 (QWebSettings::fontFamily):
3189 (QWebSettings::setAttribute):
3190 (QWebSettings::testAttribute):
3191 (loadResourcePixmap):
3192 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3193 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3194 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3195 (IcoHeader::operator >>):
3196 (IcoHeader::BMP_INFOHDR::):
3197 (IcoHeader::operator<<):
3198 (IcoHeader::LessDifference::LessDifference):
3199 (IcoHeader::LessDifference::operator ()):
3200 (IcoHeader::loadFromDIB):
3201 (ICOHandler::ICOHandler):
3202 (ICOHandler::canRead):
3204 (ICOHandler::write):
3207 (ICOPlugin::capabilities):
3208 (ICOPlugin::create):
3209 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3210 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3211 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3212 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3213 (HoverLabel::HoverLabel):
3214 (HoverLabel::setHoverLink):
3215 (HoverLabel::sizeForFont):
3216 (HoverLabel::sizeHint):
3217 (HoverLabel::updateSize):
3218 (HoverLabel::resetAnimation):
3219 (HoverLabel::paintEvent):
3220 (HoverLabel::interpolate):
3221 (ClearButton::ClearButton):
3222 (ClearButton::paintEvent):
3223 (SearchEdit::SearchEdit):
3224 (SearchEdit::~SearchEdit):
3225 (SearchEdit::paintEvent):
3226 (SearchEdit::resizeEvent):
3227 (SearchEdit::moveEvent):
3228 (MainWindow::MainWindow):
3229 (MainWindow::changeLocation):
3230 (MainWindow::loadFinished):
3231 (MainWindow::showLinkHover):
3232 (MainWindow::resizeEvent):
3234 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3235 (WebCore::ChromeClientQt::ChromeClientQt):
3236 (WebCore::ChromeClientQt::~ChromeClientQt):
3237 (WebCore::ChromeClientQt::setWindowRect):
3238 (WebCore::ChromeClientQt::windowRect):
3239 (WebCore::ChromeClientQt::pageRect):
3240 (WebCore::ChromeClientQt::scaleFactor):
3241 (WebCore::ChromeClientQt::focus):
3242 (WebCore::ChromeClientQt::unfocus):
3243 (WebCore::ChromeClientQt::canTakeFocus):
3244 (WebCore::ChromeClientQt::takeFocus):
3245 (WebCore::ChromeClientQt::createWindow):
3246 (WebCore::ChromeClientQt::createModalDialog):
3247 (WebCore::ChromeClientQt::show):
3248 (WebCore::ChromeClientQt::canRunModal):
3249 (WebCore::ChromeClientQt::runModal):
3250 (WebCore::ChromeClientQt::setToolbarsVisible):
3251 (WebCore::ChromeClientQt::toolbarsVisible):
3252 (WebCore::ChromeClientQt::setStatusbarVisible):
3253 (WebCore::ChromeClientQt::statusbarVisible):
3254 (WebCore::ChromeClientQt::setScrollbarsVisible):
3255 (WebCore::ChromeClientQt::scrollbarsVisible):
3256 (WebCore::ChromeClientQt::setMenubarVisible):
3257 (WebCore::ChromeClientQt::menubarVisible):
3258 (WebCore::ChromeClientQt::setResizable):
3259 (WebCore::ChromeClientQt::addMessageToConsole):
3260 (WebCore::ChromeClientQt::chromeDestroyed):
3261 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3262 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3263 (WebCore::ChromeClientQt::closeWindowSoon):
3264 (WebCore::ChromeClientQt::runJavaScriptAlert):
3265 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3266 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3267 (WebCore::ChromeClientQt::setStatusbarText):
3268 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3269 (WebCore::ChromeClientQt::tabsToLinks):
3270 (WebCore::ChromeClientQt::windowResizerRect):
3271 (WebCore::ChromeClientQt::addToDirtyRegion):
3272 (WebCore::ChromeClientQt::scrollBackingStore):
3273 (WebCore::ChromeClientQt::updateBackingStore):
3274 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3275 (WebCore::ChromeClientQt::setToolTip):
3276 (WebCore::ChromeClientQt::print):
3277 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3278 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3279 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3280 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3281 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3282 (WebCore::ContextMenuClientQt::downloadURL):
3283 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3284 (WebCore::ContextMenuClientQt::speak):
3285 (WebCore::ContextMenuClientQt::stopSpeaking):
3286 (WebCore::ContextMenuClientQt::searchWithGoogle):
3287 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3288 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3289 (WebCore::DragClientQt::actionMaskForDrag):
3290 (WebCore::DragClientQt::willPerformDragDestinationAction):
3291 (WebCore::DragClientQt::dragControllerDestroyed):
3292 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3293 (WebCore::DragClientQt::willPerformDragSourceAction):
3294 (WebCore::DragClientQt::startDrag):
3295 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3296 (WebCore::DragClientQt::DragClientQt):
3297 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3298 (EditCommandQt::EditCommandQt):
3299 (EditCommandQt::~EditCommandQt):
3300 (EditCommandQt::redo):
3301 (EditCommandQt::undo):
3302 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3303 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3304 (WebCore::EditorClientQt::shouldDeleteRange):
3305 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3306 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3307 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3308 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3309 (WebCore::EditorClientQt::shouldBeginEditing):
3310 (WebCore::EditorClientQt::shouldEndEditing):
3311 (WebCore::EditorClientQt::shouldInsertText):
3312 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3313 (WebCore::EditorClientQt::shouldApplyStyle):
3314 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3315 (WebCore::EditorClientQt::didBeginEditing):
3316 (WebCore::EditorClientQt::respondToChangedContents):
3317 (WebCore::EditorClientQt::respondToChangedSelection):
3318 (WebCore::EditorClientQt::didEndEditing):
3319 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3320 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3321 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3322 (WebCore::EditorClientQt::isEditable):
3323 (WebCore::EditorClientQt::registerCommandForUndo):
3324 (WebCore::EditorClientQt::registerCommandForRedo):
3325 (WebCore::EditorClientQt::clearUndoRedoOperations):
3326 (WebCore::EditorClientQt::canUndo):
3327 (WebCore::EditorClientQt::canRedo):
3328 (WebCore::EditorClientQt::undo):
3329 (WebCore::EditorClientQt::redo):
3330 (WebCore::EditorClientQt::shouldInsertNode):
3331 (WebCore::EditorClientQt::pageDestroyed):
3332 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3333 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3334 (WebCore::EditorClientQt::toggleGrammarChecking):
3335 (WebCore::EditorClientQt::handleKeypress):
3336 (WebCore::EditorClientQt::handleInputMethodKeypress):
3337 (WebCore::EditorClientQt::EditorClientQt):
3338 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3339 (WebCore::EditorClientQt::textFieldDidEndEditing):
3340 (WebCore::EditorClientQt::textDidChangeInTextField):
3341 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3342 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3343 (WebCore::EditorClientQt::textDidChangeInTextArea):
3344 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3345 (WebCore::EditorClientQt::learnWord):
3346 (WebCore::EditorClientQt::checkSpellingOfString):
3347 (WebCore::EditorClientQt::checkGrammarOfString):
3348 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3349 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3350 (WebCore::EditorClientQt::showSpellingUI):
3351 (WebCore::EditorClientQt::spellingUIIsShowing):
3352 (WebCore::EditorClientQt::getGuessesForWord):
3353 (WebCore::EditorClientQt::isEditing):
3354 (WebCore::EditorClientQt::setInputMethodState):
3355 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3356 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3357 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3358 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3359 (WebCore::FrameLoaderClientQt::setFrame):
3360 (WebCore::FrameLoaderClientQt::webFrame):
3361 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3362 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3363 (WebCore::FrameLoaderClientQt::hasWebView):
3364 (WebCore::FrameLoaderClientQt::hasFrameView):
3365 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3366 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3367 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3368 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3369 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3370 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3371 (WebCore::FrameLoaderClientQt::makeDocumentView):
3372 (WebCore::FrameLoaderClientQt::makeRepresentation):
3373 (WebCore::FrameLoaderClientQt::forceLayout):
3374 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3375 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3376 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3377 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3378 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3379 (WebCore::FrameLoaderClientQt::willCloseDocument):
3380 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3381 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3382 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3383 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3384 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3385 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3386 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3387 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3388 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3389 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3390 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3391 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3392 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3393 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3394 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3395 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3396 (WebCore::FrameLoaderClientQt::dispatchShow):
3397 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3398 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3399 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3400 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3401 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3402 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3403 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3404 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3405 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3406 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3407 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3408 (WebCore::FrameLoaderClientQt::willChangeTitle):
3409 (WebCore::FrameLoaderClientQt::didChangeTitle):
3410 (WebCore::FrameLoaderClientQt::finishedLoading):
3411 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3412 (WebCore::FrameLoaderClientQt::setDefersLoading):
3413 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3414 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3415 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3416 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3417 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3418 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3419 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3420 (WebCore::FrameLoaderClientQt::restoreViewState):
3421 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3422 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3423 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3424 (WebCore::FrameLoaderClientQt::didFinishLoad):
3425 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3426 (WebCore::FrameLoaderClientQt::setTitle):
3427 (WebCore::FrameLoaderClientQt::userAgent):
3428 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3429 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3430 (WebCore::FrameLoaderClientQt::canHandleRequest):
3431 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3432 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3433 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3434 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3435 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3436 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3437 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3438 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3439 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3440 (WebCore::FrameLoaderClientQt::canCachePage):
3441 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3442 (WebCore::FrameLoaderClientQt::committedLoad):
3443 (WebCore::FrameLoaderClientQt::cancelledError):
3444 (WebCore::FrameLoaderClientQt::blockedError):
3445 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3446 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3447 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3448 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3449 (WebCore::FrameLoaderClientQt::shouldFallBack):
3450 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3451 (WebCore::FrameLoaderClientQt::download):
3452 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3453 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3454 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3455 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3456 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3457 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3458 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3459 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3460 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3461 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3462 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3463 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3464 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3465 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3466 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3467 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3468 (WebCore::FrameLoaderClientQt::startDownload):
3469 (WebCore::FrameLoaderClientQt::willUseArchive):
3470 (WebCore::FrameLoaderClientQt::createFrame):
3471 (WebCore::FrameLoaderClientQt::objectContentType):
3473 (WebCore::FrameLoaderClientQt::createPlugin):
3474 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3475 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3476 (WebCore::FrameLoaderClientQt::overrideMediaType):
3477 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3478 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3479 (WebCore::InspectorClientQt::inspectorDestroyed):
3480 (WebCore::InspectorClientQt::createPage):
3481 (WebCore::InspectorClientQt::showWindow):
3482 (WebCore::InspectorClientQt::closeWindow):
3483 (WebCore::InspectorClientQt::attachWindow):
3484 (WebCore::InspectorClientQt::detachWindow):
3485 (WebCore::InspectorClientQt::highlight):
3486 (WebCore::InspectorClientQt::hideHighlight):
3487 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3488 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3489 (WebKitFactory::WebKitFactory):
3490 (WebKitFactory::~WebKitFactory):
3491 (WebKitFactory::createPartObject):
3492 (WebKitFactory::instance):
3493 (WebKitFactory::ref):
3494 (WebKitFactory::deref):
3495 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3496 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3497 (WebKitPart::WebKitPart):
3498 (WebKitPart::~WebKitPart):
3499 (WebKitPart::openFile):
3500 (WebKitPart::openUrl):
3501 (WebKitPart::closeUrl):
3502 (WebKitPart::parentPart):
3503 (WebKitPart::frame):
3504 (WebKitPart::initView):
3505 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3506 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3508 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3509 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3510 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3511 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3512 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3513 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3514 (WebKitPartClient::WebKitPartClient):
3515 (WebKitPartClient::~WebKitPartClient):
3516 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3517 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3518 (WebKitPartInterface::WebKitPartInterface):
3519 (WebKitPartInterface::~WebKitPartInterface):
3520 (WebKitPartInterface::url):
3521 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3522 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3524 2007-10-02 Adam Treat <treat@kde.org>
3526 Reviewed by Eric Seidel.
3528 Open the requested url on the newly created window.
3529 Implement createModalDialog and provide new API for this.
3530 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3533 (QWebPage::createModalDialog):
3535 * WebCoreSupport/ChromeClientQt.cpp:
3536 (WebCore::ChromeClientQt::createWindow):
3537 (WebCore::ChromeClientQt::createModalDialog):
3539 2007-10-02 Lars Knoll <lars@trolltech.com>
3543 Add API to retrieve the frame name from QWebFrame.
3544 Implement support for DRT::dumpChildrenAsText.
3546 * Api/qwebframe.cpp:
3550 2007-10-02 Lars Knoll <lars@trolltech.com>
3554 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3556 * Api/qwebnetworkinterface.cpp:
3557 (QWebNetworkManager::started):
3558 (QWebNetworkManager::data):
3559 (QWebNetworkManager::finished):
3560 (QWebNetworkInterfacePrivate::sendFileData):
3561 (QWebNetworkInterfacePrivate::parseDataUrl):
3562 (WebCoreHttp::scheduleNextRequest):
3563 (WebCoreHttp::onSslErrors):
3564 * QtLauncher/main.cpp:
3567 2007-10-01 Lars Knoll <lars@trolltech.com>
3571 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
3573 * WebCoreSupport/FrameLoaderClientQt.cpp:
3574 (WebCore::FrameLoaderClientQt::makeDocumentView):
3575 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3576 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3577 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3578 (WebCore::FrameLoaderClientQt::objectContentType):
3579 (WebCore::FrameLoaderClientQt::createPlugin):
3581 2007-09-30 George Staikos <staikos@kde.org>
3583 Qt build fix (OS X specific).
3585 * QtLauncher/QtLauncher.pro:
3587 2007-09-26 Mark Rowe <mrowe@apple.com>
3591 * WebCoreSupport/FrameLoaderClientQt.cpp:
3592 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
3594 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3598 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3599 LGPL'ed files contain incorrect FSF address
3601 * Api/qcookiejar.cpp:
3603 * Api/qwebframe.cpp:
3605 * Api/qwebframe_p.h:
3606 * Api/qwebhistoryinterface.cpp:
3607 * Api/qwebhistoryinterface.h:
3608 * Api/qwebkitglobal.h:
3609 * Api/qwebnetworkinterface.cpp:
3610 * Api/qwebnetworkinterface.h:
3611 * Api/qwebnetworkinterface_p.h:
3612 * Api/qwebobjectplugin.cpp:
3613 * Api/qwebobjectplugin.h:
3614 * Api/qwebobjectpluginconnector.cpp:
3615 * Api/qwebobjectpluginconnector.h:
3619 * Api/qwebpagehistory.cpp:
3620 * Api/qwebpagehistory.h:
3621 * Api/qwebsettings.cpp:
3622 * Api/qwebsettings.h:
3623 * WebCoreSupport/EditCommandQt.cpp:
3624 * WebCoreSupport/EditCommandQt.h:
3626 2007-09-25 Adam Treat <treat@kde.org>
3628 Reviewed by Simon and Lars.
3630 Modifies the addToJSWindowObject to bind js objects using the built-in
3631 kjs_window class. Make sure to protect the created runtime object from
3634 Adds a signal to QWebFrame to notify clients of the beginning of a
3635 provisional load. DRT needs this.
3637 * Api/qwebframe.cpp:
3638 (QWebFrame::addToJSWindowObject):
3640 * WebCoreSupport/FrameLoaderClientQt.cpp:
3641 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3643 2007-09-10 Qing Zhao <qing@staikos.net>
3645 Reviewed by George Staikos.
3647 Don't re-encode urls, resulting in double encoding. Fixes login to
3650 * Api/qwebnetworkinterface.cpp:
3651 (QWebNetworkRequestPrivate::init):
3652 (QWebNetworkManager::started):
3654 2007-09-08 Mark Rowe <mrowe@apple.com>
3656 Qt build fix. Move stub method implementations to the right class.
3658 * WebCoreSupport/FrameLoaderClientQt.cpp:
3659 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3661 2007-09-08 Brady Eidson <beidson@apple.com>
3663 YABF (Yet Another Build Fix)
3665 * Api/qwebsettings.cpp:
3666 (QWebSettings::iconDatabaseEnabled):
3668 2007-09-08 Brady Eidson <beidson@apple.com>
3672 * WebCoreSupport/FrameLoaderClientQt.cpp:
3673 (WebCore::FrameLoaderClient::registerForIconNotification):
3674 * WebCoreSupport/FrameLoaderClientQt.h:
3676 2007-09-08 Brady Eidson <beidson@apple.com>
3680 * WebCoreSupport/FrameLoaderClientQt.cpp:
3681 (WebCore::FrameLoaderClient::registerForIconNotification):
3682 * WebCoreSupport/FrameLoaderClientQt.h:
3684 2007-09-05 Geoffrey Garen <ggaren@apple.com>
3686 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
3688 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
3689 memory cache, or a very tiny one
3691 Keep the Qt build working with an empty stub.
3693 * WebCoreSupport/FrameLoaderClientQt.cpp:
3694 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
3695 * WebCoreSupport/FrameLoaderClientQt.h:
3697 2007-09-07 George Staikos <staikos@kde.org>
3702 (QWebPage::onLoadProgressChanged):
3704 2007-09-07 Qing Zhao <qing@staikos.net>
3706 Reviewed by Anders and George.
3708 Export page size and load progress in bytes.
3711 (QWebPage::QWebPage):
3712 (QWebPage::onLoadProgressChanged):
3713 (QWebPage::totalBytes):
3714 (QWebPage::bytesReceived):
3718 2007-09-06 George Staikos <staikos@kde.org>
3722 Make popup windows work again.
3724 * WebCoreSupport/FrameLoaderClientQt.cpp:
3725 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3727 2007-09-01 Oliver Hunt <oliver@apple.com>
3731 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
3733 EditorClient::setInputMethodState stub
3735 * WebCoreSupport/EditorClientQt.cpp:
3736 (WebCore::EditorClientQt::setInputMethodState):
3737 * WebCoreSupport/EditorClientQt.h:
3739 2007-08-30 Simon Hausmann <hausmann@kde.org>
3743 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
3746 (QWebPage::keyPressEvent):
3748 2007-08-30 Simon Hausmann <hausmann@kde.org>
3752 When scrolling with the keyboard don't call update() on the entire widget.
3753 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
3757 (QWebPage::keyPressEvent):
3759 2007-08-30 Simon Hausmann <hausmann@kde.org>
3763 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
3766 (QWebPage::keyPressEvent):
3768 2007-08-29 Simon Hausmann <hausmann@kde.org>
3774 * WebCoreSupport/FrameLoaderClientQt.cpp:
3775 (WebCore::FrameLoaderClientQt::objectContentType):
3777 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
3779 Reviewed by George Staikos.
3781 Don't export ICO symbols.
3783 * Plugins/Plugins.pro:
3785 2007-08-19 George Staikos <staikos@kde.org>
3789 * WebCoreSupport/FrameLoaderClientQt.cpp:
3790 (WebCore::FrameLoaderClientQt::createPlugin):
3791 * WebCoreSupport/FrameLoaderClientQt.h:
3793 2007-08-10 Lars Knoll <lars@trolltech.com>
3795 Reviewed and landed by Simon.
3797 Limit the set of properties from the computed style to apply to Qt
3798 plugin widgets, as only a few of them make sense.
3800 * WebCoreSupport/FrameLoaderClientQt.cpp:
3803 2007-08-10 Lars Knoll <lars@trolltech.com>
3807 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
3810 (QWebPage::createPlugin):
3812 * WebCoreSupport/FrameLoaderClientQt.cpp:
3813 (WebCore::FrameLoaderClientQt::objectContentType):
3814 (WebCore::FrameLoaderClientQt::createPlugin):
3816 2007-08-10 Simon Hausmann <hausmann@kde.org>
3820 Added support for network jobs from Qt resources using the qrc protocol.
3822 * Api/qwebnetworkinterface.cpp:
3823 (QWebNetworkInterface::addJob):
3825 2007-08-10 Simon Hausmann <hausmann@kde.org>
3829 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
3830 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
3832 * WebCoreSupport/FrameLoaderClientQt.cpp:
3833 (WebCore::FrameLoaderClientQt::objectContentType):
3835 (WebCore::FrameLoaderClientQt::createPlugin):
3837 2007-08-10 Simon Hausmann <hausmann@kde.org>
3841 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
3842 and fixed widget embedding by setting the right QWidget parent.
3845 (QWebPage::createPlugin):
3847 * WebCoreSupport/FrameLoaderClientQt.cpp:
3848 (WebCore::FrameLoaderClientQt::objectContentType):
3849 (WebCore::FrameLoaderClientQt::createPlugin):
3851 2007-08-02 George Staikos <staikos@kde.org>
3855 Add an interface for the useragent string.
3858 (QWebPage::userAgentStringForUrl):
3860 * WebCoreSupport/FrameLoaderClientQt.cpp:
3861 (WebCore::FrameLoaderClientQt::userAgent):
3863 2007-08-01 Adam Treat <treat@kde.org>
3865 Reviewed by George Staikos.
3867 Add an interface to manage global history for clients
3870 * Api/qwebhistoryinterface.cpp: Added.
3871 (WebCore::historyContains):
3872 (gCleanupInterface):
3873 (QWebHistoryInterface::setDefaultInterface):
3874 (QWebHistoryInterface::defaultInterface):
3875 (QWebHistoryInterface::QWebHistoryInterface):
3876 * Api/qwebhistoryinterface.h: Added.
3878 2007-07-30 Adam Treat <treat@kde.org>
3882 * WebCoreSupport/EditorClientQt.cpp:
3883 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3884 * WebCoreSupport/EditorClientQt.h:
3886 2007-07-30 Simon Hausmann <hausmann@kde.org>
3890 Link QtLauncher into $$OUTPUT_DIR/bin
3892 * QtLauncher/QtLauncher.pro:
3894 2007-07-29 Adam Treat <treat@kde.org>
3896 Reviewed by George Staikos.
3898 Change QWebPage::paintEvent to draw using the individual rects provided
3899 via the QRegion and set the widget to use opaque paint events.
3901 These changes greatly reduce the cpu load as we are no longer painting the
3902 entire page for each 1px scroll :P
3904 * Api/qwebframe.cpp:
3905 (QWebFrame::render):
3907 (QWebPage::QWebPage):
3908 (QWebPage::paintEvent):
3909 * WebCoreSupport/ChromeClientQt.cpp:
3910 (WebCore::ChromeClientQt::addToDirtyRegion):
3912 2007-07-29 Adam Treat <treat@kde.org>
3914 Reviewed by Alexey Proskuryakov.
3916 Respect the margins when creating frames.
3917 Set the scroll mode to always off like we did before the rendered
3918 frames patch and the other ports do now.
3920 * Api/qwebframe.cpp:
3921 (QWebFramePrivate::init):
3923 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3927 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
3929 * QtLauncher/QtLauncher.pro:
3931 2007-07-27 Simon Hausmann <hausmann@kde.org>
3935 Fix compilation with MSVC.
3937 * Api/qwebpagehistory.cpp:
3938 (QWebPageHistory::operator=):
3939 * Api/qwebpagehistory.h:
3940 * Api/qwebsettings.cpp:
3941 (QWebSettings::operator=):
3942 * Api/qwebsettings.h:
3944 2007-07-26 Qing Zhao <qing@staikos.net>
3946 Reviewed by George Staikos.
3948 Add a signal for history notification.
3951 * WebCoreSupport/FrameLoaderClientQt.cpp:
3953 2007-07-24 Adam Treat <treat@kde.org>
3955 Reviewed by Niko and Lars.
3957 These are no longer necessary or used.
3959 * WebCoreSupport/FrameLoaderClientQt.cpp:
3960 * WebCoreSupport/FrameLoaderClientQt.h:
3962 2007-07-20 Adam Treat <adam@staikos.net>
3964 Reviewed by George Staikos.
3966 Add a signal for first layout and add the action type for the policy
3970 (QWebPagePrivate::navigationRequested):
3971 (QWebPage::navigationRequested):
3974 * WebCoreSupport/FrameLoaderClientQt.cpp:
3975 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3976 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3978 2007-07-19 Adam Treat <treat@kde.org>
3982 Do a recursive layout on the frame's children. This fixes a
3983 segfault found when rendering some framesets.
3985 * Api/qwebframe.cpp:
3986 (QWebFrame::render):
3987 (QWebFrame::layout):
3990 2007-07-18 Timothy Hatcher <timothy@apple.com>
3994 Make the Page with the now required InspectorClient.
3997 (QWebPagePrivate::QWebPagePrivate):
3998 * WebKitPart/WebKitPart.cpp:
3999 (WebKitPart::initView):
4001 2007-07-18 Sam Weinig <sam@webkit.org>
4005 * Api/qwebnetworkinterface.cpp:
4006 (QWebNetworkManager::started):
4007 * WebCoreSupport/FrameLoaderClientQt.cpp:
4008 (WebCore::FrameLoaderClientQt::canShowMIMEType):
4009 (WebCore::FrameLoaderClientQt::objectContentType):
4011 2007-07-18 Lars Knoll <lars@trolltech.com>
4013 Reviewed by Zack & Simon
4015 Reallow setting of scrollbar policies on QWebFrame.
4017 * Api/qwebframe.cpp:
4018 (QWebFrame::verticalScrollBarPolicy):
4019 (QWebFrame::setVerticalScrollBarPolicy):
4020 (QWebFrame::horizontalScrollBarPolicy):
4023 2007-07-17 Adam Treat <treat@kde.org>
4027 * WebCoreSupport/FrameLoaderClientQt.cpp:
4028 (WebCore::FrameLoaderClientQt::createFrame):
4030 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
4032 Blind build fix for Qt after r24366 by adding the additional
4033 WebCore::ResourceRequest& parameter to the download method.
4035 * WebCoreSupport/FrameLoaderClientQt.cpp:
4036 (WebCore::FrameLoaderClientQt::download):
4037 * WebCoreSupport/FrameLoaderClientQt.h:
4039 2007-07-17 Adam Roben <aroben@apple.com>
4041 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
4045 * WebCoreSupport/ContextMenuClientQt.cpp:
4046 * WebCoreSupport/ContextMenuClientQt.h:
4048 2007-07-16 Adam Roben <aroben@apple.com>
4050 Updated ChromeClientQt for ChromeClient changes.
4054 * WebCoreSupport/ChromeClientQt.cpp:
4055 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
4056 * WebCoreSupport/ChromeClientQt.h: Ditto.
4058 2007-07-13 Mark Rowe <mrowe@apple.com>
4062 Build fix. Stub out ChromeClientQt::print.
4064 * WebCoreSupport/ChromeClientQt.cpp:
4065 (WebCore::ChromeClientQt::print):
4066 * WebCoreSupport/ChromeClientQt.h:
4068 2007-07-12 George Staikos <staikos@kde.org>
4070 Qt build fix for assertions.
4072 * Api/qwebnetworkinterface.cpp:
4073 (QWebNetworkManager::add):
4075 2007-07-12 George Staikos <staikos@kde.org>
4079 * Api/qwebnetworkinterface.cpp:
4080 (QWebNetworkManager::add):
4082 2007-07-10 Mark Rowe <mrowe@apple.com>
4084 Qt build fix after r24126.
4086 * Api/qwebframe.cpp:
4087 (QWebFrame::evaluateJavaScript):
4089 2007-07-10 Eli Fidler <eli@staikos.net>
4091 Reviewed by George Staikos.
4093 Properly url-decode data urls.
4095 * Api/qwebnetworkinterface.cpp:
4096 (QWebNetworkInterfacePrivate::parseDataUrl):
4098 2007-07-09 Adam Treat <adam@staikos.net>
4100 Reviewed by George Staikos.
4102 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
4105 * Api/qwebframe.cpp:
4106 (QWebFramePrivate::init):
4107 (QWebFramePrivate::parentFrame):
4108 (QWebFrame::QWebFrame):
4109 (QWebFrame::render):
4111 (QWebFrame::geometry):
4112 (QWebFrame::evaluateJavaScript):
4113 (QWebFrame::mouseMoveEvent):
4114 (QWebFrame::mousePressEvent):
4115 (QWebFrame::mouseDoubleClickEvent):
4116 (QWebFrame::mouseReleaseEvent):
4117 (QWebFrame::wheelEvent):
4119 * Api/qwebobjectpluginconnector.cpp:
4120 (QWebObjectPluginConnector::pluginParentWidget):
4122 (QWebPagePrivate::QWebPagePrivate):
4123 (QWebPagePrivate::createMainFrame):
4124 (QWebPage::QWebPage):
4125 (QWebPage::javaScriptAlert):
4126 (QWebPage::javaScriptConfirm):
4127 (QWebPage::javaScriptPrompt):
4128 (QWebPage::resizeEvent):
4129 (QWebPage::paintEvent):
4130 (QWebPage::mouseMoveEvent):
4131 (QWebPage::mousePressEvent):
4132 (QWebPage::mouseDoubleClickEvent):
4133 (QWebPage::mouseReleaseEvent):
4134 (QWebPage::wheelEvent):
4135 (QWebPage::keyPressEvent):
4136 (QWebPage::keyReleaseEvent):
4137 (QWebPage::focusInEvent):
4138 (QWebPage::focusOutEvent):
4139 (QWebPage::focusNextPrevChild):
4140 (QWebPage::chooseFile):
4143 * WebCoreSupport/ChromeClientQt.cpp:
4144 (WebCore::ChromeClientQt::addToDirtyRegion):
4146 2007-07-09 George Staikos <staikos@kde.org>
4148 Fix a minor memory leak in the loader.
4150 * Api/qwebnetworkinterface.cpp:
4151 (gCleanupInterface):
4152 (QWebNetworkInterface::setDefaultInterface):
4153 (QWebNetworkInterface::defaultInterface):
4155 2007-07-09 George Staikos <staikos@kde.org>
4157 Fix a massive memory leak in the loader.
4159 * Api/qwebnetworkinterface.cpp:
4160 (QWebNetworkManager::httpConnectionClosed):
4161 (WebCoreHttp::~WebCoreHttp):
4163 2007-07-09 George Staikos <staikos@kde.org>
4167 Rework much of the HTTP stuff to make it more stable, and add SSL and
4168 proxy support. Major memory leak also discovered but it needs more
4169 research as the obvious fix causes crashes.
4171 * Api/qwebnetworkinterface.cpp:
4172 (QWebNetworkManager::add):
4173 (QWebNetworkManager::started):
4174 (QWebNetworkManager::data):
4175 (WebCoreHttp::WebCoreHttp):
4176 (WebCoreHttp::~WebCoreHttp):
4177 (WebCoreHttp::request):
4178 (WebCoreHttp::scheduleNextRequest):
4179 (WebCoreHttp::getConnection):
4180 (WebCoreHttp::onResponseHeaderReceived):
4181 (WebCoreHttp::onReadyRead):
4182 (WebCoreHttp::onRequestFinished):
4183 (WebCoreHttp::onDone):
4184 (WebCoreHttp::onStateChanged):
4185 (WebCoreHttp::onSslErrors):
4186 (WebCoreHttp::onAuthenticationRequired):
4187 (WebCoreHttp::onProxyAuthenticationRequired):
4188 * Api/qwebnetworkinterface.h:
4189 * Api/qwebnetworkinterface_p.h:
4190 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
4192 2007-07-06 Adam Treat <adam@staikos.net>
4194 Reviewed by George Staikos.
4196 Convert QWebFrame to a QFrame from a scroll area.
4198 * Api/qwebframe.cpp:
4199 (QWebFramePrivate::init):
4200 (QWebFramePrivate::parentFrame):
4201 (QWebFramePrivate::horizontalScrollBar):
4202 (QWebFramePrivate::verticalScrollBar):
4203 (QWebFrame::QWebFrame):
4204 (QWebFrame::resizeEvent):
4205 (QWebFrame::suppressScrollbars):
4206 (QWebFrame::paintEvent):
4207 (QWebFrame::mouseMoveEvent):
4208 (QWebFrame::mousePressEvent):
4209 (QWebFrame::mouseDoubleClickEvent):
4210 (QWebFrame::mouseReleaseEvent):
4211 (QWebFrame::wheelEvent):
4212 (QWebFrame::keyPressEvent):
4213 (QWebFrame::focusInEvent):
4214 (QWebFrame::focusOutEvent):
4215 (QWebFrame::evaluateJavaScript):
4217 * Api/qwebframe_p.h:
4218 * Api/qwebobjectpluginconnector.cpp:
4219 (QWebObjectPluginConnector::pluginParentWidget):
4221 2007-07-04 Adam Roben <aroben@apple.com>
4223 Added a stub for ChromeClientQt::setToolTip
4227 * WebCoreSupport/ChromeClientQt.cpp:
4228 (WebCore::ChromeClientQt::setToolTip):
4229 * WebCoreSupport/ChromeClientQt.h:
4231 2007-07-04 Adam Roben <aroben@apple.com>
4233 Added a stub for ChromeClientQt::mouseDidMoveOverElement
4237 * WebCoreSupport/ChromeClientQt.cpp:
4238 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4239 * WebCoreSupport/ChromeClientQt.h:
4241 2007-06-28 Simon Hausmann <hausmann@kde.org>
4245 Propagate mouse double click events from Qt to WebCore.
4247 * Api/qwebframe.cpp:
4248 (QWebFrame::mouseDoubleClickEvent):
4251 2007-06-28 Simon Hausmann <hausmann@kde.org>
4255 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
4259 (QWebPage::canCopy):
4260 (QWebPage::canPaste):
4265 * WebCoreSupport/EditorClientQt.cpp:
4267 2007-06-27 George Staikos <staikos@kde.org>
4269 Compile with various Qt configurations.
4271 * Api/qwebnetworkinterface.cpp:
4272 (WebCoreHttp::scheduleNextRequest):
4274 (QWebPage::javaScriptPrompt):
4275 (QWebPage::dragEnterEvent):
4276 (QWebPage::dragLeaveEvent):
4277 (QWebPage::dragMoveEvent):
4278 (QWebPage::dropEvent):
4279 (QWebPage::chooseFile):
4282 * WebCoreSupport/DragClientQt.cpp:
4283 (WebCore::DragClientQt::startDrag):
4285 2007-06-27 Eli Fidler <eli@staikos.net>
4287 Reviewed by George Staikos.
4289 Check for QT_NO_IMAGE_TEXT and compile either way.
4291 * Plugins/ICOHandler.cpp:
4294 2007-06-27 Eli Fidler <eli@staikos.net>
4296 Reviewed by George Staikos.
4298 Remove QT3_SUPPORT dependency in the ICO plugin.
4300 * Plugins/ICOHandler.cpp:
4301 (IcoHeader::loadFromDIB):
4303 2007-06-25 George Staikos <staikos@kde.org>
4307 Start to add proxy and SSL support to WebKit Qt. Proxy works
4308 unauthenticated. Added hooks to be able to add authentication.
4309 Also fixes some network errors.
4311 * Api/qwebnetworkinterface.cpp:
4312 (QWebNetworkRequestPrivate::setURL):
4313 (QWebNetworkJob::frame):
4314 (WebCoreHttp::WebCoreHttp):
4315 (WebCoreHttp::scheduleNextRequest):
4316 (WebCoreHttp::onRequestFinished):
4317 (WebCoreHttp::onDone):
4318 (WebCoreHttp::onSslErrors):
4319 (WebCoreHttp::onAuthenticationRequired):
4320 (WebCoreHttp::onProxyAuthenticationRequired):
4321 * Api/qwebnetworkinterface.h:
4322 * Api/qwebnetworkinterface_p.h:
4324 (QWebPage::setNetworkProxy):
4325 (QWebPage::networkProxy):
4329 2007-06-21 Adam Treat <adam@staikos.net>
4331 Reviewed by George Staikos.
4333 Implement the default resources on Qt.
4337 * Api/qwebsettings.cpp:
4338 (QWebSettings::setWebGraphic):
4339 (QWebSettings::webGraphic):
4340 (loadResourcePixmap):
4341 * Api/qwebsettings.h:
4343 2007-06-15 Adam Treat <adam@staikos.net>
4345 Reviewed by George Staikos.
4347 Add ICO support to the Qt build.
4352 * Api/qwebsettings.cpp:
4353 (QWebSettings::setIconDatabaseEnabled):
4354 (QWebSettings::iconDatabaseEnabled):
4355 * Api/qwebsettings.h:
4357 * Plugins/ICOHandler.cpp: Added.
4358 (IcoHeader::operator >>):
4359 (IcoHeader::BMP_INFOHDR::):
4360 (IcoHeader::operator<<):
4361 (IcoHeader::LessDifference::LessDifference):
4362 (IcoHeader::LessDifference::operator ()):
4363 (IcoHeader::loadFromDIB):
4364 (ICOHandler::ICOHandler):
4365 (ICOHandler::canRead):
4367 (ICOHandler::write):
4370 (ICOPlugin::capabilities):
4371 (ICOPlugin::create):
4372 * Plugins/ICOHandler.h: Added.
4373 * Plugins/Plugins.pro: Added.
4374 * WebCoreSupport/FrameLoaderClientQt.cpp:
4375 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
4377 2007-06-15 George Staikos <staikos@kde.org>
4379 Fixing the Qt build.
4381 * WebCoreSupport/ContextMenuClientQt.cpp:
4382 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
4383 * WebCoreSupport/ContextMenuClientQt.h:
4385 2007-06-20 Adam Roben <aroben@apple.com>
4387 More speculative Qt build fixes.
4389 Add a stub implementation of InspectorClientQt.
4391 * WebCoreSupport/InspectorClientQt.cpp: Added.
4392 (WebCore::InspectorClientQt::inspectorDestroyed):
4393 (WebCore::InspectorClientQt::createPage):
4394 (WebCore::InspectorClientQt::showWindow):
4395 (WebCore::InspectorClientQt::closeWindow):
4396 (WebCore::InspectorClientQt::attachWindow):
4397 (WebCore::InspectorClientQt::detachWindow):
4398 (WebCore::InspectorClientQt::highlight):
4399 (WebCore::InspectorClientQt::hideHighlight):
4400 * WebCoreSupport/InspectorClientQt.h: Added.
4402 2007-06-19 George Staikos <staikos@kde.org>
4404 Reviewed by Tim Hatcher.
4408 * Api/qwebnetworkinterface.cpp:
4409 (QWebNetworkInterface::addJob):
4410 (QWebNetworkInterface::cancelJob):
4411 (WebCoreHttp::WebCoreHttp):
4413 2007-06-14 George Staikos&n