2007-02-22 Zack Rusin 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 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 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 Fix compilation. * WebCoreSupport/ContextMenuClientQt.cpp: * WebCoreSupport/ContextMenuClientQt.h: 2007-02-21 George Staikos Fix compile. * Api/qwebpage.cpp: (QWebPage::stop): 2007-02-20 Zack Rusin 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 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 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 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 Try fixing the Qt build. * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::shouldInterruptJavaScript): * WebCoreSupport/ChromeClientQt.h: 2007-02-02 Zack Rusin Compilation fix: forward declare d-ptr. * Api/qcookiejar.h: 2007-02-02 Zack Rusin 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 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 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 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 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 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 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 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 Change the signature of handleKeyPress (make it compile) * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::handleKeyPress): * WebCoreSupport/EditorClientQt.h: 2007-01-29 Zack Rusin Reviewed by Lars Set the allows-scrolling property on the view. * Api/qwebframe.cpp: (QWebFrame::QWebFrame): 2007-01-29 Oliver Hunt Reviewed by Adam. Stub for new DragClient method * WebCoreSupport/DragClientQt.cpp: (WebCore::DragClientQt::dragSourceActionMaskForPoint): * WebCoreSupport/DragClientQt.h: 2007-01-29 Maciej Stachowiak Reviewed by Mark. - updated for cross-platform data loading support * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createDocumentLoader): * WebCoreSupport/FrameLoaderClientQt.h: 2007-01-29 George Staikos Make window resizing work. * Api/qwebpage.cpp: (QWebPage::setWindowGeometry): * Api/qwebpage.h: * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::setWindowRect): 2007-01-29 George Staikos Make popup windows work. * Api/qwebpage.cpp: (QWebPage::createWindow): * Api/qwebpage.h: * WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::createWindow): 2007-01-29 Lars Knoll 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 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 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 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 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 Get rid of FrameQtClient. It's unused since we moved over to the loader. * Api/qwebframe.cpp: (QWebFrame::QWebFrame): 2007-01-26 Zack Rusin 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 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 Reviewed by Lars Display pages inside a mainwindow instead of a custom qwidget. * QtLauncher/main.cpp: (MainWindow::MainWindow): (main): 2007-01-25 Lars Knoll 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 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 Fix compilation again. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::handleKeyPress): * WebCoreSupport/EditorClientQt.h: 2007-01-23 Lars Knoll 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 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 Fix the Qt build * WebCoreSupport/DragClientQt.cpp: (WebCore::DragClientQt::willPerformDragDestinationAction): * WebCoreSupport/DragClientQt.h: 2007-01-23 Lars Knoll 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 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 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 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 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 Added these stubs to keep the Qt build from failing. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard): * WebCoreSupport/EditorClientQt.h: 2007-01-17 Lars Knoll Reviewed by Zack Remove the inheritance from Shared 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 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 Added these stubs to keep the Qt build from failing. * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::didWriteSelectionToPasteboard): * WebCoreSupport/EditorClientQt.h: 2007-01-16 Lars Knoll 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 Fix build. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::postProgressStartedNotification): (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification): (WebCore::FrameLoaderClientQt::postProgressFinishedNotification): * WebCoreSupport/FrameLoaderClientQt.h: 2007-01-13 Lars Knoll 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 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 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 Fix Qt Build. * WebCoreSupport/ContextMenuClientQt.cpp: (WebCore::ContextMenuClientQt::searchWithGoogle): * WebCoreSupport/ContextMenuClientQt.h: 2007-01-06 George Staikos 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 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 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 Add missing notimplemented. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::frameLoaderDestroyed): (WebCore::FrameLoaderClientQt::canHandleRequest): (WebCore::FrameLoaderClientQt::partClearedInBegin): 2006-12-21 Lars Knoll 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 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 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 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 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 Reviewed by Zack. Add a default user agent for now. * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent): 2006-12-10 Lars Knoll Reviewed by Zack Comment out a notImplemented() warning * WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::clearUndoRedoOperations): 2006-12-10 Zack Rusin Print out the method name if it's unimplemented. * WebCoreSupport/FrameLoaderClientQt.cpp: 2006-12-10 Zack Rusin 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 Adjusting to the changes in platform/qt. * QtLauncher/main.cpp: (main): 2006-12-09 Lars Knoll Reviewed by Zack Make it possible to build WebKit with qmake. * QtLauncher/QtLauncher.pro: Added. * QtLauncher/main.cpp: 2006-12-08 Zack Rusin Reviewed by Maciej. Fix the build after the recent changes. * QtLauncher/main.cpp: (main): * WebKitPart/WebKitPart.cpp: (WebKitPart::initView): 2006-11-19 Simon Hausmann Reviewed by Zack. http://bugs.webkit.org/show_bug.cgi?id=11649 Fix Qt-only build * QtLauncher/CMakeLists.txt: 2006-11-17 Zack Rusin 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 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 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 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 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 Reviewed by Mitz. Fix the Qt build after last nights changes. * QtLauncher/CMakeLists.txt: * WebKitPart/CMakeLists.txt: 2006-10-26 Nikolas Zimmermann Reviewed by Darin. Fix Qt/Linux build. * QtLauncher/main.cpp: (main): * WebKitPart/WebKitPart.cpp: (WebKitPart::openUrl): 2006-10-24 Nikolas Zimmermann 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 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 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 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 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 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 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.