1 2008-01-10 Maciej Stachowiak <mjs@apple.com>
5 - remove SecurityOriginData and fold its functionality into SecurityOrigin
7 * WebCoreSupport/ChromeClientQt.cpp:
8 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
9 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
10 * WebCoreSupport/ChromeClientQt.h:
12 2008-01-10 Lars Knoll <lars@trolltech.com>
19 * Api/qwebhistory.cpp:
20 (QWebHistoryItem::QWebHistoryItem):
21 (QWebHistoryItem::operator=):
22 (QWebHistoryItem::~QWebHistoryItem):
23 (QWebHistoryItem::originalUrl):
24 (QWebHistoryItem::currentUrl):
25 (QWebHistoryItem::title):
26 (QWebHistoryItem::icon):
27 (QWebHistory::canGoBack):
28 (QWebHistory::canGoForward):
29 (QWebHistory::goBack):
30 (QWebHistory::goForward):
31 (QWebHistory::goToItem):
34 2008-01-10 Simon Hausmann <hausmann@webkit.org>
38 Make the reset() functions not do anything on the default QWebSettings object.
41 * Api/qwebsettings.cpp:
42 (QWebSettings::resetFontSize):
43 (QWebSettings::resetFontFamily):
44 (QWebSettings::clearAttribute):
46 2008-01-10 Lars Knoll <lars@trolltech.com>
50 rename QWebPageHistory to QWebHistory.
53 * Api/qwebhistory.cpp: Added.
54 (QWebHistoryItem::QWebHistoryItem):
55 (QWebHistoryItem::operator=):
56 (QWebHistoryItem::~QWebHistoryItem):
57 (QWebHistoryItem::originalUrl):
58 (QWebHistoryItem::currentUrl):
59 (QWebHistoryItem::title):
60 (QWebHistoryItem::lastVisited):
61 (QWebHistoryItem::icon):
62 (QWebHistory::QWebHistory):
63 (QWebHistory::~QWebHistory):
66 (QWebHistory::backItems):
67 (QWebHistory::forwardItems):
68 (QWebHistory::canGoBack):
69 (QWebHistory::canGoForward):
70 (QWebHistory::goBack):
71 (QWebHistory::goForward):
72 (QWebHistory::goToItem):
73 (QWebHistory::backItem):
74 (QWebHistory::currentItem):
75 (QWebHistory::forwardItem):
76 (QWebHistory::itemAtIndex):
77 * Api/qwebhistory.h: Added.
78 * Api/qwebhistory_p.h: Added.
79 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
80 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
81 (QWebHistoryPrivate::QWebHistoryPrivate):
82 (QWebHistoryPrivate::~QWebHistoryPrivate):
84 (QWebPagePrivate::QWebPagePrivate):
87 * Api/qwebpagehistory.cpp: Removed.
88 * Api/qwebpagehistory.h: Removed.
89 * Api/qwebpagehistory_p.h: Removed.
93 2008-01-10 Simon Hausmann <hausmann@webkit.org>
97 Documentation for QWebSettings
100 * Api/qwebsettings.cpp:
101 (QWebSettings::~QWebSettings):
102 (QWebSettings::setFontSize):
103 (QWebSettings::resetFontSize):
104 (QWebSettings::setUserStyleSheetLocation):
105 (QWebSettings::userStyleSheetLocation):
106 (QWebSettings::iconDatabaseEnabled):
107 (QWebSettings::webGraphic):
108 (QWebSettings::setFontFamily):
109 (QWebSettings::resetFontFamily):
110 (QWebSettings::setAttribute):
112 2008-01-10 Lars Knoll <lars@trolltech.com>
116 Document QWebHistoryInterface.
119 * Api/qwebhistoryinterface.cpp:
120 (QWebHistoryInterface::defaultInterface):
121 (QWebHistoryInterface::~QWebHistoryInterface):
123 2008-01-10 Lars Knoll <lars@trolltech.com>
127 Documentation for QWebFrame.
134 (QWebFrame::setHtml):
135 (QWebFrame::parentFrame):
138 (QWebFrame::geometry):
142 2008-01-10 Lars Knoll <lars@trolltech.com>
146 fix the drawing errors that where introduced due to refactoring.
148 Correctly clip to the rectangle we want to draw in ScrollView::paint().
155 (QWebView::paintEvent):
156 * WebCoreSupport/ChromeClientQt.cpp:
157 (WebCore::ChromeClientQt::scrollBackingStore):
159 2008-01-10 Simon Hausmann <hausmann@webkit.org>
163 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
167 (QWebPagePrivate::dropEvent):
168 (QWebPage::QWebPage):
169 (QWebPage::~QWebPage):
170 (QWebPage::mainFrame):
171 (QWebPage::currentFrame):
175 (QWebPage::javaScriptConsoleMessage):
176 (QWebPage::javaScriptAlert):
177 (QWebPage::javaScriptConfirm):
178 (QWebPage::javaScriptPrompt):
179 (QWebPage::createWindow):
180 (QWebPage::createModalDialog):
182 (QWebPage::triggerAction):
183 (QWebPage::viewportSize):
184 (QWebPage::navigationRequested):
185 (QWebPage::selectedText):
186 (QWebPage::isModified):
187 (QWebPage::focusNextPrevChild):
188 (QWebPage::settings):
189 (QWebPage::networkProxy):
190 (QWebPage::setNetworkAccessManager):
191 (QWebPage::networkAccessManager):
192 (QWebPagePrivate::_q_onLoadProgressChanged):
195 2008-01-07 Holger Freyther <zecke@selfish.org>
197 Reviewed by Alp Toker.
199 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
201 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
202 * Update the ContextMenuController to accept CheckableActionTypes as well.
203 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
204 was extracted from ContextMenu::checkOrEnableIfNeeded.
205 * Update the Qt and Windows port.
208 (QWebPagePrivate::createContextMenu):
210 2008-01-07 Simon Hausmann <hausmann@webkit.org>
212 Build fix for the Windows build. MSVC wants to see the full
213 declaration of arguments even when just passing them through.
217 2008-01-07 Simon Hausmann <hausmann@webkit.org>
221 Added the missing parameters to make it possible to do POST operations from the public API.
223 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
224 two extra arguments were in QNetworkRequest :-/
234 2008-01-07 Simon Hausmann <hausmann@webkit.org>
238 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
244 * Api/qwebnetworkinterface.cpp:
245 * Api/qwebnetworkinterface.h:
246 * Api/qwebnetworkinterface_p.h:
247 * Api/qwebobjectplugin.cpp:
248 * Api/qwebobjectplugin.h:
249 * Api/qwebobjectplugin_p.h:
250 * Api/qwebobjectpluginconnector.cpp:
251 * Api/qwebobjectpluginconnector.h:
253 (QWebPagePrivate::QWebPagePrivate):
254 (QWebPagePrivate::~QWebPagePrivate):
255 (QWebPagePrivate::navigationRequested):
256 (QWebPage::setNetworkInterface):
257 (QWebPage::networkInterface):
258 (QWebPage::setNetworkAccessManager):
259 (QWebPage::networkAccessManager):
264 * WebCoreSupport/FrameLoaderClientQt.cpp:
265 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
266 (WebCore::FrameLoaderClientQt::objectContentType):
267 (WebCore::FrameLoaderClientQt::createPlugin):
269 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
273 * Move the QWebPagePrivate methods up to the other private ones
276 (dropActionToDragOp):
277 (dragOpToDropAction):
278 (QWebPagePrivate::mouseMoveEvent):
279 (QWebPagePrivate::mousePressEvent):
280 (QWebPagePrivate::mouseDoubleClickEvent):
281 (QWebPagePrivate::mouseReleaseEvent):
282 (QWebPagePrivate::contextMenuEvent):
283 (QWebPagePrivate::wheelEvent):
284 (QWebPagePrivate::keyPressEvent):
285 (QWebPagePrivate::keyReleaseEvent):
286 (QWebPagePrivate::focusInEvent):
287 (QWebPagePrivate::focusOutEvent):
288 (QWebPagePrivate::dragEnterEvent):
289 (QWebPagePrivate::dragLeaveEvent):
290 (QWebPagePrivate::dragMoveEvent):
291 (QWebPagePrivate::dropEvent):
292 (QWebPage::focusNextPrevChild):
294 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
298 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
302 (dragOpToDropAction):
304 (QWebView::mouseMoveEvent):
305 (QWebView::mousePressEvent):
306 (QWebView::mouseDoubleClickEvent):
307 (QWebView::mouseReleaseEvent):
308 (QWebView::contextMenuEvent):
309 (QWebView::keyPressEvent):
310 (QWebView::keyReleaseEvent):
311 (QWebView::focusInEvent):
312 (QWebView::focusOutEvent):
313 (QWebView::dragEnterEvent):
314 (QWebView::dragLeaveEvent):
315 (QWebView::dragMoveEvent):
316 (QWebView::dropEvent):
318 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
322 * This layout is not needed anymore as Widget::invalidateRect will not
327 (QWebView::paintEvent):
329 2008-01-04 Lars Knoll <lars@trolltech.com>
333 Remove most dependencies of Widget/ScrollView onto native QWidgets.
335 This also brings the code closer in line with the Windows code. Seems
336 to work nicely on first try :)
339 * WebCoreSupport/ChromeClientQt.cpp:
340 (WebCore::ChromeClientQt::updateBackingStore):
341 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
342 (WebCore::ChromeClientQt::setToolTip):
343 * WebCoreSupport/FrameLoaderClientQt.cpp:
344 (WebCore::FrameLoaderClientQt::createPlugin):
346 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
350 * Remove the todo from QWebPage and move the code to QWebView.
354 (QWebPagePrivate::wheelEvent):
355 (QWebPagePrivate::focusInEvent):
357 (QWebView::wheelEvent):
358 (QWebView::focusInEvent):
360 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
364 * Move the various event methods to QWebPagePrivate. This is similar to
365 QTextControl as well.
370 (QWebPagePrivate::mouseMoveEvent):
371 (QWebPagePrivate::mousePressEvent):
372 (QWebPagePrivate::mouseDoubleClickEvent):
373 (QWebPagePrivate::mouseReleaseEvent):
374 (QWebPagePrivate::contextMenuEvent):
375 (QWebPagePrivate::wheelEvent):
376 (QWebPagePrivate::keyPressEvent):
377 (QWebPagePrivate::keyReleaseEvent):
378 (QWebPagePrivate::focusInEvent):
379 (QWebPagePrivate::focusOutEvent):
380 (QWebPage::focusNextPrevChild):
381 (QWebPagePrivate::dragEnterEvent):
382 (QWebPagePrivate::dragLeaveEvent):
383 (QWebPagePrivate::dragMoveEvent):
384 (QWebPagePrivate::dropEvent):
388 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
392 * Forward the event from QWebView to QWebPage through QObject::event. This
393 is similar to the way QTextControl is working.
397 (dragOpToDropAction):
401 (QWebView::mouseMoveEvent):
402 (QWebView::mousePressEvent):
403 (QWebView::mouseDoubleClickEvent):
404 (QWebView::mouseReleaseEvent):
405 (QWebView::contextMenuEvent):
406 (QWebView::wheelEvent):
407 (QWebView::keyPressEvent):
408 (QWebView::keyReleaseEvent):
409 (QWebView::focusInEvent):
410 (QWebView::focusOutEvent):
411 (QWebView::dragEnterEvent):
412 (QWebView::dragLeaveEvent):
413 (QWebView::dragMoveEvent):
414 (QWebView::dropEvent):
417 2008-01-04 Lars Knoll <lars@trolltech.com>
421 make QWebPage a QObject and get things to compile.
423 Nothing works currently though.
426 * Api/qwebobjectpluginconnector.cpp:
428 (QWebPagePrivate::QWebPagePrivate):
429 (QWebPagePrivate::createMainFrame):
430 (QWebPage::QWebPage):
433 (QWebPage::javaScriptAlert):
434 (QWebPage::javaScriptPrompt):
435 (dragOpToDropAction):
436 (QWebPage::mousePressEvent):
437 (QWebPage::mouseDoubleClickEvent):
438 (QWebPage::mouseReleaseEvent):
439 (QWebPage::wheelEvent):
440 (QWebPage::keyPressEvent):
441 (QWebPage::focusInEvent):
445 (QWebView::QWebView):
447 (QWebView::resizeEvent):
448 (QWebView::paintEvent):
450 * WebCoreSupport/ChromeClientQt.cpp:
451 (WebCore::ChromeClientQt::windowRect):
452 (WebCore::ChromeClientQt::pageRect):
453 (WebCore::ChromeClientQt::focus):
454 (WebCore::ChromeClientQt::unfocus):
455 (WebCore::ChromeClientQt::canTakeFocus):
456 (WebCore::ChromeClientQt::takeFocus):
457 (WebCore::ChromeClientQt::canRunModal):
458 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
459 * WebCoreSupport/DragClientQt.cpp:
460 (WebCore::DragClientQt::startDrag):
461 * WebCoreSupport/FrameLoaderClientQt.cpp:
462 (WebCore::FrameLoaderClientQt::createPlugin):
463 * WebCoreSupport/InspectorClientQt.cpp:
464 (WebCore::InspectorClientWebPage::createWindow):
465 (WebCore::InspectorClientView::InspectorClientView):
466 (WebCore::InspectorClientView::page):
467 (WebCore::InspectorClientView::hideEvent):
468 (WebCore::InspectorClientView::closeEvent):
469 (WebCore::InspectorClientQt::createPage):
470 (WebCore::InspectorClientQt::closeWindow):
472 2008-01-04 Simon Hausmann <hausmann@webkit.org>
476 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
481 (QWebView::setContent):
483 (QWebView::settings):
485 (QWebView::triggerAction):
487 (QWebView::backward):
492 2008-01-04 Lars Knoll <lars@trolltech.com>
496 add a viewportSize to QWebPage.
498 This is required to eventually make it a QObject only.
502 (QWebPage::triggerAction):
503 (QWebPage::viewportSize):
504 (QWebPage::setViewportSize):
507 2008-01-04 Lars Knoll <lars@trolltech.com>
511 take a QString as identifier in QWebFrame::addToJSWindowObject.
514 (QWebFrame::addToJSWindowObject):
517 2008-01-04 Simon Hausmann <hausmann@webkit.org>
521 Call the frame arguments for the javascript callbacks "originatingFrame"
526 2008-01-04 Simon Hausmann <hausmann@webkit.org>
530 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
533 * Api/qwebhistoryinterface.h:
535 * WebCoreSupport/FrameLoaderClientQt.cpp:
536 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
538 2008-01-04 Lars Knoll <lars@trolltech.com>
542 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
547 (QWebFrame::setVerticalScrollBarPolicy):
550 (QWebPage::javaScriptAlert):
551 (QWebPage::javaScriptPrompt):
552 (QWebPage::networkInterface):
558 * WebCoreSupport/FrameLoaderClientQt.cpp:
560 2008-01-03 Simon Hausmann <hausmann@webkit.org>
564 Moved QWebPage::open to QWebFrame::load and added setHtml.
569 (QWebFrame::setHtml):
570 (QWebFrame::setContent):
578 * WebCoreSupport/ChromeClientQt.cpp:
579 (WebCore::ChromeClientQt::createWindow):
580 * WebCoreSupport/InspectorClientQt.cpp:
581 (WebCore::InspectorClientQt::createPage):
583 2008-01-03 Simon Hausmann <hausmann@webkit.org>
587 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
593 (QWebPagePrivate::createMainFrame):
595 * Api/qwebpagehistory.h:
596 * Api/qwebview.cpp: Added.
597 (QWebView::QWebView):
598 (QWebView::~QWebView):
604 (QWebView::settings):
608 (QWebView::selectedText):
610 (QWebView::triggerAction):
611 (QWebView::isModified):
612 (QWebView::textInteractionFlags):
613 (QWebView::setTextInteractionFlags):
614 (QWebView::sizeHint):
616 (QWebView::backward):
619 * Api/qwebview.h: Added.
620 * QtLauncher/main.cpp:
621 (MainWindow::MainWindow):
622 (MainWindow::webPage):
623 (MainWindow::changeLocation):
624 * WebCoreSupport/FrameLoaderClientQt.cpp:
625 (WebCore::FrameLoaderClientQt::setFrame):
626 * WebCoreSupport/FrameLoaderClientQt.h:
628 2007-12-14 Darin Adler <darin@apple.com>
633 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
634 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
635 * WebCoreSupport/EditorClientQt.cpp:
636 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
637 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
640 2007-12-12 Brady Eidson <beidson@apple.com>
642 Reviewed by Sam Weinig
644 As part of doing some CachedPage and client cleanup, keep Qt building
646 * WebCoreSupport/FrameLoaderClientQt.cpp:
647 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
648 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
649 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
650 * WebCoreSupport/FrameLoaderClientQt.h:
652 2007-12-12 Sam Weinig <sam@webkit.org>
656 * WebCoreSupport/FrameLoaderClientQt.cpp:
657 (WebCore::FrameLoaderClientQt::userAgent):
659 2007-12-12 Sam Weinig <sam@webkit.org>
663 * Api/qwebnetworkinterface.cpp:
664 (QWebNetworkRequestPrivate::init):
667 (QWebPageContext::QWebPageContext):
668 * Api/qwebpagehistory.cpp:
669 (QWebHistoryItem::originalUrl):
670 (QWebHistoryItem::currentUrl):
671 * WebCoreSupport/FrameLoaderClientQt.cpp:
672 (WebCore::FrameLoaderClientQt::cannotShowURLError):
673 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
674 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
675 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
676 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
677 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
678 (WebCore::FrameLoaderClientQt::createPlugin):
680 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
684 <rdar://problem/5535636>
685 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
687 http://bugs.webkit.org/show_bug.cgi?id=13916
688 JavaScript detects Tab as a character input on a textfield validation
690 * WebCoreSupport/EditorClientQt.cpp:
691 (WebCore::EditorClientQt::handleKeyboardEvent):
692 (WebCore::EditorClientQt::handleInputMethodKeydown):
693 * WebCoreSupport/EditorClientQt.h:
694 Updated for cross-platform changes as much as it was possible without a Qt build environment.
696 2007-12-07 Darin Adler <darin@apple.com>
700 * Api/qwebhistoryinterface.cpp:
701 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
702 be updated, since WebCore changed, but this should not be here.
704 2007-12-04 Darin Adler <darin@apple.com>
706 Reviewed by Kevin Decker.
708 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
709 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
711 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
715 * Implement the InspectorClient for the Qt port
716 * It does not support highlighting of nodes yet
717 * Use QRC to open the internal page. The important thing is the
718 '/' in the URL to make WebCore::Document::completeURL behave the
720 * To make the InspectorClient work we will have to mark qrc as secure.
723 (QWebPagePrivate::QWebPagePrivate):
725 * WebCoreSupport/InspectorClientQt.cpp:
726 (WebCore::InspectorClientWebPage::hideEvent):
727 (WebCore::InspectorClientQt::InspectorClientQt):
728 (WebCore::InspectorClientQt::inspectorDestroyed):
729 (WebCore::InspectorClientQt::createPage):
730 (WebCore::InspectorClientQt::localizedStringsURL):
731 (WebCore::InspectorClientQt::showWindow):
732 (WebCore::InspectorClientQt::closeWindow):
733 (WebCore::InspectorClientQt::attachWindow):
734 (WebCore::InspectorClientQt::detachWindow):
735 * WebCoreSupport/InspectorClientQt.h:
737 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
739 Rubber stamped by Mark.
741 Always include config.h at the beginning of the file.
743 * Api/qwebsettings.cpp:
745 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
749 * Avoid crashes by making sure everything is layouted before
750 we start painting. This avoids a crash in Widget::invalidateRect
751 because QPainter::begin would fail
752 * The QWebFrame::layout() methods and calls are left untouched because
753 this would be an API decision.
759 (QWebPage::paintEvent):
761 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
765 * SubClass QWebPage to handle hide and close events.
766 * Forward these events to the InspectorController
767 * The other options would have been using an eventFilter
768 on the webpage and making InspectorClient a QObject or
769 creating a QObject Observer.
770 * Provide a simple QWebPage* createWindow implementation. This is needed
771 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
772 of the inspector client.
775 * WebCoreSupport/InspectorClientQt.cpp:
776 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
777 (WebCore::InspectorClientWebPage::createWindow):
778 (WebCore::InspectorClientWebPage::hideEvent):
779 (WebCore::InspectorClientWebPage::closeEvent):
780 (WebCore::InspectorClientQt::createPage):
782 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
786 * Allow adding the Inspect ContextMenuItem to our Menu
787 * Open the Inspector when Inspect was activated. This requires
788 that we keep the innerNonSharedNode from the HitTest around. This
789 forces us to include <wtf/RefPtr.h> in the private header. It is
790 the first non Qt header but should be okay.
794 (webActionForContextMenuAction):
795 (QWebPage::triggerAction):
797 (QWebPageContext::QWebPageContext):
801 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
805 * Add the Developer Extras to the WebAttribute and propagate it
806 to WebCore::Settings. This will enable the Inspect Element menu item
807 * CodingStyle fixes in QWebSettings
808 * Enable the Developer Extras in the QtLauncher
811 * Api/qwebsettings.cpp:
812 (QWebSettingsPrivate::apply):
813 * Api/qwebsettings.h:
814 * QtLauncher/main.cpp:
817 2007-12-03 Geoffrey Garen <ggaren@apple.com>
819 Removed unnecessary and possibly incorrect #include from my last
824 2007-12-03 Geoffrey Garen <ggaren@apple.com>
826 Qt build fix: Get globalExec() from the right place.
828 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
832 * Self destruct the clients like the ohter ports do
835 * WebCoreSupport/ChromeClientQt.cpp:
836 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
837 * WebCoreSupport/ContextMenuClientQt.cpp:
838 * WebCoreSupport/DragClientQt.cpp:
839 * WebCoreSupport/EditorClientQt.cpp:
840 * WebCoreSupport/InspectorClientQt.cpp:
842 2007-11-29 Brady Eidson <beidson@apple.com>
844 Keep it building with new client method
846 * WebCoreSupport/ChromeClientQt.cpp:
847 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
848 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
849 * WebCoreSupport/ChromeClientQt.h:
851 2007-11-22 Simon Hausmann <hausmann@webkit.org>
853 Reviewed by Adam Treat.
855 Fix compilation (don't define notImplemented twice)
857 * Api/qwebnetworkinterface.cpp:
859 2007-11-22 Simon Hausmann <hausmann@kde.org>
863 Use Q_SIGNALS/Q_SLOTS in the public API
868 2007-11-22 Simon Hausmann <hausmann@kde.org>
872 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
876 2007-11-22 Simon Hausmann <hausmann@kde.org>
880 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
884 * Api/qwebhistoryinterface.h:
885 * Api/qwebnetworkinterface.h:
886 * Api/qwebobjectplugin.h:
887 * Api/qwebobjectplugin_p.h:
888 * Api/qwebobjectpluginconnector.h:
890 * Api/qwebpagehistory.h:
891 * Api/qwebsettings.h:
893 2007-11-22 Simon Hausmann <hausmann@kde.org>
897 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
899 * Api/qwebpagehistory.h:
901 2007-11-22 George Staikos <staikos@kde.org>
903 Reviewed by Simon Hausmann <hausmann@kde.org>.
908 * Api/qwebobjectplugin.cpp:
909 * Api/qwebobjectplugin.h:
910 * Api/qwebobjectpluginconnector.cpp:
911 * Api/qwebobjectpluginconnector.h:
913 2007-11-22 Simon Hausmann <hausmann@kde.org>
915 Reviewed by George Staikos <staikos@kde.org>.
917 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
919 This also fixes compilation with gcc 4.3.
923 (QWebFramePrivate::init):
925 2007-11-21 Adam Treat <treat@kde.org>
929 * Connect up the signal for all subframes too.
932 (QWebFramePrivate::init):
934 (QWebPagePrivate::createMainFrame):
936 2007-11-20 Simon Hausmann <hausmann@kde.org>
938 Reviewed by Adam Treat <treat@kde.org>.
940 Remove static linkage of QtWebKit against the ICO image format plugin.
942 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
945 * Plugins/Plugins.pro:
947 2007-11-20 Simon Hausmann <hausmann@kde.org>
949 Reviewed by George Staikos <staikos@kde.org>.
951 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
956 2007-11-20 George Staikos <staikos@kde.org>
958 Reviewed by Simon Hausmann <hausmann@kde.org>.
960 Add an argument to pass the link text in the hovering signal
965 (QWebPagePrivate::createMainFrame):
966 (QWebPage::mouseMoveEvent):
969 2007-11-20 Adam Treat <treat@kde.org>
971 Reviewed by Simon and George.
973 * Be quiet and allow suppression of NotImplemented calls at runtime.
975 * WebCoreSupport/FrameLoaderClientQt.cpp:
976 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
978 2007-11-19 Adam Treat <treat@kde.org>
982 * Don't segfault when event pos is outside of the widget.
985 (QWebPage::mouseMoveEvent):
986 (QWebPage::mousePressEvent):
987 (QWebPage::mouseDoubleClickEvent):
988 (QWebPage::mouseReleaseEvent):
989 (QWebPage::contextMenuEvent):
991 2007-11-17 Timothy Hatcher <timothy@apple.com>
993 Reviewed by Mark Rowe.
995 Bug 13470: i18n: The Web Inspector is not localizable
996 http://bugs.webkit.org/show_bug.cgi?id=13470
998 * WebCoreSupport/InspectorClientQt.cpp:
999 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1000 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1002 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1004 Build fix: changed Shared to RefCounted.
1006 * WebCoreSupport/ChromeClientQt.h:
1007 * WebCoreSupport/ContextMenuClientQt.cpp:
1008 * WebCoreSupport/ContextMenuClientQt.h:
1009 * WebCoreSupport/EditorClientQt.h:
1010 * WebCoreSupport/FrameLoaderClientQt.h:
1012 2007-11-10 Simon Hausmann <hausmann@kde.org>
1014 Reviewed by Nikolas.
1016 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1020 (QWebPagePrivate::createContextMenu):
1022 2007-11-10 Simon Hausmann <hausmann@kde.org>
1024 Reviewed by Nikolas.
1026 Added support for the Bold/Italic/Underline toggle actions.
1030 (webActionForContextMenuAction):
1031 (QWebPage::triggerAction):
1035 2007-11-10 Simon Hausmann <hausmann@kde.org>
1037 Reviewed by Nikolas.
1039 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1040 to update the enable/checked state correctly.
1044 (QWebPagePrivate::createContextMenu):
1045 (QWebPage::contextMenuEvent):
1048 2007-11-10 Simon Hausmann <hausmann@kde.org>
1050 Reviewed by Nikolas.
1052 Mark the text direction actions as checkable actions.
1058 2007-11-09 Simon Hausmann <hausmann@kde.org>
1062 Implemented the webcore actions for changing the text direction.
1066 (webActionForContextMenuAction):
1067 (QWebPage::triggerAction):
1071 2007-11-09 Simon Hausmann <hausmann@kde.org>
1075 Fix ContextMenu allocation in the Qt port.
1077 Store all items and submenus value based in ContextMenu and ContextMenuItem.
1078 That fixes the crashes when the context menu was populated with sub-menus because
1079 of the use of temporary ContextMenu objects like this:
1081 ContextMenu subMenu(...);
1082 subMenu.appendItem(...);
1083 subMenu.appendItem(...);
1085 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
1089 (QWebPage::contextMenuEvent):
1092 2007-11-09 Simon Hausmann <hausmann@kde.org>
1096 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
1102 2007-11-08 Kevin McCullough <kmccullough@apple.com>
1106 - windowObjectCleared() is no longer const. It needs to setup the
1107 script debugger and cannot be const to do so.
1109 * WebCoreSupport/FrameLoaderClientQt.cpp:
1110 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1111 * WebCoreSupport/FrameLoaderClientQt.h:
1113 2007-11-08 Simon Hausmann <hausmann@kde.org>
1115 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
1117 The buildbots use Qt 4.4 which has the function in question, but Qt
1118 4.3 doesn't have it. Use removeAll() as replacement instead, it
1119 shouldn't make a difference in performance.
1121 * Api/qwebsettings.cpp:
1122 (QWebSettings::~QWebSettings):
1124 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1126 Reviewed by Lars Knoll <lars@trolltech.com>.
1128 Cleanup checking for the request method.
1130 * Check the request method only in QWebNetworkManager::add.
1131 * Currently HEAD, GET, POST are allowed and for everything else
1132 QWebNetworkManager::add returns false.
1133 * Returning false is compatible with ResourceHandle::start and it
1134 can be used in ResourceHandle::loadResourceSynchronously to generate
1138 * Api/qwebnetworkinterface.cpp:
1139 (QWebNetworkManager::add):
1141 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1143 Reviewed by Lars Knoll <lars@trolltech.com>.
1145 Fix bug in the implementation of synchronous network jobs.
1147 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
1148 - if (jobMode == AsynchronousJob) {
1149 + if (jobMode == SynchronousJob) {
1150 add job to synchronous list/hash
1152 * Just applying the above change will lead to crashes because we can finish
1153 jobs before we started them.
1155 * Avoid these issues by saving all work (starting a job, sending data and
1156 finishing it) inside one list. JobWork will contain any
1157 of the above three work types and doWork will just work on this list
1158 (m_pendingWork). As foreach takes a copy of the list calling started, data
1159 and finished will not add new work and we gurantee that if we have JobStarted
1160 it will be in the list before JobData and JobFinished.
1162 * Observation: We might just kill the code to handle sync jobs.
1165 * Api/qwebnetworkinterface.cpp:
1166 (QWebNetworkManager::add):
1167 (QWebNetworkManager::queueStart):
1168 (QWebNetworkManager::queueData):
1169 (QWebNetworkManager::queueFinished):
1170 (QWebNetworkManager::doWork):
1171 * Api/qwebnetworkinterface_p.h:
1172 (QWebNetworkManager::JobWork::):
1173 (QWebNetworkManager::JobWork::JobWork):
1175 2007-11-07 Simon Hausmann <hausmann@kde.org>
1177 Build fix, reviewed by nobody.
1179 Fix the Qt build by setting up WindowFeatures before calling
1180 createWindow on the Chrome. This is similar to openNewWindow in
1181 page/ContextMenuController.cpp
1186 2007-11-07 Simon Hausmann <hausmann@kde.org>
1190 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
1193 (QWebPagePrivate::QWebPagePrivate):
1194 * Api/qwebsettings.cpp:
1195 (QWebSettingsPrivate::apply):
1196 * Api/qwebsettings.h:
1198 2007-11-07 Simon Hausmann <hausmann@kde.org>
1202 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
1204 * Api/qwebpagehistory.cpp:
1205 * Api/qwebpagehistory.h:
1207 2007-11-07 Simon Hausmann <hausmann@kde.org>
1211 Removed unimplemented QWebHistoryItem::children() function
1213 * Api/qwebpagehistory.h:
1215 2007-11-07 Simon Hausmann <hausmann@kde.org>
1219 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
1221 * Api/qwebsettings.cpp:
1222 (QWebSettings::fontSize):
1223 (QWebSettings::fontFamily):
1224 (QWebSettings::testAttribute):
1226 2007-11-07 Simon Hausmann <hausmann@kde.org>
1230 Added explicit functions for resetting the font sizes and font families.
1232 * Api/qwebsettings.cpp:
1233 (QWebSettings::resetFontSize):
1234 (QWebSettings::resetFontFamily):
1235 * Api/qwebsettings.h:
1237 2007-11-07 Simon Hausmann <hausmann@kde.org>
1241 Combined the font sizes accessors/setters under one setter/getter with an enum.
1243 * Api/qwebsettings.cpp:
1244 (QWebSettingsPrivate::QWebSettingsPrivate):
1245 (QWebSettingsPrivate::apply):
1246 (QWebSettings::QWebSettings):
1247 (QWebSettings::setFontSize):
1248 * Api/qwebsettings.h:
1250 2007-11-07 Simon Hausmann <hausmann@kde.org>
1254 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
1258 * WebCoreSupport/FrameLoaderClientQt.cpp:
1259 (WebCore::FrameLoaderClientQt::userAgent):
1261 2007-11-07 Simon Hausmann <hausmann@kde.org>
1265 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
1268 (QWebPagePrivate::_q_webActionTriggered):
1269 (QWebPage::keyPressEvent):
1272 2007-11-07 Simon Hausmann <hausmann@kde.org>
1276 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
1280 * WebCoreSupport/ChromeClientQt.cpp:
1281 (WebCore::ChromeClientQt::setWindowRect):
1283 2007-11-07 Simon Hausmann <hausmann@kde.org>
1287 Renamed QWebPage::webAction() to QWebPage::action()
1290 (QWebPagePrivate::createContextMenu):
1292 * QtLauncher/main.cpp:
1293 (MainWindow::MainWindow):
1295 2007-11-07 Simon Hausmann <hausmann@kde.org>
1299 Removed a bunch of slots/functions that are now available through the new actions API.
1304 2007-11-07 Simon Hausmann <hausmann@kde.org>
1308 Added some more comments to the API after another round of API review with Lars.
1312 2007-11-07 Simon Hausmann <hausmann@kde.org>
1316 Moved QWebFrame::selectedText() to QWebPage::selectedText().
1318 The currently selected text is a property of the page as a whole.
1320 * Api/qwebframe.cpp:
1323 (QWebPage::selectedText):
1326 2007-11-07 Simon Hausmann <hausmann@kde.org>
1330 Implemented support for settings propagation.
1332 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
1334 * Api/qwebsettings.cpp:
1335 (QWebSettingsPrivate::QWebSettingsPrivate):
1336 (QWebSettingsPrivate::apply):
1337 (QWebSettings::QWebSettings):
1338 (QWebSettings::~QWebSettings):
1339 (QWebSettings::setFontFamily):
1340 * Api/qwebsettings.h:
1342 2007-11-07 Simon Hausmann <hausmann@kde.org>
1346 Reworked the QWebSettings API.
1347 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
1350 (QWebPagePrivate::QWebPagePrivate):
1351 (QWebPagePrivate::~QWebPagePrivate):
1352 (QWebPage::QWebPage):
1355 * Api/qwebsettings.cpp:
1356 (QWebSettingsPrivate::QWebSettingsPrivate):
1357 (QWebSettingsPrivate::apply):
1358 (QWebSettings::defaultSettings):
1359 (QWebSettings::QWebSettings):
1360 (QWebSettings::setMinimumFontSize):
1361 (QWebSettings::setMinimumLogicalFontSize):
1362 (QWebSettings::setDefaultFontSize):
1363 (QWebSettings::setDefaultFixedFontSize):
1364 (QWebSettings::setUserStyleSheetLocation):
1365 (QWebSettings::setFontFamily):
1366 (QWebSettings::fontFamily):
1367 (QWebSettings::setAttribute):
1368 * Api/qwebsettings.h:
1369 * QtLauncher/main.cpp:
1372 2007-11-07 Simon Hausmann <hausmann@kde.org>
1376 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
1378 * Api/qwebsettings.cpp:
1379 (QWebSettings::setWebGraphic):
1380 * Api/qwebsettings.h:
1382 2007-11-07 Simon Hausmann <hausmann@kde.org>
1386 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
1388 * Api/qwebsettings.cpp:
1390 2007-11-07 Simon Hausmann <hausmann@kde.org>
1394 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
1396 * Api/qwebsettings.cpp:
1397 * Api/qwebsettings.h:
1399 2007-11-07 Simon Hausmann <hausmann@kde.org>
1403 Changed the webAction() accessor to not be a slot but just a public function.
1407 2007-11-07 Simon Hausmann <hausmann@kde.org>
1411 Implemented createWindow() in QtLauncher.
1413 * QtLauncher/main.cpp:
1415 (MainWindow::MainWindow):
1416 (WebPage::createWindow):
1418 2007-11-07 Simon Hausmann <hausmann@kde.org>
1422 Implemented opening links in new windows
1427 (QWebPage::webActionTriggered):
1429 2007-11-07 Simon Hausmann <hausmann@kde.org>
1433 Added and implemented the "OpenLink" action.
1436 (webActionForContextMenuAction):
1437 (QWebPage::webActionTriggered):
1438 (QWebPage::webAction):
1441 2007-11-07 Simon Hausmann <hausmann@kde.org>
1445 Adjust the state of the reload action correctly.
1448 (QWebPagePrivate::updateAction):
1449 (QWebPagePrivate::updateNavigationActions):
1451 2007-11-07 Simon Hausmann <hausmann@kde.org>
1455 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
1458 (QWebPagePrivate::updateAction):
1459 (QWebPage::webAction):
1460 (QWebPage::undoStack):
1463 2007-11-07 Simon Hausmann <hausmann@kde.org>
1467 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
1469 * QtLauncher/main.cpp:
1470 (MainWindow::MainWindow):
1472 2007-11-07 Simon Hausmann <hausmann@kde.org>
1476 Update the editor actions when the selection changes.
1479 (QWebPagePrivate::updateAction):
1480 (QWebPagePrivate::updateEditorActions):
1482 * WebCoreSupport/EditorClientQt.cpp:
1483 (WebCore::EditorClientQt::respondToChangedSelection):
1485 2007-11-07 Simon Hausmann <hausmann@kde.org>
1489 Added cut/copy/paste actions to the toolbar of QtLauncher
1491 * QtLauncher/main.cpp:
1492 (MainWindow::MainWindow):
1494 2007-11-07 Simon Hausmann <hausmann@kde.org>
1498 Started working on keeping the state of the navigation actions up-to-date.
1501 (QWebPagePrivate::updateAction):
1502 (QWebPagePrivate::updateNavigationActions):
1503 (QWebPage::webAction):
1505 * WebCoreSupport/FrameLoaderClientQt.cpp:
1506 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1507 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1508 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1509 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1510 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1512 2007-11-07 Simon Hausmann <hausmann@kde.org>
1516 Use the navigational web actions in the toolbar
1518 * QtLauncher/main.cpp:
1519 (MainWindow::MainWindow):
1521 2007-11-07 Simon Hausmann <hausmann@kde.org>
1525 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
1526 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
1529 (QWebPagePrivate::QWebPagePrivate):
1530 (webActionForContextMenuAction):
1531 (QWebPagePrivate::createContextMenu):
1532 (QWebPagePrivate::_q_webActionTriggered):
1533 (QWebPage::webActionTriggered):
1534 (QWebPage::webAction):
1535 (QWebPage::contextMenuEvent):
1536 (QWebPageContext::QWebPageContext):
1537 (QWebPageContext::operator=):
1538 (QWebPageContext::~QWebPageContext):
1539 (QWebPageContext::pos):
1540 (QWebPageContext::text):
1541 (QWebPageContext::linkUrl):
1542 (QWebPageContext::imageUrl):
1543 (QWebPageContext::image):
1544 (QWebPageContext::targetFrame):
1548 2007-11-07 Simon Hausmann <hausmann@kde.org>
1552 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
1555 (QWebPage::webActionTriggered):
1556 (QWebPage::keyPressEvent):
1559 2007-11-07 Simon Hausmann <hausmann@kde.org>
1563 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
1564 convenience methods such as cut()/copy()/paste().
1568 (QWebPage::webActionTriggered):
1573 2007-11-07 Simon Hausmann <hausmann@kde.org>
1577 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
1578 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
1579 in ContextMenu::populate().
1580 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
1581 out of it. That menu is currently not functional anymore though.
1584 (QWebPagePrivate::createContextMenu):
1585 (QWebPage::contextMenuEvent):
1588 2007-11-07 Simon Hausmann <hausmann@kde.org>
1592 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
1593 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
1594 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
1598 (QWebPage::contextMenuEvent):
1599 * WebCoreSupport/ContextMenuClientQt.cpp:
1600 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1602 2007-11-07 Simon Hausmann <hausmann@kde.org>
1606 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
1607 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
1610 (QWebPage::mousePressEvent):
1611 (QWebPage::contextMenuEvent):
1614 2007-11-07 Simon Hausmann <hausmann@kde.org>
1618 Turned onLoadProgressChanged into a real private slot.
1621 (QWebPage::QWebPage):
1625 2007-11-07 Simon Hausmann <hausmann@kde.org>
1629 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1632 (QWebPagePrivate::QWebPagePrivate):
1635 * Api/qwebpagehistory.cpp:
1636 (QWebPageHistory::QWebPageHistory):
1637 * Api/qwebpagehistory.h:
1639 2007-11-07 Lars Knoll <lars@trolltech.com>
1643 comments on API changes that we'd like to do.
1647 2007-11-07 Simon Hausmann <hausmann@kde.org>
1649 Reviewed by Lars Knoll <lars@trolltech.com>.
1651 Add a QWebPage::frameCreated() signal and fix DRT
1653 The removal of createFrame in QWebPage broke the re-implementation
1654 in DumpRenderTree. Instead emit a frameCreated() signal and
1655 connect to it in DumpRenderTree.
1659 (QWebPagePrivate::createMainFrame):
1661 * WebCoreSupport/FrameLoaderClientQt.cpp:
1662 (WebCore::FrameLoaderClientQt::createFrame):
1664 2007-11-07 Lars Knoll <lars@trolltech.com>
1668 Remove QWebPage::createFrame()
1670 now that QWebFrame doesn't have virtual methods anymore, there
1671 is no need for a createFrame() factory method in QWebpage.
1674 (QWebPagePrivate::createMainFrame):
1676 * WebCoreSupport/FrameLoaderClientQt.cpp:
1677 (WebCore::FrameLoaderClientQt::createFrame):
1679 2007-11-07 Simon Hausmann <hausmann@kde.org>
1681 Reviewed by Lars Knoll <lars@trolltech.com>.
1683 Moved all the event handlers from QWebFrame into QWebPage.
1685 This cleans up the public API and allows us to remove the
1686 HackWebFrame hack in DumpRenderTree.
1689 * Api/qwebframe.cpp:
1692 * Api/qwebframe_p.h:
1694 (QWebPagePrivate::frameAt):
1695 (QWebPage::mouseMoveEvent):
1696 (QWebPage::mousePressEvent):
1697 (QWebPage::mouseDoubleClickEvent):
1698 (QWebPage::mouseReleaseEvent):
1699 (QWebPage::wheelEvent):
1702 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
1704 Reviewed by Lars Knoll <lars@trolltech.com>.
1706 Use correct UserAgent string.
1708 * Only have one User Agent String and this place is QWebPage
1709 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
1710 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
1711 * ResourceRequest is != 0 when getting called from WebCore, we
1712 will only do requests when coming from WebCore and then we can
1713 use the User-Agent set with the help of the FrameLoaderClient
1714 * We might want to change QWebNetworkRequest a bit
1717 * Api/qwebnetworkinterface.cpp:
1718 (QWebNetworkRequestPrivate::init):
1720 2007-11-07 Lars Knoll <lars@trolltech.com>
1724 remove two notImplemented() warnings, as I believe we don't
1725 have to implement these methods. Add some (commented out)
1726 debug code in one place.
1728 * WebCoreSupport/EditorClientQt.cpp:
1729 (WebCore::EditorClientQt::respondToChangedSelection):
1730 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1732 2007-11-05 Tristan O'Tierney <tristan@apple.com>
1734 Reviewed by Darin Adler.
1736 * WebCoreSupport/ChromeClientQt.cpp:
1737 (WebCore::ChromeClientQt::createWindow):
1738 * WebCoreSupport/ChromeClientQt.h:
1739 Revised to use new WebCore ChromeClient createWindow API.
1741 2007-10-31 Lars Knoll <lars@trolltech.com>
1745 fix most of the issues I found with Clipboard and DnD.
1748 (QWebPage::dragLeaveEvent):
1750 2007-10-31 Lars Knoll <lars@trolltech.com>
1754 QDrag objects need to be created on the heap.
1756 * WebCoreSupport/DragClientQt.cpp:
1757 (WebCore::DragClientQt::startDrag):
1759 2007-10-31 Lars Knoll <lars@trolltech.com>
1763 a dragLeave event is not the same as cancelling a drag.
1767 2007-10-26 Mark Rowe <mrowe@apple.com>
1769 Build fix. Add missing #include of Platform.h.
1771 * Api/qwebhistoryinterface.cpp:
1773 2007-10-25 Holger Freyther <zecke@selfish.org>
1775 Reviewed by Simon Hausmann <hausmann@kde.org>.
1777 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
1778 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
1779 * This is causing some regressions...
1782 * Api/qwebnetworkinterface.cpp:
1783 (QWebNetworkManager::started):
1784 (QWebNetworkInterface::addJob):
1786 2007-10-25 Holger Freyther <zecke@selfish.org>
1788 Reviewed by Simon Hausmann <hausmann@kde.org>.
1790 * 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.
1791 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
1794 * Api/qwebnetworkinterface.cpp:
1795 (QWebNetworkManager::started):
1797 2007-10-25 Holger Freyther <zecke@selfish.org>
1799 Reviewed by Simon Hausmann <hausmann@kde.org>.
1801 * 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.
1802 * Use the error message from Qt. It might or might not be translated.
1805 * Api/qwebnetworkinterface.cpp:
1806 (QWebNetworkJob::errorString):
1807 (QWebNetworkJob::setErrorString):
1808 (QWebNetworkManager::finished):
1809 (QWebNetworkManager::doWork):
1810 (WebCoreHttp::onRequestFinished):
1811 * Api/qwebnetworkinterface.h:
1812 * Api/qwebnetworkinterface_p.h:
1814 2007-10-25 Holger Freyther <zecke@selfish.org>
1816 Reviewed by Simon Hausmann <hausmann@kde.org>.
1818 * 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.
1819 * 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.
1822 * Api/qwebnetworkinterface.cpp:
1823 (QWebNetworkManager::doWork):
1825 2007-10-25 Holger Freyther <zecke@selfish.org>
1827 Reviewed by Simon Hausmann <hausmann@kde.org>.
1829 * No need to initialize values in the QWebNetworkJob c'tor
1830 * 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.
1833 * Api/qwebnetworkinterface.cpp:
1834 (QWebNetworkJob::status):
1835 (QWebNetworkJob::setStatus):
1836 (QWebNetworkManager::started):
1837 (QWebNetworkManager::data):
1838 (QWebNetworkManager::finished):
1839 * Api/qwebnetworkinterface.h:
1840 * Api/qwebnetworkinterface_p.h:
1841 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1843 2007-10-25 Holger Freyther <zecke@selfish.org>
1845 Reviewed by Simon Hausmann <hausmann@kde.org>.
1847 * Consistency: Always name the jobs job.
1850 * Api/qwebnetworkinterface.cpp:
1851 (WebCoreHttp::onReadyRead):
1852 (WebCoreHttp::onRequestFinished):
1853 (WebCoreHttp::onSslErrors):
1854 (WebCoreHttp::onAuthenticationRequired):
1855 (WebCoreHttp::onProxyAuthenticationRequired):
1857 2007-10-25 Holger Freyther <zecke@selfish.org>
1859 Reviewed by Simon Hausmann <hausmann@kde.org>.
1861 * 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.
1862 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
1865 * Api/qwebnetworkinterface.cpp:
1866 (QWebNetworkJob::~QWebNetworkJob):
1867 (QWebNetworkManager::QWebNetworkManager):
1868 (QWebNetworkManager::self):
1869 (QWebNetworkManager::add):
1870 (QWebNetworkManager::started):
1871 (QWebNetworkManager::finished):
1872 (QWebNetworkInterfacePrivate::sendFileData):
1873 (QWebNetworkInterfacePrivate::parseDataUrl):
1874 (QWebNetworkManager::queueStart):
1875 (QWebNetworkManager::queueData):
1876 (QWebNetworkManager::queueFinished):
1877 (QWebNetworkManager::doScheduleWork):
1878 (QWebNetworkManager::doWork):
1879 (gCleanupInterface):
1880 (QWebNetworkInterface::setDefaultInterface):
1881 (QWebNetworkInterface::defaultInterface):
1882 (QWebNetworkInterface::QWebNetworkInterface):
1883 (QWebNetworkInterface::started):
1884 (QWebNetworkInterface::data):
1885 (QWebNetworkInterface::finished):
1886 (WebCoreHttp::scheduleNextRequest):
1887 (WebCoreHttp::onResponseHeaderReceived):
1888 (WebCoreHttp::onReadyRead):
1889 (WebCoreHttp::onRequestFinished):
1890 (WebCoreHttp::cancel):
1891 * Api/qwebnetworkinterface.h:
1892 * Api/qwebnetworkinterface_p.h:
1893 (QWebNetworkManager::):
1894 (QWebNetworkManager::JobData::JobData):
1895 (QWebNetworkManager::JobFinished::JobFinished):
1897 2007-10-25 Holger Freyther <zecke@selfish.org>
1899 Reviewed by Simon Hausmann <hausmann@kde.org>.
1901 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
1902 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
1903 * We pass the char-decoding.html test now
1906 * Api/qwebnetworkinterface.cpp:
1907 (decodePercentEncoding):
1908 (QWebNetworkInterfacePrivate::parseDataUrl):
1910 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
1912 Reviewed by Lars Knoll <lars@trolltech.com>.
1914 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
1917 * WebCoreSupport/EditorClientQt.cpp:
1918 (WebCore::EditorClientQt::handleKeypress):
1920 2007-10-24 Lars Knoll <lars@trolltech.com>
1924 remove some notImplemented() warnings.
1926 * WebCoreSupport/EditorClientQt.cpp:
1927 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1928 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1929 (WebCore::EditorClientQt::respondToChangedSelection):
1931 2007-10-24 Lars Knoll <lars@trolltech.com>
1935 allow paste from DOM so we pass more test cases.
1938 (QWebPage::setSettings):
1940 2007-10-24 Lars Knoll <lars@trolltech.com>
1944 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
1947 (QWebPage::keyPressEvent):
1948 (QWebPage::keyReleaseEvent):
1950 2007-10-24 Lars Knoll <lars@trolltech.com>
1954 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1956 * WebCoreSupport/EditorClientQt.cpp:
1957 (qt_dump_editing_callbacks):
1960 2007-10-24 Lars Knoll <lars@trolltech.com>
1964 implemented support for most editing shortcuts to make contentEditable usable.
1967 (QWebPage::keyPressEvent):
1969 2007-10-24 Lars Knoll <lars@trolltech.com>
1973 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1976 (QWebPage::focusInEvent):
1978 2007-10-24 Lars Knoll <lars@trolltech.com>
1982 Implement support for testing editing.
1984 * WebCoreSupport/EditorClientQt.cpp:
1985 (qt_dump_editing_callbacks):
1986 (qt_dump_set_accepts_editing):
1989 (WebCore::EditorClientQt::shouldDeleteRange):
1990 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1991 (WebCore::EditorClientQt::shouldBeginEditing):
1992 (WebCore::EditorClientQt::shouldEndEditing):
1993 (WebCore::EditorClientQt::shouldInsertText):
1994 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1995 (WebCore::EditorClientQt::shouldApplyStyle):
1996 (WebCore::EditorClientQt::didBeginEditing):
1997 (WebCore::EditorClientQt::respondToChangedContents):
1998 (WebCore::EditorClientQt::respondToChangedSelection):
1999 (WebCore::EditorClientQt::didEndEditing):
2000 (WebCore::EditorClientQt::shouldInsertNode):
2002 2007-10-19 Alp Toker <alp@atoker.com>
2006 GTK+ build fix enabling the new local database storage feature.
2007 There is also a prospective Qt build fix.
2009 * WebCoreSupport/ChromeClientQt.cpp:
2010 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2011 * WebCoreSupport/ChromeClientQt.h:
2013 2007-10-19 Simon Hausmann <hausmann@kde.org>
2015 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2016 that config.h is included before wtf/MathExtras. The former defines
2017 the MSVC defines for rand_s.
2019 * WebCoreSupport/FrameLoaderClientQt.cpp:
2021 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2025 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2027 * Api/qwebframe.cpp:
2030 2007-10-10 Alice Liu <alice.liu@apple.com>
2032 Reviewed by Geoff Garen.
2034 changes to keep the build from breaking
2036 * WebCoreSupport/FrameLoaderClientQt.cpp:
2037 (WebCore::FrameLoaderClientQt::createFrame):
2038 * WebCoreSupport/FrameLoaderClientQt.h:
2040 2007-10-09 Lars Knoll <lars@trolltech.com>
2044 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2047 (QWebPage::setSettings):
2049 2007-10-09 Lars Knoll <lars@trolltech.com>
2053 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2055 * Api/qwebnetworkinterface.cpp:
2056 (QWebNetworkManager::add):
2057 (QWebNetworkManager::cancel):
2058 (QWebNetworkManager::started):
2059 (QWebNetworkManager::data):
2060 (QWebNetworkInterfacePrivate::parseDataUrl):
2062 2007-10-09 Lars Knoll <lars@trolltech.com>
2066 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.
2069 (QWebPagePrivate::createMainFrame):
2070 (QWebPage::createFrame):
2071 * WebCoreSupport/FrameLoaderClientQt.cpp:
2072 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2073 * WebCoreSupport/FrameLoaderClientQt.h:
2075 2007-10-09 Lars Knoll <lars@trolltech.com>
2079 add a clear() method to QWebPageHistory.
2081 * Api/qwebpagehistory.cpp:
2082 (QWebPageHistory::clear):
2083 (QWebPageHistory::itemAtIndex):
2084 * Api/qwebpagehistory.h:
2086 2007-10-05 Lars Knoll <lars@trolltech.com>
2088 add proper error messages to the FrameLoaderClient.
2089 Implement ChromeClientQt::closeWindowSoon and
2090 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
2091 Some fixes in DRT to make it work correctly with multiple windows.
2096 * Api/qwebnetworkinterface.cpp:
2097 (QWebNetworkManager::cancel):
2098 (QWebNetworkInterface::addJob):
2099 * WebCoreSupport/ChromeClientQt.cpp:
2100 (WebCore::ChromeClientQt::closeWindowSoon):
2101 * WebCoreSupport/FrameLoaderClientQt.cpp:
2102 (WebCore::FrameLoaderClientQt::cancelledError):
2104 (WebCore::FrameLoaderClientQt::blockedError):
2105 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2106 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2107 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2108 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2110 2007-10-03 Lars Knoll <lars@trolltech.com>
2112 Signed off by Olliej.
2114 move WebKitQt to WebKit/qt for consistency with the other ports.
2116 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
2117 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
2118 (QCookieJarPrivate::QCookieJarPrivate):
2120 (QCookieJar::QCookieJar):
2121 (QCookieJar::~QCookieJar):
2122 (QCookieJar::setCookies):
2123 (QCookieJar::cookies):
2124 (QCookieJar::isEnabled):
2125 (QCookieJar::setEnabled):
2127 (QCookieJar::setCookieJar):
2128 (QCookieJar::cookieJar):
2129 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
2130 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
2131 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
2132 (QWebFramePrivate::init):
2133 (QWebFramePrivate::parentFrame):
2134 (QWebFramePrivate::horizontalScrollBar):
2135 (QWebFramePrivate::verticalScrollBar):
2136 (QWebFrame::QWebFrame):
2137 (QWebFrame::~QWebFrame):
2138 (QWebFrame::addToJSWindowObject):
2139 (QWebFrame::markup):
2140 (QWebFrame::innerText):
2141 (QWebFrame::renderTreeDump):
2145 (QWebFrame::selectedText):
2146 (QWebFrame::childFrames):
2147 (QWebFrame::verticalScrollBarPolicy):
2148 (QWebFrame::setVerticalScrollBarPolicy):
2149 (QWebFrame::horizontalScrollBarPolicy):
2150 (QWebFrame::setHorizontalScrollBarPolicy):
2151 (QWebFrame::render):
2152 (QWebFrame::layout):
2154 (QWebFrame::geometry):
2155 (QWebFrame::evaluateJavaScript):
2156 (QWebFrame::mouseMoveEvent):
2157 (QWebFrame::mousePressEvent):
2158 (QWebFrame::mouseDoubleClickEvent):
2159 (QWebFrame::mouseReleaseEvent):
2160 (QWebFrame::wheelEvent):
2161 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
2162 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
2163 (QWebFramePrivate::QWebFramePrivate):
2164 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
2165 (WebCore::historyContains):
2166 (gCleanupInterface):
2167 (QWebHistoryInterface::setDefaultInterface):
2168 (QWebHistoryInterface::defaultInterface):
2169 (QWebHistoryInterface::QWebHistoryInterface):
2170 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
2171 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
2172 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
2175 (QWebNetworkRequestPrivate::init):
2176 (QWebNetworkRequestPrivate::setURL):
2177 (QWebNetworkRequest::QWebNetworkRequest):
2178 (QWebNetworkRequest::operator=):
2179 (QWebNetworkRequest::~QWebNetworkRequest):
2180 (QWebNetworkRequest::url):
2181 (QWebNetworkRequest::setUrl):
2182 (QWebNetworkRequest::httpHeader):
2183 (QWebNetworkRequest::setHttpHeader):
2184 (QWebNetworkRequest::httpHeaderField):
2185 (QWebNetworkRequest::setHttpHeaderField):
2186 (QWebNetworkRequest::postData):
2187 (QWebNetworkRequest::setPostData):
2188 (QWebNetworkJob::QWebNetworkJob):
2189 (QWebNetworkJob::~QWebNetworkJob):
2190 (QWebNetworkJob::url):
2191 (QWebNetworkJob::postData):
2192 (QWebNetworkJob::httpHeader):
2193 (QWebNetworkJob::request):
2194 (QWebNetworkJob::response):
2195 (QWebNetworkJob::setResponse):
2196 (QWebNetworkJob::cancelled):
2197 (QWebNetworkJob::ref):
2198 (QWebNetworkJob::deref):
2199 (QWebNetworkJob::networkInterface):
2200 (QWebNetworkJob::frame):
2201 (QWebNetworkManager::QWebNetworkManager):
2202 (QWebNetworkManager::self):
2203 (QWebNetworkManager::add):
2204 (QWebNetworkManager::cancel):
2205 (QWebNetworkManager::started):
2206 (QWebNetworkManager::data):
2207 (QWebNetworkManager::finished):
2208 (QWebNetworkManager::addHttpJob):
2209 (QWebNetworkManager::cancelHttpJob):
2210 (QWebNetworkManager::httpConnectionClosed):
2211 (QWebNetworkInterfacePrivate::sendFileData):
2212 (QWebNetworkInterfacePrivate::parseDataUrl):
2213 (gCleanupInterface):
2214 (QWebNetworkInterface::setDefaultInterface):
2215 (QWebNetworkInterface::defaultInterface):
2216 (QWebNetworkInterface::QWebNetworkInterface):
2217 (QWebNetworkInterface::~QWebNetworkInterface):
2218 (QWebNetworkInterface::addJob):
2219 (QWebNetworkInterface::cancelJob):
2220 (WebCoreHttp::WebCoreHttp):
2221 (WebCoreHttp::~WebCoreHttp):
2222 (WebCoreHttp::request):
2223 (WebCoreHttp::scheduleNextRequest):
2224 (WebCoreHttp::getConnection):
2225 (WebCoreHttp::onResponseHeaderReceived):
2226 (WebCoreHttp::onReadyRead):
2227 (WebCoreHttp::onRequestFinished):
2228 (WebCoreHttp::onDone):
2229 (WebCoreHttp::onStateChanged):
2230 (WebCoreHttp::cancel):
2231 (WebCoreHttp::onSslErrors):
2232 (WebCoreHttp::onAuthenticationRequired):
2233 (WebCoreHttp::onProxyAuthenticationRequired):
2234 (HostInfo::HostInfo):
2235 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
2236 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
2237 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2238 (WebCore::HostInfo::HostInfo):
2239 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2240 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
2241 (QWebFactoryLoader::QWebFactoryLoader):
2242 (QWebFactoryLoader::self):
2243 (QWebFactoryLoader::descriptionForName):
2244 (QWebFactoryLoader::mimetypesForName):
2245 (QWebFactoryLoader::mimeTypeForExtension):
2246 (QWebFactoryLoader::extensions):
2247 (QWebFactoryLoader::nameForMimetype):
2248 (QWebFactoryLoader::create):
2249 (QWebObjectPlugin::QWebObjectPlugin):
2250 (QWebObjectPlugin::~QWebObjectPlugin):
2251 (QWebObjectPlugin::descriptionForKey):
2252 (QWebObjectPlugin::mimetypesForKey):
2253 (QWebObjectPlugin::extensionsForMimetype):
2254 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
2255 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
2256 (QWebFactoryLoader::names):
2257 (QWebFactoryLoader::supportsMimeType):
2258 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
2259 (QWebObjectPluginConnector::QWebObjectPluginConnector):
2260 (QWebObjectPluginConnector::frame):
2261 (QWebObjectPluginConnector::pluginParentWidget):
2262 (QWebObjectPluginConnector::requestUrl):
2263 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
2264 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
2265 (QWebPagePrivate::QWebPagePrivate):
2266 (QWebPagePrivate::~QWebPagePrivate):
2267 (QWebPagePrivate::navigationRequested):
2268 (QWebPagePrivate::createMainFrame):
2269 (QWebPage::QWebPage):
2270 (QWebPage::~QWebPage):
2271 (QWebPage::createFrame):
2275 (QWebPage::mainFrame):
2276 (QWebPage::sizeHint):
2278 (QWebPage::history):
2280 (QWebPage::goForward):
2281 (QWebPage::goToHistoryItem):
2282 (QWebPage::javaScriptConsoleMessage):
2283 (QWebPage::javaScriptAlert):
2284 (QWebPage::javaScriptConfirm):
2285 (QWebPage::javaScriptPrompt):
2286 (QWebPage::createWindow):
2287 (QWebPage::createModalDialog):
2288 (QWebPage::createPlugin):
2289 (QWebPage::navigationRequested):
2290 (QWebPage::setWindowGeometry):
2292 (QWebPage::canCopy):
2293 (QWebPage::canPaste):
2297 (QWebPage::isModified):
2298 (QWebPage::undoStack):
2299 (dropActionToDragOp):
2300 (dragOpToDropAction):
2301 (QWebPage::resizeEvent):
2302 (QWebPage::paintEvent):
2303 (QWebPage::mouseMoveEvent):
2304 (QWebPage::mousePressEvent):
2305 (QWebPage::mouseDoubleClickEvent):
2306 (QWebPage::mouseReleaseEvent):
2307 (QWebPage::wheelEvent):
2308 (QWebPage::keyPressEvent):
2309 (QWebPage::keyReleaseEvent):
2310 (QWebPage::focusInEvent):
2311 (QWebPage::focusOutEvent):
2312 (QWebPage::focusNextPrevChild):
2313 (QWebPage::dragEnterEvent):
2314 (QWebPage::dragLeaveEvent):
2315 (QWebPage::dragMoveEvent):
2316 (QWebPage::dropEvent):
2317 (QWebPage::setNetworkInterface):
2318 (QWebPage::networkInterface):
2320 (QWebPage::setSettings):
2321 (QWebPage::settings):
2322 (QWebPage::chooseFile):
2323 (QWebPage::setNetworkProxy):
2324 (QWebPage::networkProxy):
2325 (QWebPage::userAgentStringForUrl):
2326 (QWebPage::onLoadProgressChanged):
2327 (QWebPage::totalBytes):
2328 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
2329 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
2330 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
2331 (QWebHistoryItem::QWebHistoryItem):
2332 (QWebHistoryItem::operator=):
2333 (QWebHistoryItem::~QWebHistoryItem):
2334 (QWebHistoryItem::originalUrl):
2335 (QWebHistoryItem::currentUrl):
2336 (QWebHistoryItem::title):
2337 (QWebHistoryItem::lastVisited):
2338 (QWebHistoryItem::icon):
2339 (QWebPageHistory::QWebPageHistory):
2340 (QWebPageHistory::itemAtIndex):
2341 (QWebPageHistory::operator=):
2342 (QWebPageHistory::~QWebPageHistory):
2343 (QWebPageHistory::items):
2344 (QWebPageHistory::backItems):
2345 (QWebPageHistory::forwardItems):
2346 (QWebPageHistory::canGoBack):
2347 (QWebPageHistory::canGoForward):
2348 (QWebPageHistory::goBack):
2349 (QWebPageHistory::goForward):
2350 (QWebPageHistory::goToItem):
2351 (QWebPageHistory::backItem):
2352 (QWebPageHistory::currentItem):
2353 (QWebPageHistory::forwardItem):
2354 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
2355 (QExplicitlySharedDataPointer::operator*):
2356 (QExplicitlySharedDataPointer::operator->):
2357 (QExplicitlySharedDataPointer::operator T *):
2358 (QExplicitlySharedDataPointer::operator const T *):
2359 (QExplicitlySharedDataPointer::data):
2360 (QExplicitlySharedDataPointer::constData):
2361 (QExplicitlySharedDataPointer::operator==):
2362 (QExplicitlySharedDataPointer::operator!=):
2363 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
2364 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
2365 (QExplicitlySharedDataPointer::operator=):
2366 (QExplicitlySharedDataPointer::operator!):
2367 (::QExplicitlySharedDataPointer):
2368 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
2369 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
2370 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
2371 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
2372 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
2373 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
2374 (QWebSettingsPrivate::QWebSettingsPrivate):
2375 (QWebSettings::QWebSettings):
2376 (QWebSettings::~QWebSettings):
2377 (QWebSettings::setMinimumFontSize):
2378 (QWebSettings::minimumFontSize):
2379 (QWebSettings::setMinimumLogicalFontSize):
2380 (QWebSettings::minimumLogicalFontSize):
2381 (QWebSettings::setDefaultFontSize):
2382 (QWebSettings::defaultFontSize):
2383 (QWebSettings::setDefaultFixedFontSize):
2384 (QWebSettings::defaultFixedFontSize):
2385 (QWebSettings::setUserStyleSheetLocation):
2386 (QWebSettings::userStyleSheetLocation):
2387 (QWebSettings::setIconDatabaseEnabled):
2388 (QWebSettings::iconDatabaseEnabled):
2389 (QWebSettings::setWebGraphic):
2390 (QWebSettings::webGraphic):
2391 (QWebSettings::operator=):
2392 (QWebSettings::setGlobal):
2393 (QWebSettings::global):
2394 (QWebSettings::setFontFamily):
2395 (QWebSettings::fontFamily):
2396 (QWebSettings::setAttribute):
2397 (QWebSettings::testAttribute):
2398 (loadResourcePixmap):
2399 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
2400 * ChangeLog: Renamed from WebKitQt/ChangeLog.
2401 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
2402 (IcoHeader::operator >>):
2403 (IcoHeader::BMP_INFOHDR::):
2404 (IcoHeader::operator<<):
2405 (IcoHeader::LessDifference::LessDifference):
2406 (IcoHeader::LessDifference::operator ()):
2407 (IcoHeader::loadFromDIB):
2408 (ICOHandler::ICOHandler):
2409 (ICOHandler::canRead):
2411 (ICOHandler::write):
2414 (ICOPlugin::capabilities):
2415 (ICOPlugin::create):
2416 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
2417 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
2418 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
2419 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
2420 (HoverLabel::HoverLabel):
2421 (HoverLabel::setHoverLink):
2422 (HoverLabel::sizeForFont):
2423 (HoverLabel::sizeHint):
2424 (HoverLabel::updateSize):
2425 (HoverLabel::resetAnimation):
2426 (HoverLabel::paintEvent):
2427 (HoverLabel::interpolate):
2428 (ClearButton::ClearButton):
2429 (ClearButton::paintEvent):
2430 (SearchEdit::SearchEdit):
2431 (SearchEdit::~SearchEdit):
2432 (SearchEdit::paintEvent):
2433 (SearchEdit::resizeEvent):
2434 (SearchEdit::moveEvent):
2435 (MainWindow::MainWindow):
2436 (MainWindow::changeLocation):
2437 (MainWindow::loadFinished):
2438 (MainWindow::showLinkHover):
2439 (MainWindow::resizeEvent):
2441 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
2442 (WebCore::ChromeClientQt::ChromeClientQt):
2443 (WebCore::ChromeClientQt::~ChromeClientQt):
2444 (WebCore::ChromeClientQt::setWindowRect):
2445 (WebCore::ChromeClientQt::windowRect):
2446 (WebCore::ChromeClientQt::pageRect):
2447 (WebCore::ChromeClientQt::scaleFactor):
2448 (WebCore::ChromeClientQt::focus):
2449 (WebCore::ChromeClientQt::unfocus):
2450 (WebCore::ChromeClientQt::canTakeFocus):
2451 (WebCore::ChromeClientQt::takeFocus):
2452 (WebCore::ChromeClientQt::createWindow):
2453 (WebCore::ChromeClientQt::createModalDialog):
2454 (WebCore::ChromeClientQt::show):
2455 (WebCore::ChromeClientQt::canRunModal):
2456 (WebCore::ChromeClientQt::runModal):
2457 (WebCore::ChromeClientQt::setToolbarsVisible):
2458 (WebCore::ChromeClientQt::toolbarsVisible):
2459 (WebCore::ChromeClientQt::setStatusbarVisible):
2460 (WebCore::ChromeClientQt::statusbarVisible):
2461 (WebCore::ChromeClientQt::setScrollbarsVisible):
2462 (WebCore::ChromeClientQt::scrollbarsVisible):
2463 (WebCore::ChromeClientQt::setMenubarVisible):
2464 (WebCore::ChromeClientQt::menubarVisible):
2465 (WebCore::ChromeClientQt::setResizable):
2466 (WebCore::ChromeClientQt::addMessageToConsole):
2467 (WebCore::ChromeClientQt::chromeDestroyed):
2468 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2469 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2470 (WebCore::ChromeClientQt::closeWindowSoon):
2471 (WebCore::ChromeClientQt::runJavaScriptAlert):
2472 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2473 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2474 (WebCore::ChromeClientQt::setStatusbarText):
2475 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
2476 (WebCore::ChromeClientQt::tabsToLinks):
2477 (WebCore::ChromeClientQt::windowResizerRect):
2478 (WebCore::ChromeClientQt::addToDirtyRegion):
2479 (WebCore::ChromeClientQt::scrollBackingStore):
2480 (WebCore::ChromeClientQt::updateBackingStore):
2481 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2482 (WebCore::ChromeClientQt::setToolTip):
2483 (WebCore::ChromeClientQt::print):
2484 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
2485 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
2486 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
2487 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2488 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
2489 (WebCore::ContextMenuClientQt::downloadURL):
2490 (WebCore::ContextMenuClientQt::lookUpInDictionary):
2491 (WebCore::ContextMenuClientQt::speak):
2492 (WebCore::ContextMenuClientQt::stopSpeaking):
2493 (WebCore::ContextMenuClientQt::searchWithGoogle):
2494 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
2495 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
2496 (WebCore::DragClientQt::actionMaskForDrag):
2497 (WebCore::DragClientQt::willPerformDragDestinationAction):
2498 (WebCore::DragClientQt::dragControllerDestroyed):
2499 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
2500 (WebCore::DragClientQt::willPerformDragSourceAction):
2501 (WebCore::DragClientQt::startDrag):
2502 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
2503 (WebCore::DragClientQt::DragClientQt):
2504 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
2505 (EditCommandQt::EditCommandQt):
2506 (EditCommandQt::~EditCommandQt):
2507 (EditCommandQt::redo):
2508 (EditCommandQt::undo):
2509 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
2510 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
2511 (WebCore::EditorClientQt::shouldDeleteRange):
2512 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2513 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2514 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2515 (WebCore::EditorClientQt::spellCheckerDocumentTag):
2516 (WebCore::EditorClientQt::shouldBeginEditing):
2517 (WebCore::EditorClientQt::shouldEndEditing):
2518 (WebCore::EditorClientQt::shouldInsertText):
2519 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2520 (WebCore::EditorClientQt::shouldApplyStyle):
2521 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2522 (WebCore::EditorClientQt::didBeginEditing):
2523 (WebCore::EditorClientQt::respondToChangedContents):
2524 (WebCore::EditorClientQt::respondToChangedSelection):
2525 (WebCore::EditorClientQt::didEndEditing):
2526 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2527 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
2528 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
2529 (WebCore::EditorClientQt::isEditable):
2530 (WebCore::EditorClientQt::registerCommandForUndo):
2531 (WebCore::EditorClientQt::registerCommandForRedo):
2532 (WebCore::EditorClientQt::clearUndoRedoOperations):
2533 (WebCore::EditorClientQt::canUndo):
2534 (WebCore::EditorClientQt::canRedo):
2535 (WebCore::EditorClientQt::undo):
2536 (WebCore::EditorClientQt::redo):
2537 (WebCore::EditorClientQt::shouldInsertNode):
2538 (WebCore::EditorClientQt::pageDestroyed):
2539 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
2540 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
2541 (WebCore::EditorClientQt::toggleGrammarChecking):
2542 (WebCore::EditorClientQt::handleKeypress):
2543 (WebCore::EditorClientQt::handleInputMethodKeypress):
2544 (WebCore::EditorClientQt::EditorClientQt):
2545 (WebCore::EditorClientQt::textFieldDidBeginEditing):
2546 (WebCore::EditorClientQt::textFieldDidEndEditing):
2547 (WebCore::EditorClientQt::textDidChangeInTextField):
2548 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
2549 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
2550 (WebCore::EditorClientQt::textDidChangeInTextArea):
2551 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
2552 (WebCore::EditorClientQt::learnWord):
2553 (WebCore::EditorClientQt::checkSpellingOfString):
2554 (WebCore::EditorClientQt::checkGrammarOfString):
2555 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
2556 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
2557 (WebCore::EditorClientQt::showSpellingUI):
2558 (WebCore::EditorClientQt::spellingUIIsShowing):
2559 (WebCore::EditorClientQt::getGuessesForWord):
2560 (WebCore::EditorClientQt::isEditing):
2561 (WebCore::EditorClientQt::setInputMethodState):
2562 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
2563 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
2564 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2565 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
2566 (WebCore::FrameLoaderClientQt::setFrame):
2567 (WebCore::FrameLoaderClientQt::webFrame):
2568 (WebCore::FrameLoaderClientQt::callPolicyFunction):
2569 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
2570 (WebCore::FrameLoaderClientQt::hasWebView):
2571 (WebCore::FrameLoaderClientQt::hasFrameView):
2572 (WebCore::FrameLoaderClientQt::hasBackForwardList):
2573 (WebCore::FrameLoaderClientQt::resetBackForwardList):
2574 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
2575 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
2576 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
2577 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
2578 (WebCore::FrameLoaderClientQt::makeDocumentView):
2579 (WebCore::FrameLoaderClientQt::makeRepresentation):
2580 (WebCore::FrameLoaderClientQt::forceLayout):
2581 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
2582 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
2583 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
2584 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
2585 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
2586 (WebCore::FrameLoaderClientQt::willCloseDocument):
2587 (WebCore::FrameLoaderClientQt::detachedFromParent2):
2588 (WebCore::FrameLoaderClientQt::detachedFromParent3):
2589 (WebCore::FrameLoaderClientQt::detachedFromParent4):
2590 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
2591 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2592 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
2593 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
2594 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
2595 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
2596 (WebCore::FrameLoaderClientQt::dispatchWillClose):
2597 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2598 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2599 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2600 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2601 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2602 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2603 (WebCore::FrameLoaderClientQt::dispatchShow):
2604 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
2605 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
2606 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
2607 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
2608 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
2609 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2610 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
2611 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2612 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2613 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2614 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2615 (WebCore::FrameLoaderClientQt::willChangeTitle):
2616 (WebCore::FrameLoaderClientQt::didChangeTitle):
2617 (WebCore::FrameLoaderClientQt::finishedLoading):
2618 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
2619 (WebCore::FrameLoaderClientQt::setDefersLoading):
2620 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
2621 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
2622 (WebCore::FrameLoaderClientQt::clearArchivedResources):
2623 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2624 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2625 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
2626 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
2627 (WebCore::FrameLoaderClientQt::restoreViewState):
2628 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
2629 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
2630 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
2631 (WebCore::FrameLoaderClientQt::didFinishLoad):
2632 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
2633 (WebCore::FrameLoaderClientQt::setTitle):
2634 (WebCore::FrameLoaderClientQt::userAgent):
2635 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2636 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
2637 (WebCore::FrameLoaderClientQt::canHandleRequest):
2638 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2639 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2640 (WebCore::FrameLoaderClientQt::registerForIconNotification):
2641 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
2642 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
2643 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
2644 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
2645 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
2646 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
2647 (WebCore::FrameLoaderClientQt::canCachePage):
2648 (WebCore::FrameLoaderClientQt::setMainDocumentError):
2649 (WebCore::FrameLoaderClientQt::committedLoad):
2650 (WebCore::FrameLoaderClientQt::cancelledError):
2651 (WebCore::FrameLoaderClientQt::blockedError):
2652 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2653 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2654 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2655 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
2656 (WebCore::FrameLoaderClientQt::shouldFallBack):
2657 (WebCore::FrameLoaderClientQt::createDocumentLoader):
2658 (WebCore::FrameLoaderClientQt::download):
2659 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
2660 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2661 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
2662 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
2663 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
2664 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
2665 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
2666 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2667 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
2668 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2669 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2670 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2671 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
2672 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2673 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2674 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2675 (WebCore::FrameLoaderClientQt::startDownload):
2676 (WebCore::FrameLoaderClientQt::willUseArchive):
2677 (WebCore::FrameLoaderClientQt::createFrame):
2678 (WebCore::FrameLoaderClientQt::objectContentType):
2680 (WebCore::FrameLoaderClientQt::createPlugin):
2681 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2682 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
2683 (WebCore::FrameLoaderClientQt::overrideMediaType):
2684 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
2685 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
2686 (WebCore::InspectorClientQt::inspectorDestroyed):
2687 (WebCore::InspectorClientQt::createPage):
2688 (WebCore::InspectorClientQt::showWindow):
2689 (WebCore::InspectorClientQt::closeWindow):
2690 (WebCore::InspectorClientQt::attachWindow):
2691 (WebCore::InspectorClientQt::detachWindow):
2692 (WebCore::InspectorClientQt::highlight):
2693 (WebCore::InspectorClientQt::hideHighlight):
2694 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
2695 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
2696 (WebKitFactory::WebKitFactory):
2697 (WebKitFactory::~WebKitFactory):
2698 (WebKitFactory::createPartObject):
2699 (WebKitFactory::instance):
2700 (WebKitFactory::ref):
2701 (WebKitFactory::deref):
2702 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
2703 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
2704 (WebKitPart::WebKitPart):
2705 (WebKitPart::~WebKitPart):
2706 (WebKitPart::openFile):
2707 (WebKitPart::openUrl):
2708 (WebKitPart::closeUrl):
2709 (WebKitPart::parentPart):
2710 (WebKitPart::frame):
2711 (WebKitPart::initView):
2712 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
2713 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
2715 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
2716 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
2717 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
2718 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
2719 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
2720 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
2721 (WebKitPartClient::WebKitPartClient):
2722 (WebKitPartClient::~WebKitPartClient):
2723 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
2724 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
2725 (WebKitPartInterface::WebKitPartInterface):
2726 (WebKitPartInterface::~WebKitPartInterface):
2727 (WebKitPartInterface::url):
2728 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
2729 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
2731 2007-10-02 Adam Treat <treat@kde.org>
2733 Reviewed by Eric Seidel.
2735 Open the requested url on the newly created window.
2736 Implement createModalDialog and provide new API for this.
2737 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
2740 (QWebPage::createModalDialog):
2742 * WebCoreSupport/ChromeClientQt.cpp:
2743 (WebCore::ChromeClientQt::createWindow):
2744 (WebCore::ChromeClientQt::createModalDialog):
2746 2007-10-02 Lars Knoll <lars@trolltech.com>
2750 Add API to retrieve the frame name from QWebFrame.
2751 Implement support for DRT::dumpChildrenAsText.
2753 * Api/qwebframe.cpp:
2757 2007-10-02 Lars Knoll <lars@trolltech.com>
2761 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2763 * Api/qwebnetworkinterface.cpp:
2764 (QWebNetworkManager::started):
2765 (QWebNetworkManager::data):
2766 (QWebNetworkManager::finished):
2767 (QWebNetworkInterfacePrivate::sendFileData):
2768 (QWebNetworkInterfacePrivate::parseDataUrl):
2769 (WebCoreHttp::scheduleNextRequest):
2770 (WebCoreHttp::onSslErrors):
2771 * QtLauncher/main.cpp:
2774 2007-10-01 Lars Knoll <lars@trolltech.com>
2778 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
2780 * WebCoreSupport/FrameLoaderClientQt.cpp:
2781 (WebCore::FrameLoaderClientQt::makeDocumentView):
2782 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2783 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2784 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2785 (WebCore::FrameLoaderClientQt::objectContentType):
2786 (WebCore::FrameLoaderClientQt::createPlugin):
2788 2007-09-30 George Staikos <staikos@kde.org>
2790 Qt build fix (OS X specific).
2792 * QtLauncher/QtLauncher.pro:
2794 2007-09-26 Mark Rowe <mrowe@apple.com>
2798 * WebCoreSupport/FrameLoaderClientQt.cpp:
2799 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
2801 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2805 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2806 LGPL'ed files contain incorrect FSF address
2808 * Api/qcookiejar.cpp:
2810 * Api/qwebframe.cpp:
2812 * Api/qwebframe_p.h:
2813 * Api/qwebhistoryinterface.cpp:
2814 * Api/qwebhistoryinterface.h:
2815 * Api/qwebkitglobal.h:
2816 * Api/qwebnetworkinterface.cpp:
2817 * Api/qwebnetworkinterface.h:
2818 * Api/qwebnetworkinterface_p.h:
2819 * Api/qwebobjectplugin.cpp:
2820 * Api/qwebobjectplugin.h:
2821 * Api/qwebobjectpluginconnector.cpp:
2822 * Api/qwebobjectpluginconnector.h:
2826 * Api/qwebpagehistory.cpp:
2827 * Api/qwebpagehistory.h:
2828 * Api/qwebsettings.cpp:
2829 * Api/qwebsettings.h:
2830 * WebCoreSupport/EditCommandQt.cpp:
2831 * WebCoreSupport/EditCommandQt.h:
2833 2007-09-25 Adam Treat <treat@kde.org>
2835 Reviewed by Simon and Lars.
2837 Modifies the addToJSWindowObject to bind js objects using the built-in
2838 kjs_window class. Make sure to protect the created runtime object from
2841 Adds a signal to QWebFrame to notify clients of the beginning of a
2842 provisional load. DRT needs this.
2844 * Api/qwebframe.cpp:
2845 (QWebFrame::addToJSWindowObject):
2847 * WebCoreSupport/FrameLoaderClientQt.cpp:
2848 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2850 2007-09-10 Qing Zhao <qing@staikos.net>
2852 Reviewed by George Staikos.
2854 Don't re-encode urls, resulting in double encoding. Fixes login to
2857 * Api/qwebnetworkinterface.cpp:
2858 (QWebNetworkRequestPrivate::init):
2859 (QWebNetworkManager::started):
2861 2007-09-08 Mark Rowe <mrowe@apple.com>
2863 Qt build fix. Move stub method implementations to the right class.
2865 * WebCoreSupport/FrameLoaderClientQt.cpp:
2866 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2868 2007-09-08 Brady Eidson <beidson@apple.com>
2870 YABF (Yet Another Build Fix)
2872 * Api/qwebsettings.cpp:
2873 (QWebSettings::iconDatabaseEnabled):
2875 2007-09-08 Brady Eidson <beidson@apple.com>
2879 * WebCoreSupport/FrameLoaderClientQt.cpp:
2880 (WebCore::FrameLoaderClient::registerForIconNotification):
2881 * WebCoreSupport/FrameLoaderClientQt.h:
2883 2007-09-08 Brady Eidson <beidson@apple.com>
2887 * WebCoreSupport/FrameLoaderClientQt.cpp:
2888 (WebCore::FrameLoaderClient::registerForIconNotification):
2889 * WebCoreSupport/FrameLoaderClientQt.h:
2891 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2893 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2895 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2896 memory cache, or a very tiny one
2898 Keep the Qt build working with an empty stub.
2900 * WebCoreSupport/FrameLoaderClientQt.cpp:
2901 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2902 * WebCoreSupport/FrameLoaderClientQt.h:
2904 2007-09-07 George Staikos <staikos@kde.org>
2909 (QWebPage::onLoadProgressChanged):
2911 2007-09-07 Qing Zhao <qing@staikos.net>
2913 Reviewed by Anders and George.
2915 Export page size and load progress in bytes.
2918 (QWebPage::QWebPage):
2919 (QWebPage::onLoadProgressChanged):
2920 (QWebPage::totalBytes):
2921 (QWebPage::bytesReceived):
2925 2007-09-06 George Staikos <staikos@kde.org>
2929 Make popup windows work again.
2931 * WebCoreSupport/FrameLoaderClientQt.cpp:
2932 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2934 2007-09-01 Oliver Hunt <oliver@apple.com>
2938 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2940 EditorClient::setInputMethodState stub
2942 * WebCoreSupport/EditorClientQt.cpp:
2943 (WebCore::EditorClientQt::setInputMethodState):
2944 * WebCoreSupport/EditorClientQt.h:
2946 2007-08-30 Simon Hausmann <hausmann@kde.org>
2950 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
2953 (QWebPage::keyPressEvent):
2955 2007-08-30 Simon Hausmann <hausmann@kde.org>
2959 When scrolling with the keyboard don't call update() on the entire widget.
2960 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2964 (QWebPage::keyPressEvent):
2966 2007-08-30 Simon Hausmann <hausmann@kde.org>
2970 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2973 (QWebPage::keyPressEvent):
2975 2007-08-29 Simon Hausmann <hausmann@kde.org>
2981 * WebCoreSupport/FrameLoaderClientQt.cpp:
2982 (WebCore::FrameLoaderClientQt::objectContentType):
2984 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2986 Reviewed by George Staikos.
2988 Don't export ICO symbols.
2990 * Plugins/Plugins.pro:
2992 2007-08-19 George Staikos <staikos@kde.org>
2996 * WebCoreSupport/FrameLoaderClientQt.cpp:
2997 (WebCore::FrameLoaderClientQt::createPlugin):
2998 * WebCoreSupport/FrameLoaderClientQt.h:
3000 2007-08-10 Lars Knoll <lars@trolltech.com>
3002 Reviewed and landed by Simon.
3004 Limit the set of properties from the computed style to apply to Qt
3005 plugin widgets, as only a few of them make sense.
3007 * WebCoreSupport/FrameLoaderClientQt.cpp:
3010 2007-08-10 Lars Knoll <lars@trolltech.com>
3014 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
3017 (QWebPage::createPlugin):
3019 * WebCoreSupport/FrameLoaderClientQt.cpp:
3020 (WebCore::FrameLoaderClientQt::objectContentType):
3021 (WebCore::FrameLoaderClientQt::createPlugin):
3023 2007-08-10 Simon Hausmann <hausmann@kde.org>
3027 Added support for network jobs from Qt resources using the qrc protocol.
3029 * Api/qwebnetworkinterface.cpp:
3030 (QWebNetworkInterface::addJob):
3032 2007-08-10 Simon Hausmann <hausmann@kde.org>
3036 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
3037 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
3039 * WebCoreSupport/FrameLoaderClientQt.cpp:
3040 (WebCore::FrameLoaderClientQt::objectContentType):
3042 (WebCore::FrameLoaderClientQt::createPlugin):
3044 2007-08-10 Simon Hausmann <hausmann@kde.org>
3048 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
3049 and fixed widget embedding by setting the right QWidget parent.
3052 (QWebPage::createPlugin):
3054 * WebCoreSupport/FrameLoaderClientQt.cpp:
3055 (WebCore::FrameLoaderClientQt::objectContentType):
3056 (WebCore::FrameLoaderClientQt::createPlugin):
3058 2007-08-02 George Staikos <staikos@kde.org>
3062 Add an interface for the useragent string.
3065 (QWebPage::userAgentStringForUrl):
3067 * WebCoreSupport/FrameLoaderClientQt.cpp:
3068 (WebCore::FrameLoaderClientQt::userAgent):
3070 2007-08-01 Adam Treat <treat@kde.org>
3072 Reviewed by George Staikos.
3074 Add an interface to manage global history for clients
3077 * Api/qwebhistoryinterface.cpp: Added.
3078 (WebCore::historyContains):
3079 (gCleanupInterface):
3080 (QWebHistoryInterface::setDefaultInterface):
3081 (QWebHistoryInterface::defaultInterface):
3082 (QWebHistoryInterface::QWebHistoryInterface):
3083 * Api/qwebhistoryinterface.h: Added.
3085 2007-07-30 Adam Treat <treat@kde.org>
3089 * WebCoreSupport/EditorClientQt.cpp:
3090 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3091 * WebCoreSupport/EditorClientQt.h:
3093 2007-07-30 Simon Hausmann <hausmann@kde.org>
3097 Link QtLauncher into $$OUTPUT_DIR/bin
3099 * QtLauncher/QtLauncher.pro:
3101 2007-07-29 Adam Treat <treat@kde.org>
3103 Reviewed by George Staikos.
3105 Change QWebPage::paintEvent to draw using the individual rects provided
3106 via the QRegion and set the widget to use opaque paint events.
3108 These changes greatly reduce the cpu load as we are no longer painting the
3109 entire page for each 1px scroll :P
3111 * Api/qwebframe.cpp:
3112 (QWebFrame::render):
3114 (QWebPage::QWebPage):
3115 (QWebPage::paintEvent):
3116 * WebCoreSupport/ChromeClientQt.cpp:
3117 (WebCore::ChromeClientQt::addToDirtyRegion):
3119 2007-07-29 Adam Treat <treat@kde.org>
3121 Reviewed by Alexey Proskuryakov.
3123 Respect the margins when creating frames.
3124 Set the scroll mode to always off like we did before the rendered
3125 frames patch and the other ports do now.
3127 * Api/qwebframe.cpp:
3128 (QWebFramePrivate::init):
3130 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
3134 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
3136 * QtLauncher/QtLauncher.pro:
3138 2007-07-27 Simon Hausmann <hausmann@kde.org>
3142 Fix compilation with MSVC.
3144 * Api/qwebpagehistory.cpp:
3145 (QWebPageHistory::operator=):
3146 * Api/qwebpagehistory.h:
3147 * Api/qwebsettings.cpp:
3148 (QWebSettings::operator=):
3149 * Api/qwebsettings.h:
3151 2007-07-26 Qing Zhao <qing@staikos.net>
3153 Reviewed by George Staikos.
3155 Add a signal for history notification.
3158 * WebCoreSupport/FrameLoaderClientQt.cpp:
3160 2007-07-24 Adam Treat <treat@kde.org>
3162 Reviewed by Niko and Lars.
3164 These are no longer necessary or used.
3166 * WebCoreSupport/FrameLoaderClientQt.cpp:
3167 * WebCoreSupport/FrameLoaderClientQt.h:
3169 2007-07-20 Adam Treat <adam@staikos.net>
3171 Reviewed by George Staikos.
3173 Add a signal for first layout and add the action type for the policy
3177 (QWebPagePrivate::navigationRequested):
3178 (QWebPage::navigationRequested):
3181 * WebCoreSupport/FrameLoaderClientQt.cpp:
3182 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3183 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3185 2007-07-19 Adam Treat <treat@kde.org>
3189 Do a recursive layout on the frame's children. This fixes a
3190 segfault found when rendering some framesets.
3192 * Api/qwebframe.cpp:
3193 (QWebFrame::render):
3194 (QWebFrame::layout):
3197 2007-07-18 Timothy Hatcher <timothy@apple.com>
3201 Make the Page with the now required InspectorClient.
3204 (QWebPagePrivate::QWebPagePrivate):
3205 * WebKitPart/WebKitPart.cpp:
3206 (WebKitPart::initView):
3208 2007-07-18 Sam Weinig <sam@webkit.org>
3212 * Api/qwebnetworkinterface.cpp:
3213 (QWebNetworkManager::started):
3214 * WebCoreSupport/FrameLoaderClientQt.cpp:
3215 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3216 (WebCore::FrameLoaderClientQt::objectContentType):
3218 2007-07-18 Lars Knoll <lars@trolltech.com>
3220 Reviewed by Zack & Simon
3222 Reallow setting of scrollbar policies on QWebFrame.
3224 * Api/qwebframe.cpp:
3225 (QWebFrame::verticalScrollBarPolicy):
3226 (QWebFrame::setVerticalScrollBarPolicy):
3227 (QWebFrame::horizontalScrollBarPolicy):
3230 2007-07-17 Adam Treat <treat@kde.org>
3234 * WebCoreSupport/FrameLoaderClientQt.cpp:
3235 (WebCore::FrameLoaderClientQt::createFrame):
3237 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
3239 Blind build fix for Qt after r24366 by adding the additional
3240 WebCore::ResourceRequest& parameter to the download method.
3242 * WebCoreSupport/FrameLoaderClientQt.cpp:
3243 (WebCore::FrameLoaderClientQt::download):
3244 * WebCoreSupport/FrameLoaderClientQt.h:
3246 2007-07-17 Adam Roben <aroben@apple.com>
3248 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
3252 * WebCoreSupport/ContextMenuClientQt.cpp:
3253 * WebCoreSupport/ContextMenuClientQt.h:
3255 2007-07-16 Adam Roben <aroben@apple.com>
3257 Updated ChromeClientQt for ChromeClient changes.
3261 * WebCoreSupport/ChromeClientQt.cpp:
3262 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
3263 * WebCoreSupport/ChromeClientQt.h: Ditto.
3265 2007-07-13 Mark Rowe <mrowe@apple.com>
3269 Build fix. Stub out ChromeClientQt::print.
3271 * WebCoreSupport/ChromeClientQt.cpp:
3272 (WebCore::ChromeClientQt::print):
3273 * WebCoreSupport/ChromeClientQt.h:
3275 2007-07-12 George Staikos <staikos@kde.org>
3277 Qt build fix for assertions.
3279 * Api/qwebnetworkinterface.cpp:
3280 (QWebNetworkManager::add):
3282 2007-07-12 George Staikos <staikos@kde.org>
3286 * Api/qwebnetworkinterface.cpp:
3287 (QWebNetworkManager::add):
3289 2007-07-10 Mark Rowe <mrowe@apple.com>
3291 Qt build fix after r24126.
3293 * Api/qwebframe.cpp:
3294 (QWebFrame::evaluateJavaScript):
3296 2007-07-10 Eli Fidler <eli@staikos.net>
3298 Reviewed by George Staikos.
3300 Properly url-decode data urls.
3302 * Api/qwebnetworkinterface.cpp:
3303 (QWebNetworkInterfacePrivate::parseDataUrl):
3305 2007-07-09 Adam Treat <adam@staikos.net>
3307 Reviewed by George Staikos.
3309 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
3312 * Api/qwebframe.cpp:
3313 (QWebFramePrivate::init):
3314 (QWebFramePrivate::parentFrame):
3315 (QWebFrame::QWebFrame):
3316 (QWebFrame::render):
3318 (QWebFrame::geometry):
3319 (QWebFrame::evaluateJavaScript):
3320 (QWebFrame::mouseMoveEvent):
3321 (QWebFrame::mousePressEvent):
3322 (QWebFrame::mouseDoubleClickEvent):
3323 (QWebFrame::mouseReleaseEvent):
3324 (QWebFrame::wheelEvent):
3326 * Api/qwebobjectpluginconnector.cpp:
3327 (QWebObjectPluginConnector::pluginParentWidget):
3329 (QWebPagePrivate::QWebPagePrivate):
3330 (QWebPagePrivate::createMainFrame):
3331 (QWebPage::QWebPage):
3332 (QWebPage::javaScriptAlert):
3333 (QWebPage::javaScriptConfirm):
3334 (QWebPage::javaScriptPrompt):
3335 (QWebPage::resizeEvent):
3336 (QWebPage::paintEvent):
3337 (QWebPage::mouseMoveEvent):
3338 (QWebPage::mousePressEvent):
3339 (QWebPage::mouseDoubleClickEvent):
3340 (QWebPage::mouseReleaseEvent):
3341 (QWebPage::wheelEvent):
3342 (QWebPage::keyPressEvent):
3343 (QWebPage::keyReleaseEvent):
3344 (QWebPage::focusInEvent):
3345 (QWebPage::focusOutEvent):
3346 (QWebPage::focusNextPrevChild):
3347 (QWebPage::chooseFile):
3350 * WebCoreSupport/ChromeClientQt.cpp:
3351 (WebCore::ChromeClientQt::addToDirtyRegion):
3353 2007-07-09 George Staikos <staikos@kde.org>
3355 Fix a minor memory leak in the loader.
3357 * Api/qwebnetworkinterface.cpp:
3358 (gCleanupInterface):
3359 (QWebNetworkInterface::setDefaultInterface):
3360 (QWebNetworkInterface::defaultInterface):
3362 2007-07-09 George Staikos <staikos@kde.org>
3364 Fix a massive memory leak in the loader.
3366 * Api/qwebnetworkinterface.cpp:
3367 (QWebNetworkManager::httpConnectionClosed):
3368 (WebCoreHttp::~WebCoreHttp):
3370 2007-07-09 George Staikos <staikos@kde.org>
3374 Rework much of the HTTP stuff to make it more stable, and add SSL and
3375 proxy support. Major memory leak also discovered but it needs more
3376 research as the obvious fix causes crashes.
3378 * Api/qwebnetworkinterface.cpp:
3379 (QWebNetworkManager::add):
3380 (QWebNetworkManager::started):
3381 (QWebNetworkManager::data):
3382 (WebCoreHttp::WebCoreHttp):
3383 (WebCoreHttp::~WebCoreHttp):
3384 (WebCoreHttp::request):
3385 (WebCoreHttp::scheduleNextRequest):
3386 (WebCoreHttp::getConnection):
3387 (WebCoreHttp::onResponseHeaderReceived):
3388 (WebCoreHttp::onReadyRead):
3389 (WebCoreHttp::onRequestFinished):
3390 (WebCoreHttp::onDone):
3391 (WebCoreHttp::onStateChanged):
3392 (WebCoreHttp::onSslErrors):
3393 (WebCoreHttp::onAuthenticationRequired):
3394 (WebCoreHttp::onProxyAuthenticationRequired):
3395 * Api/qwebnetworkinterface.h:
3396 * Api/qwebnetworkinterface_p.h:
3397 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3399 2007-07-06 Adam Treat <adam@staikos.net>
3401 Reviewed by George Staikos.
3403 Convert QWebFrame to a QFrame from a scroll area.
3405 * Api/qwebframe.cpp:
3406 (QWebFramePrivate::init):
3407 (QWebFramePrivate::parentFrame):
3408 (QWebFramePrivate::horizontalScrollBar):
3409 (QWebFramePrivate::verticalScrollBar):
3410 (QWebFrame::QWebFrame):
3411 (QWebFrame::resizeEvent):
3412 (QWebFrame::suppressScrollbars):
3413 (QWebFrame::paintEvent):
3414 (QWebFrame::mouseMoveEvent):
3415 (QWebFrame::mousePressEvent):
3416 (QWebFrame::mouseDoubleClickEvent):
3417 (QWebFrame::mouseReleaseEvent):
3418 (QWebFrame::wheelEvent):
3419 (QWebFrame::keyPressEvent):
3420 (QWebFrame::focusInEvent):
3421 (QWebFrame::focusOutEvent):
3422 (QWebFrame::evaluateJavaScript):
3424 * Api/qwebframe_p.h:
3425 * Api/qwebobjectpluginconnector.cpp:
3426 (QWebObjectPluginConnector::pluginParentWidget):
3428 2007-07-04 Adam Roben <aroben@apple.com>
3430 Added a stub for ChromeClientQt::setToolTip
3434 * WebCoreSupport/ChromeClientQt.cpp:
3435 (WebCore::ChromeClientQt::setToolTip):
3436 * WebCoreSupport/ChromeClientQt.h:
3438 2007-07-04 Adam Roben <aroben@apple.com>
3440 Added a stub for ChromeClientQt::mouseDidMoveOverElement
3444 * WebCoreSupport/ChromeClientQt.cpp:
3445 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3446 * WebCoreSupport/ChromeClientQt.h:
3448 2007-06-28 Simon Hausmann <hausmann@kde.org>
3452 Propagate mouse double click events from Qt to WebCore.
3454 * Api/qwebframe.cpp:
3455 (QWebFrame::mouseDoubleClickEvent):
3458 2007-06-28 Simon Hausmann <hausmann@kde.org>
3462 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
3466 (QWebPage::canCopy):
3467 (QWebPage::canPaste):
3472 * WebCoreSupport/EditorClientQt.cpp:
3474 2007-06-27 George Staikos <staikos@kde.org>
3476 Compile with various Qt configurations.
3478 * Api/qwebnetworkinterface.cpp:
3479 (WebCoreHttp::scheduleNextRequest):
3481 (QWebPage::javaScriptPrompt):
3482 (QWebPage::dragEnterEvent):
3483 (QWebPage::dragLeaveEvent):
3484 (QWebPage::dragMoveEvent):
3485 (QWebPage::dropEvent):
3486 (QWebPage::chooseFile):
3489 * WebCoreSupport/DragClientQt.cpp:
3490 (WebCore::DragClientQt::startDrag):
3492 2007-06-27 Eli Fidler <eli@staikos.net>
3494 Reviewed by George Staikos.
3496 Check for QT_NO_IMAGE_TEXT and compile either way.
3498 * Plugins/ICOHandler.cpp:
3501 2007-06-27 Eli Fidler <eli@staikos.net>
3503 Reviewed by George Staikos.
3505 Remove QT3_SUPPORT dependency in the ICO plugin.
3507 * Plugins/ICOHandler.cpp:
3508 (IcoHeader::loadFromDIB):
3510 2007-06-25 George Staikos <staikos@kde.org>
3514 Start to add proxy and SSL support to WebKit Qt. Proxy works
3515 unauthenticated. Added hooks to be able to add authentication.
3516 Also fixes some network errors.
3518 * Api/qwebnetworkinterface.cpp:
3519 (QWebNetworkRequestPrivate::setURL):
3520 (QWebNetworkJob::frame):
3521 (WebCoreHttp::WebCoreHttp):
3522 (WebCoreHttp::scheduleNextRequest):
3523 (WebCoreHttp::onRequestFinished):
3524 (WebCoreHttp::onDone):
3525 (WebCoreHttp::onSslErrors):
3526 (WebCoreHttp::onAuthenticationRequired):
3527 (WebCoreHttp::onProxyAuthenticationRequired):
3528 * Api/qwebnetworkinterface.h:
3529 * Api/qwebnetworkinterface_p.h:
3531 (QWebPage::setNetworkProxy):
3532 (QWebPage::networkProxy):
3536 2007-06-21 Adam Treat <adam@staikos.net>
3538 Reviewed by George Staikos.
3540 Implement the default resources on Qt.
3544 * Api/qwebsettings.cpp:
3545 (QWebSettings::setWebGraphic):
3546 (QWebSettings::webGraphic):
3547 (loadResourcePixmap):
3548 * Api/qwebsettings.h:
3550 2007-06-15 Adam Treat <adam@staikos.net>
3552 Reviewed by George Staikos.
3554 Add ICO support to the Qt build.
3559 * Api/qwebsettings.cpp:
3560 (QWebSettings::setIconDatabaseEnabled):
3561 (QWebSettings::iconDatabaseEnabled):
3562 * Api/qwebsettings.h:
3564 * Plugins/ICOHandler.cpp: Added.
3565 (IcoHeader::operator >>):
3566 (IcoHeader::BMP_INFOHDR::):
3567 (IcoHeader::operator<<):
3568 (IcoHeader::LessDifference::LessDifference):
3569 (IcoHeader::LessDifference::operator ()):
3570 (IcoHeader::loadFromDIB):
3571 (ICOHandler::ICOHandler):
3572 (ICOHandler::canRead):
3574 (ICOHandler::write):
3577 (ICOPlugin::capabilities):
3578 (ICOPlugin::create):
3579 * Plugins/ICOHandler.h: Added.
3580 * Plugins/Plugins.pro: Added.
3581 * WebCoreSupport/FrameLoaderClientQt.cpp:
3582 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3584 2007-06-15 George Staikos <staikos@kde.org>
3586 Fixing the Qt build.
3588 * WebCoreSupport/ContextMenuClientQt.cpp:
3589 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
3590 * WebCoreSupport/ContextMenuClientQt.h:
3592 2007-06-20 Adam Roben <aroben@apple.com>
3594 More speculative Qt build fixes.
3596 Add a stub implementation of InspectorClientQt.
3598 * WebCoreSupport/InspectorClientQt.cpp: Added.
3599 (WebCore::InspectorClientQt::inspectorDestroyed):
3600 (WebCore::InspectorClientQt::createPage):
3601 (WebCore::InspectorClientQt::showWindow):
3602 (WebCore::InspectorClientQt::closeWindow):
3603 (WebCore::InspectorClientQt::attachWindow):
3604 (WebCore::InspectorClientQt::detachWindow):
3605 (WebCore::InspectorClientQt::highlight):
3606 (WebCore::InspectorClientQt::hideHighlight):
3607 * WebCoreSupport/InspectorClientQt.h: Added.
3609 2007-06-19 George Staikos <staikos@kde.org>
3611 Reviewed by Tim Hatcher.
3615 * Api/qwebnetworkinterface.cpp:
3616 (QWebNetworkInterface::addJob):
3617 (QWebNetworkInterface::cancelJob):
3618 (WebCoreHttp::WebCoreHttp):
3620 2007-06-14 George Staikos <staikos@kde.org>
3624 Add evaluateJavaScript() method.
3626 * Api/qwebframe.cpp:
3627 (QWebFrame::evaluateJavaScript):
3630 2007-06-14 George Staikos <staikos@kde.org>
3634 Implement most of the editing commands, better focus handling, fix some
3635 keyboard and mouse handling, and add keyboard navigation. May be
3636 refactored later as the key switches are ugly.
3638 * Api/qwebframe.cpp:
3639 (QWebFramePrivate::init):
3640 (QWebFrame::mousePressEvent):
3641 (QWebFrame::mouseReleaseEvent):
3642 (QWebFrame::wheelEvent):
3643 (QWebFrame::keyPressEvent):
3644 (QWebFrame::keyReleaseEvent):
3645 (QWebFrame::focusInEvent):
3646 (QWebFrame::focusOutEvent):
3647 (QWebFrame::focusNextPrevChild):
3649 * Api/qwebframe_p.h:
3650 * WebCoreSupport/EditorClientQt.cpp:
3651 (WebCore::EditorClientQt::handleKeypress):
3653 2007-06-14 George Staikos <staikos@kde.org>
3657 Implement all of the Javascript dialogs and file chooser.
3658 Also makes the statusbar virtual into a signal and shuffles some
3659 virtuals around a bit. The helper in FrameLoaderClientQt may go away
3663 (QWebPagePrivate::QWebPagePrivate):
3664 (QWebPage::javaScriptAlert):
3665 (QWebPage::javaScriptConfirm):
3666 (QWebPage::javaScriptPrompt):
3667 (QWebPage::chooseFile):
3669 * WebCoreSupport/ChromeClientQt.cpp:
3670 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3671 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3672 (WebCore::ChromeClientQt::runJavaScriptAlert):
3673 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3674 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3675 (WebCore::ChromeClientQt::setStatusbarText):
3676 * WebCoreSupport/FrameLoaderClientQt.cpp:
3677 (WebCore::FrameLoaderClientQt::chooseFile):
3678 * WebCoreSupport/FrameLoaderClientQt.h:
3680 2007-06-14 Simon Hausmann <hausmann@kde.org>
3684 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
3686 HistoryItem itself doesn't seem to have a parent pointer either.
3688 * Api/qwebpagehistory.h:
3690 2007-06-14 Simon Hausmann <hausmann@kde.org>
3694 Make it possible to copy QWebHistoryItem objects.
3696 * Api/qwebpagehistory.cpp:
3697 * Api/qwebpagehistory.h:
3699 2007-06-14 Lars Knoll <lars@trolltech.com>
3703 Fix a crash when a request from the plugin resulted
3706 * Api/qwebnetworkinterface.cpp:
3707 (QWebNetworkManager::started):
3709 2007-06-14 Lars Knoll <lars@trolltech.com>
3713 Work around a bug in Qt's QHttp implementation and
3714 get web pages to load again.
3719 2007-06-13 Simon Hausmann <hausmann@kde.org>
3723 Added a make install target that installs the Qt port and renamed
3724 WebKitQt to QtWebKit
3726 * Api/headers.pri: Added.
3727 * Api/qtwebkit.prf: Added.
3729 2007-06-13 Simon Hausmann <hausmann@kde.org>
3733 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
3735 * Api/qwebnetworkinterface.cpp:
3736 * Api/qwebnetworkinterface.h:
3738 2007-06-13 Simon Hausmann <hausmann@kde.org>
3742 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
3744 * Api/qwebnetworkinterface.h:
3745 * Api/qwebobjectpluginconnector.cpp:
3746 (QWebObjectPluginConnector::requestUrl):
3747 * Api/qwebobjectpluginconnector.h:
3749 2007-06-13 Simon Hausmann <hausmann@kde.org>
3753 Added a QWebNetworkRequest convenience constructor.
3755 * Api/qwebnetworkinterface.cpp:
3756 * Api/qwebnetworkinterface.h:
3760 2007-06-13 Simon Hausmann <hausmann@kde.org>
3764 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
3765 overload to take a QWebNetworkRequest instead.
3771 2007-06-13 Simon Hausmann <hausmann@kde.org>
3775 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
3776 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
3777 pick the individual fields if we can use them.
3782 2007-06-13 Simon Hausmann <hausmann@kde.org>
3786 Minor QWebNetworkRequet API fixlet
3788 * Api/qwebnetworkinterface.cpp:
3789 * Api/qwebnetworkinterface.h:
3791 2007-06-13 Simon Hausmann <hausmann@kde.org>
3795 Use QWebNetworkRequest for QWebPage::navigationRequested.
3797 * Api/qwebnetworkinterface.cpp:
3798 * Api/qwebnetworkinterface.h:
3800 (QWebPagePrivate::navigationRequested):
3801 (QWebPage::navigationRequested):
3804 * WebCoreSupport/FrameLoaderClientQt.cpp:
3805 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3807 2007-06-13 Simon Hausmann <hausmann@kde.org>
3811 Some docs for QWebNetworkRequest
3813 * Api/qwebnetworkinterface.cpp:
3814 (QWebNetworkRequest::QWebNetworkRequest):
3815 (QWebNetworkRequest::~QWebNetworkRequest):
3817 2007-06-13 Simon Hausmann <hausmann@kde.org>
3821 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
3823 * Api/qwebnetworkinterface.h:
3824 * Api/qwebobjectpluginconnector.cpp:
3825 (QWebObjectPluginConnector::requestUrl):
3826 * Api/qwebobjectpluginconnector.h:
3828 2007-06-13 Simon Hausmann <hausmann@kde.org>
3832 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
3834 * Api/qwebnetworkinterface.cpp:
3835 (QWebNetworkJob::postData):
3836 (WebCoreHttp::WebCoreHttp):
3837 (WebCoreHttp::scheduleNextRequest):
3838 * Api/qwebnetworkinterface.h:
3840 2007-06-13 Simon Hausmann <hausmann@kde.org>
3844 Introduce QWebNetworkRequest in the public API.
3846 * Api/qwebnetworkinterface.cpp:
3847 (QWebNetworkRequestPrivate::init):
3848 * Api/qwebnetworkinterface.h:
3849 * Api/qwebnetworkinterface_p.h:
3850 * WebCoreSupport/FrameLoaderClientQt.cpp:
3851 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3853 2007-06-13 Simon Hausmann <hausmann@kde.org>
3857 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
3859 * Api/qwebnetworkinterface.cpp:
3860 (QWebNetworkManager::add):
3861 (QWebNetworkManager::started):
3862 (QWebNetworkManager::data):
3863 (QWebNetworkManager::finished):
3864 * Api/qwebnetworkinterface_p.h:
3865 * Api/qwebobjectpluginconnector.cpp:
3866 (QWebObjectPluginConnector::requestUrl):
3868 2007-06-13 Simon Hausmann <hausmann@kde.org>
3872 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
3874 * Api/qwebnetworkinterface.cpp:
3875 (QWebNetworkRequest::init):
3876 (QWebNetworkRequest::setURL):
3877 (QWebNetworkManager::add):
3878 (QWebNetworkManager::started):
3879 * Api/qwebnetworkinterface_p.h:
3880 * WebCoreSupport/FrameLoaderClientQt.cpp:
3881 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3883 2007-06-12 Lars Knoll <lars@trolltech.com>
3885 Reviewed by George Staikos.
3887 Remove duplicate symbols.
3889 * Api/qwebobjectplugin_p.h:
3891 2007-06-13 Lars Knoll <lars@trolltech.com>
3895 Fix compilation, and remove dependency on Qt
3898 * Api/qwebobjectplugin_p.h:
3899 (QWebFactoryLoader::supportsMimeType):
3901 2007-06-13 Lars Knoll <lars@trolltech.com>
3905 Parts of the patch done by Zack.
3906 Fix up some parts in the implementation of QWebNetworkInterface
3907 so it can be used by plugins.
3908 Change the plugin API so we can actually get all the information
3909 required by the JS bridge from them as well.
3911 * Api/qwebnetworkinterface.cpp:
3912 (QWebNetworkJob::cancelled):
3913 (QWebNetworkManager::cancel):
3914 (QWebNetworkManager::started):
3915 (QWebNetworkManager::finished):
3916 * Api/qwebobjectplugin.cpp:
3917 (QWebFactoryLoader::QWebFactoryLoader):
3918 (QWebFactoryLoader::descriptionForName):
3919 (QWebFactoryLoader::mimetypesForName):
3920 (QWebFactoryLoader::mimeTypeForExtension):
3921 (QWebFactoryLoader::extensions):
3922 (QWebFactoryLoader::nameForMimetype):
3923 (QWebFactoryLoader::create):
3924 (QWebObjectPlugin::descriptionForKey):
3925 (QWebObjectPlugin::mimetypesForKey):
3926 * Api/qwebobjectplugin.h:
3927 * Api/qwebobjectplugin_p.h:
3928 (QWebFactoryLoader::names):
3929 * Api/qwebobjectpluginconnector.cpp:
3930 (QWebObjectPluginConnector::requestUrl):
3932 (QWebPage::networkInterface):
3934 2007-06-11 Simon Hausmann <hausmann@kde.org>
3938 Added a QWebPage::open overload to allow specifying the http header and post data.
3939 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
3940 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
3945 2007-06-11 Simon Hausmann <hausmann@kde.org>
3949 Added the possibility to intercept url requests through QWebPage::navigationRequested.
3952 (QWebPagePrivate::QWebPagePrivate):
3953 (QWebPage::createFrame):
3956 * WebCoreSupport/FrameLoaderClientQt.cpp:
3958 2007-06-11 Simon Hausmann <hausmann@kde.org>
3962 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3963 to be called from FrameLoaderClientQt in the near future.
3965 * Api/qwebnetworkinterface.cpp:
3966 (QWebNetworkManager::add):
3967 * Api/qwebnetworkinterface_p.h:
3969 2007-06-11 Simon Hausmann <hausmann@kde.org>
3973 Moved the postData setup into QWebNetworkRequest::init.
3975 * Api/qwebnetworkinterface.cpp:
3976 (QWebNetworkRequest::init):
3977 (QWebNetworkManager::add):
3979 2007-06-11 Simon Hausmann <hausmann@kde.org>
3983 Moved HTTP header field propagation to QWebNetworkRequest::init.
3985 * Api/qwebnetworkinterface.cpp:
3986 (QWebNetworkRequest::init):
3987 (QWebNetworkManager::add):
3989 2007-06-11 Simon Hausmann <hausmann@kde.org>
3993 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3994 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3996 * Api/qwebnetworkinterface.cpp:
3997 (QWebNetworkRequest::init):
3998 (QWebNetworkManager::add):
3999 * Api/qwebnetworkinterface_p.h:
4000 * Api/qwebobjectpluginconnector.cpp:
4001 (QWebObjectPluginConnector::requestUrl):
4003 2007-06-11 Zack Rusin <zrusin@trolltech.com>
4007 Forgot to export the plugin connector.
4009 * Api/qwebobjectpluginconnector.h
4011 2007-06-08 Lars Knoll <lars@trolltech.com>
4015 Add a QWebObjectPluginConnector class. The class will
4016 facility communication between the plugin and WebKit.
4017 Currently it's used to make the plugin network capable.
4019 * Api/qwebnetworkinterface.cpp:
4020 (QWebNetworkJobPrivate::setDefaults):
4021 (QWebNetworkManager::add):
4022 (QWebNetworkManager::started):
4023 (QWebNetworkManager::data):
4024 (QWebNetworkManager::finished):
4025 * Api/qwebnetworkinterface.h:
4026 * Api/qwebnetworkinterface_p.h:
4027 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
4028 * Api/qwebobjectplugin.cpp:
4029 (QWebFactoryLoader::create):
4030 * Api/qwebobjectplugin.h:
4031 * Api/qwebobjectplugin_p.h:
4032 * Api/qwebobjectpluginconnector.cpp: Added.
4033 (QWebObjectPluginConnector::QWebObjectPluginConnector):
4034 (QWebObjectPluginConnector::frame):
4035 (QWebObjectPluginConnector::pluginParentWidget):
4036 (QWebObjectPluginConnector::requestUrl):
4037 * Api/qwebobjectpluginconnector.h: Added.
4038 (QWebObjectPluginConnector::):
4039 * WebCoreSupport/FrameLoaderClientQt.cpp:
4040 (WebCore::FrameLoaderClientQt::createPlugin):
4042 2007-06-06 Lars Knoll <lars@trolltech.com>
4046 Add an API to create and load plugins.
4047 Don't include moc files by hand anymore, rather let
4050 * Api/qcookiejar.cpp:
4051 (QCookieJar::cookieJar):
4052 * Api/qwebframe.cpp:
4053 (QWebFrame::scrollContentsBy):
4054 * Api/qwebnetworkinterface.cpp:
4055 * Api/qwebobjectplugin.cpp: Added.
4056 (QWebFactoryLoader::QWebFactoryLoader):
4057 (QWebFactoryLoader::self):
4058 (QWebFactoryLoader::mimeTypeForExtension):
4059 (QWebFactoryLoader::create):
4060 (QWebObjectPlugin::QWebObjectPlugin):
4061 (QWebObjectPlugin::~QWebObjectPlugin):
4062 (QWebObjectPlugin::extensionsForMimetype):
4063 * Api/qwebobjectplugin.h: Added.
4064 * Api/qwebobjectplugin_p.h: Added.
4065 (QWebFactoryLoader::mimeTypes):
4066 (QWebFactoryLoader::extensions):
4067 (QWebFactoryLoader::supportsMimeType):
4069 (QWebPage::settings):
4070 * WebCoreSupport/FrameLoaderClientQt.cpp:
4071 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
4072 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
4073 (WebCore::FrameLoaderClientQt::objectContentType):
4074 (WebCore::FrameLoaderClientQt::createPlugin):
4076 2007-05-28 Zack Rusin <zrusin@trolltech.com>
4078 Reviewed by andersca and simon
4080 Adding public settings Api to the Qt port.
4081 QWebSetting's is a value based settings
4082 object settable on the QWebPage.
4085 (QWebPagePrivate::QWebPagePrivate):
4086 (QWebPage::QWebPage):
4087 (QWebPage::setSettings):
4088 (QWebPage::settings):
4090 * Api/qwebsettings.cpp: Added.
4091 (QWebSettingsPrivate::QWebSettingsPrivate):
4092 (QWebSettings::QWebSettings):
4093 (QWebSettings::~QWebSettings):
4094 (QWebSettings::setMinimumFontSize):
4095 (QWebSettings::minimumFontSize):
4096 (QWebSettings::setMinimumLogicalFontSize):
4097 (QWebSettings::minimumLogicalFontSize):
4098 (QWebSettings::setDefaultFontSize):
4099 (QWebSettings::defaultFontSize):
4100 (QWebSettings::setDefaultFixedFontSize):
4101 (QWebSettings::defaultFixedFontSize):
4102 (QWebSettings::setUserStyleSheetLocation):
4103 (QWebSettings::userStyleSheetLocation):
4104 (QWebSettings::setGlobal):
4105 (QWebSettings::global):
4106 (QWebSettings::setFontFamily):
4107 (QWebSettings::fontFamily):
4108 (QWebSettings::setAttribute):
4109 (QWebSettings::testAttribute):
4110 * Api/qwebsettings.h: Added.
4111 * QtLauncher/main.cpp:
4113 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
4115 Reviewed by Sam Weinig.
4117 Consolidate all notImplemented() macro definitions into
4118 one header file for all platforms.
4120 * WebCoreSupport/ChromeClientQt.cpp:
4121 * WebCoreSupport/ContextMenuClientQt.cpp:
4122 * WebCoreSupport/EditorClientQt.cpp:
4123 * WebCoreSupport/FrameLoaderClientQt.cpp:
4125 2007-05-25 George Staikos <staikos@kde.org>
4129 The http loader should only ask for .... http cookies!
4131 * Api/qwebnetworkinterface.cpp:
4132 (QWebNetworkManager::add):
4134 2007-05-24 Simon Hausmann <hausmann@kde.org>
4138 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
4139 correctly. Fortunately WebCore does it already, so there's no need
4140 for us to do it since we already transfer all HTTP header fields :)
4142 * Api/qwebnetworkinterface.cpp:
4143 (QWebNetworkManager::add):
4145 2007-05-23 Simon Hausmann <hausmann@kde.org>
4147 Reviewed by Zack, idea from Lars.
4149 Share WebCoreHttp and therefore HTTP connections among multiple
4150 QWebNetworkInterface instances by moving the code into
4153 * Api/qwebnetworkinterface.cpp:
4154 (QWebNetworkManager::addHttpJob):
4155 (QWebNetworkManager::cancelHttpJob):
4156 (QWebNetworkManager::httpConnectionClosed):
4157 (QWebNetworkInterface::addJob):
4158 (QWebNetworkInterface::cancelJob):
4159 (WebCoreHttp::scheduleNextRequest):
4160 (WebCoreHttp::onResponseHeaderReceived):
4161 (WebCoreHttp::onReadyRead):
4162 (WebCoreHttp::onRequestFinished):
4163 (WebCoreHttp::cancel):
4164 * Api/qwebnetworkinterface.h:
4165 * Api/qwebnetworkinterface_p.h:
4167 2007-05-23 Simon Hausmann <hausmann@kde.org>
4169 Reviewed by Zack, discussed also with Lars.
4171 Make it possible to specify a per-QWebPage network interface (needed
4172 for the KDE KIO integration).
4174 Merged the file and the network loader into
4175 QWebNetworkInterface(Private), which simplifies the loading code.
4177 When receiving a redirection don't emit the data of the redirected job
4178 to the document. (otherwise the kind of "This page has moved" text
4179 appears right on top of the real page content)
4181 * Api/qwebnetworkinterface.cpp:
4184 (QWebNetworkJob::QWebNetworkJob):
4185 (QWebNetworkJob::networkInterface):
4186 (QWebNetworkManager::add):
4187 (QWebNetworkManager::cancel):
4188 (QWebNetworkManager::data):
4189 (QWebNetworkManager::finished):
4190 (QWebNetworkInterfacePrivate::sendFileData):
4191 (QWebNetworkInterfacePrivate::parseDataUrl):
4192 (QWebNetworkInterfacePrivate::addHttpJob):
4193 (QWebNetworkInterfacePrivate::httpConnectionClosed):
4194 (QWebNetworkInterface::setDefaultInterface):
4195 (QWebNetworkInterface::QWebNetworkInterface):
4196 (QWebNetworkInterface::addJob):
4197 (QWebNetworkInterface::cancelJob):
4198 (WebCoreHttp::scheduleNextRequest):
4199 (WebCoreHttp::onResponseHeaderReceived):
4200 (WebCoreHttp::onReadyRead):
4201 (WebCoreHttp::onRequestFinished):
4202 (WebCoreHttp::cancel):
4203 * Api/qwebnetworkinterface.h:
4204 * Api/qwebnetworkinterface_p.h:
4206 (QWebPagePrivate::QWebPagePrivate):
4207 (QWebPage::setNetworkInterface):
4211 2007-05-23 Lars Knoll <lars@trolltech.com>
4215 Don't do HTTP downloads in a second thread. Simplifies
4216 the code significantly and fixes crashes on some
4219 * Api/qwebnetworkinterface.cpp:
4220 (QWebNetworkManager::add):
4221 (QWebNetworkInterface::QWebNetworkInterface):
4222 (QWebNetworkInterface::addJob):
4223 (QWebNetworkInterface::cancelJob):
4224 (LoaderThread::LoaderThread):
4225 (LoaderThread::run):
4226 (WebCoreHttp::cancel):
4227 (NetworkLoader::NetworkLoader):
4228 (NetworkLoader::request):
4229 (NetworkLoader::cancel):
4230 * Api/qwebnetworkinterface_p.h:
4231 * WebCoreSupport/FrameLoaderClientQt.cpp:
4232 (WebCore::FrameLoaderClientQt::committedLoad):
4233 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
4235 2007-05-23 Lars Knoll <lars@trolltech.com>
4239 * Api/qwebnetworkinterface.cpp:
4240 (QWebNetworkJobPrivate::setURL):
4241 (QWebNetworkManager::started):
4242 Fix Host: line in HTTP headers and resolving of relative URLs
4244 * Api/qwebnetworkinterface_p.h:
4245 Clean up qHash forward declaration a bit.
4247 2007-05-23 Simon Hausmann <hausmann@kde.org>
4251 * QtLauncher/main.cpp:
4252 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
4254 2007-05-22 Simon Hausmann <hausmann@kde.org>
4258 * Api/qwebnetworkinterface.cpp:
4259 (QWebNetworkManager::add): Fix http headers for POST.
4261 2007-05-21 Lars Knoll <lars@trolltech.com>
4265 Remove the userHandle methods from QWebnetworkJob again.
4266 They don't really give us anything and just clutter the API.
4268 * Api/qwebnetworkinterface.cpp:
4269 * Api/qwebnetworkinterface.h:
4270 * Api/qwebnetworkinterface_p.h:
4272 2007-05-21 Simon Hausmann <hausmann@kde.org>
4276 * Api/qwebnetworkinterface.h: Export the net API.
4278 2007-05-21 Lars Knoll <lars@trolltech.com>
4282 Add an API layer for network downloads. Basically QWebnetworkInterface
4283 is an interface class for downloading resources. QWebnetworkJob describes
4284 the actual object to download.
4286 QWebNetworkInterface has a default implementation that replaces the
4287 old ResourceHandleManager class in the Qt port.
4289 * Api/qwebnetworkinterface.cpp: Added.
4290 (QWebNetworkJobPrivate::setURL):
4291 (QWebNetworkJob::QWebNetworkJob):
4292 (QWebNetworkJob::~QWebNetworkJob):
4293 (QWebNetworkJob::url):
4294 (QWebNetworkJob::postData):
4295 (QWebNetworkJob::request):
4296 (QWebNetworkJob::response):
4297 (QWebNetworkJob::setResponse):
4298 (QWebNetworkJob::cancelled):
4299 (QWebNetworkJob::ref):
4300 (QWebNetworkJob::deref):
4301 (QWebNetworkJob::setUserHandle):
4302 (QWebNetworkJob::userHandle):
4303 (QWebNetworkManager::QWebNetworkManager):
4304 (QWebNetworkManager::self):
4305 (QWebNetworkManager::add):
4306 (QWebNetworkManager::cancel):
4307 (QWebNetworkManager::started):
4308 (QWebNetworkManager::data):
4309 (QWebNetworkManager::finished):
4310 (QWebNetworkInterface::setDefaultInterface):
4311 (QWebNetworkInterface::defaultInterface):
4312 (QWebNetworkInterface::QWebNetworkInterface):
4313 (QWebNetworkInterface::~QWebNetworkInterface):
4314 (QWebNetworkInterface::addJob):
4315 (QWebNetworkInterface::cancelJob):
4316 (LoaderThread::LoaderThread):
4317 (LoaderThread::run):
4318 (FileLoader::FileLoader):
4319 (FileLoader::request):
4320 (FileLoader::sendData):
4321 (FileLoader::parseDataUrl):
4322 (WebCoreHttp::WebCoreHttp):
4323 (WebCoreHttp::~WebCoreHttp):
4324 (WebCoreHttp::request):
4325 (WebCoreHttp::scheduleNextRequest):
4326 (WebCoreHttp::getConnection):
4327 (WebCoreHttp::onResponseHeaderReceived):
4328 (WebCoreHttp::onReadyRead):
4329 (WebCoreHttp::onRequestFinished):
4330 (WebCoreHttp::onStateChanged):
4331 (WebCoreHttp::cancel):
4332 (HostInfo::HostInfo):
4335 (NetworkLoader::NetworkLoader):
4336 (NetworkLoader::~NetworkLoader):
4337 (NetworkLoader::request):
4338 (NetworkLoader::connectionClosed):
4339 (NetworkLoader::cancel):
4340 * Api/qwebnetworkinterface.h: Added.
4341 (QWebNetworkJob::setHandle):
4342 (QWebNetworkJob::handle):
4343 * Api/qwebnetworkinterface_p.h: Added.
4344 (WebCore::LoaderThread::):
4345 (WebCore::LoaderThread::waitForSetup):
4346 (WebCore::HostInfo::HostInfo):
4348 2007-05-18 Simon Hausmann <hausmann@kde.org>
4350 Reviewed by Nikolas.
4352 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
4353 percent integer instead of a double precision floating pointer number.
4354 * WebCoreSupport/FrameLoaderClientQt.cpp:
4355 (WebCore::FrameLoaderClientQt::setFrame):
4356 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
4357 * WebCoreSupport/FrameLoaderClientQt.h:
4359 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
4361 Reviewed by Zack Rusin.
4363 The default constructed KeyboardEvent has
4364 no PlatformKeyboardEvent.
4366 * WebCoreSupport/EditorClientQt.cpp:
4367 (WebCore::EditorClientQt::handleKeypress):
4369 2007-05-17 Adam Treat <adam@staikos.net>
4371 Reviewed by George Staikos.
4373 - Implement frameLoadCompleted
4374 - Fix build (by George)
4376 * WebCoreSupport/FrameLoaderClientQt.cpp:
4377 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
4378 (WebCore::FrameLoaderClientQt::createFrame):
4380 2007-05-17 Adam Treat <adam@staikos.net>
4382 Reviewed by George Staikos.
4384 Implement canShowMIMEType
4386 * WebCoreSupport/FrameLoaderClientQt.cpp:
4387 (WebCore::FrameLoaderClientQt::canShowMIMEType):
4389 2007-05-16 Lars Knoll <lars@trolltech.com>
4393 pass the mouse events to the event handler, not the frameview.
4395 * Api/qwebframe.cpp:
4396 (QWebFrame::mouseMoveEvent):
4397 (QWebFrame::mouseReleaseEvent):
4399 2007-05-14 Lars Knoll <lars@trolltech.com>
4403 Updates after Maciej's frame change.