1 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
11 (QWebView::mouseMoveEvent):
12 (QWebView::mousePressEvent):
13 (QWebView::mouseDoubleClickEvent):
14 (QWebView::mouseReleaseEvent):
15 (QWebView::contextMenuEvent):
16 (QWebView::keyPressEvent):
17 (QWebView::keyReleaseEvent):
18 (QWebView::focusInEvent):
19 (QWebView::focusOutEvent):
20 (QWebView::dragEnterEvent):
21 (QWebView::dragLeaveEvent):
22 (QWebView::dragMoveEvent):
23 (QWebView::dropEvent):
25 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
29 * This layout is not needed anymore as Widget::invalidateRect will not
34 (QWebView::paintEvent):
36 2008-01-04 Lars Knoll <lars@trolltech.com>
40 Remove most dependencies of Widget/ScrollView onto native QWidgets.
42 This also brings the code closer in line with the Windows code. Seems
43 to work nicely on first try :)
46 * WebCoreSupport/ChromeClientQt.cpp:
47 (WebCore::ChromeClientQt::updateBackingStore):
48 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
49 (WebCore::ChromeClientQt::setToolTip):
50 * WebCoreSupport/FrameLoaderClientQt.cpp:
51 (WebCore::FrameLoaderClientQt::createPlugin):
53 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
57 * Remove the todo from QWebPage and move the code to QWebView.
61 (QWebPagePrivate::wheelEvent):
62 (QWebPagePrivate::focusInEvent):
64 (QWebView::wheelEvent):
65 (QWebView::focusInEvent):
67 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
71 * Move the various event methods to QWebPagePrivate. This is similar to
77 (QWebPagePrivate::mouseMoveEvent):
78 (QWebPagePrivate::mousePressEvent):
79 (QWebPagePrivate::mouseDoubleClickEvent):
80 (QWebPagePrivate::mouseReleaseEvent):
81 (QWebPagePrivate::contextMenuEvent):
82 (QWebPagePrivate::wheelEvent):
83 (QWebPagePrivate::keyPressEvent):
84 (QWebPagePrivate::keyReleaseEvent):
85 (QWebPagePrivate::focusInEvent):
86 (QWebPagePrivate::focusOutEvent):
87 (QWebPage::focusNextPrevChild):
88 (QWebPagePrivate::dragEnterEvent):
89 (QWebPagePrivate::dragLeaveEvent):
90 (QWebPagePrivate::dragMoveEvent):
91 (QWebPagePrivate::dropEvent):
95 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
99 * Forward the event from QWebView to QWebPage through QObject::event. This
100 is similar to the way QTextControl is working.
104 (dragOpToDropAction):
108 (QWebView::mouseMoveEvent):
109 (QWebView::mousePressEvent):
110 (QWebView::mouseDoubleClickEvent):
111 (QWebView::mouseReleaseEvent):
112 (QWebView::contextMenuEvent):
113 (QWebView::wheelEvent):
114 (QWebView::keyPressEvent):
115 (QWebView::keyReleaseEvent):
116 (QWebView::focusInEvent):
117 (QWebView::focusOutEvent):
118 (QWebView::dragEnterEvent):
119 (QWebView::dragLeaveEvent):
120 (QWebView::dragMoveEvent):
121 (QWebView::dropEvent):
124 2008-01-04 Lars Knoll <lars@trolltech.com>
128 make QWebPage a QObject and get things to compile.
130 Nothing works currently though.
133 * Api/qwebobjectpluginconnector.cpp:
135 (QWebPagePrivate::QWebPagePrivate):
136 (QWebPagePrivate::createMainFrame):
137 (QWebPage::QWebPage):
140 (QWebPage::javaScriptAlert):
141 (QWebPage::javaScriptPrompt):
142 (dragOpToDropAction):
143 (QWebPage::mousePressEvent):
144 (QWebPage::mouseDoubleClickEvent):
145 (QWebPage::mouseReleaseEvent):
146 (QWebPage::wheelEvent):
147 (QWebPage::keyPressEvent):
148 (QWebPage::focusInEvent):
152 (QWebView::QWebView):
154 (QWebView::resizeEvent):
155 (QWebView::paintEvent):
157 * WebCoreSupport/ChromeClientQt.cpp:
158 (WebCore::ChromeClientQt::windowRect):
159 (WebCore::ChromeClientQt::pageRect):
160 (WebCore::ChromeClientQt::focus):
161 (WebCore::ChromeClientQt::unfocus):
162 (WebCore::ChromeClientQt::canTakeFocus):
163 (WebCore::ChromeClientQt::takeFocus):
164 (WebCore::ChromeClientQt::canRunModal):
165 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
166 * WebCoreSupport/DragClientQt.cpp:
167 (WebCore::DragClientQt::startDrag):
168 * WebCoreSupport/FrameLoaderClientQt.cpp:
169 (WebCore::FrameLoaderClientQt::createPlugin):
170 * WebCoreSupport/InspectorClientQt.cpp:
171 (WebCore::InspectorClientWebPage::createWindow):
172 (WebCore::InspectorClientView::InspectorClientView):
173 (WebCore::InspectorClientView::page):
174 (WebCore::InspectorClientView::hideEvent):
175 (WebCore::InspectorClientView::closeEvent):
176 (WebCore::InspectorClientQt::createPage):
177 (WebCore::InspectorClientQt::closeWindow):
179 2008-01-04 Simon Hausmann <hausmann@webkit.org>
183 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
188 (QWebView::setContent):
190 (QWebView::settings):
192 (QWebView::triggerAction):
194 (QWebView::backward):
199 2008-01-04 Lars Knoll <lars@trolltech.com>
203 add a viewportSize to QWebPage.
205 This is required to eventually make it a QObject only.
209 (QWebPage::triggerAction):
210 (QWebPage::viewportSize):
211 (QWebPage::setViewportSize):
214 2008-01-04 Lars Knoll <lars@trolltech.com>
218 take a QString as identifier in QWebFrame::addToJSWindowObject.
221 (QWebFrame::addToJSWindowObject):
224 2008-01-04 Simon Hausmann <hausmann@webkit.org>
228 Call the frame arguments for the javascript callbacks "originatingFrame"
233 2008-01-04 Simon Hausmann <hausmann@webkit.org>
237 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
240 * Api/qwebhistoryinterface.h:
242 * WebCoreSupport/FrameLoaderClientQt.cpp:
243 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
245 2008-01-04 Lars Knoll <lars@trolltech.com>
249 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
254 (QWebFrame::setVerticalScrollBarPolicy):
257 (QWebPage::javaScriptAlert):
258 (QWebPage::javaScriptPrompt):
259 (QWebPage::networkInterface):
265 * WebCoreSupport/FrameLoaderClientQt.cpp:
267 2008-01-03 Simon Hausmann <hausmann@webkit.org>
271 Moved QWebPage::open to QWebFrame::load and added setHtml.
276 (QWebFrame::setHtml):
277 (QWebFrame::setContent):
285 * WebCoreSupport/ChromeClientQt.cpp:
286 (WebCore::ChromeClientQt::createWindow):
287 * WebCoreSupport/InspectorClientQt.cpp:
288 (WebCore::InspectorClientQt::createPage):
290 2008-01-03 Simon Hausmann <hausmann@webkit.org>
294 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
300 (QWebPagePrivate::createMainFrame):
302 * Api/qwebpagehistory.h:
303 * Api/qwebview.cpp: Added.
304 (QWebView::QWebView):
305 (QWebView::~QWebView):
311 (QWebView::settings):
315 (QWebView::selectedText):
317 (QWebView::triggerAction):
318 (QWebView::isModified):
319 (QWebView::textInteractionFlags):
320 (QWebView::setTextInteractionFlags):
321 (QWebView::sizeHint):
323 (QWebView::backward):
326 * Api/qwebview.h: Added.
327 * QtLauncher/main.cpp:
328 (MainWindow::MainWindow):
329 (MainWindow::webPage):
330 (MainWindow::changeLocation):
331 * WebCoreSupport/FrameLoaderClientQt.cpp:
332 (WebCore::FrameLoaderClientQt::setFrame):
333 * WebCoreSupport/FrameLoaderClientQt.h:
335 2007-12-14 Darin Adler <darin@apple.com>
340 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
341 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
342 * WebCoreSupport/EditorClientQt.cpp:
343 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
344 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
347 2007-12-12 Brady Eidson <beidson@apple.com>
349 Reviewed by Sam Weinig
351 As part of doing some CachedPage and client cleanup, keep Qt building
353 * WebCoreSupport/FrameLoaderClientQt.cpp:
354 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
355 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
356 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
357 * WebCoreSupport/FrameLoaderClientQt.h:
359 2007-12-12 Sam Weinig <sam@webkit.org>
363 * WebCoreSupport/FrameLoaderClientQt.cpp:
364 (WebCore::FrameLoaderClientQt::userAgent):
366 2007-12-12 Sam Weinig <sam@webkit.org>
370 * Api/qwebnetworkinterface.cpp:
371 (QWebNetworkRequestPrivate::init):
374 (QWebPageContext::QWebPageContext):
375 * Api/qwebpagehistory.cpp:
376 (QWebHistoryItem::originalUrl):
377 (QWebHistoryItem::currentUrl):
378 * WebCoreSupport/FrameLoaderClientQt.cpp:
379 (WebCore::FrameLoaderClientQt::cannotShowURLError):
380 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
381 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
382 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
383 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
384 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
385 (WebCore::FrameLoaderClientQt::createPlugin):
387 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
391 <rdar://problem/5535636>
392 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
394 http://bugs.webkit.org/show_bug.cgi?id=13916
395 JavaScript detects Tab as a character input on a textfield validation
397 * WebCoreSupport/EditorClientQt.cpp:
398 (WebCore::EditorClientQt::handleKeyboardEvent):
399 (WebCore::EditorClientQt::handleInputMethodKeydown):
400 * WebCoreSupport/EditorClientQt.h:
401 Updated for cross-platform changes as much as it was possible without a Qt build environment.
403 2007-12-07 Darin Adler <darin@apple.com>
407 * Api/qwebhistoryinterface.cpp:
408 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
409 be updated, since WebCore changed, but this should not be here.
411 2007-12-04 Darin Adler <darin@apple.com>
413 Reviewed by Kevin Decker.
415 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
416 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
418 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
422 * Implement the InspectorClient for the Qt port
423 * It does not support highlighting of nodes yet
424 * Use QRC to open the internal page. The important thing is the
425 '/' in the URL to make WebCore::Document::completeURL behave the
427 * To make the InspectorClient work we will have to mark qrc as secure.
430 (QWebPagePrivate::QWebPagePrivate):
432 * WebCoreSupport/InspectorClientQt.cpp:
433 (WebCore::InspectorClientWebPage::hideEvent):
434 (WebCore::InspectorClientQt::InspectorClientQt):
435 (WebCore::InspectorClientQt::inspectorDestroyed):
436 (WebCore::InspectorClientQt::createPage):
437 (WebCore::InspectorClientQt::localizedStringsURL):
438 (WebCore::InspectorClientQt::showWindow):
439 (WebCore::InspectorClientQt::closeWindow):
440 (WebCore::InspectorClientQt::attachWindow):
441 (WebCore::InspectorClientQt::detachWindow):
442 * WebCoreSupport/InspectorClientQt.h:
444 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
446 Rubber stamped by Mark.
448 Always include config.h at the beginning of the file.
450 * Api/qwebsettings.cpp:
452 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
456 * Avoid crashes by making sure everything is layouted before
457 we start painting. This avoids a crash in Widget::invalidateRect
458 because QPainter::begin would fail
459 * The QWebFrame::layout() methods and calls are left untouched because
460 this would be an API decision.
466 (QWebPage::paintEvent):
468 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
472 * SubClass QWebPage to handle hide and close events.
473 * Forward these events to the InspectorController
474 * The other options would have been using an eventFilter
475 on the webpage and making InspectorClient a QObject or
476 creating a QObject Observer.
477 * Provide a simple QWebPage* createWindow implementation. This is needed
478 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
479 of the inspector client.
482 * WebCoreSupport/InspectorClientQt.cpp:
483 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
484 (WebCore::InspectorClientWebPage::createWindow):
485 (WebCore::InspectorClientWebPage::hideEvent):
486 (WebCore::InspectorClientWebPage::closeEvent):
487 (WebCore::InspectorClientQt::createPage):
489 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
493 * Allow adding the Inspect ContextMenuItem to our Menu
494 * Open the Inspector when Inspect was activated. This requires
495 that we keep the innerNonSharedNode from the HitTest around. This
496 forces us to include <wtf/RefPtr.h> in the private header. It is
497 the first non Qt header but should be okay.
501 (webActionForContextMenuAction):
502 (QWebPage::triggerAction):
504 (QWebPageContext::QWebPageContext):
508 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
512 * Add the Developer Extras to the WebAttribute and propagate it
513 to WebCore::Settings. This will enable the Inspect Element menu item
514 * CodingStyle fixes in QWebSettings
515 * Enable the Developer Extras in the QtLauncher
518 * Api/qwebsettings.cpp:
519 (QWebSettingsPrivate::apply):
520 * Api/qwebsettings.h:
521 * QtLauncher/main.cpp:
524 2007-12-03 Geoffrey Garen <ggaren@apple.com>
526 Removed unnecessary and possibly incorrect #include from my last
531 2007-12-03 Geoffrey Garen <ggaren@apple.com>
533 Qt build fix: Get globalExec() from the right place.
535 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
539 * Self destruct the clients like the ohter ports do
542 * WebCoreSupport/ChromeClientQt.cpp:
543 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
544 * WebCoreSupport/ContextMenuClientQt.cpp:
545 * WebCoreSupport/DragClientQt.cpp:
546 * WebCoreSupport/EditorClientQt.cpp:
547 * WebCoreSupport/InspectorClientQt.cpp:
549 2007-11-29 Brady Eidson <beidson@apple.com>
551 Keep it building with new client method
553 * WebCoreSupport/ChromeClientQt.cpp:
554 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
555 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
556 * WebCoreSupport/ChromeClientQt.h:
558 2007-11-22 Simon Hausmann <hausmann@webkit.org>
560 Reviewed by Adam Treat.
562 Fix compilation (don't define notImplemented twice)
564 * Api/qwebnetworkinterface.cpp:
566 2007-11-22 Simon Hausmann <hausmann@kde.org>
570 Use Q_SIGNALS/Q_SLOTS in the public API
575 2007-11-22 Simon Hausmann <hausmann@kde.org>
579 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
583 2007-11-22 Simon Hausmann <hausmann@kde.org>
587 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
591 * Api/qwebhistoryinterface.h:
592 * Api/qwebnetworkinterface.h:
593 * Api/qwebobjectplugin.h:
594 * Api/qwebobjectplugin_p.h:
595 * Api/qwebobjectpluginconnector.h:
597 * Api/qwebpagehistory.h:
598 * Api/qwebsettings.h:
600 2007-11-22 Simon Hausmann <hausmann@kde.org>
604 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
606 * Api/qwebpagehistory.h:
608 2007-11-22 George Staikos <staikos@kde.org>
610 Reviewed by Simon Hausmann <hausmann@kde.org>.
615 * Api/qwebobjectplugin.cpp:
616 * Api/qwebobjectplugin.h:
617 * Api/qwebobjectpluginconnector.cpp:
618 * Api/qwebobjectpluginconnector.h:
620 2007-11-22 Simon Hausmann <hausmann@kde.org>
622 Reviewed by George Staikos <staikos@kde.org>.
624 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
626 This also fixes compilation with gcc 4.3.
630 (QWebFramePrivate::init):
632 2007-11-21 Adam Treat <treat@kde.org>
636 * Connect up the signal for all subframes too.
639 (QWebFramePrivate::init):
641 (QWebPagePrivate::createMainFrame):
643 2007-11-20 Simon Hausmann <hausmann@kde.org>
645 Reviewed by Adam Treat <treat@kde.org>.
647 Remove static linkage of QtWebKit against the ICO image format plugin.
649 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
652 * Plugins/Plugins.pro:
654 2007-11-20 Simon Hausmann <hausmann@kde.org>
656 Reviewed by George Staikos <staikos@kde.org>.
658 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
663 2007-11-20 George Staikos <staikos@kde.org>
665 Reviewed by Simon Hausmann <hausmann@kde.org>.
667 Add an argument to pass the link text in the hovering signal
672 (QWebPagePrivate::createMainFrame):
673 (QWebPage::mouseMoveEvent):
676 2007-11-20 Adam Treat <treat@kde.org>
678 Reviewed by Simon and George.
680 * Be quiet and allow suppression of NotImplemented calls at runtime.
682 * WebCoreSupport/FrameLoaderClientQt.cpp:
683 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
685 2007-11-19 Adam Treat <treat@kde.org>
689 * Don't segfault when event pos is outside of the widget.
692 (QWebPage::mouseMoveEvent):
693 (QWebPage::mousePressEvent):
694 (QWebPage::mouseDoubleClickEvent):
695 (QWebPage::mouseReleaseEvent):
696 (QWebPage::contextMenuEvent):
698 2007-11-17 Timothy Hatcher <timothy@apple.com>
700 Reviewed by Mark Rowe.
702 Bug 13470: i18n: The Web Inspector is not localizable
703 http://bugs.webkit.org/show_bug.cgi?id=13470
705 * WebCoreSupport/InspectorClientQt.cpp:
706 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
707 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
709 2007-11-13 Geoffrey Garen <ggaren@apple.com>
711 Build fix: changed Shared to RefCounted.
713 * WebCoreSupport/ChromeClientQt.h:
714 * WebCoreSupport/ContextMenuClientQt.cpp:
715 * WebCoreSupport/ContextMenuClientQt.h:
716 * WebCoreSupport/EditorClientQt.h:
717 * WebCoreSupport/FrameLoaderClientQt.h:
719 2007-11-10 Simon Hausmann <hausmann@kde.org>
723 When populating the context menu with sub-menus don't add sub-menus if they're empty.
727 (QWebPagePrivate::createContextMenu):
729 2007-11-10 Simon Hausmann <hausmann@kde.org>
733 Added support for the Bold/Italic/Underline toggle actions.
737 (webActionForContextMenuAction):
738 (QWebPage::triggerAction):
742 2007-11-10 Simon Hausmann <hausmann@kde.org>
746 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
747 to update the enable/checked state correctly.
751 (QWebPagePrivate::createContextMenu):
752 (QWebPage::contextMenuEvent):
755 2007-11-10 Simon Hausmann <hausmann@kde.org>
759 Mark the text direction actions as checkable actions.
765 2007-11-09 Simon Hausmann <hausmann@kde.org>
769 Implemented the webcore actions for changing the text direction.
773 (webActionForContextMenuAction):
774 (QWebPage::triggerAction):
778 2007-11-09 Simon Hausmann <hausmann@kde.org>
782 Fix ContextMenu allocation in the Qt port.
784 Store all items and submenus value based in ContextMenu and ContextMenuItem.
785 That fixes the crashes when the context menu was populated with sub-menus because
786 of the use of temporary ContextMenu objects like this:
788 ContextMenu subMenu(...);
789 subMenu.appendItem(...);
790 subMenu.appendItem(...);
792 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
796 (QWebPage::contextMenuEvent):
799 2007-11-09 Simon Hausmann <hausmann@kde.org>
803 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
809 2007-11-08 Kevin McCullough <kmccullough@apple.com>
813 - windowObjectCleared() is no longer const. It needs to setup the
814 script debugger and cannot be const to do so.
816 * WebCoreSupport/FrameLoaderClientQt.cpp:
817 (WebCore::FrameLoaderClientQt::windowObjectCleared):
818 * WebCoreSupport/FrameLoaderClientQt.h:
820 2007-11-08 Simon Hausmann <hausmann@kde.org>
822 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
824 The buildbots use Qt 4.4 which has the function in question, but Qt
825 4.3 doesn't have it. Use removeAll() as replacement instead, it
826 shouldn't make a difference in performance.
828 * Api/qwebsettings.cpp:
829 (QWebSettings::~QWebSettings):
831 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
833 Reviewed by Lars Knoll <lars@trolltech.com>.
835 Cleanup checking for the request method.
837 * Check the request method only in QWebNetworkManager::add.
838 * Currently HEAD, GET, POST are allowed and for everything else
839 QWebNetworkManager::add returns false.
840 * Returning false is compatible with ResourceHandle::start and it
841 can be used in ResourceHandle::loadResourceSynchronously to generate
845 * Api/qwebnetworkinterface.cpp:
846 (QWebNetworkManager::add):
848 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
850 Reviewed by Lars Knoll <lars@trolltech.com>.
852 Fix bug in the implementation of synchronous network jobs.
854 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
855 - if (jobMode == AsynchronousJob) {
856 + if (jobMode == SynchronousJob) {
857 add job to synchronous list/hash
859 * Just applying the above change will lead to crashes because we can finish
860 jobs before we started them.
862 * Avoid these issues by saving all work (starting a job, sending data and
863 finishing it) inside one list. JobWork will contain any
864 of the above three work types and doWork will just work on this list
865 (m_pendingWork). As foreach takes a copy of the list calling started, data
866 and finished will not add new work and we gurantee that if we have JobStarted
867 it will be in the list before JobData and JobFinished.
869 * Observation: We might just kill the code to handle sync jobs.
872 * Api/qwebnetworkinterface.cpp:
873 (QWebNetworkManager::add):
874 (QWebNetworkManager::queueStart):
875 (QWebNetworkManager::queueData):
876 (QWebNetworkManager::queueFinished):
877 (QWebNetworkManager::doWork):
878 * Api/qwebnetworkinterface_p.h:
879 (QWebNetworkManager::JobWork::):
880 (QWebNetworkManager::JobWork::JobWork):
882 2007-11-07 Simon Hausmann <hausmann@kde.org>
884 Build fix, reviewed by nobody.
886 Fix the Qt build by setting up WindowFeatures before calling
887 createWindow on the Chrome. This is similar to openNewWindow in
888 page/ContextMenuController.cpp
893 2007-11-07 Simon Hausmann <hausmann@kde.org>
897 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
900 (QWebPagePrivate::QWebPagePrivate):
901 * Api/qwebsettings.cpp:
902 (QWebSettingsPrivate::apply):
903 * Api/qwebsettings.h:
905 2007-11-07 Simon Hausmann <hausmann@kde.org>
909 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
911 * Api/qwebpagehistory.cpp:
912 * Api/qwebpagehistory.h:
914 2007-11-07 Simon Hausmann <hausmann@kde.org>
918 Removed unimplemented QWebHistoryItem::children() function
920 * Api/qwebpagehistory.h:
922 2007-11-07 Simon Hausmann <hausmann@kde.org>
926 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
928 * Api/qwebsettings.cpp:
929 (QWebSettings::fontSize):
930 (QWebSettings::fontFamily):
931 (QWebSettings::testAttribute):
933 2007-11-07 Simon Hausmann <hausmann@kde.org>
937 Added explicit functions for resetting the font sizes and font families.
939 * Api/qwebsettings.cpp:
940 (QWebSettings::resetFontSize):
941 (QWebSettings::resetFontFamily):
942 * Api/qwebsettings.h:
944 2007-11-07 Simon Hausmann <hausmann@kde.org>
948 Combined the font sizes accessors/setters under one setter/getter with an enum.
950 * Api/qwebsettings.cpp:
951 (QWebSettingsPrivate::QWebSettingsPrivate):
952 (QWebSettingsPrivate::apply):
953 (QWebSettings::QWebSettings):
954 (QWebSettings::setFontSize):
955 * Api/qwebsettings.h:
957 2007-11-07 Simon Hausmann <hausmann@kde.org>
961 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
965 * WebCoreSupport/FrameLoaderClientQt.cpp:
966 (WebCore::FrameLoaderClientQt::userAgent):
968 2007-11-07 Simon Hausmann <hausmann@kde.org>
972 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
975 (QWebPagePrivate::_q_webActionTriggered):
976 (QWebPage::keyPressEvent):
979 2007-11-07 Simon Hausmann <hausmann@kde.org>
983 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
987 * WebCoreSupport/ChromeClientQt.cpp:
988 (WebCore::ChromeClientQt::setWindowRect):
990 2007-11-07 Simon Hausmann <hausmann@kde.org>
994 Renamed QWebPage::webAction() to QWebPage::action()
997 (QWebPagePrivate::createContextMenu):
999 * QtLauncher/main.cpp:
1000 (MainWindow::MainWindow):
1002 2007-11-07 Simon Hausmann <hausmann@kde.org>
1006 Removed a bunch of slots/functions that are now available through the new actions API.
1011 2007-11-07 Simon Hausmann <hausmann@kde.org>
1015 Added some more comments to the API after another round of API review with Lars.
1019 2007-11-07 Simon Hausmann <hausmann@kde.org>
1023 Moved QWebFrame::selectedText() to QWebPage::selectedText().
1025 The currently selected text is a property of the page as a whole.
1027 * Api/qwebframe.cpp:
1030 (QWebPage::selectedText):
1033 2007-11-07 Simon Hausmann <hausmann@kde.org>
1037 Implemented support for settings propagation.
1039 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
1041 * Api/qwebsettings.cpp:
1042 (QWebSettingsPrivate::QWebSettingsPrivate):
1043 (QWebSettingsPrivate::apply):
1044 (QWebSettings::QWebSettings):
1045 (QWebSettings::~QWebSettings):
1046 (QWebSettings::setFontFamily):
1047 * Api/qwebsettings.h:
1049 2007-11-07 Simon Hausmann <hausmann@kde.org>
1053 Reworked the QWebSettings API.
1054 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
1057 (QWebPagePrivate::QWebPagePrivate):
1058 (QWebPagePrivate::~QWebPagePrivate):
1059 (QWebPage::QWebPage):
1062 * Api/qwebsettings.cpp:
1063 (QWebSettingsPrivate::QWebSettingsPrivate):
1064 (QWebSettingsPrivate::apply):
1065 (QWebSettings::defaultSettings):
1066 (QWebSettings::QWebSettings):
1067 (QWebSettings::setMinimumFontSize):
1068 (QWebSettings::setMinimumLogicalFontSize):
1069 (QWebSettings::setDefaultFontSize):
1070 (QWebSettings::setDefaultFixedFontSize):
1071 (QWebSettings::setUserStyleSheetLocation):
1072 (QWebSettings::setFontFamily):
1073 (QWebSettings::fontFamily):
1074 (QWebSettings::setAttribute):
1075 * Api/qwebsettings.h:
1076 * QtLauncher/main.cpp:
1079 2007-11-07 Simon Hausmann <hausmann@kde.org>
1083 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
1085 * Api/qwebsettings.cpp:
1086 (QWebSettings::setWebGraphic):
1087 * Api/qwebsettings.h:
1089 2007-11-07 Simon Hausmann <hausmann@kde.org>
1093 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
1095 * Api/qwebsettings.cpp:
1097 2007-11-07 Simon Hausmann <hausmann@kde.org>
1101 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
1103 * Api/qwebsettings.cpp:
1104 * Api/qwebsettings.h:
1106 2007-11-07 Simon Hausmann <hausmann@kde.org>
1110 Changed the webAction() accessor to not be a slot but just a public function.
1114 2007-11-07 Simon Hausmann <hausmann@kde.org>
1118 Implemented createWindow() in QtLauncher.
1120 * QtLauncher/main.cpp:
1122 (MainWindow::MainWindow):
1123 (WebPage::createWindow):
1125 2007-11-07 Simon Hausmann <hausmann@kde.org>
1129 Implemented opening links in new windows
1134 (QWebPage::webActionTriggered):
1136 2007-11-07 Simon Hausmann <hausmann@kde.org>
1140 Added and implemented the "OpenLink" action.
1143 (webActionForContextMenuAction):
1144 (QWebPage::webActionTriggered):
1145 (QWebPage::webAction):
1148 2007-11-07 Simon Hausmann <hausmann@kde.org>
1152 Adjust the state of the reload action correctly.
1155 (QWebPagePrivate::updateAction):
1156 (QWebPagePrivate::updateNavigationActions):
1158 2007-11-07 Simon Hausmann <hausmann@kde.org>
1162 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
1165 (QWebPagePrivate::updateAction):
1166 (QWebPage::webAction):
1167 (QWebPage::undoStack):
1170 2007-11-07 Simon Hausmann <hausmann@kde.org>
1174 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
1176 * QtLauncher/main.cpp:
1177 (MainWindow::MainWindow):
1179 2007-11-07 Simon Hausmann <hausmann@kde.org>
1183 Update the editor actions when the selection changes.
1186 (QWebPagePrivate::updateAction):
1187 (QWebPagePrivate::updateEditorActions):
1189 * WebCoreSupport/EditorClientQt.cpp:
1190 (WebCore::EditorClientQt::respondToChangedSelection):
1192 2007-11-07 Simon Hausmann <hausmann@kde.org>
1196 Added cut/copy/paste actions to the toolbar of QtLauncher
1198 * QtLauncher/main.cpp:
1199 (MainWindow::MainWindow):
1201 2007-11-07 Simon Hausmann <hausmann@kde.org>
1205 Started working on keeping the state of the navigation actions up-to-date.
1208 (QWebPagePrivate::updateAction):
1209 (QWebPagePrivate::updateNavigationActions):
1210 (QWebPage::webAction):
1212 * WebCoreSupport/FrameLoaderClientQt.cpp:
1213 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1214 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1215 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1216 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1217 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1219 2007-11-07 Simon Hausmann <hausmann@kde.org>
1223 Use the navigational web actions in the toolbar
1225 * QtLauncher/main.cpp:
1226 (MainWindow::MainWindow):
1228 2007-11-07 Simon Hausmann <hausmann@kde.org>
1232 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
1233 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
1236 (QWebPagePrivate::QWebPagePrivate):
1237 (webActionForContextMenuAction):
1238 (QWebPagePrivate::createContextMenu):
1239 (QWebPagePrivate::_q_webActionTriggered):
1240 (QWebPage::webActionTriggered):
1241 (QWebPage::webAction):
1242 (QWebPage::contextMenuEvent):
1243 (QWebPageContext::QWebPageContext):
1244 (QWebPageContext::operator=):
1245 (QWebPageContext::~QWebPageContext):
1246 (QWebPageContext::pos):
1247 (QWebPageContext::text):
1248 (QWebPageContext::linkUrl):
1249 (QWebPageContext::imageUrl):
1250 (QWebPageContext::image):
1251 (QWebPageContext::targetFrame):
1255 2007-11-07 Simon Hausmann <hausmann@kde.org>
1259 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
1262 (QWebPage::webActionTriggered):
1263 (QWebPage::keyPressEvent):
1266 2007-11-07 Simon Hausmann <hausmann@kde.org>
1270 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
1271 convenience methods such as cut()/copy()/paste().
1275 (QWebPage::webActionTriggered):
1280 2007-11-07 Simon Hausmann <hausmann@kde.org>
1284 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
1285 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
1286 in ContextMenu::populate().
1287 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
1288 out of it. That menu is currently not functional anymore though.
1291 (QWebPagePrivate::createContextMenu):
1292 (QWebPage::contextMenuEvent):
1295 2007-11-07 Simon Hausmann <hausmann@kde.org>
1299 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
1300 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
1301 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
1305 (QWebPage::contextMenuEvent):
1306 * WebCoreSupport/ContextMenuClientQt.cpp:
1307 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1309 2007-11-07 Simon Hausmann <hausmann@kde.org>
1313 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
1314 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
1317 (QWebPage::mousePressEvent):
1318 (QWebPage::contextMenuEvent):
1321 2007-11-07 Simon Hausmann <hausmann@kde.org>
1325 Turned onLoadProgressChanged into a real private slot.
1328 (QWebPage::QWebPage):
1332 2007-11-07 Simon Hausmann <hausmann@kde.org>
1336 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1339 (QWebPagePrivate::QWebPagePrivate):
1342 * Api/qwebpagehistory.cpp:
1343 (QWebPageHistory::QWebPageHistory):
1344 * Api/qwebpagehistory.h:
1346 2007-11-07 Lars Knoll <lars@trolltech.com>
1350 comments on API changes that we'd like to do.
1354 2007-11-07 Simon Hausmann <hausmann@kde.org>
1356 Reviewed by Lars Knoll <lars@trolltech.com>.
1358 Add a QWebPage::frameCreated() signal and fix DRT
1360 The removal of createFrame in QWebPage broke the re-implementation
1361 in DumpRenderTree. Instead emit a frameCreated() signal and
1362 connect to it in DumpRenderTree.
1366 (QWebPagePrivate::createMainFrame):
1368 * WebCoreSupport/FrameLoaderClientQt.cpp:
1369 (WebCore::FrameLoaderClientQt::createFrame):
1371 2007-11-07 Lars Knoll <lars@trolltech.com>
1375 Remove QWebPage::createFrame()
1377 now that QWebFrame doesn't have virtual methods anymore, there
1378 is no need for a createFrame() factory method in QWebpage.
1381 (QWebPagePrivate::createMainFrame):
1383 * WebCoreSupport/FrameLoaderClientQt.cpp:
1384 (WebCore::FrameLoaderClientQt::createFrame):
1386 2007-11-07 Simon Hausmann <hausmann@kde.org>
1388 Reviewed by Lars Knoll <lars@trolltech.com>.
1390 Moved all the event handlers from QWebFrame into QWebPage.
1392 This cleans up the public API and allows us to remove the
1393 HackWebFrame hack in DumpRenderTree.
1396 * Api/qwebframe.cpp:
1399 * Api/qwebframe_p.h:
1401 (QWebPagePrivate::frameAt):
1402 (QWebPage::mouseMoveEvent):
1403 (QWebPage::mousePressEvent):
1404 (QWebPage::mouseDoubleClickEvent):
1405 (QWebPage::mouseReleaseEvent):
1406 (QWebPage::wheelEvent):
1409 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
1411 Reviewed by Lars Knoll <lars@trolltech.com>.
1413 Use correct UserAgent string.
1415 * Only have one User Agent String and this place is QWebPage
1416 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
1417 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
1418 * ResourceRequest is != 0 when getting called from WebCore, we
1419 will only do requests when coming from WebCore and then we can
1420 use the User-Agent set with the help of the FrameLoaderClient
1421 * We might want to change QWebNetworkRequest a bit
1424 * Api/qwebnetworkinterface.cpp:
1425 (QWebNetworkRequestPrivate::init):
1427 2007-11-07 Lars Knoll <lars@trolltech.com>
1431 remove two notImplemented() warnings, as I believe we don't
1432 have to implement these methods. Add some (commented out)
1433 debug code in one place.
1435 * WebCoreSupport/EditorClientQt.cpp:
1436 (WebCore::EditorClientQt::respondToChangedSelection):
1437 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1439 2007-11-05 Tristan O'Tierney <tristan@apple.com>
1441 Reviewed by Darin Adler.
1443 * WebCoreSupport/ChromeClientQt.cpp:
1444 (WebCore::ChromeClientQt::createWindow):
1445 * WebCoreSupport/ChromeClientQt.h:
1446 Revised to use new WebCore ChromeClient createWindow API.
1448 2007-10-31 Lars Knoll <lars@trolltech.com>
1452 fix most of the issues I found with Clipboard and DnD.
1455 (QWebPage::dragLeaveEvent):
1457 2007-10-31 Lars Knoll <lars@trolltech.com>
1461 QDrag objects need to be created on the heap.
1463 * WebCoreSupport/DragClientQt.cpp:
1464 (WebCore::DragClientQt::startDrag):
1466 2007-10-31 Lars Knoll <lars@trolltech.com>
1470 a dragLeave event is not the same as cancelling a drag.
1474 2007-10-26 Mark Rowe <mrowe@apple.com>
1476 Build fix. Add missing #include of Platform.h.
1478 * Api/qwebhistoryinterface.cpp:
1480 2007-10-25 Holger Freyther <zecke@selfish.org>
1482 Reviewed by Simon Hausmann <hausmann@kde.org>.
1484 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
1485 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
1486 * This is causing some regressions...
1489 * Api/qwebnetworkinterface.cpp:
1490 (QWebNetworkManager::started):
1491 (QWebNetworkInterface::addJob):
1493 2007-10-25 Holger Freyther <zecke@selfish.org>
1495 Reviewed by Simon Hausmann <hausmann@kde.org>.
1497 * 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.
1498 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
1501 * Api/qwebnetworkinterface.cpp:
1502 (QWebNetworkManager::started):
1504 2007-10-25 Holger Freyther <zecke@selfish.org>
1506 Reviewed by Simon Hausmann <hausmann@kde.org>.
1508 * 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.
1509 * Use the error message from Qt. It might or might not be translated.
1512 * Api/qwebnetworkinterface.cpp:
1513 (QWebNetworkJob::errorString):
1514 (QWebNetworkJob::setErrorString):
1515 (QWebNetworkManager::finished):
1516 (QWebNetworkManager::doWork):
1517 (WebCoreHttp::onRequestFinished):
1518 * Api/qwebnetworkinterface.h:
1519 * Api/qwebnetworkinterface_p.h:
1521 2007-10-25 Holger Freyther <zecke@selfish.org>
1523 Reviewed by Simon Hausmann <hausmann@kde.org>.
1525 * 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.
1526 * 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.
1529 * Api/qwebnetworkinterface.cpp:
1530 (QWebNetworkManager::doWork):
1532 2007-10-25 Holger Freyther <zecke@selfish.org>
1534 Reviewed by Simon Hausmann <hausmann@kde.org>.
1536 * No need to initialize values in the QWebNetworkJob c'tor
1537 * 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.
1540 * Api/qwebnetworkinterface.cpp:
1541 (QWebNetworkJob::status):
1542 (QWebNetworkJob::setStatus):
1543 (QWebNetworkManager::started):
1544 (QWebNetworkManager::data):
1545 (QWebNetworkManager::finished):
1546 * Api/qwebnetworkinterface.h:
1547 * Api/qwebnetworkinterface_p.h:
1548 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1550 2007-10-25 Holger Freyther <zecke@selfish.org>
1552 Reviewed by Simon Hausmann <hausmann@kde.org>.
1554 * Consistency: Always name the jobs job.
1557 * Api/qwebnetworkinterface.cpp:
1558 (WebCoreHttp::onReadyRead):
1559 (WebCoreHttp::onRequestFinished):
1560 (WebCoreHttp::onSslErrors):
1561 (WebCoreHttp::onAuthenticationRequired):
1562 (WebCoreHttp::onProxyAuthenticationRequired):
1564 2007-10-25 Holger Freyther <zecke@selfish.org>
1566 Reviewed by Simon Hausmann <hausmann@kde.org>.
1568 * 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.
1569 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
1572 * Api/qwebnetworkinterface.cpp:
1573 (QWebNetworkJob::~QWebNetworkJob):
1574 (QWebNetworkManager::QWebNetworkManager):
1575 (QWebNetworkManager::self):
1576 (QWebNetworkManager::add):
1577 (QWebNetworkManager::started):
1578 (QWebNetworkManager::finished):
1579 (QWebNetworkInterfacePrivate::sendFileData):
1580 (QWebNetworkInterfacePrivate::parseDataUrl):
1581 (QWebNetworkManager::queueStart):
1582 (QWebNetworkManager::queueData):
1583 (QWebNetworkManager::queueFinished):
1584 (QWebNetworkManager::doScheduleWork):
1585 (QWebNetworkManager::doWork):
1586 (gCleanupInterface):
1587 (QWebNetworkInterface::setDefaultInterface):
1588 (QWebNetworkInterface::defaultInterface):
1589 (QWebNetworkInterface::QWebNetworkInterface):
1590 (QWebNetworkInterface::started):
1591 (QWebNetworkInterface::data):
1592 (QWebNetworkInterface::finished):
1593 (WebCoreHttp::scheduleNextRequest):
1594 (WebCoreHttp::onResponseHeaderReceived):
1595 (WebCoreHttp::onReadyRead):
1596 (WebCoreHttp::onRequestFinished):
1597 (WebCoreHttp::cancel):
1598 * Api/qwebnetworkinterface.h:
1599 * Api/qwebnetworkinterface_p.h:
1600 (QWebNetworkManager::):
1601 (QWebNetworkManager::JobData::JobData):
1602 (QWebNetworkManager::JobFinished::JobFinished):
1604 2007-10-25 Holger Freyther <zecke@selfish.org>
1606 Reviewed by Simon Hausmann <hausmann@kde.org>.
1608 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
1609 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
1610 * We pass the char-decoding.html test now
1613 * Api/qwebnetworkinterface.cpp:
1614 (decodePercentEncoding):
1615 (QWebNetworkInterfacePrivate::parseDataUrl):
1617 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
1619 Reviewed by Lars Knoll <lars@trolltech.com>.
1621 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
1624 * WebCoreSupport/EditorClientQt.cpp:
1625 (WebCore::EditorClientQt::handleKeypress):
1627 2007-10-24 Lars Knoll <lars@trolltech.com>
1631 remove some notImplemented() warnings.
1633 * WebCoreSupport/EditorClientQt.cpp:
1634 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1635 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1636 (WebCore::EditorClientQt::respondToChangedSelection):
1638 2007-10-24 Lars Knoll <lars@trolltech.com>
1642 allow paste from DOM so we pass more test cases.
1645 (QWebPage::setSettings):
1647 2007-10-24 Lars Knoll <lars@trolltech.com>
1651 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
1654 (QWebPage::keyPressEvent):
1655 (QWebPage::keyReleaseEvent):
1657 2007-10-24 Lars Knoll <lars@trolltech.com>
1661 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1663 * WebCoreSupport/EditorClientQt.cpp:
1664 (qt_dump_editing_callbacks):
1667 2007-10-24 Lars Knoll <lars@trolltech.com>
1671 implemented support for most editing shortcuts to make contentEditable usable.
1674 (QWebPage::keyPressEvent):
1676 2007-10-24 Lars Knoll <lars@trolltech.com>
1680 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1683 (QWebPage::focusInEvent):
1685 2007-10-24 Lars Knoll <lars@trolltech.com>
1689 Implement support for testing editing.
1691 * WebCoreSupport/EditorClientQt.cpp:
1692 (qt_dump_editing_callbacks):
1693 (qt_dump_set_accepts_editing):
1696 (WebCore::EditorClientQt::shouldDeleteRange):
1697 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1698 (WebCore::EditorClientQt::shouldBeginEditing):
1699 (WebCore::EditorClientQt::shouldEndEditing):
1700 (WebCore::EditorClientQt::shouldInsertText):
1701 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1702 (WebCore::EditorClientQt::shouldApplyStyle):
1703 (WebCore::EditorClientQt::didBeginEditing):
1704 (WebCore::EditorClientQt::respondToChangedContents):
1705 (WebCore::EditorClientQt::respondToChangedSelection):
1706 (WebCore::EditorClientQt::didEndEditing):
1707 (WebCore::EditorClientQt::shouldInsertNode):
1709 2007-10-19 Alp Toker <alp@atoker.com>
1713 GTK+ build fix enabling the new local database storage feature.
1714 There is also a prospective Qt build fix.
1716 * WebCoreSupport/ChromeClientQt.cpp:
1717 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1718 * WebCoreSupport/ChromeClientQt.h:
1720 2007-10-19 Simon Hausmann <hausmann@kde.org>
1722 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1723 that config.h is included before wtf/MathExtras. The former defines
1724 the MSVC defines for rand_s.
1726 * WebCoreSupport/FrameLoaderClientQt.cpp:
1728 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1732 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1734 * Api/qwebframe.cpp:
1737 2007-10-10 Alice Liu <alice.liu@apple.com>
1739 Reviewed by Geoff Garen.
1741 changes to keep the build from breaking
1743 * WebCoreSupport/FrameLoaderClientQt.cpp:
1744 (WebCore::FrameLoaderClientQt::createFrame):
1745 * WebCoreSupport/FrameLoaderClientQt.h:
1747 2007-10-09 Lars Knoll <lars@trolltech.com>
1751 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1754 (QWebPage::setSettings):
1756 2007-10-09 Lars Knoll <lars@trolltech.com>
1760 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1762 * Api/qwebnetworkinterface.cpp:
1763 (QWebNetworkManager::add):
1764 (QWebNetworkManager::cancel):
1765 (QWebNetworkManager::started):
1766 (QWebNetworkManager::data):
1767 (QWebNetworkInterfacePrivate::parseDataUrl):
1769 2007-10-09 Lars Knoll <lars@trolltech.com>
1773 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.
1776 (QWebPagePrivate::createMainFrame):
1777 (QWebPage::createFrame):
1778 * WebCoreSupport/FrameLoaderClientQt.cpp:
1779 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1780 * WebCoreSupport/FrameLoaderClientQt.h:
1782 2007-10-09 Lars Knoll <lars@trolltech.com>
1786 add a clear() method to QWebPageHistory.
1788 * Api/qwebpagehistory.cpp:
1789 (QWebPageHistory::clear):
1790 (QWebPageHistory::itemAtIndex):
1791 * Api/qwebpagehistory.h:
1793 2007-10-05 Lars Knoll <lars@trolltech.com>
1795 add proper error messages to the FrameLoaderClient.
1796 Implement ChromeClientQt::closeWindowSoon and
1797 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1798 Some fixes in DRT to make it work correctly with multiple windows.
1803 * Api/qwebnetworkinterface.cpp:
1804 (QWebNetworkManager::cancel):
1805 (QWebNetworkInterface::addJob):
1806 * WebCoreSupport/ChromeClientQt.cpp:
1807 (WebCore::ChromeClientQt::closeWindowSoon):
1808 * WebCoreSupport/FrameLoaderClientQt.cpp:
1809 (WebCore::FrameLoaderClientQt::cancelledError):
1811 (WebCore::FrameLoaderClientQt::blockedError):
1812 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1813 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1814 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1815 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1817 2007-10-03 Lars Knoll <lars@trolltech.com>
1819 Signed off by Olliej.
1821 move WebKitQt to WebKit/qt for consistency with the other ports.
1823 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1824 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1825 (QCookieJarPrivate::QCookieJarPrivate):
1827 (QCookieJar::QCookieJar):
1828 (QCookieJar::~QCookieJar):
1829 (QCookieJar::setCookies):
1830 (QCookieJar::cookies):
1831 (QCookieJar::isEnabled):
1832 (QCookieJar::setEnabled):
1834 (QCookieJar::setCookieJar):
1835 (QCookieJar::cookieJar):
1836 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1837 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1838 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1839 (QWebFramePrivate::init):
1840 (QWebFramePrivate::parentFrame):
1841 (QWebFramePrivate::horizontalScrollBar):
1842 (QWebFramePrivate::verticalScrollBar):
1843 (QWebFrame::QWebFrame):
1844 (QWebFrame::~QWebFrame):
1845 (QWebFrame::addToJSWindowObject):
1846 (QWebFrame::markup):
1847 (QWebFrame::innerText):
1848 (QWebFrame::renderTreeDump):
1852 (QWebFrame::selectedText):
1853 (QWebFrame::childFrames):
1854 (QWebFrame::verticalScrollBarPolicy):
1855 (QWebFrame::setVerticalScrollBarPolicy):
1856 (QWebFrame::horizontalScrollBarPolicy):
1857 (QWebFrame::setHorizontalScrollBarPolicy):
1858 (QWebFrame::render):
1859 (QWebFrame::layout):
1861 (QWebFrame::geometry):
1862 (QWebFrame::evaluateJavaScript):
1863 (QWebFrame::mouseMoveEvent):
1864 (QWebFrame::mousePressEvent):
1865 (QWebFrame::mouseDoubleClickEvent):
1866 (QWebFrame::mouseReleaseEvent):
1867 (QWebFrame::wheelEvent):
1868 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1869 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1870 (QWebFramePrivate::QWebFramePrivate):
1871 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1872 (WebCore::historyContains):
1873 (gCleanupInterface):
1874 (QWebHistoryInterface::setDefaultInterface):
1875 (QWebHistoryInterface::defaultInterface):
1876 (QWebHistoryInterface::QWebHistoryInterface):
1877 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1878 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1879 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1882 (QWebNetworkRequestPrivate::init):
1883 (QWebNetworkRequestPrivate::setURL):
1884 (QWebNetworkRequest::QWebNetworkRequest):
1885 (QWebNetworkRequest::operator=):
1886 (QWebNetworkRequest::~QWebNetworkRequest):
1887 (QWebNetworkRequest::url):
1888 (QWebNetworkRequest::setUrl):
1889 (QWebNetworkRequest::httpHeader):
1890 (QWebNetworkRequest::setHttpHeader):
1891 (QWebNetworkRequest::httpHeaderField):
1892 (QWebNetworkRequest::setHttpHeaderField):
1893 (QWebNetworkRequest::postData):
1894 (QWebNetworkRequest::setPostData):
1895 (QWebNetworkJob::QWebNetworkJob):
1896 (QWebNetworkJob::~QWebNetworkJob):
1897 (QWebNetworkJob::url):
1898 (QWebNetworkJob::postData):
1899 (QWebNetworkJob::httpHeader):
1900 (QWebNetworkJob::request):
1901 (QWebNetworkJob::response):
1902 (QWebNetworkJob::setResponse):
1903 (QWebNetworkJob::cancelled):
1904 (QWebNetworkJob::ref):
1905 (QWebNetworkJob::deref):
1906 (QWebNetworkJob::networkInterface):
1907 (QWebNetworkJob::frame):
1908 (QWebNetworkManager::QWebNetworkManager):
1909 (QWebNetworkManager::self):
1910 (QWebNetworkManager::add):
1911 (QWebNetworkManager::cancel):
1912 (QWebNetworkManager::started):
1913 (QWebNetworkManager::data):
1914 (QWebNetworkManager::finished):
1915 (QWebNetworkManager::addHttpJob):
1916 (QWebNetworkManager::cancelHttpJob):
1917 (QWebNetworkManager::httpConnectionClosed):
1918 (QWebNetworkInterfacePrivate::sendFileData):
1919 (QWebNetworkInterfacePrivate::parseDataUrl):
1920 (gCleanupInterface):
1921 (QWebNetworkInterface::setDefaultInterface):
1922 (QWebNetworkInterface::defaultInterface):
1923 (QWebNetworkInterface::QWebNetworkInterface):
1924 (QWebNetworkInterface::~QWebNetworkInterface):
1925 (QWebNetworkInterface::addJob):
1926 (QWebNetworkInterface::cancelJob):
1927 (WebCoreHttp::WebCoreHttp):
1928 (WebCoreHttp::~WebCoreHttp):
1929 (WebCoreHttp::request):
1930 (WebCoreHttp::scheduleNextRequest):
1931 (WebCoreHttp::getConnection):
1932 (WebCoreHttp::onResponseHeaderReceived):
1933 (WebCoreHttp::onReadyRead):
1934 (WebCoreHttp::onRequestFinished):
1935 (WebCoreHttp::onDone):
1936 (WebCoreHttp::onStateChanged):
1937 (WebCoreHttp::cancel):
1938 (WebCoreHttp::onSslErrors):
1939 (WebCoreHttp::onAuthenticationRequired):
1940 (WebCoreHttp::onProxyAuthenticationRequired):
1941 (HostInfo::HostInfo):
1942 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1943 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1944 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1945 (WebCore::HostInfo::HostInfo):
1946 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1947 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1948 (QWebFactoryLoader::QWebFactoryLoader):
1949 (QWebFactoryLoader::self):
1950 (QWebFactoryLoader::descriptionForName):
1951 (QWebFactoryLoader::mimetypesForName):
1952 (QWebFactoryLoader::mimeTypeForExtension):
1953 (QWebFactoryLoader::extensions):
1954 (QWebFactoryLoader::nameForMimetype):
1955 (QWebFactoryLoader::create):
1956 (QWebObjectPlugin::QWebObjectPlugin):
1957 (QWebObjectPlugin::~QWebObjectPlugin):
1958 (QWebObjectPlugin::descriptionForKey):
1959 (QWebObjectPlugin::mimetypesForKey):
1960 (QWebObjectPlugin::extensionsForMimetype):
1961 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1962 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1963 (QWebFactoryLoader::names):
1964 (QWebFactoryLoader::supportsMimeType):
1965 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1966 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1967 (QWebObjectPluginConnector::frame):
1968 (QWebObjectPluginConnector::pluginParentWidget):
1969 (QWebObjectPluginConnector::requestUrl):
1970 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1971 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1972 (QWebPagePrivate::QWebPagePrivate):
1973 (QWebPagePrivate::~QWebPagePrivate):
1974 (QWebPagePrivate::navigationRequested):
1975 (QWebPagePrivate::createMainFrame):
1976 (QWebPage::QWebPage):
1977 (QWebPage::~QWebPage):
1978 (QWebPage::createFrame):
1982 (QWebPage::mainFrame):
1983 (QWebPage::sizeHint):
1985 (QWebPage::history):
1987 (QWebPage::goForward):
1988 (QWebPage::goToHistoryItem):
1989 (QWebPage::javaScriptConsoleMessage):
1990 (QWebPage::javaScriptAlert):
1991 (QWebPage::javaScriptConfirm):
1992 (QWebPage::javaScriptPrompt):
1993 (QWebPage::createWindow):
1994 (QWebPage::createModalDialog):
1995 (QWebPage::createPlugin):
1996 (QWebPage::navigationRequested):
1997 (QWebPage::setWindowGeometry):
1999 (QWebPage::canCopy):
2000 (QWebPage::canPaste):
2004 (QWebPage::isModified):
2005 (QWebPage::undoStack):
2006 (dropActionToDragOp):
2007 (dragOpToDropAction):
2008 (QWebPage::resizeEvent):
2009 (QWebPage::paintEvent):
2010 (QWebPage::mouseMoveEvent):
2011 (QWebPage::mousePressEvent):
2012 (QWebPage::mouseDoubleClickEvent):
2013 (QWebPage::mouseReleaseEvent):
2014 (QWebPage::wheelEvent):
2015 (QWebPage::keyPressEvent):
2016 (QWebPage::keyReleaseEvent):
2017 (QWebPage::focusInEvent):
2018 (QWebPage::focusOutEvent):
2019 (QWebPage::focusNextPrevChild):
2020 (QWebPage::dragEnterEvent):
2021 (QWebPage::dragLeaveEvent):
2022 (QWebPage::dragMoveEvent):
2023 (QWebPage::dropEvent):
2024 (QWebPage::setNetworkInterface):
2025 (QWebPage::networkInterface):
2027 (QWebPage::setSettings):
2028 (QWebPage::settings):
2029 (QWebPage::chooseFile):
2030 (QWebPage::setNetworkProxy):
2031 (QWebPage::networkProxy):
2032 (QWebPage::userAgentStringForUrl):
2033 (QWebPage::onLoadProgressChanged):
2034 (QWebPage::totalBytes):
2035 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
2036 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
2037 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
2038 (QWebHistoryItem::QWebHistoryItem):
2039 (QWebHistoryItem::operator=):
2040 (QWebHistoryItem::~QWebHistoryItem):
2041 (QWebHistoryItem::originalUrl):
2042 (QWebHistoryItem::currentUrl):
2043 (QWebHistoryItem::title):
2044 (QWebHistoryItem::lastVisited):
2045 (QWebHistoryItem::icon):
2046 (QWebPageHistory::QWebPageHistory):
2047 (QWebPageHistory::itemAtIndex):
2048 (QWebPageHistory::operator=):
2049 (QWebPageHistory::~QWebPageHistory):
2050 (QWebPageHistory::items):
2051 (QWebPageHistory::backItems):
2052 (QWebPageHistory::forwardItems):
2053 (QWebPageHistory::canGoBack):
2054 (QWebPageHistory::canGoForward):
2055 (QWebPageHistory::goBack):
2056 (QWebPageHistory::goForward):
2057 (QWebPageHistory::goToItem):
2058 (QWebPageHistory::backItem):
2059 (QWebPageHistory::currentItem):
2060 (QWebPageHistory::forwardItem):
2061 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
2062 (QExplicitlySharedDataPointer::operator*):
2063 (QExplicitlySharedDataPointer::operator->):
2064 (QExplicitlySharedDataPointer::operator T *):
2065 (QExplicitlySharedDataPointer::operator const T *):
2066 (QExplicitlySharedDataPointer::data):
2067 (QExplicitlySharedDataPointer::constData):
2068 (QExplicitlySharedDataPointer::operator==):
2069 (QExplicitlySharedDataPointer::operator!=):
2070 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
2071 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
2072 (QExplicitlySharedDataPointer::operator=):
2073 (QExplicitlySharedDataPointer::operator!):
2074 (::QExplicitlySharedDataPointer):
2075 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
2076 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
2077 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
2078 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
2079 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
2080 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
2081 (QWebSettingsPrivate::QWebSettingsPrivate):
2082 (QWebSettings::QWebSettings):
2083 (QWebSettings::~QWebSettings):
2084 (QWebSettings::setMinimumFontSize):
2085 (QWebSettings::minimumFontSize):
2086 (QWebSettings::setMinimumLogicalFontSize):
2087 (QWebSettings::minimumLogicalFontSize):
2088 (QWebSettings::setDefaultFontSize):
2089 (QWebSettings::defaultFontSize):
2090 (QWebSettings::setDefaultFixedFontSize):
2091 (QWebSettings::defaultFixedFontSize):
2092 (QWebSettings::setUserStyleSheetLocation):
2093 (QWebSettings::userStyleSheetLocation):
2094 (QWebSettings::setIconDatabaseEnabled):
2095 (QWebSettings::iconDatabaseEnabled):
2096 (QWebSettings::setWebGraphic):
2097 (QWebSettings::webGraphic):
2098 (QWebSettings::operator=):
2099 (QWebSettings::setGlobal):
2100 (QWebSettings::global):
2101 (QWebSettings::setFontFamily):
2102 (QWebSettings::fontFamily):
2103 (QWebSettings::setAttribute):
2104 (QWebSettings::testAttribute):
2105 (loadResourcePixmap):
2106 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
2107 * ChangeLog: Renamed from WebKitQt/ChangeLog.
2108 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
2109 (IcoHeader::operator >>):
2110 (IcoHeader::BMP_INFOHDR::):
2111 (IcoHeader::operator<<):
2112 (IcoHeader::LessDifference::LessDifference):
2113 (IcoHeader::LessDifference::operator ()):
2114 (IcoHeader::loadFromDIB):
2115 (ICOHandler::ICOHandler):
2116 (ICOHandler::canRead):
2118 (ICOHandler::write):
2121 (ICOPlugin::capabilities):
2122 (ICOPlugin::create):
2123 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
2124 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
2125 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
2126 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
2127 (HoverLabel::HoverLabel):
2128 (HoverLabel::setHoverLink):
2129 (HoverLabel::sizeForFont):
2130 (HoverLabel::sizeHint):
2131 (HoverLabel::updateSize):
2132 (HoverLabel::resetAnimation):
2133 (HoverLabel::paintEvent):
2134 (HoverLabel::interpolate):
2135 (ClearButton::ClearButton):
2136 (ClearButton::paintEvent):
2137 (SearchEdit::SearchEdit):
2138 (SearchEdit::~SearchEdit):
2139 (SearchEdit::paintEvent):
2140 (SearchEdit::resizeEvent):
2141 (SearchEdit::moveEvent):
2142 (MainWindow::MainWindow):
2143 (MainWindow::changeLocation):
2144 (MainWindow::loadFinished):
2145 (MainWindow::showLinkHover):
2146 (MainWindow::resizeEvent):
2148 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
2149 (WebCore::ChromeClientQt::ChromeClientQt):
2150 (WebCore::ChromeClientQt::~ChromeClientQt):
2151 (WebCore::ChromeClientQt::setWindowRect):
2152 (WebCore::ChromeClientQt::windowRect):
2153 (WebCore::ChromeClientQt::pageRect):
2154 (WebCore::ChromeClientQt::scaleFactor):
2155 (WebCore::ChromeClientQt::focus):
2156 (WebCore::ChromeClientQt::unfocus):
2157 (WebCore::ChromeClientQt::canTakeFocus):
2158 (WebCore::ChromeClientQt::takeFocus):
2159 (WebCore::ChromeClientQt::createWindow):
2160 (WebCore::ChromeClientQt::createModalDialog):
2161 (WebCore::ChromeClientQt::show):
2162 (WebCore::ChromeClientQt::canRunModal):
2163 (WebCore::ChromeClientQt::runModal):
2164 (WebCore::ChromeClientQt::setToolbarsVisible):
2165 (WebCore::ChromeClientQt::toolbarsVisible):
2166 (WebCore::ChromeClientQt::setStatusbarVisible):
2167 (WebCore::ChromeClientQt::statusbarVisible):
2168 (WebCore::ChromeClientQt::setScrollbarsVisible):
2169 (WebCore::ChromeClientQt::scrollbarsVisible):
2170 (WebCore::ChromeClientQt::setMenubarVisible):
2171 (WebCore::ChromeClientQt::menubarVisible):
2172 (WebCore::ChromeClientQt::setResizable):
2173 (WebCore::ChromeClientQt::addMessageToConsole):
2174 (WebCore::ChromeClientQt::chromeDestroyed):
2175 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2176 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2177 (WebCore::ChromeClientQt::closeWindowSoon):
2178 (WebCore::ChromeClientQt::runJavaScriptAlert):
2179 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2180 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2181 (WebCore::ChromeClientQt::setStatusbarText):
2182 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
2183 (WebCore::ChromeClientQt::tabsToLinks):
2184 (WebCore::ChromeClientQt::windowResizerRect):
2185 (WebCore::ChromeClientQt::addToDirtyRegion):
2186 (WebCore::ChromeClientQt::scrollBackingStore):
2187 (WebCore::ChromeClientQt::updateBackingStore):
2188 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2189 (WebCore::ChromeClientQt::setToolTip):
2190 (WebCore::ChromeClientQt::print):
2191 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
2192 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
2193 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
2194 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2195 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
2196 (WebCore::ContextMenuClientQt::downloadURL):
2197 (WebCore::ContextMenuClientQt::lookUpInDictionary):
2198 (WebCore::ContextMenuClientQt::speak):
2199 (WebCore::ContextMenuClientQt::stopSpeaking):
2200 (WebCore::ContextMenuClientQt::searchWithGoogle):
2201 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
2202 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
2203 (WebCore::DragClientQt::actionMaskForDrag):
2204 (WebCore::DragClientQt::willPerformDragDestinationAction):
2205 (WebCore::DragClientQt::dragControllerDestroyed):
2206 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
2207 (WebCore::DragClientQt::willPerformDragSourceAction):
2208 (WebCore::DragClientQt::startDrag):
2209 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
2210 (WebCore::DragClientQt::DragClientQt):
2211 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
2212 (EditCommandQt::EditCommandQt):
2213 (EditCommandQt::~EditCommandQt):
2214 (EditCommandQt::redo):
2215 (EditCommandQt::undo):
2216 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
2217 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
2218 (WebCore::EditorClientQt::shouldDeleteRange):
2219 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2220 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2221 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2222 (WebCore::EditorClientQt::spellCheckerDocumentTag):
2223 (WebCore::EditorClientQt::shouldBeginEditing):
2224 (WebCore::EditorClientQt::shouldEndEditing):
2225 (WebCore::EditorClientQt::shouldInsertText):
2226 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2227 (WebCore::EditorClientQt::shouldApplyStyle):
2228 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2229 (WebCore::EditorClientQt::didBeginEditing):
2230 (WebCore::EditorClientQt::respondToChangedContents):
2231 (WebCore::EditorClientQt::respondToChangedSelection):
2232 (WebCore::EditorClientQt::didEndEditing):
2233 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2234 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
2235 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
2236 (WebCore::EditorClientQt::isEditable):
2237 (WebCore::EditorClientQt::registerCommandForUndo):
2238 (WebCore::EditorClientQt::registerCommandForRedo):
2239 (WebCore::EditorClientQt::clearUndoRedoOperations):
2240 (WebCore::EditorClientQt::canUndo):
2241 (WebCore::EditorClientQt::canRedo):
2242 (WebCore::EditorClientQt::undo):
2243 (WebCore::EditorClientQt::redo):
2244 (WebCore::EditorClientQt::shouldInsertNode):
2245 (WebCore::EditorClientQt::pageDestroyed):
2246 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
2247 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
2248 (WebCore::EditorClientQt::toggleGrammarChecking):
2249 (WebCore::EditorClientQt::handleKeypress):
2250 (WebCore::EditorClientQt::handleInputMethodKeypress):
2251 (WebCore::EditorClientQt::EditorClientQt):
2252 (WebCore::EditorClientQt::textFieldDidBeginEditing):
2253 (WebCore::EditorClientQt::textFieldDidEndEditing):
2254 (WebCore::EditorClientQt::textDidChangeInTextField):
2255 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
2256 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
2257 (WebCore::EditorClientQt::textDidChangeInTextArea):
2258 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
2259 (WebCore::EditorClientQt::learnWord):
2260 (WebCore::EditorClientQt::checkSpellingOfString):
2261 (WebCore::EditorClientQt::checkGrammarOfString):
2262 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
2263 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
2264 (WebCore::EditorClientQt::showSpellingUI):
2265 (WebCore::EditorClientQt::spellingUIIsShowing):
2266 (WebCore::EditorClientQt::getGuessesForWord):
2267 (WebCore::EditorClientQt::isEditing):
2268 (WebCore::EditorClientQt::setInputMethodState):
2269 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
2270 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
2271 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2272 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
2273 (WebCore::FrameLoaderClientQt::setFrame):
2274 (WebCore::FrameLoaderClientQt::webFrame):
2275 (WebCore::FrameLoaderClientQt::callPolicyFunction):
2276 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
2277 (WebCore::FrameLoaderClientQt::hasWebView):
2278 (WebCore::FrameLoaderClientQt::hasFrameView):
2279 (WebCore::FrameLoaderClientQt::hasBackForwardList):
2280 (WebCore::FrameLoaderClientQt::resetBackForwardList):
2281 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
2282 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
2283 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
2284 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
2285 (WebCore::FrameLoaderClientQt::makeDocumentView):
2286 (WebCore::FrameLoaderClientQt::makeRepresentation):
2287 (WebCore::FrameLoaderClientQt::forceLayout):
2288 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
2289 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
2290 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
2291 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
2292 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
2293 (WebCore::FrameLoaderClientQt::willCloseDocument):
2294 (WebCore::FrameLoaderClientQt::detachedFromParent2):
2295 (WebCore::FrameLoaderClientQt::detachedFromParent3):
2296 (WebCore::FrameLoaderClientQt::detachedFromParent4):
2297 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
2298 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2299 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
2300 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
2301 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
2302 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
2303 (WebCore::FrameLoaderClientQt::dispatchWillClose):
2304 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2305 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2306 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2307 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2308 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2309 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2310 (WebCore::FrameLoaderClientQt::dispatchShow):
2311 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
2312 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
2313 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
2314 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
2315 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
2316 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2317 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
2318 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2319 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2320 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2321 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2322 (WebCore::FrameLoaderClientQt::willChangeTitle):
2323 (WebCore::FrameLoaderClientQt::didChangeTitle):
2324 (WebCore::FrameLoaderClientQt::finishedLoading):
2325 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
2326 (WebCore::FrameLoaderClientQt::setDefersLoading):
2327 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
2328 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
2329 (WebCore::FrameLoaderClientQt::clearArchivedResources):
2330 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2331 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2332 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
2333 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
2334 (WebCore::FrameLoaderClientQt::restoreViewState):
2335 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
2336 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
2337 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
2338 (WebCore::FrameLoaderClientQt::didFinishLoad):
2339 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
2340 (WebCore::FrameLoaderClientQt::setTitle):
2341 (WebCore::FrameLoaderClientQt::userAgent):
2342 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2343 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
2344 (WebCore::FrameLoaderClientQt::canHandleRequest):
2345 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2346 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2347 (WebCore::FrameLoaderClientQt::registerForIconNotification):
2348 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
2349 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
2350 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
2351 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
2352 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
2353 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
2354 (WebCore::FrameLoaderClientQt::canCachePage):
2355 (WebCore::FrameLoaderClientQt::setMainDocumentError):
2356 (WebCore::FrameLoaderClientQt::committedLoad):
2357 (WebCore::FrameLoaderClientQt::cancelledError):
2358 (WebCore::FrameLoaderClientQt::blockedError):
2359 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2360 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2361 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2362 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
2363 (WebCore::FrameLoaderClientQt::shouldFallBack):
2364 (WebCore::FrameLoaderClientQt::createDocumentLoader):
2365 (WebCore::FrameLoaderClientQt::download):
2366 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
2367 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2368 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
2369 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
2370 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
2371 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
2372 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
2373 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2374 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
2375 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2376 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2377 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2378 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
2379 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2380 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2381 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2382 (WebCore::FrameLoaderClientQt::startDownload):
2383 (WebCore::FrameLoaderClientQt::willUseArchive):
2384 (WebCore::FrameLoaderClientQt::createFrame):
2385 (WebCore::FrameLoaderClientQt::objectContentType):
2387 (WebCore::FrameLoaderClientQt::createPlugin):
2388 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2389 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
2390 (WebCore::FrameLoaderClientQt::overrideMediaType):
2391 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
2392 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
2393 (WebCore::InspectorClientQt::inspectorDestroyed):
2394 (WebCore::InspectorClientQt::createPage):
2395 (WebCore::InspectorClientQt::showWindow):
2396 (WebCore::InspectorClientQt::closeWindow):
2397 (WebCore::InspectorClientQt::attachWindow):
2398 (WebCore::InspectorClientQt::detachWindow):
2399 (WebCore::InspectorClientQt::highlight):
2400 (WebCore::InspectorClientQt::hideHighlight):
2401 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
2402 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
2403 (WebKitFactory::WebKitFactory):
2404 (WebKitFactory::~WebKitFactory):
2405 (WebKitFactory::createPartObject):
2406 (WebKitFactory::instance):
2407 (WebKitFactory::ref):
2408 (WebKitFactory::deref):
2409 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
2410 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
2411 (WebKitPart::WebKitPart):
2412 (WebKitPart::~WebKitPart):
2413 (WebKitPart::openFile):
2414 (WebKitPart::openUrl):
2415 (WebKitPart::closeUrl):
2416 (WebKitPart::parentPart):
2417 (WebKitPart::frame):
2418 (WebKitPart::initView):
2419 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
2420 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
2422 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
2423 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
2424 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
2425 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
2426 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
2427 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
2428 (WebKitPartClient::WebKitPartClient):
2429 (WebKitPartClient::~WebKitPartClient):
2430 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
2431 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
2432 (WebKitPartInterface::WebKitPartInterface):
2433 (WebKitPartInterface::~WebKitPartInterface):
2434 (WebKitPartInterface::url):
2435 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
2436 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
2438 2007-10-02 Adam Treat <treat@kde.org>
2440 Reviewed by Eric Seidel.
2442 Open the requested url on the newly created window.
2443 Implement createModalDialog and provide new API for this.
2444 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
2447 (QWebPage::createModalDialog):
2449 * WebCoreSupport/ChromeClientQt.cpp:
2450 (WebCore::ChromeClientQt::createWindow):
2451 (WebCore::ChromeClientQt::createModalDialog):
2453 2007-10-02 Lars Knoll <lars@trolltech.com>
2457 Add API to retrieve the frame name from QWebFrame.
2458 Implement support for DRT::dumpChildrenAsText.
2460 * Api/qwebframe.cpp:
2464 2007-10-02 Lars Knoll <lars@trolltech.com>
2468 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2470 * Api/qwebnetworkinterface.cpp:
2471 (QWebNetworkManager::started):
2472 (QWebNetworkManager::data):
2473 (QWebNetworkManager::finished):
2474 (QWebNetworkInterfacePrivate::sendFileData):
2475 (QWebNetworkInterfacePrivate::parseDataUrl):
2476 (WebCoreHttp::scheduleNextRequest):
2477 (WebCoreHttp::onSslErrors):
2478 * QtLauncher/main.cpp:
2481 2007-10-01 Lars Knoll <lars@trolltech.com>
2485 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
2487 * WebCoreSupport/FrameLoaderClientQt.cpp:
2488 (WebCore::FrameLoaderClientQt::makeDocumentView):
2489 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2490 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2491 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2492 (WebCore::FrameLoaderClientQt::objectContentType):
2493 (WebCore::FrameLoaderClientQt::createPlugin):
2495 2007-09-30 George Staikos <staikos@kde.org>
2497 Qt build fix (OS X specific).
2499 * QtLauncher/QtLauncher.pro:
2501 2007-09-26 Mark Rowe <mrowe@apple.com>
2505 * WebCoreSupport/FrameLoaderClientQt.cpp:
2506 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
2508 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2512 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2513 LGPL'ed files contain incorrect FSF address
2515 * Api/qcookiejar.cpp:
2517 * Api/qwebframe.cpp:
2519 * Api/qwebframe_p.h:
2520 * Api/qwebhistoryinterface.cpp:
2521 * Api/qwebhistoryinterface.h:
2522 * Api/qwebkitglobal.h:
2523 * Api/qwebnetworkinterface.cpp:
2524 * Api/qwebnetworkinterface.h:
2525 * Api/qwebnetworkinterface_p.h:
2526 * Api/qwebobjectplugin.cpp:
2527 * Api/qwebobjectplugin.h:
2528 * Api/qwebobjectpluginconnector.cpp:
2529 * Api/qwebobjectpluginconnector.h:
2533 * Api/qwebpagehistory.cpp:
2534 * Api/qwebpagehistory.h:
2535 * Api/qwebsettings.cpp:
2536 * Api/qwebsettings.h:
2537 * WebCoreSupport/EditCommandQt.cpp:
2538 * WebCoreSupport/EditCommandQt.h:
2540 2007-09-25 Adam Treat <treat@kde.org>
2542 Reviewed by Simon and Lars.
2544 Modifies the addToJSWindowObject to bind js objects using the built-in
2545 kjs_window class. Make sure to protect the created runtime object from
2548 Adds a signal to QWebFrame to notify clients of the beginning of a
2549 provisional load. DRT needs this.
2551 * Api/qwebframe.cpp:
2552 (QWebFrame::addToJSWindowObject):
2554 * WebCoreSupport/FrameLoaderClientQt.cpp:
2555 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2557 2007-09-10 Qing Zhao <qing@staikos.net>
2559 Reviewed by George Staikos.
2561 Don't re-encode urls, resulting in double encoding. Fixes login to
2564 * Api/qwebnetworkinterface.cpp:
2565 (QWebNetworkRequestPrivate::init):
2566 (QWebNetworkManager::started):
2568 2007-09-08 Mark Rowe <mrowe@apple.com>
2570 Qt build fix. Move stub method implementations to the right class.
2572 * WebCoreSupport/FrameLoaderClientQt.cpp:
2573 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2575 2007-09-08 Brady Eidson <beidson@apple.com>
2577 YABF (Yet Another Build Fix)
2579 * Api/qwebsettings.cpp:
2580 (QWebSettings::iconDatabaseEnabled):
2582 2007-09-08 Brady Eidson <beidson@apple.com>
2586 * WebCoreSupport/FrameLoaderClientQt.cpp:
2587 (WebCore::FrameLoaderClient::registerForIconNotification):
2588 * WebCoreSupport/FrameLoaderClientQt.h:
2590 2007-09-08 Brady Eidson <beidson@apple.com>
2594 * WebCoreSupport/FrameLoaderClientQt.cpp:
2595 (WebCore::FrameLoaderClient::registerForIconNotification):
2596 * WebCoreSupport/FrameLoaderClientQt.h:
2598 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2600 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2602 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2603 memory cache, or a very tiny one
2605 Keep the Qt build working with an empty stub.
2607 * WebCoreSupport/FrameLoaderClientQt.cpp:
2608 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2609 * WebCoreSupport/FrameLoaderClientQt.h:
2611 2007-09-07 George Staikos <staikos@kde.org>
2616 (QWebPage::onLoadProgressChanged):
2618 2007-09-07 Qing Zhao <qing@staikos.net>
2620 Reviewed by Anders and George.
2622 Export page size and load progress in bytes.
2625 (QWebPage::QWebPage):
2626 (QWebPage::onLoadProgressChanged):
2627 (QWebPage::totalBytes):
2628 (QWebPage::bytesReceived):
2632 2007-09-06 George Staikos <staikos@kde.org>
2636 Make popup windows work again.
2638 * WebCoreSupport/FrameLoaderClientQt.cpp:
2639 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2641 2007-09-01 Oliver Hunt <oliver@apple.com>
2645 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2647 EditorClient::setInputMethodState stub
2649 * WebCoreSupport/EditorClientQt.cpp:
2650 (WebCore::EditorClientQt::setInputMethodState):
2651 * WebCoreSupport/EditorClientQt.h:
2653 2007-08-30 Simon Hausmann <hausmann@kde.org>
2657 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
2660 (QWebPage::keyPressEvent):
2662 2007-08-30 Simon Hausmann <hausmann@kde.org>
2666 When scrolling with the keyboard don't call update() on the entire widget.
2667 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2671 (QWebPage::keyPressEvent):
2673 2007-08-30 Simon Hausmann <hausmann@kde.org>
2677 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2680 (QWebPage::keyPressEvent):
2682 2007-08-29 Simon Hausmann <hausmann@kde.org>
2688 * WebCoreSupport/FrameLoaderClientQt.cpp:
2689 (WebCore::FrameLoaderClientQt::objectContentType):
2691 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2693 Reviewed by George Staikos.
2695 Don't export ICO symbols.
2697 * Plugins/Plugins.pro:
2699 2007-08-19 George Staikos <staikos@kde.org>
2703 * WebCoreSupport/FrameLoaderClientQt.cpp:
2704 (WebCore::FrameLoaderClientQt::createPlugin):
2705 * WebCoreSupport/FrameLoaderClientQt.h:
2707 2007-08-10 Lars Knoll <lars@trolltech.com>
2709 Reviewed and landed by Simon.
2711 Limit the set of properties from the computed style to apply to Qt
2712 plugin widgets, as only a few of them make sense.
2714 * WebCoreSupport/FrameLoaderClientQt.cpp:
2717 2007-08-10 Lars Knoll <lars@trolltech.com>
2721 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2724 (QWebPage::createPlugin):
2726 * WebCoreSupport/FrameLoaderClientQt.cpp:
2727 (WebCore::FrameLoaderClientQt::objectContentType):
2728 (WebCore::FrameLoaderClientQt::createPlugin):
2730 2007-08-10 Simon Hausmann <hausmann@kde.org>
2734 Added support for network jobs from Qt resources using the qrc protocol.
2736 * Api/qwebnetworkinterface.cpp:
2737 (QWebNetworkInterface::addJob):
2739 2007-08-10 Simon Hausmann <hausmann@kde.org>
2743 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2744 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2746 * WebCoreSupport/FrameLoaderClientQt.cpp:
2747 (WebCore::FrameLoaderClientQt::objectContentType):
2749 (WebCore::FrameLoaderClientQt::createPlugin):
2751 2007-08-10 Simon Hausmann <hausmann@kde.org>
2755 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2756 and fixed widget embedding by setting the right QWidget parent.
2759 (QWebPage::createPlugin):
2761 * WebCoreSupport/FrameLoaderClientQt.cpp:
2762 (WebCore::FrameLoaderClientQt::objectContentType):
2763 (WebCore::FrameLoaderClientQt::createPlugin):
2765 2007-08-02 George Staikos <staikos@kde.org>
2769 Add an interface for the useragent string.
2772 (QWebPage::userAgentStringForUrl):
2774 * WebCoreSupport/FrameLoaderClientQt.cpp:
2775 (WebCore::FrameLoaderClientQt::userAgent):
2777 2007-08-01 Adam Treat <treat@kde.org>
2779 Reviewed by George Staikos.
2781 Add an interface to manage global history for clients
2784 * Api/qwebhistoryinterface.cpp: Added.
2785 (WebCore::historyContains):
2786 (gCleanupInterface):
2787 (QWebHistoryInterface::setDefaultInterface):
2788 (QWebHistoryInterface::defaultInterface):
2789 (QWebHistoryInterface::QWebHistoryInterface):
2790 * Api/qwebhistoryinterface.h: Added.
2792 2007-07-30 Adam Treat <treat@kde.org>
2796 * WebCoreSupport/EditorClientQt.cpp:
2797 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2798 * WebCoreSupport/EditorClientQt.h:
2800 2007-07-30 Simon Hausmann <hausmann@kde.org>
2804 Link QtLauncher into $$OUTPUT_DIR/bin
2806 * QtLauncher/QtLauncher.pro:
2808 2007-07-29 Adam Treat <treat@kde.org>
2810 Reviewed by George Staikos.
2812 Change QWebPage::paintEvent to draw using the individual rects provided
2813 via the QRegion and set the widget to use opaque paint events.
2815 These changes greatly reduce the cpu load as we are no longer painting the
2816 entire page for each 1px scroll :P
2818 * Api/qwebframe.cpp:
2819 (QWebFrame::render):
2821 (QWebPage::QWebPage):
2822 (QWebPage::paintEvent):
2823 * WebCoreSupport/ChromeClientQt.cpp:
2824 (WebCore::ChromeClientQt::addToDirtyRegion):
2826 2007-07-29 Adam Treat <treat@kde.org>
2828 Reviewed by Alexey Proskuryakov.
2830 Respect the margins when creating frames.
2831 Set the scroll mode to always off like we did before the rendered
2832 frames patch and the other ports do now.
2834 * Api/qwebframe.cpp:
2835 (QWebFramePrivate::init):
2837 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2841 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2843 * QtLauncher/QtLauncher.pro:
2845 2007-07-27 Simon Hausmann <hausmann@kde.org>
2849 Fix compilation with MSVC.
2851 * Api/qwebpagehistory.cpp:
2852 (QWebPageHistory::operator=):
2853 * Api/qwebpagehistory.h:
2854 * Api/qwebsettings.cpp:
2855 (QWebSettings::operator=):
2856 * Api/qwebsettings.h:
2858 2007-07-26 Qing Zhao <qing@staikos.net>
2860 Reviewed by George Staikos.
2862 Add a signal for history notification.
2865 * WebCoreSupport/FrameLoaderClientQt.cpp:
2867 2007-07-24 Adam Treat <treat@kde.org>
2869 Reviewed by Niko and Lars.
2871 These are no longer necessary or used.
2873 * WebCoreSupport/FrameLoaderClientQt.cpp:
2874 * WebCoreSupport/FrameLoaderClientQt.h:
2876 2007-07-20 Adam Treat <adam@staikos.net>
2878 Reviewed by George Staikos.
2880 Add a signal for first layout and add the action type for the policy
2884 (QWebPagePrivate::navigationRequested):
2885 (QWebPage::navigationRequested):
2888 * WebCoreSupport/FrameLoaderClientQt.cpp:
2889 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2890 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2892 2007-07-19 Adam Treat <treat@kde.org>
2896 Do a recursive layout on the frame's children. This fixes a
2897 segfault found when rendering some framesets.
2899 * Api/qwebframe.cpp:
2900 (QWebFrame::render):
2901 (QWebFrame::layout):
2904 2007-07-18 Timothy Hatcher <timothy@apple.com>
2908 Make the Page with the now required InspectorClient.
2911 (QWebPagePrivate::QWebPagePrivate):
2912 * WebKitPart/WebKitPart.cpp:
2913 (WebKitPart::initView):
2915 2007-07-18 Sam Weinig <sam@webkit.org>
2919 * Api/qwebnetworkinterface.cpp:
2920 (QWebNetworkManager::started):
2921 * WebCoreSupport/FrameLoaderClientQt.cpp:
2922 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2923 (WebCore::FrameLoaderClientQt::objectContentType):
2925 2007-07-18 Lars Knoll <lars@trolltech.com>
2927 Reviewed by Zack & Simon
2929 Reallow setting of scrollbar policies on QWebFrame.
2931 * Api/qwebframe.cpp:
2932 (QWebFrame::verticalScrollBarPolicy):
2933 (QWebFrame::setVerticalScrollBarPolicy):
2934 (QWebFrame::horizontalScrollBarPolicy):
2937 2007-07-17 Adam Treat <treat@kde.org>
2941 * WebCoreSupport/FrameLoaderClientQt.cpp:
2942 (WebCore::FrameLoaderClientQt::createFrame):
2944 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2946 Blind build fix for Qt after r24366 by adding the additional
2947 WebCore::ResourceRequest& parameter to the download method.
2949 * WebCoreSupport/FrameLoaderClientQt.cpp:
2950 (WebCore::FrameLoaderClientQt::download):
2951 * WebCoreSupport/FrameLoaderClientQt.h:
2953 2007-07-17 Adam Roben <aroben@apple.com>
2955 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2959 * WebCoreSupport/ContextMenuClientQt.cpp:
2960 * WebCoreSupport/ContextMenuClientQt.h:
2962 2007-07-16 Adam Roben <aroben@apple.com>
2964 Updated ChromeClientQt for ChromeClient changes.
2968 * WebCoreSupport/ChromeClientQt.cpp:
2969 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2970 * WebCoreSupport/ChromeClientQt.h: Ditto.
2972 2007-07-13 Mark Rowe <mrowe@apple.com>
2976 Build fix. Stub out ChromeClientQt::print.
2978 * WebCoreSupport/ChromeClientQt.cpp:
2979 (WebCore::ChromeClientQt::print):
2980 * WebCoreSupport/ChromeClientQt.h:
2982 2007-07-12 George Staikos <staikos@kde.org>
2984 Qt build fix for assertions.
2986 * Api/qwebnetworkinterface.cpp:
2987 (QWebNetworkManager::add):
2989 2007-07-12 George Staikos <staikos@kde.org>
2993 * Api/qwebnetworkinterface.cpp:
2994 (QWebNetworkManager::add):
2996 2007-07-10 Mark Rowe <mrowe@apple.com>
2998 Qt build fix after r24126.
3000 * Api/qwebframe.cpp:
3001 (QWebFrame::evaluateJavaScript):
3003 2007-07-10 Eli Fidler <eli@staikos.net>
3005 Reviewed by George Staikos.
3007 Properly url-decode data urls.
3009 * Api/qwebnetworkinterface.cpp:
3010 (QWebNetworkInterfacePrivate::parseDataUrl):
3012 2007-07-09 Adam Treat <adam@staikos.net>
3014 Reviewed by George Staikos.
3016 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
3019 * Api/qwebframe.cpp:
3020 (QWebFramePrivate::init):
3021 (QWebFramePrivate::parentFrame):
3022 (QWebFrame::QWebFrame):
3023 (QWebFrame::render):
3025 (QWebFrame::geometry):
3026 (QWebFrame::evaluateJavaScript):
3027 (QWebFrame::mouseMoveEvent):
3028 (QWebFrame::mousePressEvent):
3029 (QWebFrame::mouseDoubleClickEvent):
3030 (QWebFrame::mouseReleaseEvent):
3031 (QWebFrame::wheelEvent):
3033 * Api/qwebobjectpluginconnector.cpp:
3034 (QWebObjectPluginConnector::pluginParentWidget):
3036 (QWebPagePrivate::QWebPagePrivate):
3037 (QWebPagePrivate::createMainFrame):
3038 (QWebPage::QWebPage):
3039 (QWebPage::javaScriptAlert):
3040 (QWebPage::javaScriptConfirm):
3041 (QWebPage::javaScriptPrompt):
3042 (QWebPage::resizeEvent):
3043 (QWebPage::paintEvent):
3044 (QWebPage::mouseMoveEvent):
3045 (QWebPage::mousePressEvent):
3046 (QWebPage::mouseDoubleClickEvent):
3047 (QWebPage::mouseReleaseEvent):
3048 (QWebPage::wheelEvent):
3049 (QWebPage::keyPressEvent):
3050 (QWebPage::keyReleaseEvent):
3051 (QWebPage::focusInEvent):
3052 (QWebPage::focusOutEvent):
3053 (QWebPage::focusNextPrevChild):
3054 (QWebPage::chooseFile):
3057 * WebCoreSupport/ChromeClientQt.cpp:
3058 (WebCore::ChromeClientQt::addToDirtyRegion):
3060 2007-07-09 George Staikos <staikos@kde.org>
3062 Fix a minor memory leak in the loader.
3064 * Api/qwebnetworkinterface.cpp:
3065 (gCleanupInterface):
3066 (QWebNetworkInterface::setDefaultInterface):
3067 (QWebNetworkInterface::defaultInterface):
3069 2007-07-09 George Staikos <staikos@kde.org>
3071 Fix a massive memory leak in the loader.
3073 * Api/qwebnetworkinterface.cpp:
3074 (QWebNetworkManager::httpConnectionClosed):
3075 (WebCoreHttp::~WebCoreHttp):
3077 2007-07-09 George Staikos <staikos@kde.org>
3081 Rework much of the HTTP stuff to make it more stable, and add SSL and
3082 proxy support. Major memory leak also discovered but it needs more
3083 research as the obvious fix causes crashes.
3085 * Api/qwebnetworkinterface.cpp:
3086 (QWebNetworkManager::add):
3087 (QWebNetworkManager::started):
3088 (QWebNetworkManager::data):
3089 (WebCoreHttp::WebCoreHttp):
3090 (WebCoreHttp::~WebCoreHttp):
3091 (WebCoreHttp::request):
3092 (WebCoreHttp::scheduleNextRequest):
3093 (WebCoreHttp::getConnection):
3094 (WebCoreHttp::onResponseHeaderReceived):
3095 (WebCoreHttp::onReadyRead):
3096 (WebCoreHttp::onRequestFinished):
3097 (WebCoreHttp::onDone):
3098 (WebCoreHttp::onStateChanged):
3099 (WebCoreHttp::onSslErrors):
3100 (WebCoreHttp::onAuthenticationRequired):
3101 (WebCoreHttp::onProxyAuthenticationRequired):
3102 * Api/qwebnetworkinterface.h:
3103 * Api/qwebnetworkinterface_p.h:
3104 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3106 2007-07-06 Adam Treat <adam@staikos.net>
3108 Reviewed by George Staikos.
3110 Convert QWebFrame to a QFrame from a scroll area.
3112 * Api/qwebframe.cpp:
3113 (QWebFramePrivate::init):
3114 (QWebFramePrivate::parentFrame):
3115 (QWebFramePrivate::horizontalScrollBar):
3116 (QWebFramePrivate::verticalScrollBar):
3117 (QWebFrame::QWebFrame):
3118 (QWebFrame::resizeEvent):
3119 (QWebFrame::suppressScrollbars):
3120 (QWebFrame::paintEvent):
3121 (QWebFrame::mouseMoveEvent):
3122 (QWebFrame::mousePressEvent):
3123 (QWebFrame::mouseDoubleClickEvent):
3124 (QWebFrame::mouseReleaseEvent):
3125 (QWebFrame::wheelEvent):
3126 (QWebFrame::keyPressEvent):
3127 (QWebFrame::focusInEvent):
3128 (QWebFrame::focusOutEvent):
3129 (QWebFrame::evaluateJavaScript):
3131 * Api/qwebframe_p.h:
3132 * Api/qwebobjectpluginconnector.cpp:
3133 (QWebObjectPluginConnector::pluginParentWidget):
3135 2007-07-04 Adam Roben <aroben@apple.com>
3137 Added a stub for ChromeClientQt::setToolTip
3141 * WebCoreSupport/ChromeClientQt.cpp:
3142 (WebCore::ChromeClientQt::setToolTip):
3143 * WebCoreSupport/ChromeClientQt.h:
3145 2007-07-04 Adam Roben <aroben@apple.com>
3147 Added a stub for ChromeClientQt::mouseDidMoveOverElement
3151 * WebCoreSupport/ChromeClientQt.cpp:
3152 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3153 * WebCoreSupport/ChromeClientQt.h:
3155 2007-06-28 Simon Hausmann <hausmann@kde.org>
3159 Propagate mouse double click events from Qt to WebCore.
3161 * Api/qwebframe.cpp:
3162 (QWebFrame::mouseDoubleClickEvent):
3165 2007-06-28 Simon Hausmann <hausmann@kde.org>
3169 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
3173 (QWebPage::canCopy):
3174 (QWebPage::canPaste):
3179 * WebCoreSupport/EditorClientQt.cpp:
3181 2007-06-27 George Staikos <staikos@kde.org>
3183 Compile with various Qt configurations.
3185 * Api/qwebnetworkinterface.cpp:
3186 (WebCoreHttp::scheduleNextRequest):
3188 (QWebPage::javaScriptPrompt):
3189 (QWebPage::dragEnterEvent):
3190 (QWebPage::dragLeaveEvent):
3191 (QWebPage::dragMoveEvent):
3192 (QWebPage::dropEvent):
3193 (QWebPage::chooseFile):
3196 * WebCoreSupport/DragClientQt.cpp:
3197 (WebCore::DragClientQt::startDrag):
3199 2007-06-27 Eli Fidler <eli@staikos.net>
3201 Reviewed by George Staikos.
3203 Check for QT_NO_IMAGE_TEXT and compile either way.
3205 * Plugins/ICOHandler.cpp:
3208 2007-06-27 Eli Fidler <eli@staikos.net>
3210 Reviewed by George Staikos.
3212 Remove QT3_SUPPORT dependency in the ICO plugin.
3214 * Plugins/ICOHandler.cpp:
3215 (IcoHeader::loadFromDIB):
3217 2007-06-25 George Staikos <staikos@kde.org>
3221 Start to add proxy and SSL support to WebKit Qt. Proxy works
3222 unauthenticated. Added hooks to be able to add authentication.
3223 Also fixes some network errors.
3225 * Api/qwebnetworkinterface.cpp:
3226 (QWebNetworkRequestPrivate::setURL):
3227 (QWebNetworkJob::frame):
3228 (WebCoreHttp::WebCoreHttp):
3229 (WebCoreHttp::scheduleNextRequest):
3230 (WebCoreHttp::onRequestFinished):
3231 (WebCoreHttp::onDone):
3232 (WebCoreHttp::onSslErrors):
3233 (WebCoreHttp::onAuthenticationRequired):
3234 (WebCoreHttp::onProxyAuthenticationRequired):
3235 * Api/qwebnetworkinterface.h:
3236 * Api/qwebnetworkinterface_p.h:
3238 (QWebPage::setNetworkProxy):
3239 (QWebPage::networkProxy):
3243 2007-06-21 Adam Treat <adam@staikos.net>
3245 Reviewed by George Staikos.
3247 Implement the default resources on Qt.
3251 * Api/qwebsettings.cpp:
3252 (QWebSettings::setWebGraphic):
3253 (QWebSettings::webGraphic):
3254 (loadResourcePixmap):
3255 * Api/qwebsettings.h:
3257 2007-06-15 Adam Treat <adam@staikos.net>
3259 Reviewed by George Staikos.
3261 Add ICO support to the Qt build.
3266 * Api/qwebsettings.cpp:
3267 (QWebSettings::setIconDatabaseEnabled):
3268 (QWebSettings::iconDatabaseEnabled):
3269 * Api/qwebsettings.h:
3271 * Plugins/ICOHandler.cpp: Added.
3272 (IcoHeader::operator >>):
3273 (IcoHeader::BMP_INFOHDR::):
3274 (IcoHeader::operator<<):
3275 (IcoHeader::LessDifference::LessDifference):
3276 (IcoHeader::LessDifference::operator ()):
3277 (IcoHeader::loadFromDIB):
3278 (ICOHandler::ICOHandler):
3279 (ICOHandler::canRead):
3281 (ICOHandler::write):
3284 (ICOPlugin::capabilities):
3285 (ICOPlugin::create):
3286 * Plugins/ICOHandler.h: Added.
3287 * Plugins/Plugins.pro: Added.
3288 * WebCoreSupport/FrameLoaderClientQt.cpp:
3289 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3291 2007-06-15 George Staikos <staikos@kde.org>
3293 Fixing the Qt build.
3295 * WebCoreSupport/ContextMenuClientQt.cpp:
3296 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
3297 * WebCoreSupport/ContextMenuClientQt.h:
3299 2007-06-20 Adam Roben <aroben@apple.com>
3301 More speculative Qt build fixes.
3303 Add a stub implementation of InspectorClientQt.
3305 * WebCoreSupport/InspectorClientQt.cpp: Added.
3306 (WebCore::InspectorClientQt::inspectorDestroyed):
3307 (WebCore::InspectorClientQt::createPage):
3308 (WebCore::InspectorClientQt::showWindow):
3309 (WebCore::InspectorClientQt::closeWindow):
3310 (WebCore::InspectorClientQt::attachWindow):
3311 (WebCore::InspectorClientQt::detachWindow):
3312 (WebCore::InspectorClientQt::highlight):
3313 (WebCore::InspectorClientQt::hideHighlight):
3314 * WebCoreSupport/InspectorClientQt.h: Added.
3316 2007-06-19 George Staikos <staikos@kde.org>
3318 Reviewed by Tim Hatcher.
3322 * Api/qwebnetworkinterface.cpp:
3323 (QWebNetworkInterface::addJob):
3324 (QWebNetworkInterface::cancelJob):
3325 (WebCoreHttp::WebCoreHttp):
3327 2007-06-14 George Staikos <staikos@kde.org>
3331 Add evaluateJavaScript() method.
3333 * Api/qwebframe.cpp:
3334 (QWebFrame::evaluateJavaScript):
3337 2007-06-14 George Staikos <staikos@kde.org>
3341 Implement most of the editing commands, better focus handling, fix some
3342 keyboard and mouse handling, and add keyboard navigation. May be
3343 refactored later as the key switches are ugly.
3345 * Api/qwebframe.cpp:
3346 (QWebFramePrivate::init):
3347 (QWebFrame::mousePressEvent):
3348 (QWebFrame::mouseReleaseEvent):
3349 (QWebFrame::wheelEvent):
3350 (QWebFrame::keyPressEvent):
3351 (QWebFrame::keyReleaseEvent):
3352 (QWebFrame::focusInEvent):
3353 (QWebFrame::focusOutEvent):
3354 (QWebFrame::focusNextPrevChild):
3356 * Api/qwebframe_p.h:
3357 * WebCoreSupport/EditorClientQt.cpp:
3358 (WebCore::EditorClientQt::handleKeypress):
3360 2007-06-14 George Staikos <staikos@kde.org>
3364 Implement all of the Javascript dialogs and file chooser.
3365 Also makes the statusbar virtual into a signal and shuffles some
3366 virtuals around a bit. The helper in FrameLoaderClientQt may go away
3370 (QWebPagePrivate::QWebPagePrivate):
3371 (QWebPage::javaScriptAlert):
3372 (QWebPage::javaScriptConfirm):
3373 (QWebPage::javaScriptPrompt):
3374 (QWebPage::chooseFile):
3376 * WebCoreSupport/ChromeClientQt.cpp:
3377 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3378 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3379 (WebCore::ChromeClientQt::runJavaScriptAlert):
3380 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3381 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3382 (WebCore::ChromeClientQt::setStatusbarText):
3383 * WebCoreSupport/FrameLoaderClientQt.cpp:
3384 (WebCore::FrameLoaderClientQt::chooseFile):
3385 * WebCoreSupport/FrameLoaderClientQt.h:
3387 2007-06-14 Simon Hausmann <hausmann@kde.org>
3391 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
3393 HistoryItem itself doesn't seem to have a parent pointer either.
3395 * Api/qwebpagehistory.h:
3397 2007-06-14 Simon Hausmann <hausmann@kde.org>
3401 Make it possible to copy QWebHistoryItem objects.
3403 * Api/qwebpagehistory.cpp:
3404 * Api/qwebpagehistory.h:
3406 2007-06-14 Lars Knoll <lars@trolltech.com>
3410 Fix a crash when a request from the plugin resulted
3413 * Api/qwebnetworkinterface.cpp:
3414 (QWebNetworkManager::started):
3416 2007-06-14 Lars Knoll <lars@trolltech.com>
3420 Work around a bug in Qt's QHttp implementation and
3421 get web pages to load again.
3426 2007-06-13 Simon Hausmann <hausmann@kde.org>
3430 Added a make install target that installs the Qt port and renamed
3431 WebKitQt to QtWebKit
3433 * Api/headers.pri: Added.
3434 * Api/qtwebkit.prf: Added.
3436 2007-06-13 Simon Hausmann <hausmann@kde.org>
3440 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
3442 * Api/qwebnetworkinterface.cpp:
3443 * Api/qwebnetworkinterface.h:
3445 2007-06-13 Simon Hausmann <hausmann@kde.org>
3449 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
3451 * Api/qwebnetworkinterface.h:
3452 * Api/qwebobjectpluginconnector.cpp:
3453 (QWebObjectPluginConnector::requestUrl):
3454 * Api/qwebobjectpluginconnector.h:
3456 2007-06-13 Simon Hausmann <hausmann@kde.org>
3460 Added a QWebNetworkRequest convenience constructor.
3462 * Api/qwebnetworkinterface.cpp:
3463 * Api/qwebnetworkinterface.h:
3467 2007-06-13 Simon Hausmann <hausmann@kde.org>
3471 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
3472 overload to take a QWebNetworkRequest instead.
3478 2007-06-13 Simon Hausmann <hausmann@kde.org>
3482 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
3483 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
3484 pick the individual fields if we can use them.
3489 2007-06-13 Simon Hausmann <hausmann@kde.org>
3493 Minor QWebNetworkRequet API fixlet
3495 * Api/qwebnetworkinterface.cpp:
3496 * Api/qwebnetworkinterface.h:
3498 2007-06-13 Simon Hausmann <hausmann@kde.org>
3502 Use QWebNetworkRequest for QWebPage::navigationRequested.
3504 * Api/qwebnetworkinterface.cpp:
3505 * Api/qwebnetworkinterface.h:
3507 (QWebPagePrivate::navigationRequested):
3508 (QWebPage::navigationRequested):
3511 * WebCoreSupport/FrameLoaderClientQt.cpp:
3512 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3514 2007-06-13 Simon Hausmann <hausmann@kde.org>
3518 Some docs for QWebNetworkRequest
3520 * Api/qwebnetworkinterface.cpp:
3521 (QWebNetworkRequest::QWebNetworkRequest):
3522 (QWebNetworkRequest::~QWebNetworkRequest):
3524 2007-06-13 Simon Hausmann <hausmann@kde.org>
3528 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
3530 * Api/qwebnetworkinterface.h:
3531 * Api/qwebobjectpluginconnector.cpp:
3532 (QWebObjectPluginConnector::requestUrl):
3533 * Api/qwebobjectpluginconnector.h:
3535 2007-06-13 Simon Hausmann <hausmann@kde.org>
3539 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
3541 * Api/qwebnetworkinterface.cpp:
3542 (QWebNetworkJob::postData):
3543 (WebCoreHttp::WebCoreHttp):
3544 (WebCoreHttp::scheduleNextRequest):
3545 * Api/qwebnetworkinterface.h:
3547 2007-06-13 Simon Hausmann <hausmann@kde.org>
3551 Introduce QWebNetworkRequest in the public API.
3553 * Api/qwebnetworkinterface.cpp:
3554 (QWebNetworkRequestPrivate::init):
3555 * Api/qwebnetworkinterface.h:
3556 * Api/qwebnetworkinterface_p.h:
3557 * WebCoreSupport/FrameLoaderClientQt.cpp:
3558 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3560 2007-06-13 Simon Hausmann <hausmann@kde.org>
3564 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
3566 * Api/qwebnetworkinterface.cpp:
3567 (QWebNetworkManager::add):
3568 (QWebNetworkManager::started):
3569 (QWebNetworkManager::data):
3570 (QWebNetworkManager::finished):
3571 * Api/qwebnetworkinterface_p.h:
3572 * Api/qwebobjectpluginconnector.cpp:
3573 (QWebObjectPluginConnector::requestUrl):
3575 2007-06-13 Simon Hausmann <hausmann@kde.org>
3579 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
3581 * Api/qwebnetworkinterface.cpp:
3582 (QWebNetworkRequest::init):
3583 (QWebNetworkRequest::setURL):
3584 (QWebNetworkManager::add):
3585 (QWebNetworkManager::started):
3586 * Api/qwebnetworkinterface_p.h:
3587 * WebCoreSupport/FrameLoaderClientQt.cpp:
3588 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3590 2007-06-12 Lars Knoll <lars@trolltech.com>
3592 Reviewed by George Staikos.
3594 Remove duplicate symbols.
3596 * Api/qwebobjectplugin_p.h:
3598 2007-06-13 Lars Knoll <lars@trolltech.com>
3602 Fix compilation, and remove dependency on Qt
3605 * Api/qwebobjectplugin_p.h:
3606 (QWebFactoryLoader::supportsMimeType):
3608 2007-06-13 Lars Knoll <lars@trolltech.com>
3612 Parts of the patch done by Zack.
3613 Fix up some parts in the implementation of QWebNetworkInterface
3614 so it can be used by plugins.
3615 Change the plugin API so we can actually get all the information
3616 required by the JS bridge from them as well.
3618 * Api/qwebnetworkinterface.cpp:
3619 (QWebNetworkJob::cancelled):
3620 (QWebNetworkManager::cancel):
3621 (QWebNetworkManager::started):
3622 (QWebNetworkManager::finished):
3623 * Api/qwebobjectplugin.cpp:
3624 (QWebFactoryLoader::QWebFactoryLoader):
3625 (QWebFactoryLoader::descriptionForName):
3626 (QWebFactoryLoader::mimetypesForName):
3627 (QWebFactoryLoader::mimeTypeForExtension):
3628 (QWebFactoryLoader::extensions):
3629 (QWebFactoryLoader::nameForMimetype):
3630 (QWebFactoryLoader::create):
3631 (QWebObjectPlugin::descriptionForKey):
3632 (QWebObjectPlugin::mimetypesForKey):
3633 * Api/qwebobjectplugin.h:
3634 * Api/qwebobjectplugin_p.h:
3635 (QWebFactoryLoader::names):
3636 * Api/qwebobjectpluginconnector.cpp:
3637 (QWebObjectPluginConnector::requestUrl):
3639 (QWebPage::networkInterface):
3641 2007-06-11 Simon Hausmann <hausmann@kde.org>
3645 Added a QWebPage::open overload to allow specifying the http header and post data.
3646 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
3647 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
3652 2007-06-11 Simon Hausmann <hausmann@kde.org>
3656 Added the possibility to intercept url requests through QWebPage::navigationRequested.
3659 (QWebPagePrivate::QWebPagePrivate):
3660 (QWebPage::createFrame):
3663 * WebCoreSupport/FrameLoaderClientQt.cpp:
3665 2007-06-11 Simon Hausmann <hausmann@kde.org>
3669 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3670 to be called from FrameLoaderClientQt in the near future.
3672 * Api/qwebnetworkinterface.cpp:
3673 (QWebNetworkManager::add):
3674 * Api/qwebnetworkinterface_p.h:
3676 2007-06-11 Simon Hausmann <hausmann@kde.org>
3680 Moved the postData setup into QWebNetworkRequest::init.
3682 * Api/qwebnetworkinterface.cpp:
3683 (QWebNetworkRequest::init):
3684 (QWebNetworkManager::add):
3686 2007-06-11 Simon Hausmann <hausmann@kde.org>
3690 Moved HTTP header field propagation to QWebNetworkRequest::init.
3692 * Api/qwebnetworkinterface.cpp:
3693 (QWebNetworkRequest::init):
3694 (QWebNetworkManager::add):
3696 2007-06-11 Simon Hausmann <hausmann@kde.org>
3700 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3701 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3703 * Api/qwebnetworkinterface.cpp:
3704 (QWebNetworkRequest::init):
3705 (QWebNetworkManager::add):
3706 * Api/qwebnetworkinterface_p.h:
3707 * Api/qwebobjectpluginconnector.cpp:
3708 (QWebObjectPluginConnector::requestUrl):
3710 2007-06-11 Zack Rusin <zrusin@trolltech.com>