1 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Forward the event from QWebView to QWebPage through QObject::event. This
6 is similar to the way QTextControl is working.
14 (QWebView::mouseMoveEvent):
15 (QWebView::mousePressEvent):
16 (QWebView::mouseDoubleClickEvent):
17 (QWebView::mouseReleaseEvent):
18 (QWebView::contextMenuEvent):
19 (QWebView::wheelEvent):
20 (QWebView::keyPressEvent):
21 (QWebView::keyReleaseEvent):
22 (QWebView::focusInEvent):
23 (QWebView::focusOutEvent):
24 (QWebView::dragEnterEvent):
25 (QWebView::dragLeaveEvent):
26 (QWebView::dragMoveEvent):
27 (QWebView::dropEvent):
30 2008-01-04 Lars Knoll <lars@trolltech.com>
34 make QWebPage a QObject and get things to compile.
36 Nothing works currently though.
39 * Api/qwebobjectpluginconnector.cpp:
41 (QWebPagePrivate::QWebPagePrivate):
42 (QWebPagePrivate::createMainFrame):
46 (QWebPage::javaScriptAlert):
47 (QWebPage::javaScriptPrompt):
49 (QWebPage::mousePressEvent):
50 (QWebPage::mouseDoubleClickEvent):
51 (QWebPage::mouseReleaseEvent):
52 (QWebPage::wheelEvent):
53 (QWebPage::keyPressEvent):
54 (QWebPage::focusInEvent):
60 (QWebView::resizeEvent):
61 (QWebView::paintEvent):
63 * WebCoreSupport/ChromeClientQt.cpp:
64 (WebCore::ChromeClientQt::windowRect):
65 (WebCore::ChromeClientQt::pageRect):
66 (WebCore::ChromeClientQt::focus):
67 (WebCore::ChromeClientQt::unfocus):
68 (WebCore::ChromeClientQt::canTakeFocus):
69 (WebCore::ChromeClientQt::takeFocus):
70 (WebCore::ChromeClientQt::canRunModal):
71 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
72 * WebCoreSupport/DragClientQt.cpp:
73 (WebCore::DragClientQt::startDrag):
74 * WebCoreSupport/FrameLoaderClientQt.cpp:
75 (WebCore::FrameLoaderClientQt::createPlugin):
76 * WebCoreSupport/InspectorClientQt.cpp:
77 (WebCore::InspectorClientWebPage::createWindow):
78 (WebCore::InspectorClientView::InspectorClientView):
79 (WebCore::InspectorClientView::page):
80 (WebCore::InspectorClientView::hideEvent):
81 (WebCore::InspectorClientView::closeEvent):
82 (WebCore::InspectorClientQt::createPage):
83 (WebCore::InspectorClientQt::closeWindow):
85 2008-01-04 Simon Hausmann <hausmann@webkit.org>
89 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
94 (QWebView::setContent):
98 (QWebView::triggerAction):
100 (QWebView::backward):
105 2008-01-04 Lars Knoll <lars@trolltech.com>
109 add a viewportSize to QWebPage.
111 This is required to eventually make it a QObject only.
115 (QWebPage::triggerAction):
116 (QWebPage::viewportSize):
117 (QWebPage::setViewportSize):
120 2008-01-04 Lars Knoll <lars@trolltech.com>
124 take a QString as identifier in QWebFrame::addToJSWindowObject.
127 (QWebFrame::addToJSWindowObject):
130 2008-01-04 Simon Hausmann <hausmann@webkit.org>
134 Call the frame arguments for the javascript callbacks "originatingFrame"
139 2008-01-04 Simon Hausmann <hausmann@webkit.org>
143 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
146 * Api/qwebhistoryinterface.h:
148 * WebCoreSupport/FrameLoaderClientQt.cpp:
149 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
151 2008-01-04 Lars Knoll <lars@trolltech.com>
155 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
160 (QWebFrame::setVerticalScrollBarPolicy):
163 (QWebPage::javaScriptAlert):
164 (QWebPage::javaScriptPrompt):
165 (QWebPage::networkInterface):
171 * WebCoreSupport/FrameLoaderClientQt.cpp:
173 2008-01-03 Simon Hausmann <hausmann@webkit.org>
177 Moved QWebPage::open to QWebFrame::load and added setHtml.
182 (QWebFrame::setHtml):
183 (QWebFrame::setContent):
191 * WebCoreSupport/ChromeClientQt.cpp:
192 (WebCore::ChromeClientQt::createWindow):
193 * WebCoreSupport/InspectorClientQt.cpp:
194 (WebCore::InspectorClientQt::createPage):
196 2008-01-03 Simon Hausmann <hausmann@webkit.org>
200 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
206 (QWebPagePrivate::createMainFrame):
208 * Api/qwebpagehistory.h:
209 * Api/qwebview.cpp: Added.
210 (QWebView::QWebView):
211 (QWebView::~QWebView):
217 (QWebView::settings):
221 (QWebView::selectedText):
223 (QWebView::triggerAction):
224 (QWebView::isModified):
225 (QWebView::textInteractionFlags):
226 (QWebView::setTextInteractionFlags):
227 (QWebView::sizeHint):
229 (QWebView::backward):
232 * Api/qwebview.h: Added.
233 * QtLauncher/main.cpp:
234 (MainWindow::MainWindow):
235 (MainWindow::webPage):
236 (MainWindow::changeLocation):
237 * WebCoreSupport/FrameLoaderClientQt.cpp:
238 (WebCore::FrameLoaderClientQt::setFrame):
239 * WebCoreSupport/FrameLoaderClientQt.h:
241 2007-12-14 Darin Adler <darin@apple.com>
246 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
247 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
248 * WebCoreSupport/EditorClientQt.cpp:
249 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
250 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
253 2007-12-12 Brady Eidson <beidson@apple.com>
255 Reviewed by Sam Weinig
257 As part of doing some CachedPage and client cleanup, keep Qt building
259 * WebCoreSupport/FrameLoaderClientQt.cpp:
260 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
261 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
262 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
263 * WebCoreSupport/FrameLoaderClientQt.h:
265 2007-12-12 Sam Weinig <sam@webkit.org>
269 * WebCoreSupport/FrameLoaderClientQt.cpp:
270 (WebCore::FrameLoaderClientQt::userAgent):
272 2007-12-12 Sam Weinig <sam@webkit.org>
276 * Api/qwebnetworkinterface.cpp:
277 (QWebNetworkRequestPrivate::init):
280 (QWebPageContext::QWebPageContext):
281 * Api/qwebpagehistory.cpp:
282 (QWebHistoryItem::originalUrl):
283 (QWebHistoryItem::currentUrl):
284 * WebCoreSupport/FrameLoaderClientQt.cpp:
285 (WebCore::FrameLoaderClientQt::cannotShowURLError):
286 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
287 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
288 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
289 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
290 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
291 (WebCore::FrameLoaderClientQt::createPlugin):
293 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
297 <rdar://problem/5535636>
298 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
300 http://bugs.webkit.org/show_bug.cgi?id=13916
301 JavaScript detects Tab as a character input on a textfield validation
303 * WebCoreSupport/EditorClientQt.cpp:
304 (WebCore::EditorClientQt::handleKeyboardEvent):
305 (WebCore::EditorClientQt::handleInputMethodKeydown):
306 * WebCoreSupport/EditorClientQt.h:
307 Updated for cross-platform changes as much as it was possible without a Qt build environment.
309 2007-12-07 Darin Adler <darin@apple.com>
313 * Api/qwebhistoryinterface.cpp:
314 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
315 be updated, since WebCore changed, but this should not be here.
317 2007-12-04 Darin Adler <darin@apple.com>
319 Reviewed by Kevin Decker.
321 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
322 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
324 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
328 * Implement the InspectorClient for the Qt port
329 * It does not support highlighting of nodes yet
330 * Use QRC to open the internal page. The important thing is the
331 '/' in the URL to make WebCore::Document::completeURL behave the
333 * To make the InspectorClient work we will have to mark qrc as secure.
336 (QWebPagePrivate::QWebPagePrivate):
338 * WebCoreSupport/InspectorClientQt.cpp:
339 (WebCore::InspectorClientWebPage::hideEvent):
340 (WebCore::InspectorClientQt::InspectorClientQt):
341 (WebCore::InspectorClientQt::inspectorDestroyed):
342 (WebCore::InspectorClientQt::createPage):
343 (WebCore::InspectorClientQt::localizedStringsURL):
344 (WebCore::InspectorClientQt::showWindow):
345 (WebCore::InspectorClientQt::closeWindow):
346 (WebCore::InspectorClientQt::attachWindow):
347 (WebCore::InspectorClientQt::detachWindow):
348 * WebCoreSupport/InspectorClientQt.h:
350 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
352 Rubber stamped by Mark.
354 Always include config.h at the beginning of the file.
356 * Api/qwebsettings.cpp:
358 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
362 * Avoid crashes by making sure everything is layouted before
363 we start painting. This avoids a crash in Widget::invalidateRect
364 because QPainter::begin would fail
365 * The QWebFrame::layout() methods and calls are left untouched because
366 this would be an API decision.
372 (QWebPage::paintEvent):
374 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
378 * SubClass QWebPage to handle hide and close events.
379 * Forward these events to the InspectorController
380 * The other options would have been using an eventFilter
381 on the webpage and making InspectorClient a QObject or
382 creating a QObject Observer.
383 * Provide a simple QWebPage* createWindow implementation. This is needed
384 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
385 of the inspector client.
388 * WebCoreSupport/InspectorClientQt.cpp:
389 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
390 (WebCore::InspectorClientWebPage::createWindow):
391 (WebCore::InspectorClientWebPage::hideEvent):
392 (WebCore::InspectorClientWebPage::closeEvent):
393 (WebCore::InspectorClientQt::createPage):
395 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
399 * Allow adding the Inspect ContextMenuItem to our Menu
400 * Open the Inspector when Inspect was activated. This requires
401 that we keep the innerNonSharedNode from the HitTest around. This
402 forces us to include <wtf/RefPtr.h> in the private header. It is
403 the first non Qt header but should be okay.
407 (webActionForContextMenuAction):
408 (QWebPage::triggerAction):
410 (QWebPageContext::QWebPageContext):
414 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
418 * Add the Developer Extras to the WebAttribute and propagate it
419 to WebCore::Settings. This will enable the Inspect Element menu item
420 * CodingStyle fixes in QWebSettings
421 * Enable the Developer Extras in the QtLauncher
424 * Api/qwebsettings.cpp:
425 (QWebSettingsPrivate::apply):
426 * Api/qwebsettings.h:
427 * QtLauncher/main.cpp:
430 2007-12-03 Geoffrey Garen <ggaren@apple.com>
432 Removed unnecessary and possibly incorrect #include from my last
437 2007-12-03 Geoffrey Garen <ggaren@apple.com>
439 Qt build fix: Get globalExec() from the right place.
441 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
445 * Self destruct the clients like the ohter ports do
448 * WebCoreSupport/ChromeClientQt.cpp:
449 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
450 * WebCoreSupport/ContextMenuClientQt.cpp:
451 * WebCoreSupport/DragClientQt.cpp:
452 * WebCoreSupport/EditorClientQt.cpp:
453 * WebCoreSupport/InspectorClientQt.cpp:
455 2007-11-29 Brady Eidson <beidson@apple.com>
457 Keep it building with new client method
459 * WebCoreSupport/ChromeClientQt.cpp:
460 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
461 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
462 * WebCoreSupport/ChromeClientQt.h:
464 2007-11-22 Simon Hausmann <hausmann@webkit.org>
466 Reviewed by Adam Treat.
468 Fix compilation (don't define notImplemented twice)
470 * Api/qwebnetworkinterface.cpp:
472 2007-11-22 Simon Hausmann <hausmann@kde.org>
476 Use Q_SIGNALS/Q_SLOTS in the public API
481 2007-11-22 Simon Hausmann <hausmann@kde.org>
485 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
489 2007-11-22 Simon Hausmann <hausmann@kde.org>
493 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
497 * Api/qwebhistoryinterface.h:
498 * Api/qwebnetworkinterface.h:
499 * Api/qwebobjectplugin.h:
500 * Api/qwebobjectplugin_p.h:
501 * Api/qwebobjectpluginconnector.h:
503 * Api/qwebpagehistory.h:
504 * Api/qwebsettings.h:
506 2007-11-22 Simon Hausmann <hausmann@kde.org>
510 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
512 * Api/qwebpagehistory.h:
514 2007-11-22 George Staikos <staikos@kde.org>
516 Reviewed by Simon Hausmann <hausmann@kde.org>.
521 * Api/qwebobjectplugin.cpp:
522 * Api/qwebobjectplugin.h:
523 * Api/qwebobjectpluginconnector.cpp:
524 * Api/qwebobjectpluginconnector.h:
526 2007-11-22 Simon Hausmann <hausmann@kde.org>
528 Reviewed by George Staikos <staikos@kde.org>.
530 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
532 This also fixes compilation with gcc 4.3.
536 (QWebFramePrivate::init):
538 2007-11-21 Adam Treat <treat@kde.org>
542 * Connect up the signal for all subframes too.
545 (QWebFramePrivate::init):
547 (QWebPagePrivate::createMainFrame):
549 2007-11-20 Simon Hausmann <hausmann@kde.org>
551 Reviewed by Adam Treat <treat@kde.org>.
553 Remove static linkage of QtWebKit against the ICO image format plugin.
555 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
558 * Plugins/Plugins.pro:
560 2007-11-20 Simon Hausmann <hausmann@kde.org>
562 Reviewed by George Staikos <staikos@kde.org>.
564 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
569 2007-11-20 George Staikos <staikos@kde.org>
571 Reviewed by Simon Hausmann <hausmann@kde.org>.
573 Add an argument to pass the link text in the hovering signal
578 (QWebPagePrivate::createMainFrame):
579 (QWebPage::mouseMoveEvent):
582 2007-11-20 Adam Treat <treat@kde.org>
584 Reviewed by Simon and George.
586 * Be quiet and allow suppression of NotImplemented calls at runtime.
588 * WebCoreSupport/FrameLoaderClientQt.cpp:
589 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
591 2007-11-19 Adam Treat <treat@kde.org>
595 * Don't segfault when event pos is outside of the widget.
598 (QWebPage::mouseMoveEvent):
599 (QWebPage::mousePressEvent):
600 (QWebPage::mouseDoubleClickEvent):
601 (QWebPage::mouseReleaseEvent):
602 (QWebPage::contextMenuEvent):
604 2007-11-17 Timothy Hatcher <timothy@apple.com>
606 Reviewed by Mark Rowe.
608 Bug 13470: i18n: The Web Inspector is not localizable
609 http://bugs.webkit.org/show_bug.cgi?id=13470
611 * WebCoreSupport/InspectorClientQt.cpp:
612 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
613 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
615 2007-11-13 Geoffrey Garen <ggaren@apple.com>
617 Build fix: changed Shared to RefCounted.
619 * WebCoreSupport/ChromeClientQt.h:
620 * WebCoreSupport/ContextMenuClientQt.cpp:
621 * WebCoreSupport/ContextMenuClientQt.h:
622 * WebCoreSupport/EditorClientQt.h:
623 * WebCoreSupport/FrameLoaderClientQt.h:
625 2007-11-10 Simon Hausmann <hausmann@kde.org>
629 When populating the context menu with sub-menus don't add sub-menus if they're empty.
633 (QWebPagePrivate::createContextMenu):
635 2007-11-10 Simon Hausmann <hausmann@kde.org>
639 Added support for the Bold/Italic/Underline toggle actions.
643 (webActionForContextMenuAction):
644 (QWebPage::triggerAction):
648 2007-11-10 Simon Hausmann <hausmann@kde.org>
652 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
653 to update the enable/checked state correctly.
657 (QWebPagePrivate::createContextMenu):
658 (QWebPage::contextMenuEvent):
661 2007-11-10 Simon Hausmann <hausmann@kde.org>
665 Mark the text direction actions as checkable actions.
671 2007-11-09 Simon Hausmann <hausmann@kde.org>
675 Implemented the webcore actions for changing the text direction.
679 (webActionForContextMenuAction):
680 (QWebPage::triggerAction):
684 2007-11-09 Simon Hausmann <hausmann@kde.org>
688 Fix ContextMenu allocation in the Qt port.
690 Store all items and submenus value based in ContextMenu and ContextMenuItem.
691 That fixes the crashes when the context menu was populated with sub-menus because
692 of the use of temporary ContextMenu objects like this:
694 ContextMenu subMenu(...);
695 subMenu.appendItem(...);
696 subMenu.appendItem(...);
698 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
702 (QWebPage::contextMenuEvent):
705 2007-11-09 Simon Hausmann <hausmann@kde.org>
709 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
715 2007-11-08 Kevin McCullough <kmccullough@apple.com>
719 - windowObjectCleared() is no longer const. It needs to setup the
720 script debugger and cannot be const to do so.
722 * WebCoreSupport/FrameLoaderClientQt.cpp:
723 (WebCore::FrameLoaderClientQt::windowObjectCleared):
724 * WebCoreSupport/FrameLoaderClientQt.h:
726 2007-11-08 Simon Hausmann <hausmann@kde.org>
728 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
730 The buildbots use Qt 4.4 which has the function in question, but Qt
731 4.3 doesn't have it. Use removeAll() as replacement instead, it
732 shouldn't make a difference in performance.
734 * Api/qwebsettings.cpp:
735 (QWebSettings::~QWebSettings):
737 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
739 Reviewed by Lars Knoll <lars@trolltech.com>.
741 Cleanup checking for the request method.
743 * Check the request method only in QWebNetworkManager::add.
744 * Currently HEAD, GET, POST are allowed and for everything else
745 QWebNetworkManager::add returns false.
746 * Returning false is compatible with ResourceHandle::start and it
747 can be used in ResourceHandle::loadResourceSynchronously to generate
751 * Api/qwebnetworkinterface.cpp:
752 (QWebNetworkManager::add):
754 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
756 Reviewed by Lars Knoll <lars@trolltech.com>.
758 Fix bug in the implementation of synchronous network jobs.
760 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
761 - if (jobMode == AsynchronousJob) {
762 + if (jobMode == SynchronousJob) {
763 add job to synchronous list/hash
765 * Just applying the above change will lead to crashes because we can finish
766 jobs before we started them.
768 * Avoid these issues by saving all work (starting a job, sending data and
769 finishing it) inside one list. JobWork will contain any
770 of the above three work types and doWork will just work on this list
771 (m_pendingWork). As foreach takes a copy of the list calling started, data
772 and finished will not add new work and we gurantee that if we have JobStarted
773 it will be in the list before JobData and JobFinished.
775 * Observation: We might just kill the code to handle sync jobs.
778 * Api/qwebnetworkinterface.cpp:
779 (QWebNetworkManager::add):
780 (QWebNetworkManager::queueStart):
781 (QWebNetworkManager::queueData):
782 (QWebNetworkManager::queueFinished):
783 (QWebNetworkManager::doWork):
784 * Api/qwebnetworkinterface_p.h:
785 (QWebNetworkManager::JobWork::):
786 (QWebNetworkManager::JobWork::JobWork):
788 2007-11-07 Simon Hausmann <hausmann@kde.org>
790 Build fix, reviewed by nobody.
792 Fix the Qt build by setting up WindowFeatures before calling
793 createWindow on the Chrome. This is similar to openNewWindow in
794 page/ContextMenuController.cpp
799 2007-11-07 Simon Hausmann <hausmann@kde.org>
803 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
806 (QWebPagePrivate::QWebPagePrivate):
807 * Api/qwebsettings.cpp:
808 (QWebSettingsPrivate::apply):
809 * Api/qwebsettings.h:
811 2007-11-07 Simon Hausmann <hausmann@kde.org>
815 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
817 * Api/qwebpagehistory.cpp:
818 * Api/qwebpagehistory.h:
820 2007-11-07 Simon Hausmann <hausmann@kde.org>
824 Removed unimplemented QWebHistoryItem::children() function
826 * Api/qwebpagehistory.h:
828 2007-11-07 Simon Hausmann <hausmann@kde.org>
832 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
834 * Api/qwebsettings.cpp:
835 (QWebSettings::fontSize):
836 (QWebSettings::fontFamily):
837 (QWebSettings::testAttribute):
839 2007-11-07 Simon Hausmann <hausmann@kde.org>
843 Added explicit functions for resetting the font sizes and font families.
845 * Api/qwebsettings.cpp:
846 (QWebSettings::resetFontSize):
847 (QWebSettings::resetFontFamily):
848 * Api/qwebsettings.h:
850 2007-11-07 Simon Hausmann <hausmann@kde.org>
854 Combined the font sizes accessors/setters under one setter/getter with an enum.
856 * Api/qwebsettings.cpp:
857 (QWebSettingsPrivate::QWebSettingsPrivate):
858 (QWebSettingsPrivate::apply):
859 (QWebSettings::QWebSettings):
860 (QWebSettings::setFontSize):
861 * Api/qwebsettings.h:
863 2007-11-07 Simon Hausmann <hausmann@kde.org>
867 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
871 * WebCoreSupport/FrameLoaderClientQt.cpp:
872 (WebCore::FrameLoaderClientQt::userAgent):
874 2007-11-07 Simon Hausmann <hausmann@kde.org>
878 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
881 (QWebPagePrivate::_q_webActionTriggered):
882 (QWebPage::keyPressEvent):
885 2007-11-07 Simon Hausmann <hausmann@kde.org>
889 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
893 * WebCoreSupport/ChromeClientQt.cpp:
894 (WebCore::ChromeClientQt::setWindowRect):
896 2007-11-07 Simon Hausmann <hausmann@kde.org>
900 Renamed QWebPage::webAction() to QWebPage::action()
903 (QWebPagePrivate::createContextMenu):
905 * QtLauncher/main.cpp:
906 (MainWindow::MainWindow):
908 2007-11-07 Simon Hausmann <hausmann@kde.org>
912 Removed a bunch of slots/functions that are now available through the new actions API.
917 2007-11-07 Simon Hausmann <hausmann@kde.org>
921 Added some more comments to the API after another round of API review with Lars.
925 2007-11-07 Simon Hausmann <hausmann@kde.org>
929 Moved QWebFrame::selectedText() to QWebPage::selectedText().
931 The currently selected text is a property of the page as a whole.
936 (QWebPage::selectedText):
939 2007-11-07 Simon Hausmann <hausmann@kde.org>
943 Implemented support for settings propagation.
945 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
947 * Api/qwebsettings.cpp:
948 (QWebSettingsPrivate::QWebSettingsPrivate):
949 (QWebSettingsPrivate::apply):
950 (QWebSettings::QWebSettings):
951 (QWebSettings::~QWebSettings):
952 (QWebSettings::setFontFamily):
953 * Api/qwebsettings.h:
955 2007-11-07 Simon Hausmann <hausmann@kde.org>
959 Reworked the QWebSettings API.
960 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
963 (QWebPagePrivate::QWebPagePrivate):
964 (QWebPagePrivate::~QWebPagePrivate):
965 (QWebPage::QWebPage):
968 * Api/qwebsettings.cpp:
969 (QWebSettingsPrivate::QWebSettingsPrivate):
970 (QWebSettingsPrivate::apply):
971 (QWebSettings::defaultSettings):
972 (QWebSettings::QWebSettings):
973 (QWebSettings::setMinimumFontSize):
974 (QWebSettings::setMinimumLogicalFontSize):
975 (QWebSettings::setDefaultFontSize):
976 (QWebSettings::setDefaultFixedFontSize):
977 (QWebSettings::setUserStyleSheetLocation):
978 (QWebSettings::setFontFamily):
979 (QWebSettings::fontFamily):
980 (QWebSettings::setAttribute):
981 * Api/qwebsettings.h:
982 * QtLauncher/main.cpp:
985 2007-11-07 Simon Hausmann <hausmann@kde.org>
989 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
991 * Api/qwebsettings.cpp:
992 (QWebSettings::setWebGraphic):
993 * Api/qwebsettings.h:
995 2007-11-07 Simon Hausmann <hausmann@kde.org>
999 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
1001 * Api/qwebsettings.cpp:
1003 2007-11-07 Simon Hausmann <hausmann@kde.org>
1007 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
1009 * Api/qwebsettings.cpp:
1010 * Api/qwebsettings.h:
1012 2007-11-07 Simon Hausmann <hausmann@kde.org>
1016 Changed the webAction() accessor to not be a slot but just a public function.
1020 2007-11-07 Simon Hausmann <hausmann@kde.org>
1024 Implemented createWindow() in QtLauncher.
1026 * QtLauncher/main.cpp:
1028 (MainWindow::MainWindow):
1029 (WebPage::createWindow):
1031 2007-11-07 Simon Hausmann <hausmann@kde.org>
1035 Implemented opening links in new windows
1040 (QWebPage::webActionTriggered):
1042 2007-11-07 Simon Hausmann <hausmann@kde.org>
1046 Added and implemented the "OpenLink" action.
1049 (webActionForContextMenuAction):
1050 (QWebPage::webActionTriggered):
1051 (QWebPage::webAction):
1054 2007-11-07 Simon Hausmann <hausmann@kde.org>
1058 Adjust the state of the reload action correctly.
1061 (QWebPagePrivate::updateAction):
1062 (QWebPagePrivate::updateNavigationActions):
1064 2007-11-07 Simon Hausmann <hausmann@kde.org>
1068 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
1071 (QWebPagePrivate::updateAction):
1072 (QWebPage::webAction):
1073 (QWebPage::undoStack):
1076 2007-11-07 Simon Hausmann <hausmann@kde.org>
1080 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
1082 * QtLauncher/main.cpp:
1083 (MainWindow::MainWindow):
1085 2007-11-07 Simon Hausmann <hausmann@kde.org>
1089 Update the editor actions when the selection changes.
1092 (QWebPagePrivate::updateAction):
1093 (QWebPagePrivate::updateEditorActions):
1095 * WebCoreSupport/EditorClientQt.cpp:
1096 (WebCore::EditorClientQt::respondToChangedSelection):
1098 2007-11-07 Simon Hausmann <hausmann@kde.org>
1102 Added cut/copy/paste actions to the toolbar of QtLauncher
1104 * QtLauncher/main.cpp:
1105 (MainWindow::MainWindow):
1107 2007-11-07 Simon Hausmann <hausmann@kde.org>
1111 Started working on keeping the state of the navigation actions up-to-date.
1114 (QWebPagePrivate::updateAction):
1115 (QWebPagePrivate::updateNavigationActions):
1116 (QWebPage::webAction):
1118 * WebCoreSupport/FrameLoaderClientQt.cpp:
1119 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1120 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1121 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1122 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1123 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1125 2007-11-07 Simon Hausmann <hausmann@kde.org>
1129 Use the navigational web actions in the toolbar
1131 * QtLauncher/main.cpp:
1132 (MainWindow::MainWindow):
1134 2007-11-07 Simon Hausmann <hausmann@kde.org>
1138 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
1139 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
1142 (QWebPagePrivate::QWebPagePrivate):
1143 (webActionForContextMenuAction):
1144 (QWebPagePrivate::createContextMenu):
1145 (QWebPagePrivate::_q_webActionTriggered):
1146 (QWebPage::webActionTriggered):
1147 (QWebPage::webAction):
1148 (QWebPage::contextMenuEvent):
1149 (QWebPageContext::QWebPageContext):
1150 (QWebPageContext::operator=):
1151 (QWebPageContext::~QWebPageContext):
1152 (QWebPageContext::pos):
1153 (QWebPageContext::text):
1154 (QWebPageContext::linkUrl):
1155 (QWebPageContext::imageUrl):
1156 (QWebPageContext::image):
1157 (QWebPageContext::targetFrame):
1161 2007-11-07 Simon Hausmann <hausmann@kde.org>
1165 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
1168 (QWebPage::webActionTriggered):
1169 (QWebPage::keyPressEvent):
1172 2007-11-07 Simon Hausmann <hausmann@kde.org>
1176 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
1177 convenience methods such as cut()/copy()/paste().
1181 (QWebPage::webActionTriggered):
1186 2007-11-07 Simon Hausmann <hausmann@kde.org>
1190 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
1191 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
1192 in ContextMenu::populate().
1193 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
1194 out of it. That menu is currently not functional anymore though.
1197 (QWebPagePrivate::createContextMenu):
1198 (QWebPage::contextMenuEvent):
1201 2007-11-07 Simon Hausmann <hausmann@kde.org>
1205 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
1206 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
1207 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
1211 (QWebPage::contextMenuEvent):
1212 * WebCoreSupport/ContextMenuClientQt.cpp:
1213 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1215 2007-11-07 Simon Hausmann <hausmann@kde.org>
1219 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
1220 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
1223 (QWebPage::mousePressEvent):
1224 (QWebPage::contextMenuEvent):
1227 2007-11-07 Simon Hausmann <hausmann@kde.org>
1231 Turned onLoadProgressChanged into a real private slot.
1234 (QWebPage::QWebPage):
1238 2007-11-07 Simon Hausmann <hausmann@kde.org>
1242 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1245 (QWebPagePrivate::QWebPagePrivate):
1248 * Api/qwebpagehistory.cpp:
1249 (QWebPageHistory::QWebPageHistory):
1250 * Api/qwebpagehistory.h:
1252 2007-11-07 Lars Knoll <lars@trolltech.com>
1256 comments on API changes that we'd like to do.
1260 2007-11-07 Simon Hausmann <hausmann@kde.org>
1262 Reviewed by Lars Knoll <lars@trolltech.com>.
1264 Add a QWebPage::frameCreated() signal and fix DRT
1266 The removal of createFrame in QWebPage broke the re-implementation
1267 in DumpRenderTree. Instead emit a frameCreated() signal and
1268 connect to it in DumpRenderTree.
1272 (QWebPagePrivate::createMainFrame):
1274 * WebCoreSupport/FrameLoaderClientQt.cpp:
1275 (WebCore::FrameLoaderClientQt::createFrame):
1277 2007-11-07 Lars Knoll <lars@trolltech.com>
1281 Remove QWebPage::createFrame()
1283 now that QWebFrame doesn't have virtual methods anymore, there
1284 is no need for a createFrame() factory method in QWebpage.
1287 (QWebPagePrivate::createMainFrame):
1289 * WebCoreSupport/FrameLoaderClientQt.cpp:
1290 (WebCore::FrameLoaderClientQt::createFrame):
1292 2007-11-07 Simon Hausmann <hausmann@kde.org>
1294 Reviewed by Lars Knoll <lars@trolltech.com>.
1296 Moved all the event handlers from QWebFrame into QWebPage.
1298 This cleans up the public API and allows us to remove the
1299 HackWebFrame hack in DumpRenderTree.
1302 * Api/qwebframe.cpp:
1305 * Api/qwebframe_p.h:
1307 (QWebPagePrivate::frameAt):
1308 (QWebPage::mouseMoveEvent):
1309 (QWebPage::mousePressEvent):
1310 (QWebPage::mouseDoubleClickEvent):
1311 (QWebPage::mouseReleaseEvent):
1312 (QWebPage::wheelEvent):
1315 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
1317 Reviewed by Lars Knoll <lars@trolltech.com>.
1319 Use correct UserAgent string.
1321 * Only have one User Agent String and this place is QWebPage
1322 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
1323 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
1324 * ResourceRequest is != 0 when getting called from WebCore, we
1325 will only do requests when coming from WebCore and then we can
1326 use the User-Agent set with the help of the FrameLoaderClient
1327 * We might want to change QWebNetworkRequest a bit
1330 * Api/qwebnetworkinterface.cpp:
1331 (QWebNetworkRequestPrivate::init):
1333 2007-11-07 Lars Knoll <lars@trolltech.com>
1337 remove two notImplemented() warnings, as I believe we don't
1338 have to implement these methods. Add some (commented out)
1339 debug code in one place.
1341 * WebCoreSupport/EditorClientQt.cpp:
1342 (WebCore::EditorClientQt::respondToChangedSelection):
1343 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1345 2007-11-05 Tristan O'Tierney <tristan@apple.com>
1347 Reviewed by Darin Adler.
1349 * WebCoreSupport/ChromeClientQt.cpp:
1350 (WebCore::ChromeClientQt::createWindow):
1351 * WebCoreSupport/ChromeClientQt.h:
1352 Revised to use new WebCore ChromeClient createWindow API.
1354 2007-10-31 Lars Knoll <lars@trolltech.com>
1358 fix most of the issues I found with Clipboard and DnD.
1361 (QWebPage::dragLeaveEvent):
1363 2007-10-31 Lars Knoll <lars@trolltech.com>
1367 QDrag objects need to be created on the heap.
1369 * WebCoreSupport/DragClientQt.cpp:
1370 (WebCore::DragClientQt::startDrag):
1372 2007-10-31 Lars Knoll <lars@trolltech.com>
1376 a dragLeave event is not the same as cancelling a drag.
1380 2007-10-26 Mark Rowe <mrowe@apple.com>
1382 Build fix. Add missing #include of Platform.h.
1384 * Api/qwebhistoryinterface.cpp:
1386 2007-10-25 Holger Freyther <zecke@selfish.org>
1388 Reviewed by Simon Hausmann <hausmann@kde.org>.
1390 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
1391 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
1392 * This is causing some regressions...
1395 * Api/qwebnetworkinterface.cpp:
1396 (QWebNetworkManager::started):
1397 (QWebNetworkInterface::addJob):
1399 2007-10-25 Holger Freyther <zecke@selfish.org>
1401 Reviewed by Simon Hausmann <hausmann@kde.org>.
1403 * 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.
1404 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
1407 * Api/qwebnetworkinterface.cpp:
1408 (QWebNetworkManager::started):
1410 2007-10-25 Holger Freyther <zecke@selfish.org>
1412 Reviewed by Simon Hausmann <hausmann@kde.org>.
1414 * 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.
1415 * Use the error message from Qt. It might or might not be translated.
1418 * Api/qwebnetworkinterface.cpp:
1419 (QWebNetworkJob::errorString):
1420 (QWebNetworkJob::setErrorString):
1421 (QWebNetworkManager::finished):
1422 (QWebNetworkManager::doWork):
1423 (WebCoreHttp::onRequestFinished):
1424 * Api/qwebnetworkinterface.h:
1425 * Api/qwebnetworkinterface_p.h:
1427 2007-10-25 Holger Freyther <zecke@selfish.org>
1429 Reviewed by Simon Hausmann <hausmann@kde.org>.
1431 * 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.
1432 * 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.
1435 * Api/qwebnetworkinterface.cpp:
1436 (QWebNetworkManager::doWork):
1438 2007-10-25 Holger Freyther <zecke@selfish.org>
1440 Reviewed by Simon Hausmann <hausmann@kde.org>.
1442 * No need to initialize values in the QWebNetworkJob c'tor
1443 * 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.
1446 * Api/qwebnetworkinterface.cpp:
1447 (QWebNetworkJob::status):
1448 (QWebNetworkJob::setStatus):
1449 (QWebNetworkManager::started):
1450 (QWebNetworkManager::data):
1451 (QWebNetworkManager::finished):
1452 * Api/qwebnetworkinterface.h:
1453 * Api/qwebnetworkinterface_p.h:
1454 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1456 2007-10-25 Holger Freyther <zecke@selfish.org>
1458 Reviewed by Simon Hausmann <hausmann@kde.org>.
1460 * Consistency: Always name the jobs job.
1463 * Api/qwebnetworkinterface.cpp:
1464 (WebCoreHttp::onReadyRead):
1465 (WebCoreHttp::onRequestFinished):
1466 (WebCoreHttp::onSslErrors):
1467 (WebCoreHttp::onAuthenticationRequired):
1468 (WebCoreHttp::onProxyAuthenticationRequired):
1470 2007-10-25 Holger Freyther <zecke@selfish.org>
1472 Reviewed by Simon Hausmann <hausmann@kde.org>.
1474 * 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.
1475 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
1478 * Api/qwebnetworkinterface.cpp:
1479 (QWebNetworkJob::~QWebNetworkJob):
1480 (QWebNetworkManager::QWebNetworkManager):
1481 (QWebNetworkManager::self):
1482 (QWebNetworkManager::add):
1483 (QWebNetworkManager::started):
1484 (QWebNetworkManager::finished):
1485 (QWebNetworkInterfacePrivate::sendFileData):
1486 (QWebNetworkInterfacePrivate::parseDataUrl):
1487 (QWebNetworkManager::queueStart):
1488 (QWebNetworkManager::queueData):
1489 (QWebNetworkManager::queueFinished):
1490 (QWebNetworkManager::doScheduleWork):
1491 (QWebNetworkManager::doWork):
1492 (gCleanupInterface):
1493 (QWebNetworkInterface::setDefaultInterface):
1494 (QWebNetworkInterface::defaultInterface):
1495 (QWebNetworkInterface::QWebNetworkInterface):
1496 (QWebNetworkInterface::started):
1497 (QWebNetworkInterface::data):
1498 (QWebNetworkInterface::finished):
1499 (WebCoreHttp::scheduleNextRequest):
1500 (WebCoreHttp::onResponseHeaderReceived):
1501 (WebCoreHttp::onReadyRead):
1502 (WebCoreHttp::onRequestFinished):
1503 (WebCoreHttp::cancel):
1504 * Api/qwebnetworkinterface.h:
1505 * Api/qwebnetworkinterface_p.h:
1506 (QWebNetworkManager::):
1507 (QWebNetworkManager::JobData::JobData):
1508 (QWebNetworkManager::JobFinished::JobFinished):
1510 2007-10-25 Holger Freyther <zecke@selfish.org>
1512 Reviewed by Simon Hausmann <hausmann@kde.org>.
1514 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
1515 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
1516 * We pass the char-decoding.html test now
1519 * Api/qwebnetworkinterface.cpp:
1520 (decodePercentEncoding):
1521 (QWebNetworkInterfacePrivate::parseDataUrl):
1523 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
1525 Reviewed by Lars Knoll <lars@trolltech.com>.
1527 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
1530 * WebCoreSupport/EditorClientQt.cpp:
1531 (WebCore::EditorClientQt::handleKeypress):
1533 2007-10-24 Lars Knoll <lars@trolltech.com>
1537 remove some notImplemented() warnings.
1539 * WebCoreSupport/EditorClientQt.cpp:
1540 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1541 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1542 (WebCore::EditorClientQt::respondToChangedSelection):
1544 2007-10-24 Lars Knoll <lars@trolltech.com>
1548 allow paste from DOM so we pass more test cases.
1551 (QWebPage::setSettings):
1553 2007-10-24 Lars Knoll <lars@trolltech.com>
1557 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
1560 (QWebPage::keyPressEvent):
1561 (QWebPage::keyReleaseEvent):
1563 2007-10-24 Lars Knoll <lars@trolltech.com>
1567 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1569 * WebCoreSupport/EditorClientQt.cpp:
1570 (qt_dump_editing_callbacks):
1573 2007-10-24 Lars Knoll <lars@trolltech.com>
1577 implemented support for most editing shortcuts to make contentEditable usable.
1580 (QWebPage::keyPressEvent):
1582 2007-10-24 Lars Knoll <lars@trolltech.com>
1586 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1589 (QWebPage::focusInEvent):
1591 2007-10-24 Lars Knoll <lars@trolltech.com>
1595 Implement support for testing editing.
1597 * WebCoreSupport/EditorClientQt.cpp:
1598 (qt_dump_editing_callbacks):
1599 (qt_dump_set_accepts_editing):
1602 (WebCore::EditorClientQt::shouldDeleteRange):
1603 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1604 (WebCore::EditorClientQt::shouldBeginEditing):
1605 (WebCore::EditorClientQt::shouldEndEditing):
1606 (WebCore::EditorClientQt::shouldInsertText):
1607 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1608 (WebCore::EditorClientQt::shouldApplyStyle):
1609 (WebCore::EditorClientQt::didBeginEditing):
1610 (WebCore::EditorClientQt::respondToChangedContents):
1611 (WebCore::EditorClientQt::respondToChangedSelection):
1612 (WebCore::EditorClientQt::didEndEditing):
1613 (WebCore::EditorClientQt::shouldInsertNode):
1615 2007-10-19 Alp Toker <alp@atoker.com>
1619 GTK+ build fix enabling the new local database storage feature.
1620 There is also a prospective Qt build fix.
1622 * WebCoreSupport/ChromeClientQt.cpp:
1623 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1624 * WebCoreSupport/ChromeClientQt.h:
1626 2007-10-19 Simon Hausmann <hausmann@kde.org>
1628 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1629 that config.h is included before wtf/MathExtras. The former defines
1630 the MSVC defines for rand_s.
1632 * WebCoreSupport/FrameLoaderClientQt.cpp:
1634 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1638 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1640 * Api/qwebframe.cpp:
1643 2007-10-10 Alice Liu <alice.liu@apple.com>
1645 Reviewed by Geoff Garen.
1647 changes to keep the build from breaking
1649 * WebCoreSupport/FrameLoaderClientQt.cpp:
1650 (WebCore::FrameLoaderClientQt::createFrame):
1651 * WebCoreSupport/FrameLoaderClientQt.h:
1653 2007-10-09 Lars Knoll <lars@trolltech.com>
1657 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1660 (QWebPage::setSettings):
1662 2007-10-09 Lars Knoll <lars@trolltech.com>
1666 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1668 * Api/qwebnetworkinterface.cpp:
1669 (QWebNetworkManager::add):
1670 (QWebNetworkManager::cancel):
1671 (QWebNetworkManager::started):
1672 (QWebNetworkManager::data):
1673 (QWebNetworkInterfacePrivate::parseDataUrl):
1675 2007-10-09 Lars Knoll <lars@trolltech.com>
1679 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.
1682 (QWebPagePrivate::createMainFrame):
1683 (QWebPage::createFrame):
1684 * WebCoreSupport/FrameLoaderClientQt.cpp:
1685 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1686 * WebCoreSupport/FrameLoaderClientQt.h:
1688 2007-10-09 Lars Knoll <lars@trolltech.com>
1692 add a clear() method to QWebPageHistory.
1694 * Api/qwebpagehistory.cpp:
1695 (QWebPageHistory::clear):
1696 (QWebPageHistory::itemAtIndex):
1697 * Api/qwebpagehistory.h:
1699 2007-10-05 Lars Knoll <lars@trolltech.com>
1701 add proper error messages to the FrameLoaderClient.
1702 Implement ChromeClientQt::closeWindowSoon and
1703 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1704 Some fixes in DRT to make it work correctly with multiple windows.
1709 * Api/qwebnetworkinterface.cpp:
1710 (QWebNetworkManager::cancel):
1711 (QWebNetworkInterface::addJob):
1712 * WebCoreSupport/ChromeClientQt.cpp:
1713 (WebCore::ChromeClientQt::closeWindowSoon):
1714 * WebCoreSupport/FrameLoaderClientQt.cpp:
1715 (WebCore::FrameLoaderClientQt::cancelledError):
1717 (WebCore::FrameLoaderClientQt::blockedError):
1718 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1719 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1720 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1721 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1723 2007-10-03 Lars Knoll <lars@trolltech.com>
1725 Signed off by Olliej.
1727 move WebKitQt to WebKit/qt for consistency with the other ports.
1729 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1730 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1731 (QCookieJarPrivate::QCookieJarPrivate):
1733 (QCookieJar::QCookieJar):
1734 (QCookieJar::~QCookieJar):
1735 (QCookieJar::setCookies):
1736 (QCookieJar::cookies):
1737 (QCookieJar::isEnabled):
1738 (QCookieJar::setEnabled):
1740 (QCookieJar::setCookieJar):
1741 (QCookieJar::cookieJar):
1742 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1743 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1744 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1745 (QWebFramePrivate::init):
1746 (QWebFramePrivate::parentFrame):
1747 (QWebFramePrivate::horizontalScrollBar):
1748 (QWebFramePrivate::verticalScrollBar):
1749 (QWebFrame::QWebFrame):
1750 (QWebFrame::~QWebFrame):
1751 (QWebFrame::addToJSWindowObject):
1752 (QWebFrame::markup):
1753 (QWebFrame::innerText):
1754 (QWebFrame::renderTreeDump):
1758 (QWebFrame::selectedText):
1759 (QWebFrame::childFrames):
1760 (QWebFrame::verticalScrollBarPolicy):
1761 (QWebFrame::setVerticalScrollBarPolicy):
1762 (QWebFrame::horizontalScrollBarPolicy):
1763 (QWebFrame::setHorizontalScrollBarPolicy):
1764 (QWebFrame::render):
1765 (QWebFrame::layout):
1767 (QWebFrame::geometry):
1768 (QWebFrame::evaluateJavaScript):
1769 (QWebFrame::mouseMoveEvent):
1770 (QWebFrame::mousePressEvent):
1771 (QWebFrame::mouseDoubleClickEvent):
1772 (QWebFrame::mouseReleaseEvent):
1773 (QWebFrame::wheelEvent):
1774 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1775 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1776 (QWebFramePrivate::QWebFramePrivate):
1777 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1778 (WebCore::historyContains):
1779 (gCleanupInterface):
1780 (QWebHistoryInterface::setDefaultInterface):
1781 (QWebHistoryInterface::defaultInterface):
1782 (QWebHistoryInterface::QWebHistoryInterface):
1783 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1784 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1785 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1788 (QWebNetworkRequestPrivate::init):
1789 (QWebNetworkRequestPrivate::setURL):
1790 (QWebNetworkRequest::QWebNetworkRequest):
1791 (QWebNetworkRequest::operator=):
1792 (QWebNetworkRequest::~QWebNetworkRequest):
1793 (QWebNetworkRequest::url):
1794 (QWebNetworkRequest::setUrl):
1795 (QWebNetworkRequest::httpHeader):
1796 (QWebNetworkRequest::setHttpHeader):
1797 (QWebNetworkRequest::httpHeaderField):
1798 (QWebNetworkRequest::setHttpHeaderField):
1799 (QWebNetworkRequest::postData):
1800 (QWebNetworkRequest::setPostData):
1801 (QWebNetworkJob::QWebNetworkJob):
1802 (QWebNetworkJob::~QWebNetworkJob):
1803 (QWebNetworkJob::url):
1804 (QWebNetworkJob::postData):
1805 (QWebNetworkJob::httpHeader):
1806 (QWebNetworkJob::request):
1807 (QWebNetworkJob::response):
1808 (QWebNetworkJob::setResponse):
1809 (QWebNetworkJob::cancelled):
1810 (QWebNetworkJob::ref):
1811 (QWebNetworkJob::deref):
1812 (QWebNetworkJob::networkInterface):
1813 (QWebNetworkJob::frame):
1814 (QWebNetworkManager::QWebNetworkManager):
1815 (QWebNetworkManager::self):
1816 (QWebNetworkManager::add):
1817 (QWebNetworkManager::cancel):
1818 (QWebNetworkManager::started):
1819 (QWebNetworkManager::data):
1820 (QWebNetworkManager::finished):
1821 (QWebNetworkManager::addHttpJob):
1822 (QWebNetworkManager::cancelHttpJob):
1823 (QWebNetworkManager::httpConnectionClosed):
1824 (QWebNetworkInterfacePrivate::sendFileData):
1825 (QWebNetworkInterfacePrivate::parseDataUrl):
1826 (gCleanupInterface):
1827 (QWebNetworkInterface::setDefaultInterface):
1828 (QWebNetworkInterface::defaultInterface):
1829 (QWebNetworkInterface::QWebNetworkInterface):
1830 (QWebNetworkInterface::~QWebNetworkInterface):
1831 (QWebNetworkInterface::addJob):
1832 (QWebNetworkInterface::cancelJob):
1833 (WebCoreHttp::WebCoreHttp):
1834 (WebCoreHttp::~WebCoreHttp):
1835 (WebCoreHttp::request):
1836 (WebCoreHttp::scheduleNextRequest):
1837 (WebCoreHttp::getConnection):
1838 (WebCoreHttp::onResponseHeaderReceived):
1839 (WebCoreHttp::onReadyRead):
1840 (WebCoreHttp::onRequestFinished):
1841 (WebCoreHttp::onDone):
1842 (WebCoreHttp::onStateChanged):
1843 (WebCoreHttp::cancel):
1844 (WebCoreHttp::onSslErrors):
1845 (WebCoreHttp::onAuthenticationRequired):
1846 (WebCoreHttp::onProxyAuthenticationRequired):
1847 (HostInfo::HostInfo):
1848 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1849 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1850 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1851 (WebCore::HostInfo::HostInfo):
1852 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1853 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1854 (QWebFactoryLoader::QWebFactoryLoader):
1855 (QWebFactoryLoader::self):
1856 (QWebFactoryLoader::descriptionForName):
1857 (QWebFactoryLoader::mimetypesForName):
1858 (QWebFactoryLoader::mimeTypeForExtension):
1859 (QWebFactoryLoader::extensions):
1860 (QWebFactoryLoader::nameForMimetype):
1861 (QWebFactoryLoader::create):
1862 (QWebObjectPlugin::QWebObjectPlugin):
1863 (QWebObjectPlugin::~QWebObjectPlugin):
1864 (QWebObjectPlugin::descriptionForKey):
1865 (QWebObjectPlugin::mimetypesForKey):
1866 (QWebObjectPlugin::extensionsForMimetype):
1867 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1868 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1869 (QWebFactoryLoader::names):
1870 (QWebFactoryLoader::supportsMimeType):
1871 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1872 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1873 (QWebObjectPluginConnector::frame):
1874 (QWebObjectPluginConnector::pluginParentWidget):
1875 (QWebObjectPluginConnector::requestUrl):
1876 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1877 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1878 (QWebPagePrivate::QWebPagePrivate):
1879 (QWebPagePrivate::~QWebPagePrivate):
1880 (QWebPagePrivate::navigationRequested):
1881 (QWebPagePrivate::createMainFrame):
1882 (QWebPage::QWebPage):
1883 (QWebPage::~QWebPage):
1884 (QWebPage::createFrame):
1888 (QWebPage::mainFrame):
1889 (QWebPage::sizeHint):
1891 (QWebPage::history):
1893 (QWebPage::goForward):
1894 (QWebPage::goToHistoryItem):
1895 (QWebPage::javaScriptConsoleMessage):
1896 (QWebPage::javaScriptAlert):
1897 (QWebPage::javaScriptConfirm):
1898 (QWebPage::javaScriptPrompt):
1899 (QWebPage::createWindow):
1900 (QWebPage::createModalDialog):
1901 (QWebPage::createPlugin):
1902 (QWebPage::navigationRequested):
1903 (QWebPage::setWindowGeometry):
1905 (QWebPage::canCopy):
1906 (QWebPage::canPaste):
1910 (QWebPage::isModified):
1911 (QWebPage::undoStack):
1912 (dropActionToDragOp):
1913 (dragOpToDropAction):
1914 (QWebPage::resizeEvent):
1915 (QWebPage::paintEvent):
1916 (QWebPage::mouseMoveEvent):
1917 (QWebPage::mousePressEvent):
1918 (QWebPage::mouseDoubleClickEvent):
1919 (QWebPage::mouseReleaseEvent):
1920 (QWebPage::wheelEvent):
1921 (QWebPage::keyPressEvent):
1922 (QWebPage::keyReleaseEvent):
1923 (QWebPage::focusInEvent):
1924 (QWebPage::focusOutEvent):
1925 (QWebPage::focusNextPrevChild):
1926 (QWebPage::dragEnterEvent):
1927 (QWebPage::dragLeaveEvent):
1928 (QWebPage::dragMoveEvent):
1929 (QWebPage::dropEvent):
1930 (QWebPage::setNetworkInterface):
1931 (QWebPage::networkInterface):
1933 (QWebPage::setSettings):
1934 (QWebPage::settings):
1935 (QWebPage::chooseFile):
1936 (QWebPage::setNetworkProxy):
1937 (QWebPage::networkProxy):
1938 (QWebPage::userAgentStringForUrl):
1939 (QWebPage::onLoadProgressChanged):
1940 (QWebPage::totalBytes):
1941 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1942 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1943 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1944 (QWebHistoryItem::QWebHistoryItem):
1945 (QWebHistoryItem::operator=):
1946 (QWebHistoryItem::~QWebHistoryItem):
1947 (QWebHistoryItem::originalUrl):
1948 (QWebHistoryItem::currentUrl):
1949 (QWebHistoryItem::title):
1950 (QWebHistoryItem::lastVisited):
1951 (QWebHistoryItem::icon):
1952 (QWebPageHistory::QWebPageHistory):
1953 (QWebPageHistory::itemAtIndex):
1954 (QWebPageHistory::operator=):
1955 (QWebPageHistory::~QWebPageHistory):
1956 (QWebPageHistory::items):
1957 (QWebPageHistory::backItems):
1958 (QWebPageHistory::forwardItems):
1959 (QWebPageHistory::canGoBack):
1960 (QWebPageHistory::canGoForward):
1961 (QWebPageHistory::goBack):
1962 (QWebPageHistory::goForward):
1963 (QWebPageHistory::goToItem):
1964 (QWebPageHistory::backItem):
1965 (QWebPageHistory::currentItem):
1966 (QWebPageHistory::forwardItem):
1967 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1968 (QExplicitlySharedDataPointer::operator*):
1969 (QExplicitlySharedDataPointer::operator->):
1970 (QExplicitlySharedDataPointer::operator T *):
1971 (QExplicitlySharedDataPointer::operator const T *):
1972 (QExplicitlySharedDataPointer::data):
1973 (QExplicitlySharedDataPointer::constData):
1974 (QExplicitlySharedDataPointer::operator==):
1975 (QExplicitlySharedDataPointer::operator!=):
1976 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1977 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1978 (QExplicitlySharedDataPointer::operator=):
1979 (QExplicitlySharedDataPointer::operator!):
1980 (::QExplicitlySharedDataPointer):
1981 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1982 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1983 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1984 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1985 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1986 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1987 (QWebSettingsPrivate::QWebSettingsPrivate):
1988 (QWebSettings::QWebSettings):
1989 (QWebSettings::~QWebSettings):
1990 (QWebSettings::setMinimumFontSize):
1991 (QWebSettings::minimumFontSize):
1992 (QWebSettings::setMinimumLogicalFontSize):
1993 (QWebSettings::minimumLogicalFontSize):
1994 (QWebSettings::setDefaultFontSize):
1995 (QWebSettings::defaultFontSize):
1996 (QWebSettings::setDefaultFixedFontSize):
1997 (QWebSettings::defaultFixedFontSize):
1998 (QWebSettings::setUserStyleSheetLocation):
1999 (QWebSettings::userStyleSheetLocation):
2000 (QWebSettings::setIconDatabaseEnabled):
2001 (QWebSettings::iconDatabaseEnabled):
2002 (QWebSettings::setWebGraphic):
2003 (QWebSettings::webGraphic):
2004 (QWebSettings::operator=):
2005 (QWebSettings::setGlobal):
2006 (QWebSettings::global):
2007 (QWebSettings::setFontFamily):
2008 (QWebSettings::fontFamily):
2009 (QWebSettings::setAttribute):
2010 (QWebSettings::testAttribute):
2011 (loadResourcePixmap):
2012 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
2013 * ChangeLog: Renamed from WebKitQt/ChangeLog.
2014 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
2015 (IcoHeader::operator >>):
2016 (IcoHeader::BMP_INFOHDR::):
2017 (IcoHeader::operator<<):
2018 (IcoHeader::LessDifference::LessDifference):
2019 (IcoHeader::LessDifference::operator ()):
2020 (IcoHeader::loadFromDIB):
2021 (ICOHandler::ICOHandler):
2022 (ICOHandler::canRead):
2024 (ICOHandler::write):
2027 (ICOPlugin::capabilities):
2028 (ICOPlugin::create):
2029 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
2030 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
2031 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
2032 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
2033 (HoverLabel::HoverLabel):
2034 (HoverLabel::setHoverLink):
2035 (HoverLabel::sizeForFont):
2036 (HoverLabel::sizeHint):
2037 (HoverLabel::updateSize):
2038 (HoverLabel::resetAnimation):
2039 (HoverLabel::paintEvent):
2040 (HoverLabel::interpolate):
2041 (ClearButton::ClearButton):
2042 (ClearButton::paintEvent):
2043 (SearchEdit::SearchEdit):
2044 (SearchEdit::~SearchEdit):
2045 (SearchEdit::paintEvent):
2046 (SearchEdit::resizeEvent):
2047 (SearchEdit::moveEvent):
2048 (MainWindow::MainWindow):
2049 (MainWindow::changeLocation):
2050 (MainWindow::loadFinished):
2051 (MainWindow::showLinkHover):
2052 (MainWindow::resizeEvent):
2054 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
2055 (WebCore::ChromeClientQt::ChromeClientQt):
2056 (WebCore::ChromeClientQt::~ChromeClientQt):
2057 (WebCore::ChromeClientQt::setWindowRect):
2058 (WebCore::ChromeClientQt::windowRect):
2059 (WebCore::ChromeClientQt::pageRect):
2060 (WebCore::ChromeClientQt::scaleFactor):
2061 (WebCore::ChromeClientQt::focus):
2062 (WebCore::ChromeClientQt::unfocus):
2063 (WebCore::ChromeClientQt::canTakeFocus):
2064 (WebCore::ChromeClientQt::takeFocus):
2065 (WebCore::ChromeClientQt::createWindow):
2066 (WebCore::ChromeClientQt::createModalDialog):
2067 (WebCore::ChromeClientQt::show):
2068 (WebCore::ChromeClientQt::canRunModal):
2069 (WebCore::ChromeClientQt::runModal):
2070 (WebCore::ChromeClientQt::setToolbarsVisible):
2071 (WebCore::ChromeClientQt::toolbarsVisible):
2072 (WebCore::ChromeClientQt::setStatusbarVisible):
2073 (WebCore::ChromeClientQt::statusbarVisible):
2074 (WebCore::ChromeClientQt::setScrollbarsVisible):
2075 (WebCore::ChromeClientQt::scrollbarsVisible):
2076 (WebCore::ChromeClientQt::setMenubarVisible):
2077 (WebCore::ChromeClientQt::menubarVisible):
2078 (WebCore::ChromeClientQt::setResizable):
2079 (WebCore::ChromeClientQt::addMessageToConsole):
2080 (WebCore::ChromeClientQt::chromeDestroyed):
2081 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2082 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2083 (WebCore::ChromeClientQt::closeWindowSoon):
2084 (WebCore::ChromeClientQt::runJavaScriptAlert):
2085 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2086 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2087 (WebCore::ChromeClientQt::setStatusbarText):
2088 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
2089 (WebCore::ChromeClientQt::tabsToLinks):
2090 (WebCore::ChromeClientQt::windowResizerRect):
2091 (WebCore::ChromeClientQt::addToDirtyRegion):
2092 (WebCore::ChromeClientQt::scrollBackingStore):
2093 (WebCore::ChromeClientQt::updateBackingStore):
2094 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2095 (WebCore::ChromeClientQt::setToolTip):
2096 (WebCore::ChromeClientQt::print):
2097 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
2098 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
2099 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
2100 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2101 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
2102 (WebCore::ContextMenuClientQt::downloadURL):
2103 (WebCore::ContextMenuClientQt::lookUpInDictionary):
2104 (WebCore::ContextMenuClientQt::speak):
2105 (WebCore::ContextMenuClientQt::stopSpeaking):
2106 (WebCore::ContextMenuClientQt::searchWithGoogle):
2107 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
2108 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
2109 (WebCore::DragClientQt::actionMaskForDrag):
2110 (WebCore::DragClientQt::willPerformDragDestinationAction):
2111 (WebCore::DragClientQt::dragControllerDestroyed):
2112 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
2113 (WebCore::DragClientQt::willPerformDragSourceAction):
2114 (WebCore::DragClientQt::startDrag):
2115 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
2116 (WebCore::DragClientQt::DragClientQt):
2117 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
2118 (EditCommandQt::EditCommandQt):
2119 (EditCommandQt::~EditCommandQt):
2120 (EditCommandQt::redo):
2121 (EditCommandQt::undo):
2122 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
2123 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
2124 (WebCore::EditorClientQt::shouldDeleteRange):
2125 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2126 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2127 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2128 (WebCore::EditorClientQt::spellCheckerDocumentTag):
2129 (WebCore::EditorClientQt::shouldBeginEditing):
2130 (WebCore::EditorClientQt::shouldEndEditing):
2131 (WebCore::EditorClientQt::shouldInsertText):
2132 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2133 (WebCore::EditorClientQt::shouldApplyStyle):
2134 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2135 (WebCore::EditorClientQt::didBeginEditing):
2136 (WebCore::EditorClientQt::respondToChangedContents):
2137 (WebCore::EditorClientQt::respondToChangedSelection):
2138 (WebCore::EditorClientQt::didEndEditing):
2139 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2140 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
2141 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
2142 (WebCore::EditorClientQt::isEditable):
2143 (WebCore::EditorClientQt::registerCommandForUndo):
2144 (WebCore::EditorClientQt::registerCommandForRedo):
2145 (WebCore::EditorClientQt::clearUndoRedoOperations):
2146 (WebCore::EditorClientQt::canUndo):
2147 (WebCore::EditorClientQt::canRedo):
2148 (WebCore::EditorClientQt::undo):
2149 (WebCore::EditorClientQt::redo):
2150 (WebCore::EditorClientQt::shouldInsertNode):
2151 (WebCore::EditorClientQt::pageDestroyed):
2152 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
2153 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
2154 (WebCore::EditorClientQt::toggleGrammarChecking):
2155 (WebCore::EditorClientQt::handleKeypress):
2156 (WebCore::EditorClientQt::handleInputMethodKeypress):
2157 (WebCore::EditorClientQt::EditorClientQt):
2158 (WebCore::EditorClientQt::textFieldDidBeginEditing):
2159 (WebCore::EditorClientQt::textFieldDidEndEditing):
2160 (WebCore::EditorClientQt::textDidChangeInTextField):
2161 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
2162 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
2163 (WebCore::EditorClientQt::textDidChangeInTextArea):
2164 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
2165 (WebCore::EditorClientQt::learnWord):
2166 (WebCore::EditorClientQt::checkSpellingOfString):
2167 (WebCore::EditorClientQt::checkGrammarOfString):
2168 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
2169 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
2170 (WebCore::EditorClientQt::showSpellingUI):
2171 (WebCore::EditorClientQt::spellingUIIsShowing):
2172 (WebCore::EditorClientQt::getGuessesForWord):
2173 (WebCore::EditorClientQt::isEditing):
2174 (WebCore::EditorClientQt::setInputMethodState):
2175 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
2176 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
2177 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2178 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
2179 (WebCore::FrameLoaderClientQt::setFrame):
2180 (WebCore::FrameLoaderClientQt::webFrame):
2181 (WebCore::FrameLoaderClientQt::callPolicyFunction):
2182 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
2183 (WebCore::FrameLoaderClientQt::hasWebView):
2184 (WebCore::FrameLoaderClientQt::hasFrameView):
2185 (WebCore::FrameLoaderClientQt::hasBackForwardList):
2186 (WebCore::FrameLoaderClientQt::resetBackForwardList):
2187 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
2188 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
2189 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
2190 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
2191 (WebCore::FrameLoaderClientQt::makeDocumentView):
2192 (WebCore::FrameLoaderClientQt::makeRepresentation):
2193 (WebCore::FrameLoaderClientQt::forceLayout):
2194 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
2195 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
2196 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
2197 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
2198 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
2199 (WebCore::FrameLoaderClientQt::willCloseDocument):
2200 (WebCore::FrameLoaderClientQt::detachedFromParent2):
2201 (WebCore::FrameLoaderClientQt::detachedFromParent3):
2202 (WebCore::FrameLoaderClientQt::detachedFromParent4):
2203 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
2204 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2205 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
2206 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
2207 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
2208 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
2209 (WebCore::FrameLoaderClientQt::dispatchWillClose):
2210 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2211 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2212 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2213 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2214 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2215 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2216 (WebCore::FrameLoaderClientQt::dispatchShow):
2217 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
2218 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
2219 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
2220 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
2221 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
2222 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2223 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
2224 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2225 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2226 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2227 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2228 (WebCore::FrameLoaderClientQt::willChangeTitle):
2229 (WebCore::FrameLoaderClientQt::didChangeTitle):
2230 (WebCore::FrameLoaderClientQt::finishedLoading):
2231 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
2232 (WebCore::FrameLoaderClientQt::setDefersLoading):
2233 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
2234 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
2235 (WebCore::FrameLoaderClientQt::clearArchivedResources):
2236 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2237 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2238 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
2239 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
2240 (WebCore::FrameLoaderClientQt::restoreViewState):
2241 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
2242 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
2243 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
2244 (WebCore::FrameLoaderClientQt::didFinishLoad):
2245 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
2246 (WebCore::FrameLoaderClientQt::setTitle):
2247 (WebCore::FrameLoaderClientQt::userAgent):
2248 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2249 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
2250 (WebCore::FrameLoaderClientQt::canHandleRequest):
2251 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2252 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2253 (WebCore::FrameLoaderClientQt::registerForIconNotification):
2254 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
2255 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
2256 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
2257 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
2258 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
2259 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
2260 (WebCore::FrameLoaderClientQt::canCachePage):
2261 (WebCore::FrameLoaderClientQt::setMainDocumentError):
2262 (WebCore::FrameLoaderClientQt::committedLoad):
2263 (WebCore::FrameLoaderClientQt::cancelledError):
2264 (WebCore::FrameLoaderClientQt::blockedError):
2265 (WebCore::FrameLoaderClientQt::cannotShowURLError):
2266 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2267 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2268 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
2269 (WebCore::FrameLoaderClientQt::shouldFallBack):
2270 (WebCore::FrameLoaderClientQt::createDocumentLoader):
2271 (WebCore::FrameLoaderClientQt::download):
2272 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
2273 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2274 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
2275 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
2276 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
2277 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
2278 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
2279 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2280 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
2281 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2282 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2283 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2284 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
2285 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2286 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2287 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2288 (WebCore::FrameLoaderClientQt::startDownload):
2289 (WebCore::FrameLoaderClientQt::willUseArchive):
2290 (WebCore::FrameLoaderClientQt::createFrame):
2291 (WebCore::FrameLoaderClientQt::objectContentType):
2293 (WebCore::FrameLoaderClientQt::createPlugin):
2294 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2295 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
2296 (WebCore::FrameLoaderClientQt::overrideMediaType):
2297 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
2298 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
2299 (WebCore::InspectorClientQt::inspectorDestroyed):
2300 (WebCore::InspectorClientQt::createPage):
2301 (WebCore::InspectorClientQt::showWindow):
2302 (WebCore::InspectorClientQt::closeWindow):
2303 (WebCore::InspectorClientQt::attachWindow):
2304 (WebCore::InspectorClientQt::detachWindow):
2305 (WebCore::InspectorClientQt::highlight):
2306 (WebCore::InspectorClientQt::hideHighlight):
2307 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
2308 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
2309 (WebKitFactory::WebKitFactory):
2310 (WebKitFactory::~WebKitFactory):
2311 (WebKitFactory::createPartObject):
2312 (WebKitFactory::instance):
2313 (WebKitFactory::ref):
2314 (WebKitFactory::deref):
2315 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
2316 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
2317 (WebKitPart::WebKitPart):
2318 (WebKitPart::~WebKitPart):
2319 (WebKitPart::openFile):
2320 (WebKitPart::openUrl):
2321 (WebKitPart::closeUrl):
2322 (WebKitPart::parentPart):
2323 (WebKitPart::frame):
2324 (WebKitPart::initView):
2325 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
2326 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
2328 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
2329 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
2330 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
2331 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
2332 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
2333 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
2334 (WebKitPartClient::WebKitPartClient):
2335 (WebKitPartClient::~WebKitPartClient):
2336 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
2337 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
2338 (WebKitPartInterface::WebKitPartInterface):
2339 (WebKitPartInterface::~WebKitPartInterface):
2340 (WebKitPartInterface::url):
2341 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
2342 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
2344 2007-10-02 Adam Treat <treat@kde.org>
2346 Reviewed by Eric Seidel.
2348 Open the requested url on the newly created window.
2349 Implement createModalDialog and provide new API for this.
2350 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
2353 (QWebPage::createModalDialog):
2355 * WebCoreSupport/ChromeClientQt.cpp:
2356 (WebCore::ChromeClientQt::createWindow):
2357 (WebCore::ChromeClientQt::createModalDialog):
2359 2007-10-02 Lars Knoll <lars@trolltech.com>
2363 Add API to retrieve the frame name from QWebFrame.
2364 Implement support for DRT::dumpChildrenAsText.
2366 * Api/qwebframe.cpp:
2370 2007-10-02 Lars Knoll <lars@trolltech.com>
2374 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2376 * Api/qwebnetworkinterface.cpp:
2377 (QWebNetworkManager::started):
2378 (QWebNetworkManager::data):
2379 (QWebNetworkManager::finished):
2380 (QWebNetworkInterfacePrivate::sendFileData):
2381 (QWebNetworkInterfacePrivate::parseDataUrl):
2382 (WebCoreHttp::scheduleNextRequest):
2383 (WebCoreHttp::onSslErrors):
2384 * QtLauncher/main.cpp:
2387 2007-10-01 Lars Knoll <lars@trolltech.com>
2391 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
2393 * WebCoreSupport/FrameLoaderClientQt.cpp:
2394 (WebCore::FrameLoaderClientQt::makeDocumentView):
2395 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2396 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2397 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2398 (WebCore::FrameLoaderClientQt::objectContentType):
2399 (WebCore::FrameLoaderClientQt::createPlugin):
2401 2007-09-30 George Staikos <staikos@kde.org>
2403 Qt build fix (OS X specific).
2405 * QtLauncher/QtLauncher.pro:
2407 2007-09-26 Mark Rowe <mrowe@apple.com>
2411 * WebCoreSupport/FrameLoaderClientQt.cpp:
2412 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
2414 2007-09-25 David Kilzer <ddkilzer@webkit.org>
2418 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2419 LGPL'ed files contain incorrect FSF address
2421 * Api/qcookiejar.cpp:
2423 * Api/qwebframe.cpp:
2425 * Api/qwebframe_p.h:
2426 * Api/qwebhistoryinterface.cpp:
2427 * Api/qwebhistoryinterface.h:
2428 * Api/qwebkitglobal.h:
2429 * Api/qwebnetworkinterface.cpp:
2430 * Api/qwebnetworkinterface.h:
2431 * Api/qwebnetworkinterface_p.h:
2432 * Api/qwebobjectplugin.cpp:
2433 * Api/qwebobjectplugin.h:
2434 * Api/qwebobjectpluginconnector.cpp:
2435 * Api/qwebobjectpluginconnector.h:
2439 * Api/qwebpagehistory.cpp:
2440 * Api/qwebpagehistory.h:
2441 * Api/qwebsettings.cpp:
2442 * Api/qwebsettings.h:
2443 * WebCoreSupport/EditCommandQt.cpp:
2444 * WebCoreSupport/EditCommandQt.h:
2446 2007-09-25 Adam Treat <treat@kde.org>
2448 Reviewed by Simon and Lars.
2450 Modifies the addToJSWindowObject to bind js objects using the built-in
2451 kjs_window class. Make sure to protect the created runtime object from
2454 Adds a signal to QWebFrame to notify clients of the beginning of a
2455 provisional load. DRT needs this.
2457 * Api/qwebframe.cpp:
2458 (QWebFrame::addToJSWindowObject):
2460 * WebCoreSupport/FrameLoaderClientQt.cpp:
2461 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2463 2007-09-10 Qing Zhao <qing@staikos.net>
2465 Reviewed by George Staikos.
2467 Don't re-encode urls, resulting in double encoding. Fixes login to
2470 * Api/qwebnetworkinterface.cpp:
2471 (QWebNetworkRequestPrivate::init):
2472 (QWebNetworkManager::started):
2474 2007-09-08 Mark Rowe <mrowe@apple.com>
2476 Qt build fix. Move stub method implementations to the right class.
2478 * WebCoreSupport/FrameLoaderClientQt.cpp:
2479 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2481 2007-09-08 Brady Eidson <beidson@apple.com>
2483 YABF (Yet Another Build Fix)
2485 * Api/qwebsettings.cpp:
2486 (QWebSettings::iconDatabaseEnabled):
2488 2007-09-08 Brady Eidson <beidson@apple.com>
2492 * WebCoreSupport/FrameLoaderClientQt.cpp:
2493 (WebCore::FrameLoaderClient::registerForIconNotification):
2494 * WebCoreSupport/FrameLoaderClientQt.h:
2496 2007-09-08 Brady Eidson <beidson@apple.com>
2500 * WebCoreSupport/FrameLoaderClientQt.cpp:
2501 (WebCore::FrameLoaderClient::registerForIconNotification):
2502 * WebCoreSupport/FrameLoaderClientQt.h:
2504 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2506 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2508 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2509 memory cache, or a very tiny one
2511 Keep the Qt build working with an empty stub.
2513 * WebCoreSupport/FrameLoaderClientQt.cpp:
2514 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2515 * WebCoreSupport/FrameLoaderClientQt.h:
2517 2007-09-07 George Staikos <staikos@kde.org>
2522 (QWebPage::onLoadProgressChanged):
2524 2007-09-07 Qing Zhao <qing@staikos.net>
2526 Reviewed by Anders and George.
2528 Export page size and load progress in bytes.
2531 (QWebPage::QWebPage):
2532 (QWebPage::onLoadProgressChanged):
2533 (QWebPage::totalBytes):
2534 (QWebPage::bytesReceived):
2538 2007-09-06 George Staikos <staikos@kde.org>
2542 Make popup windows work again.
2544 * WebCoreSupport/FrameLoaderClientQt.cpp:
2545 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2547 2007-09-01 Oliver Hunt <oliver@apple.com>
2551 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2553 EditorClient::setInputMethodState stub
2555 * WebCoreSupport/EditorClientQt.cpp:
2556 (WebCore::EditorClientQt::setInputMethodState):
2557 * WebCoreSupport/EditorClientQt.h:
2559 2007-08-30 Simon Hausmann <hausmann@kde.org>
2563 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
2566 (QWebPage::keyPressEvent):
2568 2007-08-30 Simon Hausmann <hausmann@kde.org>
2572 When scrolling with the keyboard don't call update() on the entire widget.
2573 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2577 (QWebPage::keyPressEvent):
2579 2007-08-30 Simon Hausmann <hausmann@kde.org>
2583 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2586 (QWebPage::keyPressEvent):
2588 2007-08-29 Simon Hausmann <hausmann@kde.org>
2594 * WebCoreSupport/FrameLoaderClientQt.cpp:
2595 (WebCore::FrameLoaderClientQt::objectContentType):
2597 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2599 Reviewed by George Staikos.
2601 Don't export ICO symbols.
2603 * Plugins/Plugins.pro:
2605 2007-08-19 George Staikos <staikos@kde.org>
2609 * WebCoreSupport/FrameLoaderClientQt.cpp:
2610 (WebCore::FrameLoaderClientQt::createPlugin):
2611 * WebCoreSupport/FrameLoaderClientQt.h:
2613 2007-08-10 Lars Knoll <lars@trolltech.com>
2615 Reviewed and landed by Simon.
2617 Limit the set of properties from the computed style to apply to Qt
2618 plugin widgets, as only a few of them make sense.
2620 * WebCoreSupport/FrameLoaderClientQt.cpp:
2623 2007-08-10 Lars Knoll <lars@trolltech.com>
2627 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2630 (QWebPage::createPlugin):
2632 * WebCoreSupport/FrameLoaderClientQt.cpp:
2633 (WebCore::FrameLoaderClientQt::objectContentType):
2634 (WebCore::FrameLoaderClientQt::createPlugin):
2636 2007-08-10 Simon Hausmann <hausmann@kde.org>
2640 Added support for network jobs from Qt resources using the qrc protocol.
2642 * Api/qwebnetworkinterface.cpp:
2643 (QWebNetworkInterface::addJob):
2645 2007-08-10 Simon Hausmann <hausmann@kde.org>
2649 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2650 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2652 * WebCoreSupport/FrameLoaderClientQt.cpp:
2653 (WebCore::FrameLoaderClientQt::objectContentType):
2655 (WebCore::FrameLoaderClientQt::createPlugin):
2657 2007-08-10 Simon Hausmann <hausmann@kde.org>
2661 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2662 and fixed widget embedding by setting the right QWidget parent.
2665 (QWebPage::createPlugin):
2667 * WebCoreSupport/FrameLoaderClientQt.cpp:
2668 (WebCore::FrameLoaderClientQt::objectContentType):
2669 (WebCore::FrameLoaderClientQt::createPlugin):
2671 2007-08-02 George Staikos <staikos@kde.org>
2675 Add an interface for the useragent string.
2678 (QWebPage::userAgentStringForUrl):
2680 * WebCoreSupport/FrameLoaderClientQt.cpp:
2681 (WebCore::FrameLoaderClientQt::userAgent):
2683 2007-08-01 Adam Treat <treat@kde.org>
2685 Reviewed by George Staikos.
2687 Add an interface to manage global history for clients
2690 * Api/qwebhistoryinterface.cpp: Added.
2691 (WebCore::historyContains):
2692 (gCleanupInterface):
2693 (QWebHistoryInterface::setDefaultInterface):
2694 (QWebHistoryInterface::defaultInterface):
2695 (QWebHistoryInterface::QWebHistoryInterface):
2696 * Api/qwebhistoryinterface.h: Added.
2698 2007-07-30 Adam Treat <treat@kde.org>
2702 * WebCoreSupport/EditorClientQt.cpp:
2703 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2704 * WebCoreSupport/EditorClientQt.h:
2706 2007-07-30 Simon Hausmann <hausmann@kde.org>
2710 Link QtLauncher into $$OUTPUT_DIR/bin
2712 * QtLauncher/QtLauncher.pro:
2714 2007-07-29 Adam Treat <treat@kde.org>
2716 Reviewed by George Staikos.
2718 Change QWebPage::paintEvent to draw using the individual rects provided
2719 via the QRegion and set the widget to use opaque paint events.
2721 These changes greatly reduce the cpu load as we are no longer painting the
2722 entire page for each 1px scroll :P
2724 * Api/qwebframe.cpp:
2725 (QWebFrame::render):
2727 (QWebPage::QWebPage):
2728 (QWebPage::paintEvent):
2729 * WebCoreSupport/ChromeClientQt.cpp:
2730 (WebCore::ChromeClientQt::addToDirtyRegion):
2732 2007-07-29 Adam Treat <treat@kde.org>
2734 Reviewed by Alexey Proskuryakov.
2736 Respect the margins when creating frames.
2737 Set the scroll mode to always off like we did before the rendered
2738 frames patch and the other ports do now.
2740 * Api/qwebframe.cpp:
2741 (QWebFramePrivate::init):
2743 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2747 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2749 * QtLauncher/QtLauncher.pro:
2751 2007-07-27 Simon Hausmann <hausmann@kde.org>
2755 Fix compilation with MSVC.
2757 * Api/qwebpagehistory.cpp:
2758 (QWebPageHistory::operator=):
2759 * Api/qwebpagehistory.h:
2760 * Api/qwebsettings.cpp:
2761 (QWebSettings::operator=):
2762 * Api/qwebsettings.h:
2764 2007-07-26 Qing Zhao <qing@staikos.net>
2766 Reviewed by George Staikos.
2768 Add a signal for history notification.
2771 * WebCoreSupport/FrameLoaderClientQt.cpp:
2773 2007-07-24 Adam Treat <treat@kde.org>
2775 Reviewed by Niko and Lars.
2777 These are no longer necessary or used.
2779 * WebCoreSupport/FrameLoaderClientQt.cpp:
2780 * WebCoreSupport/FrameLoaderClientQt.h:
2782 2007-07-20 Adam Treat <adam@staikos.net>
2784 Reviewed by George Staikos.
2786 Add a signal for first layout and add the action type for the policy
2790 (QWebPagePrivate::navigationRequested):
2791 (QWebPage::navigationRequested):
2794 * WebCoreSupport/FrameLoaderClientQt.cpp:
2795 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2796 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2798 2007-07-19 Adam Treat <treat@kde.org>
2802 Do a recursive layout on the frame's children. This fixes a
2803 segfault found when rendering some framesets.
2805 * Api/qwebframe.cpp:
2806 (QWebFrame::render):
2807 (QWebFrame::layout):
2810 2007-07-18 Timothy Hatcher <timothy@apple.com>
2814 Make the Page with the now required InspectorClient.
2817 (QWebPagePrivate::QWebPagePrivate):
2818 * WebKitPart/WebKitPart.cpp:
2819 (WebKitPart::initView):
2821 2007-07-18 Sam Weinig <sam@webkit.org>
2825 * Api/qwebnetworkinterface.cpp:
2826 (QWebNetworkManager::started):
2827 * WebCoreSupport/FrameLoaderClientQt.cpp:
2828 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2829 (WebCore::FrameLoaderClientQt::objectContentType):
2831 2007-07-18 Lars Knoll <lars@trolltech.com>
2833 Reviewed by Zack & Simon
2835 Reallow setting of scrollbar policies on QWebFrame.
2837 * Api/qwebframe.cpp:
2838 (QWebFrame::verticalScrollBarPolicy):
2839 (QWebFrame::setVerticalScrollBarPolicy):
2840 (QWebFrame::horizontalScrollBarPolicy):
2843 2007-07-17 Adam Treat <treat@kde.org>
2847 * WebCoreSupport/FrameLoaderClientQt.cpp:
2848 (WebCore::FrameLoaderClientQt::createFrame):
2850 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2852 Blind build fix for Qt after r24366 by adding the additional
2853 WebCore::ResourceRequest& parameter to the download method.
2855 * WebCoreSupport/FrameLoaderClientQt.cpp:
2856 (WebCore::FrameLoaderClientQt::download):
2857 * WebCoreSupport/FrameLoaderClientQt.h:
2859 2007-07-17 Adam Roben <aroben@apple.com>
2861 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2865 * WebCoreSupport/ContextMenuClientQt.cpp:
2866 * WebCoreSupport/ContextMenuClientQt.h:
2868 2007-07-16 Adam Roben <aroben@apple.com>
2870 Updated ChromeClientQt for ChromeClient changes.
2874 * WebCoreSupport/ChromeClientQt.cpp:
2875 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2876 * WebCoreSupport/ChromeClientQt.h: Ditto.
2878 2007-07-13 Mark Rowe <mrowe@apple.com>
2882 Build fix. Stub out ChromeClientQt::print.
2884 * WebCoreSupport/ChromeClientQt.cpp:
2885 (WebCore::ChromeClientQt::print):
2886 * WebCoreSupport/ChromeClientQt.h:
2888 2007-07-12 George Staikos <staikos@kde.org>
2890 Qt build fix for assertions.
2892 * Api/qwebnetworkinterface.cpp:
2893 (QWebNetworkManager::add):
2895 2007-07-12 George Staikos <staikos@kde.org>
2899 * Api/qwebnetworkinterface.cpp:
2900 (QWebNetworkManager::add):
2902 2007-07-10 Mark Rowe <mrowe@apple.com>
2904 Qt build fix after r24126.
2906 * Api/qwebframe.cpp:
2907 (QWebFrame::evaluateJavaScript):
2909 2007-07-10 Eli Fidler <eli@staikos.net>
2911 Reviewed by George Staikos.
2913 Properly url-decode data urls.
2915 * Api/qwebnetworkinterface.cpp:
2916 (QWebNetworkInterfacePrivate::parseDataUrl):
2918 2007-07-09 Adam Treat <adam@staikos.net>
2920 Reviewed by George Staikos.
2922 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2925 * Api/qwebframe.cpp:
2926 (QWebFramePrivate::init):
2927 (QWebFramePrivate::parentFrame):
2928 (QWebFrame::QWebFrame):
2929 (QWebFrame::render):
2931 (QWebFrame::geometry):
2932 (QWebFrame::evaluateJavaScript):
2933 (QWebFrame::mouseMoveEvent):
2934 (QWebFrame::mousePressEvent):
2935 (QWebFrame::mouseDoubleClickEvent):
2936 (QWebFrame::mouseReleaseEvent):
2937 (QWebFrame::wheelEvent):
2939 * Api/qwebobjectpluginconnector.cpp:
2940 (QWebObjectPluginConnector::pluginParentWidget):
2942 (QWebPagePrivate::QWebPagePrivate):
2943 (QWebPagePrivate::createMainFrame):
2944 (QWebPage::QWebPage):
2945 (QWebPage::javaScriptAlert):
2946 (QWebPage::javaScriptConfirm):
2947 (QWebPage::javaScriptPrompt):
2948 (QWebPage::resizeEvent):
2949 (QWebPage::paintEvent):
2950 (QWebPage::mouseMoveEvent):
2951 (QWebPage::mousePressEvent):
2952 (QWebPage::mouseDoubleClickEvent):
2953 (QWebPage::mouseReleaseEvent):
2954 (QWebPage::wheelEvent):
2955 (QWebPage::keyPressEvent):
2956 (QWebPage::keyReleaseEvent):
2957 (QWebPage::focusInEvent):
2958 (QWebPage::focusOutEvent):
2959 (QWebPage::focusNextPrevChild):
2960 (QWebPage::chooseFile):
2963 * WebCoreSupport/ChromeClientQt.cpp:
2964 (WebCore::ChromeClientQt::addToDirtyRegion):
2966 2007-07-09 George Staikos <staikos@kde.org>
2968 Fix a minor memory leak in the loader.
2970 * Api/qwebnetworkinterface.cpp:
2971 (gCleanupInterface):
2972 (QWebNetworkInterface::setDefaultInterface):
2973 (QWebNetworkInterface::defaultInterface):
2975 2007-07-09 George Staikos <staikos@kde.org>
2977 Fix a massive memory leak in the loader.
2979 * Api/qwebnetworkinterface.cpp:
2980 (QWebNetworkManager::httpConnectionClosed):
2981 (WebCoreHttp::~WebCoreHttp):
2983 2007-07-09 George Staikos <staikos@kde.org>
2987 Rework much of the HTTP stuff to make it more stable, and add SSL and
2988 proxy support. Major memory leak also discovered but it needs more
2989 research as the obvious fix causes crashes.
2991 * Api/qwebnetworkinterface.cpp:
2992 (QWebNetworkManager::add):
2993 (QWebNetworkManager::started):
2994 (QWebNetworkManager::data):
2995 (WebCoreHttp::WebCoreHttp):
2996 (WebCoreHttp::~WebCoreHttp):
2997 (WebCoreHttp::request):
2998 (WebCoreHttp::scheduleNextRequest):
2999 (WebCoreHttp::getConnection):
3000 (WebCoreHttp::onResponseHeaderReceived):
3001 (WebCoreHttp::onReadyRead):
3002 (WebCoreHttp::onRequestFinished):
3003 (WebCoreHttp::onDone):
3004 (WebCoreHttp::onStateChanged):
3005 (WebCoreHttp::onSslErrors):
3006 (WebCoreHttp::onAuthenticationRequired):
3007 (WebCoreHttp::onProxyAuthenticationRequired):
3008 * Api/qwebnetworkinterface.h:
3009 * Api/qwebnetworkinterface_p.h:
3010 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3012 2007-07-06 Adam Treat <adam@staikos.net>
3014 Reviewed by George Staikos.
3016 Convert QWebFrame to a QFrame from a scroll area.
3018 * Api/qwebframe.cpp:
3019 (QWebFramePrivate::init):
3020 (QWebFramePrivate::parentFrame):
3021 (QWebFramePrivate::horizontalScrollBar):
3022 (QWebFramePrivate::verticalScrollBar):
3023 (QWebFrame::QWebFrame):
3024 (QWebFrame::resizeEvent):
3025 (QWebFrame::suppressScrollbars):
3026 (QWebFrame::paintEvent):
3027 (QWebFrame::mouseMoveEvent):
3028 (QWebFrame::mousePressEvent):
3029 (QWebFrame::mouseDoubleClickEvent):
3030 (QWebFrame::mouseReleaseEvent):
3031 (QWebFrame::wheelEvent):
3032 (QWebFrame::keyPressEvent):
3033 (QWebFrame::focusInEvent):
3034 (QWebFrame::focusOutEvent):
3035 (QWebFrame::evaluateJavaScript):
3037 * Api/qwebframe_p.h:
3038 * Api/qwebobjectpluginconnector.cpp:
3039 (QWebObjectPluginConnector::pluginParentWidget):
3041 2007-07-04 Adam Roben <aroben@apple.com>
3043 Added a stub for ChromeClientQt::setToolTip
3047 * WebCoreSupport/ChromeClientQt.cpp:
3048 (WebCore::ChromeClientQt::setToolTip):
3049 * WebCoreSupport/ChromeClientQt.h:
3051 2007-07-04 Adam Roben <aroben@apple.com>
3053 Added a stub for ChromeClientQt::mouseDidMoveOverElement
3057 * WebCoreSupport/ChromeClientQt.cpp:
3058 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3059 * WebCoreSupport/ChromeClientQt.h:
3061 2007-06-28 Simon Hausmann <hausmann@kde.org>
3065 Propagate mouse double click events from Qt to WebCore.
3067 * Api/qwebframe.cpp:
3068 (QWebFrame::mouseDoubleClickEvent):
3071 2007-06-28 Simon Hausmann <hausmann@kde.org>
3075 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
3079 (QWebPage::canCopy):
3080 (QWebPage::canPaste):
3085 * WebCoreSupport/EditorClientQt.cpp:
3087 2007-06-27 George Staikos <staikos@kde.org>
3089 Compile with various Qt configurations.
3091 * Api/qwebnetworkinterface.cpp:
3092 (WebCoreHttp::scheduleNextRequest):
3094 (QWebPage::javaScriptPrompt):
3095 (QWebPage::dragEnterEvent):
3096 (QWebPage::dragLeaveEvent):
3097 (QWebPage::dragMoveEvent):
3098 (QWebPage::dropEvent):
3099 (QWebPage::chooseFile):
3102 * WebCoreSupport/DragClientQt.cpp:
3103 (WebCore::DragClientQt::startDrag):
3105 2007-06-27 Eli Fidler <eli@staikos.net>
3107 Reviewed by George Staikos.
3109 Check for QT_NO_IMAGE_TEXT and compile either way.
3111 * Plugins/ICOHandler.cpp:
3114 2007-06-27 Eli Fidler <eli@staikos.net>
3116 Reviewed by George Staikos.
3118 Remove QT3_SUPPORT dependency in the ICO plugin.
3120 * Plugins/ICOHandler.cpp:
3121 (IcoHeader::loadFromDIB):
3123 2007-06-25 George Staikos <staikos@kde.org>
3127 Start to add proxy and SSL support to WebKit Qt. Proxy works
3128 unauthenticated. Added hooks to be able to add authentication.
3129 Also fixes some network errors.
3131 * Api/qwebnetworkinterface.cpp:
3132 (QWebNetworkRequestPrivate::setURL):
3133 (QWebNetworkJob::frame):
3134 (WebCoreHttp::WebCoreHttp):
3135 (WebCoreHttp::scheduleNextRequest):
3136 (WebCoreHttp::onRequestFinished):
3137 (WebCoreHttp::onDone):
3138 (WebCoreHttp::onSslErrors):
3139 (WebCoreHttp::onAuthenticationRequired):
3140 (WebCoreHttp::onProxyAuthenticationRequired):
3141 * Api/qwebnetworkinterface.h:
3142 * Api/qwebnetworkinterface_p.h:
3144 (QWebPage::setNetworkProxy):
3145 (QWebPage::networkProxy):
3149 2007-06-21 Adam Treat <adam@staikos.net>
3151 Reviewed by George Staikos.
3153 Implement the default resources on Qt.
3157 * Api/qwebsettings.cpp:
3158 (QWebSettings::setWebGraphic):
3159 (QWebSettings::webGraphic):
3160 (loadResourcePixmap):
3161 * Api/qwebsettings.h:
3163 2007-06-15 Adam Treat <adam@staikos.net>
3165 Reviewed by George Staikos.
3167 Add ICO support to the Qt build.
3172 * Api/qwebsettings.cpp:
3173 (QWebSettings::setIconDatabaseEnabled):
3174 (QWebSettings::iconDatabaseEnabled):
3175 * Api/qwebsettings.h:
3177 * Plugins/ICOHandler.cpp: Added.
3178 (IcoHeader::operator >>):
3179 (IcoHeader::BMP_INFOHDR::):
3180 (IcoHeader::operator<<):
3181 (IcoHeader::LessDifference::LessDifference):
3182 (IcoHeader::LessDifference::operator ()):
3183 (IcoHeader::loadFromDIB):
3184 (ICOHandler::ICOHandler):
3185 (ICOHandler::canRead):
3187 (ICOHandler::write):
3190 (ICOPlugin::capabilities):
3191 (ICOPlugin::create):
3192 * Plugins/ICOHandler.h: Added.
3193 * Plugins/Plugins.pro: Added.
3194 * WebCoreSupport/FrameLoaderClientQt.cpp:
3195 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3197 2007-06-15 George Staikos <staikos@kde.org>
3199 Fixing the Qt build.
3201 * WebCoreSupport/ContextMenuClientQt.cpp:
3202 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
3203 * WebCoreSupport/ContextMenuClientQt.h:
3205 2007-06-20 Adam Roben <aroben@apple.com>
3207 More speculative Qt build fixes.
3209 Add a stub implementation of InspectorClientQt.
3211 * WebCoreSupport/InspectorClientQt.cpp: Added.
3212 (WebCore::InspectorClientQt::inspectorDestroyed):
3213 (WebCore::InspectorClientQt::createPage):
3214 (WebCore::InspectorClientQt::showWindow):
3215 (WebCore::InspectorClientQt::closeWindow):
3216 (WebCore::InspectorClientQt::attachWindow):
3217 (WebCore::InspectorClientQt::detachWindow):
3218 (WebCore::InspectorClientQt::highlight):
3219 (WebCore::InspectorClientQt::hideHighlight):
3220 * WebCoreSupport/InspectorClientQt.h: Added.
3222 2007-06-19 George Staikos <staikos@kde.org>
3224 Reviewed by Tim Hatcher.
3228 * Api/qwebnetworkinterface.cpp:
3229 (QWebNetworkInterface::addJob):
3230 (QWebNetworkInterface::cancelJob):
3231 (WebCoreHttp::WebCoreHttp):
3233 2007-06-14 George Staikos <staikos@kde.org>
3237 Add evaluateJavaScript() method.
3239 * Api/qwebframe.cpp:
3240 (QWebFrame::evaluateJavaScript):
3243 2007-06-14 George Staikos <staikos@kde.org>
3247 Implement most of the editing commands, better focus handling, fix some
3248 keyboard and mouse handling, and add keyboard navigation. May be
3249 refactored later as the key switches are ugly.
3251 * Api/qwebframe.cpp:
3252 (QWebFramePrivate::init):
3253 (QWebFrame::mousePressEvent):
3254 (QWebFrame::mouseReleaseEvent):
3255 (QWebFrame::wheelEvent):
3256 (QWebFrame::keyPressEvent):
3257 (QWebFrame::keyReleaseEvent):
3258 (QWebFrame::focusInEvent):
3259 (QWebFrame::focusOutEvent):
3260 (QWebFrame::focusNextPrevChild):
3262 * Api/qwebframe_p.h:
3263 * WebCoreSupport/EditorClientQt.cpp:
3264 (WebCore::EditorClientQt::handleKeypress):
3266 2007-06-14 George Staikos <staikos@kde.org>
3270 Implement all of the Javascript dialogs and file chooser.
3271 Also makes the statusbar virtual into a signal and shuffles some
3272 virtuals around a bit. The helper in FrameLoaderClientQt may go away
3276 (QWebPagePrivate::QWebPagePrivate):
3277 (QWebPage::javaScriptAlert):
3278 (QWebPage::javaScriptConfirm):
3279 (QWebPage::javaScriptPrompt):
3280 (QWebPage::chooseFile):
3282 * WebCoreSupport/ChromeClientQt.cpp:
3283 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3284 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3285 (WebCore::ChromeClientQt::runJavaScriptAlert):
3286 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3287 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3288 (WebCore::ChromeClientQt::setStatusbarText):
3289 * WebCoreSupport/FrameLoaderClientQt.cpp:
3290 (WebCore::FrameLoaderClientQt::chooseFile):
3291 * WebCoreSupport/FrameLoaderClientQt.h:
3293 2007-06-14 Simon Hausmann <hausmann@kde.org>
3297 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
3299 HistoryItem itself doesn't seem to have a parent pointer either.
3301 * Api/qwebpagehistory.h:
3303 2007-06-14 Simon Hausmann <hausmann@kde.org>
3307 Make it possible to copy QWebHistoryItem objects.
3309 * Api/qwebpagehistory.cpp:
3310 * Api/qwebpagehistory.h:
3312 2007-06-14 Lars Knoll <lars@trolltech.com>
3316 Fix a crash when a request from the plugin resulted
3319 * Api/qwebnetworkinterface.cpp:
3320 (QWebNetworkManager::started):
3322 2007-06-14 Lars Knoll <lars@trolltech.com>
3326 Work around a bug in Qt's QHttp implementation and
3327 get web pages to load again.
3332 2007-06-13 Simon Hausmann <hausmann@kde.org>
3336 Added a make install target that installs the Qt port and renamed
3337 WebKitQt to QtWebKit
3339 * Api/headers.pri: Added.
3340 * Api/qtwebkit.prf: Added.
3342 2007-06-13 Simon Hausmann <hausmann@kde.org>
3346 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
3348 * Api/qwebnetworkinterface.cpp:
3349 * Api/qwebnetworkinterface.h:
3351 2007-06-13 Simon Hausmann <hausmann@kde.org>
3355 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
3357 * Api/qwebnetworkinterface.h:
3358 * Api/qwebobjectpluginconnector.cpp:
3359 (QWebObjectPluginConnector::requestUrl):
3360 * Api/qwebobjectpluginconnector.h:
3362 2007-06-13 Simon Hausmann <hausmann@kde.org>
3366 Added a QWebNetworkRequest convenience constructor.
3368 * Api/qwebnetworkinterface.cpp:
3369 * Api/qwebnetworkinterface.h:
3373 2007-06-13 Simon Hausmann <hausmann@kde.org>
3377 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
3378 overload to take a QWebNetworkRequest instead.
3384 2007-06-13 Simon Hausmann <hausmann@kde.org>
3388 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
3389 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
3390 pick the individual fields if we can use them.
3395 2007-06-13 Simon Hausmann <hausmann@kde.org>
3399 Minor QWebNetworkRequet API fixlet
3401 * Api/qwebnetworkinterface.cpp:
3402 * Api/qwebnetworkinterface.h:
3404 2007-06-13 Simon Hausmann <hausmann@kde.org>
3408 Use QWebNetworkRequest for QWebPage::navigationRequested.
3410 * Api/qwebnetworkinterface.cpp:
3411 * Api/qwebnetworkinterface.h:
3413 (QWebPagePrivate::navigationRequested):
3414 (QWebPage::navigationRequested):
3417 * WebCoreSupport/FrameLoaderClientQt.cpp:
3418 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3420 2007-06-13 Simon Hausmann <hausmann@kde.org>
3424 Some docs for QWebNetworkRequest
3426 * Api/qwebnetworkinterface.cpp:
3427 (QWebNetworkRequest::QWebNetworkRequest):
3428 (QWebNetworkRequest::~QWebNetworkRequest):
3430 2007-06-13 Simon Hausmann <hausmann@kde.org>
3434 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
3436 * Api/qwebnetworkinterface.h:
3437 * Api/qwebobjectpluginconnector.cpp:
3438 (QWebObjectPluginConnector::requestUrl):
3439 * Api/qwebobjectpluginconnector.h:
3441 2007-06-13 Simon Hausmann <hausmann@kde.org>
3445 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
3447 * Api/qwebnetworkinterface.cpp:
3448 (QWebNetworkJob::postData):
3449 (WebCoreHttp::WebCoreHttp):
3450 (WebCoreHttp::scheduleNextRequest):
3451 * Api/qwebnetworkinterface.h:
3453 2007-06-13 Simon Hausmann <hausmann@kde.org>
3457 Introduce QWebNetworkRequest in the public API.
3459 * Api/qwebnetworkinterface.cpp:
3460 (QWebNetworkRequestPrivate::init):
3461 * Api/qwebnetworkinterface.h:
3462 * Api/qwebnetworkinterface_p.h:
3463 * WebCoreSupport/FrameLoaderClientQt.cpp:
3464 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3466 2007-06-13 Simon Hausmann <hausmann@kde.org>
3470 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
3472 * Api/qwebnetworkinterface.cpp:
3473 (QWebNetworkManager::add):
3474 (QWebNetworkManager::started):
3475 (QWebNetworkManager::data):
3476 (QWebNetworkManager::finished):
3477 * Api/qwebnetworkinterface_p.h:
3478 * Api/qwebobjectpluginconnector.cpp:
3479 (QWebObjectPluginConnector::requestUrl):
3481 2007-06-13 Simon Hausmann <hausmann@kde.org>
3485 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
3487 * Api/qwebnetworkinterface.cpp:
3488 (QWebNetworkRequest::init):
3489 (QWebNetworkRequest::setURL):
3490 (QWebNetworkManager::add):
3491 (QWebNetworkManager::started):
3492 * Api/qwebnetworkinterface_p.h:
3493 * WebCoreSupport/FrameLoaderClientQt.cpp:
3494 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3496 2007-06-12 Lars Knoll <lars@trolltech.com>
3498 Reviewed by George Staikos.
3500 Remove duplicate symbols.
3502 * Api/qwebobjectplugin_p.h:
3504 2007-06-13 Lars Knoll <lars@trolltech.com>
3508 Fix compilation, and remove dependency on Qt
3511 * Api/qwebobjectplugin_p.h:
3512 (QWebFactoryLoader::supportsMimeType):
3514 2007-06-13 Lars Knoll <lars@trolltech.com>
3518 Parts of the patch done by Zack.
3519 Fix up some parts in the implementation of QWebNetworkInterface
3520 so it can be used by plugins.
3521 Change the plugin API so we can actually get all the information
3522 required by the JS bridge from them as well.
3524 * Api/qwebnetworkinterface.cpp:
3525 (QWebNetworkJob::cancelled):
3526 (QWebNetworkManager::cancel):
3527 (QWebNetworkManager::started):
3528 (QWebNetworkManager::finished):
3529 * Api/qwebobjectplugin.cpp:
3530 (QWebFactoryLoader::QWebFactoryLoader):
3531 (QWebFactoryLoader::descriptionForName):
3532 (QWebFactoryLoader::mimetypesForName):
3533 (QWebFactoryLoader::mimeTypeForExtension):
3534 (QWebFactoryLoader::extensions):
3535 (QWebFactoryLoader::nameForMimetype):
3536 (QWebFactoryLoader::create):
3537 (QWebObjectPlugin::descriptionForKey):
3538 (QWebObjectPlugin::mimetypesForKey):
3539 * Api/qwebobjectplugin.h:
3540 * Api/qwebobjectplugin_p.h:
3541 (QWebFactoryLoader::names):
3542 * Api/qwebobjectpluginconnector.cpp:
3543 (QWebObjectPluginConnector::requestUrl):
3545 (QWebPage::networkInterface):
3547 2007-06-11 Simon Hausmann <hausmann@kde.org>
3551 Added a QWebPage::open overload to allow specifying the http header and post data.
3552 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
3553 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
3558 2007-06-11 Simon Hausmann <hausmann@kde.org>
3562 Added the possibility to intercept url requests through QWebPage::navigationRequested.
3565 (QWebPagePrivate::QWebPagePrivate):
3566 (QWebPage::createFrame):
3569 * WebCoreSupport/FrameLoaderClientQt.cpp:
3571 2007-06-11 Simon Hausmann <hausmann@kde.org>
3575 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3576 to be called from FrameLoaderClientQt in the near future.
3578 * Api/qwebnetworkinterface.cpp:
3579 (QWebNetworkManager::add):
3580 * Api/qwebnetworkinterface_p.h:
3582 2007-06-11 Simon Hausmann <hausmann@kde.org>
3586 Moved the postData setup into QWebNetworkRequest::init.
3588 * Api/qwebnetworkinterface.cpp:
3589 (QWebNetworkRequest::init):
3590 (QWebNetworkManager::add):
3592 2007-06-11 Simon Hausmann <hausmann@kde.org>
3596 Moved HTTP header field propagation to QWebNetworkRequest::init.
3598 * Api/qwebnetworkinterface.cpp:
3599 (QWebNetworkRequest::init):
3600 (QWebNetworkManager::add):
3602 2007-06-11 Simon Hausmann <hausmann@kde.org>
3606 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3607 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3609 * Api/qwebnetworkinterface.cpp:
3610 (QWebNetworkRequest::init):
3611 (QWebNetworkManager::add):
3612 * Api/qwebnetworkinterface_p.h:
3613 * Api/qwebobjectpluginconnector.cpp:
3614 (QWebObjectPluginConnector::requestUrl):
3616 2007-06-11 Zack Rusin <zrusin@trolltech.com>
3620 Forgot to export the plugin connector.
3622 * Api/qwebobjectpluginconnector.h
3624 2007-06-08 Lars Knoll <lars@trolltech.com>
3628 Add a QWebObjectPluginConnector class. The class will
3629 facility communication between the plugin and WebKit.
3630 Currently it's used to make the plugin network capable.
3632 * Api/qwebnetworkinterface.cpp:
3633 (QWebNetworkJobPrivate::setDefaults):
3634 (QWebNetworkManager::add):
3635 (QWebNetworkManager::started):
3636 (QWebNetworkManager::data):
3637 (QWebNetworkManager::finished):
3638 * Api/qwebnetworkinterface.h:
3639 * Api/qwebnetworkinterface_p.h:
3640 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3641 * Api/qwebobjectplugin.cpp:
3642 (QWebFactoryLoader::create):
3643 * Api/qwebobjectplugin.h:
3644 * Api/qwebobjectplugin_p.h:
3645 * Api/qwebobjectpluginconnector.cpp: Added.
3646 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3647 (QWebObjectPluginConnector::frame):
3648 (QWebObjectPluginConnector::pluginParentWidget):
3649 (QWebObjectPluginConnector::requestUrl):
3650 * Api/qwebobjectpluginconnector.h: Added.
3651 (QWebObjectPluginConnector::):
3652 * WebCoreSupport/FrameLoaderClientQt.cpp:
3653 (WebCore::FrameLoaderClientQt::createPlugin):
3655 2007-06-06 Lars Knoll <lars@trolltech.com>
3659 Add an API to create and load plugins.
3660 Don't include moc files by hand anymore, rather let
3663 * Api/qcookiejar.cpp:
3664 (QCookieJar::cookieJar):
3665 * Api/qwebframe.cpp:
3666 (QWebFrame::scrollContentsBy):
3667 * Api/qwebnetworkinterface.cpp:
3668 * Api/qwebobjectplugin.cpp: Added.
3669 (QWebFactoryLoader::QWebFactoryLoader):
3670 (QWebFactoryLoader::self):
3671 (QWebFactoryLoader::mimeTypeForExtension):
3672 (QWebFactoryLoader::create):
3673 (QWebObjectPlugin::QWebObjectPlugin):
3674 (QWebObjectPlugin::~QWebObjectPlugin):
3675 (QWebObjectPlugin::extensionsForMimetype):
3676 * Api/qwebobjectplugin.h: Added.
3677 * Api/qwebobjectplugin_p.h: Added.
3678 (QWebFactoryLoader::mimeTypes):
3679 (QWebFactoryLoader::extensions):
3680 (QWebFactoryLoader::supportsMimeType):
3682 (QWebPage::settings):
3683 * WebCoreSupport/FrameLoaderClientQt.cpp:
3684 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3685 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3686 (WebCore::FrameLoaderClientQt::objectContentType):
3687 (WebCore::FrameLoaderClientQt::createPlugin):
3689 2007-05-28 Zack Rusin <zrusin@trolltech.com>
3691 Reviewed by andersca and simon
3693 Adding public settings Api to the Qt port.
3694 QWebSetting's is a value based settings
3695 object settable on the QWebPage.
3698 (QWebPagePrivate::QWebPagePrivate):
3699 (QWebPage::QWebPage):
3700 (QWebPage::setSettings):
3701 (QWebPage::settings):
3703 * Api/qwebsettings.cpp: Added.
3704 (QWebSettingsPrivate::QWebSettingsPrivate):
3705 (QWebSettings::QWebSettings):
3706 (QWebSettings::~QWebSettings):
3707 (QWebSettings::setMinimumFontSize):
3708 (QWebSettings::minimumFontSize):
3709 (QWebSettings::setMinimumLogicalFontSize):
3710 (QWebSettings::minimumLogicalFontSize):
3711 (QWebSettings::setDefaultFontSize):
3712 (QWebSettings::defaultFontSize):
3713 (QWebSettings::setDefaultFixedFontSize):
3714 (QWebSettings::defaultFixedFontSize):
3715 (QWebSettings::setUserStyleSheetLocation):
3716 (QWebSettings::userStyleSheetLocation):
3717 (QWebSettings::setGlobal):
3718 (QWebSettings::global):
3719 (QWebSettings::setFontFamily):
3720 (QWebSettings::fontFamily):
3721 (QWebSettings::setAttribute):
3722 (QWebSettings::testAttribute):
3723 * Api/qwebsettings.h: Added.
3724 * QtLauncher/main.cpp:
3726 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
3728 Reviewed by Sam Weinig.
3730 Consolidate all notImplemented() macro definitions into
3731 one header file for all platforms.
3733 * WebCoreSupport/ChromeClientQt.cpp:
3734 * WebCoreSupport/ContextMenuClientQt.cpp:
3735 * WebCoreSupport/EditorClientQt.cpp:
3736 * WebCoreSupport/FrameLoaderClientQt.cpp:
3738 2007-05-25 George Staikos <staikos@kde.org>
3742 The http loader should only ask for .... http cookies!
3744 * Api/qwebnetworkinterface.cpp:
3745 (QWebNetworkManager::add):
3747 2007-05-24 Simon Hausmann <hausmann@kde.org>
3751 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
3752 correctly. Fortunately WebCore does it already, so there's no need
3753 for us to do it since we already transfer all HTTP header fields :)
3755 * Api/qwebnetworkinterface.cpp:
3756 (QWebNetworkManager::add):
3758 2007-05-23 Simon Hausmann <hausmann@kde.org>
3760 Reviewed by Zack, idea from Lars.
3762 Share WebCoreHttp and therefore HTTP connections among multiple
3763 QWebNetworkInterface instances by moving the code into
3766 * Api/qwebnetworkinterface.cpp:
3767 (QWebNetworkManager::addHttpJob):
3768 (QWebNetworkManager::cancelHttpJob):
3769 (QWebNetworkManager::httpConnectionClosed):
3770 (QWebNetworkInterface::addJob):
3771 (QWebNetworkInterface::cancelJob):
3772 (WebCoreHttp::scheduleNextRequest):
3773 (WebCoreHttp::onResponseHeaderReceived):
3774 (WebCoreHttp::onReadyRead):
3775 (WebCoreHttp::onRequestFinished):
3776 (WebCoreHttp::cancel):
3777 * Api/qwebnetworkinterface.h:
3778 * Api/qwebnetworkinterface_p.h:
3780 2007-05-23 Simon Hausmann <hausmann@kde.org>
3782 Reviewed by Zack, discussed also with Lars.
3784 Make it possible to specify a per-QWebPage network interface (needed
3785 for the KDE KIO integration).
3787 Merged the file and the network loader into
3788 QWebNetworkInterface(Private), which simplifies the loading code.
3790 When receiving a redirection don't emit the data of the redirected job
3791 to the document. (otherwise the kind of "This page has moved" text
3792 appears right on top of the real page content)
3794 * Api/qwebnetworkinterface.cpp:
3797 (QWebNetworkJob::QWebNetworkJob):
3798 (QWebNetworkJob::networkInterface):
3799 (QWebNetworkManager::add):
3800 (QWebNetworkManager::cancel):
3801 (QWebNetworkManager::data):
3802 (QWebNetworkManager::finished):
3803 (QWebNetworkInterfacePrivate::sendFileData):
3804 (QWebNetworkInterfacePrivate::parseDataUrl):
3805 (QWebNetworkInterfacePrivate::addHttpJob):
3806 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3807 (QWebNetworkInterface::setDefaultInterface):
3808 (QWebNetworkInterface::QWebNetworkInterface):
3809 (QWebNetworkInterface::addJob):
3810 (QWebNetworkInterface::cancelJob):
3811 (WebCoreHttp::scheduleNextRequest):
3812 (WebCoreHttp::onResponseHeaderReceived):
3813 (WebCoreHttp::onReadyRead):
3814 (WebCoreHttp::onRequestFinished):
3815 (WebCoreHttp::cancel):
3816 * Api/qwebnetworkinterface.h:
3817 * Api/qwebnetworkinterface_p.h:
3819 (QWebPagePrivate::QWebPagePrivate):
3820 (QWebPage::setNetworkInterface):
3824 2007-05-23 Lars Knoll <lars@trolltech.com>
3828 Don't do HTTP downloads in a second thread. Simplifies
3829 the code significantly and fixes crashes on some
3832 * Api/qwebnetworkinterface.cpp:
3833 (QWebNetworkManager::add):
3834 (QWebNetworkInterface::QWebNetworkInterface):
3835 (QWebNetworkInterface::addJob):
3836 (QWebNetworkInterface::cancelJob):
3837 (LoaderThread::LoaderThread):
3838 (LoaderThread::run):
3839 (WebCoreHttp::cancel):
3840 (NetworkLoader::NetworkLoader):
3841 (NetworkLoader::request):
3842 (NetworkLoader::cancel):
3843 * Api/qwebnetworkinterface_p.h:
3844 * WebCoreSupport/FrameLoaderClientQt.cpp:
3845 (WebCore::FrameLoaderClientQt::committedLoad):
3846 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3848 2007-05-23 Lars Knoll <lars@trolltech.com>
3852 * Api/qwebnetworkinterface.cpp:
3853 (QWebNetworkJobPrivate::setURL):
3854 (QWebNetworkManager::started):
3855 Fix Host: line in HTTP headers and resolving of relative URLs
3857 * Api/qwebnetworkinterface_p.h:
3858 Clean up qHash forward declaration a bit.
3860 2007-05-23 Simon Hausmann <hausmann@kde.org>
3864 * QtLauncher/main.cpp:
3865 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3867 2007-05-22 Simon Hausmann <hausmann@kde.org>
3871 * Api/qwebnetworkinterface.cpp:
3872 (QWebNetworkManager::add): Fix http headers for POST.
3874 2007-05-21 Lars Knoll <lars@trolltech.com>
3878 Remove the userHandle methods from QWebnetworkJob again.
3879 They don't really give us anything and just clutter the API.
3881 * Api/qwebnetworkinterface.cpp:
3882 * Api/qwebnetworkinterface.h:
3883 * Api/qwebnetworkinterface_p.h:
3885 2007-05-21 Simon Hausmann <hausmann@kde.org>
3889 * Api/qwebnetworkinterface.h: Export the net API.
3891 2007-05-21 Lars Knoll <lars@trolltech.com>
3895 Add an API layer for network downloads. Basically QWebnetworkInterface
3896 is an interface class for downloading resources. QWebnetworkJob describes
3897 the actual object to download.
3899 QWebNetworkInterface has a default implementation that replaces the
3900 old ResourceHandleManager class in the Qt port.
3902 * Api/qwebnetworkinterface.cpp: Added.
3903 (QWebNetworkJobPrivate::setURL):
3904 (QWebNetworkJob::QWebNetworkJob):
3905 (QWebNetworkJob::~QWebNetworkJob):
3906 (QWebNetworkJob::url):
3907 (QWebNetworkJob::postData):
3908 (QWebNetworkJob::request):
3909 (QWebNetworkJob::response):
3910 (QWebNetworkJob::setResponse):
3911 (QWebNetworkJob::cancelled):
3912 (QWebNetworkJob::ref):
3913 (QWebNetworkJob::deref):
3914 (QWebNetworkJob::setUserHandle):
3915 (QWebNetworkJob::userHandle):
3916 (QWebNetworkManager::QWebNetworkManager):
3917 (QWebNetworkManager::self):
3918 (QWebNetworkManager::add):
3919 (QWebNetworkManager::cancel):
3920 (QWebNetworkManager::started):
3921 (QWebNetworkManager::data):
3922 (QWebNetworkManager::finished):
3923 (QWebNetworkInterface::setDefaultInterface):
3924 (QWebNetworkInterface::defaultInterface):
3925 (QWebNetworkInterface::QWebNetworkInterface):
3926 (QWebNetworkInterface::~QWebNetworkInterface):
3927 (QWebNetworkInterface::addJob):
3928 (QWebNetworkInterface::cancelJob):
3929 (LoaderThread::LoaderThread):
3930 (LoaderThread::run):
3931 (FileLoader::FileLoader):
3932 (FileLoader::request):
3933 (FileLoader::sendData):
3934 (FileLoader::parseDataUrl):
3935 (WebCoreHttp::WebCoreHttp):
3936 (WebCoreHttp::~WebCoreHttp):
3937 (WebCoreHttp::request):
3938 (WebCoreHttp::scheduleNextRequest):
3939 (WebCoreHttp::getConnection):
3940 (WebCoreHttp::onResponseHeaderReceived):
3941 (WebCoreHttp::onReadyRead):
3942 (WebCoreHttp::onRequestFinished):
3943 (WebCoreHttp::onStateChanged):
3944 (WebCoreHttp::cancel):
3945 (HostInfo::HostInfo):
3948 (NetworkLoader::NetworkLoader):
3949 (NetworkLoader::~NetworkLoader):
3950 (NetworkLoader::request):
3951 (NetworkLoader::connectionClosed):
3952 (NetworkLoader::cancel):
3953 * Api/qwebnetworkinterface.h: Added.
3954 (QWebNetworkJob::setHandle):
3955 (QWebNetworkJob::handle):
3956 * Api/qwebnetworkinterface_p.h: Added.
3957 (WebCore::LoaderThread::):
3958 (WebCore::LoaderThread::waitForSetup):
3959 (WebCore::HostInfo::HostInfo):
3961 2007-05-18 Simon Hausmann <hausmann@kde.org>
3963 Reviewed by Nikolas.
3965 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3966 percent integer instead of a double precision floating pointer number.
3967 * WebCoreSupport/FrameLoaderClientQt.cpp:
3968 (WebCore::FrameLoaderClientQt::setFrame):
3969 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3970 * WebCoreSupport/FrameLoaderClientQt.h:
3972 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3974 Reviewed by Zack Rusin.
3976 The default constructed KeyboardEvent has
3977 no PlatformKeyboardEvent.
3979 * WebCoreSupport/EditorClientQt.cpp:
3980 (WebCore::EditorClientQt::handleKeypress):
3982 2007-05-17 Adam Treat <adam@staikos.net>
3984 Reviewed by George Staikos.
3986 - Implement frameLoadCompleted
3987 - Fix build (by George)
3989 * WebCoreSupport/FrameLoaderClientQt.cpp:
3990 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3991 (WebCore::FrameLoaderClientQt::createFrame):
3993 2007-05-17 Adam Treat <adam@staikos.net>
3995 Reviewed by George Staikos.
3997 Implement canShowMIMEType
3999 * WebCoreSupport/FrameLoaderClientQt.cpp:
4000 (WebCore::FrameLoaderClientQt::canShowMIMEType):
4002 2007-05-16 Lars Knoll <lars@trolltech.com>
4006 pass the mouse events to the event handler, not the frameview.
4008 * Api/qwebframe.cpp:
4009 (QWebFrame::mouseMoveEvent):
4010 (QWebFrame::mouseReleaseEvent):
4012 2007-05-14 Lars Knoll <lars@trolltech.com>
4016 Updates after Maciej's frame change.
4020 Call stopForUserCancel() instead of stopAllLoaders()
4021 * WebCoreSupport/FrameLoaderClientQt.cpp:
4022 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
4023 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
4024 (WebCore::FrameLoaderClientQt::didFinishLoad):
4025 (WebCore::FrameLoaderClientQt::setMainDocumentError):
4026 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
4027 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
4028 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
4029 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
4030 Call QWebFrame::loadDone() from the places it's supposed to be
4033 2007-05-12 Maciej Stachowiak <mjs@apple.com>
4035 Reviewed by Rob Buis.
4037 - call Frame::init as needed - this prevents crashes but pages don't appear.
4039 * Api/qwebframe.cpp:
4040 (QWebFramePrivate::init):
4041 * WebKitPart/WebKitPart.cpp:
4042 (WebKitPart::initView):
4044 2007-05-08 Steve Falkenburg <sfalken@apple.com>
4048 Slight modification to last editor method fix.
4050 * WebCoreSupport/EditorClientQt.cpp:
4051 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
4052 * WebCoreSupport/EditorClientQt.h:
4054 2007-05-03 Steve Falkenburg <sfalken@apple.com>
4058 Add missing user description parameter to spelling-related editor client method.
4060 * WebCoreSupport/EditorClientQt.cpp:
4061 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
4062 * WebCoreSupport/EditorClientQt.h:
4064 2007-04-29 Oliver Hunt <oliver@apple.com>
4068 Tie QT drag events to the DragController logic
4069 to allow drag and drop events to be handled by
4072 * Api/qwebframe.cpp:
4075 (QWebPagePrivate::QWebPagePrivate):
4076 (QWebPage::QWebPage):
4077 (dropActionToDragOp):
4078 (dragOpToDropAction):
4079 (QWebPage::dragEnterEvent):
4080 (QWebPage::dragLeaveEvent):
4081 (QWebPage::dragMoveEvent):
4082 (QWebPage::dropEvent):
4084 * WebCoreSupport/DragClientQt.cpp:
4085 (WebCore::DragClientQt::startDrag):
4086 * WebCoreSupport/DragClientQt.h:
4087 (WebCore::DragClientQt::DragClientQt):
4089 2007-04-27 Holger Freyther <freyther@kde.org>
4093 Remove unmaintained CMake build system.
4095 * QtLauncher/CMakeLists.txt: Removed.
4096 * WebKitPart/CMakeLists.txt: Removed.
4098 2007-04-25 Steve Falkenburg <sfalken@apple.com>
4102 Fix spelling error in spelling method name.
4104 * WebCoreSupport/EditorClientQt.cpp:
4105 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
4106 * WebCoreSupport/EditorClientQt.h:
4108 2007-04-24 Steve Falkenburg <sfalken@apple.com>
4112 Spelling and grammar stubs
4114 * WebCoreSupport/EditorClientQt.cpp:
4115 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
4116 (WebCore::EditorClientQt::learnWord):
4117 (WebCore::EditorClientQt::checkSpellingOfString):
4118 (WebCore::EditorClientQt::checkGrammarOfString):
4119 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
4120 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
4121 (WebCore::EditorClientQt::showSpellingUI):
4122 (WebCore::EditorClientQt::spellingUIIsShowing):
4123 (WebCore::EditorClientQt::getGuessesForWord):
4124 * WebCoreSupport/EditorClientQt.h:
4126 2007-04-11 MorganL <morganl.webkit@yahoo.com>
4130 Add a Frame pointer to ChromeClient methods:
4131 http://bugs.webkit.org/show_bug.cgi?id=13127
4133 * WebCoreSupport/ChromeClientQt.cpp:
4134 (WebCore::ChromeClientQt::createWindow):
4135 (WebCore::ChromeClientQt::createModalDialog):
4136 * WebCoreSupport/ChromeClientQt.h:
4138 2007-04-12 Mark Rowe <mrowe@apple.com>
4140 Second part of Qt build fix.
4142 * WebCoreSupport/FrameLoaderClientQt.cpp:
4143 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
4144 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
4145 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
4146 * WebCoreSupport/FrameLoaderClientQt.h:
4148 2007-03-27 Zack Rusin <zrusin@trolltech.com>
4150 Fix the rendering crashes due triggered
4151 asserts. Improve a bit the layout
4154 * Api/qwebframe.cpp:
4155 (QWebFrame::resizeEvent):
4156 (QWebFrame::paintEvent):
4157 * WebCoreSupport/FrameLoaderClientQt.cpp:
4158 (WebCore::FrameLoaderClientQt::forceLayout):
4160 2007-03-16 Lars Knoll <lars@trolltech.com>
4162 Fix the Qt build once again.
4164 * WebCoreSupport/EditorClientQt.cpp:
4165 (WebCore::EditorClientQt::handleKeypress):
4166 * WebCoreSupport/FrameLoaderClientQt.cpp:
4167 (WebCore::FrameLoaderClientQt::blockedError):
4168 * WebCoreSupport/FrameLoaderClientQt.h:
4170 2007-03-13 Lars Knoll <lars@trolltech.com>
4174 Don't try to load <object> tags with an invalid url.
4175 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
4176 which hit an assertion in the frameloader.
4178 * WebCoreSupport/FrameLoaderClientQt.cpp:
4179 (WebCore::FrameLoaderClientQt::objectContentType):
4181 2007-03-13 Lars Knoll <lars@trolltech.com>
4185 Fix some crashes in the Qt build.
4187 * Api/qwebframe.cpp:
4188 (QWebFrame::markup):
4189 Check for null pointer
4190 * WebCoreSupport/FrameLoaderClientQt.cpp:
4191 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
4192 Don't use an async callback into the FrameLoader.
4193 (WebCore::FrameLoaderClientQt::createFrame):
4195 2007-03-11 Oliver Hunt <oliver@apple.com>
4199 Stub for EditorClientQt::respondToChangedSelection
4201 * WebCoreSupport/EditorClientQt.cpp:
4202 (WebCore::EditorClientQt::respondToChangedSelection):
4203 * WebCoreSupport/EditorClientQt.h:
4205 2007-03-07 Adele Peterson <adele@apple.com>
4209 WebKitQT part of fix for:
4210 http://bugs.webkit.org/show_bug.cgi?id=10871
4211 http://bugs.webkit.org/show_bug.cgi?id=12677
4212 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
4213 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
4215 * WebCoreSupport/EditorClientQt.cpp:
4216 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
4217 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
4218 * WebCoreSupport/EditorClientQt.h:
4220 2007-03-07 Darin Adler <darin@apple.com>
4222 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
4224 2007-03-07 Darin Adler <darin@apple.com>
4226 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
4227 Try to fix the build by correcting the parameter here.
4229 2007-03-02 Sam Weinig <sam@webkit.org>
4233 Try to fix the Qt build
4235 * WebCoreSupport/DragClientQt.cpp:
4236 (WebCore::DragClientQt::willPerformDragDestinationAction):
4237 (WebCore::DragClientQt::dragControllerDestroyed):
4238 (WebCore::DragClientQt::createDragImageForLink):
4240 2007-02-26 Maciej Stachowiak <mjs@apple.com>
4242 Reviewed by Kevin McCullough.
4244 - fix Qt build for earlier SVG changes.
4246 * WebCoreSupport/EditCommandQt.cpp:
4248 2007-02-24 Zack Rusin <zrusin@trolltech.com>
4250 Adjust the animation a little bit to make it more natural.
4252 * QtLauncher/main.cpp:
4253 (HoverLabel::paintEvent):
4255 2007-02-23 Zack Rusin <zrusin@trolltech.com>
4257 Adding a little bit of eye-candy to the last
4258 commit (animations on hover events)
4260 * QtLauncher/main.cpp:
4261 (HoverLabel::HoverLabel):
4262 (HoverLabel::setHoverLink):
4263 (HoverLabel::sizeForFont):
4264 (HoverLabel::sizeHint):
4265 (HoverLabel::resetAnimation):
4266 (HoverLabel::paintEvent):
4267 (HoverLabel::interpolate):
4268 (SearchEdit::resizeEvent):
4270 2007-02-23 Zack Rusin <zrusin@trolltech.com>
4274 Adding API and code for notification of when the
4275 mouse is hovering over a link and adding code to
4276 the sample app to showcase it.
4278 * Api/qwebframe.cpp:
4279 (QWebFrame::mouseMoveEvent):
4281 * Api/qwebframe_p.h:
4282 (QWebFramePrivate::QWebFramePrivate):
4284 (QWebPage::createFrame):
4286 * QtLauncher/main.cpp:
4287 (HoverLabel::HoverLabel):
4288 (HoverLabel::setHoverLink):
4289 (HoverLabel::sizeHint):
4290 (HoverLabel::updateSize):
4291 (HoverLabel::paintEvent):
4292 (ClearButton::ClearButton):
4293 (ClearButton::paintEvent):
4294 (SearchEdit::SearchEdit):
4295 (SearchEdit::resizeEvent):
4296 (SearchEdit::moveEvent):
4297 (MainWindow::MainWindow):
4298 (MainWindow::showLinkHover):
4299 (MainWindow::resizeEvent):
4301 2007-02-22 Zack Rusin <zrusin@trolltech.com>
4305 Fixing the default scroll offset, cleaning
4306 up private methods and making the default
4307 look not use any frames.
4309 * Api/qwebframe.cpp:
4310 (QWebFramePrivate::init):
4311 (QWebFramePrivate::_q_handleKeyEvent):
4312 (QWebFrame::QWebFrame):
4313 (QWebFrame::wheelEvent):
4314 (QWebFrame::keyPressEvent):
4315 (QWebFrame::keyReleaseEvent):
4317 * Api/qwebframe_p.h:
4319 2007-02-22 Zack Rusin <zrusin@trolltech.com>
4323 Make the qwebframe act as a proper canvas.
4324 Implement it on top of QAbstractScrollArea.
4326 * Api/qwebframe.cpp:
4327 (QWebFramePrivate::init):
4328 (QWebFramePrivate::_q_adjustScrollbars):
4330 (QWebFrame::QWebFrame):
4331 (QWebFrame::resizeEvent):
4332 (QWebFrame::childFrames):
4333 (QWebFrame::paintEvent):
4334 (QWebFrame::mouseMoveEvent):
4335 (QWebFrame::mousePressEvent):
4336 (QWebFrame::mouseReleaseEvent):
4337 (QWebFrame::wheelEvent):
4338 (QWebFrame::keyPressEvent):
4339 (QWebFrame::keyReleaseEvent):
4340 (QWebFrame::dragEnterEvent):
4341 (QWebFrame::dragLeaveEvent):
4342 (QWebFrame::dragMoveEvent):
4343 (QWebFrame::handleKeyEvent):
4344 (QWebFrame::scrollContentsBy):
4346 * Api/qwebframe_p.h:
4347 (QWebFramePrivate::QWebFramePrivate):
4349 2007-02-21 George Staikos <staikos@kde.org>
4353 Add more editing support, and undo/redo. Requires some nasty evil
4354 hacks that have to be sorted out in WebCore/editor.
4357 (QWebPagePrivate::QWebPagePrivate):
4358 (QWebPagePrivate::~QWebPagePrivate):
4359 (QWebPage::undoStack):
4362 * WebCoreSupport/EditorClientQt.cpp:
4363 (WebCore::EditorClientQt::didBeginEditing):
4364 (WebCore::EditorClientQt::didEndEditing):
4365 (WebCore::EditorClientQt::isEditable):
4366 (WebCore::EditorClientQt::registerCommandForUndo):
4367 (WebCore::EditorClientQt::registerCommandForRedo):
4368 (WebCore::EditorClientQt::clearUndoRedoOperations):
4369 (WebCore::EditorClientQt::canUndo):
4370 (WebCore::EditorClientQt::canRedo):
4371 (WebCore::EditorClientQt::undo):
4372 (WebCore::EditorClientQt::redo):
4373 (WebCore::EditorClientQt::handleKeyPress):
4374 (WebCore::EditorClientQt::EditorClientQt):
4375 (WebCore::EditorClientQt::textFieldDidBeginEditing):
4376 (WebCore::EditorClientQt::textFieldDidEndEditing):
4377 (WebCore::EditorClientQt::isEditing):
4378 * WebCoreSupport/EditorClientQt.h:
4380 2007-02-21 Zack Rusin <zrusin@trolltech.com>
4384 * WebCoreSupport/ContextMenuClientQt.cpp:
4385 * WebCoreSupport/ContextMenuClientQt.h:
4387 2007-02-21 George Staikos <staikos@kde.org>
4394 2007-02-20 Zack Rusin <zrusin@trolltech.com>
4398 Make editing of forms work plus make sure that non-void methods
4399 always return something.
4401 * WebCoreSupport/ChromeClientQt.cpp:
4402 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
4403 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
4404 (WebCore::ChromeClientQt::runJavaScriptConfirm):
4405 (WebCore::ChromeClientQt::runJavaScriptPrompt):
4406 (WebCore::ChromeClientQt::shouldInterruptJavaScript):