1 2008-03-12 Simon Hausmann <hausmann@webkit.org>
3 Fix compilation against Qt 4.3
9 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
13 * WebCoreSupport/FrameLoaderClientQt.cpp:
14 (FrameLoaderClientQt::CreatePlugin):
16 2008-03-11 Simon Hausmann <hausmann@webkit.org>
18 Fix the Qt build (silly typo).
20 * QtLauncher/main.cpp:
21 (MainWindow::MainWindow):
23 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
27 Moved obscuring progress bar to the lower right corner.
29 * QtLauncher/main.cpp:
30 (MainWindow::MainWindow):
31 (MainWindow::resizeEvent):
33 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
37 Added reload action and grouped stop and reload actions together.
39 * QtLauncher/main.cpp:
40 (MainWindow::MainWindow):
42 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
46 * Set a Icon on the QAction if we have one.
51 2008-03-11 Simon Hausmann <hausmann@webkit.org>
56 (QWebFrame::addToJSWindowObject):
58 2008-03-07 Simon Hausmann <hausmann@webkit.org>
64 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
66 * Api/qwebnetworkinterface.cpp:
67 (QWebNetworkManager::add):
68 (QWebNetworkManager::cancel):
69 (QWebNetworkManager::started):
70 (QWebNetworkManager::data):
71 (QWebNetworkManager::finished):
72 * Api/qwebnetworkinterface_p.h:
73 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
74 * Api/qwebobjectplugin.cpp: Removed.
75 * Api/qwebobjectplugin.h: Removed.
76 * Api/qwebobjectplugin_p.h: Removed.
77 * Api/qwebobjectpluginconnector.cpp: Removed.
78 * Api/qwebobjectpluginconnector.h: Removed.
80 (QWebPagePrivate::QWebPagePrivate):
81 (QWebPage::setPluginFactory):
82 (QWebPage::pluginFactory):
85 * Api/qwebpluginfactory.cpp: Added.
86 (QWebPluginFactory::QWebPluginFactory):
87 (QWebPluginFactory::~QWebPluginFactory):
88 (QWebPluginFactory::refreshPlugins):
89 (QWebPluginFactory::extension):
90 * Api/qwebpluginfactory.h: Added.
92 * WebCoreSupport/FrameLoaderClientQt.cpp:
93 (WebCore::FrameLoaderClientQt::objectContentType):
94 (WebCore::FrameLoaderClientQt::createPlugin):
96 2008-03-07 Simon Hausmann <hausmann@webkit.org>
102 2008-03-04 Sam Weinig <sam@webkit.org>
104 Reviewed by Mark Rowe.
106 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
110 (QWebFrame::addToJSWindowObject):
112 2008-03-04 Mark Rowe <mrowe@apple.com>
114 Another go at fixing the Qt build.
117 (QWebFrame::addToJSWindowObject):
119 2008-02-24 Darin Adler <darin@apple.com>
123 - remove separate client calls for "standard" and "reload' history
125 * WebCoreSupport/FrameLoaderClientQt.cpp:
126 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
127 * WebCoreSupport/FrameLoaderClientQt.h:
129 2008-02-24 Darin Adler <darin@apple.com>
131 - another try at fixing the build
134 (QWebFrame::load): Replace new FormData with FormData::create.
136 2008-02-22 Sam Weinig <sam@webkit.org>
140 * Api/qwebhistoryinterface.cpp:
142 2008-02-22 Sam Weinig <sam@webkit.org>
144 Rubber-stamped by Adam Roben.
146 Rid the project of the Devil known as DeprecatedString!
148 * Api/qwebhistory.cpp:
149 * Api/qwebhistoryinterface.cpp:
151 2008-02-18 Darin Adler <darin@apple.com>
155 * Api/qwebnetworkinterface.cpp:
156 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
158 2008-01-24 David Boddie <dboddie@trolltech.com>
162 Documentation tidying.
166 * Api/qwebhistoryinterface.cpp:
169 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
173 Text for translations were used wrongly as comments
176 * WebCoreSupport/FrameLoaderClientQt.cpp:
178 (WebCore::FrameLoaderClientQt::cannotShowURLError):
179 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
180 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
181 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
182 (WebCore::FrameLoaderClientQt::shouldFallBack):
184 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
188 * We have a KURL->QUrl conversion on KURL itself, make use of it.
189 * This conversion is supposed to be loss-free
194 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
196 * Rubber stamped by Simon
198 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
199 This was found while working on the page-cache, other ports are not affected.
201 * WebCoreSupport/FrameLoaderClientQt.cpp:
202 (WebCore::FrameLoaderClientQt::createFrame):
204 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
206 Reviewed by Simon Hausmann <hausmann@webkit.org>.
208 Fix Qtopia compilation with QT_NO_TOOLTIP
211 * WebCoreSupport/ChromeClientQt.cpp:
212 (WebCore::ChromeClientQt::print):
214 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
218 Doc: Replaced \code with snippets in the docs
223 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
227 Tweak key presses even to match commonly expected behavior
228 - space key == page down
229 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
230 - Use font height rather then a hard coded "10" for left, right, up, down
231 - Ctrl-Up moves to the top of the page
232 - Ctrl-Down move to the bottom of the page
233 - Backspace == GoBack
234 - Shift-Backspace == GoForward
238 (dropActionToDragOp):
239 (dragOpToDropAction):
240 (QWebPagePrivate::keyPressEvent):
242 2008-01-23 Simon Hausmann <hausmann@webkit.org>
246 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
248 Added two signals to QWebPage to handle downloading of links and handling of
253 (QWebPage::triggerAction):
255 * WebCoreSupport/FrameLoaderClientQt.cpp:
256 (WebCore::FrameLoaderClientQt::download):
257 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
258 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
259 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
260 (WebCore::FrameLoaderClientQt::willUseArchive):
262 2008-01-22 Lars Knoll <lars@trolltech.com>
266 setup a family for cursive and fantasy fonts as well.
269 * Api/qwebsettings.cpp:
270 (QWebSettings::QWebSettings):
272 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
276 Implement ChromeClientQt::setToolTip
277 Implement ChromeClientQt::mouseDidMoveOverElement
282 * WebCoreSupport/ChromeClientQt.cpp:
283 (WebCore::ChromeClientQt::ChromeClientQt):
284 (WebCore::ChromeClientQt::focus):
285 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
286 (WebCore::ChromeClientQt::setToolTip):
287 (WebCore::ChromeClientQt::print):
288 * WebCoreSupport/ChromeClientQt.h:
290 2008-01-21 Darin Adler <darin@apple.com>
292 Reviewed by John Sullivan.
294 - updated for changes to ChromeClient database functions
296 * WebCoreSupport/ChromeClientQt.cpp:
297 (WebCore::ChromeClientQt::exceededDatabaseQuota):
298 * WebCoreSupport/ChromeClientQt.h:
300 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
304 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
307 * Api/qwebhistoryinterface.h:
309 2008-01-21 Adam Treat <treat@kde.org>
313 * Don't leak the d-pointer in QWebSettings.
316 * Api/qwebsettings.cpp:
317 (QWebSettings::~QWebSettings):
319 2008-01-21 Simon Hausmann <hausmann@webkit.org>
323 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
325 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
330 2008-01-21 Simon Hausmann <hausmann@webkit.org>
334 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
336 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
337 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
338 and make the return value depend on whether we successfully determined a focusable
340 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
341 if we could not handle the focus chain ourselves.
342 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
343 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
344 used to control the situation of stepping out of the focus chain inside the page.
345 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
346 The layout tests expect this to be disabled but for the user it seems sensible to have it
347 on by default, hence the default in qwebsettings.cpp
351 (QWebPage::focusNextPrevChild):
352 * Api/qwebsettings.cpp:
353 (QWebSettings::QWebSettings):
354 * Api/qwebsettings.h:
356 (QWebView::QWebView):
357 (QWebView::focusNextPrevChild):
358 * WebCoreSupport/ChromeClientQt.cpp:
359 (WebCore::ChromeClientQt::canTakeFocus):
360 (WebCore::ChromeClientQt::takeFocus):
362 2008-01-18 Simon Hausmann <hausmann@webkit.org>
366 Coding style fixes and added a comment about the include order.
370 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
372 Reviewed by Simon Hausmann <hausmann@webkit.org>.
374 Add use of precompiled header, when building inside Qt.
376 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.
379 * WebKit_pch.h: Added.
381 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
385 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
386 we will see a crash in a HashSet.
387 * It is crashing there because the StringImpl of an empty String is 0.
388 * We avoid this crash by checking for isEmpty() in WebKit as there is no
389 use to ask the iconDatabase for an empty string. We will fallback to the
396 2008-01-17 Simon Hausmann <hausmann@webkit.org>
400 Minor documentation fixes
406 2008-01-17 Simon Hausmann <shausman@trolltech.com>
410 Fix form elements not focusing correctly after the qt widget lost its focus.
412 When receiving a focus out event notify the focus controller. Otherwise its
413 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
414 event shortcuts and doesn't call setActive(true).
419 2008-01-17 Simon Hausmann <shausman@trolltech.com>
423 Lots of updates to the documentation.
427 * Api/qwebhistory.cpp:
429 (QWebPagePrivate::dropEvent):
432 (QWebPage::triggerAction):
433 (QWebPage::viewportSize):
434 (QWebPage::navigationRequested):
437 (QWebPageContext::targetFrame):
441 2008-01-17 Simon Hausmann <shausman@trolltech.com>
445 Added a urlChanged signals to QWebFrame and QWebView.
453 * WebCoreSupport/FrameLoaderClientQt.cpp:
455 2008-01-17 Simon Hausmann <shausman@trolltech.com>
459 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
462 * Api/qwebsettings.cpp:
463 (QWebSettings::setIconDatabaseEnabled):
465 2008-01-17 Simon Hausmann <shausman@trolltech.com>
469 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
473 (QWebPage::createWindow):
475 (QWebView::createWindow):
478 2008-01-17 Lars Knoll <lars@trolltech.com>
482 add a 0 pointer check.
484 Fixes a crash in the demo web browser.
486 * WebCoreSupport/FrameLoaderClientQt.cpp:
487 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
489 2008-01-17 Simon Hausmann <hausmann@webkit.org>
493 Fix QWebFrame::title().
495 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
496 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
502 2008-01-17 Simon Hausmann <hausmann@webkit.org>
504 Reviewed by Maciej, Lars, Holger.
506 http://bugs.webkit.org/show_bug.cgi?id=16589
508 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
510 * Api/qwebnetworkinterface.cpp:
511 (QWebNetworkRequestPrivate::init):
512 (QWebNetworkManager::started):
514 2008-01-17 Warwick Allison <warwick@trolltech.com>
516 Reviewed by Simon Hausmann <hausmann@webkit.org>.
518 Follow QWidget::keyPressEvent advice and call parents.
520 Without this, Back does not work in Qtopia, for example.
524 (QWebView::keyPressEvent):
525 (QWebView::keyReleaseEvent):
527 2008-01-17 Simon Hausmann <hausmann@webkit.org>
531 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
533 * Api/qwebnetworkinterface.cpp:
534 (QWebNetworkManager::started):
536 2008-01-17 Simon Hausmann <shausman@trolltech.com>
540 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
545 * WebCoreSupport/FrameLoaderClientQt.cpp:
547 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
549 Reviewed by Simon Hausmann <hausmann@webkit.org>.
551 Fixes compilation with QT_NO_DRAGANDDROP
557 (QWebView::dragEnterEvent):
558 (QWebView::dragLeaveEvent):
559 (QWebView::dragMoveEvent):
560 (QWebView::dropEvent):
562 2008-01-17 Simon Hausmann <hausmann@webkit.org>
566 Fix compilation, removed obsolete privateBrowsingEnabled() method.
568 * WebCoreSupport/FrameLoaderClientQt.cpp:
570 2008-01-16 Lars Knoll <lars@trolltech.com>
572 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
574 Removed a whole bunch of notImplemented() warnings.
576 I don't want to hide the real warnings in lots of things that
577 I am by now pretty certain we won't need.
580 * WebCoreSupport/FrameLoaderClientQt.cpp:
581 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
582 (WebCore::FrameLoaderClientQt::canShowMIMEType):
584 2008-01-16 Simon Hausmann <hausmann@webkit.org>
588 Fix crash when bringing up the context menu on maps.google.com.
590 If the website provides its own context menu then we don't have a ContextMenu pointer.
594 (QWebPagePrivate::contextMenuEvent):
596 2008-01-16 Simon Hausmann <hausmann@webkit.org>
600 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
603 (QWebView::mouseMoveEvent):
604 (QWebView::mousePressEvent):
605 (QWebView::mouseDoubleClickEvent):
606 (QWebView::mouseReleaseEvent):
607 (QWebView::contextMenuEvent):
608 (QWebView::wheelEvent):
609 (QWebView::keyPressEvent):
610 (QWebView::keyReleaseEvent):
611 (QWebView::focusInEvent):
612 (QWebView::focusOutEvent):
613 (QWebView::dragEnterEvent):
614 (QWebView::dragLeaveEvent):
615 (QWebView::dragMoveEvent):
616 (QWebView::dropEvent):
617 (QWebView::focusNextPrevChild):
619 2008-01-16 Simon Hausmann <hausmann@webkit.org>
623 Made the url property read-write.
627 2008-01-16 Simon Hausmann <hausmann@webkit.org>
631 Don't crash when showing a default initialized QWebView that has no page/frame yet.
634 (QWebView::paintEvent):
636 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
640 Change hoveringOverLink implementation to have less issues.
642 * Currently we only compare a pointer. In the worst case we
643 could delete the Element we have pointed to and a new one
644 gets the same address. But even if that doesn't happen the
645 WebCore::Element is mutable and JavaScript could change the
646 URL, Title or Content. So we have to compare all these three
648 * This does not seem to be a performance impact.
652 (QWebPagePrivate::mouseMoveEvent):
655 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
659 * Move the hoverElement from QWebFrame to QWebPage. As it is
664 (QWebFramePrivate::QWebFramePrivate):
666 (QWebPagePrivate::mouseMoveEvent):
669 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
673 EventHandler changes/fixes in QWebPage:
674 -mouse{Press,Move,Release}Event:
675 Send the event always to the mainFrame of the QWebPage.
677 -contextMenuEvent, key{Press,Release}Event:
678 Send the event to the focused frame.
680 This is following the Windows port and fixes a issue with the
681 Web Inspector where we were sending the events to a wrong frame.
683 It is guaranteed that the mainFrame will always have an eventHandler
684 and frameView set. There is no need to check for this in QWebPage.
688 (QWebFramePrivate::init):
690 (QWebFramePrivate::QWebFramePrivate):
692 (QWebPagePrivate::updateEditorActions):
693 (QWebPagePrivate::mouseMoveEvent):
694 (QWebPagePrivate::mousePressEvent):
695 (QWebPagePrivate::mouseDoubleClickEvent):
696 (QWebPagePrivate::mouseReleaseEvent):
697 (QWebPagePrivate::contextMenuEvent):
698 (QWebPagePrivate::wheelEvent):
699 (QWebPagePrivate::keyPressEvent):
700 (QWebPagePrivate::keyReleaseEvent):
701 (QWebPagePrivate::focusInEvent):
704 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
708 * Add core and kit functions to QWebFramePrivate to convert from
709 QWebFrame to WebCore::Frame and vice versa.
713 (QWebFramePrivate::core):
714 (QWebFramePrivate::kit):
718 2008-01-16 Lars Knoll <lars@trolltech.com>
722 add conversion methods from and to QUrl to KURL.
724 Use them in the places I found at the moment. Fixes a bug
725 where form data was encoded twice.
726 Also fix QWebSettings to take a QUrl for the user style sheet
733 (QWebPage::createPlugin):
735 (QWebPage::triggerAction):
736 * Api/qwebsettings.cpp:
737 (QWebSettingsPrivate::apply):
738 * Api/qwebsettings.h:
739 * WebCoreSupport/ChromeClientQt.cpp:
740 (WebCore::ChromeClientQt::createWindow):
741 (WebCore::ChromeClientQt::show):
743 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
747 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
748 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
749 the QWebPage/WebInspector automatically.
752 * WebCoreSupport/InspectorClientQt.cpp:
753 (WebCore::InspectorClientWebPage::createWindow):
754 (WebCore::InspectorClientView::InspectorClientView):
756 2008-01-10 Maciej Stachowiak <mjs@apple.com>
760 - remove SecurityOriginData and fold its functionality into SecurityOrigin
762 * WebCoreSupport/ChromeClientQt.cpp:
763 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
764 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
765 * WebCoreSupport/ChromeClientQt.h:
767 2008-01-10 Lars Knoll <lars@trolltech.com>
774 * Api/qwebhistory.cpp:
775 (QWebHistoryItem::QWebHistoryItem):
776 (QWebHistoryItem::operator=):
777 (QWebHistoryItem::~QWebHistoryItem):
778 (QWebHistoryItem::originalUrl):
779 (QWebHistoryItem::currentUrl):
780 (QWebHistoryItem::title):
781 (QWebHistoryItem::icon):
782 (QWebHistory::canGoBack):
783 (QWebHistory::canGoForward):
784 (QWebHistory::goBack):
785 (QWebHistory::goForward):
786 (QWebHistory::goToItem):
789 2008-01-10 Simon Hausmann <hausmann@webkit.org>
793 Make the reset() functions not do anything on the default QWebSettings object.
796 * Api/qwebsettings.cpp:
797 (QWebSettings::resetFontSize):
798 (QWebSettings::resetFontFamily):
799 (QWebSettings::clearAttribute):
801 2008-01-10 Lars Knoll <lars@trolltech.com>
805 rename QWebPageHistory to QWebHistory.
808 * Api/qwebhistory.cpp: Added.
809 (QWebHistoryItem::QWebHistoryItem):
810 (QWebHistoryItem::operator=):
811 (QWebHistoryItem::~QWebHistoryItem):
812 (QWebHistoryItem::originalUrl):
813 (QWebHistoryItem::currentUrl):
814 (QWebHistoryItem::title):
815 (QWebHistoryItem::lastVisited):
816 (QWebHistoryItem::icon):
817 (QWebHistory::QWebHistory):
818 (QWebHistory::~QWebHistory):
819 (QWebHistory::clear):
820 (QWebHistory::items):
821 (QWebHistory::backItems):
822 (QWebHistory::forwardItems):
823 (QWebHistory::canGoBack):
824 (QWebHistory::canGoForward):
825 (QWebHistory::goBack):
826 (QWebHistory::goForward):
827 (QWebHistory::goToItem):
828 (QWebHistory::backItem):
829 (QWebHistory::currentItem):
830 (QWebHistory::forwardItem):
831 (QWebHistory::itemAtIndex):
832 * Api/qwebhistory.h: Added.
833 * Api/qwebhistory_p.h: Added.
834 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
835 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
836 (QWebHistoryPrivate::QWebHistoryPrivate):
837 (QWebHistoryPrivate::~QWebHistoryPrivate):
839 (QWebPagePrivate::QWebPagePrivate):
842 * Api/qwebpagehistory.cpp: Removed.
843 * Api/qwebpagehistory.h: Removed.
844 * Api/qwebpagehistory_p.h: Removed.
848 2008-01-10 Simon Hausmann <hausmann@webkit.org>
852 Documentation for QWebSettings
855 * Api/qwebsettings.cpp:
856 (QWebSettings::~QWebSettings):
857 (QWebSettings::setFontSize):
858 (QWebSettings::resetFontSize):
859 (QWebSettings::setUserStyleSheetLocation):
860 (QWebSettings::userStyleSheetLocation):
861 (QWebSettings::iconDatabaseEnabled):
862 (QWebSettings::webGraphic):
863 (QWebSettings::setFontFamily):
864 (QWebSettings::resetFontFamily):
865 (QWebSettings::setAttribute):
867 2008-01-10 Lars Knoll <lars@trolltech.com>
871 Document QWebHistoryInterface.
874 * Api/qwebhistoryinterface.cpp:
875 (QWebHistoryInterface::defaultInterface):
876 (QWebHistoryInterface::~QWebHistoryInterface):
878 2008-01-10 Lars Knoll <lars@trolltech.com>
882 Documentation for QWebFrame.
889 (QWebFrame::setHtml):
890 (QWebFrame::parentFrame):
893 (QWebFrame::geometry):
897 2008-01-10 Lars Knoll <lars@trolltech.com>
901 fix the drawing errors that where introduced due to refactoring.
903 Correctly clip to the rectangle we want to draw in ScrollView::paint().
910 (QWebView::paintEvent):
911 * WebCoreSupport/ChromeClientQt.cpp:
912 (WebCore::ChromeClientQt::scrollBackingStore):
914 2008-01-10 Simon Hausmann <hausmann@webkit.org>
918 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
922 (QWebPagePrivate::dropEvent):
923 (QWebPage::QWebPage):
924 (QWebPage::~QWebPage):
925 (QWebPage::mainFrame):
926 (QWebPage::currentFrame):
930 (QWebPage::javaScriptConsoleMessage):
931 (QWebPage::javaScriptAlert):
932 (QWebPage::javaScriptConfirm):
933 (QWebPage::javaScriptPrompt):
934 (QWebPage::createWindow):
935 (QWebPage::createModalDialog):
937 (QWebPage::triggerAction):
938 (QWebPage::viewportSize):
939 (QWebPage::navigationRequested):
940 (QWebPage::selectedText):
941 (QWebPage::isModified):
942 (QWebPage::focusNextPrevChild):
943 (QWebPage::settings):
944 (QWebPage::networkProxy):
945 (QWebPage::setNetworkAccessManager):
946 (QWebPage::networkAccessManager):
947 (QWebPagePrivate::_q_onLoadProgressChanged):
950 2008-01-07 Holger Freyther <zecke@selfish.org>
952 Reviewed by Alp Toker.
954 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
956 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
957 * Update the ContextMenuController to accept CheckableActionTypes as well.
958 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
959 was extracted from ContextMenu::checkOrEnableIfNeeded.
960 * Update the Qt and Windows port.
963 (QWebPagePrivate::createContextMenu):
965 2008-01-07 Simon Hausmann <hausmann@webkit.org>
967 Build fix for the Windows build. MSVC wants to see the full
968 declaration of arguments even when just passing them through.
972 2008-01-07 Simon Hausmann <hausmann@webkit.org>
976 Added the missing parameters to make it possible to do POST operations from the public API.
978 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
979 two extra arguments were in QNetworkRequest :-/
989 2008-01-07 Simon Hausmann <hausmann@webkit.org>
993 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
999 * Api/qwebnetworkinterface.cpp:
1000 * Api/qwebnetworkinterface.h:
1001 * Api/qwebnetworkinterface_p.h:
1002 * Api/qwebobjectplugin.cpp:
1003 * Api/qwebobjectplugin.h:
1004 * Api/qwebobjectplugin_p.h:
1005 * Api/qwebobjectpluginconnector.cpp:
1006 * Api/qwebobjectpluginconnector.h:
1008 (QWebPagePrivate::QWebPagePrivate):
1009 (QWebPagePrivate::~QWebPagePrivate):
1010 (QWebPagePrivate::navigationRequested):
1011 (QWebPage::setNetworkInterface):
1012 (QWebPage::networkInterface):
1013 (QWebPage::setNetworkAccessManager):
1014 (QWebPage::networkAccessManager):
1019 * WebCoreSupport/FrameLoaderClientQt.cpp:
1020 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1021 (WebCore::FrameLoaderClientQt::objectContentType):
1022 (WebCore::FrameLoaderClientQt::createPlugin):
1024 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1028 * Move the QWebPagePrivate methods up to the other private ones
1031 (dropActionToDragOp):
1032 (dragOpToDropAction):
1033 (QWebPagePrivate::mouseMoveEvent):
1034 (QWebPagePrivate::mousePressEvent):
1035 (QWebPagePrivate::mouseDoubleClickEvent):
1036 (QWebPagePrivate::mouseReleaseEvent):
1037 (QWebPagePrivate::contextMenuEvent):
1038 (QWebPagePrivate::wheelEvent):
1039 (QWebPagePrivate::keyPressEvent):
1040 (QWebPagePrivate::keyReleaseEvent):
1041 (QWebPagePrivate::focusInEvent):
1042 (QWebPagePrivate::focusOutEvent):
1043 (QWebPagePrivate::dragEnterEvent):
1044 (QWebPagePrivate::dragLeaveEvent):
1045 (QWebPagePrivate::dragMoveEvent):
1046 (QWebPagePrivate::dropEvent):
1047 (QWebPage::focusNextPrevChild):
1049 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1053 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1057 (dragOpToDropAction):
1059 (QWebView::mouseMoveEvent):
1060 (QWebView::mousePressEvent):
1061 (QWebView::mouseDoubleClickEvent):
1062 (QWebView::mouseReleaseEvent):
1063 (QWebView::contextMenuEvent):
1064 (QWebView::keyPressEvent):
1065 (QWebView::keyReleaseEvent):
1066 (QWebView::focusInEvent):
1067 (QWebView::focusOutEvent):
1068 (QWebView::dragEnterEvent):
1069 (QWebView::dragLeaveEvent):
1070 (QWebView::dragMoveEvent):
1071 (QWebView::dropEvent):
1073 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1077 * This layout is not needed anymore as Widget::invalidateRect will not
1082 (QWebView::paintEvent):
1084 2008-01-04 Lars Knoll <lars@trolltech.com>
1088 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1090 This also brings the code closer in line with the Windows code. Seems
1091 to work nicely on first try :)
1094 * WebCoreSupport/ChromeClientQt.cpp:
1095 (WebCore::ChromeClientQt::updateBackingStore):
1096 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1097 (WebCore::ChromeClientQt::setToolTip):
1098 * WebCoreSupport/FrameLoaderClientQt.cpp:
1099 (WebCore::FrameLoaderClientQt::createPlugin):
1101 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1105 * Remove the todo from QWebPage and move the code to QWebView.
1109 (QWebPagePrivate::wheelEvent):
1110 (QWebPagePrivate::focusInEvent):
1112 (QWebView::wheelEvent):
1113 (QWebView::focusInEvent):
1115 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1119 * Move the various event methods to QWebPagePrivate. This is similar to
1120 QTextControl as well.
1125 (QWebPagePrivate::mouseMoveEvent):
1126 (QWebPagePrivate::mousePressEvent):
1127 (QWebPagePrivate::mouseDoubleClickEvent):
1128 (QWebPagePrivate::mouseReleaseEvent):
1129 (QWebPagePrivate::contextMenuEvent):
1130 (QWebPagePrivate::wheelEvent):
1131 (QWebPagePrivate::keyPressEvent):
1132 (QWebPagePrivate::keyReleaseEvent):
1133 (QWebPagePrivate::focusInEvent):
1134 (QWebPagePrivate::focusOutEvent):
1135 (QWebPage::focusNextPrevChild):
1136 (QWebPagePrivate::dragEnterEvent):
1137 (QWebPagePrivate::dragLeaveEvent):
1138 (QWebPagePrivate::dragMoveEvent):
1139 (QWebPagePrivate::dropEvent):
1143 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1147 * Forward the event from QWebView to QWebPage through QObject::event. This
1148 is similar to the way QTextControl is working.
1152 (dragOpToDropAction):
1156 (QWebView::mouseMoveEvent):
1157 (QWebView::mousePressEvent):
1158 (QWebView::mouseDoubleClickEvent):
1159 (QWebView::mouseReleaseEvent):
1160 (QWebView::contextMenuEvent):
1161 (QWebView::wheelEvent):
1162 (QWebView::keyPressEvent):
1163 (QWebView::keyReleaseEvent):
1164 (QWebView::focusInEvent):
1165 (QWebView::focusOutEvent):
1166 (QWebView::dragEnterEvent):
1167 (QWebView::dragLeaveEvent):
1168 (QWebView::dragMoveEvent):
1169 (QWebView::dropEvent):
1172 2008-01-04 Lars Knoll <lars@trolltech.com>
1176 make QWebPage a QObject and get things to compile.
1178 Nothing works currently though.
1181 * Api/qwebobjectpluginconnector.cpp:
1183 (QWebPagePrivate::QWebPagePrivate):
1184 (QWebPagePrivate::createMainFrame):
1185 (QWebPage::QWebPage):
1186 (QWebPage::setView):
1188 (QWebPage::javaScriptAlert):
1189 (QWebPage::javaScriptPrompt):
1190 (dragOpToDropAction):
1191 (QWebPage::mousePressEvent):
1192 (QWebPage::mouseDoubleClickEvent):
1193 (QWebPage::mouseReleaseEvent):
1194 (QWebPage::wheelEvent):
1195 (QWebPage::keyPressEvent):
1196 (QWebPage::focusInEvent):
1200 (QWebView::QWebView):
1201 (QWebView::setPage):
1202 (QWebView::resizeEvent):
1203 (QWebView::paintEvent):
1205 * WebCoreSupport/ChromeClientQt.cpp:
1206 (WebCore::ChromeClientQt::windowRect):
1207 (WebCore::ChromeClientQt::pageRect):
1208 (WebCore::ChromeClientQt::focus):
1209 (WebCore::ChromeClientQt::unfocus):
1210 (WebCore::ChromeClientQt::canTakeFocus):
1211 (WebCore::ChromeClientQt::takeFocus):
1212 (WebCore::ChromeClientQt::canRunModal):
1213 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1214 * WebCoreSupport/DragClientQt.cpp:
1215 (WebCore::DragClientQt::startDrag):
1216 * WebCoreSupport/FrameLoaderClientQt.cpp:
1217 (WebCore::FrameLoaderClientQt::createPlugin):
1218 * WebCoreSupport/InspectorClientQt.cpp:
1219 (WebCore::InspectorClientWebPage::createWindow):
1220 (WebCore::InspectorClientView::InspectorClientView):
1221 (WebCore::InspectorClientView::page):
1222 (WebCore::InspectorClientView::hideEvent):
1223 (WebCore::InspectorClientView::closeEvent):
1224 (WebCore::InspectorClientQt::createPage):
1225 (WebCore::InspectorClientQt::closeWindow):
1227 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1231 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1235 (QWebView::setHtml):
1236 (QWebView::setContent):
1237 (QWebView::history):
1238 (QWebView::settings):
1240 (QWebView::triggerAction):
1242 (QWebView::backward):
1243 (QWebView::forward):
1247 2008-01-04 Lars Knoll <lars@trolltech.com>
1251 add a viewportSize to QWebPage.
1253 This is required to eventually make it a QObject only.
1257 (QWebPage::triggerAction):
1258 (QWebPage::viewportSize):
1259 (QWebPage::setViewportSize):
1262 2008-01-04 Lars Knoll <lars@trolltech.com>
1266 take a QString as identifier in QWebFrame::addToJSWindowObject.
1268 * Api/qwebframe.cpp:
1269 (QWebFrame::addToJSWindowObject):
1272 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1276 Call the frame arguments for the javascript callbacks "originatingFrame"
1281 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1285 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1288 * Api/qwebhistoryinterface.h:
1290 * WebCoreSupport/FrameLoaderClientQt.cpp:
1291 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1293 2008-01-04 Lars Knoll <lars@trolltech.com>
1297 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1299 * Api/qwebframe.cpp:
1302 (QWebFrame::setVerticalScrollBarPolicy):
1305 (QWebPage::javaScriptAlert):
1306 (QWebPage::javaScriptPrompt):
1307 (QWebPage::networkInterface):
1313 * WebCoreSupport/FrameLoaderClientQt.cpp:
1315 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1319 Moved QWebPage::open to QWebFrame::load and added setHtml.
1322 * Api/qwebframe.cpp:
1324 (QWebFrame::setHtml):
1325 (QWebFrame::setContent):
1331 (QWebView::setHtml):
1333 * WebCoreSupport/ChromeClientQt.cpp:
1334 (WebCore::ChromeClientQt::createWindow):
1335 * WebCoreSupport/InspectorClientQt.cpp:
1336 (WebCore::InspectorClientQt::createPage):
1338 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1342 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1348 (QWebPagePrivate::createMainFrame):
1350 * Api/qwebpagehistory.h:
1351 * Api/qwebview.cpp: Added.
1352 (QWebView::QWebView):
1353 (QWebView::~QWebView):
1355 (QWebView::setPage):
1357 (QWebView::setHtml):
1358 (QWebView::history):
1359 (QWebView::settings):
1363 (QWebView::selectedText):
1365 (QWebView::triggerAction):
1366 (QWebView::isModified):
1367 (QWebView::textInteractionFlags):
1368 (QWebView::setTextInteractionFlags):
1369 (QWebView::sizeHint):
1371 (QWebView::backward):
1372 (QWebView::forward):
1374 * Api/qwebview.h: Added.
1375 * QtLauncher/main.cpp:
1376 (MainWindow::MainWindow):
1377 (MainWindow::webPage):
1378 (MainWindow::changeLocation):
1379 * WebCoreSupport/FrameLoaderClientQt.cpp:
1380 (WebCore::FrameLoaderClientQt::setFrame):
1381 * WebCoreSupport/FrameLoaderClientQt.h:
1383 2007-12-14 Darin Adler <darin@apple.com>
1388 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1389 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1390 * WebCoreSupport/EditorClientQt.cpp:
1391 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1392 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1395 2007-12-12 Brady Eidson <beidson@apple.com>
1397 Reviewed by Sam Weinig
1399 As part of doing some CachedPage and client cleanup, keep Qt building
1401 * WebCoreSupport/FrameLoaderClientQt.cpp:
1402 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1403 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1404 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1405 * WebCoreSupport/FrameLoaderClientQt.h:
1407 2007-12-12 Sam Weinig <sam@webkit.org>
1411 * WebCoreSupport/FrameLoaderClientQt.cpp:
1412 (WebCore::FrameLoaderClientQt::userAgent):
1414 2007-12-12 Sam Weinig <sam@webkit.org>
1418 * Api/qwebnetworkinterface.cpp:
1419 (QWebNetworkRequestPrivate::init):
1422 (QWebPageContext::QWebPageContext):
1423 * Api/qwebpagehistory.cpp:
1424 (QWebHistoryItem::originalUrl):
1425 (QWebHistoryItem::currentUrl):
1426 * WebCoreSupport/FrameLoaderClientQt.cpp:
1427 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1428 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1429 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1430 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1431 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1432 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1433 (WebCore::FrameLoaderClientQt::createPlugin):
1435 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1439 <rdar://problem/5535636>
1440 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1442 http://bugs.webkit.org/show_bug.cgi?id=13916
1443 JavaScript detects Tab as a character input on a textfield validation
1445 * WebCoreSupport/EditorClientQt.cpp:
1446 (WebCore::EditorClientQt::handleKeyboardEvent):
1447 (WebCore::EditorClientQt::handleInputMethodKeydown):
1448 * WebCoreSupport/EditorClientQt.h:
1449 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1451 2007-12-07 Darin Adler <darin@apple.com>
1455 * Api/qwebhistoryinterface.cpp:
1456 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1457 be updated, since WebCore changed, but this should not be here.
1459 2007-12-04 Darin Adler <darin@apple.com>
1461 Reviewed by Kevin Decker.
1463 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1464 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1466 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1470 * Implement the InspectorClient for the Qt port
1471 * It does not support highlighting of nodes yet
1472 * Use QRC to open the internal page. The important thing is the
1473 '/' in the URL to make WebCore::Document::completeURL behave the
1475 * To make the InspectorClient work we will have to mark qrc as secure.
1478 (QWebPagePrivate::QWebPagePrivate):
1480 * WebCoreSupport/InspectorClientQt.cpp:
1481 (WebCore::InspectorClientWebPage::hideEvent):
1482 (WebCore::InspectorClientQt::InspectorClientQt):
1483 (WebCore::InspectorClientQt::inspectorDestroyed):
1484 (WebCore::InspectorClientQt::createPage):
1485 (WebCore::InspectorClientQt::localizedStringsURL):
1486 (WebCore::InspectorClientQt::showWindow):
1487 (WebCore::InspectorClientQt::closeWindow):
1488 (WebCore::InspectorClientQt::attachWindow):
1489 (WebCore::InspectorClientQt::detachWindow):
1490 * WebCoreSupport/InspectorClientQt.h:
1492 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1494 Rubber stamped by Mark.
1496 Always include config.h at the beginning of the file.
1498 * Api/qwebsettings.cpp:
1500 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1504 * Avoid crashes by making sure everything is layouted before
1505 we start painting. This avoids a crash in Widget::invalidateRect
1506 because QPainter::begin would fail
1507 * The QWebFrame::layout() methods and calls are left untouched because
1508 this would be an API decision.
1511 * Api/qwebframe.cpp:
1512 (QWebFrame::layout):
1514 (QWebPage::paintEvent):
1516 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1520 * SubClass QWebPage to handle hide and close events.
1521 * Forward these events to the InspectorController
1522 * The other options would have been using an eventFilter
1523 on the webpage and making InspectorClient a QObject or
1524 creating a QObject Observer.
1525 * Provide a simple QWebPage* createWindow implementation. This is needed
1526 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1527 of the inspector client.
1530 * WebCoreSupport/InspectorClientQt.cpp:
1531 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1532 (WebCore::InspectorClientWebPage::createWindow):
1533 (WebCore::InspectorClientWebPage::hideEvent):
1534 (WebCore::InspectorClientWebPage::closeEvent):
1535 (WebCore::InspectorClientQt::createPage):
1537 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1541 * Allow adding the Inspect ContextMenuItem to our Menu
1542 * Open the Inspector when Inspect was activated. This requires
1543 that we keep the innerNonSharedNode from the HitTest around. This
1544 forces us to include <wtf/RefPtr.h> in the private header. It is
1545 the first non Qt header but should be okay.
1549 (webActionForContextMenuAction):
1550 (QWebPage::triggerAction):
1552 (QWebPageContext::QWebPageContext):
1556 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1560 * Add the Developer Extras to the WebAttribute and propagate it
1561 to WebCore::Settings. This will enable the Inspect Element menu item
1562 * CodingStyle fixes in QWebSettings
1563 * Enable the Developer Extras in the QtLauncher
1566 * Api/qwebsettings.cpp:
1567 (QWebSettingsPrivate::apply):
1568 * Api/qwebsettings.h:
1569 * QtLauncher/main.cpp:
1572 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1574 Removed unnecessary and possibly incorrect #include from my last
1577 * Api/qwebframe.cpp:
1579 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1581 Qt build fix: Get globalExec() from the right place.
1583 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1587 * Self destruct the clients like the ohter ports do
1590 * WebCoreSupport/ChromeClientQt.cpp:
1591 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1592 * WebCoreSupport/ContextMenuClientQt.cpp:
1593 * WebCoreSupport/DragClientQt.cpp:
1594 * WebCoreSupport/EditorClientQt.cpp:
1595 * WebCoreSupport/InspectorClientQt.cpp:
1597 2007-11-29 Brady Eidson <beidson@apple.com>
1599 Keep it building with new client method
1601 * WebCoreSupport/ChromeClientQt.cpp:
1602 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1603 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1604 * WebCoreSupport/ChromeClientQt.h:
1606 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1608 Reviewed by Adam Treat.
1610 Fix compilation (don't define notImplemented twice)
1612 * Api/qwebnetworkinterface.cpp:
1614 2007-11-22 Simon Hausmann <hausmann@kde.org>
1618 Use Q_SIGNALS/Q_SLOTS in the public API
1623 2007-11-22 Simon Hausmann <hausmann@kde.org>
1627 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1631 2007-11-22 Simon Hausmann <hausmann@kde.org>
1635 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1639 * Api/qwebhistoryinterface.h:
1640 * Api/qwebnetworkinterface.h:
1641 * Api/qwebobjectplugin.h:
1642 * Api/qwebobjectplugin_p.h:
1643 * Api/qwebobjectpluginconnector.h:
1645 * Api/qwebpagehistory.h:
1646 * Api/qwebsettings.h:
1648 2007-11-22 Simon Hausmann <hausmann@kde.org>
1652 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1654 * Api/qwebpagehistory.h:
1656 2007-11-22 George Staikos <staikos@kde.org>
1658 Reviewed by Simon Hausmann <hausmann@kde.org>.
1663 * Api/qwebobjectplugin.cpp:
1664 * Api/qwebobjectplugin.h:
1665 * Api/qwebobjectpluginconnector.cpp:
1666 * Api/qwebobjectpluginconnector.h:
1668 2007-11-22 Simon Hausmann <hausmann@kde.org>
1670 Reviewed by George Staikos <staikos@kde.org>.
1672 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1674 This also fixes compilation with gcc 4.3.
1677 * Api/qwebframe.cpp:
1678 (QWebFramePrivate::init):
1680 2007-11-21 Adam Treat <treat@kde.org>
1684 * Connect up the signal for all subframes too.
1686 * Api/qwebframe.cpp:
1687 (QWebFramePrivate::init):
1689 (QWebPagePrivate::createMainFrame):
1691 2007-11-20 Simon Hausmann <hausmann@kde.org>
1693 Reviewed by Adam Treat <treat@kde.org>.
1695 Remove static linkage of QtWebKit against the ICO image format plugin.
1697 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1700 * Plugins/Plugins.pro:
1702 2007-11-20 Simon Hausmann <hausmann@kde.org>
1704 Reviewed by George Staikos <staikos@kde.org>.
1706 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1711 2007-11-20 George Staikos <staikos@kde.org>
1713 Reviewed by Simon Hausmann <hausmann@kde.org>.
1715 Add an argument to pass the link text in the hovering signal
1720 (QWebPagePrivate::createMainFrame):
1721 (QWebPage::mouseMoveEvent):
1724 2007-11-20 Adam Treat <treat@kde.org>
1726 Reviewed by Simon and George.
1728 * Be quiet and allow suppression of NotImplemented calls at runtime.
1730 * WebCoreSupport/FrameLoaderClientQt.cpp:
1731 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1733 2007-11-19 Adam Treat <treat@kde.org>
1737 * Don't segfault when event pos is outside of the widget.
1740 (QWebPage::mouseMoveEvent):
1741 (QWebPage::mousePressEvent):
1742 (QWebPage::mouseDoubleClickEvent):
1743 (QWebPage::mouseReleaseEvent):
1744 (QWebPage::contextMenuEvent):
1746 2007-11-17 Timothy Hatcher <timothy@apple.com>
1748 Reviewed by Mark Rowe.
1750 Bug 13470: i18n: The Web Inspector is not localizable
1751 http://bugs.webkit.org/show_bug.cgi?id=13470
1753 * WebCoreSupport/InspectorClientQt.cpp:
1754 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1755 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1757 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1759 Build fix: changed Shared to RefCounted.
1761 * WebCoreSupport/ChromeClientQt.h:
1762 * WebCoreSupport/ContextMenuClientQt.cpp:
1763 * WebCoreSupport/ContextMenuClientQt.h:
1764 * WebCoreSupport/EditorClientQt.h:
1765 * WebCoreSupport/FrameLoaderClientQt.h:
1767 2007-11-10 Simon Hausmann <hausmann@kde.org>
1769 Reviewed by Nikolas.
1771 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1775 (QWebPagePrivate::createContextMenu):
1777 2007-11-10 Simon Hausmann <hausmann@kde.org>
1779 Reviewed by Nikolas.
1781 Added support for the Bold/Italic/Underline toggle actions.
1785 (webActionForContextMenuAction):
1786 (QWebPage::triggerAction):
1790 2007-11-10 Simon Hausmann <hausmann@kde.org>
1792 Reviewed by Nikolas.
1794 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1795 to update the enable/checked state correctly.
1799 (QWebPagePrivate::createContextMenu):
1800 (QWebPage::contextMenuEvent):
1803 2007-11-10 Simon Hausmann <hausmann@kde.org>
1805 Reviewed by Nikolas.
1807 Mark the text direction actions as checkable actions.
1813 2007-11-09 Simon Hausmann <hausmann@kde.org>
1817 Implemented the webcore actions for changing the text direction.
1821 (webActionForContextMenuAction):
1822 (QWebPage::triggerAction):
1826 2007-11-09 Simon Hausmann <hausmann@kde.org>
1830 Fix ContextMenu allocation in the Qt port.
1832 Store all items and submenus value based in ContextMenu and ContextMenuItem.
1833 That fixes the crashes when the context menu was populated with sub-menus because
1834 of the use of temporary ContextMenu objects like this:
1836 ContextMenu subMenu(...);
1837 subMenu.appendItem(...);
1838 subMenu.appendItem(...);
1840 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
1844 (QWebPage::contextMenuEvent):
1847 2007-11-09 Simon Hausmann <hausmann@kde.org>
1851 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
1857 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1861 - windowObjectCleared() is no longer const. It needs to setup the
1862 script debugger and cannot be const to do so.
1864 * WebCoreSupport/FrameLoaderClientQt.cpp:
1865 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1866 * WebCoreSupport/FrameLoaderClientQt.h:
1868 2007-11-08 Simon Hausmann <hausmann@kde.org>
1870 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
1872 The buildbots use Qt 4.4 which has the function in question, but Qt
1873 4.3 doesn't have it. Use removeAll() as replacement instead, it
1874 shouldn't make a difference in performance.
1876 * Api/qwebsettings.cpp:
1877 (QWebSettings::~QWebSettings):
1879 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1881 Reviewed by Lars Knoll <lars@trolltech.com>.
1883 Cleanup checking for the request method.
1885 * Check the request method only in QWebNetworkManager::add.
1886 * Currently HEAD, GET, POST are allowed and for everything else
1887 QWebNetworkManager::add returns false.
1888 * Returning false is compatible with ResourceHandle::start and it
1889 can be used in ResourceHandle::loadResourceSynchronously to generate
1893 * Api/qwebnetworkinterface.cpp:
1894 (QWebNetworkManager::add):
1896 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1898 Reviewed by Lars Knoll <lars@trolltech.com>.
1900 Fix bug in the implementation of synchronous network jobs.
1902 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
1903 - if (jobMode == AsynchronousJob) {
1904 + if (jobMode == SynchronousJob) {
1905 add job to synchronous list/hash
1907 * Just applying the above change will lead to crashes because we can finish
1908 jobs before we started them.
1910 * Avoid these issues by saving all work (starting a job, sending data and
1911 finishing it) inside one list. JobWork will contain any
1912 of the above three work types and doWork will just work on this list
1913 (m_pendingWork). As foreach takes a copy of the list calling started, data
1914 and finished will not add new work and we gurantee that if we have JobStarted
1915 it will be in the list before JobData and JobFinished.
1917 * Observation: We might just kill the code to handle sync jobs.
1920 * Api/qwebnetworkinterface.cpp:
1921 (QWebNetworkManager::add):
1922 (QWebNetworkManager::queueStart):
1923 (QWebNetworkManager::queueData):
1924 (QWebNetworkManager::queueFinished):
1925 (QWebNetworkManager::doWork):
1926 * Api/qwebnetworkinterface_p.h:
1927 (QWebNetworkManager::JobWork::):
1928 (QWebNetworkManager::JobWork::JobWork):
1930 2007-11-07 Simon Hausmann <hausmann@kde.org>
1932 Build fix, reviewed by nobody.
1934 Fix the Qt build by setting up WindowFeatures before calling
1935 createWindow on the Chrome. This is similar to openNewWindow in
1936 page/ContextMenuController.cpp
1941 2007-11-07 Simon Hausmann <hausmann@kde.org>
1945 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
1948 (QWebPagePrivate::QWebPagePrivate):
1949 * Api/qwebsettings.cpp:
1950 (QWebSettingsPrivate::apply):
1951 * Api/qwebsettings.h:
1953 2007-11-07 Simon Hausmann <hausmann@kde.org>
1957 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
1959 * Api/qwebpagehistory.cpp:
1960 * Api/qwebpagehistory.h:
1962 2007-11-07 Simon Hausmann <hausmann@kde.org>
1966 Removed unimplemented QWebHistoryItem::children() function
1968 * Api/qwebpagehistory.h:
1970 2007-11-07 Simon Hausmann <hausmann@kde.org>
1974 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
1976 * Api/qwebsettings.cpp:
1977 (QWebSettings::fontSize):
1978 (QWebSettings::fontFamily):
1979 (QWebSettings::testAttribute):
1981 2007-11-07 Simon Hausmann <hausmann@kde.org>
1985 Added explicit functions for resetting the font sizes and font families.
1987 * Api/qwebsettings.cpp:
1988 (QWebSettings::resetFontSize):
1989 (QWebSettings::resetFontFamily):
1990 * Api/qwebsettings.h:
1992 2007-11-07 Simon Hausmann <hausmann@kde.org>
1996 Combined the font sizes accessors/setters under one setter/getter with an enum.
1998 * Api/qwebsettings.cpp:
1999 (QWebSettingsPrivate::QWebSettingsPrivate):
2000 (QWebSettingsPrivate::apply):
2001 (QWebSettings::QWebSettings):
2002 (QWebSettings::setFontSize):
2003 * Api/qwebsettings.h:
2005 2007-11-07 Simon Hausmann <hausmann@kde.org>
2009 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2013 * WebCoreSupport/FrameLoaderClientQt.cpp:
2014 (WebCore::FrameLoaderClientQt::userAgent):
2016 2007-11-07 Simon Hausmann <hausmann@kde.org>
2020 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2023 (QWebPagePrivate::_q_webActionTriggered):
2024 (QWebPage::keyPressEvent):
2027 2007-11-07 Simon Hausmann <hausmann@kde.org>
2031 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2035 * WebCoreSupport/ChromeClientQt.cpp:
2036 (WebCore::ChromeClientQt::setWindowRect):
2038 2007-11-07 Simon Hausmann <hausmann@kde.org>
2042 Renamed QWebPage::webAction() to QWebPage::action()
2045 (QWebPagePrivate::createContextMenu):
2047 * QtLauncher/main.cpp:
2048 (MainWindow::MainWindow):
2050 2007-11-07 Simon Hausmann <hausmann@kde.org>
2054 Removed a bunch of slots/functions that are now available through the new actions API.
2059 2007-11-07 Simon Hausmann <hausmann@kde.org>
2063 Added some more comments to the API after another round of API review with Lars.
2067 2007-11-07 Simon Hausmann <hausmann@kde.org>
2071 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2073 The currently selected text is a property of the page as a whole.
2075 * Api/qwebframe.cpp:
2078 (QWebPage::selectedText):
2081 2007-11-07 Simon Hausmann <hausmann@kde.org>
2085 Implemented support for settings propagation.
2087 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2089 * Api/qwebsettings.cpp:
2090 (QWebSettingsPrivate::QWebSettingsPrivate):
2091 (QWebSettingsPrivate::apply):
2092 (QWebSettings::QWebSettings):
2093 (QWebSettings::~QWebSettings):
2094 (QWebSettings::setFontFamily):
2095 * Api/qwebsettings.h:
2097 2007-11-07 Simon Hausmann <hausmann@kde.org>
2101 Reworked the QWebSettings API.
2102 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2105 (QWebPagePrivate::QWebPagePrivate):
2106 (QWebPagePrivate::~QWebPagePrivate):
2107 (QWebPage::QWebPage):
2110 * Api/qwebsettings.cpp:
2111 (QWebSettingsPrivate::QWebSettingsPrivate):
2112 (QWebSettingsPrivate::apply):
2113 (QWebSettings::defaultSettings):
2114 (QWebSettings::QWebSettings):
2115 (QWebSettings::setMinimumFontSize):
2116 (QWebSettings::setMinimumLogicalFontSize):
2117 (QWebSettings::setDefaultFontSize):
2118 (QWebSettings::setDefaultFixedFontSize):
2119 (QWebSettings::setUserStyleSheetLocation):
2120 (QWebSettings::setFontFamily):
2121 (QWebSettings::fontFamily):
2122 (QWebSettings::setAttribute):
2123 * Api/qwebsettings.h:
2124 * QtLauncher/main.cpp:
2127 2007-11-07 Simon Hausmann <hausmann@kde.org>
2131 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2133 * Api/qwebsettings.cpp:
2134 (QWebSettings::setWebGraphic):
2135 * Api/qwebsettings.h:
2137 2007-11-07 Simon Hausmann <hausmann@kde.org>
2141 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2143 * Api/qwebsettings.cpp:
2145 2007-11-07 Simon Hausmann <hausmann@kde.org>
2149 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2151 * Api/qwebsettings.cpp:
2152 * Api/qwebsettings.h:
2154 2007-11-07 Simon Hausmann <hausmann@kde.org>
2158 Changed the webAction() accessor to not be a slot but just a public function.
2162 2007-11-07 Simon Hausmann <hausmann@kde.org>
2166 Implemented createWindow() in QtLauncher.
2168 * QtLauncher/main.cpp:
2170 (MainWindow::MainWindow):
2171 (WebPage::createWindow):
2173 2007-11-07 Simon Hausmann <hausmann@kde.org>
2177 Implemented opening links in new windows
2182 (QWebPage::webActionTriggered):
2184 2007-11-07 Simon Hausmann <hausmann@kde.org>
2188 Added and implemented the "OpenLink" action.
2191 (webActionForContextMenuAction):
2192 (QWebPage::webActionTriggered):
2193 (QWebPage::webAction):
2196 2007-11-07 Simon Hausmann <hausmann@kde.org>
2200 Adjust the state of the reload action correctly.
2203 (QWebPagePrivate::updateAction):
2204 (QWebPagePrivate::updateNavigationActions):
2206 2007-11-07 Simon Hausmann <hausmann@kde.org>
2210 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2213 (QWebPagePrivate::updateAction):
2214 (QWebPage::webAction):
2215 (QWebPage::undoStack):
2218 2007-11-07 Simon Hausmann <hausmann@kde.org>
2222 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2224 * QtLauncher/main.cpp:
2225 (MainWindow::MainWindow):
2227 2007-11-07 Simon Hausmann <hausmann@kde.org>
2231 Update the editor actions when the selection changes.
2234 (QWebPagePrivate::updateAction):
2235 (QWebPagePrivate::updateEditorActions):
2237 * WebCoreSupport/EditorClientQt.cpp:
2238 (WebCore::EditorClientQt::respondToChangedSelection):
2240 2007-11-07 Simon Hausmann <hausmann@kde.org>
2244 Added cut/copy/paste actions to the toolbar of QtLauncher
2246 * QtLauncher/main.cpp:
2247 (MainWindow::MainWindow):
2249 2007-11-07 Simon Hausmann <hausmann@kde.org>
2253 Started working on keeping the state of the navigation actions up-to-date.
2256 (QWebPagePrivate::updateAction):
2257 (QWebPagePrivate::updateNavigationActions):
2258 (QWebPage::webAction):
2260 * WebCoreSupport/FrameLoaderClientQt.cpp:
2261 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2262 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2263 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2264 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2265 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2267 2007-11-07 Simon Hausmann <hausmann@kde.org>
2271 Use the navigational web actions in the toolbar
2273 * QtLauncher/main.cpp:
2274 (MainWindow::MainWindow):
2276 2007-11-07 Simon Hausmann <hausmann@kde.org>
2280 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2281 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2284 (QWebPagePrivate::QWebPagePrivate):
2285 (webActionForContextMenuAction):
2286 (QWebPagePrivate::createContextMenu):
2287 (QWebPagePrivate::_q_webActionTriggered):
2288 (QWebPage::webActionTriggered):
2289 (QWebPage::webAction):
2290 (QWebPage::contextMenuEvent):
2291 (QWebPageContext::QWebPageContext):
2292 (QWebPageContext::operator=):
2293 (QWebPageContext::~QWebPageContext):
2294 (QWebPageContext::pos):
2295 (QWebPageContext::text):
2296 (QWebPageContext::linkUrl):
2297 (QWebPageContext::imageUrl):
2298 (QWebPageContext::image):
2299 (QWebPageContext::targetFrame):
2303 2007-11-07 Simon Hausmann <hausmann@kde.org>
2307 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2310 (QWebPage::webActionTriggered):
2311 (QWebPage::keyPressEvent):
2314 2007-11-07 Simon Hausmann <hausmann@kde.org>
2318 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2319 convenience methods such as cut()/copy()/paste().
2323 (QWebPage::webActionTriggered):
2328 2007-11-07 Simon Hausmann <hausmann@kde.org>
2332 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2333 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2334 in ContextMenu::populate().
2335 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2336 out of it. That menu is currently not functional anymore though.
2339 (QWebPagePrivate::createContextMenu):
2340 (QWebPage::contextMenuEvent):
2343 2007-11-07 Simon Hausmann <hausmann@kde.org>
2347 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2348 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2349 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2353 (QWebPage::contextMenuEvent):
2354 * WebCoreSupport/ContextMenuClientQt.cpp:
2355 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2357 2007-11-07 Simon Hausmann <hausmann@kde.org>
2361 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2362 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2365 (QWebPage::mousePressEvent):
2366 (QWebPage::contextMenuEvent):
2369 2007-11-07 Simon Hausmann <hausmann@kde.org>
2373 Turned onLoadProgressChanged into a real private slot.
2376 (QWebPage::QWebPage):
2380 2007-11-07 Simon Hausmann <hausmann@kde.org>
2384 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2387 (QWebPagePrivate::QWebPagePrivate):
2390 * Api/qwebpagehistory.cpp:
2391 (QWebPageHistory::QWebPageHistory):
2392 * Api/qwebpagehistory.h:
2394 2007-11-07 Lars Knoll <lars@trolltech.com>
2398 comments on API changes that we'd like to do.
2402 2007-11-07 Simon Hausmann <hausmann@kde.org>
2404 Reviewed by Lars Knoll <lars@trolltech.com>.
2406 Add a QWebPage::frameCreated() signal and fix DRT
2408 The removal of createFrame in QWebPage broke the re-implementation
2409 in DumpRenderTree. Instead emit a frameCreated() signal and
2410 connect to it in DumpRenderTree.
2414 (QWebPagePrivate::createMainFrame):
2416 * WebCoreSupport/FrameLoaderClientQt.cpp:
2417 (WebCore::FrameLoaderClientQt::createFrame):
2419 2007-11-07 Lars Knoll <lars@trolltech.com>
2423 Remove QWebPage::createFrame()
2425 now that QWebFrame doesn't have virtual methods anymore, there
2426 is no need for a createFrame() factory method in QWebpage.
2429 (QWebPagePrivate::createMainFrame):
2431 * WebCoreSupport/FrameLoaderClientQt.cpp:
2432 (WebCore::FrameLoaderClientQt::createFrame):
2434 2007-11-07 Simon Hausmann <hausmann@kde.org>
2436 Reviewed by Lars Knoll <lars@trolltech.com>.
2438 Moved all the event handlers from QWebFrame into QWebPage.
2440 This cleans up the public API and allows us to remove the
2441 HackWebFrame hack in DumpRenderTree.
2444 * Api/qwebframe.cpp:
2447 * Api/qwebframe_p.h:
2449 (QWebPagePrivate::frameAt):
2450 (QWebPage::mouseMoveEvent):
2451 (QWebPage::mousePressEvent):
2452 (QWebPage::mouseDoubleClickEvent):
2453 (QWebPage::mouseReleaseEvent):
2454 (QWebPage::wheelEvent):
2457 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2459 Reviewed by Lars Knoll <lars@trolltech.com>.
2461 Use correct UserAgent string.
2463 * Only have one User Agent String and this place is QWebPage
2464 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2465 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2466 * ResourceRequest is != 0 when getting called from WebCore, we
2467 will only do requests when coming from WebCore and then we can
2468 use the User-Agent set with the help of the FrameLoaderClient
2469 * We might want to change QWebNetworkRequest a bit
2472 * Api/qwebnetworkinterface.cpp:
2473 (QWebNetworkRequestPrivate::init):
2475 2007-11-07 Lars Knoll <lars@trolltech.com>
2479 remove two notImplemented() warnings, as I believe we don't
2480 have to implement these methods. Add some (commented out)
2481 debug code in one place.
2483 * WebCoreSupport/EditorClientQt.cpp:
2484 (WebCore::EditorClientQt::respondToChangedSelection):
2485 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2487 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2489 Reviewed by Darin Adler.
2491 * WebCoreSupport/ChromeClientQt.cpp:
2492 (WebCore::ChromeClientQt::createWindow):
2493 * WebCoreSupport/ChromeClientQt.h:
2494 Revised to use new WebCore ChromeClient createWindow API.
2496 2007-10-31 Lars Knoll <lars@trolltech.com>
2500 fix most of the issues I found with Clipboard and DnD.
2503 (QWebPage::dragLeaveEvent):
2505 2007-10-31 Lars Knoll <lars@trolltech.com>
2509 QDrag objects need to be created on the heap.
2511 * WebCoreSupport/DragClientQt.cpp:
2512 (WebCore::DragClientQt::startDrag):
2514 2007-10-31 Lars Knoll <lars@trolltech.com>
2518 a dragLeave event is not the same as cancelling a drag.
2522 2007-10-26 Mark Rowe <mrowe@apple.com>
2524 Build fix. Add missing #include of Platform.h.
2526 * Api/qwebhistoryinterface.cpp:
2528 2007-10-25 Holger Freyther <zecke@selfish.org>
2530 Reviewed by Simon Hausmann <hausmann@kde.org>.
2532 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2533 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2534 * This is causing some regressions...
2537 * Api/qwebnetworkinterface.cpp:
2538 (QWebNetworkManager::started):
2539 (QWebNetworkInterface::addJob):
2541 2007-10-25 Holger Freyther <zecke@selfish.org>
2543 Reviewed by Simon Hausmann <hausmann@kde.org>.
2545 * 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.
2546 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2549 * Api/qwebnetworkinterface.cpp:
2550 (QWebNetworkManager::started):
2552 2007-10-25 Holger Freyther <zecke@selfish.org>
2554 Reviewed by Simon Hausmann <hausmann@kde.org>.
2556 * 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.
2557 * Use the error message from Qt. It might or might not be translated.
2560 * Api/qwebnetworkinterface.cpp:
2561 (QWebNetworkJob::errorString):
2562 (QWebNetworkJob::setErrorString):
2563 (QWebNetworkManager::finished):
2564 (QWebNetworkManager::doWork):
2565 (WebCoreHttp::onRequestFinished):
2566 * Api/qwebnetworkinterface.h:
2567 * Api/qwebnetworkinterface_p.h:
2569 2007-10-25 Holger Freyther <zecke@selfish.org>
2571 Reviewed by Simon Hausmann <hausmann@kde.org>.
2573 * 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.
2574 * 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.
2577 * Api/qwebnetworkinterface.cpp:
2578 (QWebNetworkManager::doWork):
2580 2007-10-25 Holger Freyther <zecke@selfish.org>
2582 Reviewed by Simon Hausmann <hausmann@kde.org>.
2584 * No need to initialize values in the QWebNetworkJob c'tor
2585 * 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.
2588 * Api/qwebnetworkinterface.cpp:
2589 (QWebNetworkJob::status):
2590 (QWebNetworkJob::setStatus):
2591 (QWebNetworkManager::started):
2592 (QWebNetworkManager::data):
2593 (QWebNetworkManager::finished):
2594 * Api/qwebnetworkinterface.h:
2595 * Api/qwebnetworkinterface_p.h:
2596 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2598 2007-10-25 Holger Freyther <zecke@selfish.org>
2600 Reviewed by Simon Hausmann <hausmann@kde.org>.
2602 * Consistency: Always name the jobs job.
2605 * Api/qwebnetworkinterface.cpp:
2606 (WebCoreHttp::onReadyRead):
2607 (WebCoreHttp::onRequestFinished):
2608 (WebCoreHttp::onSslErrors):
2609 (WebCoreHttp::onAuthenticationRequired):
2610 (WebCoreHttp::onProxyAuthenticationRequired):
2612 2007-10-25 Holger Freyther <zecke@selfish.org>
2614 Reviewed by Simon Hausmann <hausmann@kde.org>.
2616 * 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.
2617 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2620 * Api/qwebnetworkinterface.cpp:
2621 (QWebNetworkJob::~QWebNetworkJob):
2622 (QWebNetworkManager::QWebNetworkManager):
2623 (QWebNetworkManager::self):
2624 (QWebNetworkManager::add):
2625 (QWebNetworkManager::started):
2626 (QWebNetworkManager::finished):
2627 (QWebNetworkInterfacePrivate::sendFileData):
2628 (QWebNetworkInterfacePrivate::parseDataUrl):
2629 (QWebNetworkManager::queueStart):
2630 (QWebNetworkManager::queueData):
2631 (QWebNetworkManager::queueFinished):
2632 (QWebNetworkManager::doScheduleWork):
2633 (QWebNetworkManager::doWork):
2634 (gCleanupInterface):
2635 (QWebNetworkInterface::setDefaultInterface):
2636 (QWebNetworkInterface::defaultInterface):
2637 (QWebNetworkInterface::QWebNetworkInterface):
2638 (QWebNetworkInterface::started):
2639 (QWebNetworkInterface::data):
2640 (QWebNetworkInterface::finished):
2641 (WebCoreHttp::scheduleNextRequest):
2642 (WebCoreHttp::onResponseHeaderReceived):
2643 (WebCoreHttp::onReadyRead):
2644 (WebCoreHttp::onRequestFinished):
2645 (WebCoreHttp::cancel):
2646 * Api/qwebnetworkinterface.h:
2647 * Api/qwebnetworkinterface_p.h:
2648 (QWebNetworkManager::):
2649 (QWebNetworkManager::JobData::JobData):
2650 (QWebNetworkManager::JobFinished::JobFinished):
2652 2007-10-25 Holger Freyther <zecke@selfish.org>
2654 Reviewed by Simon Hausmann <hausmann@kde.org>.
2656 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2657 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2658 * We pass the char-decoding.html test now
2661 * Api/qwebnetworkinterface.cpp:
2662 (decodePercentEncoding):
2663 (QWebNetworkInterfacePrivate::parseDataUrl):
2665 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2667 Reviewed by Lars Knoll <lars@trolltech.com>.
2669 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2672 * WebCoreSupport/EditorClientQt.cpp:
2673 (WebCore::EditorClientQt::handleKeypress):
2675 2007-10-24 Lars Knoll <lars@trolltech.com>
2679 remove some notImplemented() warnings.
2681 * WebCoreSupport/EditorClientQt.cpp:
2682 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2683 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2684 (WebCore::EditorClientQt::respondToChangedSelection):
2686 2007-10-24 Lars Knoll <lars@trolltech.com>
2690 allow paste from DOM so we pass more test cases.
2693 (QWebPage::setSettings):
2695 2007-10-24 Lars Knoll <lars@trolltech.com>
2699 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2702 (QWebPage::keyPressEvent):
2703 (QWebPage::keyReleaseEvent):
2705 2007-10-24 Lars Knoll <lars@trolltech.com>
2709 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2711 * WebCoreSupport/EditorClientQt.cpp:
2712 (qt_dump_editing_callbacks):
2715 2007-10-24 Lars Knoll <lars@trolltech.com>
2719 implemented support for most editing shortcuts to make contentEditable usable.
2722 (QWebPage::keyPressEvent):
2724 2007-10-24 Lars Knoll <lars@trolltech.com>
2728 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2731 (QWebPage::focusInEvent):
2733 2007-10-24 Lars Knoll <lars@trolltech.com>
2737 Implement support for testing editing.
2739 * WebCoreSupport/EditorClientQt.cpp:
2740 (qt_dump_editing_callbacks):
2741 (qt_dump_set_accepts_editing):
2744 (WebCore::EditorClientQt::shouldDeleteRange):
2745 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2746 (WebCore::EditorClientQt::shouldBeginEditing):
2747 (WebCore::EditorClientQt::shouldEndEditing):
2748 (WebCore::EditorClientQt::shouldInsertText):
2749 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2750 (WebCore::EditorClientQt::shouldApplyStyle):
2751 (WebCore::EditorClientQt::didBeginEditing):
2752 (WebCore::EditorClientQt::respondToChangedContents):
2753 (WebCore::EditorClientQt::respondToChangedSelection):
2754 (WebCore::EditorClientQt::didEndEditing):
2755 (WebCore::EditorClientQt::shouldInsertNode):
2757 2007-10-19 Alp Toker <alp@atoker.com>
2761 GTK+ build fix enabling the new local database storage feature.
2762 There is also a prospective Qt build fix.
2764 * WebCoreSupport/ChromeClientQt.cpp:
2765 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2766 * WebCoreSupport/ChromeClientQt.h:
2768 2007-10-19 Simon Hausmann <hausmann@kde.org>
2770 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2771 that config.h is included before wtf/MathExtras. The former defines
2772 the MSVC defines for rand_s.
2774 * WebCoreSupport/FrameLoaderClientQt.cpp:
2776 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2780 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2782 * Api/qwebframe.cpp:
2785 2007-10-10 Alice Liu <alice.liu@apple.com>
2787 Reviewed by Geoff Garen.
2789 changes to keep the build from breaking
2791 * WebCoreSupport/FrameLoaderClientQt.cpp:
2792 (WebCore::FrameLoaderClientQt::createFrame):
2793 * WebCoreSupport/FrameLoaderClientQt.h:
2795 2007-10-09 Lars Knoll <lars@trolltech.com>
2799 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2802 (QWebPage::setSettings):
2804 2007-10-09 Lars Knoll <lars@trolltech.com>
2808 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2810 * Api/qwebnetworkinterface.cpp:
2811 (QWebNetworkManager::add):
2812 (QWebNetworkManager::cancel):
2813 (QWebNetworkManager::started):
2814 (QWebNetworkManager::data):
2815 (QWebNetworkInterfacePrivate::parseDataUrl):
2817 2007-10-09 Lars Knoll <lars@trolltech.com>
2821 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.
2824 (QWebPagePrivate::createMainFrame):
2825 (QWebPage::createFrame):
2826 * WebCoreSupport/FrameLoaderClientQt.cpp:
2827 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2828 * WebCoreSupport/FrameLoaderClientQt.h:
2830 2007-10-09 Lars Knoll <lars@trolltech.com>
2834 add a clear() method to QWebPageHistory.
2836 * Api/qwebpagehistory.cpp:
2837 (QWebPageHistory::clear):
2838 (QWebPageHistory::itemAtIndex):
2839 * Api/qwebpagehistory.h:
2841 2007-10-05 Lars Knoll <lars@trolltech.com>
2843 add proper error messages to the FrameLoaderClient.
2844 Implement ChromeClientQt::closeWindowSoon and
2845 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2846 Some fixes in DRT to make it work correctly with multiple windows.
2851 * Api/qwebnetworkinterface.cpp:
2852 (QWebNetworkManager::cancel):
2853 (QWebNetworkInterface::addJob):
2854 * WebCoreSupport/ChromeClientQt.cpp:
2855 (WebCore::ChromeClientQt::closeWindowSoon):
2856 * WebCoreSupport/FrameLoaderClientQt.cpp:
2857 (WebCore::FrameLoaderClientQt::cancelledError):
2859 (WebCore::FrameLoaderClientQt::blockedError):
2860 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2861 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2862 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2863 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2865 2007-10-03 Lars Knoll <lars@trolltech.com>
2867 Signed off by Olliej.
2869 move WebKitQt to WebKit/qt for consistency with the other ports.
2871 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
2872 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
2873 (QCookieJarPrivate::QCookieJarPrivate):
2875 (QCookieJar::QCookieJar):
2876 (QCookieJar::~QCookieJar):
2877 (QCookieJar::setCookies):
2878 (QCookieJar::cookies):
2879 (QCookieJar::isEnabled):
2880 (QCookieJar::setEnabled):
2882 (QCookieJar::setCookieJar):
2883 (QCookieJar::cookieJar):
2884 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
2885 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
2886 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
2887 (QWebFramePrivate::init):
2888 (QWebFramePrivate::parentFrame):
2889 (QWebFramePrivate::horizontalScrollBar):
2890 (QWebFramePrivate::verticalScrollBar):
2891 (QWebFrame::QWebFrame):
2892 (QWebFrame::~QWebFrame):
2893 (QWebFrame::addToJSWindowObject):
2894 (QWebFrame::markup):
2895 (QWebFrame::innerText):
2896 (QWebFrame::renderTreeDump):
2900 (QWebFrame::selectedText):
2901 (QWebFrame::childFrames):
2902 (QWebFrame::verticalScrollBarPolicy):
2903 (QWebFrame::setVerticalScrollBarPolicy):
2904 (QWebFrame::horizontalScrollBarPolicy):
2905 (QWebFrame::setHorizontalScrollBarPolicy):
2906 (QWebFrame::render):
2907 (QWebFrame::layout):
2909 (QWebFrame::geometry):
2910 (QWebFrame::evaluateJavaScript):
2911 (QWebFrame::mouseMoveEvent):
2912 (QWebFrame::mousePressEvent):
2913 (QWebFrame::mouseDoubleClickEvent):
2914 (QWebFrame::mouseReleaseEvent):
2915 (QWebFrame::wheelEvent):
2916 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
2917 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
2918 (QWebFramePrivate::QWebFramePrivate):
2919 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
2920 (WebCore::historyContains):
2921 (gCleanupInterface):
2922 (QWebHistoryInterface::setDefaultInterface):
2923 (QWebHistoryInterface::defaultInterface):
2924 (QWebHistoryInterface::QWebHistoryInterface):
2925 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
2926 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
2927 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
2930 (QWebNetworkRequestPrivate::init):
2931 (QWebNetworkRequestPrivate::setURL):
2932 (QWebNetworkRequest::QWebNetworkRequest):
2933 (QWebNetworkRequest::operator=):
2934 (QWebNetworkRequest::~QWebNetworkRequest):
2935 (QWebNetworkRequest::url):
2936 (QWebNetworkRequest::setUrl):
2937 (QWebNetworkRequest::httpHeader):
2938 (QWebNetworkRequest::setHttpHeader):
2939 (QWebNetworkRequest::httpHeaderField):
2940 (QWebNetworkRequest::setHttpHeaderField):
2941 (QWebNetworkRequest::postData):
2942 (QWebNetworkRequest::setPostData):
2943 (QWebNetworkJob::QWebNetworkJob):
2944 (QWebNetworkJob::~QWebNetworkJob):
2945 (QWebNetworkJob::url):
2946 (QWebNetworkJob::postData):
2947 (QWebNetworkJob::httpHeader):
2948 (QWebNetworkJob::request):
2949 (QWebNetworkJob::response):
2950 (QWebNetworkJob::setResponse):
2951 (QWebNetworkJob::cancelled):
2952 (QWebNetworkJob::ref):
2953 (QWebNetworkJob::deref):
2954 (QWebNetworkJob::networkInterface):
2955 (QWebNetworkJob::frame):
2956 (QWebNetworkManager::QWebNetworkManager):
2957 (QWebNetworkManager::self):
2958 (QWebNetworkManager::add):
2959 (QWebNetworkManager::cancel):
2960 (QWebNetworkManager::started):
2961 (QWebNetworkManager::data):
2962 (QWebNetworkManager::finished):
2963 (QWebNetworkManager::addHttpJob):
2964 (QWebNetworkManager::cancelHttpJob):
2965 (QWebNetworkManager::httpConnectionClosed):
2966 (QWebNetworkInterfacePrivate::sendFileData):
2967 (QWebNetworkInterfacePrivate::parseDataUrl):
2968 (gCleanupInterface):
2969 (QWebNetworkInterface::setDefaultInterface):
2970 (QWebNetworkInterface::defaultInterface):
2971 (QWebNetworkInterface::QWebNetworkInterface):
2972 (QWebNetworkInterface::~QWebNetworkInterface):
2973 (QWebNetworkInterface::addJob):
2974 (QWebNetworkInterface::cancelJob):
2975 (WebCoreHttp::WebCoreHttp):
2976 (WebCoreHttp::~WebCoreHttp):
2977 (WebCoreHttp::request):
2978 (WebCoreHttp::scheduleNextRequest):
2979 (WebCoreHttp::getConnection):
2980 (WebCoreHttp::onResponseHeaderReceived):
2981 (WebCoreHttp::onReadyRead):
2982 (WebCoreHttp::onRequestFinished):
2983 (WebCoreHttp::onDone):
2984 (WebCoreHttp::onStateChanged):
2985 (WebCoreHttp::cancel):
2986 (WebCoreHttp::onSslErrors):
2987 (WebCoreHttp::onAuthenticationRequired):
2988 (WebCoreHttp::onProxyAuthenticationRequired):
2989 (HostInfo::HostInfo):
2990 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
2991 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
2992 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2993 (WebCore::HostInfo::HostInfo):
2994 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2995 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
2996 (QWebFactoryLoader::QWebFactoryLoader):
2997 (QWebFactoryLoader::self):
2998 (QWebFactoryLoader::descriptionForName):
2999 (QWebFactoryLoader::mimetypesForName):
3000 (QWebFactoryLoader::mimeTypeForExtension):
3001 (QWebFactoryLoader::extensions):
3002 (QWebFactoryLoader::nameForMimetype):
3003 (QWebFactoryLoader::create):
3004 (QWebObjectPlugin::QWebObjectPlugin):
3005 (QWebObjectPlugin::~QWebObjectPlugin):
3006 (QWebObjectPlugin::descriptionForKey):
3007 (QWebObjectPlugin::mimetypesForKey):
3008 (QWebObjectPlugin::extensionsForMimetype):
3009 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3010 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3011 (QWebFactoryLoader::names):
3012 (QWebFactoryLoader::supportsMimeType):
3013 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3014 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3015 (QWebObjectPluginConnector::frame):
3016 (QWebObjectPluginConnector::pluginParentWidget):
3017 (QWebObjectPluginConnector::requestUrl):
3018 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3019 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3020 (QWebPagePrivate::QWebPagePrivate):
3021 (QWebPagePrivate::~QWebPagePrivate):
3022 (QWebPagePrivate::navigationRequested):
3023 (QWebPagePrivate::createMainFrame):
3024 (QWebPage::QWebPage):
3025 (QWebPage::~QWebPage):
3026 (QWebPage::createFrame):
3030 (QWebPage::mainFrame):
3031 (QWebPage::sizeHint):
3033 (QWebPage::history):
3035 (QWebPage::goForward):
3036 (QWebPage::goToHistoryItem):
3037 (QWebPage::javaScriptConsoleMessage):
3038 (QWebPage::javaScriptAlert):
3039 (QWebPage::javaScriptConfirm):
3040 (QWebPage::javaScriptPrompt):
3041 (QWebPage::createWindow):
3042 (QWebPage::createModalDialog):
3043 (QWebPage::createPlugin):
3044 (QWebPage::navigationRequested):
3045 (QWebPage::setWindowGeometry):
3047 (QWebPage::canCopy):
3048 (QWebPage::canPaste):
3052 (QWebPage::isModified):
3053 (QWebPage::undoStack):
3054 (dropActionToDragOp):
3055 (dragOpToDropAction):
3056 (QWebPage::resizeEvent):
3057 (QWebPage::paintEvent):
3058 (QWebPage::mouseMoveEvent):
3059 (QWebPage::mousePressEvent):
3060 (QWebPage::mouseDoubleClickEvent):
3061 (QWebPage::mouseReleaseEvent):
3062 (QWebPage::wheelEvent):
3063 (QWebPage::keyPressEvent):
3064 (QWebPage::keyReleaseEvent):
3065 (QWebPage::focusInEvent):
3066 (QWebPage::focusOutEvent):
3067 (QWebPage::focusNextPrevChild):
3068 (QWebPage::dragEnterEvent):
3069 (QWebPage::dragLeaveEvent):
3070 (QWebPage::dragMoveEvent):
3071 (QWebPage::dropEvent):
3072 (QWebPage::setNetworkInterface):
3073 (QWebPage::networkInterface):
3075 (QWebPage::setSettings):
3076 (QWebPage::settings):
3077 (QWebPage::chooseFile):
3078 (QWebPage::setNetworkProxy):
3079 (QWebPage::networkProxy):
3080 (QWebPage::userAgentStringForUrl):
3081 (QWebPage::onLoadProgressChanged):
3082 (QWebPage::totalBytes):
3083 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3084 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3085 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3086 (QWebHistoryItem::QWebHistoryItem):
3087 (QWebHistoryItem::operator=):
3088 (QWebHistoryItem::~QWebHistoryItem):
3089 (QWebHistoryItem::originalUrl):
3090 (QWebHistoryItem::currentUrl):
3091 (QWebHistoryItem::title):
3092 (QWebHistoryItem::lastVisited):
3093 (QWebHistoryItem::icon):
3094 (QWebPageHistory::QWebPageHistory):
3095 (QWebPageHistory::itemAtIndex):
3096 (QWebPageHistory::operator=):
3097 (QWebPageHistory::~QWebPageHistory):
3098 (QWebPageHistory::items):
3099 (QWebPageHistory::backItems):
3100 (QWebPageHistory::forwardItems):
3101 (QWebPageHistory::canGoBack):
3102 (QWebPageHistory::canGoForward):
3103 (QWebPageHistory::goBack):
3104 (QWebPageHistory::goForward):
3105 (QWebPageHistory::goToItem):
3106 (QWebPageHistory::backItem):
3107 (QWebPageHistory::currentItem):
3108 (QWebPageHistory::forwardItem):
3109 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3110 (QExplicitlySharedDataPointer::operator*):
3111 (QExplicitlySharedDataPointer::operator->):
3112 (QExplicitlySharedDataPointer::operator T *):
3113 (QExplicitlySharedDataPointer::operator const T *):
3114 (QExplicitlySharedDataPointer::data):
3115 (QExplicitlySharedDataPointer::constData):
3116 (QExplicitlySharedDataPointer::operator==):
3117 (QExplicitlySharedDataPointer::operator!=):
3118 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3119 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3120 (QExplicitlySharedDataPointer::operator=):
3121 (QExplicitlySharedDataPointer::operator!):
3122 (::QExplicitlySharedDataPointer):
3123 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3124 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3125 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3126 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3127 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3128 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3129 (QWebSettingsPrivate::QWebSettingsPrivate):
3130 (QWebSettings::QWebSettings):
3131 (QWebSettings::~QWebSettings):
3132 (QWebSettings::setMinimumFontSize):
3133 (QWebSettings::minimumFontSize):
3134 (QWebSettings::setMinimumLogicalFontSize):
3135 (QWebSettings::minimumLogicalFontSize):
3136 (QWebSettings::setDefaultFontSize):
3137 (QWebSettings::defaultFontSize):
3138 (QWebSettings::setDefaultFixedFontSize):
3139 (QWebSettings::defaultFixedFontSize):
3140 (QWebSettings::setUserStyleSheetLocation):
3141 (QWebSettings::userStyleSheetLocation):
3142 (QWebSettings::setIconDatabaseEnabled):
3143 (QWebSettings::iconDatabaseEnabled):
3144 (QWebSettings::setWebGraphic):
3145 (QWebSettings::webGraphic):
3146 (QWebSettings::operator=):
3147 (QWebSettings::setGlobal):
3148 (QWebSettings::global):
3149 (QWebSettings::setFontFamily):
3150 (QWebSettings::fontFamily):
3151 (QWebSettings::setAttribute):
3152 (QWebSettings::testAttribute):
3153 (loadResourcePixmap):
3154 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3155 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3156 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3157 (IcoHeader::operator >>):
3158 (IcoHeader::BMP_INFOHDR::):
3159 (IcoHeader::operator<<):
3160 (IcoHeader::LessDifference::LessDifference):
3161 (IcoHeader::LessDifference::operator ()):
3162 (IcoHeader::loadFromDIB):
3163 (ICOHandler::ICOHandler):
3164 (ICOHandler::canRead):
3166 (ICOHandler::write):
3169 (ICOPlugin::capabilities):
3170 (ICOPlugin::create):
3171 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3172 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3173 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3174 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3175 (HoverLabel::HoverLabel):
3176 (HoverLabel::setHoverLink):
3177 (HoverLabel::sizeForFont):
3178 (HoverLabel::sizeHint):
3179 (HoverLabel::updateSize):
3180 (HoverLabel::resetAnimation):
3181 (HoverLabel::paintEvent):
3182 (HoverLabel::interpolate):
3183 (ClearButton::ClearButton):
3184 (ClearButton::paintEvent):
3185 (SearchEdit::SearchEdit):
3186 (SearchEdit::~SearchEdit):
3187 (SearchEdit::paintEvent):
3188 (SearchEdit::resizeEvent):
3189 (SearchEdit::moveEvent):
3190 (MainWindow::MainWindow):
3191 (MainWindow::changeLocation):
3192 (MainWindow::loadFinished):
3193 (MainWindow::showLinkHover):
3194 (MainWindow::resizeEvent):
3196 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3197 (WebCore::ChromeClientQt::ChromeClientQt):
3198 (WebCore::ChromeClientQt::~ChromeClientQt):
3199 (WebCore::ChromeClientQt::setWindowRect):
3200 (WebCore::ChromeClientQt::windowRect):
3201 (WebCore::ChromeClientQt::pageRect):
3202 (WebCore::ChromeClientQt::scaleFactor):
3203 (WebCore::ChromeClientQt::focus):
3204 (WebCore::ChromeClientQt::unfocus):
3205 (WebCore::ChromeClientQt::canTakeFocus):
3206 (WebCore::ChromeClientQt::takeFocus):
3207 (WebCore::ChromeClientQt::createWindow):
3208 (WebCore::ChromeClientQt::createModalDialog):
3209 (WebCore::ChromeClientQt::show):
3210 (WebCore::ChromeClientQt::canRunModal):
3211 (WebCore::ChromeClientQt::runModal):
3212 (WebCore::ChromeClientQt::setToolbarsVisible):
3213 (WebCore::ChromeClientQt::toolbarsVisible):
3214 (WebCore::ChromeClientQt::setStatusbarVisible):
3215 (WebCore::ChromeClientQt::statusbarVisible):
3216 (WebCore::ChromeClientQt::setScrollbarsVisible):
3217 (WebCore::ChromeClientQt::scrollbarsVisible):
3218 (WebCore::ChromeClientQt::setMenubarVisible):
3219 (WebCore::ChromeClientQt::menubarVisible):
3220 (WebCore::ChromeClientQt::setResizable):
3221 (WebCore::ChromeClientQt::addMessageToConsole):
3222 (WebCore::ChromeClientQt::chromeDestroyed):
3223 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3224 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3225 (WebCore::ChromeClientQt::closeWindowSoon):
3226 (WebCore::ChromeClientQt::runJavaScriptAlert):
3227 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3228 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3229 (WebCore::ChromeClientQt::setStatusbarText):
3230 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3231 (WebCore::ChromeClientQt::tabsToLinks):
3232 (WebCore::ChromeClientQt::windowResizerRect):
3233 (WebCore::ChromeClientQt::addToDirtyRegion):
3234 (WebCore::ChromeClientQt::scrollBackingStore):
3235 (WebCore::ChromeClientQt::updateBackingStore):
3236 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3237 (WebCore::ChromeClientQt::setToolTip):
3238 (WebCore::ChromeClientQt::print):
3239 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3240 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3241 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3242 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3243 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3244 (WebCore::ContextMenuClientQt::downloadURL):
3245 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3246 (WebCore::ContextMenuClientQt::speak):
3247 (WebCore::ContextMenuClientQt::stopSpeaking):
3248 (WebCore::ContextMenuClientQt::searchWithGoogle):
3249 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3250 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3251 (WebCore::DragClientQt::actionMaskForDrag):
3252 (WebCore::DragClientQt::willPerformDragDestinationAction):
3253 (WebCore::DragClientQt::dragControllerDestroyed):
3254 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3255 (WebCore::DragClientQt::willPerformDragSourceAction):
3256 (WebCore::DragClientQt::startDrag):
3257 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3258 (WebCore::DragClientQt::DragClientQt):
3259 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3260 (EditCommandQt::EditCommandQt):
3261 (EditCommandQt::~EditCommandQt):
3262 (EditCommandQt::redo):
3263 (EditCommandQt::undo):
3264 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3265 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3266 (WebCore::EditorClientQt::shouldDeleteRange):
3267 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3268 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3269 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3270 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3271 (WebCore::EditorClientQt::shouldBeginEditing):
3272 (WebCore::EditorClientQt::shouldEndEditing):
3273 (WebCore::EditorClientQt::shouldInsertText):
3274 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3275 (WebCore::EditorClientQt::shouldApplyStyle):
3276 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3277 (WebCore::EditorClientQt::didBeginEditing):
3278 (WebCore::EditorClientQt::respondToChangedContents):
3279 (WebCore::EditorClientQt::respondToChangedSelection):
3280 (WebCore::EditorClientQt::didEndEditing):
3281 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3282 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3283 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3284 (WebCore::EditorClientQt::isEditable):
3285 (WebCore::EditorClientQt::registerCommandForUndo):
3286 (WebCore::EditorClientQt::registerCommandForRedo):
3287 (WebCore::EditorClientQt::clearUndoRedoOperations):
3288 (WebCore::EditorClientQt::canUndo):
3289 (WebCore::EditorClientQt::canRedo):
3290 (WebCore::EditorClientQt::undo):
3291 (WebCore::EditorClientQt::redo):
3292 (WebCore::EditorClientQt::shouldInsertNode):
3293 (WebCore::EditorClientQt::pageDestroyed):
3294 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3295 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3296 (WebCore::EditorClientQt::toggleGrammarChecking):
3297 (WebCore::EditorClientQt::handleKeypress):
3298 (WebCore::EditorClientQt::handleInputMethodKeypress):
3299 (WebCore::EditorClientQt::EditorClientQt):
3300 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3301 (WebCore::EditorClientQt::textFieldDidEndEditing):
3302 (WebCore::EditorClientQt::textDidChangeInTextField):
3303 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3304 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3305 (WebCore::EditorClientQt::textDidChangeInTextArea):
3306 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3307 (WebCore::EditorClientQt::learnWord):
3308 (WebCore::EditorClientQt::checkSpellingOfString):
3309 (WebCore::EditorClientQt::checkGrammarOfString):
3310 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3311 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3312 (WebCore::EditorClientQt::showSpellingUI):
3313 (WebCore::EditorClientQt::spellingUIIsShowing):
3314 (WebCore::EditorClientQt::getGuessesForWord):
3315 (WebCore::EditorClientQt::isEditing):
3316 (WebCore::EditorClientQt::setInputMethodState):
3317 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3318 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3319 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3320 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3321 (WebCore::FrameLoaderClientQt::setFrame):
3322 (WebCore::FrameLoaderClientQt::webFrame):
3323 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3324 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3325 (WebCore::FrameLoaderClientQt::hasWebView):
3326 (WebCore::FrameLoaderClientQt::hasFrameView):
3327 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3328 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3329 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3330 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3331 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3332 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3333 (WebCore::FrameLoaderClientQt::makeDocumentView):
3334 (WebCore::FrameLoaderClientQt::makeRepresentation):
3335 (WebCore::FrameLoaderClientQt::forceLayout):
3336 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3337 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3338 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3339 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3340 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3341 (WebCore::FrameLoaderClientQt::willCloseDocument):
3342 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3343 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3344 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3345 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3346 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3347 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3348 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3349 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3350 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3351 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3352 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3353 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3354 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3355 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3356 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3357 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3358 (WebCore::FrameLoaderClientQt::dispatchShow):
3359 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3360 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3361 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3362 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3363 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3364 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3365 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3366 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3367 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3368 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3369 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3370 (WebCore::FrameLoaderClientQt::willChangeTitle):
3371 (WebCore::FrameLoaderClientQt::didChangeTitle):
3372 (WebCore::FrameLoaderClientQt::finishedLoading):
3373 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3374 (WebCore::FrameLoaderClientQt::setDefersLoading):
3375 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3376 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3377 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3378 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3379 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3380 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3381 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3382 (WebCore::FrameLoaderClientQt::restoreViewState):
3383 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3384 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3385 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3386 (WebCore::FrameLoaderClientQt::didFinishLoad):
3387 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3388 (WebCore::FrameLoaderClientQt::setTitle):
3389 (WebCore::FrameLoaderClientQt::userAgent):
3390 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3391 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3392 (WebCore::FrameLoaderClientQt::canHandleRequest):
3393 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3394 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3395 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3396 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3397 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3398 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3399 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3400 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3401 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3402 (WebCore::FrameLoaderClientQt::canCachePage):
3403 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3404 (WebCore::FrameLoaderClientQt::committedLoad):
3405 (WebCore::FrameLoaderClientQt::cancelledError):
3406 (WebCore::FrameLoaderClientQt::blockedError):
3407 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3408 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3409 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3410 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3411 (WebCore::FrameLoaderClientQt::shouldFallBack):
3412 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3413 (WebCore::FrameLoaderClientQt::download):
3414 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3415 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3416 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3417 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3418 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3419 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3420 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3421 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3422 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3423 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3424 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3425 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3426 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3427 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3428 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3429 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3430 (WebCore::FrameLoaderClientQt::startDownload):
3431 (WebCore::FrameLoaderClientQt::willUseArchive):
3432 (WebCore::FrameLoaderClientQt::createFrame):
3433 (WebCore::FrameLoaderClientQt::objectContentType):
3435 (WebCore::FrameLoaderClientQt::createPlugin):
3436 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3437 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3438 (WebCore::FrameLoaderClientQt::overrideMediaType):
3439 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3440 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3441 (WebCore::InspectorClientQt::inspectorDestroyed):
3442 (WebCore::InspectorClientQt::createPage):
3443 (WebCore::InspectorClientQt::showWindow):
3444 (WebCore::InspectorClientQt::closeWindow):
3445 (WebCore::InspectorClientQt::attachWindow):
3446 (WebCore::InspectorClientQt::detachWindow):
3447 (WebCore::InspectorClientQt::highlight):
3448 (WebCore::InspectorClientQt::hideHighlight):
3449 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3450 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3451 (WebKitFactory::WebKitFactory):
3452 (WebKitFactory::~WebKitFactory):
3453 (WebKitFactory::createPartObject):
3454 (WebKitFactory::instance):
3455 (WebKitFactory::ref):
3456 (WebKitFactory::deref):
3457 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3458 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3459 (WebKitPart::WebKitPart):
3460 (WebKitPart::~WebKitPart):
3461 (WebKitPart::openFile):
3462 (WebKitPart::openUrl):
3463 (WebKitPart::closeUrl):
3464 (WebKitPart::parentPart):
3465 (WebKitPart::frame):
3466 (WebKitPart::initView):
3467 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3468 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3470 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3471 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3472 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3473 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3474 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3475 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3476 (WebKitPartClient::WebKitPartClient):
3477 (WebKitPartClient::~WebKitPartClient):
3478 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3479 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3480 (WebKitPartInterface::WebKitPartInterface):
3481 (WebKitPartInterface::~WebKitPartInterface):
3482 (WebKitPartInterface::url):
3483 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3484 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3486 2007-10-02 Adam Treat <treat@kde.org>
3488 Reviewed by Eric Seidel.
3490 Open the requested url on the newly created window.
3491 Implement createModalDialog and provide new API for this.
3492 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3495 (QWebPage::createModalDialog):
3497 * WebCoreSupport/ChromeClientQt.cpp:
3498 (WebCore::ChromeClientQt::createWindow):
3499 (WebCore::ChromeClientQt::createModalDialog):
3501 2007-10-02 Lars Knoll <lars@trolltech.com>
3505 Add API to retrieve the frame name from QWebFrame.
3506 Implement support for DRT::dumpChildrenAsText.
3508 * Api/qwebframe.cpp:
3512 2007-10-02 Lars Knoll <lars@trolltech.com>
3516 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3518 * Api/qwebnetworkinterface.cpp:
3519 (QWebNetworkManager::started):
3520 (QWebNetworkManager::data):
3521 (QWebNetworkManager::finished):
3522 (QWebNetworkInterfacePrivate::sendFileData):
3523 (QWebNetworkInterfacePrivate::parseDataUrl):
3524 (WebCoreHttp::scheduleNextRequest):
3525 (WebCoreHttp::onSslErrors):
3526 * QtLauncher/main.cpp:
3529 2007-10-01 Lars Knoll <lars@trolltech.com>
3533 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
3535 * WebCoreSupport/FrameLoaderClientQt.cpp:
3536 (WebCore::FrameLoaderClientQt::makeDocumentView):
3537 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3538 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3539 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3540 (WebCore::FrameLoaderClientQt::objectContentType):
3541 (WebCore::FrameLoaderClientQt::createPlugin):
3543 2007-09-30 George Staikos <staikos@kde.org>
3545 Qt build fix (OS X specific).
3547 * QtLauncher/QtLauncher.pro:
3549 2007-09-26 Mark Rowe <mrowe@apple.com>
3553 * WebCoreSupport/FrameLoaderClientQt.cpp:
3554 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
3556 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3560 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3561 LGPL'ed files contain incorrect FSF address
3563 * Api/qcookiejar.cpp:
3565 * Api/qwebframe.cpp:
3567 * Api/qwebframe_p.h:
3568 * Api/qwebhistoryinterface.cpp:
3569 * Api/qwebhistoryinterface.h:
3570 * Api/qwebkitglobal.h:
3571 * Api/qwebnetworkinterface.cpp:
3572 * Api/qwebnetworkinterface.h:
3573 * Api/qwebnetworkinterface_p.h:
3574 * Api/qwebobjectplugin.cpp:
3575 * Api/qwebobjectplugin.h:
3576 * Api/qwebobjectpluginconnector.cpp:
3577 * Api/qwebobjectpluginconnector.h:
3581 * Api/qwebpagehistory.cpp:
3582 * Api/qwebpagehistory.h:
3583 * Api/qwebsettings.cpp:
3584 * Api/qwebsettings.h:
3585 * WebCoreSupport/EditCommandQt.cpp:
3586 * WebCoreSupport/EditCommandQt.h:
3588 2007-09-25 Adam Treat <treat@kde.org>
3590 Reviewed by Simon and Lars.
3592 Modifies the addToJSWindowObject to bind js objects using the built-in
3593 kjs_window class. Make sure to protect the created runtime object from
3596 Adds a signal to QWebFrame to notify clients of the beginning of a
3597 provisional load. DRT needs this.
3599 * Api/qwebframe.cpp:
3600 (QWebFrame::addToJSWindowObject):
3602 * WebCoreSupport/FrameLoaderClientQt.cpp:
3603 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3605 2007-09-10 Qing Zhao <qing@staikos.net>
3607 Reviewed by George Staikos.
3609 Don't re-encode urls, resulting in double encoding. Fixes login to
3612 * Api/qwebnetworkinterface.cpp:
3613 (QWebNetworkRequestPrivate::init):
3614 (QWebNetworkManager::started):
3616 2007-09-08 Mark Rowe <mrowe@apple.com>
3618 Qt build fix. Move stub method implementations to the right class.
3620 * WebCoreSupport/FrameLoaderClientQt.cpp:
3621 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3623 2007-09-08 Brady Eidson <beidson@apple.com>
3625 YABF (Yet Another Build Fix)
3627 * Api/qwebsettings.cpp:
3628 (QWebSettings::iconDatabaseEnabled):
3630 2007-09-08 Brady Eidson <beidson@apple.com>
3634 * WebCoreSupport/FrameLoaderClientQt.cpp:
3635 (WebCore::FrameLoaderClient::registerForIconNotification):
3636 * WebCoreSupport/FrameLoaderClientQt.h:
3638 2007-09-08 Brady Eidson <beidson@apple.com>
3642 * WebCoreSupport/FrameLoaderClientQt.cpp:
3643 (WebCore::FrameLoaderClient::registerForIconNotification):
3644 * WebCoreSupport/FrameLoaderClientQt.h:
3646 2007-09-05 Geoffrey Garen <ggaren@apple.com>
3648 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
3650 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
3651 memory cache, or a very tiny one
3653 Keep the Qt build working with an empty stub.
3655 * WebCoreSupport/FrameLoaderClientQt.cpp:
3656 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
3657 * WebCoreSupport/FrameLoaderClientQt.h:
3659 2007-09-07 George Staikos <staikos@kde.org>
3664 (QWebPage::onLoadProgressChanged):
3666 2007-09-07 Qing Zhao <qing@staikos.net>
3668 Reviewed by Anders and George.
3670 Export page size and load progress in bytes.
3673 (QWebPage::QWebPage):
3674 (QWebPage::onLoadProgressChanged):
3675 (QWebPage::totalBytes):
3676 (QWebPage::bytesReceived):
3680 2007-09-06 George Staikos <staikos@kde.org>
3684 Make popup windows work again.
3686 * WebCoreSupport/FrameLoaderClientQt.cpp:
3687 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3689 2007-09-01 Oliver Hunt <oliver@apple.com>
3693 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
3695 EditorClient::setInputMethodState stub
3697 * WebCoreSupport/EditorClientQt.cpp:
3698 (WebCore::EditorClientQt::setInputMethodState):