summaryrefslogtreecommitdiffstats
path: root/WebKit/qt
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/qt')
-rw-r--r--WebKit/qt/Api/qwebframe.cpp12
-rw-r--r--WebKit/qt/Api/qwebhistory.cpp1
-rw-r--r--WebKit/qt/Api/qwebhistoryinterface.cpp2
-rw-r--r--WebKit/qt/Api/qwebnetworkinterface.cpp5
-rw-r--r--WebKit/qt/ChangeLog6591
-rw-r--r--WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp7
-rw-r--r--WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h3
7 files changed, 6611 insertions, 10 deletions
diff --git a/WebKit/qt/Api/qwebframe.cpp b/WebKit/qt/Api/qwebframe.cpp
index 155731c..058a283 100644
--- a/WebKit/qt/Api/qwebframe.cpp
+++ b/WebKit/qt/Api/qwebframe.cpp
@@ -313,8 +313,10 @@ void QWebFrame::load(const QWebNetworkRequest &req)
request.addHTTPHeaderField(val.first, val.second);
}
- if (!postData.isEmpty())
- request.setHTTPBody(WebCore::FormData::create(postData.constData(), postData.size()));
+ if (!postData.isEmpty()) {
+ WTF::RefPtr<WebCore::FormData> formData = new WebCore::FormData(postData.constData(), postData.size());
+ request.setHTTPBody(formData);
+ }
d->frame->loader()->load(request);
@@ -363,8 +365,10 @@ void QWebFrame::load(const QNetworkRequest &req,
request.addHTTPHeaderField(QString::fromLatin1(headerName), QString::fromLatin1(req.rawHeader(headerName)));
}
- if (!body.isEmpty())
- request.setHTTPBody(WebCore::FormData::create(body.constData(), body.size()));
+ if (!body.isEmpty()) {
+ WTF::RefPtr<WebCore::FormData> formData = new WebCore::FormData(body.constData(), body.size());
+ request.setHTTPBody(formData);
+ }
d->frame->loader()->load(request);
diff --git a/WebKit/qt/Api/qwebhistory.cpp b/WebKit/qt/Api/qwebhistory.cpp
index 10127a4..eab7d22 100644
--- a/WebKit/qt/Api/qwebhistory.cpp
+++ b/WebKit/qt/Api/qwebhistory.cpp
@@ -22,6 +22,7 @@
#include "qwebhistory.h"
#include "qwebhistory_p.h"
+#include "DeprecatedString.h"
#include "PlatformString.h"
#include "Image.h"
diff --git a/WebKit/qt/Api/qwebhistoryinterface.cpp b/WebKit/qt/Api/qwebhistoryinterface.cpp
index 8890350..d3e7efd 100644
--- a/WebKit/qt/Api/qwebhistoryinterface.cpp
+++ b/WebKit/qt/Api/qwebhistoryinterface.cpp
@@ -23,8 +23,8 @@
#include <QCoreApplication>
-#include "PlatformString.h"
#include <wtf/Platform.h>
+#include "DeprecatedString.h"
// FIXME: It's not correct to just implement a WebCore function in WebKit!
// This needs to be fixed to match other platforms.
diff --git a/WebKit/qt/Api/qwebnetworkinterface.cpp b/WebKit/qt/Api/qwebnetworkinterface.cpp
index fd0c694..d68140d 100644
--- a/WebKit/qt/Api/qwebnetworkinterface.cpp
+++ b/WebKit/qt/Api/qwebnetworkinterface.cpp
@@ -135,9 +135,8 @@ void QWebNetworkRequestPrivate::init(const QString &method, const QUrl &url, con
// handle and perform a 'POST' request
if (method == "POST") {
- Vector<char> data;
- resourceRequest->httpBody()->flatten(data);
- postData = QByteArray(data.data(), data.size());
+ DeprecatedString pd = resourceRequest->httpBody()->flattenToString().deprecatedString();
+ postData = QByteArray(pd.ascii(), pd.length());
httpHeader.setValue(QLatin1String("content-length"), QString::number(postData.size()));
}
}
diff --git a/WebKit/qt/ChangeLog b/WebKit/qt/ChangeLog
new file mode 100644
index 0000000..6caa002
--- /dev/null
+++ b/WebKit/qt/ChangeLog
@@ -0,0 +1,6591 @@
+2008-01-24 David Boddie <dboddie@trolltech.com>
+
+ Reviewed by Simon.
+
+ Documentation tidying.
+
+
+ * Api/qwebframe.cpp:
+ * Api/qwebhistoryinterface.cpp:
+ * Api/qwebview.cpp:
+
+2008-01-24 Jarek Kobus <jkobus@trolltech.com>
+
+ Reviewed by Simon.
+
+ Text for translations were used wrongly as comments
+
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::):
+ (WebCore::FrameLoaderClientQt::cannotShowURLError):
+ (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
+ (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
+ (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
+ (WebCore::FrameLoaderClientQt::shouldFallBack):
+
+2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * We have a KURL->QUrl conversion on KURL itself, make use of it.
+ * This conversion is supposed to be loss-free
+
+
+ * Api/qwebframe.cpp:
+
+2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ * Rubber stamped by Simon
+
+ * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
+ This was found while working on the page-cache, other ports are not affected.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createFrame):
+
+2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
+
+ Reviewed by Simon Hausmann <hausmann@webkit.org>.
+
+ Fix Qtopia compilation with QT_NO_TOOLTIP
+
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::print):
+
+2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
+
+ Reviewed by Simon.
+
+ Doc: Replaced \code with snippets in the docs
+
+
+ * Api/qwebview.cpp:
+
+2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
+
+ Reviewed by Simon.
+
+ Tweak key presses even to match commonly expected behavior
+ - space key == page down
+ - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
+ - Use font height rather then a hard coded "10" for left, right, up, down
+ - Ctrl-Up moves to the top of the page
+ - Ctrl-Down move to the bottom of the page
+ - Backspace == GoBack
+ - Shift-Backspace == GoForward
+
+
+ * Api/qwebpage.cpp:
+ (dropActionToDragOp):
+ (dragOpToDropAction):
+ (QWebPagePrivate::keyPressEvent):
+
+2008-01-23 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
+
+ Added two signals to QWebPage to handle downloading of links and handling of
+ unsupported content.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::triggerAction):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::download):
+ (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
+ (WebCore::FrameLoaderClientQt::willUseArchive):
+
+2008-01-22 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ setup a family for cursive and fantasy fonts as well.
+
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::QWebSettings):
+
+2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
+
+ Reviewed by Simon.
+
+ Implement ChromeClientQt::setToolTip
+ Implement ChromeClientQt::mouseDidMoveOverElement
+
+
+ * Api/qwebpage.cpp:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::ChromeClientQt):
+ (WebCore::ChromeClientQt::focus):
+ (WebCore::ChromeClientQt::mouseDidMoveOverElement):
+ (WebCore::ChromeClientQt::setToolTip):
+ (WebCore::ChromeClientQt::print):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2008-01-21 Darin Adler <darin@apple.com>
+
+ Reviewed by John Sullivan.
+
+ - updated for changes to ChromeClient database functions
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::exceededDatabaseQuota):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
+
+ Reviewed by Simon.
+
+ Change QWebHistoryInterface::addHistoryEntry() from const to non-const
+
+
+ * Api/qwebhistoryinterface.h:
+
+2008-01-21 Adam Treat <treat@kde.org>
+
+ Reviewed by Simon.
+
+ * Don't leak the d-pointer in QWebSettings.
+
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::~QWebSettings):
+
+2008-01-21 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Holger.
+
+ Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
+
+ This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
+
+
+ * Api/qwebpage.cpp:
+
+2008-01-21 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Holger.
+
+ Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
+
+ * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
+ * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
+ and make the return value depend on whether we successfully determined a focusable
+ node or not.
+ * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
+ if we could not handle the focus chain ourselves.
+ * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
+ * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
+ used to control the situation of stepping out of the focus chain inside the page.
+ * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
+ The layout tests expect this to be disabled but for the user it seems sensible to have it
+ on by default, hence the default in qwebsettings.cpp
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::focusNextPrevChild):
+ * Api/qwebsettings.cpp:
+ (QWebSettings::QWebSettings):
+ * Api/qwebsettings.h:
+ * Api/qwebview.cpp:
+ (QWebView::QWebView):
+ (QWebView::focusNextPrevChild):
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::canTakeFocus):
+ (WebCore::ChromeClientQt::takeFocus):
+
+2008-01-18 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Holger.
+
+ Coding style fixes and added a comment about the include order.
+
+ * WebKit_pch.h:
+
+2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
+
+ Reviewed by Simon Hausmann <hausmann@webkit.org>.
+
+ Add use of precompiled header, when building inside Qt.
+
+ 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.
+
+
+ * WebKit_pch.h: Added.
+
+2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
+ we will see a crash in a HashSet.
+ * It is crashing there because the StringImpl of an empty String is 0.
+ * We avoid this crash by checking for isEmpty() in WebKit as there is no
+ use to ask the iconDatabase for an empty string. We will fallback to the
+ defaultIcon.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::icon):
+
+2008-01-17 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Holger.
+
+ Minor documentation fixes
+
+
+ * Api/qwebframe.cpp:
+ * Api/qwebview.cpp:
+
+2008-01-17 Simon Hausmann <shausman@trolltech.com>
+
+ Reviewed by Lars.
+
+ Fix form elements not focusing correctly after the qt widget lost its focus.
+
+ When receiving a focus out event notify the focus controller. Otherwise its
+ m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
+ event shortcuts and doesn't call setActive(true).
+
+
+ * Api/qwebpage.cpp:
+
+2008-01-17 Simon Hausmann <shausman@trolltech.com>
+
+ Reviewed by Holger.
+
+ Lots of updates to the documentation.
+
+
+ * Api/qwebframe.cpp:
+ * Api/qwebhistory.cpp:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::dropEvent):
+ (QWebPage::history):
+ (openNewWindow):
+ (QWebPage::triggerAction):
+ (QWebPage::viewportSize):
+ (QWebPage::navigationRequested):
+ (QWebPage::action):
+ (QWebPage::event):
+ (QWebPageContext::targetFrame):
+ * Api/qwebpage.h:
+ * Api/qwebview.cpp:
+
+2008-01-17 Simon Hausmann <shausman@trolltech.com>
+
+ Reviewed by Lars.
+
+ Added a urlChanged signals to QWebFrame and QWebView.
+
+
+ * Api/qwebframe.cpp:
+ * Api/qwebframe.h:
+ * Api/qwebview.cpp:
+ (QWebView::setPage):
+ * Api/qwebview.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2008-01-17 Simon Hausmann <shausman@trolltech.com>
+
+ Reviewed by Lars.
+
+ Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
+
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::setIconDatabaseEnabled):
+
+2008-01-17 Simon Hausmann <shausman@trolltech.com>
+
+ Reviewed by Lars.
+
+ Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::createWindow):
+ * Api/qwebview.cpp:
+ (QWebView::createWindow):
+ * Api/qwebview.h:
+
+2008-01-17 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Lars.
+
+ add a 0 pointer check.
+
+ Fixes a crash in the demo web browser.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
+
+2008-01-17 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Holger.
+
+ Fix QWebFrame::title().
+
+ For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
+ instead of Document::title() as the latter is not trimmed and not suited for a window caption.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::title):
+
+2008-01-17 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Maciej, Lars, Holger.
+
+ http://bugs.webkit.org/show_bug.cgi?id=16589
+
+ Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequestPrivate::init):
+ (QWebNetworkManager::started):
+
+2008-01-17 Warwick Allison <warwick@trolltech.com>
+
+ Reviewed by Simon Hausmann <hausmann@webkit.org>.
+
+ Follow QWidget::keyPressEvent advice and call parents.
+
+ Without this, Back does not work in Qtopia, for example.
+
+
+ * Api/qwebview.cpp:
+ (QWebView::keyPressEvent):
+ (QWebView::keyReleaseEvent):
+
+2008-01-17 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::started):
+
+2008-01-17 Simon Hausmann <shausman@trolltech.com>
+
+ Reviewed by Holger.
+
+ Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
+
+
+ * Api/qwebframe.cpp:
+ * Api/qwebpage.cpp:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
+
+ Reviewed by Simon Hausmann <hausmann@webkit.org>.
+
+ Fixes compilation with QT_NO_DRAGANDDROP
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::event):
+ * Api/qwebview.cpp:
+ (QWebView::dragEnterEvent):
+ (QWebView::dragLeaveEvent):
+ (QWebView::dragMoveEvent):
+ (QWebView::dropEvent):
+
+2008-01-17 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Fix compilation, removed obsolete privateBrowsingEnabled() method.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2008-01-16 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
+
+ Removed a whole bunch of notImplemented() warnings.
+
+ I don't want to hide the real warnings in lots of things that
+ I am by now pretty certain we won't need.
+
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
+ (WebCore::FrameLoaderClientQt::canShowMIMEType):
+
+2008-01-16 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Holger.
+
+ Fix crash when bringing up the context menu on maps.google.com.
+
+ If the website provides its own context menu then we don't have a ContextMenu pointer.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::contextMenuEvent):
+
+2008-01-16 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Holger.
+
+ Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
+
+ * Api/qwebview.cpp:
+ (QWebView::mouseMoveEvent):
+ (QWebView::mousePressEvent):
+ (QWebView::mouseDoubleClickEvent):
+ (QWebView::mouseReleaseEvent):
+ (QWebView::contextMenuEvent):
+ (QWebView::wheelEvent):
+ (QWebView::keyPressEvent):
+ (QWebView::keyReleaseEvent):
+ (QWebView::focusInEvent):
+ (QWebView::focusOutEvent):
+ (QWebView::dragEnterEvent):
+ (QWebView::dragLeaveEvent):
+ (QWebView::dragMoveEvent):
+ (QWebView::dropEvent):
+ (QWebView::focusNextPrevChild):
+
+2008-01-16 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Made the url property read-write.
+
+ * Api/qwebview.h:
+
+2008-01-16 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Don't crash when showing a default initialized QWebView that has no page/frame yet.
+
+ * Api/qwebview.cpp:
+ (QWebView::paintEvent):
+
+2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ Change hoveringOverLink implementation to have less issues.
+
+ * Currently we only compare a pointer. In the worst case we
+ could delete the Element we have pointed to and a new one
+ gets the same address. But even if that doesn't happen the
+ WebCore::Element is mutable and JavaScript could change the
+ URL, Title or Content. So we have to compare all these three
+ attributes.
+ * This does not seem to be a performance impact.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::mouseMoveEvent):
+ * Api/qwebpage_p.h:
+
+2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Move the hoverElement from QWebFrame to QWebPage. As it is
+ only used there.
+
+
+ * Api/qwebframe_p.h:
+ (QWebFramePrivate::QWebFramePrivate):
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::mouseMoveEvent):
+ * Api/qwebpage_p.h:
+
+2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ EventHandler changes/fixes in QWebPage:
+ -mouse{Press,Move,Release}Event:
+ Send the event always to the mainFrame of the QWebPage.
+
+ -contextMenuEvent, key{Press,Release}Event:
+ Send the event to the focused frame.
+
+ This is following the Windows port and fixes a issue with the
+ Web Inspector where we were sending the events to a wrong frame.
+
+ It is guaranteed that the mainFrame will always have an eventHandler
+ and frameView set. There is no need to check for this in QWebPage.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ * Api/qwebframe_p.h:
+ (QWebFramePrivate::QWebFramePrivate):
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::updateEditorActions):
+ (QWebPagePrivate::mouseMoveEvent):
+ (QWebPagePrivate::mousePressEvent):
+ (QWebPagePrivate::mouseDoubleClickEvent):
+ (QWebPagePrivate::mouseReleaseEvent):
+ (QWebPagePrivate::contextMenuEvent):
+ (QWebPagePrivate::wheelEvent):
+ (QWebPagePrivate::keyPressEvent):
+ (QWebPagePrivate::keyReleaseEvent):
+ (QWebPagePrivate::focusInEvent):
+ * Api/qwebpage_p.h:
+
+2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Add core and kit functions to QWebFramePrivate to convert from
+ QWebFrame to WebCore::Frame and vice versa.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::core):
+ (QWebFramePrivate::kit):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+
+2008-01-16 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ add conversion methods from and to QUrl to KURL.
+
+ Use them in the places I found at the moment. Fixes a bug
+ where form data was encoded twice.
+ Also fix QWebSettings to take a QUrl for the user style sheet
+ location.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::load):
+ * Api/qwebpage.cpp:
+ (QWebPage::createPlugin):
+ (frameLoadRequest):
+ (QWebPage::triggerAction):
+ * Api/qwebsettings.cpp:
+ (QWebSettingsPrivate::apply):
+ * Api/qwebsettings.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::createWindow):
+ (WebCore::ChromeClientQt::show):
+
+2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Lars.
+
+ * Make the InspectorClientView inherit from QWebView instead of QWidget. This
+ way paintEvent, mouse{Press,Release}Event and other events get forwarded to
+ the QWebPage/WebInspector automatically.
+
+
+ * WebCoreSupport/InspectorClientQt.cpp:
+ (WebCore::InspectorClientWebPage::createWindow):
+ (WebCore::InspectorClientView::InspectorClientView):
+
+2008-01-10 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Sam.
+
+ - remove SecurityOriginData and fold its functionality into SecurityOrigin
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
+ (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2008-01-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ document QWebHistory
+
+
+ * Api/qwebhistory.cpp:
+ (QWebHistoryItem::QWebHistoryItem):
+ (QWebHistoryItem::operator=):
+ (QWebHistoryItem::~QWebHistoryItem):
+ (QWebHistoryItem::originalUrl):
+ (QWebHistoryItem::currentUrl):
+ (QWebHistoryItem::title):
+ (QWebHistoryItem::icon):
+ (QWebHistory::canGoBack):
+ (QWebHistory::canGoForward):
+ (QWebHistory::goBack):
+ (QWebHistory::goForward):
+ (QWebHistory::goToItem):
+ * Api/qwebhistory.h:
+
+2008-01-10 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Make the reset() functions not do anything on the default QWebSettings object.
+
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::resetFontSize):
+ (QWebSettings::resetFontFamily):
+ (QWebSettings::clearAttribute):
+
+2008-01-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ rename QWebPageHistory to QWebHistory.
+
+
+ * Api/qwebhistory.cpp: Added.
+ (QWebHistoryItem::QWebHistoryItem):
+ (QWebHistoryItem::operator=):
+ (QWebHistoryItem::~QWebHistoryItem):
+ (QWebHistoryItem::originalUrl):
+ (QWebHistoryItem::currentUrl):
+ (QWebHistoryItem::title):
+ (QWebHistoryItem::lastVisited):
+ (QWebHistoryItem::icon):
+ (QWebHistory::QWebHistory):
+ (QWebHistory::~QWebHistory):
+ (QWebHistory::clear):
+ (QWebHistory::items):
+ (QWebHistory::backItems):
+ (QWebHistory::forwardItems):
+ (QWebHistory::canGoBack):
+ (QWebHistory::canGoForward):
+ (QWebHistory::goBack):
+ (QWebHistory::goForward):
+ (QWebHistory::goToItem):
+ (QWebHistory::backItem):
+ (QWebHistory::currentItem):
+ (QWebHistory::forwardItem):
+ (QWebHistory::itemAtIndex):
+ * Api/qwebhistory.h: Added.
+ * Api/qwebhistory_p.h: Added.
+ (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
+ (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
+ (QWebHistoryPrivate::QWebHistoryPrivate):
+ (QWebHistoryPrivate::~QWebHistoryPrivate):
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * Api/qwebpagehistory.cpp: Removed.
+ * Api/qwebpagehistory.h: Removed.
+ * Api/qwebpagehistory_p.h: Removed.
+ * Api/qwebview.cpp:
+ * Api/qwebview.h:
+
+2008-01-10 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Documentation for QWebSettings
+
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::~QWebSettings):
+ (QWebSettings::setFontSize):
+ (QWebSettings::resetFontSize):
+ (QWebSettings::setUserStyleSheetLocation):
+ (QWebSettings::userStyleSheetLocation):
+ (QWebSettings::iconDatabaseEnabled):
+ (QWebSettings::webGraphic):
+ (QWebSettings::setFontFamily):
+ (QWebSettings::resetFontFamily):
+ (QWebSettings::setAttribute):
+
+2008-01-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Document QWebHistoryInterface.
+
+
+ * Api/qwebhistoryinterface.cpp:
+ (QWebHistoryInterface::defaultInterface):
+ (QWebHistoryInterface::~QWebHistoryInterface):
+
+2008-01-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Documentation for QWebFrame.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::url):
+ (QWebFrame::name):
+ (QWebFrame::page):
+ (QWebFrame::setHtml):
+ (QWebFrame::parentFrame):
+ (QWebFrame::render):
+ (QWebFrame::pos):
+ (QWebFrame::geometry):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+
+2008-01-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ fix the drawing errors that where introduced due to refactoring.
+
+ Correctly clip to the rectangle we want to draw in ScrollView::paint().
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::render):
+ * Api/qwebframe.h:
+ * Api/qwebview.cpp:
+ (QWebView::paintEvent):
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::scrollBackingStore):
+
+2008-01-10 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::dropEvent):
+ (QWebPage::QWebPage):
+ (QWebPage::~QWebPage):
+ (QWebPage::mainFrame):
+ (QWebPage::currentFrame):
+ (QWebPage::history):
+ (QWebPage::setView):
+ (QWebPage::view):
+ (QWebPage::javaScriptConsoleMessage):
+ (QWebPage::javaScriptAlert):
+ (QWebPage::javaScriptConfirm):
+ (QWebPage::javaScriptPrompt):
+ (QWebPage::createWindow):
+ (QWebPage::createModalDialog):
+ (openNewWindow):
+ (QWebPage::triggerAction):
+ (QWebPage::viewportSize):
+ (QWebPage::navigationRequested):
+ (QWebPage::selectedText):
+ (QWebPage::isModified):
+ (QWebPage::focusNextPrevChild):
+ (QWebPage::settings):
+ (QWebPage::networkProxy):
+ (QWebPage::setNetworkAccessManager):
+ (QWebPage::networkAccessManager):
+ (QWebPagePrivate::_q_onLoadProgressChanged):
+ * Api/qwebview.cpp:
+
+2008-01-07 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Alp Toker.
+
+ * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
+ actions.
+ * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
+ * Update the ContextMenuController to accept CheckableActionTypes as well.
+ * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
+ was extracted from ContextMenu::checkOrEnableIfNeeded.
+ * Update the Qt and Windows port.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createContextMenu):
+
+2008-01-07 Simon Hausmann <hausmann@webkit.org>
+
+ Build fix for the Windows build. MSVC wants to see the full
+ declaration of arguments even when just passing them through.
+
+ * Api/qwebpage.cpp:
+
+2008-01-07 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Added the missing parameters to make it possible to do POST operations from the public API.
+
+ This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
+ two extra arguments were in QNetworkRequest :-/
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::load):
+ * Api/qwebframe.h:
+ * Api/qwebview.cpp:
+ (QWebView::load):
+ * Api/qwebview.h:
+
+2008-01-07 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::load):
+ * Api/qwebframe.h:
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ * Api/qwebobjectplugin.cpp:
+ * Api/qwebobjectplugin.h:
+ * Api/qwebobjectplugin_p.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ * Api/qwebobjectpluginconnector.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::~QWebPagePrivate):
+ (QWebPagePrivate::navigationRequested):
+ (QWebPage::setNetworkInterface):
+ (QWebPage::networkInterface):
+ (QWebPage::setNetworkAccessManager):
+ (QWebPage::networkAccessManager):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * Api/qwebview.cpp:
+ * Api/qwebview.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Move the QWebPagePrivate methods up to the other private ones
+
+ * Api/qwebpage.cpp:
+ (dropActionToDragOp):
+ (dragOpToDropAction):
+ (QWebPagePrivate::mouseMoveEvent):
+ (QWebPagePrivate::mousePressEvent):
+ (QWebPagePrivate::mouseDoubleClickEvent):
+ (QWebPagePrivate::mouseReleaseEvent):
+ (QWebPagePrivate::contextMenuEvent):
+ (QWebPagePrivate::wheelEvent):
+ (QWebPagePrivate::keyPressEvent):
+ (QWebPagePrivate::keyReleaseEvent):
+ (QWebPagePrivate::focusInEvent):
+ (QWebPagePrivate::focusOutEvent):
+ (QWebPagePrivate::dragEnterEvent):
+ (QWebPagePrivate::dragLeaveEvent):
+ (QWebPagePrivate::dragMoveEvent):
+ (QWebPagePrivate::dropEvent):
+ (QWebPage::focusNextPrevChild):
+
+2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
+
+
+ * Api/qwebpage.cpp:
+ (dragOpToDropAction):
+ * Api/qwebview.cpp:
+ (QWebView::mouseMoveEvent):
+ (QWebView::mousePressEvent):
+ (QWebView::mouseDoubleClickEvent):
+ (QWebView::mouseReleaseEvent):
+ (QWebView::contextMenuEvent):
+ (QWebView::keyPressEvent):
+ (QWebView::keyReleaseEvent):
+ (QWebView::focusInEvent):
+ (QWebView::focusOutEvent):
+ (QWebView::dragEnterEvent):
+ (QWebView::dragLeaveEvent):
+ (QWebView::dragMoveEvent):
+ (QWebView::dropEvent):
+
+2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Lars.
+
+ * This layout is not needed anymore as Widget::invalidateRect will not
+ draw anymore.
+
+
+ * Api/qwebview.cpp:
+ (QWebView::paintEvent):
+
+2008-01-04 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Remove most dependencies of Widget/ScrollView onto native QWidgets.
+
+ This also brings the code closer in line with the Windows code. Seems
+ to work nicely on first try :)
+
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::updateBackingStore):
+ (WebCore::ChromeClientQt::mouseDidMoveOverElement):
+ (WebCore::ChromeClientQt::setToolTip):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Remove the todo from QWebPage and move the code to QWebView.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::wheelEvent):
+ (QWebPagePrivate::focusInEvent):
+ * Api/qwebview.cpp:
+ (QWebView::wheelEvent):
+ (QWebView::focusInEvent):
+
+2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Move the various event methods to QWebPagePrivate. This is similar to
+ QTextControl as well.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::event):
+ (QWebPagePrivate::mouseMoveEvent):
+ (QWebPagePrivate::mousePressEvent):
+ (QWebPagePrivate::mouseDoubleClickEvent):
+ (QWebPagePrivate::mouseReleaseEvent):
+ (QWebPagePrivate::contextMenuEvent):
+ (QWebPagePrivate::wheelEvent):
+ (QWebPagePrivate::keyPressEvent):
+ (QWebPagePrivate::keyReleaseEvent):
+ (QWebPagePrivate::focusInEvent):
+ (QWebPagePrivate::focusOutEvent):
+ (QWebPage::focusNextPrevChild):
+ (QWebPagePrivate::dragEnterEvent):
+ (QWebPagePrivate::dragLeaveEvent):
+ (QWebPagePrivate::dragMoveEvent):
+ (QWebPagePrivate::dropEvent):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Forward the event from QWebView to QWebPage through QObject::event. This
+ is similar to the way QTextControl is working.
+
+
+ * Api/qwebpage.cpp:
+ (dragOpToDropAction):
+ (QWebPage::event):
+ * Api/qwebpage.h:
+ * Api/qwebview.cpp:
+ (QWebView::mouseMoveEvent):
+ (QWebView::mousePressEvent):
+ (QWebView::mouseDoubleClickEvent):
+ (QWebView::mouseReleaseEvent):
+ (QWebView::contextMenuEvent):
+ (QWebView::wheelEvent):
+ (QWebView::keyPressEvent):
+ (QWebView::keyReleaseEvent):
+ (QWebView::focusInEvent):
+ (QWebView::focusOutEvent):
+ (QWebView::dragEnterEvent):
+ (QWebView::dragLeaveEvent):
+ (QWebView::dragMoveEvent):
+ (QWebView::dropEvent):
+ * Api/qwebview.h:
+
+2008-01-04 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ make QWebPage a QObject and get things to compile.
+
+ Nothing works currently though.
+
+
+ * Api/qwebobjectpluginconnector.cpp:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::createMainFrame):
+ (QWebPage::QWebPage):
+ (QWebPage::setView):
+ (QWebPage::view):
+ (QWebPage::javaScriptAlert):
+ (QWebPage::javaScriptPrompt):
+ (dragOpToDropAction):
+ (QWebPage::mousePressEvent):
+ (QWebPage::mouseDoubleClickEvent):
+ (QWebPage::mouseReleaseEvent):
+ (QWebPage::wheelEvent):
+ (QWebPage::keyPressEvent):
+ (QWebPage::focusInEvent):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * Api/qwebview.cpp:
+ (QWebView::QWebView):
+ (QWebView::setPage):
+ (QWebView::resizeEvent):
+ (QWebView::paintEvent):
+ * Api/qwebview.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::windowRect):
+ (WebCore::ChromeClientQt::pageRect):
+ (WebCore::ChromeClientQt::focus):
+ (WebCore::ChromeClientQt::unfocus):
+ (WebCore::ChromeClientQt::canTakeFocus):
+ (WebCore::ChromeClientQt::takeFocus):
+ (WebCore::ChromeClientQt::canRunModal):
+ (WebCore::ChromeClientQt::mouseDidMoveOverElement):
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::startDrag):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createPlugin):
+ * WebCoreSupport/InspectorClientQt.cpp:
+ (WebCore::InspectorClientWebPage::createWindow):
+ (WebCore::InspectorClientView::InspectorClientView):
+ (WebCore::InspectorClientView::page):
+ (WebCore::InspectorClientView::hideEvent):
+ (WebCore::InspectorClientView::closeEvent):
+ (WebCore::InspectorClientQt::createPage):
+ (WebCore::InspectorClientQt::closeWindow):
+
+2008-01-04 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
+
+
+ * Api/qwebview.cpp:
+ (QWebView::setHtml):
+ (QWebView::setContent):
+ (QWebView::history):
+ (QWebView::settings):
+ (QWebView::action):
+ (QWebView::triggerAction):
+ (QWebView::stop):
+ (QWebView::backward):
+ (QWebView::forward):
+ (QWebView::reload):
+ * Api/qwebview.h:
+
+2008-01-04 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ add a viewportSize to QWebPage.
+
+ This is required to eventually make it a QObject only.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::triggerAction):
+ (QWebPage::viewportSize):
+ (QWebPage::setViewportSize):
+ * Api/qwebpage.h:
+
+2008-01-04 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ take a QString as identifier in QWebFrame::addToJSWindowObject.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::addToJSWindowObject):
+ * Api/qwebframe.h:
+
+2008-01-04 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Call the frame arguments for the javascript callbacks "originatingFrame"
+
+
+ * Api/qwebpage.h:
+
+2008-01-04 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Moved the QWebPage::addToHistory signal into QWebHistoryInterface
+
+
+ * Api/qwebhistoryinterface.h:
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
+
+2008-01-04 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::url):
+ (QWebFrame::icon):
+ (QWebFrame::setVerticalScrollBarPolicy):
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ (QWebPage::javaScriptAlert):
+ (QWebPage::javaScriptPrompt):
+ (QWebPage::networkInterface):
+ * Api/qwebpage.h:
+ * Api/qwebview.cpp:
+ (QWebView::title):
+ (QWebView::url):
+ (QWebView::icon):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2008-01-03 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Moved QWebPage::open to QWebFrame::load and added setHtml.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::load):
+ (QWebFrame::setHtml):
+ (QWebFrame::setContent):
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ * Api/qwebpage.h:
+ * Api/qwebview.cpp:
+ (QWebView::load):
+ (QWebView::setHtml):
+ * Api/qwebview.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::createWindow):
+ * WebCoreSupport/InspectorClientQt.cpp:
+ (WebCore::InspectorClientQt::createPage):
+
+2008-01-03 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Lars.
+
+ Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
+
+
+ * Api/headers.pri:
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createMainFrame):
+ * Api/qwebpage.h:
+ * Api/qwebpagehistory.h:
+ * Api/qwebview.cpp: Added.
+ (QWebView::QWebView):
+ (QWebView::~QWebView):
+ (QWebView::page):
+ (QWebView::setPage):
+ (QWebView::load):
+ (QWebView::setHtml):
+ (QWebView::history):
+ (QWebView::settings):
+ (QWebView::title):
+ (QWebView::url):
+ (QWebView::icon):
+ (QWebView::selectedText):
+ (QWebView::action):
+ (QWebView::triggerAction):
+ (QWebView::isModified):
+ (QWebView::textInteractionFlags):
+ (QWebView::setTextInteractionFlags):
+ (QWebView::sizeHint):
+ (QWebView::stop):
+ (QWebView::backward):
+ (QWebView::forward):
+ (QWebView::reload):
+ * Api/qwebview.h: Added.
+ * QtLauncher/main.cpp:
+ (MainWindow::MainWindow):
+ (MainWindow::webPage):
+ (MainWindow::changeLocation):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setFrame):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-12-14 Darin Adler <darin@apple.com>
+
+ Reviewed by Alexey.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::triggerAction): Removed some use of Editor member functions we plan
+ to eventually eliminate. Switch from Editor::execCommand to Editor::command.
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
+ MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
+ to MovePageDown.
+
+2007-12-12 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Sam Weinig
+
+ As part of doing some CachedPage and client cleanup, keep Qt building
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
+ (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
+ (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-12-12 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::userAgent):
+
+2007-12-12 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequestPrivate::init):
+ * Api/qwebpage.cpp:
+ (QWebPage::url):
+ (QWebPageContext::QWebPageContext):
+ * Api/qwebpagehistory.cpp:
+ (QWebHistoryItem::originalUrl):
+ (QWebHistoryItem::currentUrl):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::cannotShowURLError):
+ (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
+ (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
+ (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
+ (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2007-12-07 Alexey Proskuryakov <ap@webkit.org>
+
+ Reviewed by Darin.
+
+ <rdar://problem/5535636>
+ Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
+
+ http://bugs.webkit.org/show_bug.cgi?id=13916
+ JavaScript detects Tab as a character input on a textfield validation
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeyboardEvent):
+ (WebCore::EditorClientQt::handleInputMethodKeydown):
+ * WebCoreSupport/EditorClientQt.h:
+ Updated for cross-platform changes as much as it was possible without a Qt build environment.
+
+2007-12-07 Darin Adler <darin@apple.com>
+
+ - try to fix build
+
+ * Api/qwebhistoryinterface.cpp:
+ (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
+ be updated, since WebCore changed, but this should not be here.
+
+2007-12-04 Darin Adler <darin@apple.com>
+
+ Reviewed by Kevin Decker.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
+ * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
+
+2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Implement the InspectorClient for the Qt port
+ * It does not support highlighting of nodes yet
+ * Use QRC to open the internal page. The important thing is the
+ '/' in the URL to make WebCore::Document::completeURL behave the
+ way we want.
+ * To make the InspectorClient work we will have to mark qrc as secure.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ * Api/qwebpage.h:
+ * WebCoreSupport/InspectorClientQt.cpp:
+ (WebCore::InspectorClientWebPage::hideEvent):
+ (WebCore::InspectorClientQt::InspectorClientQt):
+ (WebCore::InspectorClientQt::inspectorDestroyed):
+ (WebCore::InspectorClientQt::createPage):
+ (WebCore::InspectorClientQt::localizedStringsURL):
+ (WebCore::InspectorClientQt::showWindow):
+ (WebCore::InspectorClientQt::closeWindow):
+ (WebCore::InspectorClientQt::attachWindow):
+ (WebCore::InspectorClientQt::detachWindow):
+ * WebCoreSupport/InspectorClientQt.h:
+
+2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Rubber stamped by Mark.
+
+ Always include config.h at the beginning of the file.
+
+ * Api/qwebsettings.cpp:
+
+2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Avoid crashes by making sure everything is layouted before
+ we start painting. This avoids a crash in Widget::invalidateRect
+ because QPainter::begin would fail
+ * The QWebFrame::layout() methods and calls are left untouched because
+ this would be an API decision.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::layout):
+ * Api/qwebpage.cpp:
+ (QWebPage::paintEvent):
+
+2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * SubClass QWebPage to handle hide and close events.
+ * Forward these events to the InspectorController
+ * The other options would have been using an eventFilter
+ on the webpage and making InspectorClient a QObject or
+ creating a QObject Observer.
+ * Provide a simple QWebPage* createWindow implementation. This is needed
+ to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
+ of the inspector client.
+
+
+ * WebCoreSupport/InspectorClientQt.cpp:
+ (WebCore::InspectorClientWebPage::InspectorClientWebPage):
+ (WebCore::InspectorClientWebPage::createWindow):
+ (WebCore::InspectorClientWebPage::hideEvent):
+ (WebCore::InspectorClientWebPage::closeEvent):
+ (WebCore::InspectorClientQt::createPage):
+
+2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Allow adding the Inspect ContextMenuItem to our Menu
+ * Open the Inspector when Inspect was activated. This requires
+ that we keep the innerNonSharedNode from the HitTest around. This
+ forces us to include <wtf/RefPtr.h> in the private header. It is
+ the first non Qt header but should be okay.
+
+
+ * Api/qwebpage.cpp:
+ (webActionForContextMenuAction):
+ (QWebPage::triggerAction):
+ (QWebPage::action):
+ (QWebPageContext::QWebPageContext):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Add the Developer Extras to the WebAttribute and propagate it
+ to WebCore::Settings. This will enable the Inspect Element menu item
+ * CodingStyle fixes in QWebSettings
+ * Enable the Developer Extras in the QtLauncher
+
+
+ * Api/qwebsettings.cpp:
+ (QWebSettingsPrivate::apply):
+ * Api/qwebsettings.h:
+ * QtLauncher/main.cpp:
+ (main):
+
+2007-12-03 Geoffrey Garen <ggaren@apple.com>
+
+ Removed unnecessary and possibly incorrect #include from my last
+ check-in.
+
+ * Api/qwebframe.cpp:
+
+2007-12-03 Geoffrey Garen <ggaren@apple.com>
+
+ Qt build fix: Get globalExec() from the right place.
+
+2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Self destruct the clients like the ohter ports do
+
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ * WebCoreSupport/DragClientQt.cpp:
+ * WebCoreSupport/EditorClientQt.cpp:
+ * WebCoreSupport/InspectorClientQt.cpp:
+
+2007-11-29 Brady Eidson <beidson@apple.com>
+
+ Keep it building with new client method
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
+ (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-11-22 Simon Hausmann <hausmann@webkit.org>
+
+ Reviewed by Adam Treat.
+
+ Fix compilation (don't define notImplemented twice)
+
+ * Api/qwebnetworkinterface.cpp:
+
+2007-11-22 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by George.
+
+ Use Q_SIGNALS/Q_SLOTS in the public API
+
+ * Api/qwebframe.h:
+ * Api/qwebpage.h:
+
+2007-11-22 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by George.
+
+ Fixed the signature of the QWebPage constructor to follow Qt guidelines.
+
+ * Api/qwebpage.h:
+
+2007-11-22 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by George.
+
+ Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
+
+ * Api/qcookiejar.h:
+ * Api/qwebframe.h:
+ * Api/qwebhistoryinterface.h:
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebobjectplugin.h:
+ * Api/qwebobjectplugin_p.h:
+ * Api/qwebobjectpluginconnector.h:
+ * Api/qwebpage.h:
+ * Api/qwebpagehistory.h:
+ * Api/qwebsettings.h:
+
+2007-11-22 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by George.
+
+ Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
+
+ * Api/qwebpagehistory.h:
+
+2007-11-22 George Staikos <staikos@kde.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ Fix license headers
+
+
+ * Api/qwebobjectplugin.cpp:
+ * Api/qwebobjectplugin.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ * Api/qwebobjectpluginconnector.h:
+
+2007-11-22 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by George Staikos <staikos@kde.org>.
+
+ Fix shadowing of "page" variable that is passed as argument as well as a member variable.
+
+ This also fixes compilation with gcc 4.3.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+
+2007-11-21 Adam Treat <treat@kde.org>
+
+ Reviewed by Simon.
+
+ * Connect up the signal for all subframes too.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createMainFrame):
+
+2007-11-20 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Adam Treat <treat@kde.org>.
+
+ Remove static linkage of QtWebKit against the ICO image format plugin.
+
+ Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
+
+
+ * Plugins/Plugins.pro:
+
+2007-11-20 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by George Staikos <staikos@kde.org>.
+
+ Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
+
+
+ * Api/qwebpage.h:
+
+2007-11-20 George Staikos <staikos@kde.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ Add an argument to pass the link text in the hovering signal
+
+
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createMainFrame):
+ (QWebPage::mouseMoveEvent):
+ * Api/qwebpage.h:
+
+2007-11-20 Adam Treat <treat@kde.org>
+
+ Reviewed by Simon and George.
+
+ * Be quiet and allow suppression of NotImplemented calls at runtime.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
+
+2007-11-19 Adam Treat <treat@kde.org>
+
+ Reviewed by Simon.
+
+ * Don't segfault when event pos is outside of the widget.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::mouseMoveEvent):
+ (QWebPage::mousePressEvent):
+ (QWebPage::mouseDoubleClickEvent):
+ (QWebPage::mouseReleaseEvent):
+ (QWebPage::contextMenuEvent):
+
+2007-11-17 Timothy Hatcher <timothy@apple.com>
+
+ Reviewed by Mark Rowe.
+
+ Bug 13470: i18n: The Web Inspector is not localizable
+ http://bugs.webkit.org/show_bug.cgi?id=13470
+
+ * WebCoreSupport/InspectorClientQt.cpp:
+ (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
+ * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
+
+2007-11-13 Geoffrey Garen <ggaren@apple.com>
+
+ Build fix: changed Shared to RefCounted.
+
+ * WebCoreSupport/ChromeClientQt.h:
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ * WebCoreSupport/ContextMenuClientQt.h:
+ * WebCoreSupport/EditorClientQt.h:
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-11-10 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Nikolas.
+
+ When populating the context menu with sub-menus don't add sub-menus if they're empty.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createContextMenu):
+
+2007-11-10 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Nikolas.
+
+ Added support for the Bold/Italic/Underline toggle actions.
+
+
+ * Api/qwebpage.cpp:
+ (webActionForContextMenuAction):
+ (QWebPage::triggerAction):
+ (QWebPage::action):
+ * Api/qwebpage.h:
+
+2007-11-10 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Nikolas.
+
+ Before adding an action to the context menu call checkOrEnableIfNeeded for each action
+ to update the enable/checked state correctly.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createContextMenu):
+ (QWebPage::contextMenuEvent):
+ * Api/qwebpage_p.h:
+
+2007-11-10 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Nikolas.
+
+ Mark the text direction actions as checkable actions.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::action):
+
+2007-11-09 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Holger.
+
+ Implemented the webcore actions for changing the text direction.
+
+
+ * Api/qwebpage.cpp:
+ (webActionForContextMenuAction):
+ (QWebPage::triggerAction):
+ (QWebPage::action):
+ * Api/qwebpage.h:
+
+2007-11-09 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Holger.
+
+ Fix ContextMenu allocation in the Qt port.
+
+ Store all items and submenus value based in ContextMenu and ContextMenuItem.
+ That fixes the crashes when the context menu was populated with sub-menus because
+ of the use of temporary ContextMenu objects like this:
+
+ ContextMenu subMenu(...);
+ subMenu.appendItem(...);
+ subMenu.appendItem(...);
+
+ subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
+
+
+ * Api/qwebpage.cpp:
+ (QWebPage::contextMenuEvent):
+ * Api/qwebpage_p.h:
+
+2007-11-09 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Holger.
+
+ Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
+
+
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2007-11-08 Kevin McCullough <kmccullough@apple.com>
+
+ Reviewed by Sam.
+
+ - windowObjectCleared() is no longer const. It needs to setup the
+ script debugger and cannot be const to do so.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::windowObjectCleared):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-11-08 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
+
+ The buildbots use Qt 4.4 which has the function in question, but Qt
+ 4.3 doesn't have it. Use removeAll() as replacement instead, it
+ shouldn't make a difference in performance.
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::~QWebSettings):
+
+2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Lars Knoll <lars@trolltech.com>.
+
+ Cleanup checking for the request method.
+
+ * Check the request method only in QWebNetworkManager::add.
+ * Currently HEAD, GET, POST are allowed and for everything else
+ QWebNetworkManager::add returns false.
+ * Returning false is compatible with ResourceHandle::start and it
+ can be used in ResourceHandle::loadResourceSynchronously to generate
+ a ResourceError
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+
+2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Lars Knoll <lars@trolltech.com>.
+
+ Fix bug in the implementation of synchronous network jobs.
+
+ * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
+ - if (jobMode == AsynchronousJob) {
+ + if (jobMode == SynchronousJob) {
+ add job to synchronous list/hash
+
+ * Just applying the above change will lead to crashes because we can finish
+ jobs before we started them.
+
+ * Avoid these issues by saving all work (starting a job, sending data and
+ finishing it) inside one list. JobWork will contain any
+ of the above three work types and doWork will just work on this list
+ (m_pendingWork). As foreach takes a copy of the list calling started, data
+ and finished will not add new work and we gurantee that if we have JobStarted
+ it will be in the list before JobData and JobFinished.
+
+ * Observation: We might just kill the code to handle sync jobs.
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::queueStart):
+ (QWebNetworkManager::queueData):
+ (QWebNetworkManager::queueFinished):
+ (QWebNetworkManager::doWork):
+ * Api/qwebnetworkinterface_p.h:
+ (QWebNetworkManager::JobWork::):
+ (QWebNetworkManager::JobWork::JobWork):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Build fix, reviewed by nobody.
+
+ Fix the Qt build by setting up WindowFeatures before calling
+ createWindow on the Chrome. This is similar to openNewWindow in
+ page/ContextMenuController.cpp
+
+ * Api/qwebpage.cpp:
+ (openNewWindow):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ * Api/qwebsettings.cpp:
+ (QWebSettingsPrivate::apply):
+ * Api/qwebsettings.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed QWebPageHistory::goToItem to take a value instead of a pointer.
+
+ * Api/qwebpagehistory.cpp:
+ * Api/qwebpagehistory.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Removed unimplemented QWebHistoryItem::children() function
+
+ * Api/qwebpagehistory.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed the getter functions in QWebSettings to transparently resolve against the default settings.
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::fontSize):
+ (QWebSettings::fontFamily):
+ (QWebSettings::testAttribute):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added explicit functions for resetting the font sizes and font families.
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::resetFontSize):
+ (QWebSettings::resetFontFamily):
+ * Api/qwebsettings.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Combined the font sizes accessors/setters under one setter/getter with an enum.
+
+ * Api/qwebsettings.cpp:
+ (QWebSettingsPrivate::QWebSettingsPrivate):
+ (QWebSettingsPrivate::apply):
+ (QWebSettings::QWebSettings):
+ (QWebSettings::setFontSize):
+ * Api/qwebsettings.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
+
+ * Api/qwebpage.cpp:
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::userAgent):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::_q_webActionTriggered):
+ (QWebPage::keyPressEvent):
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
+
+ * Api/qwebpage.cpp:
+ * Api/qwebpage.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::setWindowRect):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Renamed QWebPage::webAction() to QWebPage::action()
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createContextMenu):
+ * Api/qwebpage.h:
+ * QtLauncher/main.cpp:
+ (MainWindow::MainWindow):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Removed a bunch of slots/functions that are now available through the new actions API.
+
+ * Api/qwebpage.cpp:
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added some more comments to the API after another round of API review with Lars.
+
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Moved QWebFrame::selectedText() to QWebPage::selectedText().
+
+ The currently selected text is a property of the page as a whole.
+
+ * Api/qwebframe.cpp:
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ (QWebPage::selectedText):
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Implemented support for settings propagation.
+
+ If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
+
+ * Api/qwebsettings.cpp:
+ (QWebSettingsPrivate::QWebSettingsPrivate):
+ (QWebSettingsPrivate::apply):
+ (QWebSettings::QWebSettings):
+ (QWebSettings::~QWebSettings):
+ (QWebSettings::setFontFamily):
+ * Api/qwebsettings.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Reworked the QWebSettings API.
+ QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::~QWebPagePrivate):
+ (QWebPage::QWebPage):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * Api/qwebsettings.cpp:
+ (QWebSettingsPrivate::QWebSettingsPrivate):
+ (QWebSettingsPrivate::apply):
+ (QWebSettings::defaultSettings):
+ (QWebSettings::QWebSettings):
+ (QWebSettings::setMinimumFontSize):
+ (QWebSettings::setMinimumLogicalFontSize):
+ (QWebSettings::setDefaultFontSize):
+ (QWebSettings::setDefaultFixedFontSize):
+ (QWebSettings::setUserStyleSheetLocation):
+ (QWebSettings::setFontFamily):
+ (QWebSettings::fontFamily):
+ (QWebSettings::setAttribute):
+ * Api/qwebsettings.h:
+ * QtLauncher/main.cpp:
+ (main):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::setWebGraphic):
+ * Api/qwebsettings.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
+
+ * Api/qwebsettings.cpp:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
+
+ * Api/qwebsettings.cpp:
+ * Api/qwebsettings.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed the webAction() accessor to not be a slot but just a public function.
+
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Implemented createWindow() in QtLauncher.
+
+ * QtLauncher/main.cpp:
+ (WebPage::WebPage):
+ (MainWindow::MainWindow):
+ (WebPage::createWindow):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Implemented opening links in new windows
+
+ * Api/qwebpage.cpp:
+ (frameLoadRequest):
+ (openNewWindow):
+ (QWebPage::webActionTriggered):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added and implemented the "OpenLink" action.
+
+ * Api/qwebpage.cpp:
+ (webActionForContextMenuAction):
+ (QWebPage::webActionTriggered):
+ (QWebPage::webAction):
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Adjust the state of the reload action correctly.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::updateAction):
+ (QWebPagePrivate::updateNavigationActions):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::updateAction):
+ (QWebPage::webAction):
+ (QWebPage::undoStack):
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
+
+ * QtLauncher/main.cpp:
+ (MainWindow::MainWindow):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Update the editor actions when the selection changes.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::updateAction):
+ (QWebPagePrivate::updateEditorActions):
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::respondToChangedSelection):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added cut/copy/paste actions to the toolbar of QtLauncher
+
+ * QtLauncher/main.cpp:
+ (MainWindow::MainWindow):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Started working on keeping the state of the navigation actions up-to-date.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::updateAction):
+ (QWebPagePrivate::updateNavigationActions):
+ (QWebPage::webAction):
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
+ (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
+ (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Use the navigational web actions in the toolbar
+
+ * QtLauncher/main.cpp:
+ (MainWindow::MainWindow):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
+ Added QWebPageContext to hold context sensitive information (for example used by the context menu).
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (webActionForContextMenuAction):
+ (QWebPagePrivate::createContextMenu):
+ (QWebPagePrivate::_q_webActionTriggered):
+ (QWebPage::webActionTriggered):
+ (QWebPage::webAction):
+ (QWebPage::contextMenuEvent):
+ (QWebPageContext::QWebPageContext):
+ (QWebPageContext::operator=):
+ (QWebPageContext::~QWebPageContext):
+ (QWebPageContext::pos):
+ (QWebPageContext::text):
+ (QWebPageContext::linkUrl):
+ (QWebPageContext::imageUrl):
+ (QWebPageContext::image):
+ (QWebPageContext::targetFrame):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Moved the editing actions implemented in keyPressEvent into webActionTriggered.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::webActionTriggered):
+ (QWebPage::keyPressEvent):
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
+ convenience methods such as cut()/copy()/paste().
+
+ * Api/qwebpage.cpp:
+ (QWebPage::goBack):
+ (QWebPage::webActionTriggered):
+ (QWebPage::cut):
+ (QWebPage::copy):
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
+ QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
+ in ContextMenu::populate().
+ For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
+ out of it. That menu is currently not functional anymore though.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createContextMenu):
+ (QWebPage::contextMenuEvent):
+ * Api/qwebpage_p.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
+ but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
+ Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
+ on it.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::contextMenuEvent):
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
+ Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::mousePressEvent):
+ (QWebPage::contextMenuEvent):
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Turned onLoadProgressChanged into a real private slot.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::QWebPage):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * Api/qwebpagehistory.cpp:
+ (QWebPageHistory::QWebPageHistory):
+ * Api/qwebpagehistory.h:
+
+2007-11-07 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ comments on API changes that we'd like to do.
+
+ * Api/qwebpage.h:
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars Knoll <lars@trolltech.com>.
+
+ Add a QWebPage::frameCreated() signal and fix DRT
+
+ The removal of createFrame in QWebPage broke the re-implementation
+ in DumpRenderTree. Instead emit a frameCreated() signal and
+ connect to it in DumpRenderTree.
+
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createMainFrame):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createFrame):
+
+2007-11-07 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Remove QWebPage::createFrame()
+
+ now that QWebFrame doesn't have virtual methods anymore, there
+ is no need for a createFrame() factory method in QWebpage.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createMainFrame):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createFrame):
+
+2007-11-07 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars Knoll <lars@trolltech.com>.
+
+ Moved all the event handlers from QWebFrame into QWebPage.
+
+ This cleans up the public API and allows us to remove the
+ HackWebFrame hack in DumpRenderTree.
+
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::pos):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::frameAt):
+ (QWebPage::mouseMoveEvent):
+ (QWebPage::mousePressEvent):
+ (QWebPage::mouseDoubleClickEvent):
+ (QWebPage::mouseReleaseEvent):
+ (QWebPage::wheelEvent):
+ * Api/qwebpage_p.h:
+
+2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
+
+ Reviewed by Lars Knoll <lars@trolltech.com>.
+
+ Use correct UserAgent string.
+
+ * Only have one User Agent String and this place is QWebPage
+ * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
+ ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
+ * ResourceRequest is != 0 when getting called from WebCore, we
+ will only do requests when coming from WebCore and then we can
+ use the User-Agent set with the help of the FrameLoaderClient
+ * We might want to change QWebNetworkRequest a bit
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequestPrivate::init):
+
+2007-11-07 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ remove two notImplemented() warnings, as I believe we don't
+ have to implement these methods. Add some (commented out)
+ debug code in one place.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::respondToChangedSelection):
+ (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
+
+2007-11-05 Tristan O'Tierney <tristan@apple.com>
+
+ Reviewed by Darin Adler.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::createWindow):
+ * WebCoreSupport/ChromeClientQt.h:
+ Revised to use new WebCore ChromeClient createWindow API.
+
+2007-10-31 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ fix most of the issues I found with Clipboard and DnD.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::dragLeaveEvent):
+
+2007-10-31 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ QDrag objects need to be created on the heap.
+
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::startDrag):
+
+2007-10-31 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ a dragLeave event is not the same as cancelling a drag.
+
+ * Api/qwebpage.cpp:
+
+2007-10-26 Mark Rowe <mrowe@apple.com>
+
+ Build fix. Add missing #include of Platform.h.
+
+ * Api/qwebhistoryinterface.cpp:
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
+ * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
+ * This is causing some regressions...
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::started):
+ (QWebNetworkInterface::addJob):
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * 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.
+ * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::started):
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * 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.
+ * Use the error message from Qt. It might or might not be translated.
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkJob::errorString):
+ (QWebNetworkJob::setErrorString):
+ (QWebNetworkManager::finished):
+ (QWebNetworkManager::doWork):
+ (WebCoreHttp::onRequestFinished):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * 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.
+ * 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.
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::doWork):
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * No need to initialize values in the QWebNetworkJob c'tor
+ * 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.
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkJob::status):
+ (QWebNetworkJob::setStatus):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (QWebNetworkManager::finished):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * Consistency: Always name the jobs job.
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (WebCoreHttp::onReadyRead):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::onSslErrors):
+ (WebCoreHttp::onAuthenticationRequired):
+ (WebCoreHttp::onProxyAuthenticationRequired):
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * 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.
+ * This should be thread-safe besides QWebNetworkJob::{ref,deref}
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkJob::~QWebNetworkJob):
+ (QWebNetworkManager::QWebNetworkManager):
+ (QWebNetworkManager::self):
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::finished):
+ (QWebNetworkInterfacePrivate::sendFileData):
+ (QWebNetworkInterfacePrivate::parseDataUrl):
+ (QWebNetworkManager::queueStart):
+ (QWebNetworkManager::queueData):
+ (QWebNetworkManager::queueFinished):
+ (QWebNetworkManager::doScheduleWork):
+ (QWebNetworkManager::doWork):
+ (gCleanupInterface):
+ (QWebNetworkInterface::setDefaultInterface):
+ (QWebNetworkInterface::defaultInterface):
+ (QWebNetworkInterface::QWebNetworkInterface):
+ (QWebNetworkInterface::started):
+ (QWebNetworkInterface::data):
+ (QWebNetworkInterface::finished):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::onResponseHeaderReceived):
+ (WebCoreHttp::onReadyRead):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::cancel):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ (QWebNetworkManager::):
+ (QWebNetworkManager::JobData::JobData):
+ (QWebNetworkManager::JobFinished::JobFinished):
+
+2007-10-25 Holger Freyther <zecke@selfish.org>
+
+ Reviewed by Simon Hausmann <hausmann@kde.org>.
+
+ * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
+ * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
+ * We pass the char-decoding.html test now
+
+
+ * Api/qwebnetworkinterface.cpp:
+ (decodePercentEncoding):
+ (QWebNetworkInterfacePrivate::parseDataUrl):
+
+2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
+
+ Reviewed by Lars Knoll <lars@trolltech.com>.
+
+ * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
+
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeypress):
+
+2007-10-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ remove some notImplemented() warnings.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
+ (WebCore::EditorClientQt::isGrammarCheckingEnabled):
+ (WebCore::EditorClientQt::respondToChangedSelection):
+
+2007-10-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ allow paste from DOM so we pass more test cases.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::setSettings):
+
+2007-10-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::keyPressEvent):
+ (QWebPage::keyReleaseEvent):
+
+2007-10-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ some smaller fixes to the editing support in DRT. Makes another few tests pass.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (qt_dump_editing_callbacks):
+ (qt_drt_run):
+
+2007-10-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ implemented support for most editing shortcuts to make contentEditable usable.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::keyPressEvent):
+
+2007-10-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::focusInEvent):
+
+2007-10-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Implement support for testing editing.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (qt_dump_editing_callbacks):
+ (qt_dump_set_accepts_editing):
+ (dumpPath):
+ (dumpRange):
+ (WebCore::EditorClientQt::shouldDeleteRange):
+ (WebCore::EditorClientQt::shouldShowDeleteInterface):
+ (WebCore::EditorClientQt::shouldBeginEditing):
+ (WebCore::EditorClientQt::shouldEndEditing):
+ (WebCore::EditorClientQt::shouldInsertText):
+ (WebCore::EditorClientQt::shouldChangeSelectedRange):
+ (WebCore::EditorClientQt::shouldApplyStyle):
+ (WebCore::EditorClientQt::didBeginEditing):
+ (WebCore::EditorClientQt::respondToChangedContents):
+ (WebCore::EditorClientQt::respondToChangedSelection):
+ (WebCore::EditorClientQt::didEndEditing):
+ (WebCore::EditorClientQt::shouldInsertNode):
+
+2007-10-19 Alp Toker <alp@atoker.com>
+
+ Reviewed by Oliver.
+
+ GTK+ build fix enabling the new local database storage feature.
+ There is also a prospective Qt build fix.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-10-19 Simon Hausmann <hausmann@kde.org>
+
+ Fix the Qt/Windows build: Include the moc file from the .cpp file so
+ that config.h is included before wtf/MathExtras. The former defines
+ the MSVC defines for rand_s.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2007-10-19 Simon Hausmann <shausman@trolltech.com>
+
+ Reviewed by Lars.
+
+ Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
+
+ * Api/qwebframe.cpp:
+ * Api/qwebpage.cpp:
+
+2007-10-10 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Geoff Garen.
+
+ changes to keep the build from breaking
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createFrame):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-10-09 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::setSettings):
+
+2007-10-09 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::cancel):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (QWebNetworkInterfacePrivate::parseDataUrl):
+
+2007-10-09 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ 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.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createMainFrame):
+ (QWebPage::createFrame):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-10-09 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ add a clear() method to QWebPageHistory.
+
+ * Api/qwebpagehistory.cpp:
+ (QWebPageHistory::clear):
+ (QWebPageHistory::itemAtIndex):
+ * Api/qwebpagehistory.h:
+
+2007-10-05 Lars Knoll <lars@trolltech.com>
+
+ add proper error messages to the FrameLoaderClient.
+ Implement ChromeClientQt::closeWindowSoon and
+ FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
+ Some fixes in DRT to make it work correctly with multiple windows.
+
+ Reviewed by Maciej.
+
+ * Api/qwebframe.h:
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::cancel):
+ (QWebNetworkInterface::addJob):
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::closeWindowSoon):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::cancelledError):
+ (WebCore::):
+ (WebCore::FrameLoaderClientQt::blockedError):
+ (WebCore::FrameLoaderClientQt::cannotShowURLError):
+ (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
+ (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
+ (WebCore::FrameLoaderClientQt::dispatchCreatePage):
+
+2007-10-03 Lars Knoll <lars@trolltech.com>
+
+ Signed off by Olliej.
+
+ move WebKitQt to WebKit/qt for consistency with the other ports.
+
+ * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
+ * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
+ (QCookieJarPrivate::QCookieJarPrivate):
+ (qHash):
+ (QCookieJar::QCookieJar):
+ (QCookieJar::~QCookieJar):
+ (QCookieJar::setCookies):
+ (QCookieJar::cookies):
+ (QCookieJar::isEnabled):
+ (QCookieJar::setEnabled):
+ (gCleanupJar):
+ (QCookieJar::setCookieJar):
+ (QCookieJar::cookieJar):
+ * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
+ * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
+ * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
+ (QWebFramePrivate::init):
+ (QWebFramePrivate::parentFrame):
+ (QWebFramePrivate::horizontalScrollBar):
+ (QWebFramePrivate::verticalScrollBar):
+ (QWebFrame::QWebFrame):
+ (QWebFrame::~QWebFrame):
+ (QWebFrame::addToJSWindowObject):
+ (QWebFrame::markup):
+ (QWebFrame::innerText):
+ (QWebFrame::renderTreeDump):
+ (QWebFrame::title):
+ (QWebFrame::name):
+ (QWebFrame::page):
+ (QWebFrame::selectedText):
+ (QWebFrame::childFrames):
+ (QWebFrame::verticalScrollBarPolicy):
+ (QWebFrame::setVerticalScrollBarPolicy):
+ (QWebFrame::horizontalScrollBarPolicy):
+ (QWebFrame::setHorizontalScrollBarPolicy):
+ (QWebFrame::render):
+ (QWebFrame::layout):
+ (QWebFrame::pos):
+ (QWebFrame::geometry):
+ (QWebFrame::evaluateJavaScript):
+ (QWebFrame::mouseMoveEvent):
+ (QWebFrame::mousePressEvent):
+ (QWebFrame::mouseDoubleClickEvent):
+ (QWebFrame::mouseReleaseEvent):
+ (QWebFrame::wheelEvent):
+ * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
+ * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
+ (QWebFramePrivate::QWebFramePrivate):
+ * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
+ (WebCore::historyContains):
+ (gCleanupInterface):
+ (QWebHistoryInterface::setDefaultInterface):
+ (QWebHistoryInterface::defaultInterface):
+ (QWebHistoryInterface::QWebHistoryInterface):
+ * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
+ * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
+ * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
+ (qHash):
+ (operator==):
+ (QWebNetworkRequestPrivate::init):
+ (QWebNetworkRequestPrivate::setURL):
+ (QWebNetworkRequest::QWebNetworkRequest):
+ (QWebNetworkRequest::operator=):
+ (QWebNetworkRequest::~QWebNetworkRequest):
+ (QWebNetworkRequest::url):
+ (QWebNetworkRequest::setUrl):
+ (QWebNetworkRequest::httpHeader):
+ (QWebNetworkRequest::setHttpHeader):
+ (QWebNetworkRequest::httpHeaderField):
+ (QWebNetworkRequest::setHttpHeaderField):
+ (QWebNetworkRequest::postData):
+ (QWebNetworkRequest::setPostData):
+ (QWebNetworkJob::QWebNetworkJob):
+ (QWebNetworkJob::~QWebNetworkJob):
+ (QWebNetworkJob::url):
+ (QWebNetworkJob::postData):
+ (QWebNetworkJob::httpHeader):
+ (QWebNetworkJob::request):
+ (QWebNetworkJob::response):
+ (QWebNetworkJob::setResponse):
+ (QWebNetworkJob::cancelled):
+ (QWebNetworkJob::ref):
+ (QWebNetworkJob::deref):
+ (QWebNetworkJob::networkInterface):
+ (QWebNetworkJob::frame):
+ (QWebNetworkManager::QWebNetworkManager):
+ (QWebNetworkManager::self):
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::cancel):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (QWebNetworkManager::finished):
+ (QWebNetworkManager::addHttpJob):
+ (QWebNetworkManager::cancelHttpJob):
+ (QWebNetworkManager::httpConnectionClosed):
+ (QWebNetworkInterfacePrivate::sendFileData):
+ (QWebNetworkInterfacePrivate::parseDataUrl):
+ (gCleanupInterface):
+ (QWebNetworkInterface::setDefaultInterface):
+ (QWebNetworkInterface::defaultInterface):
+ (QWebNetworkInterface::QWebNetworkInterface):
+ (QWebNetworkInterface::~QWebNetworkInterface):
+ (QWebNetworkInterface::addJob):
+ (QWebNetworkInterface::cancelJob):
+ (WebCoreHttp::WebCoreHttp):
+ (WebCoreHttp::~WebCoreHttp):
+ (WebCoreHttp::request):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::getConnection):
+ (WebCoreHttp::onResponseHeaderReceived):
+ (WebCoreHttp::onReadyRead):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::onDone):
+ (WebCoreHttp::onStateChanged):
+ (WebCoreHttp::cancel):
+ (WebCoreHttp::onSslErrors):
+ (WebCoreHttp::onAuthenticationRequired):
+ (WebCoreHttp::onProxyAuthenticationRequired):
+ (HostInfo::HostInfo):
+ * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
+ * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
+ (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
+ (WebCore::HostInfo::HostInfo):
+ (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
+ * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
+ (QWebFactoryLoader::QWebFactoryLoader):
+ (QWebFactoryLoader::self):
+ (QWebFactoryLoader::descriptionForName):
+ (QWebFactoryLoader::mimetypesForName):
+ (QWebFactoryLoader::mimeTypeForExtension):
+ (QWebFactoryLoader::extensions):
+ (QWebFactoryLoader::nameForMimetype):
+ (QWebFactoryLoader::create):
+ (QWebObjectPlugin::QWebObjectPlugin):
+ (QWebObjectPlugin::~QWebObjectPlugin):
+ (QWebObjectPlugin::descriptionForKey):
+ (QWebObjectPlugin::mimetypesForKey):
+ (QWebObjectPlugin::extensionsForMimetype):
+ * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
+ * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
+ (QWebFactoryLoader::names):
+ (QWebFactoryLoader::supportsMimeType):
+ * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
+ (QWebObjectPluginConnector::QWebObjectPluginConnector):
+ (QWebObjectPluginConnector::frame):
+ (QWebObjectPluginConnector::pluginParentWidget):
+ (QWebObjectPluginConnector::requestUrl):
+ * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
+ * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::~QWebPagePrivate):
+ (QWebPagePrivate::navigationRequested):
+ (QWebPagePrivate::createMainFrame):
+ (QWebPage::QWebPage):
+ (QWebPage::~QWebPage):
+ (QWebPage::createFrame):
+ (QWebPage::open):
+ (QWebPage::url):
+ (QWebPage::title):
+ (QWebPage::mainFrame):
+ (QWebPage::sizeHint):
+ (QWebPage::stop):
+ (QWebPage::history):
+ (QWebPage::goBack):
+ (QWebPage::goForward):
+ (QWebPage::goToHistoryItem):
+ (QWebPage::javaScriptConsoleMessage):
+ (QWebPage::javaScriptAlert):
+ (QWebPage::javaScriptConfirm):
+ (QWebPage::javaScriptPrompt):
+ (QWebPage::createWindow):
+ (QWebPage::createModalDialog):
+ (QWebPage::createPlugin):
+ (QWebPage::navigationRequested):
+ (QWebPage::setWindowGeometry):
+ (QWebPage::canCut):
+ (QWebPage::canCopy):
+ (QWebPage::canPaste):
+ (QWebPage::cut):
+ (QWebPage::copy):
+ (QWebPage::paste):
+ (QWebPage::isModified):
+ (QWebPage::undoStack):
+ (dropActionToDragOp):
+ (dragOpToDropAction):
+ (QWebPage::resizeEvent):
+ (QWebPage::paintEvent):
+ (QWebPage::mouseMoveEvent):
+ (QWebPage::mousePressEvent):
+ (QWebPage::mouseDoubleClickEvent):
+ (QWebPage::mouseReleaseEvent):
+ (QWebPage::wheelEvent):
+ (QWebPage::keyPressEvent):
+ (QWebPage::keyReleaseEvent):
+ (QWebPage::focusInEvent):
+ (QWebPage::focusOutEvent):
+ (QWebPage::focusNextPrevChild):
+ (QWebPage::dragEnterEvent):
+ (QWebPage::dragLeaveEvent):
+ (QWebPage::dragMoveEvent):
+ (QWebPage::dropEvent):
+ (QWebPage::setNetworkInterface):
+ (QWebPage::networkInterface):
+ (QWebPage::icon):
+ (QWebPage::setSettings):
+ (QWebPage::settings):
+ (QWebPage::chooseFile):
+ (QWebPage::setNetworkProxy):
+ (QWebPage::networkProxy):
+ (QWebPage::userAgentStringForUrl):
+ (QWebPage::onLoadProgressChanged):
+ (QWebPage::totalBytes):
+ * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
+ * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
+ * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
+ (QWebHistoryItem::QWebHistoryItem):
+ (QWebHistoryItem::operator=):
+ (QWebHistoryItem::~QWebHistoryItem):
+ (QWebHistoryItem::originalUrl):
+ (QWebHistoryItem::currentUrl):
+ (QWebHistoryItem::title):
+ (QWebHistoryItem::lastVisited):
+ (QWebHistoryItem::icon):
+ (QWebPageHistory::QWebPageHistory):
+ (QWebPageHistory::itemAtIndex):
+ (QWebPageHistory::operator=):
+ (QWebPageHistory::~QWebPageHistory):
+ (QWebPageHistory::items):
+ (QWebPageHistory::backItems):
+ (QWebPageHistory::forwardItems):
+ (QWebPageHistory::canGoBack):
+ (QWebPageHistory::canGoForward):
+ (QWebPageHistory::goBack):
+ (QWebPageHistory::goForward):
+ (QWebPageHistory::goToItem):
+ (QWebPageHistory::backItem):
+ (QWebPageHistory::currentItem):
+ (QWebPageHistory::forwardItem):
+ * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
+ (QExplicitlySharedDataPointer::operator*):
+ (QExplicitlySharedDataPointer::operator->):
+ (QExplicitlySharedDataPointer::operator T *):
+ (QExplicitlySharedDataPointer::operator const T *):
+ (QExplicitlySharedDataPointer::data):
+ (QExplicitlySharedDataPointer::constData):
+ (QExplicitlySharedDataPointer::operator==):
+ (QExplicitlySharedDataPointer::operator!=):
+ (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
+ (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
+ (QExplicitlySharedDataPointer::operator=):
+ (QExplicitlySharedDataPointer::operator!):
+ (::QExplicitlySharedDataPointer):
+ * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
+ (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
+ (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
+ (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
+ (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
+ * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
+ (QWebSettingsPrivate::QWebSettingsPrivate):
+ (QWebSettings::QWebSettings):
+ (QWebSettings::~QWebSettings):
+ (QWebSettings::setMinimumFontSize):
+ (QWebSettings::minimumFontSize):
+ (QWebSettings::setMinimumLogicalFontSize):
+ (QWebSettings::minimumLogicalFontSize):
+ (QWebSettings::setDefaultFontSize):
+ (QWebSettings::defaultFontSize):
+ (QWebSettings::setDefaultFixedFontSize):
+ (QWebSettings::defaultFixedFontSize):
+ (QWebSettings::setUserStyleSheetLocation):
+ (QWebSettings::userStyleSheetLocation):
+ (QWebSettings::setIconDatabaseEnabled):
+ (QWebSettings::iconDatabaseEnabled):
+ (QWebSettings::setWebGraphic):
+ (QWebSettings::webGraphic):
+ (QWebSettings::operator=):
+ (QWebSettings::setGlobal):
+ (QWebSettings::global):
+ (QWebSettings::setFontFamily):
+ (QWebSettings::fontFamily):
+ (QWebSettings::setAttribute):
+ (QWebSettings::testAttribute):
+ (loadResourcePixmap):
+ * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
+ * ChangeLog: Renamed from WebKitQt/ChangeLog.
+ * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
+ (IcoHeader::operator >>):
+ (IcoHeader::BMP_INFOHDR::):
+ (IcoHeader::operator<<):
+ (IcoHeader::LessDifference::LessDifference):
+ (IcoHeader::LessDifference::operator ()):
+ (IcoHeader::loadFromDIB):
+ (ICOHandler::ICOHandler):
+ (ICOHandler::canRead):
+ (ICOHandler::read):
+ (ICOHandler::write):
+ (ICOHandler::name):
+ (ICOPlugin::keys):
+ (ICOPlugin::capabilities):
+ (ICOPlugin::create):
+ * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
+ * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
+ * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
+ * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
+ (HoverLabel::HoverLabel):
+ (HoverLabel::setHoverLink):
+ (HoverLabel::sizeForFont):
+ (HoverLabel::sizeHint):
+ (HoverLabel::updateSize):
+ (HoverLabel::resetAnimation):
+ (HoverLabel::paintEvent):
+ (HoverLabel::interpolate):
+ (ClearButton::ClearButton):
+ (ClearButton::paintEvent):
+ (SearchEdit::SearchEdit):
+ (SearchEdit::~SearchEdit):
+ (SearchEdit::paintEvent):
+ (SearchEdit::resizeEvent):
+ (SearchEdit::moveEvent):
+ (MainWindow::MainWindow):
+ (MainWindow::changeLocation):
+ (MainWindow::loadFinished):
+ (MainWindow::showLinkHover):
+ (MainWindow::resizeEvent):
+ (main):
+ * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
+ (WebCore::ChromeClientQt::ChromeClientQt):
+ (WebCore::ChromeClientQt::~ChromeClientQt):
+ (WebCore::ChromeClientQt::setWindowRect):
+ (WebCore::ChromeClientQt::windowRect):
+ (WebCore::ChromeClientQt::pageRect):
+ (WebCore::ChromeClientQt::scaleFactor):
+ (WebCore::ChromeClientQt::focus):
+ (WebCore::ChromeClientQt::unfocus):
+ (WebCore::ChromeClientQt::canTakeFocus):
+ (WebCore::ChromeClientQt::takeFocus):
+ (WebCore::ChromeClientQt::createWindow):
+ (WebCore::ChromeClientQt::createModalDialog):
+ (WebCore::ChromeClientQt::show):
+ (WebCore::ChromeClientQt::canRunModal):
+ (WebCore::ChromeClientQt::runModal):
+ (WebCore::ChromeClientQt::setToolbarsVisible):
+ (WebCore::ChromeClientQt::toolbarsVisible):
+ (WebCore::ChromeClientQt::setStatusbarVisible):
+ (WebCore::ChromeClientQt::statusbarVisible):
+ (WebCore::ChromeClientQt::setScrollbarsVisible):
+ (WebCore::ChromeClientQt::scrollbarsVisible):
+ (WebCore::ChromeClientQt::setMenubarVisible):
+ (WebCore::ChromeClientQt::menubarVisible):
+ (WebCore::ChromeClientQt::setResizable):
+ (WebCore::ChromeClientQt::addMessageToConsole):
+ (WebCore::ChromeClientQt::chromeDestroyed):
+ (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::closeWindowSoon):
+ (WebCore::ChromeClientQt::runJavaScriptAlert):
+ (WebCore::ChromeClientQt::runJavaScriptConfirm):
+ (WebCore::ChromeClientQt::runJavaScriptPrompt):
+ (WebCore::ChromeClientQt::setStatusbarText):
+ (WebCore::ChromeClientQt::shouldInterruptJavaScript):
+ (WebCore::ChromeClientQt::tabsToLinks):
+ (WebCore::ChromeClientQt::windowResizerRect):
+ (WebCore::ChromeClientQt::addToDirtyRegion):
+ (WebCore::ChromeClientQt::scrollBackingStore):
+ (WebCore::ChromeClientQt::updateBackingStore):
+ (WebCore::ChromeClientQt::mouseDidMoveOverElement):
+ (WebCore::ChromeClientQt::setToolTip):
+ (WebCore::ChromeClientQt::print):
+ * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
+ * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
+ (WebCore::ContextMenuClientQt::contextMenuDestroyed):
+ (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
+ (WebCore::ContextMenuClientQt::contextMenuItemSelected):
+ (WebCore::ContextMenuClientQt::downloadURL):
+ (WebCore::ContextMenuClientQt::lookUpInDictionary):
+ (WebCore::ContextMenuClientQt::speak):
+ (WebCore::ContextMenuClientQt::stopSpeaking):
+ (WebCore::ContextMenuClientQt::searchWithGoogle):
+ * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
+ * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
+ (WebCore::DragClientQt::actionMaskForDrag):
+ (WebCore::DragClientQt::willPerformDragDestinationAction):
+ (WebCore::DragClientQt::dragControllerDestroyed):
+ (WebCore::DragClientQt::dragSourceActionMaskForPoint):
+ (WebCore::DragClientQt::willPerformDragSourceAction):
+ (WebCore::DragClientQt::startDrag):
+ * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
+ (WebCore::DragClientQt::DragClientQt):
+ * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
+ (EditCommandQt::EditCommandQt):
+ (EditCommandQt::~EditCommandQt):
+ (EditCommandQt::redo):
+ (EditCommandQt::undo):
+ * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
+ * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
+ (WebCore::EditorClientQt::shouldDeleteRange):
+ (WebCore::EditorClientQt::shouldShowDeleteInterface):
+ (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
+ (WebCore::EditorClientQt::isGrammarCheckingEnabled):
+ (WebCore::EditorClientQt::spellCheckerDocumentTag):
+ (WebCore::EditorClientQt::shouldBeginEditing):
+ (WebCore::EditorClientQt::shouldEndEditing):
+ (WebCore::EditorClientQt::shouldInsertText):
+ (WebCore::EditorClientQt::shouldChangeSelectedRange):
+ (WebCore::EditorClientQt::shouldApplyStyle):
+ (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
+ (WebCore::EditorClientQt::didBeginEditing):
+ (WebCore::EditorClientQt::respondToChangedContents):
+ (WebCore::EditorClientQt::respondToChangedSelection):
+ (WebCore::EditorClientQt::didEndEditing):
+ (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
+ (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
+ (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
+ (WebCore::EditorClientQt::isEditable):
+ (WebCore::EditorClientQt::registerCommandForUndo):
+ (WebCore::EditorClientQt::registerCommandForRedo):
+ (WebCore::EditorClientQt::clearUndoRedoOperations):
+ (WebCore::EditorClientQt::canUndo):
+ (WebCore::EditorClientQt::canRedo):
+ (WebCore::EditorClientQt::undo):
+ (WebCore::EditorClientQt::redo):
+ (WebCore::EditorClientQt::shouldInsertNode):
+ (WebCore::EditorClientQt::pageDestroyed):
+ (WebCore::EditorClientQt::smartInsertDeleteEnabled):
+ (WebCore::EditorClientQt::toggleContinuousSpellChecking):
+ (WebCore::EditorClientQt::toggleGrammarChecking):
+ (WebCore::EditorClientQt::handleKeypress):
+ (WebCore::EditorClientQt::handleInputMethodKeypress):
+ (WebCore::EditorClientQt::EditorClientQt):
+ (WebCore::EditorClientQt::textFieldDidBeginEditing):
+ (WebCore::EditorClientQt::textFieldDidEndEditing):
+ (WebCore::EditorClientQt::textDidChangeInTextField):
+ (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
+ (WebCore::EditorClientQt::textWillBeDeletedInTextField):
+ (WebCore::EditorClientQt::textDidChangeInTextArea):
+ (WebCore::EditorClientQt::ignoreWordInSpellDocument):
+ (WebCore::EditorClientQt::learnWord):
+ (WebCore::EditorClientQt::checkSpellingOfString):
+ (WebCore::EditorClientQt::checkGrammarOfString):
+ (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
+ (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
+ (WebCore::EditorClientQt::showSpellingUI):
+ (WebCore::EditorClientQt::spellingUIIsShowing):
+ (WebCore::EditorClientQt::getGuessesForWord):
+ (WebCore::EditorClientQt::isEditing):
+ (WebCore::EditorClientQt::setInputMethodState):
+ * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
+ * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
+ (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
+ (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
+ (WebCore::FrameLoaderClientQt::setFrame):
+ (WebCore::FrameLoaderClientQt::webFrame):
+ (WebCore::FrameLoaderClientQt::callPolicyFunction):
+ (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
+ (WebCore::FrameLoaderClientQt::hasWebView):
+ (WebCore::FrameLoaderClientQt::hasFrameView):
+ (WebCore::FrameLoaderClientQt::hasBackForwardList):
+ (WebCore::FrameLoaderClientQt::resetBackForwardList):
+ (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
+ (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
+ (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
+ (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
+ (WebCore::FrameLoaderClientQt::makeDocumentView):
+ (WebCore::FrameLoaderClientQt::makeRepresentation):
+ (WebCore::FrameLoaderClientQt::forceLayout):
+ (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
+ (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
+ (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
+ (WebCore::FrameLoaderClientQt::resetAfterLoadError):
+ (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
+ (WebCore::FrameLoaderClientQt::willCloseDocument):
+ (WebCore::FrameLoaderClientQt::detachedFromParent2):
+ (WebCore::FrameLoaderClientQt::detachedFromParent3):
+ (WebCore::FrameLoaderClientQt::detachedFromParent4):
+ (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
+ (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
+ (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
+ (WebCore::FrameLoaderClientQt::dispatchWillClose):
+ (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
+ (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
+ (WebCore::FrameLoaderClientQt::dispatchShow):
+ (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
+ (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
+ (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
+ (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
+ (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
+ (WebCore::FrameLoaderClientQt::revertToProvisionalState):
+ (WebCore::FrameLoaderClientQt::clearUnarchivingState):
+ (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
+ (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
+ (WebCore::FrameLoaderClientQt::willChangeTitle):
+ (WebCore::FrameLoaderClientQt::didChangeTitle):
+ (WebCore::FrameLoaderClientQt::finishedLoading):
+ (WebCore::FrameLoaderClientQt::finalSetupForReplace):
+ (WebCore::FrameLoaderClientQt::setDefersLoading):
+ (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
+ (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
+ (WebCore::FrameLoaderClientQt::clearArchivedResources):
+ (WebCore::FrameLoaderClientQt::canShowMIMEType):
+ (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
+ (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
+ (WebCore::FrameLoaderClientQt::frameLoadCompleted):
+ (WebCore::FrameLoaderClientQt::restoreViewState):
+ (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
+ (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
+ (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
+ (WebCore::FrameLoaderClientQt::didFinishLoad):
+ (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
+ (WebCore::FrameLoaderClientQt::setTitle):
+ (WebCore::FrameLoaderClientQt::userAgent):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
+ (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
+ (WebCore::FrameLoaderClientQt::canHandleRequest):
+ (WebCore::FrameLoaderClientQt::windowObjectCleared):
+ (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
+ (WebCore::FrameLoaderClientQt::registerForIconNotification):
+ (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
+ (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
+ (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
+ (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
+ (WebCore::FrameLoaderClientQt::saveViewStateToItem):
+ (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
+ (WebCore::FrameLoaderClientQt::canCachePage):
+ (WebCore::FrameLoaderClientQt::setMainDocumentError):
+ (WebCore::FrameLoaderClientQt::committedLoad):
+ (WebCore::FrameLoaderClientQt::cancelledError):
+ (WebCore::FrameLoaderClientQt::blockedError):
+ (WebCore::FrameLoaderClientQt::cannotShowURLError):
+ (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
+ (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
+ (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
+ (WebCore::FrameLoaderClientQt::shouldFallBack):
+ (WebCore::FrameLoaderClientQt::createDocumentLoader):
+ (WebCore::FrameLoaderClientQt::download):
+ (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
+ (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
+ (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
+ (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
+ (WebCore::FrameLoaderClientQt::dispatchCreatePage):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+ (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
+ (WebCore::FrameLoaderClientQt::startDownload):
+ (WebCore::FrameLoaderClientQt::willUseArchive):
+ (WebCore::FrameLoaderClientQt::createFrame):
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+ (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
+ (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
+ (WebCore::FrameLoaderClientQt::overrideMediaType):
+ * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
+ * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
+ (WebCore::InspectorClientQt::inspectorDestroyed):
+ (WebCore::InspectorClientQt::createPage):
+ (WebCore::InspectorClientQt::showWindow):
+ (WebCore::InspectorClientQt::closeWindow):
+ (WebCore::InspectorClientQt::attachWindow):
+ (WebCore::InspectorClientQt::detachWindow):
+ (WebCore::InspectorClientQt::highlight):
+ (WebCore::InspectorClientQt::hideHighlight):
+ * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
+ * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
+ (WebKitFactory::WebKitFactory):
+ (WebKitFactory::~WebKitFactory):
+ (WebKitFactory::createPartObject):
+ (WebKitFactory::instance):
+ (WebKitFactory::ref):
+ (WebKitFactory::deref):
+ * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
+ * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
+ (WebKitPart::WebKitPart):
+ (WebKitPart::~WebKitPart):
+ (WebKitPart::openFile):
+ (WebKitPart::openUrl):
+ (WebKitPart::closeUrl):
+ (WebKitPart::parentPart):
+ (WebKitPart::frame):
+ (WebKitPart::initView):
+ * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
+ * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
+ (WebKitPart::):
+ * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
+ * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
+ * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
+ (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
+ * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
+ * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
+ (WebKitPartClient::WebKitPartClient):
+ (WebKitPartClient::~WebKitPartClient):
+ * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
+ * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
+ (WebKitPartInterface::WebKitPartInterface):
+ (WebKitPartInterface::~WebKitPartInterface):
+ (WebKitPartInterface::url):
+ * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
+ * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
+
+2007-10-02 Adam Treat <treat@kde.org>
+
+ Reviewed by Eric Seidel.
+
+ Open the requested url on the newly created window.
+ Implement createModalDialog and provide new API for this.
+ Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::createModalDialog):
+ * Api/qwebpage.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::createWindow):
+ (WebCore::ChromeClientQt::createModalDialog):
+
+2007-10-02 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by bdash.
+
+ Add API to retrieve the frame name from QWebFrame.
+ Implement support for DRT::dumpChildrenAsText.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::name):
+ * Api/qwebframe.h:
+
+2007-10-02 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by bdash.
+
+ Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (QWebNetworkManager::finished):
+ (QWebNetworkInterfacePrivate::sendFileData):
+ (QWebNetworkInterfacePrivate::parseDataUrl):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::onSslErrors):
+ * QtLauncher/main.cpp:
+ (main):
+
+2007-10-01 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Eric.
+
+ Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::makeDocumentView):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2007-09-30 George Staikos <staikos@kde.org>
+
+ Qt build fix (OS X specific).
+
+ * QtLauncher/QtLauncher.pro:
+
+2007-09-26 Mark Rowe <mrowe@apple.com>
+
+ Qt build fix.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
+
+2007-09-25 David Kilzer <ddkilzer@webkit.org>
+
+ Reviewed by Adam.
+
+ - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
+ LGPL'ed files contain incorrect FSF address
+
+ * Api/qcookiejar.cpp:
+ * Api/qcookiejar.h:
+ * Api/qwebframe.cpp:
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ * Api/qwebhistoryinterface.cpp:
+ * Api/qwebhistoryinterface.h:
+ * Api/qwebkitglobal.h:
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ * Api/qwebobjectplugin.cpp:
+ * Api/qwebobjectplugin.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ * Api/qwebobjectpluginconnector.h:
+ * Api/qwebpage.cpp:
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * Api/qwebpagehistory.cpp:
+ * Api/qwebpagehistory.h:
+ * Api/qwebsettings.cpp:
+ * Api/qwebsettings.h:
+ * WebCoreSupport/EditCommandQt.cpp:
+ * WebCoreSupport/EditCommandQt.h:
+
+2007-09-25 Adam Treat <treat@kde.org>
+
+ Reviewed by Simon and Lars.
+
+ Modifies the addToJSWindowObject to bind js objects using the built-in
+ kjs_window class. Make sure to protect the created runtime object from
+ garbage collection.
+
+ Adds a signal to QWebFrame to notify clients of the beginning of a
+ provisional load. DRT needs this.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::addToJSWindowObject):
+ * Api/qwebframe.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
+
+2007-09-10 Qing Zhao <qing@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Don't re-encode urls, resulting in double encoding. Fixes login to
+ GMail.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequestPrivate::init):
+ (QWebNetworkManager::started):
+
+2007-09-08 Mark Rowe <mrowe@apple.com>
+
+ Qt build fix. Move stub method implementations to the right class.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
+
+2007-09-08 Brady Eidson <beidson@apple.com>
+
+ YABF (Yet Another Build Fix)
+
+ * Api/qwebsettings.cpp:
+ (QWebSettings::iconDatabaseEnabled):
+
+2007-09-08 Brady Eidson <beidson@apple.com>
+
+ Better build fix
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClient::registerForIconNotification):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-09-08 Brady Eidson <beidson@apple.com>
+
+ Build fix
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClient::registerForIconNotification):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-09-05 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
+
+ Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
+ memory cache, or a very tiny one
+
+ Keep the Qt build working with an empty stub.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClient::didPerformFirstNavigation):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-09-07 George Staikos <staikos@kde.org>
+
+ Fix typo.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::onLoadProgressChanged):
+
+2007-09-07 Qing Zhao <qing@staikos.net>
+
+ Reviewed by Anders and George.
+
+ Export page size and load progress in bytes.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::QWebPage):
+ (QWebPage::onLoadProgressChanged):
+ (QWebPage::totalBytes):
+ (QWebPage::bytesReceived):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2007-09-06 George Staikos <staikos@kde.org>
+
+ Reviewed by Anders.
+
+ Make popup windows work again.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
+
+2007-09-01 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Sam.
+
+ <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
+
+ EditorClient::setInputMethodState stub
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::setInputMethodState):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-08-30 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::keyPressEvent):
+
+2007-08-30 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ When scrolling with the keyboard don't call update() on the entire widget.
+ The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
+ on a value change.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::keyPressEvent):
+
+2007-08-30 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Fix scrolling with the keyboard if only one of the two scrollbars is visible.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::keyPressEvent):
+
+2007-08-29 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Fix compilation.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::objectContentType):
+
+2007-08-19 Mike Hommey <mh+webkit@glandium.org>
+
+ Reviewed by George Staikos.
+
+ Don't export ICO symbols.
+
+ * Plugins/Plugins.pro:
+
+2007-08-19 George Staikos <staikos@kde.org>
+
+ Fix compilation.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createPlugin):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-08-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed and landed by Simon.
+
+ Limit the set of properties from the computed style to apply to Qt
+ plugin widgets, as only a few of them make sense.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::):
+
+2007-08-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::createPlugin):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2007-08-10 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added support for network jobs from Qt resources using the qrc protocol.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkInterface::addJob):
+
+2007-08-10 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
+ gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2007-08-10 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
+ and fixed widget embedding by setting the right QWidget parent.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::createPlugin):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2007-08-02 George Staikos <staikos@kde.org>
+
+ Reviewed by Simon.
+
+ Add an interface for the useragent string.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::userAgentStringForUrl):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::userAgent):
+
+2007-08-01 Adam Treat <treat@kde.org>
+
+ Reviewed by George Staikos.
+
+ Add an interface to manage global history for clients
+
+ * Api/headers.pri:
+ * Api/qwebhistoryinterface.cpp: Added.
+ (WebCore::historyContains):
+ (gCleanupInterface):
+ (QWebHistoryInterface::setDefaultInterface):
+ (QWebHistoryInterface::defaultInterface):
+ (QWebHistoryInterface::QWebHistoryInterface):
+ * Api/qwebhistoryinterface.h: Added.
+
+2007-07-30 Adam Treat <treat@kde.org>
+
+ Fix build.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-07-30 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Link QtLauncher into $$OUTPUT_DIR/bin
+
+ * QtLauncher/QtLauncher.pro:
+
+2007-07-29 Adam Treat <treat@kde.org>
+
+ Reviewed by George Staikos.
+
+ Change QWebPage::paintEvent to draw using the individual rects provided
+ via the QRegion and set the widget to use opaque paint events.
+
+ These changes greatly reduce the cpu load as we are no longer painting the
+ entire page for each 1px scroll :P
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::render):
+ * Api/qwebpage.cpp:
+ (QWebPage::QWebPage):
+ (QWebPage::paintEvent):
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::addToDirtyRegion):
+
+2007-07-29 Adam Treat <treat@kde.org>
+
+ Reviewed by Alexey Proskuryakov.
+
+ Respect the margins when creating frames.
+ Set the scroll mode to always off like we did before the rendered
+ frames patch and the other ports do now.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+
+2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
+
+ Reviewed by Mark.
+
+ Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
+
+ * QtLauncher/QtLauncher.pro:
+
+2007-07-27 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Fix compilation with MSVC.
+
+ * Api/qwebpagehistory.cpp:
+ (QWebPageHistory::operator=):
+ * Api/qwebpagehistory.h:
+ * Api/qwebsettings.cpp:
+ (QWebSettings::operator=):
+ * Api/qwebsettings.h:
+
+2007-07-26 Qing Zhao <qing@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Add a signal for history notification.
+
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2007-07-24 Adam Treat <treat@kde.org>
+
+ Reviewed by Niko and Lars.
+
+ These are no longer necessary or used.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-07-20 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Add a signal for first layout and add the action type for the policy
+ function.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::navigationRequested):
+ (QWebPage::navigationRequested):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+
+2007-07-19 Adam Treat <treat@kde.org>
+
+ Reviewed by George.
+
+ Do a recursive layout on the frame's children. This fixes a
+ segfault found when rendering some framesets.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::render):
+ (QWebFrame::layout):
+ * Api/qwebframe.h:
+
+2007-07-18 Timothy Hatcher <timothy@apple.com>
+
+ Reviewed by Adam.
+
+ Make the Page with the now required InspectorClient.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::initView):
+
+2007-07-18 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::started):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::canShowMIMEType):
+ (WebCore::FrameLoaderClientQt::objectContentType):
+
+2007-07-18 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack & Simon
+
+ Reallow setting of scrollbar policies on QWebFrame.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::verticalScrollBarPolicy):
+ (QWebFrame::setVerticalScrollBarPolicy):
+ (QWebFrame::horizontalScrollBarPolicy):
+ * Api/qwebframe.h:
+
+2007-07-17 Adam Treat <treat@kde.org>
+
+ Build fix.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createFrame):
+
+2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
+
+ Blind build fix for Qt after r24366 by adding the additional
+ WebCore::ResourceRequest& parameter to the download method.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::download):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-07-17 Adam Roben <aroben@apple.com>
+
+ Remove ContextMenuClientQt::shouldIncludeInspectElementItem
+
+ Reviewed by Tim.
+
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ * WebCoreSupport/ContextMenuClientQt.h:
+
+2007-07-16 Adam Roben <aroben@apple.com>
+
+ Updated ChromeClientQt for ChromeClient changes.
+
+ Reviewed by Darin.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::print): Added a Frame* parameter.
+ * WebCoreSupport/ChromeClientQt.h: Ditto.
+
+2007-07-13 Mark Rowe <mrowe@apple.com>
+
+ Reviewed by Mitz.
+
+ Build fix. Stub out ChromeClientQt::print.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::print):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-07-12 George Staikos <staikos@kde.org>
+
+ Qt build fix for assertions.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+
+2007-07-12 George Staikos <staikos@kde.org>
+
+ Qt build fix.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+
+2007-07-10 Mark Rowe <mrowe@apple.com>
+
+ Qt build fix after r24126.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::evaluateJavaScript):
+
+2007-07-10 Eli Fidler <eli@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Properly url-decode data urls.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkInterfacePrivate::parseDataUrl):
+
+2007-07-09 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Convert QWebFrame from a QFrame to a pure QObject to eliminate all
+ traces of widgets.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ (QWebFramePrivate::parentFrame):
+ (QWebFrame::QWebFrame):
+ (QWebFrame::render):
+ (QWebFrame::pos):
+ (QWebFrame::geometry):
+ (QWebFrame::evaluateJavaScript):
+ (QWebFrame::mouseMoveEvent):
+ (QWebFrame::mousePressEvent):
+ (QWebFrame::mouseDoubleClickEvent):
+ (QWebFrame::mouseReleaseEvent):
+ (QWebFrame::wheelEvent):
+ * Api/qwebframe.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ (QWebObjectPluginConnector::pluginParentWidget):
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::createMainFrame):
+ (QWebPage::QWebPage):
+ (QWebPage::javaScriptAlert):
+ (QWebPage::javaScriptConfirm):
+ (QWebPage::javaScriptPrompt):
+ (QWebPage::resizeEvent):
+ (QWebPage::paintEvent):
+ (QWebPage::mouseMoveEvent):
+ (QWebPage::mousePressEvent):
+ (QWebPage::mouseDoubleClickEvent):
+ (QWebPage::mouseReleaseEvent):
+ (QWebPage::wheelEvent):
+ (QWebPage::keyPressEvent):
+ (QWebPage::keyReleaseEvent):
+ (QWebPage::focusInEvent):
+ (QWebPage::focusOutEvent):
+ (QWebPage::focusNextPrevChild):
+ (QWebPage::chooseFile):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::addToDirtyRegion):
+
+2007-07-09 George Staikos <staikos@kde.org>
+
+ Fix a minor memory leak in the loader.
+
+ * Api/qwebnetworkinterface.cpp:
+ (gCleanupInterface):
+ (QWebNetworkInterface::setDefaultInterface):
+ (QWebNetworkInterface::defaultInterface):
+
+2007-07-09 George Staikos <staikos@kde.org>
+
+ Fix a massive memory leak in the loader.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::httpConnectionClosed):
+ (WebCoreHttp::~WebCoreHttp):
+
+2007-07-09 George Staikos <staikos@kde.org>
+
+ Reviewed by Simon.
+
+ Rework much of the HTTP stuff to make it more stable, and add SSL and
+ proxy support. Major memory leak also discovered but it needs more
+ research as the obvious fix causes crashes.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (WebCoreHttp::WebCoreHttp):
+ (WebCoreHttp::~WebCoreHttp):
+ (WebCoreHttp::request):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::getConnection):
+ (WebCoreHttp::onResponseHeaderReceived):
+ (WebCoreHttp::onReadyRead):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::onDone):
+ (WebCoreHttp::onStateChanged):
+ (WebCoreHttp::onSslErrors):
+ (WebCoreHttp::onAuthenticationRequired):
+ (WebCoreHttp::onProxyAuthenticationRequired):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
+
+2007-07-06 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Convert QWebFrame to a QFrame from a scroll area.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ (QWebFramePrivate::parentFrame):
+ (QWebFramePrivate::horizontalScrollBar):
+ (QWebFramePrivate::verticalScrollBar):
+ (QWebFrame::QWebFrame):
+ (QWebFrame::resizeEvent):
+ (QWebFrame::suppressScrollbars):
+ (QWebFrame::paintEvent):
+ (QWebFrame::mouseMoveEvent):
+ (QWebFrame::mousePressEvent):
+ (QWebFrame::mouseDoubleClickEvent):
+ (QWebFrame::mouseReleaseEvent):
+ (QWebFrame::wheelEvent):
+ (QWebFrame::keyPressEvent):
+ (QWebFrame::focusInEvent):
+ (QWebFrame::focusOutEvent):
+ (QWebFrame::evaluateJavaScript):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ (QWebObjectPluginConnector::pluginParentWidget):
+
+2007-07-04 Adam Roben <aroben@apple.com>
+
+ Added a stub for ChromeClientQt::setToolTip
+
+ Reviewed by Sam.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::setToolTip):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-07-04 Adam Roben <aroben@apple.com>
+
+ Added a stub for ChromeClientQt::mouseDidMoveOverElement
+
+ Reviewed by Sam.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::mouseDidMoveOverElement):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-06-28 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Propagate mouse double click events from Qt to WebCore.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::mouseDoubleClickEvent):
+ * Api/qwebframe.h:
+
+2007-06-28 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::canCut):
+ (QWebPage::canCopy):
+ (QWebPage::canPaste):
+ (QWebPage::cut):
+ (QWebPage::copy):
+ (QWebPage::paste):
+ * Api/qwebpage.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+
+2007-06-27 George Staikos <staikos@kde.org>
+
+ Compile with various Qt configurations.
+
+ * Api/qwebnetworkinterface.cpp:
+ (WebCoreHttp::scheduleNextRequest):
+ * Api/qwebpage.cpp:
+ (QWebPage::javaScriptPrompt):
+ (QWebPage::dragEnterEvent):
+ (QWebPage::dragLeaveEvent):
+ (QWebPage::dragMoveEvent):
+ (QWebPage::dropEvent):
+ (QWebPage::chooseFile):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::startDrag):
+
+2007-06-27 Eli Fidler <eli@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Check for QT_NO_IMAGE_TEXT and compile either way.
+
+ * Plugins/ICOHandler.cpp:
+ (ICOHandler::read):
+
+2007-06-27 Eli Fidler <eli@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Remove QT3_SUPPORT dependency in the ICO plugin.
+
+ * Plugins/ICOHandler.cpp:
+ (IcoHeader::loadFromDIB):
+
+2007-06-25 George Staikos <staikos@kde.org>
+
+ Reviewed by Zack.
+
+ Start to add proxy and SSL support to WebKit Qt. Proxy works
+ unauthenticated. Added hooks to be able to add authentication.
+ Also fixes some network errors.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequestPrivate::setURL):
+ (QWebNetworkJob::frame):
+ (WebCoreHttp::WebCoreHttp):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::onDone):
+ (WebCoreHttp::onSslErrors):
+ (WebCoreHttp::onAuthenticationRequired):
+ (WebCoreHttp::onProxyAuthenticationRequired):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ * Api/qwebpage.cpp:
+ (QWebPage::setNetworkProxy):
+ (QWebPage::networkProxy):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2007-06-21 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Implement the default resources on Qt.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::icon):
+ * Api/qwebsettings.cpp:
+ (QWebSettings::setWebGraphic):
+ (QWebSettings::webGraphic):
+ (loadResourcePixmap):
+ * Api/qwebsettings.h:
+
+2007-06-15 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Add ICO support to the Qt build.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::icon):
+ * Api/qwebpage.h:
+ * Api/qwebsettings.cpp:
+ (QWebSettings::setIconDatabaseEnabled):
+ (QWebSettings::iconDatabaseEnabled):
+ * Api/qwebsettings.h:
+ * Plugins: Added.
+ * Plugins/ICOHandler.cpp: Added.
+ (IcoHeader::operator >>):
+ (IcoHeader::BMP_INFOHDR::):
+ (IcoHeader::operator<<):
+ (IcoHeader::LessDifference::LessDifference):
+ (IcoHeader::LessDifference::operator ()):
+ (IcoHeader::loadFromDIB):
+ (ICOHandler::ICOHandler):
+ (ICOHandler::canRead):
+ (ICOHandler::read):
+ (ICOHandler::write):
+ (ICOHandler::name):
+ (ICOPlugin::keys):
+ (ICOPlugin::capabilities):
+ (ICOPlugin::create):
+ * Plugins/ICOHandler.h: Added.
+ * Plugins/Plugins.pro: Added.
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
+
+2007-06-15 George Staikos <staikos@kde.org>
+
+ Fixing the Qt build.
+
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
+ * WebCoreSupport/ContextMenuClientQt.h:
+
+2007-06-20 Adam Roben <aroben@apple.com>
+
+ More speculative Qt build fixes.
+
+ Add a stub implementation of InspectorClientQt.
+
+ * WebCoreSupport/InspectorClientQt.cpp: Added.
+ (WebCore::InspectorClientQt::inspectorDestroyed):
+ (WebCore::InspectorClientQt::createPage):
+ (WebCore::InspectorClientQt::showWindow):
+ (WebCore::InspectorClientQt::closeWindow):
+ (WebCore::InspectorClientQt::attachWindow):
+ (WebCore::InspectorClientQt::detachWindow):
+ (WebCore::InspectorClientQt::highlight):
+ (WebCore::InspectorClientQt::hideHighlight):
+ * WebCoreSupport/InspectorClientQt.h: Added.
+
+2007-06-19 George Staikos <staikos@kde.org>
+
+ Reviewed by Tim Hatcher.
+
+ Add https support.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkInterface::addJob):
+ (QWebNetworkInterface::cancelJob):
+ (WebCoreHttp::WebCoreHttp):
+
+2007-06-14 George Staikos <staikos@kde.org>
+
+ Reviewed by Lars.
+
+ Add evaluateJavaScript() method.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::evaluateJavaScript):
+ * Api/qwebframe.h:
+
+2007-06-14 George Staikos <staikos@kde.org>
+
+ Reviewed by Lars.
+
+ Implement most of the editing commands, better focus handling, fix some
+ keyboard and mouse handling, and add keyboard navigation. May be
+ refactored later as the key switches are ugly.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ (QWebFrame::mousePressEvent):
+ (QWebFrame::mouseReleaseEvent):
+ (QWebFrame::wheelEvent):
+ (QWebFrame::keyPressEvent):
+ (QWebFrame::keyReleaseEvent):
+ (QWebFrame::focusInEvent):
+ (QWebFrame::focusOutEvent):
+ (QWebFrame::focusNextPrevChild):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeypress):
+
+2007-06-14 George Staikos <staikos@kde.org>
+
+ Reviewed by Lars.
+
+ Implement all of the Javascript dialogs and file chooser.
+ Also makes the statusbar virtual into a signal and shuffles some
+ virtuals around a bit. The helper in FrameLoaderClientQt may go away
+ shortly.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPage::javaScriptAlert):
+ (QWebPage::javaScriptConfirm):
+ (QWebPage::javaScriptPrompt):
+ (QWebPage::chooseFile):
+ * Api/qwebpage.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::runJavaScriptAlert):
+ (WebCore::ChromeClientQt::runJavaScriptConfirm):
+ (WebCore::ChromeClientQt::runJavaScriptPrompt):
+ (WebCore::ChromeClientQt::setStatusbarText):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::chooseFile):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-06-14 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
+
+ HistoryItem itself doesn't seem to have a parent pointer either.
+
+ * Api/qwebpagehistory.h:
+
+2007-06-14 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Make it possible to copy QWebHistoryItem objects.
+
+ * Api/qwebpagehistory.cpp:
+ * Api/qwebpagehistory.h:
+
+2007-06-14 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by George
+
+ Fix a crash when a request from the plugin resulted
+ in a HTTP redirect.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::started):
+
+2007-06-14 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by George.
+
+ Work around a bug in Qt's QHttp implementation and
+ get web pages to load again.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::open):
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added a make install target that installs the Qt port and renamed
+ WebKitQt to QtWebKit
+
+ * Api/headers.pri: Added.
+ * Api/qtwebkit.prf: Added.
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
+
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebnetworkinterface.h:
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
+
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ (QWebObjectPluginConnector::requestUrl):
+ * Api/qwebobjectpluginconnector.h:
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added a QWebNetworkRequest convenience constructor.
+
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebpage.cpp:
+ (QWebPage::open):
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
+ overload to take a QWebNetworkRequest instead.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::open):
+ * Api/qwebpage.h:
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
+ of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
+ pick the individual fields if we can use them.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::open):
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Minor QWebNetworkRequet API fixlet
+
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebnetworkinterface.h:
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Use QWebNetworkRequest for QWebPage::navigationRequested.
+
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::navigationRequested):
+ (QWebPage::navigationRequested):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Some docs for QWebNetworkRequest
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequest::QWebNetworkRequest):
+ (QWebNetworkRequest::~QWebNetworkRequest):
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
+
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ (QWebObjectPluginConnector::requestUrl):
+ * Api/qwebobjectpluginconnector.h:
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkJob::postData):
+ (WebCoreHttp::WebCoreHttp):
+ (WebCoreHttp::scheduleNextRequest):
+ * Api/qwebnetworkinterface.h:
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Introduce QWebNetworkRequest in the public API.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequestPrivate::init):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (QWebNetworkManager::finished):
+ * Api/qwebnetworkinterface_p.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ (QWebObjectPluginConnector::requestUrl):
+
+2007-06-13 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequest::init):
+ (QWebNetworkRequest::setURL):
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::started):
+ * Api/qwebnetworkinterface_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+
+2007-06-12 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by George Staikos.
+
+ Remove duplicate symbols.
+
+ * Api/qwebobjectplugin_p.h:
+
+2007-06-13 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Niko.
+
+ Fix compilation, and remove dependency on Qt
+ private header.
+
+ * Api/qwebobjectplugin_p.h:
+ (QWebFactoryLoader::supportsMimeType):
+
+2007-06-13 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Niko.
+
+ Parts of the patch done by Zack.
+ Fix up some parts in the implementation of QWebNetworkInterface
+ so it can be used by plugins.
+ Change the plugin API so we can actually get all the information
+ required by the JS bridge from them as well.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkJob::cancelled):
+ (QWebNetworkManager::cancel):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::finished):
+ * Api/qwebobjectplugin.cpp:
+ (QWebFactoryLoader::QWebFactoryLoader):
+ (QWebFactoryLoader::descriptionForName):
+ (QWebFactoryLoader::mimetypesForName):
+ (QWebFactoryLoader::mimeTypeForExtension):
+ (QWebFactoryLoader::extensions):
+ (QWebFactoryLoader::nameForMimetype):
+ (QWebFactoryLoader::create):
+ (QWebObjectPlugin::descriptionForKey):
+ (QWebObjectPlugin::mimetypesForKey):
+ * Api/qwebobjectplugin.h:
+ * Api/qwebobjectplugin_p.h:
+ (QWebFactoryLoader::names):
+ * Api/qwebobjectpluginconnector.cpp:
+ (QWebObjectPluginConnector::requestUrl):
+ * Api/qwebpage.cpp:
+ (QWebPage::networkInterface):
+
+2007-06-11 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added a QWebPage::open overload to allow specifying the http header and post data.
+ (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
+ which would imply that one has to have QT += network in the .pro file for using WebKitQt)
+
+ * Api/qwebpage.cpp:
+ * Api/qwebpage.h:
+
+2007-06-11 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added the possibility to intercept url requests through QWebPage::navigationRequested.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPage::createFrame):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2007-06-11 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
+ to be called from FrameLoaderClientQt in the near future.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+ * Api/qwebnetworkinterface_p.h:
+
+2007-06-11 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Moved the postData setup into QWebNetworkRequest::init.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequest::init):
+ (QWebNetworkManager::add):
+
+2007-06-11 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Moved HTTP header field propagation to QWebNetworkRequest::init.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequest::init):
+ (QWebNetworkManager::add):
+
+2007-06-11 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
+ and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkRequest::init):
+ (QWebNetworkManager::add):
+ * Api/qwebnetworkinterface_p.h:
+ * Api/qwebobjectpluginconnector.cpp:
+ (QWebObjectPluginConnector::requestUrl):
+
+2007-06-11 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Forgot to export the plugin connector.
+
+ * Api/qwebobjectpluginconnector.h
+
+2007-06-08 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack.
+
+ Add a QWebObjectPluginConnector class. The class will
+ facility communication between the plugin and WebKit.
+ Currently it's used to make the plugin network capable.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkJobPrivate::setDefaults):
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (QWebNetworkManager::finished):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
+ * Api/qwebobjectplugin.cpp:
+ (QWebFactoryLoader::create):
+ * Api/qwebobjectplugin.h:
+ * Api/qwebobjectplugin_p.h:
+ * Api/qwebobjectpluginconnector.cpp: Added.
+ (QWebObjectPluginConnector::QWebObjectPluginConnector):
+ (QWebObjectPluginConnector::frame):
+ (QWebObjectPluginConnector::pluginParentWidget):
+ (QWebObjectPluginConnector::requestUrl):
+ * Api/qwebobjectpluginconnector.h: Added.
+ (QWebObjectPluginConnector::):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2007-06-06 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Add an API to create and load plugins.
+ Don't include moc files by hand anymore, rather let
+ qmake handle them.
+
+ * Api/qcookiejar.cpp:
+ (QCookieJar::cookieJar):
+ * Api/qwebframe.cpp:
+ (QWebFrame::scrollContentsBy):
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebobjectplugin.cpp: Added.
+ (QWebFactoryLoader::QWebFactoryLoader):
+ (QWebFactoryLoader::self):
+ (QWebFactoryLoader::mimeTypeForExtension):
+ (QWebFactoryLoader::create):
+ (QWebObjectPlugin::QWebObjectPlugin):
+ (QWebObjectPlugin::~QWebObjectPlugin):
+ (QWebObjectPlugin::extensionsForMimetype):
+ * Api/qwebobjectplugin.h: Added.
+ * Api/qwebobjectplugin_p.h: Added.
+ (QWebFactoryLoader::mimeTypes):
+ (QWebFactoryLoader::extensions):
+ (QWebFactoryLoader::supportsMimeType):
+ * Api/qwebpage.cpp:
+ (QWebPage::settings):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+
+2007-05-28 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by andersca and simon
+
+ Adding public settings Api to the Qt port.
+ QWebSetting's is a value based settings
+ object settable on the QWebPage.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPage::QWebPage):
+ (QWebPage::setSettings):
+ (QWebPage::settings):
+ * Api/qwebpage.h:
+ * Api/qwebsettings.cpp: Added.
+ (QWebSettingsPrivate::QWebSettingsPrivate):
+ (QWebSettings::QWebSettings):
+ (QWebSettings::~QWebSettings):
+ (QWebSettings::setMinimumFontSize):
+ (QWebSettings::minimumFontSize):
+ (QWebSettings::setMinimumLogicalFontSize):
+ (QWebSettings::minimumLogicalFontSize):
+ (QWebSettings::setDefaultFontSize):
+ (QWebSettings::defaultFontSize):
+ (QWebSettings::setDefaultFixedFontSize):
+ (QWebSettings::defaultFixedFontSize):
+ (QWebSettings::setUserStyleSheetLocation):
+ (QWebSettings::userStyleSheetLocation):
+ (QWebSettings::setGlobal):
+ (QWebSettings::global):
+ (QWebSettings::setFontFamily):
+ (QWebSettings::fontFamily):
+ (QWebSettings::setAttribute):
+ (QWebSettings::testAttribute):
+ * Api/qwebsettings.h: Added.
+ * QtLauncher/main.cpp:
+ (main):
+2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
+
+ Reviewed by Sam Weinig.
+
+ Consolidate all notImplemented() macro definitions into
+ one header file for all platforms.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ * WebCoreSupport/EditorClientQt.cpp:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2007-05-25 George Staikos <staikos@kde.org>
+
+ Reviewed by Simon.
+
+ The http loader should only ask for .... http cookies!
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+
+2007-05-24 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Fix multipart/form-data HTTP POSTs. The content-type wasn't set
+ correctly. Fortunately WebCore does it already, so there's no need
+ for us to do it since we already transfer all HTTP header fields :)
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+
+2007-05-23 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack, idea from Lars.
+
+ Share WebCoreHttp and therefore HTTP connections among multiple
+ QWebNetworkInterface instances by moving the code into
+ QWebNetworkManager.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::addHttpJob):
+ (QWebNetworkManager::cancelHttpJob):
+ (QWebNetworkManager::httpConnectionClosed):
+ (QWebNetworkInterface::addJob):
+ (QWebNetworkInterface::cancelJob):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::onResponseHeaderReceived):
+ (WebCoreHttp::onReadyRead):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::cancel):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+
+2007-05-23 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack, discussed also with Lars.
+
+ Make it possible to specify a per-QWebPage network interface (needed
+ for the KDE KIO integration).
+
+ Merged the file and the network loader into
+ QWebNetworkInterface(Private), which simplifies the loading code.
+
+ When receiving a redirection don't emit the data of the redirected job
+ to the document. (otherwise the kind of "This page has moved" text
+ appears right on top of the real page content)
+
+ * Api/qwebnetworkinterface.cpp:
+ (qHash):
+ (operator==):
+ (QWebNetworkJob::QWebNetworkJob):
+ (QWebNetworkJob::networkInterface):
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::cancel):
+ (QWebNetworkManager::data):
+ (QWebNetworkManager::finished):
+ (QWebNetworkInterfacePrivate::sendFileData):
+ (QWebNetworkInterfacePrivate::parseDataUrl):
+ (QWebNetworkInterfacePrivate::addHttpJob):
+ (QWebNetworkInterfacePrivate::httpConnectionClosed):
+ (QWebNetworkInterface::setDefaultInterface):
+ (QWebNetworkInterface::QWebNetworkInterface):
+ (QWebNetworkInterface::addJob):
+ (QWebNetworkInterface::cancelJob):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::onResponseHeaderReceived):
+ (WebCoreHttp::onReadyRead):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::cancel):
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPage::setNetworkInterface):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+
+2007-05-23 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Don't do HTTP downloads in a second thread. Simplifies
+ the code significantly and fixes crashes on some
+ Web pages.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add):
+ (QWebNetworkInterface::QWebNetworkInterface):
+ (QWebNetworkInterface::addJob):
+ (QWebNetworkInterface::cancelJob):
+ (LoaderThread::LoaderThread):
+ (LoaderThread::run):
+ (WebCoreHttp::cancel):
+ (NetworkLoader::NetworkLoader):
+ (NetworkLoader::request):
+ (NetworkLoader::cancel):
+ * Api/qwebnetworkinterface_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::committedLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
+
+2007-05-23 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkJobPrivate::setURL):
+ (QWebNetworkManager::started):
+ Fix Host: line in HTTP headers and resolving of relative URLs
+ when redirecting.
+ * Api/qwebnetworkinterface_p.h:
+ Clean up qHash forward declaration a bit.
+
+2007-05-23 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ * QtLauncher/main.cpp:
+ (MainWindow::MainWindow): Fix loading progress signal/slot connection.
+
+2007-05-22 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Lars.
+
+ * Api/qwebnetworkinterface.cpp:
+ (QWebNetworkManager::add): Fix http headers for POST.
+
+2007-05-21 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Simon
+
+ Remove the userHandle methods from QWebnetworkJob again.
+ They don't really give us anything and just clutter the API.
+
+ * Api/qwebnetworkinterface.cpp:
+ * Api/qwebnetworkinterface.h:
+ * Api/qwebnetworkinterface_p.h:
+
+2007-05-21 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ * Api/qwebnetworkinterface.h: Export the net API.
+
+2007-05-21 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack.
+
+ Add an API layer for network downloads. Basically QWebnetworkInterface
+ is an interface class for downloading resources. QWebnetworkJob describes
+ the actual object to download.
+
+ QWebNetworkInterface has a default implementation that replaces the
+ old ResourceHandleManager class in the Qt port.
+
+ * Api/qwebnetworkinterface.cpp: Added.
+ (QWebNetworkJobPrivate::setURL):
+ (QWebNetworkJob::QWebNetworkJob):
+ (QWebNetworkJob::~QWebNetworkJob):
+ (QWebNetworkJob::url):
+ (QWebNetworkJob::postData):
+ (QWebNetworkJob::request):
+ (QWebNetworkJob::response):
+ (QWebNetworkJob::setResponse):
+ (QWebNetworkJob::cancelled):
+ (QWebNetworkJob::ref):
+ (QWebNetworkJob::deref):
+ (QWebNetworkJob::setUserHandle):
+ (QWebNetworkJob::userHandle):
+ (QWebNetworkManager::QWebNetworkManager):
+ (QWebNetworkManager::self):
+ (QWebNetworkManager::add):
+ (QWebNetworkManager::cancel):
+ (QWebNetworkManager::started):
+ (QWebNetworkManager::data):
+ (QWebNetworkManager::finished):
+ (QWebNetworkInterface::setDefaultInterface):
+ (QWebNetworkInterface::defaultInterface):
+ (QWebNetworkInterface::QWebNetworkInterface):
+ (QWebNetworkInterface::~QWebNetworkInterface):
+ (QWebNetworkInterface::addJob):
+ (QWebNetworkInterface::cancelJob):
+ (LoaderThread::LoaderThread):
+ (LoaderThread::run):
+ (FileLoader::FileLoader):
+ (FileLoader::request):
+ (FileLoader::sendData):
+ (FileLoader::parseDataUrl):
+ (WebCoreHttp::WebCoreHttp):
+ (WebCoreHttp::~WebCoreHttp):
+ (WebCoreHttp::request):
+ (WebCoreHttp::scheduleNextRequest):
+ (WebCoreHttp::getConnection):
+ (WebCoreHttp::onResponseHeaderReceived):
+ (WebCoreHttp::onReadyRead):
+ (WebCoreHttp::onRequestFinished):
+ (WebCoreHttp::onStateChanged):
+ (WebCoreHttp::cancel):
+ (HostInfo::HostInfo):
+ (qHash):
+ (operator==):
+ (NetworkLoader::NetworkLoader):
+ (NetworkLoader::~NetworkLoader):
+ (NetworkLoader::request):
+ (NetworkLoader::connectionClosed):
+ (NetworkLoader::cancel):
+ * Api/qwebnetworkinterface.h: Added.
+ (QWebNetworkJob::setHandle):
+ (QWebNetworkJob::handle):
+ * Api/qwebnetworkinterface_p.h: Added.
+ (WebCore::LoaderThread::):
+ (WebCore::LoaderThread::waitForSetup):
+ (WebCore::HostInfo::HostInfo):
+
+2007-05-18 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Nikolas.
+
+ * Api/qwebpage.h: Changed the loadProgressChanged API to use an
+ percent integer instead of a double precision floating pointer number.
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setFrame):
+ (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
+
+ Reviewed by Zack Rusin.
+
+ The default constructed KeyboardEvent has
+ no PlatformKeyboardEvent.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeypress):
+
+2007-05-17 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ - Implement frameLoadCompleted
+ - Fix build (by George)
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::frameLoadCompleted):
+ (WebCore::FrameLoaderClientQt::createFrame):
+
+2007-05-17 Adam Treat <adam@staikos.net>
+
+ Reviewed by George Staikos.
+
+ Implement canShowMIMEType
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::canShowMIMEType):
+
+2007-05-16 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ pass the mouse events to the event handler, not the frameview.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::mouseMoveEvent):
+ (QWebFrame::mouseReleaseEvent):
+
+2007-05-14 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Updates after Maciej's frame change.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::stop):
+ Call stopForUserCancel() instead of stopAllLoaders()
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
+ (WebCore::FrameLoaderClientQt::didFinishLoad):
+ (WebCore::FrameLoaderClientQt::setMainDocumentError):
+ (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
+ Call QWebFrame::loadDone() from the places it's supposed to be
+ called from.
+
+2007-05-12 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Rob Buis.
+
+ - call Frame::init as needed - this prevents crashes but pages don't appear.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::initView):
+
+2007-05-08 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Ada.
+
+ Slight modification to last editor method fix.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-05-03 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Oliver.
+
+ Add missing user description parameter to spelling-related editor client method.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-04-29 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Zack.
+
+ Tie QT drag events to the DragController logic
+ to allow drag and drop events to be handled by
+ webkit.
+
+ * Api/qwebframe.cpp:
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPage::QWebPage):
+ (dropActionToDragOp):
+ (dragOpToDropAction):
+ (QWebPage::dragEnterEvent):
+ (QWebPage::dragLeaveEvent):
+ (QWebPage::dragMoveEvent):
+ (QWebPage::dropEvent):
+ * Api/qwebpage.h:
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::startDrag):
+ * WebCoreSupport/DragClientQt.h:
+ (WebCore::DragClientQt::DragClientQt):
+
+2007-04-27 Holger Freyther <freyther@kde.org>
+
+ Reviewed by Maciej.
+
+ Remove unmaintained CMake build system.
+
+ * QtLauncher/CMakeLists.txt: Removed.
+ * WebKitPart/CMakeLists.txt: Removed.
+
+2007-04-25 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam.
+
+ Fix spelling error in spelling method name.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-04-24 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Oliver.
+
+ Spelling and grammar stubs
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::ignoreWordInSpellDocument):
+ (WebCore::EditorClientQt::learnWord):
+ (WebCore::EditorClientQt::checkSpellingOfString):
+ (WebCore::EditorClientQt::checkGrammarOfString):
+ (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
+ (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
+ (WebCore::EditorClientQt::showSpellingUI):
+ (WebCore::EditorClientQt::spellingUIIsShowing):
+ (WebCore::EditorClientQt::getGuessesForWord):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-04-11 MorganL <morganl.webkit@yahoo.com>
+
+ Reviewed by Maciej.
+
+ Add a Frame pointer to ChromeClient methods:
+ http://bugs.webkit.org/show_bug.cgi?id=13127
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::createWindow):
+ (WebCore::ChromeClientQt::createModalDialog):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-04-12 Mark Rowe <mrowe@apple.com>
+
+ Second part of Qt build fix.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
+ (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
+ (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-03-27 Zack Rusin <zrusin@trolltech.com>
+
+ Fix the rendering crashes due triggered
+ asserts. Improve a bit the layout
+ scheduling.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::resizeEvent):
+ (QWebFrame::paintEvent):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::forceLayout):
+
+2007-03-16 Lars Knoll <lars@trolltech.com>
+
+ Fix the Qt build once again.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeypress):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::blockedError):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-03-13 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by George.
+
+ Don't try to load <object> tags with an invalid url.
+ Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
+ which hit an assertion in the frameloader.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::objectContentType):
+
+2007-03-13 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Anders.
+
+ Fix some crashes in the Qt build.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::markup):
+ Check for null pointer
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+ Don't use an async callback into the FrameLoader.
+ (WebCore::FrameLoaderClientQt::createFrame):
+
+2007-03-11 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adele.
+
+ Stub for EditorClientQt::respondToChangedSelection
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::respondToChangedSelection):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-03-07 Adele Peterson <adele@apple.com>
+
+ Reviewed by Darin.
+
+ WebKitQT part of fix for:
+ http://bugs.webkit.org/show_bug.cgi?id=10871
+ http://bugs.webkit.org/show_bug.cgi?id=12677
+ <rdar://problem/4823129> REGRESSION: IME key events different in nightly
+ <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
+ (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-03-07 Darin Adler <darin@apple.com>
+
+ * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
+
+2007-03-07 Darin Adler <darin@apple.com>
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
+ Try to fix the build by correcting the parameter here.
+
+2007-03-02 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Anders.
+
+ Try to fix the Qt build
+
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::willPerformDragDestinationAction):
+ (WebCore::DragClientQt::dragControllerDestroyed):
+ (WebCore::DragClientQt::createDragImageForLink):
+
+2007-02-26 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Kevin McCullough.
+
+ - fix Qt build for earlier SVG changes.
+
+ * WebCoreSupport/EditCommandQt.cpp:
+
+2007-02-24 Zack Rusin <zrusin@trolltech.com>
+
+ Adjust the animation a little bit to make it more natural.
+
+ * QtLauncher/main.cpp:
+ (HoverLabel::paintEvent):
+
+2007-02-23 Zack Rusin <zrusin@trolltech.com>
+
+ Adding a little bit of eye-candy to the last
+ commit (animations on hover events)
+
+ * QtLauncher/main.cpp:
+ (HoverLabel::HoverLabel):
+ (HoverLabel::setHoverLink):
+ (HoverLabel::sizeForFont):
+ (HoverLabel::sizeHint):
+ (HoverLabel::resetAnimation):
+ (HoverLabel::paintEvent):
+ (HoverLabel::interpolate):
+ (SearchEdit::resizeEvent):
+
+2007-02-23 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Adding API and code for notification of when the
+ mouse is hovering over a link and adding code to
+ the sample app to showcase it.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::mouseMoveEvent):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ (QWebFramePrivate::QWebFramePrivate):
+ * Api/qwebpage.cpp:
+ (QWebPage::createFrame):
+ * Api/qwebpage.h:
+ * QtLauncher/main.cpp:
+ (HoverLabel::HoverLabel):
+ (HoverLabel::setHoverLink):
+ (HoverLabel::sizeHint):
+ (HoverLabel::updateSize):
+ (HoverLabel::paintEvent):
+ (ClearButton::ClearButton):
+ (ClearButton::paintEvent):
+ (SearchEdit::SearchEdit):
+ (SearchEdit::resizeEvent):
+ (SearchEdit::moveEvent):
+ (MainWindow::MainWindow):
+ (MainWindow::showLinkHover):
+ (MainWindow::resizeEvent):
+
+2007-02-22 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Fixing the default scroll offset, cleaning
+ up private methods and making the default
+ look not use any frames.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ (QWebFramePrivate::_q_handleKeyEvent):
+ (QWebFrame::QWebFrame):
+ (QWebFrame::wheelEvent):
+ (QWebFrame::keyPressEvent):
+ (QWebFrame::keyReleaseEvent):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+
+2007-02-22 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Make the qwebframe act as a proper canvas.
+ Implement it on top of QAbstractScrollArea.
+
+ * Api/qwebframe.cpp:
+ (QWebFramePrivate::init):
+ (QWebFramePrivate::_q_adjustScrollbars):
+ (QWebFrame::init):
+ (QWebFrame::QWebFrame):
+ (QWebFrame::resizeEvent):
+ (QWebFrame::childFrames):
+ (QWebFrame::paintEvent):
+ (QWebFrame::mouseMoveEvent):
+ (QWebFrame::mousePressEvent):
+ (QWebFrame::mouseReleaseEvent):
+ (QWebFrame::wheelEvent):
+ (QWebFrame::keyPressEvent):
+ (QWebFrame::keyReleaseEvent):
+ (QWebFrame::dragEnterEvent):
+ (QWebFrame::dragLeaveEvent):
+ (QWebFrame::dragMoveEvent):
+ (QWebFrame::handleKeyEvent):
+ (QWebFrame::scrollContentsBy):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ (QWebFramePrivate::QWebFramePrivate):
+
+2007-02-21 George Staikos <staikos@kde.org>
+
+ Reviewed by Zack.
+
+ Add more editing support, and undo/redo. Requires some nasty evil
+ hacks that have to be sorted out in WebCore/editor.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::~QWebPagePrivate):
+ (QWebPage::undoStack):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::didBeginEditing):
+ (WebCore::EditorClientQt::didEndEditing):
+ (WebCore::EditorClientQt::isEditable):
+ (WebCore::EditorClientQt::registerCommandForUndo):
+ (WebCore::EditorClientQt::registerCommandForRedo):
+ (WebCore::EditorClientQt::clearUndoRedoOperations):
+ (WebCore::EditorClientQt::canUndo):
+ (WebCore::EditorClientQt::canRedo):
+ (WebCore::EditorClientQt::undo):
+ (WebCore::EditorClientQt::redo):
+ (WebCore::EditorClientQt::handleKeyPress):
+ (WebCore::EditorClientQt::EditorClientQt):
+ (WebCore::EditorClientQt::textFieldDidBeginEditing):
+ (WebCore::EditorClientQt::textFieldDidEndEditing):
+ (WebCore::EditorClientQt::isEditing):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-02-21 Zack Rusin <zrusin@trolltech.com>
+
+ Fix compilation.
+
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ * WebCoreSupport/ContextMenuClientQt.h:
+
+2007-02-21 George Staikos <staikos@kde.org>
+
+ Fix compile.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::stop):
+
+2007-02-20 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Make editing of forms work plus make sure that non-void methods
+ always return something.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::runJavaScriptConfirm):
+ (WebCore::ChromeClientQt::runJavaScriptPrompt):
+ (WebCore::ChromeClientQt::shouldInterruptJavaScript):
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::shouldDeleteRange):
+ (WebCore::EditorClientQt::shouldBeginEditing):
+ (WebCore::EditorClientQt::shouldEndEditing):
+ (WebCore::EditorClientQt::shouldInsertText):
+ (WebCore::EditorClientQt::shouldChangeSelectedRange):
+ (WebCore::EditorClientQt::shouldApplyStyle):
+ (WebCore::EditorClientQt::shouldInsertNode):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
+ (WebCore::FrameLoaderClientQt::dispatchCreatePage):
+
+2007-02-17 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Maciej.
+
+ Additional coding by Maciej, additional review by Oliver.
+
+ Add stubs for the new methods in ChormeClient and EditorClient,
+ remove all references to FrameQt.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+ * Api/qwebframe_p.h:
+ * Api/qwebpage.cpp:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::shouldInterruptJavaScript):
+ * WebCoreSupport/ChromeClientQt.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::shouldChangeSelectedRange):
+ (WebCore::EditorClientQt::isEditable):
+ * WebCoreSupport/EditorClientQt.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setFrame):
+ (WebCore::FrameLoaderClientQt::webFrame):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-02-18 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by NOBODY (Buildfix).
+
+ Build fix -- adding DragClientQt method stubs
+
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::willPerformDragSourceAction):
+ (WebCore::DragClientQt::startDrag):
+ (WebCore::DragClientQt::createDragImageForLink):
+ * WebCoreSupport/DragClientQt.h:
+
+2007-02-15 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Adam
+
+ Moved scroll state down into the cross platform FrameLoader -
+ Blind attempt at keeping Qt building
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::restoreViewState):
+ (WebCore::FrameLoaderClientQt::saveViewStateToItem):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-02-07 Anders Carlsson <acarlsson@apple.com>
+
+ Try fixing the Qt build.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::shouldInterruptJavaScript):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-02-02 Zack Rusin <zrusin@trolltech.com>
+
+ Compilation fix: forward declare d-ptr.
+
+ * Api/qcookiejar.h:
+
+2007-02-02 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Make the frames white by default and get the
+ files that WebCore can handle render inside
+ the frames.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createFrame):
+ (WebCore::FrameLoaderClientQt::objectContentType):
+
+2007-02-01 George Staikos <staikos@kde.org>
+
+ Reviewed by Zack and Lars.
+
+ Add a cookie interface for the Qt build.
+
+ * Api/qcookiejar.cpp: Added.
+ (QCookieJarPrivate::QCookieJarPrivate):
+ (qHash):
+ (QCookieJar::QCookieJar):
+ (QCookieJar::~QCookieJar):
+ (QCookieJar::setCookies):
+ (QCookieJar::cookies):
+ (QCookieJar::isEnabled):
+ (QCookieJar::setEnabled):
+ (gCleanupJar):
+ (QCookieJar::setCookieJar):
+ (QCookieJar::cookieJar):
+ * Api/qcookiejar.h: Added.
+
+2007-02-01 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Adam.
+
+ Fix form loading for the Qt build.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::callPolicyFunction):
+ (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
+ (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+
+2007-01-31 Zack Rusin <zrusin@trolltech.com>
+
+ Expose the fact that the form has been edited
+ in the public api.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPage::isModified):
+ * Api/qwebpage.h:
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::respondToChangedContents):
+ (WebCore::EditorClientQt::isEditable):
+
+2007-01-31 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Properly propagate key events.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::addToJSWindowObject):
+ (QWebFrame::innerText):
+ (QWebFrame::renderTreeDump):
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ * Api/qwebpage.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::pageDestroyed):
+ (WebCore::EditorClientQt::handleKeyPress):
+ (WebCore::EditorClientQt::EditorClientQt):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-01-31 George Staikos <staikos@kde.org>
+
+ Remove focusFrame() - misguided - and add childFrames(). Fix a crash
+ on exit.
+
+ Reviewed by Zack.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::resizeEvent):
+ (QWebFrame::childFrames):
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::webFrame):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-30 Zack Rusin <zrusin@trolltech.com>
+
+ Improve QtLauncher to make it more useful as a testing tool.
+
+ * QtLauncher/main.cpp:
+ (ClearButton::ClearButton):
+ (ClearButton::paintEvent):
+ (SearchEdit::SearchEdit):
+ (SearchEdit::~SearchEdit):
+ (SearchEdit::paintEvent):
+ (SearchEdit::resizeEvent):
+ (SearchEdit::moveEvent):
+ (MainWindow::MainWindow):
+ (MainWindow::changeLocation):
+ (MainWindow::loadFinished):
+
+2007-01-30 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ Added import/export macros needed for build with ELF visibility and
+ for a build on Windows (in the future).
+
+ * Api/qwebframe.h:
+ * Api/qwebkitglobal.h: Added.
+ * Api/qwebpage.h:
+ * Api/qwebpagehistory.h:
+
+2007-01-30 Zack Rusin <zack@kde.org>
+
+ Change the signature of handleKeyPress
+ (make it compile)
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeyPress):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-01-29 Zack Rusin <zack@kde.org>
+
+ Reviewed by Lars
+
+ Set the allows-scrolling property on the view.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+
+2007-01-29 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Stub for new DragClient method
+
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::dragSourceActionMaskForPoint):
+ * WebCoreSupport/DragClientQt.h:
+
+2007-01-29 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Mark.
+
+ - updated for cross-platform data loading support
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::createDocumentLoader):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-29 George Staikos <staikos@kde.org>
+
+ Make window resizing work.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::setWindowGeometry):
+ * Api/qwebpage.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::setWindowRect):
+
+2007-01-29 George Staikos <staikos@kde.org>
+
+ Make popup windows work.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::createWindow):
+ * Api/qwebpage.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::createWindow):
+
+2007-01-29 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Fix the way we handle native widgets (QWidget) inside
+ WebCore. Now WebCore::Widget owns the QWidget in all
+ cases. This is the only way to get well defined semantics
+ for all teh native widgets we have (currently ScrollView
+ and ScrollBar, but plugins will follow).
+
+ This has the side effect that one cannot rely on a defined
+ lifetime of a QWebFrame when using the API.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::~QWebFrame):
+ * Api/qwebpage.cpp:
+ (QWebPage::~QWebPage):
+ * Api/qwebpage_p.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::detachedFromParent3):
+ (WebCore::FrameLoaderClientQt::detachedFromParent4):
+ (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-29 George Staikos <staikos@kde.org>
+
+ Reviewed by Zack.
+
+ Implement more functions
+
+ * Api/qwebpage.cpp:
+ (QWebPage::javaScriptConsoleMessage):
+ (QWebPage::statusTextChanged):
+ (QWebPage::runJavaScriptAlert):
+ * Api/qwebpage.h:
+ * Api/qwebpagehistory.cpp:
+ (QWebPageHistory::canGoBack):
+ (QWebPageHistory::canGoForward):
+ * Api/qwebpagehistory.h:
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::addMessageToConsole):
+ (WebCore::ChromeClientQt::runJavaScriptAlert):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
+
+2007-01-26 George Staikos <staikos@kde.org>
+
+ Reviewed by Zack.
+
+ Qt implementation.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+ (QWebFrame::title):
+ (QWebFrame::selectedText):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ * Api/qwebpage.cpp:
+ (QWebPage::createFrame):
+ (QWebPage::open):
+ (QWebPage::url):
+ (QWebPage::title):
+ (QWebPage::focusFrame):
+ (QWebPage::stop):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setFrame):
+ (WebCore::FrameLoaderClientQt::detachFrameLoader):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
+ (WebCore::FrameLoaderClientQt::didChangeTitle):
+ (WebCore::FrameLoaderClientQt::setTitle):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-26 Lars Knoll <lars@trolltech.com>
+
+ Make it compile again with Qt 4.2 and add the copyright
+ headers where forgotten in the last submit.
+
+ * Api/qwebpagehistory.cpp:
+ * Api/qwebpagehistory.h:
+ (QExplicitlySharedDataPointer::operator*):
+ (QExplicitlySharedDataPointer::operator->):
+ (QExplicitlySharedDataPointer::operator T *):
+ (QExplicitlySharedDataPointer::operator const T *):
+ (QExplicitlySharedDataPointer::data):
+ (QExplicitlySharedDataPointer::constData):
+ (QExplicitlySharedDataPointer::operator==):
+ (QExplicitlySharedDataPointer::operator!=):
+ (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
+ (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
+ (QExplicitlySharedDataPointer::operator=):
+ (QExplicitlySharedDataPointer::operator!):
+ (::QExplicitlySharedDataPointer):
+
+2007-01-26 Zack Rusin <zrusin@trolltech.com>
+
+ Reviewed by Lars
+
+ Implement history support on platform Qt.
+
+ * Api/qwebpage.cpp:
+ (QWebPage::history):
+ (QWebPage::goBack):
+ (QWebPage::goForward):
+ (QWebPage::goToHistoryItem):
+ * Api/qwebpage.h:
+ * Api/qwebpagehistory.cpp: Added.
+ (QWebHistoryItem::~QWebHistoryItem):
+ (QWebHistoryItem::originalUrl):
+ (QWebHistoryItem::currentUrl):
+ (QWebHistoryItem::title):
+ (QWebHistoryItem::lastVisited):
+ (QWebHistoryItem::icon):
+ (QWebHistoryItem::QWebHistoryItem):
+ (QWebPageHistory::QWebPageHistory):
+ (QWebPageHistory::itemAtIndex):
+ (QWebPageHistory::~QWebPageHistory):
+ (QWebPageHistory::items):
+ (QWebPageHistory::backItems):
+ (QWebPageHistory::forwardItems):
+ (QWebPageHistory::goBack):
+ (QWebPageHistory::goForward):
+ (QWebPageHistory::goToItem):
+ (QWebPageHistory::backItem):
+ (QWebPageHistory::currentItem):
+ (QWebPageHistory::forwardItem):
+ * Api/qwebpagehistory.h: Added.
+ * Api/qwebpagehistory_p.h: Added.
+ (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
+ (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
+ (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
+ (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
+
+2007-01-26 Lars Knoll <lars@trolltech.com>
+
+ Get rid of FrameQtClient. It's unused since we moved over
+ to the loader.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+
+2007-01-26 Zack Rusin <zack@kde.org>
+
+ Reviewed by Lars
+
+ Correctly position child frames within the
+ toplevel frame. We were placed it on the widget
+ itself instead of the vieweport.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+
+2007-01-26 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Make sure we resize the HTML when resizing a
+ QWebFrame. Also ensure that the render tree
+ is up to date before dumping it.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::innerText):
+ (QWebFrame::renderTreeDump):
+ (QWebFrame::resizeEvent):
+ * Api/qwebframe.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::createMainFrame):
+
+2007-01-26 Zack Rusin <zack@kde.org>
+
+ Reviewed by Lars
+
+ Display pages inside a mainwindow instead
+ of a custom qwidget.
+
+ * QtLauncher/main.cpp:
+ (MainWindow::MainWindow):
+ (main):
+
+2007-01-25 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Emit the loadDone() signal from teh onload event callback
+ again. This hangs on one or two test cases, but removes
+ hundreds of failures elsewhere.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
+
+2007-01-24 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Implement some bits and pieces required by the loader.
+ Fixes quite a few crashes and hangs in the lyout tests
+
+ * Api/qwebframe.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
+ (WebCore::FrameLoaderClientQt::finishedLoading):
+ (WebCore::FrameLoaderClientQt::setMainDocumentError):
+ (WebCore::FrameLoaderClientQt::committedLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+ (WebCore::FrameLoaderClientQt::createFrame):
+
+2007-01-24 Lars Knoll <lars@trolltech.com>
+
+ Fix compilation again.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::handleKeyPress):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-01-23 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Fix refcounting of FrameViews (they get created with a
+ refcount of 1) and add a few safety checks to the
+ FrameLoaderClientQt.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+ (QWebFrame::~QWebFrame):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::detachedFromParent3):
+ (WebCore::FrameLoaderClientQt::detachedFromParent4):
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
+ (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
+ (WebCore::FrameLoaderClientQt::windowObjectCleared):
+
+2007-01-23 Zack Rusin <zack@kde.org>
+
+ Adjust the DragClientQt to latest changes.
+
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::dragControllerDestroyed):
+ * WebCoreSupport/DragClientQt.h:
+
+2007-01-23 Zack Rusin <zack@kde.org>
+
+ Fix the Qt build
+
+ * WebCoreSupport/DragClientQt.cpp:
+ (WebCore::DragClientQt::willPerformDragDestinationAction):
+ * WebCoreSupport/DragClientQt.h:
+
+2007-01-23 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Maciej
+
+ Add support for Frames to the Qt build and fix some issues
+ in the API classes.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+ (QWebFrame::~QWebFrame):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ * Api/qwebpage.cpp:
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::createMainFrame):
+ (QWebPage::createFrame):
+ * Api/qwebpage.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::detachedFromParent3):
+ (WebCore::FrameLoaderClientQt::detachedFromParent4):
+ (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
+ (WebCore::FrameLoaderClientQt::windowObjectCleared):
+ (WebCore::FrameLoaderClientQt::createFrame):
+ (WebCore::FrameLoaderClientQt::objectContentType):
+ (WebCore::FrameLoaderClientQt::createPlugin):
+ (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
+ (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
+ (WebCore::FrameLoaderClientQt::overrideMediaType):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-23 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Qt build stubs for Drop logic
+
+ * WebCoreSupport/DragClientQt.cpp: Added.
+ (WebCore::DragClientQt::actionMaskForDrag):
+ (WebCore::DragClientQt::willPerformDragDestinationAction):
+ * WebCoreSupport/DragClientQt.h: Added.
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::initView):
+
+2007-01-19 John Sullivan <sullivan@apple.com>
+
+ Added stubs for new callbacks, to try to avoid breaking the Qt port.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-19 Anders Carlsson <acarlsson@apple.com>
+
+ Try fixing the QT build.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::runJavaScriptAlert):
+ (WebCore::ChromeClientQt::runJavaScriptConfirm):
+ (WebCore::ChromeClientQt::runJavaScriptPrompt):
+ (WebCore::ChromeClientQt::setStatusbarText):
+ * WebCoreSupport/ChromeClientQt.h:
+
+2007-01-18 Zack Rusin <zack@kde.org>
+
+ Reviewed by Lars.
+
+ Implementing a little bit of load progress tracking in the Qt port.
+
+ * Api/qwebframe.cpp:
+ (QWebFrame::QWebFrame):
+ (QWebFrame::page):
+ * Api/qwebframe.h:
+ * Api/qwebframe_p.h:
+ (QWebFramePrivate::QWebFramePrivate):
+ * Api/qwebpage.h:
+ * QtLauncher/main.cpp:
+ (main):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setFrame):
+ (WebCore::FrameLoaderClientQt::detachFrameLoader):
+ (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-17 Alice Liu <alice.liu@apple.com>
+
+ Added these stubs to keep the Qt build from failing.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-01-17 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Remove the inheritance from Shared<XxxClient> in the
+ client classes.
+
+ Answer asynchronously to most of the Policy checking methods
+ in FrameLoaderClientQt to avoid some crashes in the loader.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ * WebCoreSupport/ChromeClientQt.h:
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ * WebCoreSupport/ContextMenuClientQt.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ * WebCoreSupport/EditorClientQt.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
+ (WebCore::FrameLoaderClientQt::callPolicyFunction):
+ (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
+ (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
+ (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-17 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ change all notImplemented() macros to use qDebug
+ instead of fprintf(stder, ...)
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ * WebCoreSupport/EditorClientQt.cpp:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2007-01-16 Alice Liu <alice.liu@apple.com>
+
+ Added these stubs to keep the Qt build from failing.
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
+ * WebCoreSupport/EditorClientQt.h:
+
+2007-01-16 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Added the start of a public API to the Qt build
+ of WebKit. Currently we have QWebPage and QWebFrame
+ with a few small methods.
+
+ Converted the QtLauncher to use the new public API.
+
+ * Api/qwebframe.cpp: Added.
+ (QWebFrame::QWebFrame):
+ (QWebFrame::~QWebFrame):
+ (QWebFrame::addToJSWindowObject):
+ (QWebFrame::markup):
+ (QWebFrame::innerText):
+ (QWebFrame::renderTreeDump):
+ * Api/qwebframe.h: Added.
+ * Api/qwebframe_p.h: Added.
+ (QWebFramePrivate::QWebFramePrivate):
+ * Api/qwebpage.cpp: Added.
+ (QWebPagePrivate::QWebPagePrivate):
+ (QWebPagePrivate::~QWebPagePrivate):
+ (QWebPagePrivate::createMainFrame):
+ (QWebPage::QWebPage):
+ (QWebPage::~QWebPage):
+ (QWebPage::createFrame):
+ (QWebPage::open):
+ (QWebPage::mainFrame):
+ (QWebPage::sizeHint):
+ * Api/qwebpage.h: Added.
+ * Api/qwebpage_p.h: Added.
+ * QtLauncher/main.cpp:
+ (main):
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::ChromeClientQt):
+ (WebCore::ChromeClientQt::setWindowRect):
+ (WebCore::ChromeClientQt::windowRect):
+ (WebCore::ChromeClientQt::pageRect):
+ (WebCore::ChromeClientQt::focus):
+ (WebCore::ChromeClientQt::unfocus):
+ (WebCore::ChromeClientQt::canTakeFocus):
+ (WebCore::ChromeClientQt::takeFocus):
+ (WebCore::ChromeClientQt::createWindow):
+ (WebCore::ChromeClientQt::createModalDialog):
+ (WebCore::ChromeClientQt::show):
+ (WebCore::ChromeClientQt::addMessageToConsole):
+ (WebCore::ChromeClientQt::chromeDestroyed):
+ (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::closeWindowSoon):
+ * WebCoreSupport/ChromeClientQt.h:
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setFrame):
+ (WebCore::FrameLoaderClientQt::detachFrameLoader):
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::partClearedInBegin):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-15 Anders Carlsson <acarlsson@apple.com>
+
+ Fix build.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
+ (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-13 Lars Knoll <lars@trolltech.com>
+
+ Compile again after yesterdays changes.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
+ (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
+ (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
+ (WebCore::FrameLoaderClientQt::incrementProgress):
+ (WebCore::FrameLoaderClientQt::completeProgress):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-11 Brady Eidson <beidson@apple.com>
+
+ Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore
+ Yay for the loader on QT!
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
+ (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-11 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Darin
+
+ Start using the loader in the Qt port.
+
+ * QtLauncher/main.cpp:
+ (main):
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
+ (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
+ (WebCore::FrameLoaderClientQt::setFrame):
+ (WebCore::FrameLoaderClientQt::detachFrameLoader):
+ (WebCore::FrameLoaderClientQt::makeDocumentView):
+ (WebCore::FrameLoaderClientQt::makeRepresentation):
+ (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
+ (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
+ (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
+ (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
+ (WebCore::FrameLoaderClientQt::progressStarted):
+ (WebCore::FrameLoaderClientQt::progressCompleted):
+ (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
+ (WebCore::FrameLoaderClientQt::clearArchivedResources):
+ (WebCore::FrameLoaderClientQt::canShowMIMEType):
+ (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
+ (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
+ (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
+ (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
+ (WebCore::FrameLoaderClientQt::canHandleRequest):
+ (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
+ (WebCore::FrameLoaderClientQt::canCachePage):
+ (WebCore::FrameLoaderClientQt::committedLoad):
+ (WebCore::FrameLoaderClientQt::cancelledError):
+ (WebCore::FrameLoaderClientQt::cannotShowURLError):
+ (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
+ (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
+ (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
+ (WebCore::FrameLoaderClientQt::shouldFallBack):
+ (WebCore::FrameLoaderClientQt::createDocumentLoader):
+ (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+ (WebCore::FrameLoaderClientQt::willUseArchive):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-11 George Staikos <staikos@kde.org>
+
+ Fix Qt Build.
+
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ (WebCore::ContextMenuClientQt::searchWithGoogle):
+ * WebCoreSupport/ContextMenuClientQt.h:
+
+2007-01-06 George Staikos <staikos@kde.org>
+
+ Reviewed by Brady.
+
+ Make it link.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setMainDocumentError):
+ (WebCore::FrameLoaderClientQt::committedLoad):
+ (WebCore::FrameLoaderClientQt::cancelledError):
+ (WebCore::FrameLoaderClientQt::cannotShowURLError):
+ (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
+ (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
+ (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
+ (WebCore::FrameLoaderClientQt::shouldFallBack):
+ (WebCore::FrameLoaderClientQt::createDocumentLoader):
+ (WebCore::FrameLoaderClientQt::download):
+ (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
+ (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
+ (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
+ (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
+ (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
+ (WebCore::FrameLoaderClientQt::dispatchCreatePage):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
+ (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
+ (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
+ (WebCore::FrameLoaderClientQt::incrementProgress):
+ (WebCore::FrameLoaderClientQt::completeProgress):
+ (WebCore::FrameLoaderClientQt::startDownload):
+ (WebCore::FrameLoaderClientQt::willUseArchive):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2007-01-05 Lars Knoll <lars@trolltech.com>
+
+ Make the Qt build compile again
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::canTakeFocus):
+ (WebCore::ChromeClientQt::takeFocus):
+ * WebCoreSupport/ChromeClientQt.h:
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
+ * WebCoreSupport/ContextMenuClientQt.h:
+
+2007-01-03 Lars Knoll <lars@trolltech.com>
+
+ Fix the Qt build
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::setDocumentViewFromPageCache):
+ (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
+ (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
+ (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
+ (WebCore::FrameLoaderClientQt::saveScrollPositionAndViewStateToItem):
+ (WebCore::FrameLoaderClientQt::saveDocumentViewToPageCache):
+ (WebCore::FrameLoaderClientQt::canCachePage):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+
+2006-12-29 George Staikos <staikos@kde.org>
+
+ Add missing notimplemented.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
+ (WebCore::FrameLoaderClientQt::canHandleRequest):
+ (WebCore::FrameLoaderClientQt::partClearedInBegin):
+
+2006-12-21 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::hasWebView):
+ (WebCore::FrameLoaderClientQt::hasFrameView):
+ (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
+ (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
+ (WebCore::FrameLoaderClientQt::setTitle):
+ (WebCore::FrameLoaderClientQt::partClearedInBegin):
+ * WebCoreSupport/FrameLoaderClientQt.h:
+ Remove some runtimw warnings
+ Add partClearedInBegin forwarding call, so
+ I can catch this in the layout tests.
+
+2006-12-19 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Rob.
+
+ * WebCoreSupport/ChromeClientQt.cpp:
+ (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
+ (WebCore::ChromeClientQt::closeWindowSoon):
+ * WebCoreSupport/ChromeClientQt.h:
+ Make it compile.
+
+2006-12-16 Zack Rusin <zack@kde.org>
+
+ Adjust the client to the most recent interface.
+
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ (WebCore::ContextMenuClientQt::contextMenuDestroyed):
+ (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
+ (WebCore::ContextMenuClientQt::contextMenuItemSelected):
+ (WebCore::ContextMenuClientQt::downloadURL):
+ (WebCore::ContextMenuClientQt::copyImageToClipboard):
+ (WebCore::ContextMenuClientQt::lookUpInDictionary):
+ * WebCoreSupport/ContextMenuClientQt.h:
+
+2006-12-14 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ * QtLauncher/QtLauncher.pro: Link this little test program
+ with rpath, for convenience. (This is never going to get installed
+ anyway)
+
+2006-12-12 George Staikos <staikos@kde.org>
+
+ Reviewed by Alexey.
+
+ Fix the Qt build again.
+
+ * WebCoreSupport/ContextMenuClientQt.cpp:
+ (WebCore::ContextMenuClientQt::speak):
+ (WebCore::ContextMenuClientQt::stopSpeaking):
+ * WebCoreSupport/ContextMenuClientQt.h:
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::toggleContinuousSpellChecking):
+ (WebCore::EditorClientQt::toggleGrammarChecking):
+ * WebCoreSupport/EditorClientQt.h:
+
+2006-12-10 George Staikos <staikos@kde.org>
+
+ Reviewed by Zack.
+
+ Add a default user agent for now.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+ (WebCore::FrameLoaderClientQt::userAgent):
+
+2006-12-10 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Comment out a notImplemented() warning
+
+ * WebCoreSupport/EditorClientQt.cpp:
+ (WebCore::EditorClientQt::clearUndoRedoOperations):
+
+2006-12-10 Zack Rusin <zack@kde.org>
+
+ Print out the method name if it's unimplemented.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp:
+
+2006-12-10 Zack Rusin <zack@kde.org>
+
+ Moving the clients from platform to their final location.
+
+ * WebCoreSupport/FrameLoaderClientQt.cpp: Added.
+ * WebCoreSupport/FrameLoaderClientQt.h: Added.
+ * WebCoreSupport/ChromeClientQt.cpp: Added.
+ * WebCoreSupport/ChromeClientQt.h: Added.
+ * WebCoreSupport/ContextMenuClientQt.cpp: Added.
+ * WebCoreSupport/ContextMenuClientQt.h: Added.
+ * WebCoreSupport/EditorClientQt.cpp: Added.
+ * WebCoreSupport/EditorClientQt.h: Added.
+
+2006-12-10 Zack Rusin <zack@kde.org>
+
+ Adjusting to the changes in platform/qt.
+
+ * QtLauncher/main.cpp:
+ (main):
+
+2006-12-09 Lars Knoll <lars@trolltech.com>
+
+ Reviewed by Zack
+
+ Make it possible to build WebKit with qmake.
+
+ * QtLauncher/QtLauncher.pro: Added.
+ * QtLauncher/main.cpp:
+
+2006-12-08 Zack Rusin <zack@kde.org>
+
+ Reviewed by Maciej.
+
+ Fix the build after the recent changes.
+
+ * QtLauncher/main.cpp:
+ (main):
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::initView):
+
+2006-11-19 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Zack.
+
+ http://bugs.webkit.org/show_bug.cgi?id=11649
+ Fix Qt-only build
+
+ * QtLauncher/CMakeLists.txt:
+
+2006-11-17 Zack Rusin <zack@kde.org>
+
+ Reviewed by Mitz. Landed by Niko.
+
+ Adjusting to the new api.
+
+ * QtLauncher/main.cpp:
+ (main):
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::initView):
+
+2006-11-10 Zack Rusin <zack@kde.org>
+
+ Reviewed and landed by Anders.
+
+ Adjusting to the recent loader changes, making it compile
+ and work.
+
+ * QtLauncher/main.cpp:
+ (main):
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::closeUrl):
+ (WebKitPart::initView):
+
+2006-11-03 Zack Rusin <zack@kde.org>
+
+ Reviewed by Maciej.
+
+ Fixing compile on both Qt and KDE platforms.
+
+ * QtLauncher/main.cpp:
+ (main): url has already been defined
+ * WebKitPart/WebKitPartBrowserExtension.cpp: removing
+ duplicate implementation of this class
+
+2006-10-31 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Maciej, landed by Anders.
+
+ * QtLauncher/CMakeLists.txt: Make linkage against kde libraries
+ optional
+ * QtLauncher/main.cpp: Make it compile without KDE.
+ (main):
+
+2006-11-02 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Maciej, landed by Anders.
+
+ * QtLauncher/main.cpp:
+ (main): Declare our frame as main frame to the Page object.
+ Fixes crashes on various web sites
+
+2006-10-31 Zack Rusin <zack@kde.org>
+
+ Reviewed by Mitz.
+
+ Fix the Qt build after last nights changes.
+
+ * QtLauncher/CMakeLists.txt:
+ * WebKitPart/CMakeLists.txt:
+
+2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by Darin.
+
+ Fix Qt/Linux build.
+
+ * QtLauncher/main.cpp:
+ (main):
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::openUrl):
+
+2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by Maciej.
+
+ Fix Qt/Linux build.
+
+ - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
+ - Fix CMakeLists.txt to include platform/network.
+
+ * QtLauncher/CMakeLists.txt:
+ * WebKitPart/CMakeLists.txt:
+
+2006-10-24 Simon Hausmann <hausmann@kde.org>
+
+ Reviewed by Darin.
+
+ * QtLauncher/CMakeLists.txt, WebKitPart/CMakeLists.txt: Added project name to
+ kde4_automoc macro, as required by the latest KDE4 cmake module.
+
+2006-10-20 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed and landed by Anders.
+
+ Adapt to FrameQtClient changes, and provide some kind of status
+ information to the KPart wheter we're loading or not (started/completed signaling).
+
+ * WebKitPart/CMakeLists.txt:
+ * WebKitPart/WebKitPart.cpp:
+ (WebKitPart::WebKitPart):
+ (WebKitPart::~WebKitPart):
+ (WebKitPart::openUrl):
+ (WebKitPart::initView):
+ * WebKitPart/WebKitPart.h:
+ * WebKitPart/WebKitPartBrowserExtension.cpp: Added.
+ (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
+ (WebKitPartBrowserExtension::~WebKitPartBrowserExtension):
+ * WebKitPart/WebKitPartBrowserExtension.h: Added.
+ * WebKitPart/WebKitPartClient.cpp:
+ (WebKitPartClient::WebKitPartClient):
+ (WebKitPartClient::loadFinished):
+ * WebKitPart/WebKitPartClient.h:
+ * WebKitPart/WebKitPartInterface.h:
+
+2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by eseidel. Landed by eseidel.
+
+ Fix last remaining issue Qt/Linux build with gcc3.
+
+ * WebKitPart/WebKitPart.h: Remove Q_PROPERTY usage, which is not needed and made problems.
+
+2006-09-10 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed and landed by ap.
+
+ Fix QtLauncher - it is supposed to create a FrameView on its own nowadays.
+
+ * QtLauncher/main.cpp:
+ (main):
+
+2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by Tim H.
+
+ Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
+ Move QtLauncher down to WebKitQt.
+
+ * QtLauncher/CMakeLists.txt: Added.
+ * QtLauncher/main.cpp: Added.
+ (main):
+
+2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
+
+ Reviewed by Darin. Final polish by Sam.
+
+ Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
+ Add WebKitPart, an embeddable KPart for the KDE platform.
+
+ * WebKitPart/CMakeLists.txt: Added.
+ * WebKitPart/WebKitFactory.cpp: Added.
+ (WebKitFactory::WebKitFactory):
+ (WebKitFactory::~WebKitFactory):
+ (WebKitFactory::createPartObject):
+ (WebKitFactory::instance):
+ (WebKitFactory::ref):
+ (WebKitFactory::deref):
+ (init_libWebKitPart):
+ * WebKitPart/WebKitFactory.h: Added.
+ * WebKitPart/WebKitPart.cpp: Added.
+ (WebKitPart::WebKitPart):
+ (WebKitPart::~WebKitPart):
+ (WebKitPart::openFile):
+ (WebKitPart::openUrl):
+ (WebKitPart::closeUrl):
+ (WebKitPart::parentPart):
+ (WebKitPart::frame):
+ (WebKitPart::initView):
+ * WebKitPart/WebKitPart.desktop: Added.
+ * WebKitPart/WebKitPart.h: Added.
+ (WebKitPart::):
+ * WebKitPart/WebKitPart.rc: Added.
+ * WebKitPart/WebKitPartBrowser.rc: Added.
+ * WebKitPart/WebKitPartClient.cpp: Added.
+ (WebKitPartClient::WebKitPartClient):
+ (WebKitPartClient::~WebKitPartClient):
+ * WebKitPart/WebKitPartClient.h: Added.
+ * WebKitPart/WebKitPartInterface.cpp: Added.
+ (WebKitPartInterface::WebKitPartInterface):
+ (WebKitPartInterface::~WebKitPartInterface):
+ (WebKitPartInterface::url):
+ (WebKitPartInterface::closeURL):
+ * WebKitPart/WebKitPartInterface.h: Added.
+ * WebKitPart/org.kde.WebKitPart.xml: Added.
+
diff --git a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
index ed91b86..bb6fb95 100644
--- a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
+++ b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
@@ -599,13 +599,18 @@ void FrameLoaderClientQt::registerForIconNotification(bool)
notImplemented();
}
-void FrameLoaderClientQt::updateGlobalHistory(const WebCore::KURL& url)
+void FrameLoaderClientQt::updateGlobalHistoryForStandardLoad(const WebCore::KURL& url)
{
QWebHistoryInterface *history = QWebHistoryInterface::defaultInterface();
if (history)
history->addHistoryEntry(url.prettyURL());
}
+void FrameLoaderClientQt::updateGlobalHistoryForReload(const WebCore::KURL&)
+{
+ notImplemented();
+}
+
bool FrameLoaderClientQt::shouldGoToHistoryItem(WebCore::HistoryItem *item) const
{
if (item) {
diff --git a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h
index 3dd5ac9..2eced5d 100644
--- a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h
+++ b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h
@@ -156,7 +156,8 @@ namespace WebCore {
virtual void transitionToCommittedFromCachedPage(WebCore::CachedPage*);
virtual void transitionToCommittedForNewPage();
- virtual void updateGlobalHistory(const WebCore::KURL&);
+ virtual void updateGlobalHistoryForStandardLoad(const WebCore::KURL&);
+ virtual void updateGlobalHistoryForReload(const WebCore::KURL&);
virtual bool shouldGoToHistoryItem(WebCore::HistoryItem*) const;
virtual void saveViewStateToItem(WebCore::HistoryItem*);
virtual bool canCachePage() const;