1 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * This layout is not needed anymore as Widget::invalidateRect will not
10 (QWebView::paintEvent):
12 2008-01-04 Lars Knoll <lars@trolltech.com>
16 Remove most dependencies of Widget/ScrollView onto native QWidgets.
18 This also brings the code closer in line with the Windows code. Seems
19 to work nicely on first try :)
22 * WebCoreSupport/ChromeClientQt.cpp:
23 (WebCore::ChromeClientQt::updateBackingStore):
24 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
25 (WebCore::ChromeClientQt::setToolTip):
26 * WebCoreSupport/FrameLoaderClientQt.cpp:
27 (WebCore::FrameLoaderClientQt::createPlugin):
29 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
33 * Remove the todo from QWebPage and move the code to QWebView.
37 (QWebPagePrivate::wheelEvent):
38 (QWebPagePrivate::focusInEvent):
40 (QWebView::wheelEvent):
41 (QWebView::focusInEvent):
43 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
47 * Move the various event methods to QWebPagePrivate. This is similar to
53 (QWebPagePrivate::mouseMoveEvent):
54 (QWebPagePrivate::mousePressEvent):
55 (QWebPagePrivate::mouseDoubleClickEvent):
56 (QWebPagePrivate::mouseReleaseEvent):
57 (QWebPagePrivate::contextMenuEvent):
58 (QWebPagePrivate::wheelEvent):
59 (QWebPagePrivate::keyPressEvent):
60 (QWebPagePrivate::keyReleaseEvent):
61 (QWebPagePrivate::focusInEvent):
62 (QWebPagePrivate::focusOutEvent):
63 (QWebPage::focusNextPrevChild):
64 (QWebPagePrivate::dragEnterEvent):
65 (QWebPagePrivate::dragLeaveEvent):
66 (QWebPagePrivate::dragMoveEvent):
67 (QWebPagePrivate::dropEvent):
71 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
75 * Forward the event from QWebView to QWebPage through QObject::event. This
76 is similar to the way QTextControl is working.
84 (QWebView::mouseMoveEvent):
85 (QWebView::mousePressEvent):
86 (QWebView::mouseDoubleClickEvent):
87 (QWebView::mouseReleaseEvent):
88 (QWebView::contextMenuEvent):
89 (QWebView::wheelEvent):
90 (QWebView::keyPressEvent):
91 (QWebView::keyReleaseEvent):
92 (QWebView::focusInEvent):
93 (QWebView::focusOutEvent):
94 (QWebView::dragEnterEvent):
95 (QWebView::dragLeaveEvent):
96 (QWebView::dragMoveEvent):
97 (QWebView::dropEvent):
100 2008-01-04 Lars Knoll <lars@trolltech.com>
104 make QWebPage a QObject and get things to compile.
106 Nothing works currently though.
109 * Api/qwebobjectpluginconnector.cpp:
111 (QWebPagePrivate::QWebPagePrivate):
112 (QWebPagePrivate::createMainFrame):
113 (QWebPage::QWebPage):
116 (QWebPage::javaScriptAlert):
117 (QWebPage::javaScriptPrompt):
118 (dragOpToDropAction):
119 (QWebPage::mousePressEvent):
120 (QWebPage::mouseDoubleClickEvent):
121 (QWebPage::mouseReleaseEvent):
122 (QWebPage::wheelEvent):
123 (QWebPage::keyPressEvent):
124 (QWebPage::focusInEvent):
128 (QWebView::QWebView):
130 (QWebView::resizeEvent):
131 (QWebView::paintEvent):
133 * WebCoreSupport/ChromeClientQt.cpp:
134 (WebCore::ChromeClientQt::windowRect):
135 (WebCore::ChromeClientQt::pageRect):
136 (WebCore::ChromeClientQt::focus):
137 (WebCore::ChromeClientQt::unfocus):
138 (WebCore::ChromeClientQt::canTakeFocus):
139 (WebCore::ChromeClientQt::takeFocus):
140 (WebCore::ChromeClientQt::canRunModal):
141 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
142 * WebCoreSupport/DragClientQt.cpp:
143 (WebCore::DragClientQt::startDrag):
144 * WebCoreSupport/FrameLoaderClientQt.cpp:
145 (WebCore::FrameLoaderClientQt::createPlugin):
146 * WebCoreSupport/InspectorClientQt.cpp:
147 (WebCore::InspectorClientWebPage::createWindow):
148 (WebCore::InspectorClientView::InspectorClientView):
149 (WebCore::InspectorClientView::page):
150 (WebCore::InspectorClientView::hideEvent):
151 (WebCore::InspectorClientView::closeEvent):
152 (WebCore::InspectorClientQt::createPage):
153 (WebCore::InspectorClientQt::closeWindow):
155 2008-01-04 Simon Hausmann <hausmann@webkit.org>
159 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
164 (QWebView::setContent):
166 (QWebView::settings):
168 (QWebView::triggerAction):
170 (QWebView::backward):
175 2008-01-04 Lars Knoll <lars@trolltech.com>
179 add a viewportSize to QWebPage.
181 This is required to eventually make it a QObject only.
185 (QWebPage::triggerAction):
186 (QWebPage::viewportSize):
187 (QWebPage::setViewportSize):
190 2008-01-04 Lars Knoll <lars@trolltech.com>
194 take a QString as identifier in QWebFrame::addToJSWindowObject.
197 (QWebFrame::addToJSWindowObject):
200 2008-01-04 Simon Hausmann <hausmann@webkit.org>
204 Call the frame arguments for the javascript callbacks "originatingFrame"
209 2008-01-04 Simon Hausmann <hausmann@webkit.org>
213 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
216 * Api/qwebhistoryinterface.h:
218 * WebCoreSupport/FrameLoaderClientQt.cpp:
219 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
221 2008-01-04 Lars Knoll <lars@trolltech.com>
225 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
230 (QWebFrame::setVerticalScrollBarPolicy):
233 (QWebPage::javaScriptAlert):
234 (QWebPage::javaScriptPrompt):
235 (QWebPage::networkInterface):
241 * WebCoreSupport/FrameLoaderClientQt.cpp:
243 2008-01-03 Simon Hausmann <hausmann@webkit.org>
247 Moved QWebPage::open to QWebFrame::load and added setHtml.
252 (QWebFrame::setHtml):
253 (QWebFrame::setContent):
261 * WebCoreSupport/ChromeClientQt.cpp:
262 (WebCore::ChromeClientQt::createWindow):
263 * WebCoreSupport/InspectorClientQt.cpp:
264 (WebCore::InspectorClientQt::createPage):
266 2008-01-03 Simon Hausmann <hausmann@webkit.org>
270 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
276 (QWebPagePrivate::createMainFrame):
278 * Api/qwebpagehistory.h:
279 * Api/qwebview.cpp: Added.
280 (QWebView::QWebView):
281 (QWebView::~QWebView):
287 (QWebView::settings):
291 (QWebView::selectedText):
293 (QWebView::triggerAction):
294 (QWebView::isModified):
295 (QWebView::textInteractionFlags):
296 (QWebView::setTextInteractionFlags):
297 (QWebView::sizeHint):
299 (QWebView::backward):
302 * Api/qwebview.h: Added.
303 * QtLauncher/main.cpp:
304 (MainWindow::MainWindow):
305 (MainWindow::webPage):
306 (MainWindow::changeLocation):
307 * WebCoreSupport/FrameLoaderClientQt.cpp:
308 (WebCore::FrameLoaderClientQt::setFrame):
309 * WebCoreSupport/FrameLoaderClientQt.h:
311 2007-12-14 Darin Adler <darin@apple.com>
316 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
317 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
318 * WebCoreSupport/EditorClientQt.cpp:
319 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
320 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
323 2007-12-12 Brady Eidson <beidson@apple.com>
325 Reviewed by Sam Weinig
327 As part of doing some CachedPage and client cleanup, keep Qt building
329 * WebCoreSupport/FrameLoaderClientQt.cpp:
330 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
331 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
332 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
333 * WebCoreSupport/FrameLoaderClientQt.h:
335 2007-12-12 Sam Weinig <sam@webkit.org>
339 * WebCoreSupport/FrameLoaderClientQt.cpp:
340 (WebCore::FrameLoaderClientQt::userAgent):
342 2007-12-12 Sam Weinig <sam@webkit.org>
346 * Api/qwebnetworkinterface.cpp:
347 (QWebNetworkRequestPrivate::init):
350 (QWebPageContext::QWebPageContext):
351 * Api/qwebpagehistory.cpp:
352 (QWebHistoryItem::originalUrl):
353 (QWebHistoryItem::currentUrl):
354 * WebCoreSupport/FrameLoaderClientQt.cpp:
355 (WebCore::FrameLoaderClientQt::cannotShowURLError):
356 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
357 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
358 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
359 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
360 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
361 (WebCore::FrameLoaderClientQt::createPlugin):
363 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
367 <rdar://problem/5535636>
368 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
370 http://bugs.webkit.org/show_bug.cgi?id=13916
371 JavaScript detects Tab as a character input on a textfield validation
373 * WebCoreSupport/EditorClientQt.cpp:
374 (WebCore::EditorClientQt::handleKeyboardEvent):
375 (WebCore::EditorClientQt::handleInputMethodKeydown):
376 * WebCoreSupport/EditorClientQt.h:
377 Updated for cross-platform changes as much as it was possible without a Qt build environment.
379 2007-12-07 Darin Adler <darin@apple.com>
383 * Api/qwebhistoryinterface.cpp:
384 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
385 be updated, since WebCore changed, but this should not be here.
387 2007-12-04 Darin Adler <darin@apple.com>
389 Reviewed by Kevin Decker.
391 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
392 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
394 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
398 * Implement the InspectorClient for the Qt port
399 * It does not support highlighting of nodes yet
400 * Use QRC to open the internal page. The important thing is the
401 '/' in the URL to make WebCore::Document::completeURL behave the
403 * To make the InspectorClient work we will have to mark qrc as secure.
406 (QWebPagePrivate::QWebPagePrivate):
408 * WebCoreSupport/InspectorClientQt.cpp:
409 (WebCore::InspectorClientWebPage::hideEvent):
410 (WebCore::InspectorClientQt::InspectorClientQt):
411 (WebCore::InspectorClientQt::inspectorDestroyed):
412 (WebCore::InspectorClientQt::createPage):
413 (WebCore::InspectorClientQt::localizedStringsURL):
414 (WebCore::InspectorClientQt::showWindow):
415 (WebCore::InspectorClientQt::closeWindow):
416 (WebCore::InspectorClientQt::attachWindow):
417 (WebCore::InspectorClientQt::detachWindow):
418 * WebCoreSupport/InspectorClientQt.h:
420 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
422 Rubber stamped by Mark.
424 Always include config.h at the beginning of the file.
426 * Api/qwebsettings.cpp:
428 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
432 * Avoid crashes by making sure everything is layouted before
433 we start painting. This avoids a crash in Widget::invalidateRect
434 because QPainter::begin would fail
435 * The QWebFrame::layout() methods and calls are left untouched because
436 this would be an API decision.
442 (QWebPage::paintEvent):
444 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
448 * SubClass QWebPage to handle hide and close events.
449 * Forward these events to the InspectorController
450 * The other options would have been using an eventFilter
451 on the webpage and making InspectorClient a QObject or
452 creating a QObject Observer.
453 * Provide a simple QWebPage* createWindow implementation. This is needed
454 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
455 of the inspector client.
458 * WebCoreSupport/InspectorClientQt.cpp:
459 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
460 (WebCore::InspectorClientWebPage::createWindow):
461 (WebCore::InspectorClientWebPage::hideEvent):
462 (WebCore::InspectorClientWebPage::closeEvent):
463 (WebCore::InspectorClientQt::createPage):
465 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
469 * Allow adding the Inspect ContextMenuItem to our Menu
470 * Open the Inspector when Inspect was activated. This requires
471 that we keep the innerNonSharedNode from the HitTest around. This
472 forces us to include <wtf/RefPtr.h> in the private header. It is
473 the first non Qt header but should be okay.
477 (webActionForContextMenuAction):
478 (QWebPage::triggerAction):
480 (QWebPageContext::QWebPageContext):
484 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
488 * Add the Developer Extras to the WebAttribute and propagate it
489 to WebCore::Settings. This will enable the Inspect Element menu item
490 * CodingStyle fixes in QWebSettings
491 * Enable the Developer Extras in the QtLauncher
494 * Api/qwebsettings.cpp:
495 (QWebSettingsPrivate::apply):
496 * Api/qwebsettings.h:
497 * QtLauncher/main.cpp:
500 2007-12-03 Geoffrey Garen <ggaren@apple.com>
502 Removed unnecessary and possibly incorrect #include from my last
507 2007-12-03 Geoffrey Garen <ggaren@apple.com>
509 Qt build fix: Get globalExec() from the right place.
511 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
515 * Self destruct the clients like the ohter ports do
518 * WebCoreSupport/ChromeClientQt.cpp:
519 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
520 * WebCoreSupport/ContextMenuClientQt.cpp:
521 * WebCoreSupport/DragClientQt.cpp:
522 * WebCoreSupport/EditorClientQt.cpp:
523 * WebCoreSupport/InspectorClientQt.cpp:
525 2007-11-29 Brady Eidson <beidson@apple.com>
527 Keep it building with new client method
529 * WebCoreSupport/ChromeClientQt.cpp:
530 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
531 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
532 * WebCoreSupport/ChromeClientQt.h:
534 2007-11-22 Simon Hausmann <hausmann@webkit.org>
536 Reviewed by Adam Treat.
538 Fix compilation (don't define notImplemented twice)
540 * Api/qwebnetworkinterface.cpp:
542 2007-11-22 Simon Hausmann <hausmann@kde.org>
546 Use Q_SIGNALS/Q_SLOTS in the public API
551 2007-11-22 Simon Hausmann <hausmann@kde.org>
555 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
559 2007-11-22 Simon Hausmann <hausmann@kde.org>
563 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
567 * Api/qwebhistoryinterface.h:
568 * Api/qwebnetworkinterface.h:
569 * Api/qwebobjectplugin.h:
570 * Api/qwebobjectplugin_p.h:
571 * Api/qwebobjectpluginconnector.h:
573 * Api/qwebpagehistory.h:
574 * Api/qwebsettings.h:
576 2007-11-22 Simon Hausmann <hausmann@kde.org>
580 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
582 * Api/qwebpagehistory.h:
584 2007-11-22 George Staikos <staikos@kde.org>
586 Reviewed by Simon Hausmann <hausmann@kde.org>.
591 * Api/qwebobjectplugin.cpp:
592 * Api/qwebobjectplugin.h:
593 * Api/qwebobjectpluginconnector.cpp:
594 * Api/qwebobjectpluginconnector.h:
596 2007-11-22 Simon Hausmann <hausmann@kde.org>
598 Reviewed by George Staikos <staikos@kde.org>.
600 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
602 This also fixes compilation with gcc 4.3.
606 (QWebFramePrivate::init):
608 2007-11-21 Adam Treat <treat@kde.org>
612 * Connect up the signal for all subframes too.
615 (QWebFramePrivate::init):
617 (QWebPagePrivate::createMainFrame):
619 2007-11-20 Simon Hausmann <hausmann@kde.org>
621 Reviewed by Adam Treat <treat@kde.org>.
623 Remove static linkage of QtWebKit against the ICO image format plugin.
625 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
628 * Plugins/Plugins.pro:
630 2007-11-20 Simon Hausmann <hausmann@kde.org>
632 Reviewed by George Staikos <staikos@kde.org>.
634 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
639 2007-11-20 George Staikos <staikos@kde.org>
641 Reviewed by Simon Hausmann <hausmann@kde.org>.
643 Add an argument to pass the link text in the hovering signal
648 (QWebPagePrivate::createMainFrame):
649 (QWebPage::mouseMoveEvent):
652 2007-11-20 Adam Treat <treat@kde.org>
654 Reviewed by Simon and George.
656 * Be quiet and allow suppression of NotImplemented calls at runtime.
658 * WebCoreSupport/FrameLoaderClientQt.cpp:
659 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
661 2007-11-19 Adam Treat <treat@kde.org>
665 * Don't segfault when event pos is outside of the widget.
668 (QWebPage::mouseMoveEvent):
669 (QWebPage::mousePressEvent):
670 (QWebPage::mouseDoubleClickEvent):
671 (QWebPage::mouseReleaseEvent):
672 (QWebPage::contextMenuEvent):
674 2007-11-17 Timothy Hatcher <timothy@apple.com>
676 Reviewed by Mark Rowe.
678 Bug 13470: i18n: The Web Inspector is not localizable
679 http://bugs.webkit.org/show_bug.cgi?id=13470
681 * WebCoreSupport/InspectorClientQt.cpp:
682 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
683 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
685 2007-11-13 Geoffrey Garen <ggaren@apple.com>
687 Build fix: changed Shared to RefCounted.
689 * WebCoreSupport/ChromeClientQt.h:
690 * WebCoreSupport/ContextMenuClientQt.cpp:
691 * WebCoreSupport/ContextMenuClientQt.h:
692 * WebCoreSupport/EditorClientQt.h:
693 * WebCoreSupport/FrameLoaderClientQt.h:
695 2007-11-10 Simon Hausmann <hausmann@kde.org>
699 When populating the context menu with sub-menus don't add sub-menus if they're empty.
703 (QWebPagePrivate::createContextMenu):
705 2007-11-10 Simon Hausmann <hausmann@kde.org>
709 Added support for the Bold/Italic/Underline toggle actions.
713 (webActionForContextMenuAction):
714 (QWebPage::triggerAction):
718 2007-11-10 Simon Hausmann <hausmann@kde.org>
722 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
723 to update the enable/checked state correctly.
727 (QWebPagePrivate::createContextMenu):
728 (QWebPage::contextMenuEvent):
731 2007-11-10 Simon Hausmann <hausmann@kde.org>
735 Mark the text direction actions as checkable actions.
741 2007-11-09 Simon Hausmann <hausmann@kde.org>
745 Implemented the webcore actions for changing the text direction.
749 (webActionForContextMenuAction):
750 (QWebPage::triggerAction):
754 2007-11-09 Simon Hausmann <hausmann@kde.org>
758 Fix ContextMenu allocation in the Qt port.
760 Store all items and submenus value based in ContextMenu and ContextMenuItem.
761 That fixes the crashes when the context menu was populated with sub-menus because
762 of the use of temporary ContextMenu objects like this:
764 ContextMenu subMenu(...);
765 subMenu.appendItem(...);
766 subMenu.appendItem(...);
768 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
772 (QWebPage::contextMenuEvent):
775 2007-11-09 Simon Hausmann <hausmann@kde.org>
779 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
785 2007-11-08 Kevin McCullough <kmccullough@apple.com>
789 - windowObjectCleared() is no longer const. It needs to setup the
790 script debugger and cannot be const to do so.
792 * WebCoreSupport/FrameLoaderClientQt.cpp:
793 (WebCore::FrameLoaderClientQt::windowObjectCleared):
794 * WebCoreSupport/FrameLoaderClientQt.h:
796 2007-11-08 Simon Hausmann <hausmann@kde.org>
798 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
800 The buildbots use Qt 4.4 which has the function in question, but Qt
801 4.3 doesn't have it. Use removeAll() as replacement instead, it
802 shouldn't make a difference in performance.
804 * Api/qwebsettings.cpp:
805 (QWebSettings::~QWebSettings):
807 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
809 Reviewed by Lars Knoll <lars@trolltech.com>.
811 Cleanup checking for the request method.
813 * Check the request method only in QWebNetworkManager::add.
814 * Currently HEAD, GET, POST are allowed and for everything else
815 QWebNetworkManager::add returns false.
816 * Returning false is compatible with ResourceHandle::start and it
817 can be used in ResourceHandle::loadResourceSynchronously to generate
821 * Api/qwebnetworkinterface.cpp:
822 (QWebNetworkManager::add):
824 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
826 Reviewed by Lars Knoll <lars@trolltech.com>.
828 Fix bug in the implementation of synchronous network jobs.
830 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
831 - if (jobMode == AsynchronousJob) {
832 + if (jobMode == SynchronousJob) {
833 add job to synchronous list/hash
835 * Just applying the above change will lead to crashes because we can finish
836 jobs before we started them.
838 * Avoid these issues by saving all work (starting a job, sending data and
839 finishing it) inside one list. JobWork will contain any
840 of the above three work types and doWork will just work on this list
841 (m_pendingWork). As foreach takes a copy of the list calling started, data
842 and finished will not add new work and we gurantee that if we have JobStarted
843 it will be in the list before JobData and JobFinished.
845 * Observation: We might just kill the code to handle sync jobs.
848 * Api/qwebnetworkinterface.cpp:
849 (QWebNetworkManager::add):
850 (QWebNetworkManager::queueStart):
851 (QWebNetworkManager::queueData):
852 (QWebNetworkManager::queueFinished):
853 (QWebNetworkManager::doWork):
854 * Api/qwebnetworkinterface_p.h:
855 (QWebNetworkManager::JobWork::):
856 (QWebNetworkManager::JobWork::JobWork):
858 2007-11-07 Simon Hausmann <hausmann@kde.org>
860 Build fix, reviewed by nobody.
862 Fix the Qt build by setting up WindowFeatures before calling
863 createWindow on the Chrome. This is similar to openNewWindow in
864 page/ContextMenuController.cpp
869 2007-11-07 Simon Hausmann <hausmann@kde.org>
873 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
876 (QWebPagePrivate::QWebPagePrivate):
877 * Api/qwebsettings.cpp:
878 (QWebSettingsPrivate::apply):
879 * Api/qwebsettings.h:
881 2007-11-07 Simon Hausmann <hausmann@kde.org>
885 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
887 * Api/qwebpagehistory.cpp:
888 * Api/qwebpagehistory.h:
890 2007-11-07 Simon Hausmann <hausmann@kde.org>
894 Removed unimplemented QWebHistoryItem::children() function
896 * Api/qwebpagehistory.h:
898 2007-11-07 Simon Hausmann <hausmann@kde.org>
902 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
904 * Api/qwebsettings.cpp:
905 (QWebSettings::fontSize):
906 (QWebSettings::fontFamily):
907 (QWebSettings::testAttribute):
909 2007-11-07 Simon Hausmann <hausmann@kde.org>
913 Added explicit functions for resetting the font sizes and font families.
915 * Api/qwebsettings.cpp:
916 (QWebSettings::resetFontSize):
917 (QWebSettings::resetFontFamily):
918 * Api/qwebsettings.h:
920 2007-11-07 Simon Hausmann <hausmann@kde.org>
924 Combined the font sizes accessors/setters under one setter/getter with an enum.
926 * Api/qwebsettings.cpp:
927 (QWebSettingsPrivate::QWebSettingsPrivate):
928 (QWebSettingsPrivate::apply):
929 (QWebSettings::QWebSettings):
930 (QWebSettings::setFontSize):
931 * Api/qwebsettings.h:
933 2007-11-07 Simon Hausmann <hausmann@kde.org>
937 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
941 * WebCoreSupport/FrameLoaderClientQt.cpp:
942 (WebCore::FrameLoaderClientQt::userAgent):
944 2007-11-07 Simon Hausmann <hausmann@kde.org>
948 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
951 (QWebPagePrivate::_q_webActionTriggered):
952 (QWebPage::keyPressEvent):
955 2007-11-07 Simon Hausmann <hausmann@kde.org>
959 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
963 * WebCoreSupport/ChromeClientQt.cpp:
964 (WebCore::ChromeClientQt::setWindowRect):
966 2007-11-07 Simon Hausmann <hausmann@kde.org>
970 Renamed QWebPage::webAction() to QWebPage::action()
973 (QWebPagePrivate::createContextMenu):
975 * QtLauncher/main.cpp:
976 (MainWindow::MainWindow):
978 2007-11-07 Simon Hausmann <hausmann@kde.org>
982 Removed a bunch of slots/functions that are now available through the new actions API.
987 2007-11-07 Simon Hausmann <hausmann@kde.org>
991 Added some more comments to the API after another round of API review with Lars.
995 2007-11-07 Simon Hausmann <hausmann@kde.org>
999 Moved QWebFrame::selectedText() to QWebPage::selectedText().
1001 The currently selected text is a property of the page as a whole.
1003 * Api/qwebframe.cpp:
1006 (QWebPage::selectedText):
1009 2007-11-07 Simon Hausmann <hausmann@kde.org>
1013 Implemented support for settings propagation.
1015 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
1017 * Api/qwebsettings.cpp:
1018 (QWebSettingsPrivate::QWebSettingsPrivate):
1019 (QWebSettingsPrivate::apply):
1020 (QWebSettings::QWebSettings):
1021 (QWebSettings::~QWebSettings):
1022 (QWebSettings::setFontFamily):
1023 * Api/qwebsettings.h:
1025 2007-11-07 Simon Hausmann <hausmann@kde.org>
1029 Reworked the QWebSettings API.
1030 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
1033 (QWebPagePrivate::QWebPagePrivate):
1034 (QWebPagePrivate::~QWebPagePrivate):
1035 (QWebPage::QWebPage):
1038 * Api/qwebsettings.cpp:
1039 (QWebSettingsPrivate::QWebSettingsPrivate):
1040 (QWebSettingsPrivate::apply):
1041 (QWebSettings::defaultSettings):
1042 (QWebSettings::QWebSettings):
1043 (QWebSettings::setMinimumFontSize):
1044 (QWebSettings::setMinimumLogicalFontSize):
1045 (QWebSettings::setDefaultFontSize):
1046 (QWebSettings::setDefaultFixedFontSize):
1047 (QWebSettings::setUserStyleSheetLocation):
1048 (QWebSettings::setFontFamily):
1049 (QWebSettings::fontFamily):
1050 (QWebSettings::setAttribute):
1051 * Api/qwebsettings.h:
1052 * QtLauncher/main.cpp:
1055 2007-11-07 Simon Hausmann <hausmann@kde.org>
1059 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
1061 * Api/qwebsettings.cpp:
1062 (QWebSettings::setWebGraphic):
1063 * Api/qwebsettings.h:
1065 2007-11-07 Simon Hausmann <hausmann@kde.org>
1069 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
1071 * Api/qwebsettings.cpp:
1073 2007-11-07 Simon Hausmann <hausmann@kde.org>
1077 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
1079 * Api/qwebsettings.cpp:
1080 * Api/qwebsettings.h:
1082 2007-11-07 Simon Hausmann <hausmann@kde.org>
1086 Changed the webAction() accessor to not be a slot but just a public function.
1090 2007-11-07 Simon Hausmann <hausmann@kde.org>
1094 Implemented createWindow() in QtLauncher.
1096 * QtLauncher/main.cpp:
1098 (MainWindow::MainWindow):
1099 (WebPage::createWindow):
1101 2007-11-07 Simon Hausmann <hausmann@kde.org>
1105 Implemented opening links in new windows
1110 (QWebPage::webActionTriggered):
1112 2007-11-07 Simon Hausmann <hausmann@kde.org>
1116 Added and implemented the "OpenLink" action.
1119 (webActionForContextMenuAction):
1120 (QWebPage::webActionTriggered):
1121 (QWebPage::webAction):
1124 2007-11-07 Simon Hausmann <hausmann@kde.org>
1128 Adjust the state of the reload action correctly.
1131 (QWebPagePrivate::updateAction):
1132 (QWebPagePrivate::updateNavigationActions):
1134 2007-11-07 Simon Hausmann <hausmann@kde.org>
1138 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
1141 (QWebPagePrivate::updateAction):
1142 (QWebPage::webAction):
1143 (QWebPage::undoStack):
1146 2007-11-07 Simon Hausmann <hausmann@kde.org>
1150 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
1152 * QtLauncher/main.cpp:
1153 (MainWindow::MainWindow):
1155 2007-11-07 Simon Hausmann <hausmann@kde.org>
1159 Update the editor actions when the selection changes.
1162 (QWebPagePrivate::updateAction):
1163 (QWebPagePrivate::updateEditorActions):
1165 * WebCoreSupport/EditorClientQt.cpp:
1166 (WebCore::EditorClientQt::respondToChangedSelection):
1168 2007-11-07 Simon Hausmann <hausmann@kde.org>
1172 Added cut/copy/paste actions to the toolbar of QtLauncher
1174 * QtLauncher/main.cpp:
1175 (MainWindow::MainWindow):
1177 2007-11-07 Simon Hausmann <hausmann@kde.org>
1181 Started working on keeping the state of the navigation actions up-to-date.
1184 (QWebPagePrivate::updateAction):
1185 (QWebPagePrivate::updateNavigationActions):
1186 (QWebPage::webAction):
1188 * WebCoreSupport/FrameLoaderClientQt.cpp:
1189 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1190 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1191 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1192 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1193 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1195 2007-11-07 Simon Hausmann <hausmann@kde.org>
1199 Use the navigational web actions in the toolbar
1201 * QtLauncher/main.cpp:
1202 (MainWindow::MainWindow):
1204 2007-11-07 Simon Hausmann <hausmann@kde.org>
1208 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
1209 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
1212 (QWebPagePrivate::QWebPagePrivate):
1213 (webActionForContextMenuAction):
1214 (QWebPagePrivate::createContextMenu):
1215 (QWebPagePrivate::_q_webActionTriggered):
1216 (QWebPage::webActionTriggered):
1217 (QWebPage::webAction):
1218 (QWebPage::contextMenuEvent):
1219 (QWebPageContext::QWebPageContext):
1220 (QWebPageContext::operator=):
1221 (QWebPageContext::~QWebPageContext):
1222 (QWebPageContext::pos):
1223 (QWebPageContext::text):
1224 (QWebPageContext::linkUrl):
1225 (QWebPageContext::imageUrl):
1226 (QWebPageContext::image):
1227 (QWebPageContext::targetFrame):
1231 2007-11-07 Simon Hausmann <hausmann@kde.org>
1235 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
1238 (QWebPage::webActionTriggered):
1239 (QWebPage::keyPressEvent):
1242 2007-11-07 Simon Hausmann <hausmann@kde.org>
1246 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
1247 convenience methods such as cut()/copy()/paste().
1251 (QWebPage::webActionTriggered):
1256 2007-11-07 Simon Hausmann <hausmann@kde.org>
1260 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
1261 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
1262 in ContextMenu::populate().
1263 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
1264 out of it. That menu is currently not functional anymore though.
1267 (QWebPagePrivate::createContextMenu):
1268 (QWebPage::contextMenuEvent):
1271 2007-11-07 Simon Hausmann <hausmann@kde.org>
1275 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
1276 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
1277 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
1281 (QWebPage::contextMenuEvent):
1282 * WebCoreSupport/ContextMenuClientQt.cpp:
1283 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1285 2007-11-07 Simon Hausmann <hausmann@kde.org>
1289 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
1290 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
1293 (QWebPage::mousePressEvent):
1294 (QWebPage::contextMenuEvent):
1297 2007-11-07 Simon Hausmann <hausmann@kde.org>
1301 Turned onLoadProgressChanged into a real private slot.
1304 (QWebPage::QWebPage):
1308 2007-11-07 Simon Hausmann <hausmann@kde.org>
1312 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1315 (QWebPagePrivate::QWebPagePrivate):
1318 * Api/qwebpagehistory.cpp:
1319 (QWebPageHistory::QWebPageHistory):
1320 * Api/qwebpagehistory.h:
1322 2007-11-07 Lars Knoll <lars@trolltech.com>
1326 comments on API changes that we'd like to do.
1330 2007-11-07 Simon Hausmann <hausmann@kde.org>
1332 Reviewed by Lars Knoll <lars@trolltech.com>.
1334 Add a QWebPage::frameCreated() signal and fix DRT
1336 The removal of createFrame in QWebPage broke the re-implementation
1337 in DumpRenderTree. Instead emit a frameCreated() signal and
1338 connect to it in DumpRenderTree.
1342 (QWebPagePrivate::createMainFrame):
1344 * WebCoreSupport/FrameLoaderClientQt.cpp:
1345 (WebCore::FrameLoaderClientQt::createFrame):
1347 2007-11-07 Lars Knoll <lars@trolltech.com>
1351 Remove QWebPage::createFrame()
1353 now that QWebFrame doesn't have virtual methods anymore, there
1354 is no need for a createFrame() factory method in QWebpage.
1357 (QWebPagePrivate::createMainFrame):
1359 * WebCoreSupport/FrameLoaderClientQt.cpp:
1360 (WebCore::FrameLoaderClientQt::createFrame):
1362 2007-11-07 Simon Hausmann <hausmann@kde.org>
1364 Reviewed by Lars Knoll <lars@trolltech.com>.
1366 Moved all the event handlers from QWebFrame into QWebPage.
1368 This cleans up the public API and allows us to remove the
1369 HackWebFrame hack in DumpRenderTree.
1372 * Api/qwebframe.cpp:
1375 * Api/qwebframe_p.h:
1377 (QWebPagePrivate::frameAt):
1378 (QWebPage::mouseMoveEvent):
1379 (QWebPage::mousePressEvent):
1380 (QWebPage::mouseDoubleClickEvent):
1381 (QWebPage::mouseReleaseEvent):
1382 (QWebPage::wheelEvent):
1385 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
1387 Reviewed by Lars Knoll <lars@trolltech.com>.
1389 Use correct UserAgent string.
1391 * Only have one User Agent String and this place is QWebPage
1392 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
1393 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
1394 * ResourceRequest is != 0 when getting called from WebCore, we
1395 will only do requests when coming from WebCore and then we can
1396 use the User-Agent set with the help of the FrameLoaderClient
1397 * We might want to change QWebNetworkRequest a bit
1400 * Api/qwebnetworkinterface.cpp:
1401 (QWebNetworkRequestPrivate::init):
1403 2007-11-07 Lars Knoll <lars@trolltech.com>
1407 remove two notImplemented() warnings, as I believe we don't
1408 have to implement these methods. Add some (commented out)
1409 debug code in one place.
1411 * WebCoreSupport/EditorClientQt.cpp:
1412 (WebCore::EditorClientQt::respondToChangedSelection):
1413 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1415 2007-11-05 Tristan O'Tierney <tristan@apple.com>
1417 Reviewed by Darin Adler.
1419 * WebCoreSupport/ChromeClientQt.cpp:
1420 (WebCore::ChromeClientQt::createWindow):
1421 * WebCoreSupport/ChromeClientQt.h:
1422 Revised to use new WebCore ChromeClient createWindow API.
1424 2007-10-31 Lars Knoll <lars@trolltech.com>
1428 fix most of the issues I found with Clipboard and DnD.
1431 (QWebPage::dragLeaveEvent):
1433 2007-10-31 Lars Knoll <lars@trolltech.com>
1437 QDrag objects need to be created on the heap.
1439 * WebCoreSupport/DragClientQt.cpp:
1440 (WebCore::DragClientQt::startDrag):
1442 2007-10-31 Lars Knoll <lars@trolltech.com>
1446 a dragLeave event is not the same as cancelling a drag.
1450 2007-10-26 Mark Rowe <mrowe@apple.com>
1452 Build fix. Add missing #include of Platform.h.
1454 * Api/qwebhistoryinterface.cpp:
1456 2007-10-25 Holger Freyther <zecke@selfish.org>
1458 Reviewed by Simon Hausmann <hausmann@kde.org>.
1460 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
1461 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
1462 * This is causing some regressions...
1465 * Api/qwebnetworkinterface.cpp:
1466 (QWebNetworkManager::started):
1467 (QWebNetworkInterface::addJob):
1469 2007-10-25 Holger Freyther <zecke@selfish.org>
1471 Reviewed by Simon Hausmann <hausmann@kde.org>.
1473 * 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.
1474 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
1477 * Api/qwebnetworkinterface.cpp:
1478 (QWebNetworkManager::started):
1480 2007-10-25 Holger Freyther <zecke@selfish.org>
1482 Reviewed by Simon Hausmann <hausmann@kde.org>.
1484 * 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.
1485 * Use the error message from Qt. It might or might not be translated.
1488 * Api/qwebnetworkinterface.cpp:
1489 (QWebNetworkJob::errorString):
1490 (QWebNetworkJob::setErrorString):
1491 (QWebNetworkManager::finished):
1492 (QWebNetworkManager::doWork):
1493 (WebCoreHttp::onRequestFinished):
1494 * Api/qwebnetworkinterface.h:
1495 * Api/qwebnetworkinterface_p.h:
1497 2007-10-25 Holger Freyther <zecke@selfish.org>
1499 Reviewed by Simon Hausmann <hausmann@kde.org>.
1501 * 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.
1502 * 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.
1505 * Api/qwebnetworkinterface.cpp:
1506 (QWebNetworkManager::doWork):
1508 2007-10-25 Holger Freyther <zecke@selfish.org>
1510 Reviewed by Simon Hausmann <hausmann@kde.org>.
1512 * No need to initialize values in the QWebNetworkJob c'tor
1513 * 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.
1516 * Api/qwebnetworkinterface.cpp:
1517 (QWebNetworkJob::status):
1518 (QWebNetworkJob::setStatus):
1519 (QWebNetworkManager::started):
1520 (QWebNetworkManager::data):
1521 (QWebNetworkManager::finished):
1522 * Api/qwebnetworkinterface.h:
1523 * Api/qwebnetworkinterface_p.h:
1524 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1526 2007-10-25 Holger Freyther <zecke@selfish.org>
1528 Reviewed by Simon Hausmann <hausmann@kde.org>.
1530 * Consistency: Always name the jobs job.
1533 * Api/qwebnetworkinterface.cpp:
1534 (WebCoreHttp::onReadyRead):
1535 (WebCoreHttp::onRequestFinished):
1536 (WebCoreHttp::onSslErrors):
1537 (WebCoreHttp::onAuthenticationRequired):
1538 (WebCoreHttp::onProxyAuthenticationRequired):
1540 2007-10-25 Holger Freyther <zecke@selfish.org>
1542 Reviewed by Simon Hausmann <hausmann@kde.org>.
1544 * 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.
1545 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
1548 * Api/qwebnetworkinterface.cpp:
1549 (QWebNetworkJob::~QWebNetworkJob):
1550 (QWebNetworkManager::QWebNetworkManager):
1551 (QWebNetworkManager::self):
1552 (QWebNetworkManager::add):
1553 (QWebNetworkManager::started):
1554 (QWebNetworkManager::finished):
1555 (QWebNetworkInterfacePrivate::sendFileData):
1556 (QWebNetworkInterfacePrivate::parseDataUrl):
1557 (QWebNetworkManager::queueStart):
1558 (QWebNetworkManager::queueData):
1559 (QWebNetworkManager::queueFinished):
1560 (QWebNetworkManager::doScheduleWork):
1561 (QWebNetworkManager::doWork):
1562 (gCleanupInterface):
1563 (QWebNetworkInterface::setDefaultInterface):
1564 (QWebNetworkInterface::defaultInterface):
1565 (QWebNetworkInterface::QWebNetworkInterface):
1566 (QWebNetworkInterface::started):
1567 (QWebNetworkInterface::data):
1568 (QWebNetworkInterface::finished):
1569 (WebCoreHttp::scheduleNextRequest):
1570 (WebCoreHttp::onResponseHeaderReceived):
1571 (WebCoreHttp::onReadyRead):
1572 (WebCoreHttp::onRequestFinished):
1573 (WebCoreHttp::cancel):
1574 * Api/qwebnetworkinterface.h:
1575 * Api/qwebnetworkinterface_p.h:
1576 (QWebNetworkManager::):
1577 (QWebNetworkManager::JobData::JobData):
1578 (QWebNetworkManager::JobFinished::JobFinished):
1580 2007-10-25 Holger Freyther <zecke@selfish.org>
1582 Reviewed by Simon Hausmann <hausmann@kde.org>.
1584 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
1585 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
1586 * We pass the char-decoding.html test now
1589 * Api/qwebnetworkinterface.cpp:
1590 (decodePercentEncoding):
1591 (QWebNetworkInterfacePrivate::parseDataUrl):
1593 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
1595 Reviewed by Lars Knoll <lars@trolltech.com>.
1597 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
1600 * WebCoreSupport/EditorClientQt.cpp:
1601 (WebCore::EditorClientQt::handleKeypress):
1603 2007-10-24 Lars Knoll <lars@trolltech.com>
1607 remove some notImplemented() warnings.
1609 * WebCoreSupport/EditorClientQt.cpp:
1610 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1611 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1612 (WebCore::EditorClientQt::respondToChangedSelection):
1614 2007-10-24 Lars Knoll <lars@trolltech.com>
1618 allow paste from DOM so we pass more test cases.
1621 (QWebPage::setSettings):
1623 2007-10-24 Lars Knoll <lars@trolltech.com>
1627 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
1630 (QWebPage::keyPressEvent):
1631 (QWebPage::keyReleaseEvent):
1633 2007-10-24 Lars Knoll <lars@trolltech.com>
1637 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1639 * WebCoreSupport/EditorClientQt.cpp:
1640 (qt_dump_editing_callbacks):
1643 2007-10-24 Lars Knoll <lars@trolltech.com>
1647 implemented support for most editing shortcuts to make contentEditable usable.
1650 (QWebPage::keyPressEvent):
1652 2007-10-24 Lars Knoll <lars@trolltech.com>
1656 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1659 (QWebPage::focusInEvent):
1661 2007-10-24 Lars Knoll <lars@trolltech.com>
1665 Implement support for testing editing.
1667 * WebCoreSupport/EditorClientQt.cpp:
1668 (qt_dump_editing_callbacks):
1669 (qt_dump_set_accepts_editing):
1672 (WebCore::EditorClientQt::shouldDeleteRange):
1673 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1674 (WebCore::EditorClientQt::shouldBeginEditing):
1675 (WebCore::EditorClientQt::shouldEndEditing):
1676 (WebCore::EditorClientQt::shouldInsertText):
1677 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1678 (WebCore::EditorClientQt::shouldApplyStyle):
1679 (WebCore::EditorClientQt::didBeginEditing):
1680 (WebCore::EditorClientQt::respondToChangedContents):
1681 (WebCore::EditorClientQt::respondToChangedSelection):
1682 (WebCore::EditorClientQt::didEndEditing):
1683 (WebCore::EditorClientQt::shouldInsertNode):
1685 2007-10-19 Alp Toker <alp@atoker.com>
1689 GTK+ build fix enabling the new local database storage feature.
1690 There is also a prospective Qt build fix.
1692 * WebCoreSupport/ChromeClientQt.cpp:
1693 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1694 * WebCoreSupport/ChromeClientQt.h:
1696 2007-10-19 Simon Hausmann <hausmann@kde.org>
1698 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1699 that config.h is included before wtf/MathExtras. The former defines
1700 the MSVC defines for rand_s.
1702 * WebCoreSupport/FrameLoaderClientQt.cpp:
1704 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1708 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1710 * Api/qwebframe.cpp:
1713 2007-10-10 Alice Liu <alice.liu@apple.com>
1715 Reviewed by Geoff Garen.
1717 changes to keep the build from breaking
1719 * WebCoreSupport/FrameLoaderClientQt.cpp:
1720 (WebCore::FrameLoaderClientQt::createFrame):
1721 * WebCoreSupport/FrameLoaderClientQt.h:
1723 2007-10-09 Lars Knoll <lars@trolltech.com>
1727 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1730 (QWebPage::setSettings):
1732 2007-10-09 Lars Knoll <lars@trolltech.com>
1736 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1738 * Api/qwebnetworkinterface.cpp:
1739 (QWebNetworkManager::add):
1740 (QWebNetworkManager::cancel):
1741 (QWebNetworkManager::started):
1742 (QWebNetworkManager::data):
1743 (QWebNetworkInterfacePrivate::parseDataUrl):
1745 2007-10-09 Lars Knoll <lars@trolltech.com>
1749 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.
1752 (QWebPagePrivate::createMainFrame):
1753 (QWebPage::createFrame):
1754 * WebCoreSupport/FrameLoaderClientQt.cpp:
1755 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1756 * WebCoreSupport/FrameLoaderClientQt.h:
1758 2007-10-09 Lars Knoll <lars@trolltech.com>
1762 add a clear() method to QWebPageHistory.
1764 * Api/qwebpagehistory.cpp:
1765 (QWebPageHistory::clear):
1766 (QWebPageHistory::itemAtIndex):
1767 * Api/qwebpagehistory.h:
1769 2007-10-05 Lars Knoll <lars@trolltech.com>
1771 add proper error messages to the FrameLoaderClient.
1772 Implement ChromeClientQt::closeWindowSoon and
1773 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1774 Some fixes in DRT to make it work correctly with multiple windows.
1779 * Api/qwebnetworkinterface.cpp:
1780 (QWebNetworkManager::cancel):
1781 (QWebNetworkInterface::addJob):
1782 * WebCoreSupport/ChromeClientQt.cpp:
1783 (WebCore::ChromeClientQt::closeWindowSoon):
1784 * WebCoreSupport/FrameLoaderClientQt.cpp:
1785 (WebCore::FrameLoaderClientQt::cancelledError):
1787 (WebCore::FrameLoaderClientQt::blockedError):
1788 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1789 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1790 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1791 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1793 2007-10-03 Lars Knoll <lars@trolltech.com>
1795 Signed off by Olliej.
1797 move WebKitQt to WebKit/qt for consistency with the other ports.
1799 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1800 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1801 (QCookieJarPrivate::QCookieJarPrivate):
1803 (QCookieJar::QCookieJar):
1804 (QCookieJar::~QCookieJar):
1805 (QCookieJar::setCookies):
1806 (QCookieJar::cookies):
1807 (QCookieJar::isEnabled):
1808 (QCookieJar::setEnabled):
1810 (QCookieJar::setCookieJar):
1811 (QCookieJar::cookieJar):
1812 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1813 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1814 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1815 (QWebFramePrivate::init):
1816 (QWebFramePrivate::parentFrame):
1817 (QWebFramePrivate::horizontalScrollBar):
1818 (QWebFramePrivate::verticalScrollBar):
1819 (QWebFrame::QWebFrame):
1820 (QWebFrame::~QWebFrame):
1821 (QWebFrame::addToJSWindowObject):
1822 (QWebFrame::markup):
1823 (QWebFrame::innerText):
1824 (QWebFrame::renderTreeDump):
1828 (QWebFrame::selectedText):
1829 (QWebFrame::childFrames):
1830 (QWebFrame::verticalScrollBarPolicy):
1831 (QWebFrame::setVerticalScrollBarPolicy):
1832 (QWebFrame::horizontalScrollBarPolicy):
1833 (QWebFrame::setHorizontalScrollBarPolicy):
1834 (QWebFrame::render):
1835 (QWebFrame::layout):
1837 (QWebFrame::geometry):
1838 (QWebFrame::evaluateJavaScript):
1839 (QWebFrame::mouseMoveEvent):
1840 (QWebFrame::mousePressEvent):
1841 (QWebFrame::mouseDoubleClickEvent):
1842 (QWebFrame::mouseReleaseEvent):
1843 (QWebFrame::wheelEvent):
1844 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1845 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1846 (QWebFramePrivate::QWebFramePrivate):
1847 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1848 (WebCore::historyContains):
1849 (gCleanupInterface):
1850 (QWebHistoryInterface::setDefaultInterface):
1851 (QWebHistoryInterface::defaultInterface):
1852 (QWebHistoryInterface::QWebHistoryInterface):
1853 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1854 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1855 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1858 (QWebNetworkRequestPrivate::init):
1859 (QWebNetworkRequestPrivate::setURL):
1860 (QWebNetworkRequest::QWebNetworkRequest):
1861 (QWebNetworkRequest::operator=):
1862 (QWebNetworkRequest::~QWebNetworkRequest):
1863 (QWebNetworkRequest::url):
1864 (QWebNetworkRequest::setUrl):
1865 (QWebNetworkRequest::httpHeader):
1866 (QWebNetworkRequest::setHttpHeader):
1867 (QWebNetworkRequest::httpHeaderField):
1868 (QWebNetworkRequest::setHttpHeaderField):
1869 (QWebNetworkRequest::postData):
1870 (QWebNetworkRequest::setPostData):
1871 (QWebNetworkJob::QWebNetworkJob):
1872 (QWebNetworkJob::~QWebNetworkJob):
1873 (QWebNetworkJob::url):
1874 (QWebNetworkJob::postData):
1875 (QWebNetworkJob::httpHeader):
1876 (QWebNetworkJob::request):
1877 (QWebNetworkJob::response):
1878 (QWebNetworkJob::setResponse):
1879 (QWebNetworkJob::cancelled):
1880 (QWebNetworkJob::ref):
1881 (QWebNetworkJob::deref):
1882 (QWebNetworkJob::networkInterface):
1883 (QWebNetworkJob::frame):
1884 (QWebNetworkManager::QWebNetworkManager):
1885 (QWebNetworkManager::self):
1886 (QWebNetworkManager::add):
1887 (QWebNetworkManager::cancel):
1888 (QWebNetworkManager::started):
1889 (QWebNetworkManager::data):
1890 (QWebNetworkManager::finished):
1891 (QWebNetworkManager::addHttpJob):
1892 (QWebNetworkManager::cancelHttpJob):
1893 (QWebNetworkManager::httpConnectionClosed):
1894 (QWebNetworkInterfacePrivate::sendFileData):
1895 (QWebNetworkInterfacePrivate::parseDataUrl):
1896 (gCleanupInterface):
1897 (QWebNetworkInterface::setDefaultInterface):
1898 (QWebNetworkInterface::defaultInterface):
1899 (QWebNetworkInterface::QWebNetworkInterface):
1900 (QWebNetworkInterface::~QWebNetworkInterface):
1901 (QWebNetworkInterface::addJob):
1902 (QWebNetworkInterface::cancelJob):
1903 (WebCoreHttp::WebCoreHttp):
1904 (WebCoreHttp::~WebCoreHttp):
1905 (WebCoreHttp::request):
1906 (WebCoreHttp::scheduleNextRequest):
1907 (WebCoreHttp::getConnection):
1908 (WebCoreHttp::onResponseHeaderReceived):
1909 (WebCoreHttp::onReadyRead):
1910 (WebCoreHttp::onRequestFinished):
1911 (WebCoreHttp::onDone):
1912 (WebCoreHttp::onStateChanged):
1913 (WebCoreHttp::cancel):
1914 (WebCoreHttp::onSslErrors):
1915 (WebCoreHttp::onAuthenticationRequired):
1916 (WebCoreHttp::onProxyAuthenticationRequired):
1917 (HostInfo::HostInfo):
1918 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1919 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1920 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1921 (WebCore::HostInfo::HostInfo):
1922 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1923 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1924 (QWebFactoryLoader::QWebFactoryLoader):
1925 (QWebFactoryLoader::self):
1926 (QWebFactoryLoader::descriptionForName):
1927 (QWebFactoryLoader::mimetypesForName):
1928 (QWebFactoryLoader::mimeTypeForExtension):
1929 (QWebFactoryLoader::extensions):
1930 (QWebFactoryLoader::nameForMimetype):
1931 (QWebFactoryLoader::create):
1932 (QWebObjectPlugin::QWebObjectPlugin):
1933 (QWebObjectPlugin::~QWebObjectPlugin):
1934 (QWebObjectPlugin::descriptionForKey):
1935 (QWebObjectPlugin::mimetypesForKey):
1936 (QWebObjectPlugin::extensionsForMimetype):
1937 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1938 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1939 (QWebFactoryLoader::names):
1940 (QWebFactoryLoader::supportsMimeType):
1941 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1942 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1943 (QWebObjectPluginConnector::frame):
1944 (QWebObjectPluginConnector::pluginParentWidget):
1945 (QWebObjectPluginConnector::requestUrl):
1946 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1947 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1948 (QWebPagePrivate::QWebPagePrivate):
1949 (QWebPagePrivate::~QWebPagePrivate):
1950 (QWebPagePrivate::navigationRequested):
1951 (QWebPagePrivate::createMainFrame):
1952 (QWebPage::QWebPage):
1953 (QWebPage::~QWebPage):
1954 (QWebPage::createFrame):
1958 (QWebPage::mainFrame):
1959 (QWebPage::sizeHint):
1961 (QWebPage::history):
1963 (QWebPage::goForward):
1964 (QWebPage::goToHistoryItem):
1965 (QWebPage::javaScriptConsoleMessage):
1966 (QWebPage::javaScriptAlert):
1967 (QWebPage::javaScriptConfirm):
1968 (QWebPage::javaScriptPrompt):
1969 (QWebPage::createWindow):
1970 (QWebPage::createModalDialog):
1971 (QWebPage::createPlugin):
1972 (QWebPage::navigationRequested):
1973 (QWebPage::setWindowGeometry):
1975 (QWebPage::canCopy):
1976 (QWebPage::canPaste):
1980 (QWebPage::isModified):
1981 (QWebPage::undoStack):
1982 (dropActionToDragOp):
1983 (dragOpToDropAction):
1984 (QWebPage::resizeEvent):
1985 (QWebPage::paintEvent):
1986 (QWebPage::mouseMoveEvent):
1987 (QWebPage::mousePressEvent):
1988 (QWebPage::mouseDoubleClickEvent):
1989 (QWebPage::mouseReleaseEvent):
1990 (QWebPage::wheelEvent):
1991 (QWebPage::keyPressEvent):
1992 (QWebPage::keyReleaseEvent):
1993 (QWebPage::focusInEvent):
1994 (QWebPage::focusOutEvent):
1995 (QWebPage::focusNextPrevChild):
1996 (QWebPage::dragEnterEvent):
1997 (QWebPage::dragLeaveEvent):
1998 (QWebPage::dragMoveEvent):
1999 (QWebPage::dropEvent):
2000 (QWebPage::setNetworkInterface):
2001 (QWebPage::networkInterface):
2003 (QWebPage::setSettings):
2004 (QWebPage::settings):
2005 (QWebPage::chooseFile):
2006 (QWebPage::setNetworkProxy):
2007 (QWebPage::networkProxy):
2008 (QWebPage::userAgentStringForUrl):
2009 (QWebPage::onLoadProgressChanged):
2010 (QWebPage::totalBytes):
2011 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
2012 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
2013 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
2014 (QWebHistoryItem::QWebHistoryItem):
2015 (QWebHistoryItem::operator=):
2016 (QWebHistoryItem::~QWebHistoryItem):
2017 (QWebHistoryItem::originalUrl):
2018 (QWebHistoryItem::currentUrl):
2019 (QWebHistoryItem::title):
2020 (QWebHistoryItem::lastVisited):
2021 (QWebHistoryItem::icon):
2022 (QWebPageHistory::QWebPageHistory):
2023 (QWebPageHistory::itemAtIndex):
2024 (QWebPageHistory::operator=):
2025 (QWebPageHistory::~QWebPageHistory):
2026 (QWebPageHistory::items):
2027 (QWebPageHistory::backItems):
2028 (QWebPageHistory::forwardItems):
2029 (QWebPageHistory::canGoBack):
2030 (QWebPageHistory::canGoForward):
2031 (QWebPageHistory::goBack):
2032 (QWebPageHistory::goForward):
2033 (QWebPageHistory::goToItem):
2034 (QWebPageHistory::backItem):
2035 (QWebPageHistory::currentItem):
2036 (QWebPageHistory::forwardItem):
2037 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
2038 (QExplicitlySharedDataPointer::operator*):
2039 (QExplicitlySharedDataPointer::operator->):
2040 (QExplicitlySharedDataPointer::operator T *):
2041 (QExplicitlySharedDataPointer::operator const T *):
2042 (QExplicitlySharedDataPointer::data):
2043 (QExplicitlySharedDataPointer::constData):
2044 (QExplicitlySharedDataPointer::operator==):
2045 (QExplicitlySharedDataPointer::operator!=):
2046 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
2047 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
2048 (QExplicitlySharedDataPointer::operator=):
2049 (QExplicitlySharedDataPointer::operator!):
2050 (::QExplicitlySharedDataPointer):
2051 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
2052 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
2053 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
2054 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
2055 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
2056 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
2057 (QWebSettingsPrivate::QWebSettingsPrivate):
2058 (QWebSettings::QWebSettings):
2059 (QWebSettings::~QWebSettings):
2060 (QWebSettings::setMinimumFontSize):
2061 (QWebSettings::minimumFontSize):
2062 (QWebSettings::setMinimumLogicalFontSize):
2063 (QWebSettings::minimumLogicalFontSize):
2064 (QWebSettings::setDefaultFontSize):
2065 (QWebSettings::defaultFontSize):
2066 (QWebSettings::setDefaultFixedFontSize):
2067 (QWebSettings::defaultFixedFontSize):
2068 (QWebSettings::setUserStyleSheetLocation):
2069 (QWebSettings::userStyleSheetLocation):
2070 (QWebSettings::setIconDatabaseEnabled):
2071 (QWebSettings::iconDatabaseEnabled):
2072 (QWebSettings::setWebGraphic):
2073 (QWebSettings::webGraphic):
2074 (QWebSettings::operator=):
2075 (QWebSettings::setGlobal):
2076 (QWebSettings::global):
2077 (QWebSettings::setFontFamily):
2078 (QWebSettings::fontFamily):
2079 (QWebSettings::setAttribute):
2080 (QWebSettings::testAttribute):
2081 (loadResourcePixmap):
2082 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
2083 * ChangeLog: Renamed from WebKitQt/ChangeLog.
2084 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
2085 (IcoHeader::operator >>):
2086 (IcoHeader::BMP_INFOHDR::):
2087 (IcoHeader::operator<<):
2088 (IcoHeader::LessDifference::LessDifference):
2089 (IcoHeader::LessDifference::operator ()):
2090 (IcoHeader::loadFromDIB):
2091 (ICOHandler::ICOHandler):
2092 (ICOHandler::canRead):
2094 (ICOHandler::write):
2097 (ICOPlugin::capabilities):
2098 (ICOPlugin::create):
2099 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
2100 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
2101 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
2102 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
2103 (HoverLabel::HoverLabel):
2104 (HoverLabel::setHoverLink):
2105 (HoverLabel::sizeForFont):
2106 (HoverLabel::sizeHint):
2107 (HoverLabel::updateSize):
2108 (HoverLabel::resetAnimation):
2109 (HoverLabel::paintEvent):
2110 (HoverLabel::interpolate):
2111 (ClearButton::ClearButton):
2112 (ClearButton::paintEvent):
2113 (SearchEdit::SearchEdit):
2114 (SearchEdit::~SearchEdit):
2115 (SearchEdit::paintEvent):
2116 (SearchEdit::resizeEvent):
2117 (SearchEdit::moveEvent):
2118 (MainWindow::MainWindow):
2119 (MainWindow::changeLocation):
2120 (MainWindow::loadFinished):
2121 (MainWindow::showLinkHover):
2122 (MainWindow::resizeEvent):
2124 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
2125 (WebCore::ChromeClientQt::ChromeClientQt):
2126 (WebCore::ChromeClientQt::~ChromeClientQt):
2127 (WebCore::ChromeClientQt::setWindowRect):
2128 (WebCore::ChromeClientQt::windowRect):
2129 (WebCore::ChromeClientQt::pageRect):
2130 (WebCore::ChromeClientQt::scaleFactor):
2131 (WebCore::ChromeClientQt::focus):
2132 (WebCore::ChromeClientQt::unfocus):
2133 (WebCore::ChromeClientQt::canTakeFocus):
2134 (WebCore::ChromeClientQt::takeFocus):
2135 (WebCore::ChromeClientQt::createWindow):
2136 (WebCore::ChromeClientQt::createModalDialog):
2137 (WebCore::ChromeClientQt::show):
2138 (WebCore::ChromeClientQt::canRunModal):
2139 (WebCore::ChromeClientQt::runModal):
2140 (WebCore::ChromeClientQt::setToolbarsVisible):
2141 (WebCore::ChromeClientQt::toolbarsVisible):
2142 (WebCore::ChromeClientQt::setStatusbarVisible):
2143 (WebCore::ChromeClientQt::statusbarVisible):
2144 (WebCore::ChromeClientQt::setScrollbarsVisible):
2145 (WebCore::ChromeClientQt::scrollbarsVisible):
2146 (WebCore::ChromeClientQt::setMenubarVisible):
2147 (WebCore::ChromeClientQt::menubarVisible):
2148 (WebCore::ChromeClientQt::setResizable):
2149 (WebCore::ChromeClientQt::addMessageToConsole):
2150 (WebCore::ChromeClientQt::chromeDestroyed):
2151 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2152 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2153 (WebCore::ChromeClientQt::closeWindowSoon):
2154 (WebCore::ChromeClientQt::runJavaScriptAlert):
2155 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2156 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2157 (WebCore::ChromeClientQt::setStatusbarText):
2158 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
2159 (WebCore::ChromeClientQt::tabsToLinks):
2160 (WebCore::ChromeClientQt::windowResizerRect):
2161 (WebCore::ChromeClientQt::addToDirtyRegion):
2162 (WebCore::ChromeClientQt::scrollBackingStore):
2163 (WebCore::ChromeClientQt::updateBackingStore):
2164 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2165 (WebCore::ChromeClientQt::setToolTip):
2166 (WebCore::ChromeClientQt::print):
2167 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
2168 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
2169 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
2170 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2171 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
2172 (WebCore::ContextMenuClientQt::downloadURL):
2173 (WebCore::ContextMenuClientQt::lookUpInDictionary):
2174 (WebCore::ContextMenuClientQt::speak):
2175 (WebCore::ContextMenuClientQt::stopSpeaking):
2176 (WebCore::ContextMenuClientQt::searchWithGoogle):
2177 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
2178 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
2179 (WebCore::DragClientQt::actionMaskForDrag):
2180 (WebCore::DragClientQt::willPerformDragDestinationAction):
2181 (WebCore::DragClientQt::dragControllerDestroyed):
2182 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
2183 (WebCore::DragClientQt::willPerformDragSourceAction):
2184 (WebCore::DragClientQt::startDrag):
2185 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
2186 (WebCore::DragClientQt::DragClientQt):
2187 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
2188 (EditCommandQt::EditCommandQt):
2189 (EditCommandQt::~EditCommandQt):
2190 (EditCommandQt::redo):
2191 (EditCommandQt::undo):
2192 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
2193 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
2194 (WebCore::EditorClientQt::shouldDeleteRange):
2195 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2196 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2197 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2198 (WebCore::EditorClientQt::spellCheckerDocumentTag):
2199 (WebCore::EditorClientQt::shouldBeginEditing):
2200 (WebCore::EditorClientQt::shouldEndEditing):
2201 (WebCore::EditorClientQt::shouldInsertText):
2202 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2203 (WebCore::EditorClientQt::shouldApplyStyle):
2204 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2205 (WebCore::EditorClientQt::didBeginEditing):
2206 (WebCore::EditorClientQt::respondToChangedContents):
2207 (WebCore::EditorClientQt::respondToChangedSelection):
2208 (WebCore::EditorClientQt::didEndEditing):
2209 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2210 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
2211 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
2212 (WebCore::EditorClientQt::isEditable):
2213 (WebCore::EditorClientQt::registerCommandForUndo):
2214 (WebCore::EditorClientQt::registerCommandForRedo):
2215 (WebCore::EditorClientQt::clearUndoRedoOperations):
2216 (WebCore::EditorClientQt::canUndo):
2217 (WebCore::EditorClientQt::canRedo):
2218 (WebCore::EditorClientQt::undo):
2219 (WebCore::EditorClientQt::redo):
2220 (WebCore::EditorClientQt::shouldInsertNode):
2221 (WebCore::EditorClientQt::pageDestroyed):
2222 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
2223 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
2224 (WebCore::EditorClientQt::toggleGrammarChecking):
2225 (WebCore::EditorClientQt::handleKeypress):
2226 (WebCore::EditorClientQt::handleInputMethodKeypress):
2227 (WebCore::EditorClientQt::EditorClientQt):
2228 (WebCore::EditorClientQt::textFieldDidBeginEditing):
2229 (WebCore::EditorClientQt::textFieldDidEndEditing):
2230 (WebCore::EditorClientQt::textDidChangeInTextField):
2231 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
2232 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
2233 (WebCore::EditorClientQt::textDidChangeInTextArea):
2234 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
2235 (WebCore::EditorClientQt::learnWord):
2236 (WebCore::EditorClientQt::checkSpellingOfString):
2237 (WebCore::EditorClientQt::checkGrammarOfString):
2238 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
2239 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
2240 (WebCore::EditorClientQt::showSpellingUI):
2241 (WebCore::EditorClientQt::spellingUIIsShowing):
2242 (WebCore::EditorClientQt::getGuessesForWord):
2243 (WebCore::EditorClientQt::isEditing):
2244 (WebCore::EditorClientQt::setInputMethodState):
2245 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
2246 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
2247 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2248 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
2249 (WebCore::FrameLoaderClientQt::setFrame):
2250 (WebCore::FrameLoaderClientQt::webFrame):
2251 (WebCore::FrameLoaderClientQt::callPolicyFunction):
2252 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
2253 (WebCore::FrameLoaderClientQt::hasWebView):
2254 (WebCore::FrameLoaderClientQt::hasFrameView):
2255 (WebCore::FrameLoaderClientQt::hasBackForwardList):
2256 (WebCore::FrameLoaderClientQt::resetBackForwardList):
2257 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
2258 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
2259 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
2260 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
2261 (WebCore::FrameLoaderClientQt::makeDocumentView):
2262 (WebCore::FrameLoaderClientQt::makeRepresentation):
2263 (WebCore::FrameLoaderClientQt::forceLayout):
2264 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
2265 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
2266 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
2267 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
2268 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
2269 (WebCore::FrameLoaderClientQt::willCloseDocument):
2270 (WebCore::FrameLoaderClientQt::detachedFromParent2):
2271 (WebCore::FrameLoaderClientQt::detachedFromParent3):
2272 (WebCore::FrameLoaderClientQt::detachedFromParent4):
2273 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
2274 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2275 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
2276 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
2277 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
2278 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
2279 (WebCore::FrameLoaderClientQt::dispatchWillClose):
2280 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2281 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2282 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2283 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2284 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2285 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2286 (WebCore::FrameLoaderClientQt::dispatchShow):
2287 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
2288 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
2289 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
2290 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
2291 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
2292 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2293 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
2294 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2295 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2296 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2297 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2298 (WebCore::FrameLoaderClientQt::willChangeTitle):
2299 (WebCore::FrameLoaderClientQt::didChangeTitle):
2300 (WebCore::FrameLoaderClientQt::finishedLoading):
2301 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
2302 (WebCore::FrameLoaderClientQt::setDefersLoading):
2303 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
2304 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
2305 (WebCore::FrameLoaderClientQt::clearArchivedResources):
2306 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2307 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2308 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
2309 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
2310 (WebCore::FrameLoaderClientQt::restoreViewState):
2311 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
2312 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
2313 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
2314 (WebCore::FrameLoaderClientQt::didFinishLoad):
2315 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
2316 (WebCore::FrameLoaderClientQt::setTitle):
2317 (WebCore::FrameLoaderClientQt::userAgent):
2318 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2319 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
2320 (WebCore::FrameLoaderClientQt::canHandleRequest):
2321 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2322 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2323 (WebCore::FrameLoaderClientQt::registerForIconNotification):
2324 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
2325 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
2326 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
2327 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
2328 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
2329 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
2330 (WebCore::FrameLoaderClientQt::canCachePage):
2331 (WebCore::FrameLoaderClientQt::setMainDocumentError):
2332 (WebCore::FrameLoaderClientQt::committedLoad):
2333 (WebCore::FrameLoaderClientQt::cancelledError):
2334 (WebCore::FrameLoaderClientQt::blockedError):
2335 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2336 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2337 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2338 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
2339 (WebCore::FrameLoaderClientQt::shouldFallBack):
2340 (WebCore::FrameLoaderClientQt::createDocumentLoader):
2341 (WebCore::FrameLoaderClientQt::download):
2342 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
2343 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2344 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
2345 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
2346 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
2347 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
2348 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
2349 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2350 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
2351 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2352 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2353 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2354 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
2355 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2356 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2357 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2358 (WebCore::FrameLoaderClientQt::startDownload):
2359 (WebCore::FrameLoaderClientQt::willUseArchive):
2360 (WebCore::FrameLoaderClientQt::createFrame):
2361 (WebCore::FrameLoaderClientQt::objectContentType):
2363 (WebCore::FrameLoaderClientQt::createPlugin):
2364 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2365 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
2366 (WebCore::FrameLoaderClientQt::overrideMediaType):
2367 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
2368 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
2369 (WebCore::InspectorClientQt::inspectorDestroyed):
2370 (WebCore::InspectorClientQt::createPage):
2371 (WebCore::InspectorClientQt::showWindow):
2372 (WebCore::InspectorClientQt::closeWindow):
2373 (WebCore::InspectorClientQt::attachWindow):
2374 (WebCore::InspectorClientQt::detachWindow):
2375 (WebCore::InspectorClientQt::highlight):
2376 (WebCore::InspectorClientQt::hideHighlight):
2377 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
2378 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
2379 (WebKitFactory::WebKitFactory):
2380 (WebKitFactory::~WebKitFactory):
2381 (WebKitFactory::createPartObject):
2382 (WebKitFactory::instance):
2383 (WebKitFactory::ref):
2384 (WebKitFactory::deref):
2385 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
2386 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
2387 (WebKitPart::WebKitPart):
2388 (WebKitPart::~WebKitPart):
2389 (WebKitPart::openFile):
2390 (WebKitPart::openUrl):
2391 (WebKitPart::closeUrl):
2392 (WebKitPart::parentPart):
2393 (WebKitPart::frame):
2394 (WebKitPart::initView):
2395 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
2396 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
2398 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
2399 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
2400 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
2401 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
2402 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
2403 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
2404 (WebKitPartClient::WebKitPartClient):
2405 (WebKitPartClient::~WebKitPartClient):
2406 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
2407 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
2408 (WebKitPartInterface::WebKitPartInterface):
2409 (WebKitPartInterface::~WebKitPartInterface):
2410 (WebKitPartInterface::url):
2411 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
2412 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
2414 2007-10-02 Adam Treat <treat@kde.org>
2416 Reviewed by Eric Seidel.
2418 Open the requested url on the newly created window.
2419 Implement createModalDialog and provide new API for this.
2420 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
2423 (QWebPage::createModalDialog):
2425 * WebCoreSupport/ChromeClientQt.cpp:
2426 (WebCore::ChromeClientQt::createWindow):
2427 (WebCore::ChromeClientQt::createModalDialog):
2429 2007-10-02 Lars Knoll <lars@trolltech.com>
2433 Add API to retrieve the frame name from QWebFrame.
2434 Implement support for DRT::dumpChildrenAsText.
2436 * Api/qwebframe.cpp:
2440 2007-10-02 Lars Knoll <lars@trolltech.com>
2444 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2446 * Api/qwebnetworkinterface.cpp:
2447 (QWebNetworkManager::started):
2448 (QWebNetworkManager::data):
2449 (QWebNetworkManager::finished):
2450 (QWebNetworkInterfacePrivate::sendFileData):
2451 (QWebNetworkInterfacePrivate::parseDataUrl):
2452 (WebCoreHttp::scheduleNextRequest):
2453 (WebCoreHttp::onSslErrors):
2454 * QtLauncher/main.cpp:
2457 2007-10-01 Lars Knoll <lars@trolltech.com>
2461 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
2463 * WebCoreSupport/FrameLoaderClientQt.cpp:
2464 (WebCore::FrameLoaderClientQt::makeDocumentView):
2465 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2466 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2467 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2468 (WebCore::FrameLoaderClientQt::objectContentType):
2469 (WebCore::FrameLoaderClientQt::createPlugin):
2471 2007-09-30 George Staikos <staikos@kde.org>
2473 Qt build fix (OS X specific).
2475 * QtLauncher/QtLauncher.pro:
2477 2007-09-26 Mark Rowe <mrowe@apple.com>
2481 * WebCoreSupport/FrameLoaderClientQt.cpp:
2482 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
2484 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2488 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2489 LGPL'ed files contain incorrect FSF address
2491 * Api/qcookiejar.cpp:
2493 * Api/qwebframe.cpp:
2495 * Api/qwebframe_p.h:
2496 * Api/qwebhistoryinterface.cpp:
2497 * Api/qwebhistoryinterface.h:
2498 * Api/qwebkitglobal.h:
2499 * Api/qwebnetworkinterface.cpp:
2500 * Api/qwebnetworkinterface.h:
2501 * Api/qwebnetworkinterface_p.h:
2502 * Api/qwebobjectplugin.cpp:
2503 * Api/qwebobjectplugin.h:
2504 * Api/qwebobjectpluginconnector.cpp:
2505 * Api/qwebobjectpluginconnector.h:
2509 * Api/qwebpagehistory.cpp:
2510 * Api/qwebpagehistory.h:
2511 * Api/qwebsettings.cpp:
2512 * Api/qwebsettings.h:
2513 * WebCoreSupport/EditCommandQt.cpp:
2514 * WebCoreSupport/EditCommandQt.h:
2516 2007-09-25 Adam Treat <treat@kde.org>
2518 Reviewed by Simon and Lars.
2520 Modifies the addToJSWindowObject to bind js objects using the built-in
2521 kjs_window class. Make sure to protect the created runtime object from
2524 Adds a signal to QWebFrame to notify clients of the beginning of a
2525 provisional load. DRT needs this.
2527 * Api/qwebframe.cpp:
2528 (QWebFrame::addToJSWindowObject):
2530 * WebCoreSupport/FrameLoaderClientQt.cpp:
2531 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2533 2007-09-10 Qing Zhao <qing@staikos.net>
2535 Reviewed by George Staikos.
2537 Don't re-encode urls, resulting in double encoding. Fixes login to
2540 * Api/qwebnetworkinterface.cpp:
2541 (QWebNetworkRequestPrivate::init):
2542 (QWebNetworkManager::started):
2544 2007-09-08 Mark Rowe <mrowe@apple.com>
2546 Qt build fix. Move stub method implementations to the right class.
2548 * WebCoreSupport/FrameLoaderClientQt.cpp:
2549 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2551 2007-09-08 Brady Eidson <beidson@apple.com>
2553 YABF (Yet Another Build Fix)
2555 * Api/qwebsettings.cpp:
2556 (QWebSettings::iconDatabaseEnabled):
2558 2007-09-08 Brady Eidson <beidson@apple.com>
2562 * WebCoreSupport/FrameLoaderClientQt.cpp:
2563 (WebCore::FrameLoaderClient::registerForIconNotification):
2564 * WebCoreSupport/FrameLoaderClientQt.h:
2566 2007-09-08 Brady Eidson <beidson@apple.com>
2570 * WebCoreSupport/FrameLoaderClientQt.cpp:
2571 (WebCore::FrameLoaderClient::registerForIconNotification):
2572 * WebCoreSupport/FrameLoaderClientQt.h:
2574 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2576 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2578 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2579 memory cache, or a very tiny one
2581 Keep the Qt build working with an empty stub.
2583 * WebCoreSupport/FrameLoaderClientQt.cpp:
2584 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2585 * WebCoreSupport/FrameLoaderClientQt.h:
2587 2007-09-07 George Staikos <staikos@kde.org>
2592 (QWebPage::onLoadProgressChanged):
2594 2007-09-07 Qing Zhao <qing@staikos.net>
2596 Reviewed by Anders and George.
2598 Export page size and load progress in bytes.
2601 (QWebPage::QWebPage):
2602 (QWebPage::onLoadProgressChanged):
2603 (QWebPage::totalBytes):
2604 (QWebPage::bytesReceived):
2608 2007-09-06 George Staikos <staikos@kde.org>
2612 Make popup windows work again.
2614 * WebCoreSupport/FrameLoaderClientQt.cpp:
2615 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2617 2007-09-01 Oliver Hunt <oliver@apple.com>
2621 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2623 EditorClient::setInputMethodState stub
2625 * WebCoreSupport/EditorClientQt.cpp:
2626 (WebCore::EditorClientQt::setInputMethodState):
2627 * WebCoreSupport/EditorClientQt.h:
2629 2007-08-30 Simon Hausmann <hausmann@kde.org>
2633 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
2636 (QWebPage::keyPressEvent):
2638 2007-08-30 Simon Hausmann <hausmann@kde.org>
2642 When scrolling with the keyboard don't call update() on the entire widget.
2643 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2647 (QWebPage::keyPressEvent):
2649 2007-08-30 Simon Hausmann <hausmann@kde.org>
2653 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2656 (QWebPage::keyPressEvent):
2658 2007-08-29 Simon Hausmann <hausmann@kde.org>
2664 * WebCoreSupport/FrameLoaderClientQt.cpp:
2665 (WebCore::FrameLoaderClientQt::objectContentType):
2667 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2669 Reviewed by George Staikos.
2671 Don't export ICO symbols.
2673 * Plugins/Plugins.pro:
2675 2007-08-19 George Staikos <staikos@kde.org>
2679 * WebCoreSupport/FrameLoaderClientQt.cpp:
2680 (WebCore::FrameLoaderClientQt::createPlugin):
2681 * WebCoreSupport/FrameLoaderClientQt.h:
2683 2007-08-10 Lars Knoll <lars@trolltech.com>
2685 Reviewed and landed by Simon.
2687 Limit the set of properties from the computed style to apply to Qt
2688 plugin widgets, as only a few of them make sense.
2690 * WebCoreSupport/FrameLoaderClientQt.cpp:
2693 2007-08-10 Lars Knoll <lars@trolltech.com>
2697 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2700 (QWebPage::createPlugin):
2702 * WebCoreSupport/FrameLoaderClientQt.cpp:
2703 (WebCore::FrameLoaderClientQt::objectContentType):
2704 (WebCore::FrameLoaderClientQt::createPlugin):
2706 2007-08-10 Simon Hausmann <hausmann@kde.org>
2710 Added support for network jobs from Qt resources using the qrc protocol.
2712 * Api/qwebnetworkinterface.cpp:
2713 (QWebNetworkInterface::addJob):
2715 2007-08-10 Simon Hausmann <hausmann@kde.org>
2719 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2720 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2722 * WebCoreSupport/FrameLoaderClientQt.cpp:
2723 (WebCore::FrameLoaderClientQt::objectContentType):
2725 (WebCore::FrameLoaderClientQt::createPlugin):
2727 2007-08-10 Simon Hausmann <hausmann@kde.org>
2731 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2732 and fixed widget embedding by setting the right QWidget parent.
2735 (QWebPage::createPlugin):
2737 * WebCoreSupport/FrameLoaderClientQt.cpp:
2738 (WebCore::FrameLoaderClientQt::objectContentType):
2739 (WebCore::FrameLoaderClientQt::createPlugin):
2741 2007-08-02 George Staikos <staikos@kde.org>
2745 Add an interface for the useragent string.
2748 (QWebPage::userAgentStringForUrl):
2750 * WebCoreSupport/FrameLoaderClientQt.cpp:
2751 (WebCore::FrameLoaderClientQt::userAgent):
2753 2007-08-01 Adam Treat <treat@kde.org>
2755 Reviewed by George Staikos.
2757 Add an interface to manage global history for clients
2760 * Api/qwebhistoryinterface.cpp: Added.
2761 (WebCore::historyContains):
2762 (gCleanupInterface):
2763 (QWebHistoryInterface::setDefaultInterface):
2764 (QWebHistoryInterface::defaultInterface):
2765 (QWebHistoryInterface::QWebHistoryInterface):
2766 * Api/qwebhistoryinterface.h: Added.
2768 2007-07-30 Adam Treat <treat@kde.org>
2772 * WebCoreSupport/EditorClientQt.cpp:
2773 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2774 * WebCoreSupport/EditorClientQt.h:
2776 2007-07-30 Simon Hausmann <hausmann@kde.org>
2780 Link QtLauncher into $$OUTPUT_DIR/bin
2782 * QtLauncher/QtLauncher.pro:
2784 2007-07-29 Adam Treat <treat@kde.org>
2786 Reviewed by George Staikos.
2788 Change QWebPage::paintEvent to draw using the individual rects provided
2789 via the QRegion and set the widget to use opaque paint events.
2791 These changes greatly reduce the cpu load as we are no longer painting the
2792 entire page for each 1px scroll :P
2794 * Api/qwebframe.cpp:
2795 (QWebFrame::render):
2797 (QWebPage::QWebPage):
2798 (QWebPage::paintEvent):
2799 * WebCoreSupport/ChromeClientQt.cpp:
2800 (WebCore::ChromeClientQt::addToDirtyRegion):
2802 2007-07-29 Adam Treat <treat@kde.org>
2804 Reviewed by Alexey Proskuryakov.
2806 Respect the margins when creating frames.
2807 Set the scroll mode to always off like we did before the rendered
2808 frames patch and the other ports do now.
2810 * Api/qwebframe.cpp:
2811 (QWebFramePrivate::init):
2813 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2817 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2819 * QtLauncher/QtLauncher.pro:
2821 2007-07-27 Simon Hausmann <hausmann@kde.org>
2825 Fix compilation with MSVC.
2827 * Api/qwebpagehistory.cpp:
2828 (QWebPageHistory::operator=):
2829 * Api/qwebpagehistory.h:
2830 * Api/qwebsettings.cpp:
2831 (QWebSettings::operator=):
2832 * Api/qwebsettings.h:
2834 2007-07-26 Qing Zhao <qing@staikos.net>
2836 Reviewed by George Staikos.
2838 Add a signal for history notification.
2841 * WebCoreSupport/FrameLoaderClientQt.cpp:
2843 2007-07-24 Adam Treat <treat@kde.org>
2845 Reviewed by Niko and Lars.
2847 These are no longer necessary or used.
2849 * WebCoreSupport/FrameLoaderClientQt.cpp:
2850 * WebCoreSupport/FrameLoaderClientQt.h:
2852 2007-07-20 Adam Treat <adam@staikos.net>
2854 Reviewed by George Staikos.
2856 Add a signal for first layout and add the action type for the policy
2860 (QWebPagePrivate::navigationRequested):
2861 (QWebPage::navigationRequested):
2864 * WebCoreSupport/FrameLoaderClientQt.cpp:
2865 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2866 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2868 2007-07-19 Adam Treat <treat@kde.org>
2872 Do a recursive layout on the frame's children. This fixes a
2873 segfault found when rendering some framesets.
2875 * Api/qwebframe.cpp:
2876 (QWebFrame::render):
2877 (QWebFrame::layout):
2880 2007-07-18 Timothy Hatcher <timothy@apple.com>
2884 Make the Page with the now required InspectorClient.
2887 (QWebPagePrivate::QWebPagePrivate):
2888 * WebKitPart/WebKitPart.cpp:
2889 (WebKitPart::initView):
2891 2007-07-18 Sam Weinig <sam@webkit.org>
2895 * Api/qwebnetworkinterface.cpp:
2896 (QWebNetworkManager::started):
2897 * WebCoreSupport/FrameLoaderClientQt.cpp:
2898 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2899 (WebCore::FrameLoaderClientQt::objectContentType):
2901 2007-07-18 Lars Knoll <lars@trolltech.com>
2903 Reviewed by Zack & Simon
2905 Reallow setting of scrollbar policies on QWebFrame.
2907 * Api/qwebframe.cpp:
2908 (QWebFrame::verticalScrollBarPolicy):
2909 (QWebFrame::setVerticalScrollBarPolicy):
2910 (QWebFrame::horizontalScrollBarPolicy):
2913 2007-07-17 Adam Treat <treat@kde.org>
2917 * WebCoreSupport/FrameLoaderClientQt.cpp:
2918 (WebCore::FrameLoaderClientQt::createFrame):
2920 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2922 Blind build fix for Qt after r24366 by adding the additional
2923 WebCore::ResourceRequest& parameter to the download method.
2925 * WebCoreSupport/FrameLoaderClientQt.cpp:
2926 (WebCore::FrameLoaderClientQt::download):
2927 * WebCoreSupport/FrameLoaderClientQt.h:
2929 2007-07-17 Adam Roben <aroben@apple.com>
2931 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2935 * WebCoreSupport/ContextMenuClientQt.cpp:
2936 * WebCoreSupport/ContextMenuClientQt.h:
2938 2007-07-16 Adam Roben <aroben@apple.com>
2940 Updated ChromeClientQt for ChromeClient changes.
2944 * WebCoreSupport/ChromeClientQt.cpp:
2945 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2946 * WebCoreSupport/ChromeClientQt.h: Ditto.
2948 2007-07-13 Mark Rowe <mrowe@apple.com>
2952 Build fix. Stub out ChromeClientQt::print.
2954 * WebCoreSupport/ChromeClientQt.cpp:
2955 (WebCore::ChromeClientQt::print):
2956 * WebCoreSupport/ChromeClientQt.h:
2958 2007-07-12 George Staikos <staikos@kde.org>
2960 Qt build fix for assertions.
2962 * Api/qwebnetworkinterface.cpp:
2963 (QWebNetworkManager::add):
2965 2007-07-12 George Staikos <staikos@kde.org>
2969 * Api/qwebnetworkinterface.cpp:
2970 (QWebNetworkManager::add):
2972 2007-07-10 Mark Rowe <mrowe@apple.com>
2974 Qt build fix after r24126.
2976 * Api/qwebframe.cpp:
2977 (QWebFrame::evaluateJavaScript):
2979 2007-07-10 Eli Fidler <eli@staikos.net>
2981 Reviewed by George Staikos.
2983 Properly url-decode data urls.
2985 * Api/qwebnetworkinterface.cpp:
2986 (QWebNetworkInterfacePrivate::parseDataUrl):
2988 2007-07-09 Adam Treat <adam@staikos.net>
2990 Reviewed by George Staikos.
2992 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2995 * Api/qwebframe.cpp:
2996 (QWebFramePrivate::init):
2997 (QWebFramePrivate::parentFrame):
2998 (QWebFrame::QWebFrame):
2999 (QWebFrame::render):
3001 (QWebFrame::geometry):
3002 (QWebFrame::evaluateJavaScript):
3003 (QWebFrame::mouseMoveEvent):
3004 (QWebFrame::mousePressEvent):
3005 (QWebFrame::mouseDoubleClickEvent):
3006 (QWebFrame::mouseReleaseEvent):
3007 (QWebFrame::wheelEvent):
3009 * Api/qwebobjectpluginconnector.cpp:
3010 (QWebObjectPluginConnector::pluginParentWidget):
3012 (QWebPagePrivate::QWebPagePrivate):
3013 (QWebPagePrivate::createMainFrame):
3014 (QWebPage::QWebPage):
3015 (QWebPage::javaScriptAlert):
3016 (QWebPage::javaScriptConfirm):
3017 (QWebPage::javaScriptPrompt):
3018 (QWebPage::resizeEvent):
3019 (QWebPage::paintEvent):
3020 (QWebPage::mouseMoveEvent):
3021 (QWebPage::mousePressEvent):
3022 (QWebPage::mouseDoubleClickEvent):
3023 (QWebPage::mouseReleaseEvent):
3024 (QWebPage::wheelEvent):
3025 (QWebPage::keyPressEvent):
3026 (QWebPage::keyReleaseEvent):
3027 (QWebPage::focusInEvent):
3028 (QWebPage::focusOutEvent):
3029 (QWebPage::focusNextPrevChild):
3030 (QWebPage::chooseFile):
3033 * WebCoreSupport/ChromeClientQt.cpp:
3034 (WebCore::ChromeClientQt::addToDirtyRegion):
3036 2007-07-09 George Staikos <staikos@kde.org>
3038 Fix a minor memory leak in the loader.
3040 * Api/qwebnetworkinterface.cpp:
3041 (gCleanupInterface):
3042 (QWebNetworkInterface::setDefaultInterface):
3043 (QWebNetworkInterface::defaultInterface):
3045 2007-07-09 George Staikos <staikos@kde.org>
3047 Fix a massive memory leak in the loader.
3049 * Api/qwebnetworkinterface.cpp:
3050 (QWebNetworkManager::httpConnectionClosed):
3051 (WebCoreHttp::~WebCoreHttp):
3053 2007-07-09 George Staikos <staikos@kde.org>
3057 Rework much of the HTTP stuff to make it more stable, and add SSL and
3058 proxy support. Major memory leak also discovered but it needs more
3059 research as the obvious fix causes crashes.
3061 * Api/qwebnetworkinterface.cpp:
3062 (QWebNetworkManager::add):
3063 (QWebNetworkManager::started):
3064 (QWebNetworkManager::data):
3065 (WebCoreHttp::WebCoreHttp):
3066 (WebCoreHttp::~WebCoreHttp):
3067 (WebCoreHttp::request):
3068 (WebCoreHttp::scheduleNextRequest):
3069 (WebCoreHttp::getConnection):
3070 (WebCoreHttp::onResponseHeaderReceived):
3071 (WebCoreHttp::onReadyRead):
3072 (WebCoreHttp::onRequestFinished):
3073 (WebCoreHttp::onDone):
3074 (WebCoreHttp::onStateChanged):
3075 (WebCoreHttp::onSslErrors):
3076 (WebCoreHttp::onAuthenticationRequired):
3077 (WebCoreHttp::onProxyAuthenticationRequired):
3078 * Api/qwebnetworkinterface.h:
3079 * Api/qwebnetworkinterface_p.h:
3080 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3082 2007-07-06 Adam Treat <adam@staikos.net>
3084 Reviewed by George Staikos.
3086 Convert QWebFrame to a QFrame from a scroll area.
3088 * Api/qwebframe.cpp:
3089 (QWebFramePrivate::init):
3090 (QWebFramePrivate::parentFrame):
3091 (QWebFramePrivate::horizontalScrollBar):
3092 (QWebFramePrivate::verticalScrollBar):
3093 (QWebFrame::QWebFrame):
3094 (QWebFrame::resizeEvent):
3095 (QWebFrame::suppressScrollbars):
3096 (QWebFrame::paintEvent):
3097 (QWebFrame::mouseMoveEvent):
3098 (QWebFrame::mousePressEvent):
3099 (QWebFrame::mouseDoubleClickEvent):
3100 (QWebFrame::mouseReleaseEvent):
3101 (QWebFrame::wheelEvent):
3102 (QWebFrame::keyPressEvent):
3103 (QWebFrame::focusInEvent):
3104 (QWebFrame::focusOutEvent):
3105 (QWebFrame::evaluateJavaScript):
3107 * Api/qwebframe_p.h:
3108 * Api/qwebobjectpluginconnector.cpp:
3109 (QWebObjectPluginConnector::pluginParentWidget):
3111 2007-07-04 Adam Roben <aroben@apple.com>
3113 Added a stub for ChromeClientQt::setToolTip
3117 * WebCoreSupport/ChromeClientQt.cpp:
3118 (WebCore::ChromeClientQt::setToolTip):
3119 * WebCoreSupport/ChromeClientQt.h:
3121 2007-07-04 Adam Roben <aroben@apple.com>
3123 Added a stub for ChromeClientQt::mouseDidMoveOverElement
3127 * WebCoreSupport/ChromeClientQt.cpp:
3128 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3129 * WebCoreSupport/ChromeClientQt.h:
3131 2007-06-28 Simon Hausmann <hausmann@kde.org>
3135 Propagate mouse double click events from Qt to WebCore.
3137 * Api/qwebframe.cpp:
3138 (QWebFrame::mouseDoubleClickEvent):
3141 2007-06-28 Simon Hausmann <hausmann@kde.org>
3145 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
3149 (QWebPage::canCopy):
3150 (QWebPage::canPaste):
3155 * WebCoreSupport/EditorClientQt.cpp:
3157 2007-06-27 George Staikos <staikos@kde.org>
3159 Compile with various Qt configurations.
3161 * Api/qwebnetworkinterface.cpp:
3162 (WebCoreHttp::scheduleNextRequest):
3164 (QWebPage::javaScriptPrompt):
3165 (QWebPage::dragEnterEvent):
3166 (QWebPage::dragLeaveEvent):
3167 (QWebPage::dragMoveEvent):
3168 (QWebPage::dropEvent):
3169 (QWebPage::chooseFile):
3172 * WebCoreSupport/DragClientQt.cpp:
3173 (WebCore::DragClientQt::startDrag):
3175 2007-06-27 Eli Fidler <eli@staikos.net>
3177 Reviewed by George Staikos.
3179 Check for QT_NO_IMAGE_TEXT and compile either way.
3181 * Plugins/ICOHandler.cpp:
3184 2007-06-27 Eli Fidler <eli@staikos.net>
3186 Reviewed by George Staikos.
3188 Remove QT3_SUPPORT dependency in the ICO plugin.
3190 * Plugins/ICOHandler.cpp:
3191 (IcoHeader::loadFromDIB):
3193 2007-06-25 George Staikos <staikos@kde.org>
3197 Start to add proxy and SSL support to WebKit Qt. Proxy works
3198 unauthenticated. Added hooks to be able to add authentication.
3199 Also fixes some network errors.
3201 * Api/qwebnetworkinterface.cpp:
3202 (QWebNetworkRequestPrivate::setURL):
3203 (QWebNetworkJob::frame):
3204 (WebCoreHttp::WebCoreHttp):
3205 (WebCoreHttp::scheduleNextRequest):
3206 (WebCoreHttp::onRequestFinished):
3207 (WebCoreHttp::onDone):
3208 (WebCoreHttp::onSslErrors):
3209 (WebCoreHttp::onAuthenticationRequired):
3210 (WebCoreHttp::onProxyAuthenticationRequired):
3211 * Api/qwebnetworkinterface.h:
3212 * Api/qwebnetworkinterface_p.h:
3214 (QWebPage::setNetworkProxy):
3215 (QWebPage::networkProxy):
3219 2007-06-21 Adam Treat <adam@staikos.net>
3221 Reviewed by George Staikos.
3223 Implement the default resources on Qt.
3227 * Api/qwebsettings.cpp:
3228 (QWebSettings::setWebGraphic):
3229 (QWebSettings::webGraphic):
3230 (loadResourcePixmap):
3231 * Api/qwebsettings.h:
3233 2007-06-15 Adam Treat <adam@staikos.net>
3235 Reviewed by George Staikos.
3237 Add ICO support to the Qt build.
3242 * Api/qwebsettings.cpp:
3243 (QWebSettings::setIconDatabaseEnabled):
3244 (QWebSettings::iconDatabaseEnabled):
3245 * Api/qwebsettings.h:
3247 * Plugins/ICOHandler.cpp: Added.
3248 (IcoHeader::operator >>):
3249 (IcoHeader::BMP_INFOHDR::):
3250 (IcoHeader::operator<<):
3251 (IcoHeader::LessDifference::LessDifference):
3252 (IcoHeader::LessDifference::operator ()):
3253 (IcoHeader::loadFromDIB):
3254 (ICOHandler::ICOHandler):
3255 (ICOHandler::canRead):
3257 (ICOHandler::write):
3260 (ICOPlugin::capabilities):
3261 (ICOPlugin::create):
3262 * Plugins/ICOHandler.h: Added.
3263 * Plugins/Plugins.pro: Added.
3264 * WebCoreSupport/FrameLoaderClientQt.cpp:
3265 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3267 2007-06-15 George Staikos <staikos@kde.org>
3269 Fixing the Qt build.
3271 * WebCoreSupport/ContextMenuClientQt.cpp:
3272 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
3273 * WebCoreSupport/ContextMenuClientQt.h:
3275 2007-06-20 Adam Roben <aroben@apple.com>
3277 More speculative Qt build fixes.
3279 Add a stub implementation of InspectorClientQt.
3281 * WebCoreSupport/InspectorClientQt.cpp: Added.
3282 (WebCore::InspectorClientQt::inspectorDestroyed):
3283 (WebCore::InspectorClientQt::createPage):
3284 (WebCore::InspectorClientQt::showWindow):
3285 (WebCore::InspectorClientQt::closeWindow):
3286 (WebCore::InspectorClientQt::attachWindow):
3287 (WebCore::InspectorClientQt::detachWindow):
3288 (WebCore::InspectorClientQt::highlight):
3289 (WebCore::InspectorClientQt::hideHighlight):
3290 * WebCoreSupport/InspectorClientQt.h: Added.
3292 2007-06-19 George Staikos <staikos@kde.org>
3294 Reviewed by Tim Hatcher.
3298 * Api/qwebnetworkinterface.cpp:
3299 (QWebNetworkInterface::addJob):
3300 (QWebNetworkInterface::cancelJob):
3301 (WebCoreHttp::WebCoreHttp):
3303 2007-06-14 George Staikos <staikos@kde.org>
3307 Add evaluateJavaScript() method.
3309 * Api/qwebframe.cpp:
3310 (QWebFrame::evaluateJavaScript):
3313 2007-06-14 George Staikos <staikos@kde.org>
3317 Implement most of the editing commands, better focus handling, fix some
3318 keyboard and mouse handling, and add keyboard navigation. May be
3319 refactored later as the key switches are ugly.
3321 * Api/qwebframe.cpp:
3322 (QWebFramePrivate::init):
3323 (QWebFrame::mousePressEvent):
3324 (QWebFrame::mouseReleaseEvent):
3325 (QWebFrame::wheelEvent):
3326 (QWebFrame::keyPressEvent):
3327 (QWebFrame::keyReleaseEvent):
3328 (QWebFrame::focusInEvent):
3329 (QWebFrame::focusOutEvent):
3330 (QWebFrame::focusNextPrevChild):
3332 * Api/qwebframe_p.h:
3333 * WebCoreSupport/EditorClientQt.cpp:
3334 (WebCore::EditorClientQt::handleKeypress):
3336 2007-06-14 George Staikos <staikos@kde.org>
3340 Implement all of the Javascript dialogs and file chooser.
3341 Also makes the statusbar virtual into a signal and shuffles some
3342 virtuals around a bit. The helper in FrameLoaderClientQt may go away
3346 (QWebPagePrivate::QWebPagePrivate):
3347 (QWebPage::javaScriptAlert):
3348 (QWebPage::javaScriptConfirm):
3349 (QWebPage::javaScriptPrompt):
3350 (QWebPage::chooseFile):
3352 * WebCoreSupport/ChromeClientQt.cpp:
3353 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3354 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3355 (WebCore::ChromeClientQt::runJavaScriptAlert):
3356 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3357 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3358 (WebCore::ChromeClientQt::setStatusbarText):
3359 * WebCoreSupport/FrameLoaderClientQt.cpp:
3360 (WebCore::FrameLoaderClientQt::chooseFile):
3361 * WebCoreSupport/FrameLoaderClientQt.h:
3363 2007-06-14 Simon Hausmann <hausmann@kde.org>
3367 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
3369 HistoryItem itself doesn't seem to have a parent pointer either.
3371 * Api/qwebpagehistory.h:
3373 2007-06-14 Simon Hausmann <hausmann@kde.org>
3377 Make it possible to copy QWebHistoryItem objects.
3379 * Api/qwebpagehistory.cpp:
3380 * Api/qwebpagehistory.h:
3382 2007-06-14 Lars Knoll <lars@trolltech.com>
3386 Fix a crash when a request from the plugin resulted
3389 * Api/qwebnetworkinterface.cpp:
3390 (QWebNetworkManager::started):
3392 2007-06-14 Lars Knoll <lars@trolltech.com>
3396 Work around a bug in Qt's QHttp implementation and
3397 get web pages to load again.
3402 2007-06-13 Simon Hausmann <hausmann@kde.org>
3406 Added a make install target that installs the Qt port and renamed
3407 WebKitQt to QtWebKit
3409 * Api/headers.pri: Added.
3410 * Api/qtwebkit.prf: Added.
3412 2007-06-13 Simon Hausmann <hausmann@kde.org>
3416 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
3418 * Api/qwebnetworkinterface.cpp:
3419 * Api/qwebnetworkinterface.h:
3421 2007-06-13 Simon Hausmann <hausmann@kde.org>
3425 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
3427 * Api/qwebnetworkinterface.h:
3428 * Api/qwebobjectpluginconnector.cpp:
3429 (QWebObjectPluginConnector::requestUrl):
3430 * Api/qwebobjectpluginconnector.h:
3432 2007-06-13 Simon Hausmann <hausmann@kde.org>
3436 Added a QWebNetworkRequest convenience constructor.
3438 * Api/qwebnetworkinterface.cpp:
3439 * Api/qwebnetworkinterface.h:
3443 2007-06-13 Simon Hausmann <hausmann@kde.org>
3447 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
3448 overload to take a QWebNetworkRequest instead.
3454 2007-06-13 Simon Hausmann <hausmann@kde.org>
3458 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
3459 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
3460 pick the individual fields if we can use them.
3465 2007-06-13 Simon Hausmann <hausmann@kde.org>
3469 Minor QWebNetworkRequet API fixlet
3471 * Api/qwebnetworkinterface.cpp:
3472 * Api/qwebnetworkinterface.h:
3474 2007-06-13 Simon Hausmann <hausmann@kde.org>
3478 Use QWebNetworkRequest for QWebPage::navigationRequested.
3480 * Api/qwebnetworkinterface.cpp:
3481 * Api/qwebnetworkinterface.h:
3483 (QWebPagePrivate::navigationRequested):
3484 (QWebPage::navigationRequested):
3487 * WebCoreSupport/FrameLoaderClientQt.cpp:
3488 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3490 2007-06-13 Simon Hausmann <hausmann@kde.org>
3494 Some docs for QWebNetworkRequest
3496 * Api/qwebnetworkinterface.cpp:
3497 (QWebNetworkRequest::QWebNetworkRequest):
3498 (QWebNetworkRequest::~QWebNetworkRequest):
3500 2007-06-13 Simon Hausmann <hausmann@kde.org>
3504 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
3506 * Api/qwebnetworkinterface.h:
3507 * Api/qwebobjectpluginconnector.cpp:
3508 (QWebObjectPluginConnector::requestUrl):
3509 * Api/qwebobjectpluginconnector.h:
3511 2007-06-13 Simon Hausmann <hausmann@kde.org>
3515 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
3517 * Api/qwebnetworkinterface.cpp:
3518 (QWebNetworkJob::postData):
3519 (WebCoreHttp::WebCoreHttp):
3520 (WebCoreHttp::scheduleNextRequest):
3521 * Api/qwebnetworkinterface.h:
3523 2007-06-13 Simon Hausmann <hausmann@kde.org>
3527 Introduce QWebNetworkRequest in the public API.
3529 * Api/qwebnetworkinterface.cpp:
3530 (QWebNetworkRequestPrivate::init):
3531 * Api/qwebnetworkinterface.h:
3532 * Api/qwebnetworkinterface_p.h:
3533 * WebCoreSupport/FrameLoaderClientQt.cpp:
3534 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3536 2007-06-13 Simon Hausmann <hausmann@kde.org>
3540 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
3542 * Api/qwebnetworkinterface.cpp:
3543 (QWebNetworkManager::add):
3544 (QWebNetworkManager::started):
3545 (QWebNetworkManager::data):
3546 (QWebNetworkManager::finished):
3547 * Api/qwebnetworkinterface_p.h:
3548 * Api/qwebobjectpluginconnector.cpp:
3549 (QWebObjectPluginConnector::requestUrl):
3551 2007-06-13 Simon Hausmann <hausmann@kde.org>
3555 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
3557 * Api/qwebnetworkinterface.cpp:
3558 (QWebNetworkRequest::init):
3559 (QWebNetworkRequest::setURL):
3560 (QWebNetworkManager::add):
3561 (QWebNetworkManager::started):
3562 * Api/qwebnetworkinterface_p.h:
3563 * WebCoreSupport/FrameLoaderClientQt.cpp:
3564 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3566 2007-06-12 Lars Knoll <lars@trolltech.com>
3568 Reviewed by George Staikos.
3570 Remove duplicate symbols.
3572 * Api/qwebobjectplugin_p.h:
3574 2007-06-13 Lars Knoll <lars@trolltech.com>
3578 Fix compilation, and remove dependency on Qt
3581 * Api/qwebobjectplugin_p.h:
3582 (QWebFactoryLoader::supportsMimeType):
3584 2007-06-13 Lars Knoll <lars@trolltech.com>
3588 Parts of the patch done by Zack.
3589 Fix up some parts in the implementation of QWebNetworkInterface
3590 so it can be used by plugins.
3591 Change the plugin API so we can actually get all the information
3592 required by the JS bridge from them as well.
3594 * Api/qwebnetworkinterface.cpp:
3595 (QWebNetworkJob::cancelled):
3596 (QWebNetworkManager::cancel):
3597 (QWebNetworkManager::started):
3598 (QWebNetworkManager::finished):
3599 * Api/qwebobjectplugin.cpp:
3600 (QWebFactoryLoader::QWebFactoryLoader):
3601 (QWebFactoryLoader::descriptionForName):
3602 (QWebFactoryLoader::mimetypesForName):
3603 (QWebFactoryLoader::mimeTypeForExtension):
3604 (QWebFactoryLoader::extensions):
3605 (QWebFactoryLoader::nameForMimetype):
3606 (QWebFactoryLoader::create):
3607 (QWebObjectPlugin::descriptionForKey):
3608 (QWebObjectPlugin::mimetypesForKey):
3609 * Api/qwebobjectplugin.h:
3610 * Api/qwebobjectplugin_p.h:
3611 (QWebFactoryLoader::names):
3612 * Api/qwebobjectpluginconnector.cpp:
3613 (QWebObjectPluginConnector::requestUrl):
3615 (QWebPage::networkInterface):
3617 2007-06-11 Simon Hausmann <hausmann@kde.org>
3621 Added a QWebPage::open overload to allow specifying the http header and post data.
3622 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
3623 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
3628 2007-06-11 Simon Hausmann <hausmann@kde.org>
3632 Added the possibility to intercept url requests through QWebPage::navigationRequested.
3635 (QWebPagePrivate::QWebPagePrivate):
3636 (QWebPage::createFrame):
3639 * WebCoreSupport/FrameLoaderClientQt.cpp:
3641 2007-06-11 Simon Hausmann <hausmann@kde.org>
3645 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3646 to be called from FrameLoaderClientQt in the near future.
3648 * Api/qwebnetworkinterface.cpp:
3649 (QWebNetworkManager::add):
3650 * Api/qwebnetworkinterface_p.h:
3652 2007-06-11 Simon Hausmann <hausmann@kde.org>
3656 Moved the postData setup into QWebNetworkRequest::init.
3658 * Api/qwebnetworkinterface.cpp:
3659 (QWebNetworkRequest::init):
3660 (QWebNetworkManager::add):
3662 2007-06-11 Simon Hausmann <hausmann@kde.org>
3666 Moved HTTP header field propagation to QWebNetworkRequest::init.
3668 * Api/qwebnetworkinterface.cpp:
3669 (QWebNetworkRequest::init):
3670 (QWebNetworkManager::add):
3672 2007-06-11 Simon Hausmann <hausmann@kde.org>
3676 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3677 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3679 * Api/qwebnetworkinterface.cpp:
3680 (QWebNetworkRequest::init):
3681 (QWebNetworkManager::add):
3682 * Api/qwebnetworkinterface_p.h:
3683 * Api/qwebobjectpluginconnector.cpp:
3684 (QWebObjectPluginConnector::requestUrl):
3686 2007-06-11 Zack Rusin <zrusin@trolltech.com>
3690 Forgot to export the plugin connector.
3692 * Api/qwebobjectpluginconnector.h
3694 2007-06-08 Lars Knoll <lars@trolltech.com>
3698 Add a QWebObjectPluginConnector class. The class will
3699 facility communication between the plugin and WebKit.
3700 Currently it's used to make the plugin network capable.
3702 * Api/qwebnetworkinterface.cpp:
3703 (QWebNetworkJobPrivate::setDefaults):
3704 (QWebNetworkManager::add):
3705 (QWebNetworkManager::started):
3706 (QWebNetworkManager::data):
3707 (QWebNetworkManager::finished):
3708 * Api/qwebnetworkinterface.h:
3709 * Api/qwebnetworkinterface_p.h:
3710 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3711 * Api/qwebobjectplugin.cpp:
3712 (QWebFactoryLoader::create):
3713 * Api/qwebobjectplugin.h:
3714 * Api/qwebobjectplugin_p.h:
3715 * Api/qwebobjectpluginconnector.cpp: Added.
3716 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3717 (QWebObjectPluginConnector::frame):
3718 (QWebObjectPluginConnector::pluginParentWidget):
3719 (QWebObjectPluginConnector::requestUrl):
3720 * Api/qwebobjectpluginconnector.h: Added.
3721 (QWebObjectPluginConnector::):
3722 * WebCoreSupport/FrameLoaderClientQt.cpp:
3723 (WebCore::FrameLoaderClientQt::createPlugin):
3725 2007-06-06 Lars Knoll <lars@trolltech.com>
3729 Add an API to create and load plugins.
3730 Don't include moc files by hand anymore, rather let
3733 * Api/qcookiejar.cpp:
3734 (QCookieJar::cookieJar):
3735 * Api/qwebframe.cpp:
3736 (QWebFrame::scrollContentsBy):
3737 * Api/qwebnetworkinterface.cpp:
3738 * Api/qwebobjectplugin.cpp: Added.
3739 (QWebFactoryLoader::QWebFactoryLoader):
3740 (QWebFactoryLoader::self):
3741 (QWebFactoryLoader::mimeTypeForExtension):
3742 (QWebFactoryLoader::create):
3743 (QWebObjectPlugin::QWebObjectPlugin):
3744 (QWebObjectPlugin::~QWebObjectPlugin):
3745 (QWebObjectPlugin::extensionsForMimetype):
3746 * Api/qwebobjectplugin.h: Added.
3747 * Api/qwebobjectplugin_p.h: Added.
3748 (QWebFactoryLoader::mimeTypes):
3749 (QWebFactoryLoader::extensions):
3750 (QWebFactoryLoader::supportsMimeType):
3752 (QWebPage::settings):
3753 * WebCoreSupport/FrameLoaderClientQt.cpp:
3754 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3755 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3756 (WebCore::FrameLoaderClientQt::objectContentType):
3757 (WebCore::FrameLoaderClientQt::createPlugin):
3759 2007-05-28 Zack Rusin <zrusin@trolltech.com>
3761 Reviewed by andersca and simon
3763 Adding public settings Api to the Qt port.
3764 QWebSetting's is a value based settings
3765 object settable on the QWebPage.
3768 (QWebPagePrivate::QWebPagePrivate):
3769 (QWebPage::QWebPage):
3770 (QWebPage::setSettings):
3771 (QWebPage::settings):
3773 * Api/qwebsettings.cpp: Added.
3774 (QWebSettingsPrivate::QWebSettingsPrivate):
3775 (QWebSettings::QWebSettings):
3776 (QWebSettings::~QWebSettings):
3777 (QWebSettings::setMinimumFontSize):
3778 (QWebSettings::minimumFontSize):
3779 (QWebSettings::setMinimumLogicalFontSize):
3780 (QWebSettings::minimumLogicalFontSize):
3781 (QWebSettings::setDefaultFontSize):
3782 (QWebSettings::defaultFontSize):
3783 (QWebSettings::setDefaultFixedFontSize):
3784 (QWebSettings::defaultFixedFontSize):
3785 (QWebSettings::setUserStyleSheetLocation):
3786 (QWebSettings::userStyleSheetLocation):
3787 (QWebSettings::setGlobal):
3788 (QWebSettings::global):
3789 (QWebSettings::setFontFamily):
3790 (QWebSettings::fontFamily):
3791 (QWebSettings::setAttribute):
3792 (QWebSettings::testAttribute):
3793 * Api/qwebsettings.h: Added.
3794 * QtLauncher/main.cpp:
3796 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
3798 Reviewed by Sam Weinig.
3800 Consolidate all notImplemented() macro definitions into
3801 one header file for all platforms.
3803 * WebCoreSupport/ChromeClientQt.cpp:
3804 * WebCoreSupport/ContextMenuClientQt.cpp:
3805 * WebCoreSupport/EditorClientQt.cpp:
3806 * WebCoreSupport/FrameLoaderClientQt.cpp:
3808 2007-05-25 George Staikos <staikos@kde.org>
3812 The http loader should only ask for .... http cookies!
3814 * Api/qwebnetworkinterface.cpp:
3815 (QWebNetworkManager::add):
3817 2007-05-24 Simon Hausmann <hausmann@kde.org>
3821 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
3822 correctly. Fortunately WebCore does it already, so there's no need
3823 for us to do it since we already transfer all HTTP header fields :)
3825 * Api/qwebnetworkinterface.cpp:
3826 (QWebNetworkManager::add):
3828 2007-05-23 Simon Hausmann <hausmann@kde.org>
3830 Reviewed by Zack, idea from Lars.
3832 Share WebCoreHttp and therefore HTTP connections among multiple
3833 QWebNetworkInterface instances by moving the code into
3836 * Api/qwebnetworkinterface.cpp:
3837 (QWebNetworkManager::addHttpJob):
3838 (QWebNetworkManager::cancelHttpJob):
3839 (QWebNetworkManager::httpConnectionClosed):
3840 (QWebNetworkInterface::addJob):
3841 (QWebNetworkInterface::cancelJob):
3842 (WebCoreHttp::scheduleNextRequest):
3843 (WebCoreHttp::onResponseHeaderReceived):
3844 (WebCoreHttp::onReadyRead):
3845 (WebCoreHttp::onRequestFinished):
3846 (WebCoreHttp::cancel):
3847 * Api/qwebnetworkinterface.h:
3848 * Api/qwebnetworkinterface_p.h:
3850 2007-05-23 Simon Hausmann <hausmann@kde.org>
3852 Reviewed by Zack, discussed also with Lars.
3854 Make it possible to specify a per-QWebPage network interface (needed
3855 for the KDE KIO integration).
3857 Merged the file and the network loader into
3858 QWebNetworkInterface(Private), which simplifies the loading code.
3860 When receiving a redirection don't emit the data of the redirected job
3861 to the document. (otherwise the kind of "This page has moved" text
3862 appears right on top of the real page content)
3864 * Api/qwebnetworkinterface.cpp:
3867 (QWebNetworkJob::QWebNetworkJob):
3868 (QWebNetworkJob::networkInterface):
3869 (QWebNetworkManager::add):
3870 (QWebNetworkManager::cancel):
3871 (QWebNetworkManager::data):
3872 (QWebNetworkManager::finished):
3873 (QWebNetworkInterfacePrivate::sendFileData):
3874 (QWebNetworkInterfacePrivate::parseDataUrl):
3875 (QWebNetworkInterfacePrivate::addHttpJob):
3876 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3877 (QWebNetworkInterface::setDefaultInterface):
3878 (QWebNetworkInterface::QWebNetworkInterface):
3879 (QWebNetworkInterface::addJob):
3880 (QWebNetworkInterface::cancelJob):
3881 (WebCoreHttp::scheduleNextRequest):
3882 (WebCoreHttp::onResponseHeaderReceived):
3883 (WebCoreHttp::onReadyRead):
3884 (WebCoreHttp::onRequestFinished):
3885 (WebCoreHttp::cancel):
3886 * Api/qwebnetworkinterface.h:
3887 * Api/qwebnetworkinterface_p.h:
3889 (QWebPagePrivate::QWebPagePrivate):
3890 (QWebPage::setNetworkInterface):
3894 2007-05-23 Lars Knoll <lars@trolltech.com>
3898 Don't do HTTP downloads in a second thread. Simplifies
3899 the code significantly and fixes crashes on some
3902 * Api/qwebnetworkinterface.cpp:
3903 (QWebNetworkManager::add):
3904 (QWebNetworkInterface::QWebNetworkInterface):
3905 (QWebNetworkInterface::addJob):
3906 (QWebNetworkInterface::cancelJob):
3907 (LoaderThread::LoaderThread):
3908 (LoaderThread::run):
3909 (WebCoreHttp::cancel):
3910 (NetworkLoader::NetworkLoader):
3911 (NetworkLoader::request):
3912 (NetworkLoader::cancel):
3913 * Api/qwebnetworkinterface_p.h:
3914 * WebCoreSupport/FrameLoaderClientQt.cpp:
3915 (WebCore::FrameLoaderClientQt::committedLoad):
3916 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3918 2007-05-23 Lars Knoll <lars@trolltech.com>
3922 * Api/qwebnetworkinterface.cpp:
3923 (QWebNetworkJobPrivate::setURL):
3924 (QWebNetworkManager::started):
3925 Fix Host: line in HTTP headers and resolving of relative URLs
3927 * Api/qwebnetworkinterface_p.h:
3928 Clean up qHash forward declaration a bit.
3930 2007-05-23 Simon Hausmann <hausmann@kde.org>
3934 * QtLauncher/main.cpp:
3935 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3937 2007-05-22 Simon Hausmann <hausmann@kde.org>
3941 * Api/qwebnetworkinterface.cpp:
3942 (QWebNetworkManager::add): Fix http headers for POST.
3944 2007-05-21 Lars Knoll <lars@trolltech.com>
3948 Remove the userHandle methods from QWebnetworkJob again.
3949 They don't really give us anything and just clutter the API.
3951 * Api/qwebnetworkinterface.cpp:
3952 * Api/qwebnetworkinterface.h:
3953 * Api/qwebnetworkinterface_p.h:
3955 2007-05-21 Simon Hausmann <hausmann@kde.org>
3959 * Api/qwebnetworkinterface.h: Export the net API.
3961 2007-05-21 Lars Knoll <lars@trolltech.com>
3965 Add an API layer for network downloads. Basically QWebnetworkInterface
3966 is an interface class for downloading resources. QWebnetworkJob describes
3967 the actual object to download.
3969 QWebNetworkInterface has a default implementation that replaces the
3970 old ResourceHandleManager class in the Qt port.
3972 * Api/qwebnetworkinterface.cpp: Added.
3973 (QWebNetworkJobPrivate::setURL):
3974 (QWebNetworkJob::QWebNetworkJob):
3975 (QWebNetworkJob::~QWebNetworkJob):
3976 (QWebNetworkJob::url):
3977 (QWebNetworkJob::postData):
3978 (QWebNetworkJob::request):
3979 (QWebNetworkJob::response):
3980 (QWebNetworkJob::setResponse):
3981 (QWebNetworkJob::cancelled):
3982 (QWebNetworkJob::ref):
3983 (QWebNetworkJob::deref):
3984 (QWebNetworkJob::setUserHandle):
3985 (QWebNetworkJob::userHandle):
3986 (QWebNetworkManager::QWebNetworkManager):
3987 (QWebNetworkManager::self):
3988 (QWebNetworkManager::add):
3989 (QWebNetworkManager::cancel):
3990 (QWebNetworkManager::started):
3991 (QWebNetworkManager::data):
3992 (QWebNetworkManager::finished):
3993 (QWebNetworkInterface::setDefaultInterface):
3994 (QWebNetworkInterface::defaultInterface):
3995 (QWebNetworkInterface::QWebNetworkInterface):
3996 (QWebNetworkInterface::~QWebNetworkInterface):
3997 (QWebNetworkInterface::addJob):
3998 (QWebNetworkInterface::cancelJob):
3999 (LoaderThread::LoaderThread):
4000 (LoaderThread::run):
4001 (FileLoader::FileLoader):
4002 (FileLoader::request):
4003 (FileLoader::sendData):
4004 (FileLoader::parseDataUrl):
4005 (WebCoreHttp::WebCoreHttp):
4006 (WebCoreHttp::~WebCoreHttp):
4007 (WebCoreHttp::request):
4008 (WebCoreHttp::scheduleNextRequest):
4009 (WebCoreHttp::getConnection):
4010 (WebCoreHttp::onResponseHeaderReceived):
4011 (WebCoreHttp::onReadyRead):
4012 (WebCoreHttp::onRequestFinished):
4013 (WebCoreHttp::onStateChanged):
4014 (WebCoreHttp::cancel):
4015 (HostInfo::HostInfo):
4018 (NetworkLoader::NetworkLoader):
4019 (NetworkLoader::~NetworkLoader):
4020 (NetworkLoader::request):
4021 (NetworkLoader::connectionClosed):
4022 (NetworkLoader::cancel):
4023 * Api/qwebnetworkinterface.h: Added.
4024 (QWebNetworkJob::setHandle):
4025 (QWebNetworkJob::handle):
4026 * Api/qwebnetworkinterface_p.h: Added.
4027 (WebCore::LoaderThread::):
4028 (WebCore::LoaderThread::waitForSetup):
4029 (WebCore::HostInfo::HostInfo):
4031 2007-05-18 Simon Hausmann <hausmann@kde.org>
4033 Reviewed by Nikolas.
4035 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
4036 percent integer instead of a double precision floating pointer number.
4037 * WebCoreSupport/FrameLoaderClientQt.cpp:
4038 (WebCore::FrameLoaderClientQt::setFrame):
4039 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
4040 * WebCoreSupport/FrameLoaderClientQt.h:
4042 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
4044 Reviewed by Zack Rusin.
4046 The default constructed KeyboardEvent has
4047 no PlatformKeyboardEvent.
4049 * WebCoreSupport/EditorClientQt.cpp:
4050 (WebCore::EditorClientQt::handleKeypress):
4052 2007-05-17 Adam Treat <adam@staikos.net>
4054 Reviewed by George Staikos.
4056 - Implement frameLoadCompleted
4057 - Fix build (by George)
4059 * WebCoreSupport/FrameLoaderClientQt.cpp:
4060 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
4061 (WebCore::FrameLoaderClientQt::createFrame):
4063 2007-05-17 Adam Treat <adam@staikos.net>
4065 Reviewed by George Staikos.
4067 Implement canShowMIMEType
4069 * WebCoreSupport/FrameLoaderClientQt.cpp:
4070 (WebCore::FrameLoaderClientQt::canShowMIMEType):
4072 2007-05-16 Lars Knoll <lars@trolltech.com>
4076 pass the mouse events to the event handler, not the frameview.
4078 * Api/qwebframe.cpp:
4079 (QWebFrame::mouseMoveEvent):
4080 (QWebFrame::mouseReleaseEvent):
4082 2007-05-14 Lars Knoll <lars@trolltech.com>
4086 Updates after Maciej's frame change.
4090 Call stopForUserCancel() instead of stopAllLoaders()
4091 * WebCoreSupport/FrameLoaderClientQt.cpp:
4092 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
4093 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
4094 (WebCore::FrameLoaderClientQt::didFinishLoad):
4095 (WebCore::FrameLoaderClientQt::setMainDocumentError):
4096 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
4097 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
4098 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
4099 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
4100 Call QWebFrame::loadDone() from the places it's supposed to be
4103 2007-05-12 Maciej Stachowiak <mjs@apple.com>
4105 Reviewed by Rob Buis.
4107 - call Frame::init as needed - this prevents crashes but pages don't appear.
4109 * Api/qwebframe.cpp:
4110 (QWebFramePrivate::init):
4111 * WebKitPart/WebKitPart.cpp:
4112 (WebKitPart::initView):
4114 2007-05-08 Steve Falkenburg <sfalken@apple.com>
4118 Slight modification to last editor method fix.
4120 * WebCoreSupport/EditorClientQt.cpp:
4121 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
4122 * WebCoreSupport/EditorClientQt.h:
4124 2007-05-03 Steve Falkenburg <sfalken@apple.com>
4128 Add missing user description parameter to spelling-related editor client method.
4130 * WebCoreSupport/EditorClientQt.cpp:
4131 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
4132 * WebCoreSupport/EditorClientQt.h:
4134 2007-04-29 Oliver Hunt <oliver@apple.com>
4138 Tie QT drag events to the DragController logic
4139 to allow drag and drop events to be handled by
4142 * Api/qwebframe.cpp:
4145 (QWebPagePrivate::QWebPagePrivate):
4146 (QWebPage::QWebPage):
4147 (dropActionToDragOp):
4148 (dragOpToDropAction):
4149 (QWebPage::dragEnterEvent):
4150 (QWebPage::dragLeaveEvent):
4151 (QWebPage::dragMoveEvent):
4152 (QWebPage::dropEvent):
4154 * WebCoreSupport/DragClientQt.cpp:
4155 (WebCore::DragClientQt::startDrag):
4156 * WebCoreSupport/DragClientQt.h:
4157 (WebCore::DragClientQt::DragClientQt):
4159 2007-04-27 Holger Freyther <freyther@kde.org>
4163 Remove unmaintained CMake build system.
4165 * QtLauncher/CMakeLists.txt: Removed.
4166 * WebKitPart/CMakeLists.txt: Removed.
4168 2007-04-25 Steve Falkenburg <sfalken@apple.com>
4172 Fix spelling error in spelling method name.
4174 * WebCoreSupport/EditorClientQt.cpp:
4175 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
4176 * WebCoreSupport/EditorClientQt.h:
4178 2007-04-24 Steve Falkenburg <sfalken@apple.com>
4182 Spelling and grammar stubs
4184 * WebCoreSupport/EditorClientQt.cpp:
4185 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
4186 (WebCore::EditorClientQt::learnWord):
4187 (WebCore::EditorClientQt::checkSpellingOfString):
4188 (WebCore::EditorClientQt::checkGrammarOfString):
4189 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
4190 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
4191 (WebCore::EditorClientQt::showSpellingUI):
4192 (WebCore::EditorClientQt::spellingUIIsShowing):
4193 (WebCore::EditorClientQt::getGuessesForWord):
4194 * WebCoreSupport/EditorClientQt.h:
4196 2007-04-11 MorganL <morganl.webkit@yahoo.com>
4200 Add a Frame pointer to ChromeClient methods:
4201 http://bugs.webkit.org/show_bug.cgi?id=13127
4203 * WebCoreSupport/ChromeClientQt.cpp:
4204 (WebCore::ChromeClientQt::createWindow):
4205 (WebCore::ChromeClientQt::createModalDialog):
4206 * WebCoreSupport/ChromeClientQt.h:
4208 2007-04-12 Mark Rowe <mrowe@apple.com>
4210 Second part of Qt build fix.
4212 * WebCoreSupport/FrameLoaderClientQt.cpp:
4213 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
4214 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
4215 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
4216 * WebCoreSupport/FrameLoaderClientQt.h:
4218 2007-03-27 Zack Rusin <zrusin@trolltech.com>
4220 Fix the rendering crashes due triggered
4221 asserts. Improve a bit the layout
4224 * Api/qwebframe.cpp:
4225 (QWebFrame::resizeEvent):
4226 (QWebFrame::paintEvent):
4227 * WebCoreSupport/FrameLoaderClientQt.cpp:
4228 (WebCore::FrameLoaderClientQt::forceLayout):
4230 2007-03-16 Lars Knoll <lars@trolltech.com>
4232 Fix the Qt build once again.
4234 * WebCoreSupport/EditorClientQt.cpp:
4235 (WebCore::EditorClientQt::handleKeypress):
4236 * WebCoreSupport/FrameLoaderClientQt.cpp:
4237 (WebCore::FrameLoaderClientQt::blockedError):
4238 * WebCoreSupport/FrameLoaderClientQt.h:
4240 2007-03-13 Lars Knoll <lars@trolltech.com>
4244 Don't try to load <object> tags with an invalid url.
4245 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
4246 which hit an assertion in the frameloader.
4248 * WebCoreSupport/FrameLoaderClientQt.cpp:
4249 (WebCore::FrameLoaderClientQt::objectContentType):
4251 2007-03-13 Lars Knoll <lars@trolltech.com>
4255 Fix some crashes in the Qt build.
4257 * Api/qwebframe.cpp:
4258 (QWebFrame::markup):
4259 Check for null pointer
4260 * WebCoreSupport/FrameLoaderClientQt.cpp:
4261 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
4262 Don't use an async callback into the FrameLoader.
4263 (WebCore::FrameLoaderClientQt::createFrame):
4265 2007-03-11 Oliver Hunt <oliver@apple.com>
4269 Stub for EditorClientQt::respondToChangedSelection
4271 * WebCoreSupport/EditorClientQt.cpp:
4272 (WebCore::EditorClientQt::respondToChangedSelection):
4273 * WebCoreSupport/EditorClientQt.h:
4275 2007-03-07 Adele Peterson <adele@apple.com>
4279 WebKitQT part of fix for:
4280 http://bugs.webkit.org/show_bug.cgi?id=10871
4281 http://bugs.webkit.org/show_bug.cgi?id=12677
4282 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
4283 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
4285 * WebCoreSupport/EditorClientQt.cpp:
4286 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
4287 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
4288 * WebCoreSupport/EditorClientQt.h:
4290 2007-03-07 Darin Adler <darin@apple.com>
4292 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
4294 2007-03-07 Darin Adler <darin@apple.com>
4296 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
4297 Try to fix the build by correcting the parameter here.
4299 2007-03-02 Sam Weinig <sam@webkit.org>
4303 Try to fix the Qt build
4305 * WebCoreSupport/DragClientQt.cpp:
4306 (WebCore::DragClientQt::willPerformDragDestinationAction):
4307 (WebCore::DragClientQt::dragControllerDestroyed):
4308 (WebCore::DragClientQt::createDragImageForLink):
4310 2007-02-26 Maciej Stachowiak <mjs@apple.com>
4312 Reviewed by Kevin McCullough.
4314 - fix Qt build for earlier SVG changes.
4316 * WebCoreSupport/EditCommandQt.cpp:
4318 2007-02-24 Zack Rusin <zrusin@trolltech.com>
4320 Adjust the animation a little bit to make it more natural.
4322 * QtLauncher/main.cpp:
4323 (HoverLabel::paintEvent):
4325 2007-02-23 Zack Rusin <zrusin@trolltech.com>
4327 Adding a little bit of eye-candy to the last
4328 commit (animations on hover events)
4330 * QtLauncher/main.cpp:
4331 (HoverLabel::HoverLabel):
4332 (HoverLabel::setHoverLink):
4333 (HoverLabel::sizeForFont):
4334 (HoverLabel::sizeHint):
4335 (HoverLabel::resetAnimation):
4336 (HoverLabel::paintEvent):
4337 (HoverLabel::interpolate):
4338 (SearchEdit::resizeEvent):
4340 2007-02-23 Zack Rusin <zrusin@trolltech.com>
4344 Adding API and code for notification of when the
4345 mouse is hovering over a link and adding code to
4346 the sample app to showcase it.
4348 * Api/qwebframe.cpp:
4349 (QWebFrame::mouseMoveEvent):
4351 * Api/qwebframe_p.h:
4352 (QWebFramePrivate::QWebFramePrivate):
4354 (QWebPage::createFrame):
4356 * QtLauncher/main.cpp:
4357 (HoverLabel::HoverLabel):
4358 (HoverLabel::setHoverLink):
4359 (HoverLabel::sizeHint):
4360 (HoverLabel::updateSize):
4361 (HoverLabel::paintEvent):
4362 (ClearButton::ClearButton):
4363 (ClearButton::paintEvent):
4364 (SearchEdit::SearchEdit):
4365 (SearchEdit::resizeEvent):
4366 (SearchEdit::moveEvent):
4367 (MainWindow::MainWindow):
4368 (MainWindow::showLinkHover):
4369 (MainWindow::resizeEvent):
4371 2007-02-22 Zack Rusin <zrusin@trolltech.com>
4375 Fixing the default scroll offset, cleaning
4376 up private methods and making the default
4377 look not use any frames.
4379 * Api/qwebframe.cpp:
4380 (QWebFramePrivate::init):
4381 (QWebFramePrivate::_q_handleKeyEvent):
4382 (QWebFrame::QWebFrame):
4383 (QWebFrame::wheelEvent):
4384 (QWebFrame::keyPressEvent):
4385 (QWebFrame::keyReleaseEvent):
4387 * Api/qwebframe_p.h:
4389 2007-02-22 Zack Rusin <zrusin@trolltech.com>
4393 Make the qwebframe act as a proper canvas.
4394 Implement it on top of QAbstractScrollArea.
4396 * Api/qwebframe.cpp:
4397 (QWebFramePrivate::init):
4398 (QWebFramePrivate::_q_adjustScrollbars):
4400 (QWebFrame::QWebFrame):
4401 (QWebFrame::resizeEvent):
4402 (QWebFrame::childFrames):
4403 (QWebFrame::paintEvent):
4404 (QWebFrame::mouseMoveEvent):
4405 (QWebFrame::mousePressEvent):
4406 (QWebFrame::mouseReleaseEvent):
4407 (QWebFrame::wheelEvent):