1 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5 * Get the RefCounting of WebCore::Frame right and make sure that both QWebFrame
6 and WebCore::Frame get destroyed if we leave site with subframes and on the
7 end of the application.
8 * Use adoptRef in FrameLoaderClientQt::createFrame to get the refs right for subframes. We
9 do not want to add an extra reference. Without this we are leaking subframes.
10 * Assume that the lifetime of a Frame and FrameLoader are the same, when the Frame is gone
11 we want to destroy the QWebFrame (e.g. on a page with subframes). Add delete m_webFrame
12 in the frameLoaderDestroyed method to do that.
13 * If we happen to delete the QWebFrame before the FrameLoaderClientQt we set m_webFrame to
14 zero in the FrameLoaderClientQt to avoid bad things.
18 (QWebFrame::~QWebFrame):
19 * WebCoreSupport/FrameLoaderClientQt.cpp:
20 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
21 (WebCore::FrameLoaderClientQt::objectContentType):
22 * WebCoreSupport/FrameLoaderClientQt.h:
24 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
28 * Do not save a RefPtr to the frame. The FrameLoaderClient, Frame and
29 QWebFrame should have the same lifetime everything else is a leak
33 (QWebFramePrivate::init):
35 * WebCoreSupport/FrameLoaderClientQt.cpp:
37 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
41 * Do not store the QWebFrame associated with a ScrollView/FrameView
42 in the WebCore::Widget.
43 * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core
44 and QWebFramePrivate::kit function to convert from and to QWebFrame.
48 (QWebFramePrivate::init):
50 (QWebPagePrivate::createMainFrame):
52 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
56 * Do not store the FrameView in the QWebFrame and cope with the situation when
57 a WebCore::Frame has no WebCore::FrameView.
61 (QWebFramePrivate::init):
62 (QWebFramePrivate::horizontalScrollBar):
63 (QWebFramePrivate::verticalScrollBar):
64 (QWebFrame::innerText):
65 (QWebFrame::renderTreeDump):
66 (QWebFrame::setVerticalScrollBarPolicy):
67 (QWebFrame::setHorizontalScrollBarPolicy):
72 (QWebFramePrivate::QWebFramePrivate):
74 (QWebPagePrivate::updateEditorActions):
75 (QWebPagePrivate::mouseMoveEvent):
76 (QWebPagePrivate::mousePressEvent):
77 (QWebPagePrivate::mouseDoubleClickEvent):
78 (QWebPagePrivate::contextMenuEvent):
79 (QWebPagePrivate::wheelEvent):
80 (QWebPage::triggerAction):
81 * WebCoreSupport/FrameLoaderClientQt.cpp:
83 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
87 * Change the order of the methods to match with the FrameLoaderClient.h to ease
88 removing methods in the future.
90 * WebCoreSupport/FrameLoaderClientQt.h:
92 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
96 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
98 * WebCoreSupport/FrameLoaderClientQt.cpp:
99 (WebCore::FrameLoaderClientQt::detachedFromParent4):
100 * WebCoreSupport/FrameLoaderClientQt.h:
102 2008-03-25 Brady Eidson <beidson@apple.com>
106 Remove newly obsolete FrameLoaderClient methods
108 * WebCoreSupport/FrameLoaderClientQt.cpp:
109 * WebCoreSupport/FrameLoaderClientQt.h:
111 2008-03-22 Mark Rowe <mrowe@apple.com>
115 * WebCoreSupport/FrameLoaderClientQt.cpp:
118 2008-03-18 Simon Hausmann <hausmann@webkit.org>
122 Fix the Qt build. Don't return void in non-void functions.
124 * Api/qwebpluginfactory.cpp:
125 (QWebPluginFactory::extension):
127 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
131 Don't use RefPtr in classes you haven't seen the implementation of.
133 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
134 cannot *use* said objects until Foo is defined. This is true even for
135 initialisation with a 0.
137 Seems the HP aCC compiler is more strict here than gcc.
141 2008-03-14 Simon Hausmann <hausmann@webkit.org>
146 (QWebFrame::setHtml):
147 (QWebFrame::setContent):
149 2008-03-13 Simon Hausmann <hausmann@webkit.org>
154 (QWebFrame::addToJSWindowObject):
156 2008-03-12 Simon Hausmann <hausmann@webkit.org>
158 Fix compilation against Qt 4.3
164 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
168 * WebCoreSupport/FrameLoaderClientQt.cpp:
169 (FrameLoaderClientQt::CreatePlugin):
171 2008-03-11 Simon Hausmann <hausmann@webkit.org>
173 Fix the Qt build (silly typo).
175 * QtLauncher/main.cpp:
176 (MainWindow::MainWindow):
178 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
182 Moved obscuring progress bar to the lower right corner.
184 * QtLauncher/main.cpp:
185 (MainWindow::MainWindow):
186 (MainWindow::resizeEvent):
188 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
192 Added reload action and grouped stop and reload actions together.
194 * QtLauncher/main.cpp:
195 (MainWindow::MainWindow):
197 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
201 * Set a Icon on the QAction if we have one.
206 2008-03-11 Simon Hausmann <hausmann@webkit.org>
211 (QWebFrame::addToJSWindowObject):
213 2008-03-07 Simon Hausmann <hausmann@webkit.org>
219 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
221 * Api/qwebnetworkinterface.cpp:
222 (QWebNetworkManager::add):
223 (QWebNetworkManager::cancel):
224 (QWebNetworkManager::started):
225 (QWebNetworkManager::data):
226 (QWebNetworkManager::finished):
227 * Api/qwebnetworkinterface_p.h:
228 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
229 * Api/qwebobjectplugin.cpp: Removed.
230 * Api/qwebobjectplugin.h: Removed.
231 * Api/qwebobjectplugin_p.h: Removed.
232 * Api/qwebobjectpluginconnector.cpp: Removed.
233 * Api/qwebobjectpluginconnector.h: Removed.
235 (QWebPagePrivate::QWebPagePrivate):
236 (QWebPage::setPluginFactory):
237 (QWebPage::pluginFactory):
240 * Api/qwebpluginfactory.cpp: Added.
241 (QWebPluginFactory::QWebPluginFactory):
242 (QWebPluginFactory::~QWebPluginFactory):
243 (QWebPluginFactory::refreshPlugins):
244 (QWebPluginFactory::extension):
245 * Api/qwebpluginfactory.h: Added.
247 * WebCoreSupport/FrameLoaderClientQt.cpp:
248 (WebCore::FrameLoaderClientQt::objectContentType):
249 (WebCore::FrameLoaderClientQt::createPlugin):
251 2008-03-07 Simon Hausmann <hausmann@webkit.org>
257 2008-03-04 Sam Weinig <sam@webkit.org>
259 Reviewed by Mark Rowe.
261 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
265 (QWebFrame::addToJSWindowObject):
267 2008-03-04 Mark Rowe <mrowe@apple.com>
269 Another go at fixing the Qt build.
272 (QWebFrame::addToJSWindowObject):
274 2008-02-24 Darin Adler <darin@apple.com>
278 - remove separate client calls for "standard" and "reload' history
280 * WebCoreSupport/FrameLoaderClientQt.cpp:
281 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
282 * WebCoreSupport/FrameLoaderClientQt.h:
284 2008-02-24 Darin Adler <darin@apple.com>
286 - another try at fixing the build
289 (QWebFrame::load): Replace new FormData with FormData::create.
291 2008-02-22 Sam Weinig <sam@webkit.org>
295 * Api/qwebhistoryinterface.cpp:
297 2008-02-22 Sam Weinig <sam@webkit.org>
299 Rubber-stamped by Adam Roben.
301 Rid the project of the Devil known as DeprecatedString!
303 * Api/qwebhistory.cpp:
304 * Api/qwebhistoryinterface.cpp:
306 2008-02-18 Darin Adler <darin@apple.com>
310 * Api/qwebnetworkinterface.cpp:
311 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
313 2008-01-24 David Boddie <dboddie@trolltech.com>
317 Documentation tidying.
321 * Api/qwebhistoryinterface.cpp:
324 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
328 Text for translations were used wrongly as comments
331 * WebCoreSupport/FrameLoaderClientQt.cpp:
333 (WebCore::FrameLoaderClientQt::cannotShowURLError):
334 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
335 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
336 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
337 (WebCore::FrameLoaderClientQt::shouldFallBack):
339 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
343 * We have a KURL->QUrl conversion on KURL itself, make use of it.
344 * This conversion is supposed to be loss-free
349 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
351 * Rubber stamped by Simon
353 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
354 This was found while working on the page-cache, other ports are not affected.
356 * WebCoreSupport/FrameLoaderClientQt.cpp:
357 (WebCore::FrameLoaderClientQt::createFrame):
359 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
361 Reviewed by Simon Hausmann <hausmann@webkit.org>.
363 Fix Qtopia compilation with QT_NO_TOOLTIP
366 * WebCoreSupport/ChromeClientQt.cpp:
367 (WebCore::ChromeClientQt::print):
369 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
373 Doc: Replaced \code with snippets in the docs
378 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
382 Tweak key presses even to match commonly expected behavior
383 - space key == page down
384 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
385 - Use font height rather then a hard coded "10" for left, right, up, down
386 - Ctrl-Up moves to the top of the page
387 - Ctrl-Down move to the bottom of the page
388 - Backspace == GoBack
389 - Shift-Backspace == GoForward
393 (dropActionToDragOp):
394 (dragOpToDropAction):
395 (QWebPagePrivate::keyPressEvent):
397 2008-01-23 Simon Hausmann <hausmann@webkit.org>
401 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
403 Added two signals to QWebPage to handle downloading of links and handling of
408 (QWebPage::triggerAction):
410 * WebCoreSupport/FrameLoaderClientQt.cpp:
411 (WebCore::FrameLoaderClientQt::download):
412 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
413 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
414 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
415 (WebCore::FrameLoaderClientQt::willUseArchive):
417 2008-01-22 Lars Knoll <lars@trolltech.com>
421 setup a family for cursive and fantasy fonts as well.
424 * Api/qwebsettings.cpp:
425 (QWebSettings::QWebSettings):
427 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
431 Implement ChromeClientQt::setToolTip
432 Implement ChromeClientQt::mouseDidMoveOverElement
437 * WebCoreSupport/ChromeClientQt.cpp:
438 (WebCore::ChromeClientQt::ChromeClientQt):
439 (WebCore::ChromeClientQt::focus):
440 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
441 (WebCore::ChromeClientQt::setToolTip):
442 (WebCore::ChromeClientQt::print):
443 * WebCoreSupport/ChromeClientQt.h:
445 2008-01-21 Darin Adler <darin@apple.com>
447 Reviewed by John Sullivan.
449 - updated for changes to ChromeClient database functions
451 * WebCoreSupport/ChromeClientQt.cpp:
452 (WebCore::ChromeClientQt::exceededDatabaseQuota):
453 * WebCoreSupport/ChromeClientQt.h:
455 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
459 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
462 * Api/qwebhistoryinterface.h:
464 2008-01-21 Adam Treat <treat@kde.org>
468 * Don't leak the d-pointer in QWebSettings.
471 * Api/qwebsettings.cpp:
472 (QWebSettings::~QWebSettings):
474 2008-01-21 Simon Hausmann <hausmann@webkit.org>
478 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
480 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
485 2008-01-21 Simon Hausmann <hausmann@webkit.org>
489 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
491 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
492 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
493 and make the return value depend on whether we successfully determined a focusable
495 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
496 if we could not handle the focus chain ourselves.
497 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
498 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
499 used to control the situation of stepping out of the focus chain inside the page.
500 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
501 The layout tests expect this to be disabled but for the user it seems sensible to have it
502 on by default, hence the default in qwebsettings.cpp
506 (QWebPage::focusNextPrevChild):
507 * Api/qwebsettings.cpp:
508 (QWebSettings::QWebSettings):
509 * Api/qwebsettings.h:
511 (QWebView::QWebView):
512 (QWebView::focusNextPrevChild):
513 * WebCoreSupport/ChromeClientQt.cpp:
514 (WebCore::ChromeClientQt::canTakeFocus):
515 (WebCore::ChromeClientQt::takeFocus):
517 2008-01-18 Simon Hausmann <hausmann@webkit.org>
521 Coding style fixes and added a comment about the include order.
525 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
527 Reviewed by Simon Hausmann <hausmann@webkit.org>.
529 Add use of precompiled header, when building inside Qt.
531 Compiling WebKit was taking forever; 17 minutes on my machine for _one_ build! Adding the PCH at least brings it down to 12 minutes for one build, for me.
534 * WebKit_pch.h: Added.
536 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
540 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
541 we will see a crash in a HashSet.
542 * It is crashing there because the StringImpl of an empty String is 0.
543 * We avoid this crash by checking for isEmpty() in WebKit as there is no
544 use to ask the iconDatabase for an empty string. We will fallback to the
551 2008-01-17 Simon Hausmann <hausmann@webkit.org>
555 Minor documentation fixes
561 2008-01-17 Simon Hausmann <shausman@trolltech.com>
565 Fix form elements not focusing correctly after the qt widget lost its focus.
567 When receiving a focus out event notify the focus controller. Otherwise its
568 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
569 event shortcuts and doesn't call setActive(true).
574 2008-01-17 Simon Hausmann <shausman@trolltech.com>
578 Lots of updates to the documentation.
582 * Api/qwebhistory.cpp:
584 (QWebPagePrivate::dropEvent):
587 (QWebPage::triggerAction):
588 (QWebPage::viewportSize):
589 (QWebPage::navigationRequested):
592 (QWebPageContext::targetFrame):
596 2008-01-17 Simon Hausmann <shausman@trolltech.com>
600 Added a urlChanged signals to QWebFrame and QWebView.
608 * WebCoreSupport/FrameLoaderClientQt.cpp:
610 2008-01-17 Simon Hausmann <shausman@trolltech.com>
614 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
617 * Api/qwebsettings.cpp:
618 (QWebSettings::setIconDatabaseEnabled):
620 2008-01-17 Simon Hausmann <shausman@trolltech.com>
624 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
628 (QWebPage::createWindow):
630 (QWebView::createWindow):
633 2008-01-17 Lars Knoll <lars@trolltech.com>
637 add a 0 pointer check.
639 Fixes a crash in the demo web browser.
641 * WebCoreSupport/FrameLoaderClientQt.cpp:
642 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
644 2008-01-17 Simon Hausmann <hausmann@webkit.org>
648 Fix QWebFrame::title().
650 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
651 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
657 2008-01-17 Simon Hausmann <hausmann@webkit.org>
659 Reviewed by Maciej, Lars, Holger.
661 http://bugs.webkit.org/show_bug.cgi?id=16589
663 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
665 * Api/qwebnetworkinterface.cpp:
666 (QWebNetworkRequestPrivate::init):
667 (QWebNetworkManager::started):
669 2008-01-17 Warwick Allison <warwick@trolltech.com>
671 Reviewed by Simon Hausmann <hausmann@webkit.org>.
673 Follow QWidget::keyPressEvent advice and call parents.
675 Without this, Back does not work in Qtopia, for example.
679 (QWebView::keyPressEvent):
680 (QWebView::keyReleaseEvent):
682 2008-01-17 Simon Hausmann <hausmann@webkit.org>
686 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
688 * Api/qwebnetworkinterface.cpp:
689 (QWebNetworkManager::started):
691 2008-01-17 Simon Hausmann <shausman@trolltech.com>
695 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
700 * WebCoreSupport/FrameLoaderClientQt.cpp:
702 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
704 Reviewed by Simon Hausmann <hausmann@webkit.org>.
706 Fixes compilation with QT_NO_DRAGANDDROP
712 (QWebView::dragEnterEvent):
713 (QWebView::dragLeaveEvent):
714 (QWebView::dragMoveEvent):
715 (QWebView::dropEvent):
717 2008-01-17 Simon Hausmann <hausmann@webkit.org>
721 Fix compilation, removed obsolete privateBrowsingEnabled() method.
723 * WebCoreSupport/FrameLoaderClientQt.cpp:
725 2008-01-16 Lars Knoll <lars@trolltech.com>
727 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
729 Removed a whole bunch of notImplemented() warnings.
731 I don't want to hide the real warnings in lots of things that
732 I am by now pretty certain we won't need.
735 * WebCoreSupport/FrameLoaderClientQt.cpp:
736 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
737 (WebCore::FrameLoaderClientQt::canShowMIMEType):
739 2008-01-16 Simon Hausmann <hausmann@webkit.org>
743 Fix crash when bringing up the context menu on maps.google.com.
745 If the website provides its own context menu then we don't have a ContextMenu pointer.
749 (QWebPagePrivate::contextMenuEvent):
751 2008-01-16 Simon Hausmann <hausmann@webkit.org>
755 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
758 (QWebView::mouseMoveEvent):
759 (QWebView::mousePressEvent):
760 (QWebView::mouseDoubleClickEvent):
761 (QWebView::mouseReleaseEvent):
762 (QWebView::contextMenuEvent):
763 (QWebView::wheelEvent):
764 (QWebView::keyPressEvent):
765 (QWebView::keyReleaseEvent):
766 (QWebView::focusInEvent):
767 (QWebView::focusOutEvent):
768 (QWebView::dragEnterEvent):
769 (QWebView::dragLeaveEvent):
770 (QWebView::dragMoveEvent):
771 (QWebView::dropEvent):
772 (QWebView::focusNextPrevChild):
774 2008-01-16 Simon Hausmann <hausmann@webkit.org>
778 Made the url property read-write.
782 2008-01-16 Simon Hausmann <hausmann@webkit.org>
786 Don't crash when showing a default initialized QWebView that has no page/frame yet.
789 (QWebView::paintEvent):
791 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
795 Change hoveringOverLink implementation to have less issues.
797 * Currently we only compare a pointer. In the worst case we
798 could delete the Element we have pointed to and a new one
799 gets the same address. But even if that doesn't happen the
800 WebCore::Element is mutable and JavaScript could change the
801 URL, Title or Content. So we have to compare all these three
803 * This does not seem to be a performance impact.
807 (QWebPagePrivate::mouseMoveEvent):
810 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
814 * Move the hoverElement from QWebFrame to QWebPage. As it is
819 (QWebFramePrivate::QWebFramePrivate):
821 (QWebPagePrivate::mouseMoveEvent):
824 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
828 EventHandler changes/fixes in QWebPage:
829 -mouse{Press,Move,Release}Event:
830 Send the event always to the mainFrame of the QWebPage.
832 -contextMenuEvent, key{Press,Release}Event:
833 Send the event to the focused frame.
835 This is following the Windows port and fixes a issue with the
836 Web Inspector where we were sending the events to a wrong frame.
838 It is guaranteed that the mainFrame will always have an eventHandler
839 and frameView set. There is no need to check for this in QWebPage.
843 (QWebFramePrivate::init):
845 (QWebFramePrivate::QWebFramePrivate):
847 (QWebPagePrivate::updateEditorActions):
848 (QWebPagePrivate::mouseMoveEvent):
849 (QWebPagePrivate::mousePressEvent):
850 (QWebPagePrivate::mouseDoubleClickEvent):
851 (QWebPagePrivate::mouseReleaseEvent):
852 (QWebPagePrivate::contextMenuEvent):
853 (QWebPagePrivate::wheelEvent):
854 (QWebPagePrivate::keyPressEvent):
855 (QWebPagePrivate::keyReleaseEvent):
856 (QWebPagePrivate::focusInEvent):
859 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
863 * Add core and kit functions to QWebFramePrivate to convert from
864 QWebFrame to WebCore::Frame and vice versa.
868 (QWebFramePrivate::core):
869 (QWebFramePrivate::kit):
873 2008-01-16 Lars Knoll <lars@trolltech.com>
877 add conversion methods from and to QUrl to KURL.
879 Use them in the places I found at the moment. Fixes a bug
880 where form data was encoded twice.
881 Also fix QWebSettings to take a QUrl for the user style sheet
888 (QWebPage::createPlugin):
890 (QWebPage::triggerAction):
891 * Api/qwebsettings.cpp:
892 (QWebSettingsPrivate::apply):
893 * Api/qwebsettings.h:
894 * WebCoreSupport/ChromeClientQt.cpp:
895 (WebCore::ChromeClientQt::createWindow):
896 (WebCore::ChromeClientQt::show):
898 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
902 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
903 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
904 the QWebPage/WebInspector automatically.
907 * WebCoreSupport/InspectorClientQt.cpp:
908 (WebCore::InspectorClientWebPage::createWindow):
909 (WebCore::InspectorClientView::InspectorClientView):
911 2008-01-10 Maciej Stachowiak <mjs@apple.com>
915 - remove SecurityOriginData and fold its functionality into SecurityOrigin
917 * WebCoreSupport/ChromeClientQt.cpp:
918 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
919 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
920 * WebCoreSupport/ChromeClientQt.h:
922 2008-01-10 Lars Knoll <lars@trolltech.com>
929 * Api/qwebhistory.cpp:
930 (QWebHistoryItem::QWebHistoryItem):
931 (QWebHistoryItem::operator=):
932 (QWebHistoryItem::~QWebHistoryItem):
933 (QWebHistoryItem::originalUrl):
934 (QWebHistoryItem::currentUrl):
935 (QWebHistoryItem::title):
936 (QWebHistoryItem::icon):
937 (QWebHistory::canGoBack):
938 (QWebHistory::canGoForward):
939 (QWebHistory::goBack):
940 (QWebHistory::goForward):
941 (QWebHistory::goToItem):
944 2008-01-10 Simon Hausmann <hausmann@webkit.org>
948 Make the reset() functions not do anything on the default QWebSettings object.
951 * Api/qwebsettings.cpp:
952 (QWebSettings::resetFontSize):
953 (QWebSettings::resetFontFamily):
954 (QWebSettings::clearAttribute):
956 2008-01-10 Lars Knoll <lars@trolltech.com>
960 rename QWebPageHistory to QWebHistory.
963 * Api/qwebhistory.cpp: Added.
964 (QWebHistoryItem::QWebHistoryItem):
965 (QWebHistoryItem::operator=):
966 (QWebHistoryItem::~QWebHistoryItem):
967 (QWebHistoryItem::originalUrl):
968 (QWebHistoryItem::currentUrl):
969 (QWebHistoryItem::title):
970 (QWebHistoryItem::lastVisited):
971 (QWebHistoryItem::icon):
972 (QWebHistory::QWebHistory):
973 (QWebHistory::~QWebHistory):
974 (QWebHistory::clear):
975 (QWebHistory::items):
976 (QWebHistory::backItems):
977 (QWebHistory::forwardItems):
978 (QWebHistory::canGoBack):
979 (QWebHistory::canGoForward):
980 (QWebHistory::goBack):
981 (QWebHistory::goForward):
982 (QWebHistory::goToItem):
983 (QWebHistory::backItem):
984 (QWebHistory::currentItem):
985 (QWebHistory::forwardItem):
986 (QWebHistory::itemAtIndex):
987 * Api/qwebhistory.h: Added.
988 * Api/qwebhistory_p.h: Added.
989 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
990 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
991 (QWebHistoryPrivate::QWebHistoryPrivate):
992 (QWebHistoryPrivate::~QWebHistoryPrivate):
994 (QWebPagePrivate::QWebPagePrivate):
997 * Api/qwebpagehistory.cpp: Removed.
998 * Api/qwebpagehistory.h: Removed.
999 * Api/qwebpagehistory_p.h: Removed.
1003 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1007 Documentation for QWebSettings
1010 * Api/qwebsettings.cpp:
1011 (QWebSettings::~QWebSettings):
1012 (QWebSettings::setFontSize):
1013 (QWebSettings::resetFontSize):
1014 (QWebSettings::setUserStyleSheetLocation):
1015 (QWebSettings::userStyleSheetLocation):
1016 (QWebSettings::iconDatabaseEnabled):
1017 (QWebSettings::webGraphic):
1018 (QWebSettings::setFontFamily):
1019 (QWebSettings::resetFontFamily):
1020 (QWebSettings::setAttribute):
1022 2008-01-10 Lars Knoll <lars@trolltech.com>
1026 Document QWebHistoryInterface.
1029 * Api/qwebhistoryinterface.cpp:
1030 (QWebHistoryInterface::defaultInterface):
1031 (QWebHistoryInterface::~QWebHistoryInterface):
1033 2008-01-10 Lars Knoll <lars@trolltech.com>
1037 Documentation for QWebFrame.
1040 * Api/qwebframe.cpp:
1044 (QWebFrame::setHtml):
1045 (QWebFrame::parentFrame):
1046 (QWebFrame::render):
1048 (QWebFrame::geometry):
1050 * Api/qwebframe_p.h:
1052 2008-01-10 Lars Knoll <lars@trolltech.com>
1056 fix the drawing errors that where introduced due to refactoring.
1058 Correctly clip to the rectangle we want to draw in ScrollView::paint().
1061 * Api/qwebframe.cpp:
1062 (QWebFrame::render):
1065 (QWebView::paintEvent):
1066 * WebCoreSupport/ChromeClientQt.cpp:
1067 (WebCore::ChromeClientQt::scrollBackingStore):
1069 2008-01-10 Simon Hausmann <hausmann@webkit.org>
1073 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
1077 (QWebPagePrivate::dropEvent):
1078 (QWebPage::QWebPage):
1079 (QWebPage::~QWebPage):
1080 (QWebPage::mainFrame):
1081 (QWebPage::currentFrame):
1082 (QWebPage::history):
1083 (QWebPage::setView):
1085 (QWebPage::javaScriptConsoleMessage):
1086 (QWebPage::javaScriptAlert):
1087 (QWebPage::javaScriptConfirm):
1088 (QWebPage::javaScriptPrompt):
1089 (QWebPage::createWindow):
1090 (QWebPage::createModalDialog):
1092 (QWebPage::triggerAction):
1093 (QWebPage::viewportSize):
1094 (QWebPage::navigationRequested):
1095 (QWebPage::selectedText):
1096 (QWebPage::isModified):
1097 (QWebPage::focusNextPrevChild):
1098 (QWebPage::settings):
1099 (QWebPage::networkProxy):
1100 (QWebPage::setNetworkAccessManager):
1101 (QWebPage::networkAccessManager):
1102 (QWebPagePrivate::_q_onLoadProgressChanged):
1105 2008-01-07 Holger Freyther <zecke@selfish.org>
1107 Reviewed by Alp Toker.
1109 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
1111 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
1112 * Update the ContextMenuController to accept CheckableActionTypes as well.
1113 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
1114 was extracted from ContextMenu::checkOrEnableIfNeeded.
1115 * Update the Qt and Windows port.
1118 (QWebPagePrivate::createContextMenu):
1120 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1122 Build fix for the Windows build. MSVC wants to see the full
1123 declaration of arguments even when just passing them through.
1127 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1131 Added the missing parameters to make it possible to do POST operations from the public API.
1133 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
1134 two extra arguments were in QNetworkRequest :-/
1137 * Api/qwebframe.cpp:
1144 2008-01-07 Simon Hausmann <hausmann@webkit.org>
1148 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
1151 * Api/qwebframe.cpp:
1154 * Api/qwebnetworkinterface.cpp:
1155 * Api/qwebnetworkinterface.h:
1156 * Api/qwebnetworkinterface_p.h:
1157 * Api/qwebobjectplugin.cpp:
1158 * Api/qwebobjectplugin.h:
1159 * Api/qwebobjectplugin_p.h:
1160 * Api/qwebobjectpluginconnector.cpp:
1161 * Api/qwebobjectpluginconnector.h:
1163 (QWebPagePrivate::QWebPagePrivate):
1164 (QWebPagePrivate::~QWebPagePrivate):
1165 (QWebPagePrivate::navigationRequested):
1166 (QWebPage::setNetworkInterface):
1167 (QWebPage::networkInterface):
1168 (QWebPage::setNetworkAccessManager):
1169 (QWebPage::networkAccessManager):
1174 * WebCoreSupport/FrameLoaderClientQt.cpp:
1175 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1176 (WebCore::FrameLoaderClientQt::objectContentType):
1177 (WebCore::FrameLoaderClientQt::createPlugin):
1179 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1183 * Move the QWebPagePrivate methods up to the other private ones
1186 (dropActionToDragOp):
1187 (dragOpToDropAction):
1188 (QWebPagePrivate::mouseMoveEvent):
1189 (QWebPagePrivate::mousePressEvent):
1190 (QWebPagePrivate::mouseDoubleClickEvent):
1191 (QWebPagePrivate::mouseReleaseEvent):
1192 (QWebPagePrivate::contextMenuEvent):
1193 (QWebPagePrivate::wheelEvent):
1194 (QWebPagePrivate::keyPressEvent):
1195 (QWebPagePrivate::keyReleaseEvent):
1196 (QWebPagePrivate::focusInEvent):
1197 (QWebPagePrivate::focusOutEvent):
1198 (QWebPagePrivate::dragEnterEvent):
1199 (QWebPagePrivate::dragLeaveEvent):
1200 (QWebPagePrivate::dragMoveEvent):
1201 (QWebPagePrivate::dropEvent):
1202 (QWebPage::focusNextPrevChild):
1204 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1208 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
1212 (dragOpToDropAction):
1214 (QWebView::mouseMoveEvent):
1215 (QWebView::mousePressEvent):
1216 (QWebView::mouseDoubleClickEvent):
1217 (QWebView::mouseReleaseEvent):
1218 (QWebView::contextMenuEvent):
1219 (QWebView::keyPressEvent):
1220 (QWebView::keyReleaseEvent):
1221 (QWebView::focusInEvent):
1222 (QWebView::focusOutEvent):
1223 (QWebView::dragEnterEvent):
1224 (QWebView::dragLeaveEvent):
1225 (QWebView::dragMoveEvent):
1226 (QWebView::dropEvent):
1228 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1232 * This layout is not needed anymore as Widget::invalidateRect will not
1237 (QWebView::paintEvent):
1239 2008-01-04 Lars Knoll <lars@trolltech.com>
1243 Remove most dependencies of Widget/ScrollView onto native QWidgets.
1245 This also brings the code closer in line with the Windows code. Seems
1246 to work nicely on first try :)
1249 * WebCoreSupport/ChromeClientQt.cpp:
1250 (WebCore::ChromeClientQt::updateBackingStore):
1251 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1252 (WebCore::ChromeClientQt::setToolTip):
1253 * WebCoreSupport/FrameLoaderClientQt.cpp:
1254 (WebCore::FrameLoaderClientQt::createPlugin):
1256 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1260 * Remove the todo from QWebPage and move the code to QWebView.
1264 (QWebPagePrivate::wheelEvent):
1265 (QWebPagePrivate::focusInEvent):
1267 (QWebView::wheelEvent):
1268 (QWebView::focusInEvent):
1270 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1274 * Move the various event methods to QWebPagePrivate. This is similar to
1275 QTextControl as well.
1280 (QWebPagePrivate::mouseMoveEvent):
1281 (QWebPagePrivate::mousePressEvent):
1282 (QWebPagePrivate::mouseDoubleClickEvent):
1283 (QWebPagePrivate::mouseReleaseEvent):
1284 (QWebPagePrivate::contextMenuEvent):
1285 (QWebPagePrivate::wheelEvent):
1286 (QWebPagePrivate::keyPressEvent):
1287 (QWebPagePrivate::keyReleaseEvent):
1288 (QWebPagePrivate::focusInEvent):
1289 (QWebPagePrivate::focusOutEvent):
1290 (QWebPage::focusNextPrevChild):
1291 (QWebPagePrivate::dragEnterEvent):
1292 (QWebPagePrivate::dragLeaveEvent):
1293 (QWebPagePrivate::dragMoveEvent):
1294 (QWebPagePrivate::dropEvent):
1298 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1302 * Forward the event from QWebView to QWebPage through QObject::event. This
1303 is similar to the way QTextControl is working.
1307 (dragOpToDropAction):
1311 (QWebView::mouseMoveEvent):
1312 (QWebView::mousePressEvent):
1313 (QWebView::mouseDoubleClickEvent):
1314 (QWebView::mouseReleaseEvent):
1315 (QWebView::contextMenuEvent):
1316 (QWebView::wheelEvent):
1317 (QWebView::keyPressEvent):
1318 (QWebView::keyReleaseEvent):
1319 (QWebView::focusInEvent):
1320 (QWebView::focusOutEvent):
1321 (QWebView::dragEnterEvent):
1322 (QWebView::dragLeaveEvent):
1323 (QWebView::dragMoveEvent):
1324 (QWebView::dropEvent):
1327 2008-01-04 Lars Knoll <lars@trolltech.com>
1331 make QWebPage a QObject and get things to compile.
1333 Nothing works currently though.
1336 * Api/qwebobjectpluginconnector.cpp:
1338 (QWebPagePrivate::QWebPagePrivate):
1339 (QWebPagePrivate::createMainFrame):
1340 (QWebPage::QWebPage):
1341 (QWebPage::setView):
1343 (QWebPage::javaScriptAlert):
1344 (QWebPage::javaScriptPrompt):
1345 (dragOpToDropAction):
1346 (QWebPage::mousePressEvent):
1347 (QWebPage::mouseDoubleClickEvent):
1348 (QWebPage::mouseReleaseEvent):
1349 (QWebPage::wheelEvent):
1350 (QWebPage::keyPressEvent):
1351 (QWebPage::focusInEvent):
1355 (QWebView::QWebView):
1356 (QWebView::setPage):
1357 (QWebView::resizeEvent):
1358 (QWebView::paintEvent):
1360 * WebCoreSupport/ChromeClientQt.cpp:
1361 (WebCore::ChromeClientQt::windowRect):
1362 (WebCore::ChromeClientQt::pageRect):
1363 (WebCore::ChromeClientQt::focus):
1364 (WebCore::ChromeClientQt::unfocus):
1365 (WebCore::ChromeClientQt::canTakeFocus):
1366 (WebCore::ChromeClientQt::takeFocus):
1367 (WebCore::ChromeClientQt::canRunModal):
1368 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1369 * WebCoreSupport/DragClientQt.cpp:
1370 (WebCore::DragClientQt::startDrag):
1371 * WebCoreSupport/FrameLoaderClientQt.cpp:
1372 (WebCore::FrameLoaderClientQt::createPlugin):
1373 * WebCoreSupport/InspectorClientQt.cpp:
1374 (WebCore::InspectorClientWebPage::createWindow):
1375 (WebCore::InspectorClientView::InspectorClientView):
1376 (WebCore::InspectorClientView::page):
1377 (WebCore::InspectorClientView::hideEvent):
1378 (WebCore::InspectorClientView::closeEvent):
1379 (WebCore::InspectorClientQt::createPage):
1380 (WebCore::InspectorClientQt::closeWindow):
1382 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1386 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
1390 (QWebView::setHtml):
1391 (QWebView::setContent):
1392 (QWebView::history):
1393 (QWebView::settings):
1395 (QWebView::triggerAction):
1397 (QWebView::backward):
1398 (QWebView::forward):
1402 2008-01-04 Lars Knoll <lars@trolltech.com>
1406 add a viewportSize to QWebPage.
1408 This is required to eventually make it a QObject only.
1412 (QWebPage::triggerAction):
1413 (QWebPage::viewportSize):
1414 (QWebPage::setViewportSize):
1417 2008-01-04 Lars Knoll <lars@trolltech.com>
1421 take a QString as identifier in QWebFrame::addToJSWindowObject.
1423 * Api/qwebframe.cpp:
1424 (QWebFrame::addToJSWindowObject):
1427 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1431 Call the frame arguments for the javascript callbacks "originatingFrame"
1436 2008-01-04 Simon Hausmann <hausmann@webkit.org>
1440 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
1443 * Api/qwebhistoryinterface.h:
1445 * WebCoreSupport/FrameLoaderClientQt.cpp:
1446 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1448 2008-01-04 Lars Knoll <lars@trolltech.com>
1452 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
1454 * Api/qwebframe.cpp:
1457 (QWebFrame::setVerticalScrollBarPolicy):
1460 (QWebPage::javaScriptAlert):
1461 (QWebPage::javaScriptPrompt):
1462 (QWebPage::networkInterface):
1468 * WebCoreSupport/FrameLoaderClientQt.cpp:
1470 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1474 Moved QWebPage::open to QWebFrame::load and added setHtml.
1477 * Api/qwebframe.cpp:
1479 (QWebFrame::setHtml):
1480 (QWebFrame::setContent):
1486 (QWebView::setHtml):
1488 * WebCoreSupport/ChromeClientQt.cpp:
1489 (WebCore::ChromeClientQt::createWindow):
1490 * WebCoreSupport/InspectorClientQt.cpp:
1491 (WebCore::InspectorClientQt::createPage):
1493 2008-01-03 Simon Hausmann <hausmann@webkit.org>
1497 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
1503 (QWebPagePrivate::createMainFrame):
1505 * Api/qwebpagehistory.h:
1506 * Api/qwebview.cpp: Added.
1507 (QWebView::QWebView):
1508 (QWebView::~QWebView):
1510 (QWebView::setPage):
1512 (QWebView::setHtml):
1513 (QWebView::history):
1514 (QWebView::settings):
1518 (QWebView::selectedText):
1520 (QWebView::triggerAction):
1521 (QWebView::isModified):
1522 (QWebView::textInteractionFlags):
1523 (QWebView::setTextInteractionFlags):
1524 (QWebView::sizeHint):
1526 (QWebView::backward):
1527 (QWebView::forward):
1529 * Api/qwebview.h: Added.
1530 * QtLauncher/main.cpp:
1531 (MainWindow::MainWindow):
1532 (MainWindow::webPage):
1533 (MainWindow::changeLocation):
1534 * WebCoreSupport/FrameLoaderClientQt.cpp:
1535 (WebCore::FrameLoaderClientQt::setFrame):
1536 * WebCoreSupport/FrameLoaderClientQt.h:
1538 2007-12-14 Darin Adler <darin@apple.com>
1543 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
1544 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
1545 * WebCoreSupport/EditorClientQt.cpp:
1546 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
1547 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
1550 2007-12-12 Brady Eidson <beidson@apple.com>
1552 Reviewed by Sam Weinig
1554 As part of doing some CachedPage and client cleanup, keep Qt building
1556 * WebCoreSupport/FrameLoaderClientQt.cpp:
1557 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
1558 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
1559 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1560 * WebCoreSupport/FrameLoaderClientQt.h:
1562 2007-12-12 Sam Weinig <sam@webkit.org>
1566 * WebCoreSupport/FrameLoaderClientQt.cpp:
1567 (WebCore::FrameLoaderClientQt::userAgent):
1569 2007-12-12 Sam Weinig <sam@webkit.org>
1573 * Api/qwebnetworkinterface.cpp:
1574 (QWebNetworkRequestPrivate::init):
1577 (QWebPageContext::QWebPageContext):
1578 * Api/qwebpagehistory.cpp:
1579 (QWebHistoryItem::originalUrl):
1580 (QWebHistoryItem::currentUrl):
1581 * WebCoreSupport/FrameLoaderClientQt.cpp:
1582 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1583 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1584 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1585 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1586 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1587 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1588 (WebCore::FrameLoaderClientQt::createPlugin):
1590 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1594 <rdar://problem/5535636>
1595 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1597 http://bugs.webkit.org/show_bug.cgi?id=13916
1598 JavaScript detects Tab as a character input on a textfield validation
1600 * WebCoreSupport/EditorClientQt.cpp:
1601 (WebCore::EditorClientQt::handleKeyboardEvent):
1602 (WebCore::EditorClientQt::handleInputMethodKeydown):
1603 * WebCoreSupport/EditorClientQt.h:
1604 Updated for cross-platform changes as much as it was possible without a Qt build environment.
1606 2007-12-07 Darin Adler <darin@apple.com>
1610 * Api/qwebhistoryinterface.cpp:
1611 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
1612 be updated, since WebCore changed, but this should not be here.
1614 2007-12-04 Darin Adler <darin@apple.com>
1616 Reviewed by Kevin Decker.
1618 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
1619 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
1621 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1625 * Implement the InspectorClient for the Qt port
1626 * It does not support highlighting of nodes yet
1627 * Use QRC to open the internal page. The important thing is the
1628 '/' in the URL to make WebCore::Document::completeURL behave the
1630 * To make the InspectorClient work we will have to mark qrc as secure.
1633 (QWebPagePrivate::QWebPagePrivate):
1635 * WebCoreSupport/InspectorClientQt.cpp:
1636 (WebCore::InspectorClientWebPage::hideEvent):
1637 (WebCore::InspectorClientQt::InspectorClientQt):
1638 (WebCore::InspectorClientQt::inspectorDestroyed):
1639 (WebCore::InspectorClientQt::createPage):
1640 (WebCore::InspectorClientQt::localizedStringsURL):
1641 (WebCore::InspectorClientQt::showWindow):
1642 (WebCore::InspectorClientQt::closeWindow):
1643 (WebCore::InspectorClientQt::attachWindow):
1644 (WebCore::InspectorClientQt::detachWindow):
1645 * WebCoreSupport/InspectorClientQt.h:
1647 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1649 Rubber stamped by Mark.
1651 Always include config.h at the beginning of the file.
1653 * Api/qwebsettings.cpp:
1655 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1659 * Avoid crashes by making sure everything is layouted before
1660 we start painting. This avoids a crash in Widget::invalidateRect
1661 because QPainter::begin would fail
1662 * The QWebFrame::layout() methods and calls are left untouched because
1663 this would be an API decision.
1666 * Api/qwebframe.cpp:
1667 (QWebFrame::layout):
1669 (QWebPage::paintEvent):
1671 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1675 * SubClass QWebPage to handle hide and close events.
1676 * Forward these events to the InspectorController
1677 * The other options would have been using an eventFilter
1678 on the webpage and making InspectorClient a QObject or
1679 creating a QObject Observer.
1680 * Provide a simple QWebPage* createWindow implementation. This is needed
1681 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
1682 of the inspector client.
1685 * WebCoreSupport/InspectorClientQt.cpp:
1686 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
1687 (WebCore::InspectorClientWebPage::createWindow):
1688 (WebCore::InspectorClientWebPage::hideEvent):
1689 (WebCore::InspectorClientWebPage::closeEvent):
1690 (WebCore::InspectorClientQt::createPage):
1692 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1696 * Allow adding the Inspect ContextMenuItem to our Menu
1697 * Open the Inspector when Inspect was activated. This requires
1698 that we keep the innerNonSharedNode from the HitTest around. This
1699 forces us to include <wtf/RefPtr.h> in the private header. It is
1700 the first non Qt header but should be okay.
1704 (webActionForContextMenuAction):
1705 (QWebPage::triggerAction):
1707 (QWebPageContext::QWebPageContext):
1711 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1715 * Add the Developer Extras to the WebAttribute and propagate it
1716 to WebCore::Settings. This will enable the Inspect Element menu item
1717 * CodingStyle fixes in QWebSettings
1718 * Enable the Developer Extras in the QtLauncher
1721 * Api/qwebsettings.cpp:
1722 (QWebSettingsPrivate::apply):
1723 * Api/qwebsettings.h:
1724 * QtLauncher/main.cpp:
1727 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1729 Removed unnecessary and possibly incorrect #include from my last
1732 * Api/qwebframe.cpp:
1734 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1736 Qt build fix: Get globalExec() from the right place.
1738 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1742 * Self destruct the clients like the ohter ports do
1745 * WebCoreSupport/ChromeClientQt.cpp:
1746 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1747 * WebCoreSupport/ContextMenuClientQt.cpp:
1748 * WebCoreSupport/DragClientQt.cpp:
1749 * WebCoreSupport/EditorClientQt.cpp:
1750 * WebCoreSupport/InspectorClientQt.cpp:
1752 2007-11-29 Brady Eidson <beidson@apple.com>
1754 Keep it building with new client method
1756 * WebCoreSupport/ChromeClientQt.cpp:
1757 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
1758 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
1759 * WebCoreSupport/ChromeClientQt.h:
1761 2007-11-22 Simon Hausmann <hausmann@webkit.org>
1763 Reviewed by Adam Treat.
1765 Fix compilation (don't define notImplemented twice)
1767 * Api/qwebnetworkinterface.cpp:
1769 2007-11-22 Simon Hausmann <hausmann@kde.org>
1773 Use Q_SIGNALS/Q_SLOTS in the public API
1778 2007-11-22 Simon Hausmann <hausmann@kde.org>
1782 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
1786 2007-11-22 Simon Hausmann <hausmann@kde.org>
1790 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
1794 * Api/qwebhistoryinterface.h:
1795 * Api/qwebnetworkinterface.h:
1796 * Api/qwebobjectplugin.h:
1797 * Api/qwebobjectplugin_p.h:
1798 * Api/qwebobjectpluginconnector.h:
1800 * Api/qwebpagehistory.h:
1801 * Api/qwebsettings.h:
1803 2007-11-22 Simon Hausmann <hausmann@kde.org>
1807 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
1809 * Api/qwebpagehistory.h:
1811 2007-11-22 George Staikos <staikos@kde.org>
1813 Reviewed by Simon Hausmann <hausmann@kde.org>.
1818 * Api/qwebobjectplugin.cpp:
1819 * Api/qwebobjectplugin.h:
1820 * Api/qwebobjectpluginconnector.cpp:
1821 * Api/qwebobjectpluginconnector.h:
1823 2007-11-22 Simon Hausmann <hausmann@kde.org>
1825 Reviewed by George Staikos <staikos@kde.org>.
1827 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
1829 This also fixes compilation with gcc 4.3.
1832 * Api/qwebframe.cpp:
1833 (QWebFramePrivate::init):
1835 2007-11-21 Adam Treat <treat@kde.org>
1839 * Connect up the signal for all subframes too.
1841 * Api/qwebframe.cpp:
1842 (QWebFramePrivate::init):
1844 (QWebPagePrivate::createMainFrame):
1846 2007-11-20 Simon Hausmann <hausmann@kde.org>
1848 Reviewed by Adam Treat <treat@kde.org>.
1850 Remove static linkage of QtWebKit against the ICO image format plugin.
1852 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
1855 * Plugins/Plugins.pro:
1857 2007-11-20 Simon Hausmann <hausmann@kde.org>
1859 Reviewed by George Staikos <staikos@kde.org>.
1861 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
1866 2007-11-20 George Staikos <staikos@kde.org>
1868 Reviewed by Simon Hausmann <hausmann@kde.org>.
1870 Add an argument to pass the link text in the hovering signal
1875 (QWebPagePrivate::createMainFrame):
1876 (QWebPage::mouseMoveEvent):
1879 2007-11-20 Adam Treat <treat@kde.org>
1881 Reviewed by Simon and George.
1883 * Be quiet and allow suppression of NotImplemented calls at runtime.
1885 * WebCoreSupport/FrameLoaderClientQt.cpp:
1886 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1888 2007-11-19 Adam Treat <treat@kde.org>
1892 * Don't segfault when event pos is outside of the widget.
1895 (QWebPage::mouseMoveEvent):
1896 (QWebPage::mousePressEvent):
1897 (QWebPage::mouseDoubleClickEvent):
1898 (QWebPage::mouseReleaseEvent):
1899 (QWebPage::contextMenuEvent):
1901 2007-11-17 Timothy Hatcher <timothy@apple.com>
1903 Reviewed by Mark Rowe.
1905 Bug 13470: i18n: The Web Inspector is not localizable
1906 http://bugs.webkit.org/show_bug.cgi?id=13470
1908 * WebCoreSupport/InspectorClientQt.cpp:
1909 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
1910 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
1912 2007-11-13 Geoffrey Garen <ggaren@apple.com>
1914 Build fix: changed Shared to RefCounted.
1916 * WebCoreSupport/ChromeClientQt.h:
1917 * WebCoreSupport/ContextMenuClientQt.cpp:
1918 * WebCoreSupport/ContextMenuClientQt.h:
1919 * WebCoreSupport/EditorClientQt.h:
1920 * WebCoreSupport/FrameLoaderClientQt.h:
1922 2007-11-10 Simon Hausmann <hausmann@kde.org>
1924 Reviewed by Nikolas.
1926 When populating the context menu with sub-menus don't add sub-menus if they're empty.
1930 (QWebPagePrivate::createContextMenu):
1932 2007-11-10 Simon Hausmann <hausmann@kde.org>
1934 Reviewed by Nikolas.
1936 Added support for the Bold/Italic/Underline toggle actions.
1940 (webActionForContextMenuAction):
1941 (QWebPage::triggerAction):
1945 2007-11-10 Simon Hausmann <hausmann@kde.org>
1947 Reviewed by Nikolas.
1949 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
1950 to update the enable/checked state correctly.
1954 (QWebPagePrivate::createContextMenu):
1955 (QWebPage::contextMenuEvent):
1958 2007-11-10 Simon Hausmann <hausmann@kde.org>
1960 Reviewed by Nikolas.
1962 Mark the text direction actions as checkable actions.
1968 2007-11-09 Simon Hausmann <hausmann@kde.org>
1972 Implemented the webcore actions for changing the text direction.
1976 (webActionForContextMenuAction):
1977 (QWebPage::triggerAction):
1981 2007-11-09 Simon Hausmann <hausmann@kde.org>
1985 Fix ContextMenu allocation in the Qt port.
1987 Store all items and submenus value based in ContextMenu and ContextMenuItem.
1988 That fixes the crashes when the context menu was populated with sub-menus because
1989 of the use of temporary ContextMenu objects like this:
1991 ContextMenu subMenu(...);
1992 subMenu.appendItem(...);
1993 subMenu.appendItem(...);
1995 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
1999 (QWebPage::contextMenuEvent):
2002 2007-11-09 Simon Hausmann <hausmann@kde.org>
2006 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
2012 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2016 - windowObjectCleared() is no longer const. It needs to setup the
2017 script debugger and cannot be const to do so.
2019 * WebCoreSupport/FrameLoaderClientQt.cpp:
2020 (WebCore::FrameLoaderClientQt::windowObjectCleared):
2021 * WebCoreSupport/FrameLoaderClientQt.h:
2023 2007-11-08 Simon Hausmann <hausmann@kde.org>
2025 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
2027 The buildbots use Qt 4.4 which has the function in question, but Qt
2028 4.3 doesn't have it. Use removeAll() as replacement instead, it
2029 shouldn't make a difference in performance.
2031 * Api/qwebsettings.cpp:
2032 (QWebSettings::~QWebSettings):
2034 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2036 Reviewed by Lars Knoll <lars@trolltech.com>.
2038 Cleanup checking for the request method.
2040 * Check the request method only in QWebNetworkManager::add.
2041 * Currently HEAD, GET, POST are allowed and for everything else
2042 QWebNetworkManager::add returns false.
2043 * Returning false is compatible with ResourceHandle::start and it
2044 can be used in ResourceHandle::loadResourceSynchronously to generate
2048 * Api/qwebnetworkinterface.cpp:
2049 (QWebNetworkManager::add):
2051 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
2053 Reviewed by Lars Knoll <lars@trolltech.com>.
2055 Fix bug in the implementation of synchronous network jobs.
2057 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
2058 - if (jobMode == AsynchronousJob) {
2059 + if (jobMode == SynchronousJob) {
2060 add job to synchronous list/hash
2062 * Just applying the above change will lead to crashes because we can finish
2063 jobs before we started them.
2065 * Avoid these issues by saving all work (starting a job, sending data and
2066 finishing it) inside one list. JobWork will contain any
2067 of the above three work types and doWork will just work on this list
2068 (m_pendingWork). As foreach takes a copy of the list calling started, data
2069 and finished will not add new work and we gurantee that if we have JobStarted
2070 it will be in the list before JobData and JobFinished.
2072 * Observation: We might just kill the code to handle sync jobs.
2075 * Api/qwebnetworkinterface.cpp:
2076 (QWebNetworkManager::add):
2077 (QWebNetworkManager::queueStart):
2078 (QWebNetworkManager::queueData):
2079 (QWebNetworkManager::queueFinished):
2080 (QWebNetworkManager::doWork):
2081 * Api/qwebnetworkinterface_p.h:
2082 (QWebNetworkManager::JobWork::):
2083 (QWebNetworkManager::JobWork::JobWork):
2085 2007-11-07 Simon Hausmann <hausmann@kde.org>
2087 Build fix, reviewed by nobody.
2089 Fix the Qt build by setting up WindowFeatures before calling
2090 createWindow on the Chrome. This is similar to openNewWindow in
2091 page/ContextMenuController.cpp
2096 2007-11-07 Simon Hausmann <hausmann@kde.org>
2100 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2103 (QWebPagePrivate::QWebPagePrivate):
2104 * Api/qwebsettings.cpp:
2105 (QWebSettingsPrivate::apply):
2106 * Api/qwebsettings.h:
2108 2007-11-07 Simon Hausmann <hausmann@kde.org>
2112 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
2114 * Api/qwebpagehistory.cpp:
2115 * Api/qwebpagehistory.h:
2117 2007-11-07 Simon Hausmann <hausmann@kde.org>
2121 Removed unimplemented QWebHistoryItem::children() function
2123 * Api/qwebpagehistory.h:
2125 2007-11-07 Simon Hausmann <hausmann@kde.org>
2129 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
2131 * Api/qwebsettings.cpp:
2132 (QWebSettings::fontSize):
2133 (QWebSettings::fontFamily):
2134 (QWebSettings::testAttribute):
2136 2007-11-07 Simon Hausmann <hausmann@kde.org>
2140 Added explicit functions for resetting the font sizes and font families.
2142 * Api/qwebsettings.cpp:
2143 (QWebSettings::resetFontSize):
2144 (QWebSettings::resetFontFamily):
2145 * Api/qwebsettings.h:
2147 2007-11-07 Simon Hausmann <hausmann@kde.org>
2151 Combined the font sizes accessors/setters under one setter/getter with an enum.
2153 * Api/qwebsettings.cpp:
2154 (QWebSettingsPrivate::QWebSettingsPrivate):
2155 (QWebSettingsPrivate::apply):
2156 (QWebSettings::QWebSettings):
2157 (QWebSettings::setFontSize):
2158 * Api/qwebsettings.h:
2160 2007-11-07 Simon Hausmann <hausmann@kde.org>
2164 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
2168 * WebCoreSupport/FrameLoaderClientQt.cpp:
2169 (WebCore::FrameLoaderClientQt::userAgent):
2171 2007-11-07 Simon Hausmann <hausmann@kde.org>
2175 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
2178 (QWebPagePrivate::_q_webActionTriggered):
2179 (QWebPage::keyPressEvent):
2182 2007-11-07 Simon Hausmann <hausmann@kde.org>
2186 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
2190 * WebCoreSupport/ChromeClientQt.cpp:
2191 (WebCore::ChromeClientQt::setWindowRect):
2193 2007-11-07 Simon Hausmann <hausmann@kde.org>
2197 Renamed QWebPage::webAction() to QWebPage::action()
2200 (QWebPagePrivate::createContextMenu):
2202 * QtLauncher/main.cpp:
2203 (MainWindow::MainWindow):
2205 2007-11-07 Simon Hausmann <hausmann@kde.org>
2209 Removed a bunch of slots/functions that are now available through the new actions API.
2214 2007-11-07 Simon Hausmann <hausmann@kde.org>
2218 Added some more comments to the API after another round of API review with Lars.
2222 2007-11-07 Simon Hausmann <hausmann@kde.org>
2226 Moved QWebFrame::selectedText() to QWebPage::selectedText().
2228 The currently selected text is a property of the page as a whole.
2230 * Api/qwebframe.cpp:
2233 (QWebPage::selectedText):
2236 2007-11-07 Simon Hausmann <hausmann@kde.org>
2240 Implemented support for settings propagation.
2242 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
2244 * Api/qwebsettings.cpp:
2245 (QWebSettingsPrivate::QWebSettingsPrivate):
2246 (QWebSettingsPrivate::apply):
2247 (QWebSettings::QWebSettings):
2248 (QWebSettings::~QWebSettings):
2249 (QWebSettings::setFontFamily):
2250 * Api/qwebsettings.h:
2252 2007-11-07 Simon Hausmann <hausmann@kde.org>
2256 Reworked the QWebSettings API.
2257 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2260 (QWebPagePrivate::QWebPagePrivate):
2261 (QWebPagePrivate::~QWebPagePrivate):
2262 (QWebPage::QWebPage):
2265 * Api/qwebsettings.cpp:
2266 (QWebSettingsPrivate::QWebSettingsPrivate):
2267 (QWebSettingsPrivate::apply):
2268 (QWebSettings::defaultSettings):
2269 (QWebSettings::QWebSettings):
2270 (QWebSettings::setMinimumFontSize):
2271 (QWebSettings::setMinimumLogicalFontSize):
2272 (QWebSettings::setDefaultFontSize):
2273 (QWebSettings::setDefaultFixedFontSize):
2274 (QWebSettings::setUserStyleSheetLocation):
2275 (QWebSettings::setFontFamily):
2276 (QWebSettings::fontFamily):
2277 (QWebSettings::setAttribute):
2278 * Api/qwebsettings.h:
2279 * QtLauncher/main.cpp:
2282 2007-11-07 Simon Hausmann <hausmann@kde.org>
2286 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
2288 * Api/qwebsettings.cpp:
2289 (QWebSettings::setWebGraphic):
2290 * Api/qwebsettings.h:
2292 2007-11-07 Simon Hausmann <hausmann@kde.org>
2296 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
2298 * Api/qwebsettings.cpp:
2300 2007-11-07 Simon Hausmann <hausmann@kde.org>
2304 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
2306 * Api/qwebsettings.cpp:
2307 * Api/qwebsettings.h:
2309 2007-11-07 Simon Hausmann <hausmann@kde.org>
2313 Changed the webAction() accessor to not be a slot but just a public function.
2317 2007-11-07 Simon Hausmann <hausmann@kde.org>
2321 Implemented createWindow() in QtLauncher.
2323 * QtLauncher/main.cpp:
2325 (MainWindow::MainWindow):
2326 (WebPage::createWindow):
2328 2007-11-07 Simon Hausmann <hausmann@kde.org>
2332 Implemented opening links in new windows
2337 (QWebPage::webActionTriggered):
2339 2007-11-07 Simon Hausmann <hausmann@kde.org>
2343 Added and implemented the "OpenLink" action.
2346 (webActionForContextMenuAction):
2347 (QWebPage::webActionTriggered):
2348 (QWebPage::webAction):
2351 2007-11-07 Simon Hausmann <hausmann@kde.org>
2355 Adjust the state of the reload action correctly.
2358 (QWebPagePrivate::updateAction):
2359 (QWebPagePrivate::updateNavigationActions):
2361 2007-11-07 Simon Hausmann <hausmann@kde.org>
2365 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
2368 (QWebPagePrivate::updateAction):
2369 (QWebPage::webAction):
2370 (QWebPage::undoStack):
2373 2007-11-07 Simon Hausmann <hausmann@kde.org>
2377 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
2379 * QtLauncher/main.cpp:
2380 (MainWindow::MainWindow):
2382 2007-11-07 Simon Hausmann <hausmann@kde.org>
2386 Update the editor actions when the selection changes.
2389 (QWebPagePrivate::updateAction):
2390 (QWebPagePrivate::updateEditorActions):
2392 * WebCoreSupport/EditorClientQt.cpp:
2393 (WebCore::EditorClientQt::respondToChangedSelection):
2395 2007-11-07 Simon Hausmann <hausmann@kde.org>
2399 Added cut/copy/paste actions to the toolbar of QtLauncher
2401 * QtLauncher/main.cpp:
2402 (MainWindow::MainWindow):
2404 2007-11-07 Simon Hausmann <hausmann@kde.org>
2408 Started working on keeping the state of the navigation actions up-to-date.
2411 (QWebPagePrivate::updateAction):
2412 (QWebPagePrivate::updateNavigationActions):
2413 (QWebPage::webAction):
2415 * WebCoreSupport/FrameLoaderClientQt.cpp:
2416 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2417 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2418 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2419 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2420 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2422 2007-11-07 Simon Hausmann <hausmann@kde.org>
2426 Use the navigational web actions in the toolbar
2428 * QtLauncher/main.cpp:
2429 (MainWindow::MainWindow):
2431 2007-11-07 Simon Hausmann <hausmann@kde.org>
2435 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
2436 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
2439 (QWebPagePrivate::QWebPagePrivate):
2440 (webActionForContextMenuAction):
2441 (QWebPagePrivate::createContextMenu):
2442 (QWebPagePrivate::_q_webActionTriggered):
2443 (QWebPage::webActionTriggered):
2444 (QWebPage::webAction):
2445 (QWebPage::contextMenuEvent):
2446 (QWebPageContext::QWebPageContext):
2447 (QWebPageContext::operator=):
2448 (QWebPageContext::~QWebPageContext):
2449 (QWebPageContext::pos):
2450 (QWebPageContext::text):
2451 (QWebPageContext::linkUrl):
2452 (QWebPageContext::imageUrl):
2453 (QWebPageContext::image):
2454 (QWebPageContext::targetFrame):
2458 2007-11-07 Simon Hausmann <hausmann@kde.org>
2462 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
2465 (QWebPage::webActionTriggered):
2466 (QWebPage::keyPressEvent):
2469 2007-11-07 Simon Hausmann <hausmann@kde.org>
2473 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
2474 convenience methods such as cut()/copy()/paste().
2478 (QWebPage::webActionTriggered):
2483 2007-11-07 Simon Hausmann <hausmann@kde.org>
2487 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
2488 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
2489 in ContextMenu::populate().
2490 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
2491 out of it. That menu is currently not functional anymore though.
2494 (QWebPagePrivate::createContextMenu):
2495 (QWebPage::contextMenuEvent):
2498 2007-11-07 Simon Hausmann <hausmann@kde.org>
2502 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
2503 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
2504 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
2508 (QWebPage::contextMenuEvent):
2509 * WebCoreSupport/ContextMenuClientQt.cpp:
2510 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2512 2007-11-07 Simon Hausmann <hausmann@kde.org>
2516 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
2517 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
2520 (QWebPage::mousePressEvent):
2521 (QWebPage::contextMenuEvent):
2524 2007-11-07 Simon Hausmann <hausmann@kde.org>
2528 Turned onLoadProgressChanged into a real private slot.
2531 (QWebPage::QWebPage):
2535 2007-11-07 Simon Hausmann <hausmann@kde.org>
2539 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2542 (QWebPagePrivate::QWebPagePrivate):
2545 * Api/qwebpagehistory.cpp:
2546 (QWebPageHistory::QWebPageHistory):
2547 * Api/qwebpagehistory.h:
2549 2007-11-07 Lars Knoll <lars@trolltech.com>
2553 comments on API changes that we'd like to do.
2557 2007-11-07 Simon Hausmann <hausmann@kde.org>
2559 Reviewed by Lars Knoll <lars@trolltech.com>.
2561 Add a QWebPage::frameCreated() signal and fix DRT
2563 The removal of createFrame in QWebPage broke the re-implementation
2564 in DumpRenderTree. Instead emit a frameCreated() signal and
2565 connect to it in DumpRenderTree.
2569 (QWebPagePrivate::createMainFrame):
2571 * WebCoreSupport/FrameLoaderClientQt.cpp:
2572 (WebCore::FrameLoaderClientQt::createFrame):
2574 2007-11-07 Lars Knoll <lars@trolltech.com>
2578 Remove QWebPage::createFrame()
2580 now that QWebFrame doesn't have virtual methods anymore, there
2581 is no need for a createFrame() factory method in QWebpage.
2584 (QWebPagePrivate::createMainFrame):
2586 * WebCoreSupport/FrameLoaderClientQt.cpp:
2587 (WebCore::FrameLoaderClientQt::createFrame):
2589 2007-11-07 Simon Hausmann <hausmann@kde.org>
2591 Reviewed by Lars Knoll <lars@trolltech.com>.
2593 Moved all the event handlers from QWebFrame into QWebPage.
2595 This cleans up the public API and allows us to remove the
2596 HackWebFrame hack in DumpRenderTree.
2599 * Api/qwebframe.cpp:
2602 * Api/qwebframe_p.h:
2604 (QWebPagePrivate::frameAt):
2605 (QWebPage::mouseMoveEvent):
2606 (QWebPage::mousePressEvent):
2607 (QWebPage::mouseDoubleClickEvent):
2608 (QWebPage::mouseReleaseEvent):
2609 (QWebPage::wheelEvent):
2612 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
2614 Reviewed by Lars Knoll <lars@trolltech.com>.
2616 Use correct UserAgent string.
2618 * Only have one User Agent String and this place is QWebPage
2619 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
2620 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
2621 * ResourceRequest is != 0 when getting called from WebCore, we
2622 will only do requests when coming from WebCore and then we can
2623 use the User-Agent set with the help of the FrameLoaderClient
2624 * We might want to change QWebNetworkRequest a bit
2627 * Api/qwebnetworkinterface.cpp:
2628 (QWebNetworkRequestPrivate::init):
2630 2007-11-07 Lars Knoll <lars@trolltech.com>
2634 remove two notImplemented() warnings, as I believe we don't
2635 have to implement these methods. Add some (commented out)
2636 debug code in one place.
2638 * WebCoreSupport/EditorClientQt.cpp:
2639 (WebCore::EditorClientQt::respondToChangedSelection):
2640 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2642 2007-11-05 Tristan O'Tierney <tristan@apple.com>
2644 Reviewed by Darin Adler.
2646 * WebCoreSupport/ChromeClientQt.cpp:
2647 (WebCore::ChromeClientQt::createWindow):
2648 * WebCoreSupport/ChromeClientQt.h:
2649 Revised to use new WebCore ChromeClient createWindow API.
2651 2007-10-31 Lars Knoll <lars@trolltech.com>
2655 fix most of the issues I found with Clipboard and DnD.
2658 (QWebPage::dragLeaveEvent):
2660 2007-10-31 Lars Knoll <lars@trolltech.com>
2664 QDrag objects need to be created on the heap.
2666 * WebCoreSupport/DragClientQt.cpp:
2667 (WebCore::DragClientQt::startDrag):
2669 2007-10-31 Lars Knoll <lars@trolltech.com>
2673 a dragLeave event is not the same as cancelling a drag.
2677 2007-10-26 Mark Rowe <mrowe@apple.com>
2679 Build fix. Add missing #include of Platform.h.
2681 * Api/qwebhistoryinterface.cpp:
2683 2007-10-25 Holger Freyther <zecke@selfish.org>
2685 Reviewed by Simon Hausmann <hausmann@kde.org>.
2687 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
2688 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
2689 * This is causing some regressions...
2692 * Api/qwebnetworkinterface.cpp:
2693 (QWebNetworkManager::started):
2694 (QWebNetworkInterface::addJob):
2696 2007-10-25 Holger Freyther <zecke@selfish.org>
2698 Reviewed by Simon Hausmann <hausmann@kde.org>.
2700 * 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.
2701 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
2704 * Api/qwebnetworkinterface.cpp:
2705 (QWebNetworkManager::started):
2707 2007-10-25 Holger Freyther <zecke@selfish.org>
2709 Reviewed by Simon Hausmann <hausmann@kde.org>.
2711 * 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.
2712 * Use the error message from Qt. It might or might not be translated.
2715 * Api/qwebnetworkinterface.cpp:
2716 (QWebNetworkJob::errorString):
2717 (QWebNetworkJob::setErrorString):
2718 (QWebNetworkManager::finished):
2719 (QWebNetworkManager::doWork):
2720 (WebCoreHttp::onRequestFinished):
2721 * Api/qwebnetworkinterface.h:
2722 * Api/qwebnetworkinterface_p.h:
2724 2007-10-25 Holger Freyther <zecke@selfish.org>
2726 Reviewed by Simon Hausmann <hausmann@kde.org>.
2728 * 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.
2729 * 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.
2732 * Api/qwebnetworkinterface.cpp:
2733 (QWebNetworkManager::doWork):
2735 2007-10-25 Holger Freyther <zecke@selfish.org>
2737 Reviewed by Simon Hausmann <hausmann@kde.org>.
2739 * No need to initialize values in the QWebNetworkJob c'tor
2740 * 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.
2743 * Api/qwebnetworkinterface.cpp:
2744 (QWebNetworkJob::status):
2745 (QWebNetworkJob::setStatus):
2746 (QWebNetworkManager::started):
2747 (QWebNetworkManager::data):
2748 (QWebNetworkManager::finished):
2749 * Api/qwebnetworkinterface.h:
2750 * Api/qwebnetworkinterface_p.h:
2751 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2753 2007-10-25 Holger Freyther <zecke@selfish.org>
2755 Reviewed by Simon Hausmann <hausmann@kde.org>.
2757 * Consistency: Always name the jobs job.
2760 * Api/qwebnetworkinterface.cpp:
2761 (WebCoreHttp::onReadyRead):
2762 (WebCoreHttp::onRequestFinished):
2763 (WebCoreHttp::onSslErrors):
2764 (WebCoreHttp::onAuthenticationRequired):
2765 (WebCoreHttp::onProxyAuthenticationRequired):
2767 2007-10-25 Holger Freyther <zecke@selfish.org>
2769 Reviewed by Simon Hausmann <hausmann@kde.org>.
2771 * 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.
2772 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
2775 * Api/qwebnetworkinterface.cpp:
2776 (QWebNetworkJob::~QWebNetworkJob):
2777 (QWebNetworkManager::QWebNetworkManager):
2778 (QWebNetworkManager::self):
2779 (QWebNetworkManager::add):
2780 (QWebNetworkManager::started):
2781 (QWebNetworkManager::finished):
2782 (QWebNetworkInterfacePrivate::sendFileData):
2783 (QWebNetworkInterfacePrivate::parseDataUrl):
2784 (QWebNetworkManager::queueStart):
2785 (QWebNetworkManager::queueData):
2786 (QWebNetworkManager::queueFinished):
2787 (QWebNetworkManager::doScheduleWork):
2788 (QWebNetworkManager::doWork):
2789 (gCleanupInterface):
2790 (QWebNetworkInterface::setDefaultInterface):
2791 (QWebNetworkInterface::defaultInterface):
2792 (QWebNetworkInterface::QWebNetworkInterface):
2793 (QWebNetworkInterface::started):
2794 (QWebNetworkInterface::data):
2795 (QWebNetworkInterface::finished):
2796 (WebCoreHttp::scheduleNextRequest):
2797 (WebCoreHttp::onResponseHeaderReceived):
2798 (WebCoreHttp::onReadyRead):
2799 (WebCoreHttp::onRequestFinished):
2800 (WebCoreHttp::cancel):
2801 * Api/qwebnetworkinterface.h:
2802 * Api/qwebnetworkinterface_p.h:
2803 (QWebNetworkManager::):
2804 (QWebNetworkManager::JobData::JobData):
2805 (QWebNetworkManager::JobFinished::JobFinished):
2807 2007-10-25 Holger Freyther <zecke@selfish.org>
2809 Reviewed by Simon Hausmann <hausmann@kde.org>.
2811 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
2812 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
2813 * We pass the char-decoding.html test now
2816 * Api/qwebnetworkinterface.cpp:
2817 (decodePercentEncoding):
2818 (QWebNetworkInterfacePrivate::parseDataUrl):
2820 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
2822 Reviewed by Lars Knoll <lars@trolltech.com>.
2824 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
2827 * WebCoreSupport/EditorClientQt.cpp:
2828 (WebCore::EditorClientQt::handleKeypress):
2830 2007-10-24 Lars Knoll <lars@trolltech.com>
2834 remove some notImplemented() warnings.
2836 * WebCoreSupport/EditorClientQt.cpp:
2837 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2838 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2839 (WebCore::EditorClientQt::respondToChangedSelection):
2841 2007-10-24 Lars Knoll <lars@trolltech.com>
2845 allow paste from DOM so we pass more test cases.
2848 (QWebPage::setSettings):
2850 2007-10-24 Lars Knoll <lars@trolltech.com>
2854 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
2857 (QWebPage::keyPressEvent):
2858 (QWebPage::keyReleaseEvent):
2860 2007-10-24 Lars Knoll <lars@trolltech.com>
2864 some smaller fixes to the editing support in DRT. Makes another few tests pass.
2866 * WebCoreSupport/EditorClientQt.cpp:
2867 (qt_dump_editing_callbacks):
2870 2007-10-24 Lars Knoll <lars@trolltech.com>
2874 implemented support for most editing shortcuts to make contentEditable usable.
2877 (QWebPage::keyPressEvent):
2879 2007-10-24 Lars Knoll <lars@trolltech.com>
2883 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
2886 (QWebPage::focusInEvent):
2888 2007-10-24 Lars Knoll <lars@trolltech.com>
2892 Implement support for testing editing.
2894 * WebCoreSupport/EditorClientQt.cpp:
2895 (qt_dump_editing_callbacks):
2896 (qt_dump_set_accepts_editing):
2899 (WebCore::EditorClientQt::shouldDeleteRange):
2900 (WebCore::EditorClientQt::shouldShowDeleteInterface):
2901 (WebCore::EditorClientQt::shouldBeginEditing):
2902 (WebCore::EditorClientQt::shouldEndEditing):
2903 (WebCore::EditorClientQt::shouldInsertText):
2904 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2905 (WebCore::EditorClientQt::shouldApplyStyle):
2906 (WebCore::EditorClientQt::didBeginEditing):
2907 (WebCore::EditorClientQt::respondToChangedContents):
2908 (WebCore::EditorClientQt::respondToChangedSelection):
2909 (WebCore::EditorClientQt::didEndEditing):
2910 (WebCore::EditorClientQt::shouldInsertNode):
2912 2007-10-19 Alp Toker <alp@atoker.com>
2916 GTK+ build fix enabling the new local database storage feature.
2917 There is also a prospective Qt build fix.
2919 * WebCoreSupport/ChromeClientQt.cpp:
2920 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
2921 * WebCoreSupport/ChromeClientQt.h:
2923 2007-10-19 Simon Hausmann <hausmann@kde.org>
2925 Fix the Qt/Windows build: Include the moc file from the .cpp file so
2926 that config.h is included before wtf/MathExtras. The former defines
2927 the MSVC defines for rand_s.
2929 * WebCoreSupport/FrameLoaderClientQt.cpp:
2931 2007-10-19 Simon Hausmann <shausman@trolltech.com>
2935 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
2937 * Api/qwebframe.cpp:
2940 2007-10-10 Alice Liu <alice.liu@apple.com>
2942 Reviewed by Geoff Garen.
2944 changes to keep the build from breaking
2946 * WebCoreSupport/FrameLoaderClientQt.cpp:
2947 (WebCore::FrameLoaderClientQt::createFrame):
2948 * WebCoreSupport/FrameLoaderClientQt.h:
2950 2007-10-09 Lars Knoll <lars@trolltech.com>
2954 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
2957 (QWebPage::setSettings):
2959 2007-10-09 Lars Knoll <lars@trolltech.com>
2963 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
2965 * Api/qwebnetworkinterface.cpp:
2966 (QWebNetworkManager::add):
2967 (QWebNetworkManager::cancel):
2968 (QWebNetworkManager::started):
2969 (QWebNetworkManager::data):
2970 (QWebNetworkInterfacePrivate::parseDataUrl):
2972 2007-10-09 Lars Knoll <lars@trolltech.com>
2976 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.
2979 (QWebPagePrivate::createMainFrame):
2980 (QWebPage::createFrame):
2981 * WebCoreSupport/FrameLoaderClientQt.cpp:
2982 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2983 * WebCoreSupport/FrameLoaderClientQt.h:
2985 2007-10-09 Lars Knoll <lars@trolltech.com>
2989 add a clear() method to QWebPageHistory.
2991 * Api/qwebpagehistory.cpp:
2992 (QWebPageHistory::clear):
2993 (QWebPageHistory::itemAtIndex):
2994 * Api/qwebpagehistory.h:
2996 2007-10-05 Lars Knoll <lars@trolltech.com>
2998 add proper error messages to the FrameLoaderClient.
2999 Implement ChromeClientQt::closeWindowSoon and
3000 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
3001 Some fixes in DRT to make it work correctly with multiple windows.
3006 * Api/qwebnetworkinterface.cpp:
3007 (QWebNetworkManager::cancel):
3008 (QWebNetworkInterface::addJob):
3009 * WebCoreSupport/ChromeClientQt.cpp:
3010 (WebCore::ChromeClientQt::closeWindowSoon):
3011 * WebCoreSupport/FrameLoaderClientQt.cpp:
3012 (WebCore::FrameLoaderClientQt::cancelledError):
3014 (WebCore::FrameLoaderClientQt::blockedError):
3015 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3016 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3017 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3018 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3020 2007-10-03 Lars Knoll <lars@trolltech.com>
3022 Signed off by Olliej.
3024 move WebKitQt to WebKit/qt for consistency with the other ports.
3026 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
3027 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
3028 (QCookieJarPrivate::QCookieJarPrivate):
3030 (QCookieJar::QCookieJar):
3031 (QCookieJar::~QCookieJar):
3032 (QCookieJar::setCookies):
3033 (QCookieJar::cookies):
3034 (QCookieJar::isEnabled):
3035 (QCookieJar::setEnabled):
3037 (QCookieJar::setCookieJar):
3038 (QCookieJar::cookieJar):
3039 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
3040 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
3041 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
3042 (QWebFramePrivate::init):
3043 (QWebFramePrivate::parentFrame):
3044 (QWebFramePrivate::horizontalScrollBar):
3045 (QWebFramePrivate::verticalScrollBar):
3046 (QWebFrame::QWebFrame):
3047 (QWebFrame::~QWebFrame):
3048 (QWebFrame::addToJSWindowObject):
3049 (QWebFrame::markup):
3050 (QWebFrame::innerText):
3051 (QWebFrame::renderTreeDump):
3055 (QWebFrame::selectedText):
3056 (QWebFrame::childFrames):
3057 (QWebFrame::verticalScrollBarPolicy):
3058 (QWebFrame::setVerticalScrollBarPolicy):
3059 (QWebFrame::horizontalScrollBarPolicy):
3060 (QWebFrame::setHorizontalScrollBarPolicy):
3061 (QWebFrame::render):
3062 (QWebFrame::layout):
3064 (QWebFrame::geometry):
3065 (QWebFrame::evaluateJavaScript):
3066 (QWebFrame::mouseMoveEvent):
3067 (QWebFrame::mousePressEvent):
3068 (QWebFrame::mouseDoubleClickEvent):
3069 (QWebFrame::mouseReleaseEvent):
3070 (QWebFrame::wheelEvent):
3071 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
3072 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
3073 (QWebFramePrivate::QWebFramePrivate):
3074 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
3075 (WebCore::historyContains):
3076 (gCleanupInterface):
3077 (QWebHistoryInterface::setDefaultInterface):
3078 (QWebHistoryInterface::defaultInterface):
3079 (QWebHistoryInterface::QWebHistoryInterface):
3080 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
3081 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
3082 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
3085 (QWebNetworkRequestPrivate::init):
3086 (QWebNetworkRequestPrivate::setURL):
3087 (QWebNetworkRequest::QWebNetworkRequest):
3088 (QWebNetworkRequest::operator=):
3089 (QWebNetworkRequest::~QWebNetworkRequest):
3090 (QWebNetworkRequest::url):
3091 (QWebNetworkRequest::setUrl):
3092 (QWebNetworkRequest::httpHeader):
3093 (QWebNetworkRequest::setHttpHeader):
3094 (QWebNetworkRequest::httpHeaderField):
3095 (QWebNetworkRequest::setHttpHeaderField):
3096 (QWebNetworkRequest::postData):
3097 (QWebNetworkRequest::setPostData):
3098 (QWebNetworkJob::QWebNetworkJob):
3099 (QWebNetworkJob::~QWebNetworkJob):
3100 (QWebNetworkJob::url):
3101 (QWebNetworkJob::postData):
3102 (QWebNetworkJob::httpHeader):
3103 (QWebNetworkJob::request):
3104 (QWebNetworkJob::response):
3105 (QWebNetworkJob::setResponse):
3106 (QWebNetworkJob::cancelled):
3107 (QWebNetworkJob::ref):
3108 (QWebNetworkJob::deref):
3109 (QWebNetworkJob::networkInterface):
3110 (QWebNetworkJob::frame):
3111 (QWebNetworkManager::QWebNetworkManager):
3112 (QWebNetworkManager::self):
3113 (QWebNetworkManager::add):
3114 (QWebNetworkManager::cancel):
3115 (QWebNetworkManager::started):
3116 (QWebNetworkManager::data):
3117 (QWebNetworkManager::finished):
3118 (QWebNetworkManager::addHttpJob):
3119 (QWebNetworkManager::cancelHttpJob):
3120 (QWebNetworkManager::httpConnectionClosed):
3121 (QWebNetworkInterfacePrivate::sendFileData):
3122 (QWebNetworkInterfacePrivate::parseDataUrl):
3123 (gCleanupInterface):
3124 (QWebNetworkInterface::setDefaultInterface):
3125 (QWebNetworkInterface::defaultInterface):
3126 (QWebNetworkInterface::QWebNetworkInterface):
3127 (QWebNetworkInterface::~QWebNetworkInterface):
3128 (QWebNetworkInterface::addJob):
3129 (QWebNetworkInterface::cancelJob):
3130 (WebCoreHttp::WebCoreHttp):
3131 (WebCoreHttp::~WebCoreHttp):
3132 (WebCoreHttp::request):
3133 (WebCoreHttp::scheduleNextRequest):
3134 (WebCoreHttp::getConnection):
3135 (WebCoreHttp::onResponseHeaderReceived):
3136 (WebCoreHttp::onReadyRead):
3137 (WebCoreHttp::onRequestFinished):
3138 (WebCoreHttp::onDone):
3139 (WebCoreHttp::onStateChanged):
3140 (WebCoreHttp::cancel):
3141 (WebCoreHttp::onSslErrors):
3142 (WebCoreHttp::onAuthenticationRequired):
3143 (WebCoreHttp::onProxyAuthenticationRequired):
3144 (HostInfo::HostInfo):
3145 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
3146 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
3147 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3148 (WebCore::HostInfo::HostInfo):
3149 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3150 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
3151 (QWebFactoryLoader::QWebFactoryLoader):
3152 (QWebFactoryLoader::self):
3153 (QWebFactoryLoader::descriptionForName):
3154 (QWebFactoryLoader::mimetypesForName):
3155 (QWebFactoryLoader::mimeTypeForExtension):
3156 (QWebFactoryLoader::extensions):
3157 (QWebFactoryLoader::nameForMimetype):
3158 (QWebFactoryLoader::create):
3159 (QWebObjectPlugin::QWebObjectPlugin):
3160 (QWebObjectPlugin::~QWebObjectPlugin):
3161 (QWebObjectPlugin::descriptionForKey):
3162 (QWebObjectPlugin::mimetypesForKey):
3163 (QWebObjectPlugin::extensionsForMimetype):
3164 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
3165 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
3166 (QWebFactoryLoader::names):
3167 (QWebFactoryLoader::supportsMimeType):
3168 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
3169 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3170 (QWebObjectPluginConnector::frame):
3171 (QWebObjectPluginConnector::pluginParentWidget):
3172 (QWebObjectPluginConnector::requestUrl):
3173 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
3174 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
3175 (QWebPagePrivate::QWebPagePrivate):
3176 (QWebPagePrivate::~QWebPagePrivate):
3177 (QWebPagePrivate::navigationRequested):
3178 (QWebPagePrivate::createMainFrame):
3179 (QWebPage::QWebPage):
3180 (QWebPage::~QWebPage):
3181 (QWebPage::createFrame):
3185 (QWebPage::mainFrame):
3186 (QWebPage::sizeHint):
3188 (QWebPage::history):
3190 (QWebPage::goForward):
3191 (QWebPage::goToHistoryItem):
3192 (QWebPage::javaScriptConsoleMessage):
3193 (QWebPage::javaScriptAlert):
3194 (QWebPage::javaScriptConfirm):
3195 (QWebPage::javaScriptPrompt):
3196 (QWebPage::createWindow):
3197 (QWebPage::createModalDialog):
3198 (QWebPage::createPlugin):
3199 (QWebPage::navigationRequested):
3200 (QWebPage::setWindowGeometry):
3202 (QWebPage::canCopy):
3203 (QWebPage::canPaste):
3207 (QWebPage::isModified):
3208 (QWebPage::undoStack):
3209 (dropActionToDragOp):
3210 (dragOpToDropAction):
3211 (QWebPage::resizeEvent):
3212 (QWebPage::paintEvent):
3213 (QWebPage::mouseMoveEvent):
3214 (QWebPage::mousePressEvent):
3215 (QWebPage::mouseDoubleClickEvent):
3216 (QWebPage::mouseReleaseEvent):
3217 (QWebPage::wheelEvent):
3218 (QWebPage::keyPressEvent):
3219 (QWebPage::keyReleaseEvent):
3220 (QWebPage::focusInEvent):
3221 (QWebPage::focusOutEvent):
3222 (QWebPage::focusNextPrevChild):
3223 (QWebPage::dragEnterEvent):
3224 (QWebPage::dragLeaveEvent):
3225 (QWebPage::dragMoveEvent):
3226 (QWebPage::dropEvent):
3227 (QWebPage::setNetworkInterface):
3228 (QWebPage::networkInterface):
3230 (QWebPage::setSettings):
3231 (QWebPage::settings):
3232 (QWebPage::chooseFile):
3233 (QWebPage::setNetworkProxy):
3234 (QWebPage::networkProxy):
3235 (QWebPage::userAgentStringForUrl):
3236 (QWebPage::onLoadProgressChanged):
3237 (QWebPage::totalBytes):
3238 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
3239 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
3240 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
3241 (QWebHistoryItem::QWebHistoryItem):
3242 (QWebHistoryItem::operator=):
3243 (QWebHistoryItem::~QWebHistoryItem):
3244 (QWebHistoryItem::originalUrl):
3245 (QWebHistoryItem::currentUrl):
3246 (QWebHistoryItem::title):
3247 (QWebHistoryItem::lastVisited):
3248 (QWebHistoryItem::icon):
3249 (QWebPageHistory::QWebPageHistory):
3250 (QWebPageHistory::itemAtIndex):
3251 (QWebPageHistory::operator=):
3252 (QWebPageHistory::~QWebPageHistory):
3253 (QWebPageHistory::items):
3254 (QWebPageHistory::backItems):
3255 (QWebPageHistory::forwardItems):
3256 (QWebPageHistory::canGoBack):
3257 (QWebPageHistory::canGoForward):
3258 (QWebPageHistory::goBack):
3259 (QWebPageHistory::goForward):
3260 (QWebPageHistory::goToItem):
3261 (QWebPageHistory::backItem):
3262 (QWebPageHistory::currentItem):
3263 (QWebPageHistory::forwardItem):
3264 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
3265 (QExplicitlySharedDataPointer::operator*):
3266 (QExplicitlySharedDataPointer::operator->):
3267 (QExplicitlySharedDataPointer::operator T *):
3268 (QExplicitlySharedDataPointer::operator const T *):
3269 (QExplicitlySharedDataPointer::data):
3270 (QExplicitlySharedDataPointer::constData):
3271 (QExplicitlySharedDataPointer::operator==):
3272 (QExplicitlySharedDataPointer::operator!=):
3273 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
3274 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
3275 (QExplicitlySharedDataPointer::operator=):
3276 (QExplicitlySharedDataPointer::operator!):
3277 (::QExplicitlySharedDataPointer):
3278 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
3279 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
3280 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
3281 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
3282 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
3283 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
3284 (QWebSettingsPrivate::QWebSettingsPrivate):
3285 (QWebSettings::QWebSettings):
3286 (QWebSettings::~QWebSettings):
3287 (QWebSettings::setMinimumFontSize):
3288 (QWebSettings::minimumFontSize):
3289 (QWebSettings::setMinimumLogicalFontSize):
3290 (QWebSettings::minimumLogicalFontSize):
3291 (QWebSettings::setDefaultFontSize):
3292 (QWebSettings::defaultFontSize):
3293 (QWebSettings::setDefaultFixedFontSize):
3294 (QWebSettings::defaultFixedFontSize):
3295 (QWebSettings::setUserStyleSheetLocation):
3296 (QWebSettings::userStyleSheetLocation):
3297 (QWebSettings::setIconDatabaseEnabled):
3298 (QWebSettings::iconDatabaseEnabled):
3299 (QWebSettings::setWebGraphic):
3300 (QWebSettings::webGraphic):
3301 (QWebSettings::operator=):
3302 (QWebSettings::setGlobal):
3303 (QWebSettings::global):
3304 (QWebSettings::setFontFamily):
3305 (QWebSettings::fontFamily):
3306 (QWebSettings::setAttribute):
3307 (QWebSettings::testAttribute):
3308 (loadResourcePixmap):
3309 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
3310 * ChangeLog: Renamed from WebKitQt/ChangeLog.
3311 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
3312 (IcoHeader::operator >>):
3313 (IcoHeader::BMP_INFOHDR::):
3314 (IcoHeader::operator<<):
3315 (IcoHeader::LessDifference::LessDifference):
3316 (IcoHeader::LessDifference::operator ()):
3317 (IcoHeader::loadFromDIB):
3318 (ICOHandler::ICOHandler):
3319 (ICOHandler::canRead):
3321 (ICOHandler::write):
3324 (ICOPlugin::capabilities):
3325 (ICOPlugin::create):
3326 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
3327 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
3328 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
3329 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
3330 (HoverLabel::HoverLabel):
3331 (HoverLabel::setHoverLink):
3332 (HoverLabel::sizeForFont):
3333 (HoverLabel::sizeHint):
3334 (HoverLabel::updateSize):
3335 (HoverLabel::resetAnimation):
3336 (HoverLabel::paintEvent):
3337 (HoverLabel::interpolate):
3338 (ClearButton::ClearButton):
3339 (ClearButton::paintEvent):
3340 (SearchEdit::SearchEdit):
3341 (SearchEdit::~SearchEdit):
3342 (SearchEdit::paintEvent):
3343 (SearchEdit::resizeEvent):
3344 (SearchEdit::moveEvent):
3345 (MainWindow::MainWindow):
3346 (MainWindow::changeLocation):
3347 (MainWindow::loadFinished):
3348 (MainWindow::showLinkHover):
3349 (MainWindow::resizeEvent):
3351 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
3352 (WebCore::ChromeClientQt::ChromeClientQt):
3353 (WebCore::ChromeClientQt::~ChromeClientQt):
3354 (WebCore::ChromeClientQt::setWindowRect):
3355 (WebCore::ChromeClientQt::windowRect):
3356 (WebCore::ChromeClientQt::pageRect):
3357 (WebCore::ChromeClientQt::scaleFactor):
3358 (WebCore::ChromeClientQt::focus):
3359 (WebCore::ChromeClientQt::unfocus):
3360 (WebCore::ChromeClientQt::canTakeFocus):
3361 (WebCore::ChromeClientQt::takeFocus):
3362 (WebCore::ChromeClientQt::createWindow):
3363 (WebCore::ChromeClientQt::createModalDialog):
3364 (WebCore::ChromeClientQt::show):
3365 (WebCore::ChromeClientQt::canRunModal):
3366 (WebCore::ChromeClientQt::runModal):
3367 (WebCore::ChromeClientQt::setToolbarsVisible):
3368 (WebCore::ChromeClientQt::toolbarsVisible):
3369 (WebCore::ChromeClientQt::setStatusbarVisible):
3370 (WebCore::ChromeClientQt::statusbarVisible):
3371 (WebCore::ChromeClientQt::setScrollbarsVisible):
3372 (WebCore::ChromeClientQt::scrollbarsVisible):
3373 (WebCore::ChromeClientQt::setMenubarVisible):
3374 (WebCore::ChromeClientQt::menubarVisible):
3375 (WebCore::ChromeClientQt::setResizable):
3376 (WebCore::ChromeClientQt::addMessageToConsole):
3377 (WebCore::ChromeClientQt::chromeDestroyed):
3378 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3379 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3380 (WebCore::ChromeClientQt::closeWindowSoon):
3381 (WebCore::ChromeClientQt::runJavaScriptAlert):
3382 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3383 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3384 (WebCore::ChromeClientQt::setStatusbarText):
3385 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3386 (WebCore::ChromeClientQt::tabsToLinks):
3387 (WebCore::ChromeClientQt::windowResizerRect):
3388 (WebCore::ChromeClientQt::addToDirtyRegion):
3389 (WebCore::ChromeClientQt::scrollBackingStore):
3390 (WebCore::ChromeClientQt::updateBackingStore):
3391 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3392 (WebCore::ChromeClientQt::setToolTip):
3393 (WebCore::ChromeClientQt::print):
3394 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
3395 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
3396 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
3397 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
3398 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
3399 (WebCore::ContextMenuClientQt::downloadURL):
3400 (WebCore::ContextMenuClientQt::lookUpInDictionary):
3401 (WebCore::ContextMenuClientQt::speak):
3402 (WebCore::ContextMenuClientQt::stopSpeaking):
3403 (WebCore::ContextMenuClientQt::searchWithGoogle):
3404 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
3405 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
3406 (WebCore::DragClientQt::actionMaskForDrag):
3407 (WebCore::DragClientQt::willPerformDragDestinationAction):
3408 (WebCore::DragClientQt::dragControllerDestroyed):
3409 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
3410 (WebCore::DragClientQt::willPerformDragSourceAction):
3411 (WebCore::DragClientQt::startDrag):
3412 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
3413 (WebCore::DragClientQt::DragClientQt):
3414 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
3415 (EditCommandQt::EditCommandQt):
3416 (EditCommandQt::~EditCommandQt):
3417 (EditCommandQt::redo):
3418 (EditCommandQt::undo):
3419 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
3420 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
3421 (WebCore::EditorClientQt::shouldDeleteRange):
3422 (WebCore::EditorClientQt::shouldShowDeleteInterface):
3423 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
3424 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
3425 (WebCore::EditorClientQt::spellCheckerDocumentTag):
3426 (WebCore::EditorClientQt::shouldBeginEditing):
3427 (WebCore::EditorClientQt::shouldEndEditing):
3428 (WebCore::EditorClientQt::shouldInsertText):
3429 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3430 (WebCore::EditorClientQt::shouldApplyStyle):
3431 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
3432 (WebCore::EditorClientQt::didBeginEditing):
3433 (WebCore::EditorClientQt::respondToChangedContents):
3434 (WebCore::EditorClientQt::respondToChangedSelection):
3435 (WebCore::EditorClientQt::didEndEditing):
3436 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
3437 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
3438 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
3439 (WebCore::EditorClientQt::isEditable):
3440 (WebCore::EditorClientQt::registerCommandForUndo):
3441 (WebCore::EditorClientQt::registerCommandForRedo):
3442 (WebCore::EditorClientQt::clearUndoRedoOperations):
3443 (WebCore::EditorClientQt::canUndo):
3444 (WebCore::EditorClientQt::canRedo):
3445 (WebCore::EditorClientQt::undo):
3446 (WebCore::EditorClientQt::redo):
3447 (WebCore::EditorClientQt::shouldInsertNode):
3448 (WebCore::EditorClientQt::pageDestroyed):
3449 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
3450 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
3451 (WebCore::EditorClientQt::toggleGrammarChecking):
3452 (WebCore::EditorClientQt::handleKeypress):
3453 (WebCore::EditorClientQt::handleInputMethodKeypress):
3454 (WebCore::EditorClientQt::EditorClientQt):
3455 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3456 (WebCore::EditorClientQt::textFieldDidEndEditing):
3457 (WebCore::EditorClientQt::textDidChangeInTextField):
3458 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
3459 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
3460 (WebCore::EditorClientQt::textDidChangeInTextArea):
3461 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3462 (WebCore::EditorClientQt::learnWord):
3463 (WebCore::EditorClientQt::checkSpellingOfString):
3464 (WebCore::EditorClientQt::checkGrammarOfString):
3465 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3466 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3467 (WebCore::EditorClientQt::showSpellingUI):
3468 (WebCore::EditorClientQt::spellingUIIsShowing):
3469 (WebCore::EditorClientQt::getGuessesForWord):
3470 (WebCore::EditorClientQt::isEditing):
3471 (WebCore::EditorClientQt::setInputMethodState):
3472 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
3473 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
3474 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3475 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
3476 (WebCore::FrameLoaderClientQt::setFrame):
3477 (WebCore::FrameLoaderClientQt::webFrame):
3478 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3479 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3480 (WebCore::FrameLoaderClientQt::hasWebView):
3481 (WebCore::FrameLoaderClientQt::hasFrameView):
3482 (WebCore::FrameLoaderClientQt::hasBackForwardList):
3483 (WebCore::FrameLoaderClientQt::resetBackForwardList):
3484 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
3485 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
3486 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
3487 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
3488 (WebCore::FrameLoaderClientQt::makeDocumentView):
3489 (WebCore::FrameLoaderClientQt::makeRepresentation):
3490 (WebCore::FrameLoaderClientQt::forceLayout):
3491 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
3492 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
3493 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
3494 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
3495 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
3496 (WebCore::FrameLoaderClientQt::willCloseDocument):
3497 (WebCore::FrameLoaderClientQt::detachedFromParent2):
3498 (WebCore::FrameLoaderClientQt::detachedFromParent3):
3499 (WebCore::FrameLoaderClientQt::detachedFromParent4):
3500 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3501 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3502 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
3503 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
3504 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
3505 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
3506 (WebCore::FrameLoaderClientQt::dispatchWillClose):
3507 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3508 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
3509 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
3510 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
3511 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3512 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
3513 (WebCore::FrameLoaderClientQt::dispatchShow):
3514 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
3515 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3516 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
3517 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
3518 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
3519 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
3520 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
3521 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
3522 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3523 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3524 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3525 (WebCore::FrameLoaderClientQt::willChangeTitle):
3526 (WebCore::FrameLoaderClientQt::didChangeTitle):
3527 (WebCore::FrameLoaderClientQt::finishedLoading):
3528 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
3529 (WebCore::FrameLoaderClientQt::setDefersLoading):
3530 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
3531 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
3532 (WebCore::FrameLoaderClientQt::clearArchivedResources):
3533 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3534 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
3535 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
3536 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3537 (WebCore::FrameLoaderClientQt::restoreViewState):
3538 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
3539 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
3540 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
3541 (WebCore::FrameLoaderClientQt::didFinishLoad):
3542 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
3543 (WebCore::FrameLoaderClientQt::setTitle):
3544 (WebCore::FrameLoaderClientQt::userAgent):
3545 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3546 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
3547 (WebCore::FrameLoaderClientQt::canHandleRequest):
3548 (WebCore::FrameLoaderClientQt::windowObjectCleared):
3549 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3550 (WebCore::FrameLoaderClientQt::registerForIconNotification):
3551 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3552 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
3553 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
3554 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
3555 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3556 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3557 (WebCore::FrameLoaderClientQt::canCachePage):
3558 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3559 (WebCore::FrameLoaderClientQt::committedLoad):
3560 (WebCore::FrameLoaderClientQt::cancelledError):
3561 (WebCore::FrameLoaderClientQt::blockedError):
3562 (WebCore::FrameLoaderClientQt::cannotShowURLError):
3563 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
3564 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
3565 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
3566 (WebCore::FrameLoaderClientQt::shouldFallBack):
3567 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3568 (WebCore::FrameLoaderClientQt::download):
3569 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
3570 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3571 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
3572 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
3573 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3574 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3575 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
3576 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3577 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3578 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3579 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3580 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3581 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3582 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3583 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3584 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
3585 (WebCore::FrameLoaderClientQt::startDownload):
3586 (WebCore::FrameLoaderClientQt::willUseArchive):
3587 (WebCore::FrameLoaderClientQt::createFrame):
3588 (WebCore::FrameLoaderClientQt::objectContentType):
3590 (WebCore::FrameLoaderClientQt::createPlugin):
3591 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
3592 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
3593 (WebCore::FrameLoaderClientQt::overrideMediaType):
3594 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
3595 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
3596 (WebCore::InspectorClientQt::inspectorDestroyed):
3597 (WebCore::InspectorClientQt::createPage):
3598 (WebCore::InspectorClientQt::showWindow):
3599 (WebCore::InspectorClientQt::closeWindow):
3600 (WebCore::InspectorClientQt::attachWindow):
3601 (WebCore::InspectorClientQt::detachWindow):
3602 (WebCore::InspectorClientQt::highlight):
3603 (WebCore::InspectorClientQt::hideHighlight):
3604 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
3605 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
3606 (WebKitFactory::WebKitFactory):
3607 (WebKitFactory::~WebKitFactory):
3608 (WebKitFactory::createPartObject):
3609 (WebKitFactory::instance):
3610 (WebKitFactory::ref):
3611 (WebKitFactory::deref):
3612 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
3613 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
3614 (WebKitPart::WebKitPart):
3615 (WebKitPart::~WebKitPart):
3616 (WebKitPart::openFile):
3617 (WebKitPart::openUrl):
3618 (WebKitPart::closeUrl):
3619 (WebKitPart::parentPart):
3620 (WebKitPart::frame):
3621 (WebKitPart::initView):
3622 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
3623 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
3625 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
3626 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
3627 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
3628 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
3629 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
3630 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
3631 (WebKitPartClient::WebKitPartClient):
3632 (WebKitPartClient::~WebKitPartClient):
3633 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
3634 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
3635 (WebKitPartInterface::WebKitPartInterface):
3636 (WebKitPartInterface::~WebKitPartInterface):
3637 (WebKitPartInterface::url):
3638 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
3639 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
3641 2007-10-02 Adam Treat <treat@kde.org>
3643 Reviewed by Eric Seidel.
3645 Open the requested url on the newly created window.
3646 Implement createModalDialog and provide new API for this.
3647 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
3650 (QWebPage::createModalDialog):
3652 * WebCoreSupport/ChromeClientQt.cpp:
3653 (WebCore::ChromeClientQt::createWindow):
3654 (WebCore::ChromeClientQt::createModalDialog):
3656 2007-10-02 Lars Knoll <lars@trolltech.com>
3660 Add API to retrieve the frame name from QWebFrame.
3661 Implement support for DRT::dumpChildrenAsText.
3663 * Api/qwebframe.cpp:
3667 2007-10-02 Lars Knoll <lars@trolltech.com>
3671 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
3673 * Api/qwebnetworkinterface.cpp:
3674 (QWebNetworkManager::started):
3675 (QWebNetworkManager::data):
3676 (QWebNetworkManager::finished):
3677 (QWebNetworkInterfacePrivate::sendFileData):
3678 (QWebNetworkInterfacePrivate::parseDataUrl):
3679 (WebCoreHttp::scheduleNextRequest):
3680 (WebCoreHttp::onSslErrors):
3681 * QtLauncher/main.cpp:
3684 2007-10-01 Lars Knoll <lars@trolltech.com>
3688 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
3690 * WebCoreSupport/FrameLoaderClientQt.cpp:
3691 (WebCore::FrameLoaderClientQt::makeDocumentView):
3692 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3693 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3694 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3695 (WebCore::FrameLoaderClientQt::objectContentType):
3696 (WebCore::FrameLoaderClientQt::createPlugin):
3698 2007-09-30 George Staikos <staikos@kde.org>
3700 Qt build fix (OS X specific).
3702 * QtLauncher/QtLauncher.pro:
3704 2007-09-26 Mark Rowe <mrowe@apple.com>
3708 * WebCoreSupport/FrameLoaderClientQt.cpp:
3709 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
3711 2007-09-25 David Kilzer <ddkilzer@webkit.org>
3715 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
3716 LGPL'ed files contain incorrect FSF address
3718 * Api/qcookiejar.cpp:
3720 * Api/qwebframe.cpp:
3722 * Api/qwebframe_p.h:
3723 * Api/qwebhistoryinterface.cpp:
3724 * Api/qwebhistoryinterface.h:
3725 * Api/qwebkitglobal.h:
3726 * Api/qwebnetworkinterface.cpp:
3727 * Api/qwebnetworkinterface.h:
3728 * Api/qwebnetworkinterface_p.h:
3729 * Api/qwebobjectplugin.cpp:
3730 * Api/qwebobjectplugin.h:
3731 * Api/qwebobjectpluginconnector.cpp:
3732 * Api/qwebobjectpluginconnector.h:
3736 * Api/qwebpagehistory.cpp:
3737 * Api/qwebpagehistory.h:
3738 * Api/qwebsettings.cpp:
3739 * Api/qwebsettings.h:
3740 * WebCoreSupport/EditCommandQt.cpp:
3741 * WebCoreSupport/EditCommandQt.h:
3743 2007-09-25 Adam Treat <treat@kde.org>
3745 Reviewed by Simon and Lars.
3747 Modifies the addToJSWindowObject to bind js objects using the built-in
3748 kjs_window class. Make sure to protect the created runtime object from
3751 Adds a signal to QWebFrame to notify clients of the beginning of a
3752 provisional load. DRT needs this.
3754 * Api/qwebframe.cpp:
3755 (QWebFrame::addToJSWindowObject):
3757 * WebCoreSupport/FrameLoaderClientQt.cpp:
3758 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
3760 2007-09-10 Qing Zhao <qing@staikos.net>
3762 Reviewed by George Staikos.
3764 Don't re-encode urls, resulting in double encoding. Fixes login to
3767 * Api/qwebnetworkinterface.cpp:
3768 (QWebNetworkRequestPrivate::init):
3769 (QWebNetworkManager::started):
3771 2007-09-08 Mark Rowe <mrowe@apple.com>
3773 Qt build fix. Move stub method implementations to the right class.
3775 * WebCoreSupport/FrameLoaderClientQt.cpp:
3776 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
3778 2007-09-08 Brady Eidson <beidson@apple.com>
3780 YABF (Yet Another Build Fix)
3782 * Api/qwebsettings.cpp:
3783 (QWebSettings::iconDatabaseEnabled):
3785 2007-09-08 Brady Eidson <beidson@apple.com>
3789 * WebCoreSupport/FrameLoaderClientQt.cpp:
3790 (WebCore::FrameLoaderClient::registerForIconNotification):
3791 * WebCoreSupport/FrameLoaderClientQt.h:
3793 2007-09-08 Brady Eidson <beidson@apple.com>
3797 * WebCoreSupport/FrameLoaderClientQt.cpp:
3798 (WebCore::FrameLoaderClient::registerForIconNotification):
3799 * WebCoreSupport/FrameLoaderClientQt.h:
3801 2007-09-05 Geoffrey Garen <ggaren@apple.com>
3803 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
3805 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
3806 memory cache, or a very tiny one
3808 Keep the Qt build working with an empty stub.
3810 * WebCoreSupport/FrameLoaderClientQt.cpp:
3811 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
3812 * WebCoreSupport/FrameLoaderClientQt.h:
3814 2007-09-07 George Staikos <staikos@kde.org>
3819 (QWebPage::onLoadProgressChanged):
3821 2007-09-07 Qing Zhao <qing@staikos.net>
3823 Reviewed by Anders and George.
3825 Export page size and load progress in bytes.
3828 (QWebPage::QWebPage):
3829 (QWebPage::onLoadProgressChanged):
3830 (QWebPage::totalBytes):
3831 (QWebPage::bytesReceived):
3835 2007-09-06 George Staikos <staikos@kde.org>
3839 Make popup windows work again.
3841 * WebCoreSupport/FrameLoaderClientQt.cpp:
3842 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3844 2007-09-01 Oliver Hunt <oliver@apple.com>
3848 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
3850 EditorClient::setInputMethodState stub
3852 * WebCoreSupport/EditorClientQt.cpp:
3853 (WebCore::EditorClientQt::setInputMethodState):
3854 * WebCoreSupport/EditorClientQt.h:
3856 2007-08-30 Simon Hausmann <hausmann@kde.org>
3860 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
3863 (QWebPage::keyPressEvent):
3865 2007-08-30 Simon Hausmann <hausmann@kde.org>
3869 When scrolling with the keyboard don't call update() on the entire widget.
3870 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
3874 (QWebPage::keyPressEvent):
3876 2007-08-30 Simon Hausmann <hausmann@kde.org>
3880 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
3883 (QWebPage::keyPressEvent):
3885 2007-08-29 Simon Hausmann <hausmann@kde.org>
3891 * WebCoreSupport/FrameLoaderClientQt.cpp:
3892 (WebCore::FrameLoaderClientQt::objectContentType):
3894 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
3896 Reviewed by George Staikos.
3898 Don't export ICO symbols.
3900 * Plugins/Plugins.pro:
3902 2007-08-19 George Staikos <staikos@kde.org>
3906 * WebCoreSupport/FrameLoaderClientQt.cpp:
3907 (WebCore::FrameLoaderClientQt::createPlugin):
3908 * WebCoreSupport/FrameLoaderClientQt.h:
3910 2007-08-10 Lars Knoll <lars@trolltech.com>
3912 Reviewed and landed by Simon.
3914 Limit the set of properties from the computed style to apply to Qt
3915 plugin widgets, as only a few of them make sense.
3917 * WebCoreSupport/FrameLoaderClientQt.cpp:
3920 2007-08-10 Lars Knoll <lars@trolltech.com>
3924 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
3927 (QWebPage::createPlugin):
3929 * WebCoreSupport/FrameLoaderClientQt.cpp:
3930 (WebCore::FrameLoaderClientQt::objectContentType):
3931 (WebCore::FrameLoaderClientQt::createPlugin):
3933 2007-08-10 Simon Hausmann <hausmann@kde.org>
3937 Added support for network jobs from Qt resources using the qrc protocol.
3939 * Api/qwebnetworkinterface.cpp:
3940 (QWebNetworkInterface::addJob):
3942 2007-08-10 Simon Hausmann <hausmann@kde.org>
3946 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
3947 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
3949 * WebCoreSupport/FrameLoaderClientQt.cpp:
3950 (WebCore::FrameLoaderClientQt::objectContentType):
3952 (WebCore::FrameLoaderClientQt::createPlugin):
3954 2007-08-10 Simon Hausmann <hausmann@kde.org>
3958 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
3959 and fixed widget embedding by setting the right QWidget parent.
3962 (QWebPage::createPlugin):
3964 * WebCoreSupport/FrameLoaderClientQt.cpp:
3965 (WebCore::FrameLoaderClientQt::objectContentType):
3966 (WebCore::FrameLoaderClientQt::createPlugin):
3968 2007-08-02 George Staikos <staikos@kde.org>
3972 Add an interface for the useragent string.
3975 (QWebPage::userAgentStringForUrl):
3977 * WebCoreSupport/FrameLoaderClientQt.cpp:
3978 (WebCore::FrameLoaderClientQt::userAgent):
3980 2007-08-01 Adam Treat <treat@kde.org>
3982 Reviewed by George Staikos.
3984 Add an interface to manage global history for clients
3987 * Api/qwebhistoryinterface.cpp: Added.
3988 (WebCore::historyContains):
3989 (gCleanupInterface):
3990 (QWebHistoryInterface::setDefaultInterface):
3991 (QWebHistoryInterface::defaultInterface):
3992 (QWebHistoryInterface::QWebHistoryInterface):
3993 * Api/qwebhistoryinterface.h: Added.
3995 2007-07-30 Adam Treat <treat@kde.org>
3999 * WebCoreSupport/EditorClientQt.cpp:
4000 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
4001 * WebCoreSupport/EditorClientQt.h:
4003 2007-07-30 Simon Hausmann <hausmann@kde.org>
4007 Link QtLauncher into $$OUTPUT_DIR/bin
4009 * QtLauncher/QtLauncher.pro:
4011 2007-07-29 Adam Treat <treat@kde.org>
4013 Reviewed by George Staikos.
4015 Change QWebPage::paintEvent to draw using the individual rects provided
4016 via the QRegion and set the widget to use opaque paint events.
4018 These changes greatly reduce the cpu load as we are no longer painting the
4019 entire page for each 1px scroll :P
4021 * Api/qwebframe.cpp:
4022 (QWebFrame::render):
4024 (QWebPage::QWebPage):
4025 (QWebPage::paintEvent):
4026 * WebCoreSupport/ChromeClientQt.cpp:
4027 (WebCore::ChromeClientQt::addToDirtyRegion):
4029 2007-07-29 Adam Treat <treat@kde.org>
4031 Reviewed by Alexey Proskuryakov.
4033 Respect the margins when creating frames.
4034 Set the scroll mode to always off like we did before the rendered
4035 frames patch and the other ports do now.
4037 * Api/qwebframe.cpp:
4038 (QWebFramePrivate::init):
4040 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
4044 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
4046 * QtLauncher/QtLauncher.pro:
4048 2007-07-27 Simon Hausmann <hausmann@kde.org>
4052 Fix compilation with MSVC.
4054 * Api/qwebpagehistory.cpp:
4055 (QWebPageHistory::operator=):
4056 * Api/qwebpagehistory.h:
4057 * Api/qwebsettings.cpp:
4058 (QWebSettings::operator=):
4059 * Api/qwebsettings.h:
4061 2007-07-26 Qing Zhao <qing@staikos.net>
4063 Reviewed by George Staikos.
4065 Add a signal for history notification.
4068 * WebCoreSupport/FrameLoaderClientQt.cpp:
4070 2007-07-24 Adam Treat <treat@kde.org>
4072 Reviewed by Niko and Lars.
4074 These are no longer necessary or used.
4076 * WebCoreSupport/FrameLoaderClientQt.cpp:
4077 * WebCoreSupport/FrameLoaderClientQt.h:
4079 2007-07-20 Adam Treat <adam@staikos.net>
4081 Reviewed by George Staikos.
4083 Add a signal for first layout and add the action type for the policy
4087 (QWebPagePrivate::navigationRequested):
4088 (QWebPage::navigationRequested):
4091 * WebCoreSupport/FrameLoaderClientQt.cpp:
4092 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
4093 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
4095 2007-07-19 Adam Treat <treat@kde.org>
4099 Do a recursive layout on the frame's children. This fixes a
4100 segfault found when rendering some framesets.
4102 * Api/qwebframe.cpp:
4103 (QWebFrame::render):
4104 (QWebFrame::layout):
4107 2007-07-18 Timothy Hatcher <timothy@apple.com>
4111 Make the Page with the now required InspectorClient.
4114 (QWebPagePrivate::QWebPagePrivate):
4115 * WebKitPart/WebKitPart.cpp:
4116 (WebKitPart::initView):
4118 2007-07-18 Sam Weinig <sam@webkit.org>
4122 * Api/qwebnetworkinterface.cpp:
4123 (QWebNetworkManager::started):
4124 * WebCoreSupport/FrameLoaderClientQt.cpp:
4125 (WebCore::FrameLoaderClientQt::canShowMIMEType):
4126 (WebCore::FrameLoaderClientQt::objectContentType):
4128 2007-07-18 Lars Knoll <lars@trolltech.com>
4130 Reviewed by Zack & Simon
4132 Reallow setting of scrollbar policies on QWebFrame.
4134 * Api/qwebframe.cpp:
4135 (QWebFrame::verticalScrollBarPolicy):
4136 (QWebFrame::setVerticalScrollBarPolicy):
4137 (QWebFrame::horizontalScrollBarPolicy):
4140 2007-07-17 Adam Treat <treat@kde.org>
4144 * WebCoreSupport/FrameLoaderClientQt.cpp:
4145 (WebCore::FrameLoaderClientQt::createFrame):
4147 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
4149 Blind build fix for Qt after r24366 by adding the additional
4150 WebCore::ResourceRequest& parameter to the download method.
4152 * WebCoreSupport/FrameLoaderClientQt.cpp:
4153 (WebCore::FrameLoaderClientQt::download):
4154 * WebCoreSupport/FrameLoaderClientQt.h:
4156 2007-07-17 Adam Roben <aroben@apple.com>
4158 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
4162 * WebCoreSupport/ContextMenuClientQt.cpp:
4163 * WebCoreSupport/ContextMenuClientQt.h:
4165 2007-07-16 Adam Roben <aroben@apple.com>
4167 Updated ChromeClientQt for ChromeClient changes.
4171 * WebCoreSupport/ChromeClientQt.cpp:
4172 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
4173 * WebCoreSupport/ChromeClientQt.h: Ditto.
4175 2007-07-13 Mark Rowe <mrowe@apple.com>
4179 Build fix. Stub out ChromeClientQt::print.
4181 * WebCoreSupport/ChromeClientQt.cpp:
4182 (WebCore::ChromeClientQt::print):
4183 * WebCoreSupport/ChromeClientQt.h:
4185 2007-07-12 George Staikos <staikos@kde.org>
4187 Qt build fix for assertions.
4189 * Api/qwebnetworkinterface.cpp:
4190 (QWebNetworkManager::add):
4192 2007-07-12 George Staikos <staikos@kde.org>
4196 * Api/qwebnetworkinterface.cpp:
4197 (QWebNetworkManager::add):
4199 2007-07-10 Mark Rowe <mrowe@apple.com>
4201 Qt build fix after r24126.
4203 * Api/qwebframe.cpp:
4204 (QWebFrame::evaluateJavaScript):
4206 2007-07-10 Eli Fidler <eli@staikos.net>
4208 Reviewed by George Staikos.
4210 Properly url-decode data urls.
4212 * Api/qwebnetworkinterface.cpp:
4213 (QWebNetworkInterfacePrivate::parseDataUrl):
4215 2007-07-09 Adam Treat <adam@staikos.net>
4217 Reviewed by George Staikos.
4219 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
4222 * Api/qwebframe.cpp:
4223 (QWebFramePrivate::init):
4224 (QWebFramePrivate::parentFrame):
4225 (QWebFrame::QWebFrame):
4226 (QWebFrame::render):
4228 (QWebFrame::geometry):
4229 (QWebFrame::evaluateJavaScript):
4230 (QWebFrame::mouseMoveEvent):
4231 (QWebFrame::mousePressEvent):
4232 (QWebFrame::mouseDoubleClickEvent):
4233 (QWebFrame::mouseReleaseEvent):
4234 (QWebFrame::wheelEvent):
4236 * Api/qwebobjectpluginconnector.cpp:
4237 (QWebObjectPluginConnector::pluginParentWidget):
4239 (QWebPagePrivate::QWebPagePrivate):
4240 (QWebPagePrivate::createMainFrame):
4241 (QWebPage::QWebPage):
4242 (QWebPage::javaScriptAlert):
4243 (QWebPage::javaScriptConfirm):
4244 (QWebPage::javaScriptPrompt):
4245 (QWebPage::resizeEvent):
4246 (QWebPage::paintEvent):
4247 (QWebPage::mouseMoveEvent):
4248 (QWebPage::mousePressEvent):
4249 (QWebPage::mouseDoubleClickEvent):
4250 (QWebPage::mouseReleaseEvent):
4251 (QWebPage::wheelEvent):
4252 (QWebPage::keyPressEvent):
4253 (QWebPage::keyReleaseEvent):
4254 (QWebPage::focusInEvent):
4255 (QWebPage::focusOutEvent):
4256 (QWebPage::focusNextPrevChild):
4257 (QWebPage::chooseFile):
4260 * WebCoreSupport/ChromeClientQt.cpp:
4261 (WebCore::ChromeClientQt::addToDirtyRegion):
4263 2007-07-09 George Staikos <staikos@kde.org>
4265 Fix a minor memory leak in the loader.
4267 * Api/qwebnetworkinterface.cpp:
4268 (gCleanupInterface):
4269 (QWebNetworkInterface::setDefaultInterface):
4270 (QWebNetworkInterface::defaultInterface):
4272 2007-07-09 George Staikos <staikos@kde.org>
4274 Fix a massive memory leak in the loader.
4276 * Api/qwebnetworkinterface.cpp:
4277 (QWebNetworkManager::httpConnectionClosed):
4278 (WebCoreHttp::~WebCoreHttp):
4280 2007-07-09 George Staikos <staikos@kde.org>
4284 Rework much of the HTTP stuff to make it more stable, and add SSL and
4285 proxy support. Major memory leak also discovered but it needs more
4286 research as the obvious fix causes crashes.
4288 * Api/qwebnetworkinterface.cpp:
4289 (QWebNetworkManager::add):
4290 (QWebNetworkManager::started):
4291 (QWebNetworkManager::data):
4292 (WebCoreHttp::WebCoreHttp):
4293 (WebCoreHttp::~WebCoreHttp):
4294 (WebCoreHttp::request):
4295 (WebCoreHttp::scheduleNextRequest):
4296 (WebCoreHttp::getConnection):
4297 (WebCoreHttp::onResponseHeaderReceived):
4298 (WebCoreHttp::onReadyRead):
4299 (WebCoreHttp::onRequestFinished):
4300 (WebCoreHttp::onDone):
4301 (WebCoreHttp::onStateChanged):
4302 (WebCoreHttp::onSslErrors):
4303 (WebCoreHttp::onAuthenticationRequired):
4304 (WebCoreHttp::onProxyAuthenticationRequired):
4305 * Api/qwebnetworkinterface.h:
4306 * Api/qwebnetworkinterface_p.h:
4307 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
4309 2007-07-06 Adam Treat <adam@staikos.net>
4311 Reviewed by George Staikos.
4313 Convert QWebFrame to a QFrame from a scroll area.
4315 * Api/qwebframe.cpp:
4316 (QWebFramePrivate::init):
4317 (QWebFramePrivate::parentFrame):
4318 (QWebFramePrivate::horizontalScrollBar):
4319 (QWebFramePrivate::verticalScrollBar):
4320 (QWebFrame::QWebFrame):
4321 (QWebFrame::resizeEvent):
4322 (QWebFrame::suppressScrollbars):
4323 (QWebFrame::paintEvent):
4324 (QWebFrame::mouseMoveEvent):
4325 (QWebFrame::mousePressEvent):
4326 (QWebFrame::mouseDoubleClickEvent):
4327 (QWebFrame::mouseReleaseEvent):
4328 (QWebFrame::wheelEvent):
4329 (QWebFrame::keyPressEvent):
4330 (QWebFrame::focusInEvent):
4331 (QWebFrame::focusOutEvent):
4332 (QWebFrame::evaluateJavaScript):
4334 * Api/qwebframe_p.h:
4335 * Api/qwebobjectpluginconnector.cpp:
4336 (QWebObjectPluginConnector::pluginParentWidget):
4338 2007-07-04 Adam Roben <aroben@apple.com>
4340 Added a stub for ChromeClientQt::setToolTip
4344 * WebCoreSupport/ChromeClientQt.cpp:
4345 (WebCore::ChromeClientQt::setToolTip):
4346 * WebCoreSupport/ChromeClientQt.h:
4348 2007-07-04 Adam Roben <aroben@apple.com>
4350 Added a stub for ChromeClientQt::mouseDidMoveOverElement
4354 * WebCoreSupport/ChromeClientQt.cpp:
4355 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4356 * WebCoreSupport/ChromeClientQt.h:
4358 2007-06-28 Simon Hausmann <hausmann@kde.org>
4362 Propagate mouse double click events from Qt to WebCore.
4364 * Api/qwebframe.cpp:
4365 (QWebFrame::mouseDoubleClickEvent):
4368 2007-06-28 Simon Hausmann <hausmann@kde.org>
4372 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
4376 (QWebPage::canCopy):
4377 (QWebPage::canPaste):
4382 * WebCoreSupport/EditorClientQt.cpp:
4384 2007-06-27 George Staikos <staikos@kde.org>
4386 Compile with various Qt configurations.
4388 * Api/qwebnetworkinterface.cpp:
4389 (WebCoreHttp::scheduleNextRequest):
4391 (QWebPage::javaScriptPrompt):
4392 (QWebPage::dragEnterEvent):
4393 (QWebPage::dragLeaveEvent):
4394 (QWebPage::dragMoveEvent):
4395 (QWebPage::dropEvent):
4396 (QWebPage::chooseFile):
4399 * WebCoreSupport/DragClientQt.cpp:
4400 (WebCore::DragClientQt::startDrag):
4402 2007-06-27 Eli Fidler <eli@staikos.net>
4404 Reviewed by George Staikos.
4406 Check for QT_NO_IMAGE_TEXT and compile either way.