1 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Move the various event methods to QWebPagePrivate. This is similar to
11 (QWebPagePrivate::mouseMoveEvent):
12 (QWebPagePrivate::mousePressEvent):
13 (QWebPagePrivate::mouseDoubleClickEvent):
14 (QWebPagePrivate::mouseReleaseEvent):
15 (QWebPagePrivate::contextMenuEvent):
16 (QWebPagePrivate::wheelEvent):
17 (QWebPagePrivate::keyPressEvent):
18 (QWebPagePrivate::keyReleaseEvent):
19 (QWebPagePrivate::focusInEvent):
20 (QWebPagePrivate::focusOutEvent):
21 (QWebPage::focusNextPrevChild):
22 (QWebPagePrivate::dragEnterEvent):
23 (QWebPagePrivate::dragLeaveEvent):
24 (QWebPagePrivate::dragMoveEvent):
25 (QWebPagePrivate::dropEvent):
29 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
33 * Forward the event from QWebView to QWebPage through QObject::event. This
34 is similar to the way QTextControl is working.
42 (QWebView::mouseMoveEvent):
43 (QWebView::mousePressEvent):
44 (QWebView::mouseDoubleClickEvent):
45 (QWebView::mouseReleaseEvent):
46 (QWebView::contextMenuEvent):
47 (QWebView::wheelEvent):
48 (QWebView::keyPressEvent):
49 (QWebView::keyReleaseEvent):
50 (QWebView::focusInEvent):
51 (QWebView::focusOutEvent):
52 (QWebView::dragEnterEvent):
53 (QWebView::dragLeaveEvent):
54 (QWebView::dragMoveEvent):
55 (QWebView::dropEvent):
58 2008-01-04 Lars Knoll <lars@trolltech.com>
62 make QWebPage a QObject and get things to compile.
64 Nothing works currently though.
67 * Api/qwebobjectpluginconnector.cpp:
69 (QWebPagePrivate::QWebPagePrivate):
70 (QWebPagePrivate::createMainFrame):
74 (QWebPage::javaScriptAlert):
75 (QWebPage::javaScriptPrompt):
77 (QWebPage::mousePressEvent):
78 (QWebPage::mouseDoubleClickEvent):
79 (QWebPage::mouseReleaseEvent):
80 (QWebPage::wheelEvent):
81 (QWebPage::keyPressEvent):
82 (QWebPage::focusInEvent):
88 (QWebView::resizeEvent):
89 (QWebView::paintEvent):
91 * WebCoreSupport/ChromeClientQt.cpp:
92 (WebCore::ChromeClientQt::windowRect):
93 (WebCore::ChromeClientQt::pageRect):
94 (WebCore::ChromeClientQt::focus):
95 (WebCore::ChromeClientQt::unfocus):
96 (WebCore::ChromeClientQt::canTakeFocus):
97 (WebCore::ChromeClientQt::takeFocus):
98 (WebCore::ChromeClientQt::canRunModal):
99 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
100 * WebCoreSupport/DragClientQt.cpp:
101 (WebCore::DragClientQt::startDrag):
102 * WebCoreSupport/FrameLoaderClientQt.cpp:
103 (WebCore::FrameLoaderClientQt::createPlugin):
104 * WebCoreSupport/InspectorClientQt.cpp:
105 (WebCore::InspectorClientWebPage::createWindow):
106 (WebCore::InspectorClientView::InspectorClientView):
107 (WebCore::InspectorClientView::page):
108 (WebCore::InspectorClientView::hideEvent):
109 (WebCore::InspectorClientView::closeEvent):
110 (WebCore::InspectorClientQt::createPage):
111 (WebCore::InspectorClientQt::closeWindow):
113 2008-01-04 Simon Hausmann <hausmann@webkit.org>
117 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
122 (QWebView::setContent):
124 (QWebView::settings):
126 (QWebView::triggerAction):
128 (QWebView::backward):
133 2008-01-04 Lars Knoll <lars@trolltech.com>
137 add a viewportSize to QWebPage.
139 This is required to eventually make it a QObject only.
143 (QWebPage::triggerAction):
144 (QWebPage::viewportSize):
145 (QWebPage::setViewportSize):
148 2008-01-04 Lars Knoll <lars@trolltech.com>
152 take a QString as identifier in QWebFrame::addToJSWindowObject.
155 (QWebFrame::addToJSWindowObject):
158 2008-01-04 Simon Hausmann <hausmann@webkit.org>
162 Call the frame arguments for the javascript callbacks "originatingFrame"
167 2008-01-04 Simon Hausmann <hausmann@webkit.org>
171 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
174 * Api/qwebhistoryinterface.h:
176 * WebCoreSupport/FrameLoaderClientQt.cpp:
177 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
179 2008-01-04 Lars Knoll <lars@trolltech.com>
183 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
188 (QWebFrame::setVerticalScrollBarPolicy):
191 (QWebPage::javaScriptAlert):
192 (QWebPage::javaScriptPrompt):
193 (QWebPage::networkInterface):
199 * WebCoreSupport/FrameLoaderClientQt.cpp:
201 2008-01-03 Simon Hausmann <hausmann@webkit.org>
205 Moved QWebPage::open to QWebFrame::load and added setHtml.
210 (QWebFrame::setHtml):
211 (QWebFrame::setContent):
219 * WebCoreSupport/ChromeClientQt.cpp:
220 (WebCore::ChromeClientQt::createWindow):
221 * WebCoreSupport/InspectorClientQt.cpp:
222 (WebCore::InspectorClientQt::createPage):
224 2008-01-03 Simon Hausmann <hausmann@webkit.org>
228 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
234 (QWebPagePrivate::createMainFrame):
236 * Api/qwebpagehistory.h:
237 * Api/qwebview.cpp: Added.
238 (QWebView::QWebView):
239 (QWebView::~QWebView):
245 (QWebView::settings):
249 (QWebView::selectedText):
251 (QWebView::triggerAction):
252 (QWebView::isModified):
253 (QWebView::textInteractionFlags):
254 (QWebView::setTextInteractionFlags):
255 (QWebView::sizeHint):
257 (QWebView::backward):
260 * Api/qwebview.h: Added.
261 * QtLauncher/main.cpp:
262 (MainWindow::MainWindow):
263 (MainWindow::webPage):
264 (MainWindow::changeLocation):
265 * WebCoreSupport/FrameLoaderClientQt.cpp:
266 (WebCore::FrameLoaderClientQt::setFrame):
267 * WebCoreSupport/FrameLoaderClientQt.h:
269 2007-12-14 Darin Adler <darin@apple.com>
274 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
275 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
276 * WebCoreSupport/EditorClientQt.cpp:
277 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
278 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
281 2007-12-12 Brady Eidson <beidson@apple.com>
283 Reviewed by Sam Weinig
285 As part of doing some CachedPage and client cleanup, keep Qt building
287 * WebCoreSupport/FrameLoaderClientQt.cpp:
288 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
289 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
290 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
291 * WebCoreSupport/FrameLoaderClientQt.h:
293 2007-12-12 Sam Weinig <sam@webkit.org>
297 * WebCoreSupport/FrameLoaderClientQt.cpp:
298 (WebCore::FrameLoaderClientQt::userAgent):
300 2007-12-12 Sam Weinig <sam@webkit.org>
304 * Api/qwebnetworkinterface.cpp:
305 (QWebNetworkRequestPrivate::init):
308 (QWebPageContext::QWebPageContext):
309 * Api/qwebpagehistory.cpp:
310 (QWebHistoryItem::originalUrl):
311 (QWebHistoryItem::currentUrl):
312 * WebCoreSupport/FrameLoaderClientQt.cpp:
313 (WebCore::FrameLoaderClientQt::cannotShowURLError):
314 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
315 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
316 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
317 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
318 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
319 (WebCore::FrameLoaderClientQt::createPlugin):
321 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
325 <rdar://problem/5535636>
326 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
328 http://bugs.webkit.org/show_bug.cgi?id=13916
329 JavaScript detects Tab as a character input on a textfield validation
331 * WebCoreSupport/EditorClientQt.cpp:
332 (WebCore::EditorClientQt::handleKeyboardEvent):
333 (WebCore::EditorClientQt::handleInputMethodKeydown):
334 * WebCoreSupport/EditorClientQt.h:
335 Updated for cross-platform changes as much as it was possible without a Qt build environment.
337 2007-12-07 Darin Adler <darin@apple.com>
341 * Api/qwebhistoryinterface.cpp:
342 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
343 be updated, since WebCore changed, but this should not be here.
345 2007-12-04 Darin Adler <darin@apple.com>
347 Reviewed by Kevin Decker.
349 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
350 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
352 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
356 * Implement the InspectorClient for the Qt port
357 * It does not support highlighting of nodes yet
358 * Use QRC to open the internal page. The important thing is the
359 '/' in the URL to make WebCore::Document::completeURL behave the
361 * To make the InspectorClient work we will have to mark qrc as secure.
364 (QWebPagePrivate::QWebPagePrivate):
366 * WebCoreSupport/InspectorClientQt.cpp:
367 (WebCore::InspectorClientWebPage::hideEvent):
368 (WebCore::InspectorClientQt::InspectorClientQt):
369 (WebCore::InspectorClientQt::inspectorDestroyed):
370 (WebCore::InspectorClientQt::createPage):
371 (WebCore::InspectorClientQt::localizedStringsURL):
372 (WebCore::InspectorClientQt::showWindow):
373 (WebCore::InspectorClientQt::closeWindow):
374 (WebCore::InspectorClientQt::attachWindow):
375 (WebCore::InspectorClientQt::detachWindow):
376 * WebCoreSupport/InspectorClientQt.h:
378 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
380 Rubber stamped by Mark.
382 Always include config.h at the beginning of the file.
384 * Api/qwebsettings.cpp:
386 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
390 * Avoid crashes by making sure everything is layouted before
391 we start painting. This avoids a crash in Widget::invalidateRect
392 because QPainter::begin would fail
393 * The QWebFrame::layout() methods and calls are left untouched because
394 this would be an API decision.
400 (QWebPage::paintEvent):
402 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
406 * SubClass QWebPage to handle hide and close events.
407 * Forward these events to the InspectorController
408 * The other options would have been using an eventFilter
409 on the webpage and making InspectorClient a QObject or
410 creating a QObject Observer.
411 * Provide a simple QWebPage* createWindow implementation. This is needed
412 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
413 of the inspector client.
416 * WebCoreSupport/InspectorClientQt.cpp:
417 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
418 (WebCore::InspectorClientWebPage::createWindow):
419 (WebCore::InspectorClientWebPage::hideEvent):
420 (WebCore::InspectorClientWebPage::closeEvent):
421 (WebCore::InspectorClientQt::createPage):
423 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
427 * Allow adding the Inspect ContextMenuItem to our Menu
428 * Open the Inspector when Inspect was activated. This requires
429 that we keep the innerNonSharedNode from the HitTest around. This
430 forces us to include <wtf/RefPtr.h> in the private header. It is
431 the first non Qt header but should be okay.
435 (webActionForContextMenuAction):
436 (QWebPage::triggerAction):
438 (QWebPageContext::QWebPageContext):
442 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
446 * Add the Developer Extras to the WebAttribute and propagate it
447 to WebCore::Settings. This will enable the Inspect Element menu item
448 * CodingStyle fixes in QWebSettings
449 * Enable the Developer Extras in the QtLauncher
452 * Api/qwebsettings.cpp:
453 (QWebSettingsPrivate::apply):
454 * Api/qwebsettings.h:
455 * QtLauncher/main.cpp:
458 2007-12-03 Geoffrey Garen <ggaren@apple.com>
460 Removed unnecessary and possibly incorrect #include from my last
465 2007-12-03 Geoffrey Garen <ggaren@apple.com>
467 Qt build fix: Get globalExec() from the right place.
469 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
473 * Self destruct the clients like the ohter ports do
476 * WebCoreSupport/ChromeClientQt.cpp:
477 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
478 * WebCoreSupport/ContextMenuClientQt.cpp:
479 * WebCoreSupport/DragClientQt.cpp:
480 * WebCoreSupport/EditorClientQt.cpp:
481 * WebCoreSupport/InspectorClientQt.cpp:
483 2007-11-29 Brady Eidson <beidson@apple.com>
485 Keep it building with new client method
487 * WebCoreSupport/ChromeClientQt.cpp:
488 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
489 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
490 * WebCoreSupport/ChromeClientQt.h:
492 2007-11-22 Simon Hausmann <hausmann@webkit.org>
494 Reviewed by Adam Treat.
496 Fix compilation (don't define notImplemented twice)
498 * Api/qwebnetworkinterface.cpp:
500 2007-11-22 Simon Hausmann <hausmann@kde.org>
504 Use Q_SIGNALS/Q_SLOTS in the public API
509 2007-11-22 Simon Hausmann <hausmann@kde.org>
513 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
517 2007-11-22 Simon Hausmann <hausmann@kde.org>
521 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
525 * Api/qwebhistoryinterface.h:
526 * Api/qwebnetworkinterface.h:
527 * Api/qwebobjectplugin.h:
528 * Api/qwebobjectplugin_p.h:
529 * Api/qwebobjectpluginconnector.h:
531 * Api/qwebpagehistory.h:
532 * Api/qwebsettings.h:
534 2007-11-22 Simon Hausmann <hausmann@kde.org>
538 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
540 * Api/qwebpagehistory.h:
542 2007-11-22 George Staikos <staikos@kde.org>
544 Reviewed by Simon Hausmann <hausmann@kde.org>.
549 * Api/qwebobjectplugin.cpp:
550 * Api/qwebobjectplugin.h:
551 * Api/qwebobjectpluginconnector.cpp:
552 * Api/qwebobjectpluginconnector.h:
554 2007-11-22 Simon Hausmann <hausmann@kde.org>
556 Reviewed by George Staikos <staikos@kde.org>.
558 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
560 This also fixes compilation with gcc 4.3.
564 (QWebFramePrivate::init):
566 2007-11-21 Adam Treat <treat@kde.org>
570 * Connect up the signal for all subframes too.
573 (QWebFramePrivate::init):
575 (QWebPagePrivate::createMainFrame):
577 2007-11-20 Simon Hausmann <hausmann@kde.org>
579 Reviewed by Adam Treat <treat@kde.org>.
581 Remove static linkage of QtWebKit against the ICO image format plugin.
583 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
586 * Plugins/Plugins.pro:
588 2007-11-20 Simon Hausmann <hausmann@kde.org>
590 Reviewed by George Staikos <staikos@kde.org>.
592 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
597 2007-11-20 George Staikos <staikos@kde.org>
599 Reviewed by Simon Hausmann <hausmann@kde.org>.
601 Add an argument to pass the link text in the hovering signal
606 (QWebPagePrivate::createMainFrame):
607 (QWebPage::mouseMoveEvent):
610 2007-11-20 Adam Treat <treat@kde.org>
612 Reviewed by Simon and George.
614 * Be quiet and allow suppression of NotImplemented calls at runtime.
616 * WebCoreSupport/FrameLoaderClientQt.cpp:
617 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
619 2007-11-19 Adam Treat <treat@kde.org>
623 * Don't segfault when event pos is outside of the widget.
626 (QWebPage::mouseMoveEvent):
627 (QWebPage::mousePressEvent):
628 (QWebPage::mouseDoubleClickEvent):
629 (QWebPage::mouseReleaseEvent):
630 (QWebPage::contextMenuEvent):
632 2007-11-17 Timothy Hatcher <timothy@apple.com>
634 Reviewed by Mark Rowe.
636 Bug 13470: i18n: The Web Inspector is not localizable
637 http://bugs.webkit.org/show_bug.cgi?id=13470
639 * WebCoreSupport/InspectorClientQt.cpp:
640 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
641 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
643 2007-11-13 Geoffrey Garen <ggaren@apple.com>
645 Build fix: changed Shared to RefCounted.
647 * WebCoreSupport/ChromeClientQt.h:
648 * WebCoreSupport/ContextMenuClientQt.cpp:
649 * WebCoreSupport/ContextMenuClientQt.h:
650 * WebCoreSupport/EditorClientQt.h:
651 * WebCoreSupport/FrameLoaderClientQt.h:
653 2007-11-10 Simon Hausmann <hausmann@kde.org>
657 When populating the context menu with sub-menus don't add sub-menus if they're empty.
661 (QWebPagePrivate::createContextMenu):
663 2007-11-10 Simon Hausmann <hausmann@kde.org>
667 Added support for the Bold/Italic/Underline toggle actions.
671 (webActionForContextMenuAction):
672 (QWebPage::triggerAction):
676 2007-11-10 Simon Hausmann <hausmann@kde.org>
680 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
681 to update the enable/checked state correctly.
685 (QWebPagePrivate::createContextMenu):
686 (QWebPage::contextMenuEvent):
689 2007-11-10 Simon Hausmann <hausmann@kde.org>
693 Mark the text direction actions as checkable actions.
699 2007-11-09 Simon Hausmann <hausmann@kde.org>
703 Implemented the webcore actions for changing the text direction.
707 (webActionForContextMenuAction):
708 (QWebPage::triggerAction):
712 2007-11-09 Simon Hausmann <hausmann@kde.org>
716 Fix ContextMenu allocation in the Qt port.
718 Store all items and submenus value based in ContextMenu and ContextMenuItem.
719 That fixes the crashes when the context menu was populated with sub-menus because
720 of the use of temporary ContextMenu objects like this:
722 ContextMenu subMenu(...);
723 subMenu.appendItem(...);
724 subMenu.appendItem(...);
726 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
730 (QWebPage::contextMenuEvent):
733 2007-11-09 Simon Hausmann <hausmann@kde.org>
737 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
743 2007-11-08 Kevin McCullough <kmccullough@apple.com>
747 - windowObjectCleared() is no longer const. It needs to setup the
748 script debugger and cannot be const to do so.
750 * WebCoreSupport/FrameLoaderClientQt.cpp:
751 (WebCore::FrameLoaderClientQt::windowObjectCleared):
752 * WebCoreSupport/FrameLoaderClientQt.h:
754 2007-11-08 Simon Hausmann <hausmann@kde.org>
756 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
758 The buildbots use Qt 4.4 which has the function in question, but Qt
759 4.3 doesn't have it. Use removeAll() as replacement instead, it
760 shouldn't make a difference in performance.
762 * Api/qwebsettings.cpp:
763 (QWebSettings::~QWebSettings):
765 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
767 Reviewed by Lars Knoll <lars@trolltech.com>.
769 Cleanup checking for the request method.
771 * Check the request method only in QWebNetworkManager::add.
772 * Currently HEAD, GET, POST are allowed and for everything else
773 QWebNetworkManager::add returns false.
774 * Returning false is compatible with ResourceHandle::start and it
775 can be used in ResourceHandle::loadResourceSynchronously to generate
779 * Api/qwebnetworkinterface.cpp:
780 (QWebNetworkManager::add):
782 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
784 Reviewed by Lars Knoll <lars@trolltech.com>.
786 Fix bug in the implementation of synchronous network jobs.
788 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
789 - if (jobMode == AsynchronousJob) {
790 + if (jobMode == SynchronousJob) {
791 add job to synchronous list/hash
793 * Just applying the above change will lead to crashes because we can finish
794 jobs before we started them.
796 * Avoid these issues by saving all work (starting a job, sending data and
797 finishing it) inside one list. JobWork will contain any
798 of the above three work types and doWork will just work on this list
799 (m_pendingWork). As foreach takes a copy of the list calling started, data
800 and finished will not add new work and we gurantee that if we have JobStarted
801 it will be in the list before JobData and JobFinished.
803 * Observation: We might just kill the code to handle sync jobs.
806 * Api/qwebnetworkinterface.cpp:
807 (QWebNetworkManager::add):
808 (QWebNetworkManager::queueStart):
809 (QWebNetworkManager::queueData):
810 (QWebNetworkManager::queueFinished):
811 (QWebNetworkManager::doWork):
812 * Api/qwebnetworkinterface_p.h:
813 (QWebNetworkManager::JobWork::):
814 (QWebNetworkManager::JobWork::JobWork):
816 2007-11-07 Simon Hausmann <hausmann@kde.org>
818 Build fix, reviewed by nobody.
820 Fix the Qt build by setting up WindowFeatures before calling
821 createWindow on the Chrome. This is similar to openNewWindow in
822 page/ContextMenuController.cpp
827 2007-11-07 Simon Hausmann <hausmann@kde.org>
831 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
834 (QWebPagePrivate::QWebPagePrivate):
835 * Api/qwebsettings.cpp:
836 (QWebSettingsPrivate::apply):
837 * Api/qwebsettings.h:
839 2007-11-07 Simon Hausmann <hausmann@kde.org>
843 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
845 * Api/qwebpagehistory.cpp:
846 * Api/qwebpagehistory.h:
848 2007-11-07 Simon Hausmann <hausmann@kde.org>
852 Removed unimplemented QWebHistoryItem::children() function
854 * Api/qwebpagehistory.h:
856 2007-11-07 Simon Hausmann <hausmann@kde.org>
860 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
862 * Api/qwebsettings.cpp:
863 (QWebSettings::fontSize):
864 (QWebSettings::fontFamily):
865 (QWebSettings::testAttribute):
867 2007-11-07 Simon Hausmann <hausmann@kde.org>
871 Added explicit functions for resetting the font sizes and font families.
873 * Api/qwebsettings.cpp:
874 (QWebSettings::resetFontSize):
875 (QWebSettings::resetFontFamily):
876 * Api/qwebsettings.h:
878 2007-11-07 Simon Hausmann <hausmann@kde.org>
882 Combined the font sizes accessors/setters under one setter/getter with an enum.
884 * Api/qwebsettings.cpp:
885 (QWebSettingsPrivate::QWebSettingsPrivate):
886 (QWebSettingsPrivate::apply):
887 (QWebSettings::QWebSettings):
888 (QWebSettings::setFontSize):
889 * Api/qwebsettings.h:
891 2007-11-07 Simon Hausmann <hausmann@kde.org>
895 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
899 * WebCoreSupport/FrameLoaderClientQt.cpp:
900 (WebCore::FrameLoaderClientQt::userAgent):
902 2007-11-07 Simon Hausmann <hausmann@kde.org>
906 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
909 (QWebPagePrivate::_q_webActionTriggered):
910 (QWebPage::keyPressEvent):
913 2007-11-07 Simon Hausmann <hausmann@kde.org>
917 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
921 * WebCoreSupport/ChromeClientQt.cpp:
922 (WebCore::ChromeClientQt::setWindowRect):
924 2007-11-07 Simon Hausmann <hausmann@kde.org>
928 Renamed QWebPage::webAction() to QWebPage::action()
931 (QWebPagePrivate::createContextMenu):
933 * QtLauncher/main.cpp:
934 (MainWindow::MainWindow):
936 2007-11-07 Simon Hausmann <hausmann@kde.org>
940 Removed a bunch of slots/functions that are now available through the new actions API.
945 2007-11-07 Simon Hausmann <hausmann@kde.org>
949 Added some more comments to the API after another round of API review with Lars.
953 2007-11-07 Simon Hausmann <hausmann@kde.org>
957 Moved QWebFrame::selectedText() to QWebPage::selectedText().
959 The currently selected text is a property of the page as a whole.
964 (QWebPage::selectedText):
967 2007-11-07 Simon Hausmann <hausmann@kde.org>
971 Implemented support for settings propagation.
973 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
975 * Api/qwebsettings.cpp:
976 (QWebSettingsPrivate::QWebSettingsPrivate):
977 (QWebSettingsPrivate::apply):
978 (QWebSettings::QWebSettings):
979 (QWebSettings::~QWebSettings):
980 (QWebSettings::setFontFamily):
981 * Api/qwebsettings.h:
983 2007-11-07 Simon Hausmann <hausmann@kde.org>
987 Reworked the QWebSettings API.
988 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
991 (QWebPagePrivate::QWebPagePrivate):
992 (QWebPagePrivate::~QWebPagePrivate):
993 (QWebPage::QWebPage):
996 * Api/qwebsettings.cpp:
997 (QWebSettingsPrivate::QWebSettingsPrivate):
998 (QWebSettingsPrivate::apply):
999 (QWebSettings::defaultSettings):
1000 (QWebSettings::QWebSettings):
1001 (QWebSettings::setMinimumFontSize):
1002 (QWebSettings::setMinimumLogicalFontSize):
1003 (QWebSettings::setDefaultFontSize):
1004 (QWebSettings::setDefaultFixedFontSize):
1005 (QWebSettings::setUserStyleSheetLocation):
1006 (QWebSettings::setFontFamily):
1007 (QWebSettings::fontFamily):
1008 (QWebSettings::setAttribute):
1009 * Api/qwebsettings.h:
1010 * QtLauncher/main.cpp:
1013 2007-11-07 Simon Hausmann <hausmann@kde.org>
1017 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
1019 * Api/qwebsettings.cpp:
1020 (QWebSettings::setWebGraphic):
1021 * Api/qwebsettings.h:
1023 2007-11-07 Simon Hausmann <hausmann@kde.org>
1027 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
1029 * Api/qwebsettings.cpp:
1031 2007-11-07 Simon Hausmann <hausmann@kde.org>
1035 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
1037 * Api/qwebsettings.cpp:
1038 * Api/qwebsettings.h:
1040 2007-11-07 Simon Hausmann <hausmann@kde.org>
1044 Changed the webAction() accessor to not be a slot but just a public function.
1048 2007-11-07 Simon Hausmann <hausmann@kde.org>
1052 Implemented createWindow() in QtLauncher.
1054 * QtLauncher/main.cpp:
1056 (MainWindow::MainWindow):
1057 (WebPage::createWindow):
1059 2007-11-07 Simon Hausmann <hausmann@kde.org>
1063 Implemented opening links in new windows
1068 (QWebPage::webActionTriggered):
1070 2007-11-07 Simon Hausmann <hausmann@kde.org>
1074 Added and implemented the "OpenLink" action.
1077 (webActionForContextMenuAction):
1078 (QWebPage::webActionTriggered):
1079 (QWebPage::webAction):
1082 2007-11-07 Simon Hausmann <hausmann@kde.org>
1086 Adjust the state of the reload action correctly.
1089 (QWebPagePrivate::updateAction):
1090 (QWebPagePrivate::updateNavigationActions):
1092 2007-11-07 Simon Hausmann <hausmann@kde.org>
1096 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
1099 (QWebPagePrivate::updateAction):
1100 (QWebPage::webAction):
1101 (QWebPage::undoStack):
1104 2007-11-07 Simon Hausmann <hausmann@kde.org>
1108 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
1110 * QtLauncher/main.cpp:
1111 (MainWindow::MainWindow):
1113 2007-11-07 Simon Hausmann <hausmann@kde.org>
1117 Update the editor actions when the selection changes.
1120 (QWebPagePrivate::updateAction):
1121 (QWebPagePrivate::updateEditorActions):
1123 * WebCoreSupport/EditorClientQt.cpp:
1124 (WebCore::EditorClientQt::respondToChangedSelection):
1126 2007-11-07 Simon Hausmann <hausmann@kde.org>
1130 Added cut/copy/paste actions to the toolbar of QtLauncher
1132 * QtLauncher/main.cpp:
1133 (MainWindow::MainWindow):
1135 2007-11-07 Simon Hausmann <hausmann@kde.org>
1139 Started working on keeping the state of the navigation actions up-to-date.
1142 (QWebPagePrivate::updateAction):
1143 (QWebPagePrivate::updateNavigationActions):
1144 (QWebPage::webAction):
1146 * WebCoreSupport/FrameLoaderClientQt.cpp:
1147 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1148 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1149 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1150 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1151 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1153 2007-11-07 Simon Hausmann <hausmann@kde.org>
1157 Use the navigational web actions in the toolbar
1159 * QtLauncher/main.cpp:
1160 (MainWindow::MainWindow):
1162 2007-11-07 Simon Hausmann <hausmann@kde.org>
1166 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
1167 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
1170 (QWebPagePrivate::QWebPagePrivate):
1171 (webActionForContextMenuAction):
1172 (QWebPagePrivate::createContextMenu):
1173 (QWebPagePrivate::_q_webActionTriggered):
1174 (QWebPage::webActionTriggered):
1175 (QWebPage::webAction):
1176 (QWebPage::contextMenuEvent):
1177 (QWebPageContext::QWebPageContext):
1178 (QWebPageContext::operator=):
1179 (QWebPageContext::~QWebPageContext):
1180 (QWebPageContext::pos):
1181 (QWebPageContext::text):
1182 (QWebPageContext::linkUrl):
1183 (QWebPageContext::imageUrl):
1184 (QWebPageContext::image):
1185 (QWebPageContext::targetFrame):
1189 2007-11-07 Simon Hausmann <hausmann@kde.org>
1193 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
1196 (QWebPage::webActionTriggered):
1197 (QWebPage::keyPressEvent):
1200 2007-11-07 Simon Hausmann <hausmann@kde.org>
1204 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
1205 convenience methods such as cut()/copy()/paste().
1209 (QWebPage::webActionTriggered):
1214 2007-11-07 Simon Hausmann <hausmann@kde.org>
1218 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
1219 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
1220 in ContextMenu::populate().
1221 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
1222 out of it. That menu is currently not functional anymore though.
1225 (QWebPagePrivate::createContextMenu):
1226 (QWebPage::contextMenuEvent):
1229 2007-11-07 Simon Hausmann <hausmann@kde.org>
1233 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
1234 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
1235 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
1239 (QWebPage::contextMenuEvent):
1240 * WebCoreSupport/ContextMenuClientQt.cpp:
1241 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1243 2007-11-07 Simon Hausmann <hausmann@kde.org>
1247 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
1248 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
1251 (QWebPage::mousePressEvent):
1252 (QWebPage::contextMenuEvent):
1255 2007-11-07 Simon Hausmann <hausmann@kde.org>
1259 Turned onLoadProgressChanged into a real private slot.
1262 (QWebPage::QWebPage):
1266 2007-11-07 Simon Hausmann <hausmann@kde.org>
1270 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1273 (QWebPagePrivate::QWebPagePrivate):
1276 * Api/qwebpagehistory.cpp:
1277 (QWebPageHistory::QWebPageHistory):
1278 * Api/qwebpagehistory.h:
1280 2007-11-07 Lars Knoll <lars@trolltech.com>
1284 comments on API changes that we'd like to do.
1288 2007-11-07 Simon Hausmann <hausmann@kde.org>
1290 Reviewed by Lars Knoll <lars@trolltech.com>.
1292 Add a QWebPage::frameCreated() signal and fix DRT
1294 The removal of createFrame in QWebPage broke the re-implementation
1295 in DumpRenderTree. Instead emit a frameCreated() signal and
1296 connect to it in DumpRenderTree.
1300 (QWebPagePrivate::createMainFrame):
1302 * WebCoreSupport/FrameLoaderClientQt.cpp:
1303 (WebCore::FrameLoaderClientQt::createFrame):
1305 2007-11-07 Lars Knoll <lars@trolltech.com>
1309 Remove QWebPage::createFrame()
1311 now that QWebFrame doesn't have virtual methods anymore, there
1312 is no need for a createFrame() factory method in QWebpage.
1315 (QWebPagePrivate::createMainFrame):
1317 * WebCoreSupport/FrameLoaderClientQt.cpp:
1318 (WebCore::FrameLoaderClientQt::createFrame):
1320 2007-11-07 Simon Hausmann <hausmann@kde.org>
1322 Reviewed by Lars Knoll <lars@trolltech.com>.
1324 Moved all the event handlers from QWebFrame into QWebPage.
1326 This cleans up the public API and allows us to remove the
1327 HackWebFrame hack in DumpRenderTree.
1330 * Api/qwebframe.cpp:
1333 * Api/qwebframe_p.h:
1335 (QWebPagePrivate::frameAt):
1336 (QWebPage::mouseMoveEvent):
1337 (QWebPage::mousePressEvent):
1338 (QWebPage::mouseDoubleClickEvent):
1339 (QWebPage::mouseReleaseEvent):
1340 (QWebPage::wheelEvent):
1343 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
1345 Reviewed by Lars Knoll <lars@trolltech.com>.
1347 Use correct UserAgent string.
1349 * Only have one User Agent String and this place is QWebPage
1350 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
1351 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
1352 * ResourceRequest is != 0 when getting called from WebCore, we
1353 will only do requests when coming from WebCore and then we can
1354 use the User-Agent set with the help of the FrameLoaderClient
1355 * We might want to change QWebNetworkRequest a bit
1358 * Api/qwebnetworkinterface.cpp:
1359 (QWebNetworkRequestPrivate::init):
1361 2007-11-07 Lars Knoll <lars@trolltech.com>
1365 remove two notImplemented() warnings, as I believe we don't
1366 have to implement these methods. Add some (commented out)
1367 debug code in one place.
1369 * WebCoreSupport/EditorClientQt.cpp:
1370 (WebCore::EditorClientQt::respondToChangedSelection):
1371 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1373 2007-11-05 Tristan O'Tierney <tristan@apple.com>
1375 Reviewed by Darin Adler.
1377 * WebCoreSupport/ChromeClientQt.cpp:
1378 (WebCore::ChromeClientQt::createWindow):
1379 * WebCoreSupport/ChromeClientQt.h:
1380 Revised to use new WebCore ChromeClient createWindow API.
1382 2007-10-31 Lars Knoll <lars@trolltech.com>
1386 fix most of the issues I found with Clipboard and DnD.
1389 (QWebPage::dragLeaveEvent):
1391 2007-10-31 Lars Knoll <lars@trolltech.com>
1395 QDrag objects need to be created on the heap.
1397 * WebCoreSupport/DragClientQt.cpp:
1398 (WebCore::DragClientQt::startDrag):
1400 2007-10-31 Lars Knoll <lars@trolltech.com>
1404 a dragLeave event is not the same as cancelling a drag.
1408 2007-10-26 Mark Rowe <mrowe@apple.com>
1410 Build fix. Add missing #include of Platform.h.
1412 * Api/qwebhistoryinterface.cpp:
1414 2007-10-25 Holger Freyther <zecke@selfish.org>
1416 Reviewed by Simon Hausmann <hausmann@kde.org>.
1418 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
1419 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
1420 * This is causing some regressions...
1423 * Api/qwebnetworkinterface.cpp:
1424 (QWebNetworkManager::started):
1425 (QWebNetworkInterface::addJob):
1427 2007-10-25 Holger Freyther <zecke@selfish.org>
1429 Reviewed by Simon Hausmann <hausmann@kde.org>.
1431 * 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.
1432 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
1435 * Api/qwebnetworkinterface.cpp:
1436 (QWebNetworkManager::started):
1438 2007-10-25 Holger Freyther <zecke@selfish.org>
1440 Reviewed by Simon Hausmann <hausmann@kde.org>.
1442 * 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.
1443 * Use the error message from Qt. It might or might not be translated.
1446 * Api/qwebnetworkinterface.cpp:
1447 (QWebNetworkJob::errorString):
1448 (QWebNetworkJob::setErrorString):
1449 (QWebNetworkManager::finished):
1450 (QWebNetworkManager::doWork):
1451 (WebCoreHttp::onRequestFinished):
1452 * Api/qwebnetworkinterface.h:
1453 * Api/qwebnetworkinterface_p.h:
1455 2007-10-25 Holger Freyther <zecke@selfish.org>
1457 Reviewed by Simon Hausmann <hausmann@kde.org>.
1459 * 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.
1460 * 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.
1463 * Api/qwebnetworkinterface.cpp:
1464 (QWebNetworkManager::doWork):
1466 2007-10-25 Holger Freyther <zecke@selfish.org>
1468 Reviewed by Simon Hausmann <hausmann@kde.org>.
1470 * No need to initialize values in the QWebNetworkJob c'tor
1471 * 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.
1474 * Api/qwebnetworkinterface.cpp:
1475 (QWebNetworkJob::status):
1476 (QWebNetworkJob::setStatus):
1477 (QWebNetworkManager::started):
1478 (QWebNetworkManager::data):
1479 (QWebNetworkManager::finished):
1480 * Api/qwebnetworkinterface.h:
1481 * Api/qwebnetworkinterface_p.h:
1482 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1484 2007-10-25 Holger Freyther <zecke@selfish.org>
1486 Reviewed by Simon Hausmann <hausmann@kde.org>.
1488 * Consistency: Always name the jobs job.
1491 * Api/qwebnetworkinterface.cpp:
1492 (WebCoreHttp::onReadyRead):
1493 (WebCoreHttp::onRequestFinished):
1494 (WebCoreHttp::onSslErrors):
1495 (WebCoreHttp::onAuthenticationRequired):
1496 (WebCoreHttp::onProxyAuthenticationRequired):
1498 2007-10-25 Holger Freyther <zecke@selfish.org>
1500 Reviewed by Simon Hausmann <hausmann@kde.org>.
1502 * 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.
1503 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
1506 * Api/qwebnetworkinterface.cpp:
1507 (QWebNetworkJob::~QWebNetworkJob):
1508 (QWebNetworkManager::QWebNetworkManager):
1509 (QWebNetworkManager::self):
1510 (QWebNetworkManager::add):
1511 (QWebNetworkManager::started):
1512 (QWebNetworkManager::finished):
1513 (QWebNetworkInterfacePrivate::sendFileData):
1514 (QWebNetworkInterfacePrivate::parseDataUrl):
1515 (QWebNetworkManager::queueStart):
1516 (QWebNetworkManager::queueData):
1517 (QWebNetworkManager::queueFinished):
1518 (QWebNetworkManager::doScheduleWork):
1519 (QWebNetworkManager::doWork):
1520 (gCleanupInterface):
1521 (QWebNetworkInterface::setDefaultInterface):
1522 (QWebNetworkInterface::defaultInterface):
1523 (QWebNetworkInterface::QWebNetworkInterface):
1524 (QWebNetworkInterface::started):
1525 (QWebNetworkInterface::data):
1526 (QWebNetworkInterface::finished):
1527 (WebCoreHttp::scheduleNextRequest):
1528 (WebCoreHttp::onResponseHeaderReceived):
1529 (WebCoreHttp::onReadyRead):
1530 (WebCoreHttp::onRequestFinished):
1531 (WebCoreHttp::cancel):
1532 * Api/qwebnetworkinterface.h:
1533 * Api/qwebnetworkinterface_p.h:
1534 (QWebNetworkManager::):
1535 (QWebNetworkManager::JobData::JobData):
1536 (QWebNetworkManager::JobFinished::JobFinished):
1538 2007-10-25 Holger Freyther <zecke@selfish.org>
1540 Reviewed by Simon Hausmann <hausmann@kde.org>.
1542 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
1543 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
1544 * We pass the char-decoding.html test now
1547 * Api/qwebnetworkinterface.cpp:
1548 (decodePercentEncoding):
1549 (QWebNetworkInterfacePrivate::parseDataUrl):
1551 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
1553 Reviewed by Lars Knoll <lars@trolltech.com>.
1555 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
1558 * WebCoreSupport/EditorClientQt.cpp:
1559 (WebCore::EditorClientQt::handleKeypress):
1561 2007-10-24 Lars Knoll <lars@trolltech.com>
1565 remove some notImplemented() warnings.
1567 * WebCoreSupport/EditorClientQt.cpp:
1568 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1569 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1570 (WebCore::EditorClientQt::respondToChangedSelection):
1572 2007-10-24 Lars Knoll <lars@trolltech.com>
1576 allow paste from DOM so we pass more test cases.
1579 (QWebPage::setSettings):
1581 2007-10-24 Lars Knoll <lars@trolltech.com>
1585 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
1588 (QWebPage::keyPressEvent):
1589 (QWebPage::keyReleaseEvent):
1591 2007-10-24 Lars Knoll <lars@trolltech.com>
1595 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1597 * WebCoreSupport/EditorClientQt.cpp:
1598 (qt_dump_editing_callbacks):
1601 2007-10-24 Lars Knoll <lars@trolltech.com>
1605 implemented support for most editing shortcuts to make contentEditable usable.
1608 (QWebPage::keyPressEvent):
1610 2007-10-24 Lars Knoll <lars@trolltech.com>
1614 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1617 (QWebPage::focusInEvent):
1619 2007-10-24 Lars Knoll <lars@trolltech.com>
1623 Implement support for testing editing.
1625 * WebCoreSupport/EditorClientQt.cpp:
1626 (qt_dump_editing_callbacks):
1627 (qt_dump_set_accepts_editing):
1630 (WebCore::EditorClientQt::shouldDeleteRange):
1631 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1632 (WebCore::EditorClientQt::shouldBeginEditing):
1633 (WebCore::EditorClientQt::shouldEndEditing):
1634 (WebCore::EditorClientQt::shouldInsertText):
1635 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1636 (WebCore::EditorClientQt::shouldApplyStyle):
1637 (WebCore::EditorClientQt::didBeginEditing):
1638 (WebCore::EditorClientQt::respondToChangedContents):
1639 (WebCore::EditorClientQt::respondToChangedSelection):
1640 (WebCore::EditorClientQt::didEndEditing):
1641 (WebCore::EditorClientQt::shouldInsertNode):
1643 2007-10-19 Alp Toker <alp@atoker.com>
1647 GTK+ build fix enabling the new local database storage feature.
1648 There is also a prospective Qt build fix.
1650 * WebCoreSupport/ChromeClientQt.cpp:
1651 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1652 * WebCoreSupport/ChromeClientQt.h:
1654 2007-10-19 Simon Hausmann <hausmann@kde.org>
1656 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1657 that config.h is included before wtf/MathExtras. The former defines
1658 the MSVC defines for rand_s.
1660 * WebCoreSupport/FrameLoaderClientQt.cpp:
1662 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1666 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1668 * Api/qwebframe.cpp:
1671 2007-10-10 Alice Liu <alice.liu@apple.com>
1673 Reviewed by Geoff Garen.
1675 changes to keep the build from breaking
1677 * WebCoreSupport/FrameLoaderClientQt.cpp:
1678 (WebCore::FrameLoaderClientQt::createFrame):
1679 * WebCoreSupport/FrameLoaderClientQt.h:
1681 2007-10-09 Lars Knoll <lars@trolltech.com>
1685 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1688 (QWebPage::setSettings):
1690 2007-10-09 Lars Knoll <lars@trolltech.com>
1694 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1696 * Api/qwebnetworkinterface.cpp:
1697 (QWebNetworkManager::add):
1698 (QWebNetworkManager::cancel):
1699 (QWebNetworkManager::started):
1700 (QWebNetworkManager::data):
1701 (QWebNetworkInterfacePrivate::parseDataUrl):
1703 2007-10-09 Lars Knoll <lars@trolltech.com>
1707 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.
1710 (QWebPagePrivate::createMainFrame):
1711 (QWebPage::createFrame):
1712 * WebCoreSupport/FrameLoaderClientQt.cpp:
1713 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1714 * WebCoreSupport/FrameLoaderClientQt.h:
1716 2007-10-09 Lars Knoll <lars@trolltech.com>
1720 add a clear() method to QWebPageHistory.
1722 * Api/qwebpagehistory.cpp:
1723 (QWebPageHistory::clear):
1724 (QWebPageHistory::itemAtIndex):
1725 * Api/qwebpagehistory.h:
1727 2007-10-05 Lars Knoll <lars@trolltech.com>
1729 add proper error messages to the FrameLoaderClient.
1730 Implement ChromeClientQt::closeWindowSoon and
1731 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1732 Some fixes in DRT to make it work correctly with multiple windows.
1737 * Api/qwebnetworkinterface.cpp:
1738 (QWebNetworkManager::cancel):
1739 (QWebNetworkInterface::addJob):
1740 * WebCoreSupport/ChromeClientQt.cpp:
1741 (WebCore::ChromeClientQt::closeWindowSoon):
1742 * WebCoreSupport/FrameLoaderClientQt.cpp:
1743 (WebCore::FrameLoaderClientQt::cancelledError):
1745 (WebCore::FrameLoaderClientQt::blockedError):
1746 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1747 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1748 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1749 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1751 2007-10-03 Lars Knoll <lars@trolltech.com>
1753 Signed off by Olliej.
1755 move WebKitQt to WebKit/qt for consistency with the other ports.
1757 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1758 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1759 (QCookieJarPrivate::QCookieJarPrivate):
1761 (QCookieJar::QCookieJar):
1762 (QCookieJar::~QCookieJar):
1763 (QCookieJar::setCookies):
1764 (QCookieJar::cookies):
1765 (QCookieJar::isEnabled):
1766 (QCookieJar::setEnabled):
1768 (QCookieJar::setCookieJar):
1769 (QCookieJar::cookieJar):
1770 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1771 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1772 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1773 (QWebFramePrivate::init):
1774 (QWebFramePrivate::parentFrame):
1775 (QWebFramePrivate::horizontalScrollBar):
1776 (QWebFramePrivate::verticalScrollBar):
1777 (QWebFrame::QWebFrame):
1778 (QWebFrame::~QWebFrame):
1779 (QWebFrame::addToJSWindowObject):
1780 (QWebFrame::markup):
1781 (QWebFrame::innerText):
1782 (QWebFrame::renderTreeDump):
1786 (QWebFrame::selectedText):
1787 (QWebFrame::childFrames):
1788 (QWebFrame::verticalScrollBarPolicy):
1789 (QWebFrame::setVerticalScrollBarPolicy):
1790 (QWebFrame::horizontalScrollBarPolicy):
1791 (QWebFrame::setHorizontalScrollBarPolicy):
1792 (QWebFrame::render):
1793 (QWebFrame::layout):
1795 (QWebFrame::geometry):
1796 (QWebFrame::evaluateJavaScript):
1797 (QWebFrame::mouseMoveEvent):
1798 (QWebFrame::mousePressEvent):
1799 (QWebFrame::mouseDoubleClickEvent):
1800 (QWebFrame::mouseReleaseEvent):
1801 (QWebFrame::wheelEvent):
1802 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1803 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1804 (QWebFramePrivate::QWebFramePrivate):
1805 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1806 (WebCore::historyContains):
1807 (gCleanupInterface):
1808 (QWebHistoryInterface::setDefaultInterface):
1809 (QWebHistoryInterface::defaultInterface):
1810 (QWebHistoryInterface::QWebHistoryInterface):
1811 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1812 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1813 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1816 (QWebNetworkRequestPrivate::init):
1817 (QWebNetworkRequestPrivate::setURL):
1818 (QWebNetworkRequest::QWebNetworkRequest):
1819 (QWebNetworkRequest::operator=):
1820 (QWebNetworkRequest::~QWebNetworkRequest):
1821 (QWebNetworkRequest::url):
1822 (QWebNetworkRequest::setUrl):
1823 (QWebNetworkRequest::httpHeader):
1824 (QWebNetworkRequest::setHttpHeader):
1825 (QWebNetworkRequest::httpHeaderField):
1826 (QWebNetworkRequest::setHttpHeaderField):
1827 (QWebNetworkRequest::postData):
1828 (QWebNetworkRequest::setPostData):
1829 (QWebNetworkJob::QWebNetworkJob):
1830 (QWebNetworkJob::~QWebNetworkJob):
1831 (QWebNetworkJob::url):
1832 (QWebNetworkJob::postData):
1833 (QWebNetworkJob::httpHeader):
1834 (QWebNetworkJob::request):
1835 (QWebNetworkJob::response):
1836 (QWebNetworkJob::setResponse):
1837 (QWebNetworkJob::cancelled):
1838 (QWebNetworkJob::ref):
1839 (QWebNetworkJob::deref):
1840 (QWebNetworkJob::networkInterface):
1841 (QWebNetworkJob::frame):
1842 (QWebNetworkManager::QWebNetworkManager):
1843 (QWebNetworkManager::self):
1844 (QWebNetworkManager::add):
1845 (QWebNetworkManager::cancel):
1846 (QWebNetworkManager::started):
1847 (QWebNetworkManager::data):
1848 (QWebNetworkManager::finished):
1849 (QWebNetworkManager::addHttpJob):
1850 (QWebNetworkManager::cancelHttpJob):
1851 (QWebNetworkManager::httpConnectionClosed):
1852 (QWebNetworkInterfacePrivate::sendFileData):
1853 (QWebNetworkInterfacePrivate::parseDataUrl):
1854 (gCleanupInterface):
1855 (QWebNetworkInterface::setDefaultInterface):
1856 (QWebNetworkInterface::defaultInterface):
1857 (QWebNetworkInterface::QWebNetworkInterface):
1858 (QWebNetworkInterface::~QWebNetworkInterface):
1859 (QWebNetworkInterface::addJob):
1860 (QWebNetworkInterface::cancelJob):
1861 (WebCoreHttp::WebCoreHttp):
1862 (WebCoreHttp::~WebCoreHttp):
1863 (WebCoreHttp::request):
1864 (WebCoreHttp::scheduleNextRequest):
1865 (WebCoreHttp::getConnection):
1866 (WebCoreHttp::onResponseHeaderReceived):
1867 (WebCoreHttp::onReadyRead):
1868 (WebCoreHttp::onRequestFinished):
1869 (WebCoreHttp::onDone):
1870 (WebCoreHttp::onStateChanged):
1871 (WebCoreHttp::cancel):
1872 (WebCoreHttp::onSslErrors):
1873 (WebCoreHttp::onAuthenticationRequired):
1874 (WebCoreHttp::onProxyAuthenticationRequired):
1875 (HostInfo::HostInfo):
1876 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1877 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1878 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1879 (WebCore::HostInfo::HostInfo):
1880 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1881 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1882 (QWebFactoryLoader::QWebFactoryLoader):
1883 (QWebFactoryLoader::self):
1884 (QWebFactoryLoader::descriptionForName):
1885 (QWebFactoryLoader::mimetypesForName):
1886 (QWebFactoryLoader::mimeTypeForExtension):
1887 (QWebFactoryLoader::extensions):
1888 (QWebFactoryLoader::nameForMimetype):
1889 (QWebFactoryLoader::create):
1890 (QWebObjectPlugin::QWebObjectPlugin):
1891 (QWebObjectPlugin::~QWebObjectPlugin):
1892 (QWebObjectPlugin::descriptionForKey):
1893 (QWebObjectPlugin::mimetypesForKey):
1894 (QWebObjectPlugin::extensionsForMimetype):
1895 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1896 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1897 (QWebFactoryLoader::names):
1898 (QWebFactoryLoader::supportsMimeType):
1899 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1900 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1901 (QWebObjectPluginConnector::frame):
1902 (QWebObjectPluginConnector::pluginParentWidget):
1903 (QWebObjectPluginConnector::requestUrl):
1904 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1905 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1906 (QWebPagePrivate::QWebPagePrivate):
1907 (QWebPagePrivate::~QWebPagePrivate):
1908 (QWebPagePrivate::navigationRequested):
1909 (QWebPagePrivate::createMainFrame):
1910 (QWebPage::QWebPage):
1911 (QWebPage::~QWebPage):
1912 (QWebPage::createFrame):
1916 (QWebPage::mainFrame):
1917 (QWebPage::sizeHint):
1919 (QWebPage::history):
1921 (QWebPage::goForward):
1922 (QWebPage::goToHistoryItem):
1923 (QWebPage::javaScriptConsoleMessage):
1924 (QWebPage::javaScriptAlert):
1925 (QWebPage::javaScriptConfirm):
1926 (QWebPage::javaScriptPrompt):
1927 (QWebPage::createWindow):
1928 (QWebPage::createModalDialog):
1929 (QWebPage::createPlugin):
1930 (QWebPage::navigationRequested):
1931 (QWebPage::setWindowGeometry):
1933 (QWebPage::canCopy):
1934 (QWebPage::canPaste):
1938 (QWebPage::isModified):
1939 (QWebPage::undoStack):
1940 (dropActionToDragOp):
1941 (dragOpToDropAction):
1942 (QWebPage::resizeEvent):
1943 (QWebPage::paintEvent):
1944 (QWebPage::mouseMoveEvent):
1945 (QWebPage::mousePressEvent):
1946 (QWebPage::mouseDoubleClickEvent):
1947 (QWebPage::mouseReleaseEvent):
1948 (QWebPage::wheelEvent):
1949 (QWebPage::keyPressEvent):
1950 (QWebPage::keyReleaseEvent):
1951 (QWebPage::focusInEvent):
1952 (QWebPage::focusOutEvent):
1953 (QWebPage::focusNextPrevChild):
1954 (QWebPage::dragEnterEvent):
1955 (QWebPage::dragLeaveEvent):
1956 (QWebPage::dragMoveEvent):
1957 (QWebPage::dropEvent):
1958 (QWebPage::setNetworkInterface):
1959 (QWebPage::networkInterface):
1961 (QWebPage::setSettings):
1962 (QWebPage::settings):
1963 (QWebPage::chooseFile):
1964 (QWebPage::setNetworkProxy):
1965 (QWebPage::networkProxy):
1966 (QWebPage::userAgentStringForUrl):
1967 (QWebPage::onLoadProgressChanged):
1968 (QWebPage::totalBytes):
1969 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1970 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1971 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1972 (QWebHistoryItem::QWebHistoryItem):
1973 (QWebHistoryItem::operator=):
1974 (QWebHistoryItem::~QWebHistoryItem):
1975 (QWebHistoryItem::originalUrl):
1976 (QWebHistoryItem::currentUrl):
1977 (QWebHistoryItem::title):
1978 (QWebHistoryItem::lastVisited):
1979 (QWebHistoryItem::icon):
1980 (QWebPageHistory::QWebPageHistory):
1981 (QWebPageHistory::itemAtIndex):
1982 (QWebPageHistory::operator=):
1983 (QWebPageHistory::~QWebPageHistory):
1984 (QWebPageHistory::items):
1985 (QWebPageHistory::backItems):
1986 (QWebPageHistory::forwardItems):
1987 (QWebPageHistory::canGoBack):
1988 (QWebPageHistory::canGoForward):
1989 (QWebPageHistory::goBack):
1990 (QWebPageHistory::goForward):
1991 (QWebPageHistory::goToItem):
1992 (QWebPageHistory::backItem):
1993 (QWebPageHistory::currentItem):
1994 (QWebPageHistory::forwardItem):
1995 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1996 (QExplicitlySharedDataPointer::operator*):
1997 (QExplicitlySharedDataPointer::operator->):
1998 (QExplicitlySharedDataPointer::operator T *):
1999 (QExplicitlySharedDataPointer::operator const T *):
2000 (QExplicitlySharedDataPointer::data):
2001 (QExplicitlySharedDataPointer::constData):
2002 (QExplicitlySharedDataPointer::operator==):
2003 (QExplicitlySharedDataPointer::operator!=):
2004 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
2005 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
2006 (QExplicitlySharedDataPointer::operator=):
2007 (QExplicitlySharedDataPointer::operator!):
2008 (::QExplicitlySharedDataPointer):
2009 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
2010 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
2011 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
2012 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
2013 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
2014 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
2015 (QWebSettingsPrivate::QWebSettingsPrivate):
2016 (QWebSettings::QWebSettings):
2017 (QWebSettings::~QWebSettings):
2018 (QWebSettings::setMinimumFontSize):
2019 (QWebSettings::minimumFontSize):
2020 (QWebSettings::setMinimumLogicalFontSize):
2021 (QWebSettings::minimumLogicalFontSize):
2022 (QWebSettings::setDefaultFontSize):
2023 (QWebSettings::defaultFontSize):
2024 (QWebSettings::setDefaultFixedFontSize):
2025 (QWebSettings::defaultFixedFontSize):
2026 (QWebSettings::setUserStyleSheetLocation):
2027 (QWebSettings::userStyleSheetLocation):
2028 (QWebSettings::setIconDatabaseEnabled):
2029 (QWebSettings::iconDatabaseEnabled):
2030 (QWebSettings::setWebGraphic):
2031 (QWebSettings::webGraphic):
2032 (QWebSettings::operator=):
2033 (QWebSettings::setGlobal):
2034 (QWebSettings::global):
2035 (QWebSettings::setFontFamily):
2036 (QWebSettings::fontFamily):
2037 (QWebSettings::setAttribute):
2038 (QWebSettings::testAttribute):
2039 (loadResourcePixmap):
2040 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
2041 * ChangeLog: Renamed from WebKitQt/ChangeLog.
2042 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
2043 (IcoHeader::operator >>):
2044 (IcoHeader::BMP_INFOHDR::):
2045 (IcoHeader::operator<<):
2046 (IcoHeader::LessDifference::LessDifference):
2047 (IcoHeader::LessDifference::operator ()):
2048 (IcoHeader::loadFromDIB):
2049 (ICOHandler::ICOHandler):
2050 (ICOHandler::canRead):
2052 (ICOHandler::write):
2055 (ICOPlugin::capabilities):
2056 (ICOPlugin::create):
2057 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
2058 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
2059 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
2060 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
2061 (HoverLabel::HoverLabel):
2062 (HoverLabel::setHoverLink):
2063 (HoverLabel::sizeForFont):
2064 (HoverLabel::sizeHint):
2065 (HoverLabel::updateSize):
2066 (HoverLabel::resetAnimation):
2067 (HoverLabel::paintEvent):
2068 (HoverLabel::interpolate):
2069 (ClearButton::ClearButton):
2070 (ClearButton::paintEvent):
2071 (SearchEdit::SearchEdit):
2072 (SearchEdit::~SearchEdit):
2073 (SearchEdit::paintEvent):
2074 (SearchEdit::resizeEvent):
2075 (SearchEdit::moveEvent):
2076 (MainWindow::MainWindow):
2077 (MainWindow::changeLocation):
2078 (MainWindow::loadFinished):
2079 (MainWindow::showLinkHover):
2080 (MainWindow::resizeEvent):
2082 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
2083 (WebCore::ChromeClientQt::ChromeClientQt):
2084 (WebCore::ChromeClientQt::~ChromeClientQt):
2085 (WebCore::ChromeClientQt::setWindowRect):
2086 (WebCore::ChromeClientQt::windowRect):
2087 (WebCore::ChromeClientQt::pageRect):
2088 (WebCore::ChromeClientQt::scaleFactor):
2089 (WebCore::ChromeClientQt::focus):
2090 (WebCore::ChromeClientQt::unfocus):
2091 (WebCore::ChromeClientQt::canTakeFocus):
2092 (WebCore::ChromeClientQt::takeFocus):
2093 (WebCore::ChromeClientQt::createWindow):
2094 (WebCore::ChromeClientQt::createModalDialog):
2095 (WebCore::ChromeClientQt::show):
2096 (WebCore::ChromeClientQt::canRunModal):
2097 (WebCore::ChromeClientQt::runModal):
2098 (WebCore::ChromeClientQt::setToolbarsVisible):
2099 (WebCore::ChromeClientQt::toolbarsVisible):
2100 (WebCore::ChromeClientQt::setStatusbarVisible):
2101 (WebCore::ChromeClientQt::statusbarVisible):
2102 (WebCore::ChromeClientQt::setScrollbarsVisible):
2103 (WebCore::ChromeClientQt::scrollbarsVisible):
2104 (WebCore::ChromeClientQt::setMenubarVisible):
2105 (WebCore::ChromeClientQt::menubarVisible):
2106 (WebCore::ChromeClientQt::setResizable):
2107 (WebCore::ChromeClientQt::addMessageToConsole):
2108 (WebCore::ChromeClientQt::chromeDestroyed):
2109 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2110 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2111 (WebCore::ChromeClientQt::closeWindowSoon):
2112 (WebCore::ChromeClientQt::runJavaScriptAlert):
2113 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2114 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2115 (WebCore::ChromeClientQt::setStatusbarText):
2116 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
2117 (WebCore::ChromeClientQt::tabsToLinks):
2118 (WebCore::ChromeClientQt::windowResizerRect):
2119 (WebCore::ChromeClientQt::addToDirtyRegion):
2120 (WebCore::ChromeClientQt::scrollBackingStore):
2121 (WebCore::ChromeClientQt::updateBackingStore):
2122 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2123 (WebCore::ChromeClientQt::setToolTip):
2124 (WebCore::ChromeClientQt::print):
2125 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
2126 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
2127 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
2128 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2129 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
2130 (WebCore::ContextMenuClientQt::downloadURL):
2131 (WebCore::ContextMenuClientQt::lookUpInDictionary):
2132 (WebCore::ContextMenuClientQt::speak):
2133 (WebCore::ContextMenuClientQt::stopSpeaking):
2134 (WebCore::ContextMenuClientQt::searchWithGoogle):
2135 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
2136 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
2137 (WebCore::DragClientQt::actionMaskForDrag):
2138 (WebCore::DragClientQt::willPerformDragDestinationAction):
2139 (WebCore::DragClientQt::dragControllerDestroyed):
2140 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
2141 (WebCore::DragClientQt::willPerformDragSourceAction):
2142 (WebCore::DragClientQt::startDrag):
2143 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
2144 (WebCore::DragClientQt::DragClientQt):
2145 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
2146 (EditCommandQt::EditCommandQt):
2147 (EditCommandQt::~EditCommandQt):
2148 (EditCommandQt::redo):
2149 (EditCommandQt::undo):
2150 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
2151 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
2152 (WebCore::EditorClientQt::shouldDeleteRange):
2153 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2154 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2155 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2156 (WebCore::EditorClientQt::spellCheckerDocumentTag):
2157 (WebCore::EditorClientQt::shouldBeginEditing):
2158 (WebCore::EditorClientQt::shouldEndEditing):
2159 (WebCore::EditorClientQt::shouldInsertText):
2160 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2161 (WebCore::EditorClientQt::shouldApplyStyle):
2162 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2163 (WebCore::EditorClientQt::didBeginEditing):
2164 (WebCore::EditorClientQt::respondToChangedContents):
2165 (WebCore::EditorClientQt::respondToChangedSelection):
2166 (WebCore::EditorClientQt::didEndEditing):
2167 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2168 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
2169 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
2170 (WebCore::EditorClientQt::isEditable):
2171 (WebCore::EditorClientQt::registerCommandForUndo):
2172 (WebCore::EditorClientQt::registerCommandForRedo):
2173 (WebCore::EditorClientQt::clearUndoRedoOperations):
2174 (WebCore::EditorClientQt::canUndo):
2175 (WebCore::EditorClientQt::canRedo):
2176 (WebCore::EditorClientQt::undo):
2177 (WebCore::EditorClientQt::redo):
2178 (WebCore::EditorClientQt::shouldInsertNode):
2179 (WebCore::EditorClientQt::pageDestroyed):
2180 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
2181 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
2182 (WebCore::EditorClientQt::toggleGrammarChecking):
2183 (WebCore::EditorClientQt::handleKeypress):
2184 (WebCore::EditorClientQt::handleInputMethodKeypress):
2185 (WebCore::EditorClientQt::EditorClientQt):
2186 (WebCore::EditorClientQt::textFieldDidBeginEditing):
2187 (WebCore::EditorClientQt::textFieldDidEndEditing):
2188 (WebCore::EditorClientQt::textDidChangeInTextField):
2189 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
2190 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
2191 (WebCore::EditorClientQt::textDidChangeInTextArea):
2192 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
2193 (WebCore::EditorClientQt::learnWord):
2194 (WebCore::EditorClientQt::checkSpellingOfString):
2195 (WebCore::EditorClientQt::checkGrammarOfString):
2196 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
2197 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
2198 (WebCore::EditorClientQt::showSpellingUI):
2199 (WebCore::EditorClientQt::spellingUIIsShowing):
2200 (WebCore::EditorClientQt::getGuessesForWord):
2201 (WebCore::EditorClientQt::isEditing):
2202 (WebCore::EditorClientQt::setInputMethodState):
2203 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
2204 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
2205 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2206 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
2207 (WebCore::FrameLoaderClientQt::setFrame):
2208 (WebCore::FrameLoaderClientQt::webFrame):
2209 (WebCore::FrameLoaderClientQt::callPolicyFunction):
2210 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
2211 (WebCore::FrameLoaderClientQt::hasWebView):
2212 (WebCore::FrameLoaderClientQt::hasFrameView):
2213 (WebCore::FrameLoaderClientQt::hasBackForwardList):
2214 (WebCore::FrameLoaderClientQt::resetBackForwardList):
2215 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
2216 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
2217 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
2218 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
2219 (WebCore::FrameLoaderClientQt::makeDocumentView):
2220 (WebCore::FrameLoaderClientQt::makeRepresentation):
2221 (WebCore::FrameLoaderClientQt::forceLayout):
2222 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
2223 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
2224 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
2225 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
2226 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
2227 (WebCore::FrameLoaderClientQt::willCloseDocument):
2228 (WebCore::FrameLoaderClientQt::detachedFromParent2):
2229 (WebCore::FrameLoaderClientQt::detachedFromParent3):
2230 (WebCore::FrameLoaderClientQt::detachedFromParent4):
2231 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
2232 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2233 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
2234 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
2235 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
2236 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
2237 (WebCore::FrameLoaderClientQt::dispatchWillClose):
2238 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2239 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2240 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2241 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2242 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2243 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2244 (WebCore::FrameLoaderClientQt::dispatchShow):
2245 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
2246 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
2247 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
2248 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
2249 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
2250 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2251 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
2252 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2253 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2254 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2255 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2256 (WebCore::FrameLoaderClientQt::willChangeTitle):
2257 (WebCore::FrameLoaderClientQt::didChangeTitle):
2258 (WebCore::FrameLoaderClientQt::finishedLoading):
2259 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
2260 (WebCore::FrameLoaderClientQt::setDefersLoading):
2261 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
2262 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
2263 (WebCore::FrameLoaderClientQt::clearArchivedResources):
2264 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2265 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2266 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
2267 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
2268 (WebCore::FrameLoaderClientQt::restoreViewState):
2269 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
2270 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
2271 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
2272 (WebCore::FrameLoaderClientQt::didFinishLoad):
2273 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
2274 (WebCore::FrameLoaderClientQt::setTitle):
2275 (WebCore::FrameLoaderClientQt::userAgent):
2276 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2277 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
2278 (WebCore::FrameLoaderClientQt::canHandleRequest):
2279 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2280 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2281 (WebCore::FrameLoaderClientQt::registerForIconNotification):
2282 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
2283 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
2284 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
2285 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
2286 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
2287 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
2288 (WebCore::FrameLoaderClientQt::canCachePage):
2289 (WebCore::FrameLoaderClientQt::setMainDocumentError):
2290 (WebCore::FrameLoaderClientQt::committedLoad):
2291 (WebCore::FrameLoaderClientQt::cancelledError):
2292 (WebCore::FrameLoaderClientQt::blockedError):
2293 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2294 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2295 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2296 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
2297 (WebCore::FrameLoaderClientQt::shouldFallBack):
2298 (WebCore::FrameLoaderClientQt::createDocumentLoader):
2299 (WebCore::FrameLoaderClientQt::download):
2300 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
2301 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2302 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
2303 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
2304 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
2305 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
2306 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
2307 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2308 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
2309 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2310 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2311 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2312 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
2313 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2314 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2315 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2316 (WebCore::FrameLoaderClientQt::startDownload):
2317 (WebCore::FrameLoaderClientQt::willUseArchive):
2318 (WebCore::FrameLoaderClientQt::createFrame):
2319 (WebCore::FrameLoaderClientQt::objectContentType):
2321 (WebCore::FrameLoaderClientQt::createPlugin):
2322 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2323 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
2324 (WebCore::FrameLoaderClientQt::overrideMediaType):
2325 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
2326 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
2327 (WebCore::InspectorClientQt::inspectorDestroyed):
2328 (WebCore::InspectorClientQt::createPage):
2329 (WebCore::InspectorClientQt::showWindow):
2330 (WebCore::InspectorClientQt::closeWindow):
2331 (WebCore::InspectorClientQt::attachWindow):
2332 (WebCore::InspectorClientQt::detachWindow):
2333 (WebCore::InspectorClientQt::highlight):
2334 (WebCore::InspectorClientQt::hideHighlight):
2335 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
2336 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
2337 (WebKitFactory::WebKitFactory):
2338 (WebKitFactory::~WebKitFactory):
2339 (WebKitFactory::createPartObject):
2340 (WebKitFactory::instance):
2341 (WebKitFactory::ref):
2342 (WebKitFactory::deref):
2343 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
2344 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
2345 (WebKitPart::WebKitPart):
2346 (WebKitPart::~WebKitPart):
2347 (WebKitPart::openFile):
2348 (WebKitPart::openUrl):
2349 (WebKitPart::closeUrl):
2350 (WebKitPart::parentPart):
2351 (WebKitPart::frame):
2352 (WebKitPart::initView):
2353 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
2354 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
2356 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
2357 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
2358 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
2359 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
2360 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
2361 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
2362 (WebKitPartClient::WebKitPartClient):
2363 (WebKitPartClient::~WebKitPartClient):
2364 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
2365 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
2366 (WebKitPartInterface::WebKitPartInterface):
2367 (WebKitPartInterface::~WebKitPartInterface):
2368 (WebKitPartInterface::url):
2369 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
2370 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
2372 2007-10-02 Adam Treat <treat@kde.org>
2374 Reviewed by Eric Seidel.
2376 Open the requested url on the newly created window.
2377 Implement createModalDialog and provide new API for this.
2378 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
2381 (QWebPage::createModalDialog):
2383 * WebCoreSupport/ChromeClientQt.cpp:
2384 (WebCore::ChromeClientQt::createWindow):
2385 (WebCore::ChromeClientQt::createModalDialog):
2387 2007-10-02 Lars Knoll <lars@trolltech.com>
2391 Add API to retrieve the frame name from QWebFrame.
2392 Implement support for DRT::dumpChildrenAsText.
2394 * Api/qwebframe.cpp:
2398 2007-10-02 Lars Knoll <lars@trolltech.com>
2402 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2404 * Api/qwebnetworkinterface.cpp:
2405 (QWebNetworkManager::started):
2406 (QWebNetworkManager::data):
2407 (QWebNetworkManager::finished):
2408 (QWebNetworkInterfacePrivate::sendFileData):
2409 (QWebNetworkInterfacePrivate::parseDataUrl):
2410 (WebCoreHttp::scheduleNextRequest):
2411 (WebCoreHttp::onSslErrors):
2412 * QtLauncher/main.cpp:
2415 2007-10-01 Lars Knoll <lars@trolltech.com>
2419 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
2421 * WebCoreSupport/FrameLoaderClientQt.cpp:
2422 (WebCore::FrameLoaderClientQt::makeDocumentView):
2423 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2424 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2425 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2426 (WebCore::FrameLoaderClientQt::objectContentType):
2427 (WebCore::FrameLoaderClientQt::createPlugin):
2429 2007-09-30 George Staikos <staikos@kde.org>
2431 Qt build fix (OS X specific).
2433 * QtLauncher/QtLauncher.pro:
2435 2007-09-26 Mark Rowe <mrowe@apple.com>
2439 * WebCoreSupport/FrameLoaderClientQt.cpp:
2440 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
2442 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2446 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2447 LGPL'ed files contain incorrect FSF address
2449 * Api/qcookiejar.cpp:
2451 * Api/qwebframe.cpp:
2453 * Api/qwebframe_p.h:
2454 * Api/qwebhistoryinterface.cpp:
2455 * Api/qwebhistoryinterface.h:
2456 * Api/qwebkitglobal.h:
2457 * Api/qwebnetworkinterface.cpp:
2458 * Api/qwebnetworkinterface.h:
2459 * Api/qwebnetworkinterface_p.h:
2460 * Api/qwebobjectplugin.cpp:
2461 * Api/qwebobjectplugin.h:
2462 * Api/qwebobjectpluginconnector.cpp:
2463 * Api/qwebobjectpluginconnector.h:
2467 * Api/qwebpagehistory.cpp:
2468 * Api/qwebpagehistory.h:
2469 * Api/qwebsettings.cpp:
2470 * Api/qwebsettings.h:
2471 * WebCoreSupport/EditCommandQt.cpp:
2472 * WebCoreSupport/EditCommandQt.h:
2474 2007-09-25 Adam Treat <treat@kde.org>
2476 Reviewed by Simon and Lars.
2478 Modifies the addToJSWindowObject to bind js objects using the built-in
2479 kjs_window class. Make sure to protect the created runtime object from
2482 Adds a signal to QWebFrame to notify clients of the beginning of a
2483 provisional load. DRT needs this.
2485 * Api/qwebframe.cpp:
2486 (QWebFrame::addToJSWindowObject):
2488 * WebCoreSupport/FrameLoaderClientQt.cpp:
2489 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2491 2007-09-10 Qing Zhao <qing@staikos.net>
2493 Reviewed by George Staikos.
2495 Don't re-encode urls, resulting in double encoding. Fixes login to
2498 * Api/qwebnetworkinterface.cpp:
2499 (QWebNetworkRequestPrivate::init):
2500 (QWebNetworkManager::started):
2502 2007-09-08 Mark Rowe <mrowe@apple.com>
2504 Qt build fix. Move stub method implementations to the right class.
2506 * WebCoreSupport/FrameLoaderClientQt.cpp:
2507 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2509 2007-09-08 Brady Eidson <beidson@apple.com>
2511 YABF (Yet Another Build Fix)
2513 * Api/qwebsettings.cpp:
2514 (QWebSettings::iconDatabaseEnabled):
2516 2007-09-08 Brady Eidson <beidson@apple.com>
2520 * WebCoreSupport/FrameLoaderClientQt.cpp:
2521 (WebCore::FrameLoaderClient::registerForIconNotification):
2522 * WebCoreSupport/FrameLoaderClientQt.h:
2524 2007-09-08 Brady Eidson <beidson@apple.com>
2528 * WebCoreSupport/FrameLoaderClientQt.cpp:
2529 (WebCore::FrameLoaderClient::registerForIconNotification):
2530 * WebCoreSupport/FrameLoaderClientQt.h:
2532 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2534 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2536 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2537 memory cache, or a very tiny one
2539 Keep the Qt build working with an empty stub.
2541 * WebCoreSupport/FrameLoaderClientQt.cpp:
2542 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2543 * WebCoreSupport/FrameLoaderClientQt.h:
2545 2007-09-07 George Staikos <staikos@kde.org>
2550 (QWebPage::onLoadProgressChanged):
2552 2007-09-07 Qing Zhao <qing@staikos.net>
2554 Reviewed by Anders and George.
2556 Export page size and load progress in bytes.
2559 (QWebPage::QWebPage):
2560 (QWebPage::onLoadProgressChanged):
2561 (QWebPage::totalBytes):
2562 (QWebPage::bytesReceived):
2566 2007-09-06 George Staikos <staikos@kde.org>
2570 Make popup windows work again.
2572 * WebCoreSupport/FrameLoaderClientQt.cpp:
2573 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2575 2007-09-01 Oliver Hunt <oliver@apple.com>
2579 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2581 EditorClient::setInputMethodState stub
2583 * WebCoreSupport/EditorClientQt.cpp:
2584 (WebCore::EditorClientQt::setInputMethodState):
2585 * WebCoreSupport/EditorClientQt.h:
2587 2007-08-30 Simon Hausmann <hausmann@kde.org>
2591 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
2594 (QWebPage::keyPressEvent):
2596 2007-08-30 Simon Hausmann <hausmann@kde.org>
2600 When scrolling with the keyboard don't call update() on the entire widget.
2601 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2605 (QWebPage::keyPressEvent):
2607 2007-08-30 Simon Hausmann <hausmann@kde.org>
2611 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2614 (QWebPage::keyPressEvent):
2616 2007-08-29 Simon Hausmann <hausmann@kde.org>
2622 * WebCoreSupport/FrameLoaderClientQt.cpp:
2623 (WebCore::FrameLoaderClientQt::objectContentType):
2625 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2627 Reviewed by George Staikos.
2629 Don't export ICO symbols.
2631 * Plugins/Plugins.pro:
2633 2007-08-19 George Staikos <staikos@kde.org>
2637 * WebCoreSupport/FrameLoaderClientQt.cpp:
2638 (WebCore::FrameLoaderClientQt::createPlugin):
2639 * WebCoreSupport/FrameLoaderClientQt.h:
2641 2007-08-10 Lars Knoll <lars@trolltech.com>
2643 Reviewed and landed by Simon.
2645 Limit the set of properties from the computed style to apply to Qt
2646 plugin widgets, as only a few of them make sense.
2648 * WebCoreSupport/FrameLoaderClientQt.cpp:
2651 2007-08-10 Lars Knoll <lars@trolltech.com>
2655 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2658 (QWebPage::createPlugin):
2660 * WebCoreSupport/FrameLoaderClientQt.cpp:
2661 (WebCore::FrameLoaderClientQt::objectContentType):
2662 (WebCore::FrameLoaderClientQt::createPlugin):
2664 2007-08-10 Simon Hausmann <hausmann@kde.org>
2668 Added support for network jobs from Qt resources using the qrc protocol.
2670 * Api/qwebnetworkinterface.cpp:
2671 (QWebNetworkInterface::addJob):
2673 2007-08-10 Simon Hausmann <hausmann@kde.org>
2677 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2678 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2680 * WebCoreSupport/FrameLoaderClientQt.cpp:
2681 (WebCore::FrameLoaderClientQt::objectContentType):
2683 (WebCore::FrameLoaderClientQt::createPlugin):
2685 2007-08-10 Simon Hausmann <hausmann@kde.org>
2689 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2690 and fixed widget embedding by setting the right QWidget parent.
2693 (QWebPage::createPlugin):
2695 * WebCoreSupport/FrameLoaderClientQt.cpp:
2696 (WebCore::FrameLoaderClientQt::objectContentType):
2697 (WebCore::FrameLoaderClientQt::createPlugin):
2699 2007-08-02 George Staikos <staikos@kde.org>
2703 Add an interface for the useragent string.
2706 (QWebPage::userAgentStringForUrl):
2708 * WebCoreSupport/FrameLoaderClientQt.cpp:
2709 (WebCore::FrameLoaderClientQt::userAgent):
2711 2007-08-01 Adam Treat <treat@kde.org>
2713 Reviewed by George Staikos.
2715 Add an interface to manage global history for clients
2718 * Api/qwebhistoryinterface.cpp: Added.
2719 (WebCore::historyContains):
2720 (gCleanupInterface):
2721 (QWebHistoryInterface::setDefaultInterface):
2722 (QWebHistoryInterface::defaultInterface):
2723 (QWebHistoryInterface::QWebHistoryInterface):
2724 * Api/qwebhistoryinterface.h: Added.
2726 2007-07-30 Adam Treat <treat@kde.org>
2730 * WebCoreSupport/EditorClientQt.cpp:
2731 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2732 * WebCoreSupport/EditorClientQt.h:
2734 2007-07-30 Simon Hausmann <hausmann@kde.org>
2738 Link QtLauncher into $$OUTPUT_DIR/bin
2740 * QtLauncher/QtLauncher.pro:
2742 2007-07-29 Adam Treat <treat@kde.org>
2744 Reviewed by George Staikos.
2746 Change QWebPage::paintEvent to draw using the individual rects provided
2747 via the QRegion and set the widget to use opaque paint events.
2749 These changes greatly reduce the cpu load as we are no longer painting the
2750 entire page for each 1px scroll :P
2752 * Api/qwebframe.cpp:
2753 (QWebFrame::render):
2755 (QWebPage::QWebPage):
2756 (QWebPage::paintEvent):
2757 * WebCoreSupport/ChromeClientQt.cpp:
2758 (WebCore::ChromeClientQt::addToDirtyRegion):
2760 2007-07-29 Adam Treat <treat@kde.org>
2762 Reviewed by Alexey Proskuryakov.
2764 Respect the margins when creating frames.
2765 Set the scroll mode to always off like we did before the rendered
2766 frames patch and the other ports do now.
2768 * Api/qwebframe.cpp:
2769 (QWebFramePrivate::init):
2771 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2775 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2777 * QtLauncher/QtLauncher.pro:
2779 2007-07-27 Simon Hausmann <hausmann@kde.org>
2783 Fix compilation with MSVC.
2785 * Api/qwebpagehistory.cpp:
2786 (QWebPageHistory::operator=):
2787 * Api/qwebpagehistory.h:
2788 * Api/qwebsettings.cpp:
2789 (QWebSettings::operator=):
2790 * Api/qwebsettings.h:
2792 2007-07-26 Qing Zhao <qing@staikos.net>
2794 Reviewed by George Staikos.
2796 Add a signal for history notification.
2799 * WebCoreSupport/FrameLoaderClientQt.cpp:
2801 2007-07-24 Adam Treat <treat@kde.org>
2803 Reviewed by Niko and Lars.
2805 These are no longer necessary or used.
2807 * WebCoreSupport/FrameLoaderClientQt.cpp:
2808 * WebCoreSupport/FrameLoaderClientQt.h:
2810 2007-07-20 Adam Treat <adam@staikos.net>
2812 Reviewed by George Staikos.
2814 Add a signal for first layout and add the action type for the policy
2818 (QWebPagePrivate::navigationRequested):
2819 (QWebPage::navigationRequested):
2822 * WebCoreSupport/FrameLoaderClientQt.cpp:
2823 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2824 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2826 2007-07-19 Adam Treat <treat@kde.org>
2830 Do a recursive layout on the frame's children. This fixes a
2831 segfault found when rendering some framesets.
2833 * Api/qwebframe.cpp:
2834 (QWebFrame::render):
2835 (QWebFrame::layout):
2838 2007-07-18 Timothy Hatcher <timothy@apple.com>
2842 Make the Page with the now required InspectorClient.
2845 (QWebPagePrivate::QWebPagePrivate):
2846 * WebKitPart/WebKitPart.cpp:
2847 (WebKitPart::initView):
2849 2007-07-18 Sam Weinig <sam@webkit.org>
2853 * Api/qwebnetworkinterface.cpp:
2854 (QWebNetworkManager::started):
2855 * WebCoreSupport/FrameLoaderClientQt.cpp:
2856 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2857 (WebCore::FrameLoaderClientQt::objectContentType):
2859 2007-07-18 Lars Knoll <lars@trolltech.com>
2861 Reviewed by Zack & Simon
2863 Reallow setting of scrollbar policies on QWebFrame.
2865 * Api/qwebframe.cpp:
2866 (QWebFrame::verticalScrollBarPolicy):
2867 (QWebFrame::setVerticalScrollBarPolicy):
2868 (QWebFrame::horizontalScrollBarPolicy):
2871 2007-07-17 Adam Treat <treat@kde.org>
2875 * WebCoreSupport/FrameLoaderClientQt.cpp:
2876 (WebCore::FrameLoaderClientQt::createFrame):
2878 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2880 Blind build fix for Qt after r24366 by adding the additional
2881 WebCore::ResourceRequest& parameter to the download method.
2883 * WebCoreSupport/FrameLoaderClientQt.cpp:
2884 (WebCore::FrameLoaderClientQt::download):
2885 * WebCoreSupport/FrameLoaderClientQt.h:
2887 2007-07-17 Adam Roben <aroben@apple.com>
2889 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2893 * WebCoreSupport/ContextMenuClientQt.cpp:
2894 * WebCoreSupport/ContextMenuClientQt.h:
2896 2007-07-16 Adam Roben <aroben@apple.com>
2898 Updated ChromeClientQt for ChromeClient changes.
2902 * WebCoreSupport/ChromeClientQt.cpp:
2903 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2904 * WebCoreSupport/ChromeClientQt.h: Ditto.
2906 2007-07-13 Mark Rowe <mrowe@apple.com>
2910 Build fix. Stub out ChromeClientQt::print.
2912 * WebCoreSupport/ChromeClientQt.cpp:
2913 (WebCore::ChromeClientQt::print):
2914 * WebCoreSupport/ChromeClientQt.h:
2916 2007-07-12 George Staikos <staikos@kde.org>
2918 Qt build fix for assertions.
2920 * Api/qwebnetworkinterface.cpp:
2921 (QWebNetworkManager::add):
2923 2007-07-12 George Staikos <staikos@kde.org>
2927 * Api/qwebnetworkinterface.cpp:
2928 (QWebNetworkManager::add):
2930 2007-07-10 Mark Rowe <mrowe@apple.com>
2932 Qt build fix after r24126.
2934 * Api/qwebframe.cpp:
2935 (QWebFrame::evaluateJavaScript):
2937 2007-07-10 Eli Fidler <eli@staikos.net>
2939 Reviewed by George Staikos.
2941 Properly url-decode data urls.
2943 * Api/qwebnetworkinterface.cpp:
2944 (QWebNetworkInterfacePrivate::parseDataUrl):
2946 2007-07-09 Adam Treat <adam@staikos.net>
2948 Reviewed by George Staikos.
2950 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2953 * Api/qwebframe.cpp:
2954 (QWebFramePrivate::init):
2955 (QWebFramePrivate::parentFrame):
2956 (QWebFrame::QWebFrame):
2957 (QWebFrame::render):
2959 (QWebFrame::geometry):
2960 (QWebFrame::evaluateJavaScript):
2961 (QWebFrame::mouseMoveEvent):
2962 (QWebFrame::mousePressEvent):
2963 (QWebFrame::mouseDoubleClickEvent):
2964 (QWebFrame::mouseReleaseEvent):
2965 (QWebFrame::wheelEvent):
2967 * Api/qwebobjectpluginconnector.cpp:
2968 (QWebObjectPluginConnector::pluginParentWidget):
2970 (QWebPagePrivate::QWebPagePrivate):
2971 (QWebPagePrivate::createMainFrame):
2972 (QWebPage::QWebPage):
2973 (QWebPage::javaScriptAlert):
2974 (QWebPage::javaScriptConfirm):
2975 (QWebPage::javaScriptPrompt):
2976 (QWebPage::resizeEvent):
2977 (QWebPage::paintEvent):
2978 (QWebPage::mouseMoveEvent):
2979 (QWebPage::mousePressEvent):
2980 (QWebPage::mouseDoubleClickEvent):
2981 (QWebPage::mouseReleaseEvent):
2982 (QWebPage::wheelEvent):
2983 (QWebPage::keyPressEvent):
2984 (QWebPage::keyReleaseEvent):
2985 (QWebPage::focusInEvent):
2986 (QWebPage::focusOutEvent):
2987 (QWebPage::focusNextPrevChild):
2988 (QWebPage::chooseFile):
2991 * WebCoreSupport/ChromeClientQt.cpp:
2992 (WebCore::ChromeClientQt::addToDirtyRegion):
2994 2007-07-09 George Staikos <staikos@kde.org>
2996 Fix a minor memory leak in the loader.
2998 * Api/qwebnetworkinterface.cpp:
2999 (gCleanupInterface):
3000 (QWebNetworkInterface::setDefaultInterface):
3001 (QWebNetworkInterface::defaultInterface):
3003 2007-07-09 George Staikos <staikos@kde.org>
3005 Fix a massive memory leak in the loader.
3007 * Api/qwebnetworkinterface.cpp:
3008 (QWebNetworkManager::httpConnectionClosed):
3009 (WebCoreHttp::~WebCoreHttp):
3011 2007-07-09 George Staikos <staikos@kde.org>
3015 Rework much of the HTTP stuff to make it more stable, and add SSL and
3016 proxy support. Major memory leak also discovered but it needs more
3017 research as the obvious fix causes crashes.
3019 * Api/qwebnetworkinterface.cpp:
3020 (QWebNetworkManager::add):
3021 (QWebNetworkManager::started):
3022 (QWebNetworkManager::data):
3023 (WebCoreHttp::WebCoreHttp):
3024 (WebCoreHttp::~WebCoreHttp):
3025 (WebCoreHttp::request):
3026 (WebCoreHttp::scheduleNextRequest):
3027 (WebCoreHttp::getConnection):
3028 (WebCoreHttp::onResponseHeaderReceived):
3029 (WebCoreHttp::onReadyRead):
3030 (WebCoreHttp::onRequestFinished):
3031 (WebCoreHttp::onDone):
3032 (WebCoreHttp::onStateChanged):
3033 (WebCoreHttp::onSslErrors):
3034 (WebCoreHttp::onAuthenticationRequired):
3035 (WebCoreHttp::onProxyAuthenticationRequired):
3036 * Api/qwebnetworkinterface.h:
3037 * Api/qwebnetworkinterface_p.h:
3038 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3040 2007-07-06 Adam Treat <adam@staikos.net>
3042 Reviewed by George Staikos.
3044 Convert QWebFrame to a QFrame from a scroll area.
3046 * Api/qwebframe.cpp:
3047 (QWebFramePrivate::init):
3048 (QWebFramePrivate::parentFrame):
3049 (QWebFramePrivate::horizontalScrollBar):
3050 (QWebFramePrivate::verticalScrollBar):
3051 (QWebFrame::QWebFrame):
3052 (QWebFrame::resizeEvent):
3053 (QWebFrame::suppressScrollbars):
3054 (QWebFrame::paintEvent):
3055 (QWebFrame::mouseMoveEvent):
3056 (QWebFrame::mousePressEvent):
3057 (QWebFrame::mouseDoubleClickEvent):
3058 (QWebFrame::mouseReleaseEvent):
3059 (QWebFrame::wheelEvent):
3060 (QWebFrame::keyPressEvent):
3061 (QWebFrame::focusInEvent):
3062 (QWebFrame::focusOutEvent):
3063 (QWebFrame::evaluateJavaScript):
3065 * Api/qwebframe_p.h:
3066 * Api/qwebobjectpluginconnector.cpp:
3067 (QWebObjectPluginConnector::pluginParentWidget):
3069 2007-07-04 Adam Roben <aroben@apple.com>
3071 Added a stub for ChromeClientQt::setToolTip
3075 * WebCoreSupport/ChromeClientQt.cpp:
3076 (WebCore::ChromeClientQt::setToolTip):
3077 * WebCoreSupport/ChromeClientQt.h:
3079 2007-07-04 Adam Roben <aroben@apple.com>
3081 Added a stub for ChromeClientQt::mouseDidMoveOverElement
3085 * WebCoreSupport/ChromeClientQt.cpp:
3086 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3087 * WebCoreSupport/ChromeClientQt.h:
3089 2007-06-28 Simon Hausmann <hausmann@kde.org>
3093 Propagate mouse double click events from Qt to WebCore.
3095 * Api/qwebframe.cpp:
3096 (QWebFrame::mouseDoubleClickEvent):
3099 2007-06-28 Simon Hausmann <hausmann@kde.org>
3103 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
3107 (QWebPage::canCopy):
3108 (QWebPage::canPaste):
3113 * WebCoreSupport/EditorClientQt.cpp:
3115 2007-06-27 George Staikos <staikos@kde.org>
3117 Compile with various Qt configurations.
3119 * Api/qwebnetworkinterface.cpp:
3120 (WebCoreHttp::scheduleNextRequest):
3122 (QWebPage::javaScriptPrompt):
3123 (QWebPage::dragEnterEvent):
3124 (QWebPage::dragLeaveEvent):
3125 (QWebPage::dragMoveEvent):
3126 (QWebPage::dropEvent):
3127 (QWebPage::chooseFile):
3130 * WebCoreSupport/DragClientQt.cpp:
3131 (WebCore::DragClientQt::startDrag):
3133 2007-06-27 Eli Fidler <eli@staikos.net>
3135 Reviewed by George Staikos.
3137 Check for QT_NO_IMAGE_TEXT and compile either way.
3139 * Plugins/ICOHandler.cpp:
3142 2007-06-27 Eli Fidler <eli@staikos.net>
3144 Reviewed by George Staikos.
3146 Remove QT3_SUPPORT dependency in the ICO plugin.
3148 * Plugins/ICOHandler.cpp:
3149 (IcoHeader::loadFromDIB):
3151 2007-06-25 George Staikos <staikos@kde.org>
3155 Start to add proxy and SSL support to WebKit Qt. Proxy works
3156 unauthenticated. Added hooks to be able to add authentication.
3157 Also fixes some network errors.
3159 * Api/qwebnetworkinterface.cpp:
3160 (QWebNetworkRequestPrivate::setURL):
3161 (QWebNetworkJob::frame):
3162 (WebCoreHttp::WebCoreHttp):
3163 (WebCoreHttp::scheduleNextRequest):
3164 (WebCoreHttp::onRequestFinished):
3165 (WebCoreHttp::onDone):
3166 (WebCoreHttp::onSslErrors):
3167 (WebCoreHttp::onAuthenticationRequired):
3168 (WebCoreHttp::onProxyAuthenticationRequired):
3169 * Api/qwebnetworkinterface.h:
3170 * Api/qwebnetworkinterface_p.h:
3172 (QWebPage::setNetworkProxy):
3173 (QWebPage::networkProxy):
3177 2007-06-21 Adam Treat <adam@staikos.net>
3179 Reviewed by George Staikos.
3181 Implement the default resources on Qt.
3185 * Api/qwebsettings.cpp:
3186 (QWebSettings::setWebGraphic):
3187 (QWebSettings::webGraphic):
3188 (loadResourcePixmap):
3189 * Api/qwebsettings.h:
3191 2007-06-15 Adam Treat <adam@staikos.net>
3193 Reviewed by George Staikos.
3195 Add ICO support to the Qt build.
3200 * Api/qwebsettings.cpp:
3201 (QWebSettings::setIconDatabaseEnabled):
3202 (QWebSettings::iconDatabaseEnabled):
3203 * Api/qwebsettings.h:
3205 * Plugins/ICOHandler.cpp: Added.
3206 (IcoHeader::operator >>):
3207 (IcoHeader::BMP_INFOHDR::):
3208 (IcoHeader::operator<<):
3209 (IcoHeader::LessDifference::LessDifference):
3210 (IcoHeader::LessDifference::operator ()):
3211 (IcoHeader::loadFromDIB):
3212 (ICOHandler::ICOHandler):
3213 (ICOHandler::canRead):
3215 (ICOHandler::write):
3218 (ICOPlugin::capabilities):
3219 (ICOPlugin::create):
3220 * Plugins/ICOHandler.h: Added.
3221 * Plugins/Plugins.pro: Added.
3222 * WebCoreSupport/FrameLoaderClientQt.cpp:
3223 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3225 2007-06-15 George Staikos <staikos@kde.org>
3227 Fixing the Qt build.
3229 * WebCoreSupport/ContextMenuClientQt.cpp:
3230 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
3231 * WebCoreSupport/ContextMenuClientQt.h:
3233 2007-06-20 Adam Roben <aroben@apple.com>
3235 More speculative Qt build fixes.
3237 Add a stub implementation of InspectorClientQt.
3239 * WebCoreSupport/InspectorClientQt.cpp: Added.
3240 (WebCore::InspectorClientQt::inspectorDestroyed):
3241 (WebCore::InspectorClientQt::createPage):
3242 (WebCore::InspectorClientQt::showWindow):
3243 (WebCore::InspectorClientQt::closeWindow):
3244 (WebCore::InspectorClientQt::attachWindow):
3245 (WebCore::InspectorClientQt::detachWindow):
3246 (WebCore::InspectorClientQt::highlight):
3247 (WebCore::InspectorClientQt::hideHighlight):
3248 * WebCoreSupport/InspectorClientQt.h: Added.
3250 2007-06-19 George Staikos <staikos@kde.org>
3252 Reviewed by Tim Hatcher.
3256 * Api/qwebnetworkinterface.cpp:
3257 (QWebNetworkInterface::addJob):
3258 (QWebNetworkInterface::cancelJob):
3259 (WebCoreHttp::WebCoreHttp):
3261 2007-06-14 George Staikos <staikos@kde.org>
3265 Add evaluateJavaScript() method.
3267 * Api/qwebframe.cpp:
3268 (QWebFrame::evaluateJavaScript):
3271 2007-06-14 George Staikos <staikos@kde.org>
3275 Implement most of the editing commands, better focus handling, fix some
3276 keyboard and mouse handling, and add keyboard navigation. May be
3277 refactored later as the key switches are ugly.
3279 * Api/qwebframe.cpp:
3280 (QWebFramePrivate::init):
3281 (QWebFrame::mousePressEvent):
3282 (QWebFrame::mouseReleaseEvent):
3283 (QWebFrame::wheelEvent):
3284 (QWebFrame::keyPressEvent):
3285 (QWebFrame::keyReleaseEvent):
3286 (QWebFrame::focusInEvent):
3287 (QWebFrame::focusOutEvent):
3288 (QWebFrame::focusNextPrevChild):
3290 * Api/qwebframe_p.h:
3291 * WebCoreSupport/EditorClientQt.cpp:
3292 (WebCore::EditorClientQt::handleKeypress):
3294 2007-06-14 George Staikos <staikos@kde.org>
3298 Implement all of the Javascript dialogs and file chooser.
3299 Also makes the statusbar virtual into a signal and shuffles some
3300 virtuals around a bit. The helper in FrameLoaderClientQt may go away
3304 (QWebPagePrivate::QWebPagePrivate):
3305 (QWebPage::javaScriptAlert):
3306 (QWebPage::javaScriptConfirm):
3307 (QWebPage::javaScriptPrompt):
3308 (QWebPage::chooseFile):
3310 * WebCoreSupport/ChromeClientQt.cpp:
3311 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3312 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3313 (WebCore::ChromeClientQt::runJavaScriptAlert):
3314 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3315 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3316 (WebCore::ChromeClientQt::setStatusbarText):
3317 * WebCoreSupport/FrameLoaderClientQt.cpp:
3318 (WebCore::FrameLoaderClientQt::chooseFile):
3319 * WebCoreSupport/FrameLoaderClientQt.h:
3321 2007-06-14 Simon Hausmann <hausmann@kde.org>
3325 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
3327 HistoryItem itself doesn't seem to have a parent pointer either.
3329 * Api/qwebpagehistory.h:
3331 2007-06-14 Simon Hausmann <hausmann@kde.org>
3335 Make it possible to copy QWebHistoryItem objects.
3337 * Api/qwebpagehistory.cpp:
3338 * Api/qwebpagehistory.h:
3340 2007-06-14 Lars Knoll <lars@trolltech.com>
3344 Fix a crash when a request from the plugin resulted
3347 * Api/qwebnetworkinterface.cpp:
3348 (QWebNetworkManager::started):
3350 2007-06-14 Lars Knoll <lars@trolltech.com>
3354 Work around a bug in Qt's QHttp implementation and
3355 get web pages to load again.
3360 2007-06-13 Simon Hausmann <hausmann@kde.org>
3364 Added a make install target that installs the Qt port and renamed
3365 WebKitQt to QtWebKit
3367 * Api/headers.pri: Added.
3368 * Api/qtwebkit.prf: Added.
3370 2007-06-13 Simon Hausmann <hausmann@kde.org>
3374 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
3376 * Api/qwebnetworkinterface.cpp:
3377 * Api/qwebnetworkinterface.h:
3379 2007-06-13 Simon Hausmann <hausmann@kde.org>
3383 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
3385 * Api/qwebnetworkinterface.h:
3386 * Api/qwebobjectpluginconnector.cpp:
3387 (QWebObjectPluginConnector::requestUrl):
3388 * Api/qwebobjectpluginconnector.h:
3390 2007-06-13 Simon Hausmann <hausmann@kde.org>
3394 Added a QWebNetworkRequest convenience constructor.
3396 * Api/qwebnetworkinterface.cpp:
3397 * Api/qwebnetworkinterface.h:
3401 2007-06-13 Simon Hausmann <hausmann@kde.org>
3405 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
3406 overload to take a QWebNetworkRequest instead.
3412 2007-06-13 Simon Hausmann <hausmann@kde.org>
3416 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
3417 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
3418 pick the individual fields if we can use them.
3423 2007-06-13 Simon Hausmann <hausmann@kde.org>
3427 Minor QWebNetworkRequet API fixlet
3429 * Api/qwebnetworkinterface.cpp:
3430 * Api/qwebnetworkinterface.h:
3432 2007-06-13 Simon Hausmann <hausmann@kde.org>
3436 Use QWebNetworkRequest for QWebPage::navigationRequested.
3438 * Api/qwebnetworkinterface.cpp:
3439 * Api/qwebnetworkinterface.h:
3441 (QWebPagePrivate::navigationRequested):
3442 (QWebPage::navigationRequested):
3445 * WebCoreSupport/FrameLoaderClientQt.cpp:
3446 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3448 2007-06-13 Simon Hausmann <hausmann@kde.org>
3452 Some docs for QWebNetworkRequest
3454 * Api/qwebnetworkinterface.cpp:
3455 (QWebNetworkRequest::QWebNetworkRequest):
3456 (QWebNetworkRequest::~QWebNetworkRequest):
3458 2007-06-13 Simon Hausmann <hausmann@kde.org>
3462 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
3464 * Api/qwebnetworkinterface.h:
3465 * Api/qwebobjectpluginconnector.cpp:
3466 (QWebObjectPluginConnector::requestUrl):
3467 * Api/qwebobjectpluginconnector.h:
3469 2007-06-13 Simon Hausmann <hausmann@kde.org>
3473 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
3475 * Api/qwebnetworkinterface.cpp:
3476 (QWebNetworkJob::postData):
3477 (WebCoreHttp::WebCoreHttp):
3478 (WebCoreHttp::scheduleNextRequest):
3479 * Api/qwebnetworkinterface.h:
3481 2007-06-13 Simon Hausmann <hausmann@kde.org>
3485 Introduce QWebNetworkRequest in the public API.
3487 * Api/qwebnetworkinterface.cpp:
3488 (QWebNetworkRequestPrivate::init):
3489 * Api/qwebnetworkinterface.h:
3490 * Api/qwebnetworkinterface_p.h:
3491 * WebCoreSupport/FrameLoaderClientQt.cpp:
3492 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3494 2007-06-13 Simon Hausmann <hausmann@kde.org>
3498 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
3500 * Api/qwebnetworkinterface.cpp:
3501 (QWebNetworkManager::add):
3502 (QWebNetworkManager::started):
3503 (QWebNetworkManager::data):
3504 (QWebNetworkManager::finished):
3505 * Api/qwebnetworkinterface_p.h:
3506 * Api/qwebobjectpluginconnector.cpp:
3507 (QWebObjectPluginConnector::requestUrl):
3509 2007-06-13 Simon Hausmann <hausmann@kde.org>
3513 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
3515 * Api/qwebnetworkinterface.cpp:
3516 (QWebNetworkRequest::init):
3517 (QWebNetworkRequest::setURL):
3518 (QWebNetworkManager::add):
3519 (QWebNetworkManager::started):
3520 * Api/qwebnetworkinterface_p.h:
3521 * WebCoreSupport/FrameLoaderClientQt.cpp:
3522 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3524 2007-06-12 Lars Knoll <lars@trolltech.com>
3526 Reviewed by George Staikos.
3528 Remove duplicate symbols.
3530 * Api/qwebobjectplugin_p.h:
3532 2007-06-13 Lars Knoll <lars@trolltech.com>
3536 Fix compilation, and remove dependency on Qt
3539 * Api/qwebobjectplugin_p.h:
3540 (QWebFactoryLoader::supportsMimeType):
3542 2007-06-13 Lars Knoll <lars@trolltech.com>
3546 Parts of the patch done by Zack.
3547 Fix up some parts in the implementation of QWebNetworkInterface
3548 so it can be used by plugins.
3549 Change the plugin API so we can actually get all the information
3550 required by the JS bridge from them as well.
3552 * Api/qwebnetworkinterface.cpp:
3553 (QWebNetworkJob::cancelled):
3554 (QWebNetworkManager::cancel):
3555 (QWebNetworkManager::started):
3556 (QWebNetworkManager::finished):
3557 * Api/qwebobjectplugin.cpp:
3558 (QWebFactoryLoader::QWebFactoryLoader):
3559 (QWebFactoryLoader::descriptionForName):
3560 (QWebFactoryLoader::mimetypesForName):
3561 (QWebFactoryLoader::mimeTypeForExtension):
3562 (QWebFactoryLoader::extensions):
3563 (QWebFactoryLoader::nameForMimetype):
3564 (QWebFactoryLoader::create):
3565 (QWebObjectPlugin::descriptionForKey):
3566 (QWebObjectPlugin::mimetypesForKey):
3567 * Api/qwebobjectplugin.h:
3568 * Api/qwebobjectplugin_p.h:
3569 (QWebFactoryLoader::names):
3570 * Api/qwebobjectpluginconnector.cpp:
3571 (QWebObjectPluginConnector::requestUrl):
3573 (QWebPage::networkInterface):
3575 2007-06-11 Simon Hausmann <hausmann@kde.org>
3579 Added a QWebPage::open overload to allow specifying the http header and post data.
3580 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
3581 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
3586 2007-06-11 Simon Hausmann <hausmann@kde.org>
3590 Added the possibility to intercept url requests through QWebPage::navigationRequested.
3593 (QWebPagePrivate::QWebPagePrivate):
3594 (QWebPage::createFrame):
3597 * WebCoreSupport/FrameLoaderClientQt.cpp:
3599 2007-06-11 Simon Hausmann <hausmann@kde.org>
3603 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3604 to be called from FrameLoaderClientQt in the near future.
3606 * Api/qwebnetworkinterface.cpp:
3607 (QWebNetworkManager::add):
3608 * Api/qwebnetworkinterface_p.h:
3610 2007-06-11 Simon Hausmann <hausmann@kde.org>
3614 Moved the postData setup into QWebNetworkRequest::init.
3616 * Api/qwebnetworkinterface.cpp:
3617 (QWebNetworkRequest::init):
3618 (QWebNetworkManager::add):
3620 2007-06-11 Simon Hausmann <hausmann@kde.org>
3624 Moved HTTP header field propagation to QWebNetworkRequest::init.
3626 * Api/qwebnetworkinterface.cpp:
3627 (QWebNetworkRequest::init):
3628 (QWebNetworkManager::add):
3630 2007-06-11 Simon Hausmann <hausmann@kde.org>
3634 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3635 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3637 * Api/qwebnetworkinterface.cpp:
3638 (QWebNetworkRequest::init):
3639 (QWebNetworkManager::add):
3640 * Api/qwebnetworkinterface_p.h:
3641 * Api/qwebobjectpluginconnector.cpp:
3642 (QWebObjectPluginConnector::requestUrl):
3644 2007-06-11 Zack Rusin <zrusin@trolltech.com>
3648 Forgot to export the plugin connector.
3650 * Api/qwebobjectpluginconnector.h
3652 2007-06-08 Lars Knoll <lars@trolltech.com>
3656 Add a QWebObjectPluginConnector class. The class will
3657 facility communication between the plugin and WebKit.
3658 Currently it's used to make the plugin network capable.
3660 * Api/qwebnetworkinterface.cpp:
3661 (QWebNetworkJobPrivate::setDefaults):
3662 (QWebNetworkManager::add):
3663 (QWebNetworkManager::started):
3664 (QWebNetworkManager::data):
3665 (QWebNetworkManager::finished):
3666 * Api/qwebnetworkinterface.h:
3667 * Api/qwebnetworkinterface_p.h:
3668 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3669 * Api/qwebobjectplugin.cpp:
3670 (QWebFactoryLoader::create):
3671 * Api/qwebobjectplugin.h:
3672 * Api/qwebobjectplugin_p.h:
3673 * Api/qwebobjectpluginconnector.cpp: Added.
3674 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3675 (QWebObjectPluginConnector::frame):
3676 (QWebObjectPluginConnector::pluginParentWidget):
3677 (QWebObjectPluginConnector::requestUrl):
3678 * Api/qwebobjectpluginconnector.h: Added.
3679 (QWebObjectPluginConnector::):
3680 * WebCoreSupport/FrameLoaderClientQt.cpp:
3681 (WebCore::FrameLoaderClientQt::createPlugin):
3683 2007-06-06 Lars Knoll <lars@trolltech.com>
3687 Add an API to create and load plugins.
3688 Don't include moc files by hand anymore, rather let
3691 * Api/qcookiejar.cpp:
3692 (QCookieJar::cookieJar):
3693 * Api/qwebframe.cpp:
3694 (QWebFrame::scrollContentsBy):
3695 * Api/qwebnetworkinterface.cpp:
3696 * Api/qwebobjectplugin.cpp: Added.
3697 (QWebFactoryLoader::QWebFactoryLoader):
3698 (QWebFactoryLoader::self):
3699 (QWebFactoryLoader::mimeTypeForExtension):
3700 (QWebFactoryLoader::create):
3701 (QWebObjectPlugin::QWebObjectPlugin):
3702 (QWebObjectPlugin::~QWebObjectPlugin):
3703 (QWebObjectPlugin::extensionsForMimetype):
3704 * Api/qwebobjectplugin.h: Added.
3705 * Api/qwebobjectplugin_p.h: Added.
3706 (QWebFactoryLoader::mimeTypes):
3707 (QWebFactoryLoader::extensions):
3708 (QWebFactoryLoader::supportsMimeType):
3710 (QWebPage::settings):