1 2007-11-22 Simon Hausmann <hausmann@webkit.org>
3 Reviewed by Adam Treat.
5 Fix compilation (don't define notImplemented twice)
7 * Api/qwebnetworkinterface.cpp:
9 2007-11-22 Simon Hausmann <hausmann@kde.org>
13 Use Q_SIGNALS/Q_SLOTS in the public API
18 2007-11-22 Simon Hausmann <hausmann@kde.org>
22 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
26 2007-11-22 Simon Hausmann <hausmann@kde.org>
30 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
34 * Api/qwebhistoryinterface.h:
35 * Api/qwebnetworkinterface.h:
36 * Api/qwebobjectplugin.h:
37 * Api/qwebobjectplugin_p.h:
38 * Api/qwebobjectpluginconnector.h:
40 * Api/qwebpagehistory.h:
43 2007-11-22 Simon Hausmann <hausmann@kde.org>
47 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
49 * Api/qwebpagehistory.h:
51 2007-11-22 George Staikos <staikos@kde.org>
53 Reviewed by Simon Hausmann <hausmann@kde.org>.
58 * Api/qwebobjectplugin.cpp:
59 * Api/qwebobjectplugin.h:
60 * Api/qwebobjectpluginconnector.cpp:
61 * Api/qwebobjectpluginconnector.h:
63 2007-11-22 Simon Hausmann <hausmann@kde.org>
65 Reviewed by George Staikos <staikos@kde.org>.
67 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
69 This also fixes compilation with gcc 4.3.
73 (QWebFramePrivate::init):
75 2007-11-21 Adam Treat <treat@kde.org>
79 * Connect up the signal for all subframes too.
82 (QWebFramePrivate::init):
84 (QWebPagePrivate::createMainFrame):
86 2007-11-20 Simon Hausmann <hausmann@kde.org>
88 Reviewed by Adam Treat <treat@kde.org>.
90 Remove static linkage of QtWebKit against the ICO image format plugin.
92 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
95 * Plugins/Plugins.pro:
97 2007-11-20 Simon Hausmann <hausmann@kde.org>
99 Reviewed by George Staikos <staikos@kde.org>.
101 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
106 2007-11-20 George Staikos <staikos@kde.org>
108 Reviewed by Simon Hausmann <hausmann@kde.org>.
110 Add an argument to pass the link text in the hovering signal
115 (QWebPagePrivate::createMainFrame):
116 (QWebPage::mouseMoveEvent):
119 2007-11-20 Adam Treat <treat@kde.org>
121 Reviewed by Simon and George.
123 * Be quiet and allow suppression of NotImplemented calls at runtime.
125 * WebCoreSupport/FrameLoaderClientQt.cpp:
126 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
128 2007-11-19 Adam Treat <treat@kde.org>
132 * Don't segfault when event pos is outside of the widget.
135 (QWebPage::mouseMoveEvent):
136 (QWebPage::mousePressEvent):
137 (QWebPage::mouseDoubleClickEvent):
138 (QWebPage::mouseReleaseEvent):
139 (QWebPage::contextMenuEvent):
141 2007-11-17 Timothy Hatcher <timothy@apple.com>
143 Reviewed by Mark Rowe.
145 Bug 13470: i18n: The Web Inspector is not localizable
146 http://bugs.webkit.org/show_bug.cgi?id=13470
148 * WebCoreSupport/InspectorClientQt.cpp:
149 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
150 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
152 2007-11-13 Geoffrey Garen <ggaren@apple.com>
154 Build fix: changed Shared to RefCounted.
156 * WebCoreSupport/ChromeClientQt.h:
157 * WebCoreSupport/ContextMenuClientQt.cpp:
158 * WebCoreSupport/ContextMenuClientQt.h:
159 * WebCoreSupport/EditorClientQt.h:
160 * WebCoreSupport/FrameLoaderClientQt.h:
162 2007-11-10 Simon Hausmann <hausmann@kde.org>
166 When populating the context menu with sub-menus don't add sub-menus if they're empty.
170 (QWebPagePrivate::createContextMenu):
172 2007-11-10 Simon Hausmann <hausmann@kde.org>
176 Added support for the Bold/Italic/Underline toggle actions.
180 (webActionForContextMenuAction):
181 (QWebPage::triggerAction):
185 2007-11-10 Simon Hausmann <hausmann@kde.org>
189 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
190 to update the enable/checked state correctly.
194 (QWebPagePrivate::createContextMenu):
195 (QWebPage::contextMenuEvent):
198 2007-11-10 Simon Hausmann <hausmann@kde.org>
202 Mark the text direction actions as checkable actions.
208 2007-11-09 Simon Hausmann <hausmann@kde.org>
212 Implemented the webcore actions for changing the text direction.
216 (webActionForContextMenuAction):
217 (QWebPage::triggerAction):
221 2007-11-09 Simon Hausmann <hausmann@kde.org>
225 Fix ContextMenu allocation in the Qt port.
227 Store all items and submenus value based in ContextMenu and ContextMenuItem.
228 That fixes the crashes when the context menu was populated with sub-menus because
229 of the use of temporary ContextMenu objects like this:
231 ContextMenu subMenu(...);
232 subMenu.appendItem(...);
233 subMenu.appendItem(...);
235 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
239 (QWebPage::contextMenuEvent):
242 2007-11-09 Simon Hausmann <hausmann@kde.org>
246 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
252 2007-11-08 Kevin McCullough <kmccullough@apple.com>
256 - windowObjectCleared() is no longer const. It needs to setup the
257 script debugger and cannot be const to do so.
259 * WebCoreSupport/FrameLoaderClientQt.cpp:
260 (WebCore::FrameLoaderClientQt::windowObjectCleared):
261 * WebCoreSupport/FrameLoaderClientQt.h:
263 2007-11-08 Simon Hausmann <hausmann@kde.org>
265 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
267 The buildbots use Qt 4.4 which has the function in question, but Qt
268 4.3 doesn't have it. Use removeAll() as replacement instead, it
269 shouldn't make a difference in performance.
271 * Api/qwebsettings.cpp:
272 (QWebSettings::~QWebSettings):
274 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
276 Reviewed by Lars Knoll <lars@trolltech.com>.
278 Cleanup checking for the request method.
280 * Check the request method only in QWebNetworkManager::add.
281 * Currently HEAD, GET, POST are allowed and for everything else
282 QWebNetworkManager::add returns false.
283 * Returning false is compatible with ResourceHandle::start and it
284 can be used in ResourceHandle::loadResourceSynchronously to generate
288 * Api/qwebnetworkinterface.cpp:
289 (QWebNetworkManager::add):
291 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
293 Reviewed by Lars Knoll <lars@trolltech.com>.
295 Fix bug in the implementation of synchronous network jobs.
297 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
298 - if (jobMode == AsynchronousJob) {
299 + if (jobMode == SynchronousJob) {
300 add job to synchronous list/hash
302 * Just applying the above change will lead to crashes because we can finish
303 jobs before we started them.
305 * Avoid these issues by saving all work (starting a job, sending data and
306 finishing it) inside one list. JobWork will contain any
307 of the above three work types and doWork will just work on this list
308 (m_pendingWork). As foreach takes a copy of the list calling started, data
309 and finished will not add new work and we gurantee that if we have JobStarted
310 it will be in the list before JobData and JobFinished.
312 * Observation: We might just kill the code to handle sync jobs.
315 * Api/qwebnetworkinterface.cpp:
316 (QWebNetworkManager::add):
317 (QWebNetworkManager::queueStart):
318 (QWebNetworkManager::queueData):
319 (QWebNetworkManager::queueFinished):
320 (QWebNetworkManager::doWork):
321 * Api/qwebnetworkinterface_p.h:
322 (QWebNetworkManager::JobWork::):
323 (QWebNetworkManager::JobWork::JobWork):
325 2007-11-07 Simon Hausmann <hausmann@kde.org>
327 Build fix, reviewed by nobody.
329 Fix the Qt build by setting up WindowFeatures before calling
330 createWindow on the Chrome. This is similar to openNewWindow in
331 page/ContextMenuController.cpp
336 2007-11-07 Simon Hausmann <hausmann@kde.org>
340 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
343 (QWebPagePrivate::QWebPagePrivate):
344 * Api/qwebsettings.cpp:
345 (QWebSettingsPrivate::apply):
346 * Api/qwebsettings.h:
348 2007-11-07 Simon Hausmann <hausmann@kde.org>
352 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
354 * Api/qwebpagehistory.cpp:
355 * Api/qwebpagehistory.h:
357 2007-11-07 Simon Hausmann <hausmann@kde.org>
361 Removed unimplemented QWebHistoryItem::children() function
363 * Api/qwebpagehistory.h:
365 2007-11-07 Simon Hausmann <hausmann@kde.org>
369 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
371 * Api/qwebsettings.cpp:
372 (QWebSettings::fontSize):
373 (QWebSettings::fontFamily):
374 (QWebSettings::testAttribute):
376 2007-11-07 Simon Hausmann <hausmann@kde.org>
380 Added explicit functions for resetting the font sizes and font families.
382 * Api/qwebsettings.cpp:
383 (QWebSettings::resetFontSize):
384 (QWebSettings::resetFontFamily):
385 * Api/qwebsettings.h:
387 2007-11-07 Simon Hausmann <hausmann@kde.org>
391 Combined the font sizes accessors/setters under one setter/getter with an enum.
393 * Api/qwebsettings.cpp:
394 (QWebSettingsPrivate::QWebSettingsPrivate):
395 (QWebSettingsPrivate::apply):
396 (QWebSettings::QWebSettings):
397 (QWebSettings::setFontSize):
398 * Api/qwebsettings.h:
400 2007-11-07 Simon Hausmann <hausmann@kde.org>
404 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
408 * WebCoreSupport/FrameLoaderClientQt.cpp:
409 (WebCore::FrameLoaderClientQt::userAgent):
411 2007-11-07 Simon Hausmann <hausmann@kde.org>
415 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
418 (QWebPagePrivate::_q_webActionTriggered):
419 (QWebPage::keyPressEvent):
422 2007-11-07 Simon Hausmann <hausmann@kde.org>
426 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
430 * WebCoreSupport/ChromeClientQt.cpp:
431 (WebCore::ChromeClientQt::setWindowRect):
433 2007-11-07 Simon Hausmann <hausmann@kde.org>
437 Renamed QWebPage::webAction() to QWebPage::action()
440 (QWebPagePrivate::createContextMenu):
442 * QtLauncher/main.cpp:
443 (MainWindow::MainWindow):
445 2007-11-07 Simon Hausmann <hausmann@kde.org>
449 Removed a bunch of slots/functions that are now available through the new actions API.
454 2007-11-07 Simon Hausmann <hausmann@kde.org>
458 Added some more comments to the API after another round of API review with Lars.
462 2007-11-07 Simon Hausmann <hausmann@kde.org>
466 Moved QWebFrame::selectedText() to QWebPage::selectedText().
468 The currently selected text is a property of the page as a whole.
473 (QWebPage::selectedText):
476 2007-11-07 Simon Hausmann <hausmann@kde.org>
480 Implemented support for settings propagation.
482 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
484 * Api/qwebsettings.cpp:
485 (QWebSettingsPrivate::QWebSettingsPrivate):
486 (QWebSettingsPrivate::apply):
487 (QWebSettings::QWebSettings):
488 (QWebSettings::~QWebSettings):
489 (QWebSettings::setFontFamily):
490 * Api/qwebsettings.h:
492 2007-11-07 Simon Hausmann <hausmann@kde.org>
496 Reworked the QWebSettings API.
497 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
500 (QWebPagePrivate::QWebPagePrivate):
501 (QWebPagePrivate::~QWebPagePrivate):
502 (QWebPage::QWebPage):
505 * Api/qwebsettings.cpp:
506 (QWebSettingsPrivate::QWebSettingsPrivate):
507 (QWebSettingsPrivate::apply):
508 (QWebSettings::defaultSettings):
509 (QWebSettings::QWebSettings):
510 (QWebSettings::setMinimumFontSize):
511 (QWebSettings::setMinimumLogicalFontSize):
512 (QWebSettings::setDefaultFontSize):
513 (QWebSettings::setDefaultFixedFontSize):
514 (QWebSettings::setUserStyleSheetLocation):
515 (QWebSettings::setFontFamily):
516 (QWebSettings::fontFamily):
517 (QWebSettings::setAttribute):
518 * Api/qwebsettings.h:
519 * QtLauncher/main.cpp:
522 2007-11-07 Simon Hausmann <hausmann@kde.org>
526 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
528 * Api/qwebsettings.cpp:
529 (QWebSettings::setWebGraphic):
530 * Api/qwebsettings.h:
532 2007-11-07 Simon Hausmann <hausmann@kde.org>
536 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
538 * Api/qwebsettings.cpp:
540 2007-11-07 Simon Hausmann <hausmann@kde.org>
544 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
546 * Api/qwebsettings.cpp:
547 * Api/qwebsettings.h:
549 2007-11-07 Simon Hausmann <hausmann@kde.org>
553 Changed the webAction() accessor to not be a slot but just a public function.
557 2007-11-07 Simon Hausmann <hausmann@kde.org>
561 Implemented createWindow() in QtLauncher.
563 * QtLauncher/main.cpp:
565 (MainWindow::MainWindow):
566 (WebPage::createWindow):
568 2007-11-07 Simon Hausmann <hausmann@kde.org>
572 Implemented opening links in new windows
577 (QWebPage::webActionTriggered):
579 2007-11-07 Simon Hausmann <hausmann@kde.org>
583 Added and implemented the "OpenLink" action.
586 (webActionForContextMenuAction):
587 (QWebPage::webActionTriggered):
588 (QWebPage::webAction):
591 2007-11-07 Simon Hausmann <hausmann@kde.org>
595 Adjust the state of the reload action correctly.
598 (QWebPagePrivate::updateAction):
599 (QWebPagePrivate::updateNavigationActions):
601 2007-11-07 Simon Hausmann <hausmann@kde.org>
605 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
608 (QWebPagePrivate::updateAction):
609 (QWebPage::webAction):
610 (QWebPage::undoStack):
613 2007-11-07 Simon Hausmann <hausmann@kde.org>
617 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
619 * QtLauncher/main.cpp:
620 (MainWindow::MainWindow):
622 2007-11-07 Simon Hausmann <hausmann@kde.org>
626 Update the editor actions when the selection changes.
629 (QWebPagePrivate::updateAction):
630 (QWebPagePrivate::updateEditorActions):
632 * WebCoreSupport/EditorClientQt.cpp:
633 (WebCore::EditorClientQt::respondToChangedSelection):
635 2007-11-07 Simon Hausmann <hausmann@kde.org>
639 Added cut/copy/paste actions to the toolbar of QtLauncher
641 * QtLauncher/main.cpp:
642 (MainWindow::MainWindow):
644 2007-11-07 Simon Hausmann <hausmann@kde.org>
648 Started working on keeping the state of the navigation actions up-to-date.
651 (QWebPagePrivate::updateAction):
652 (QWebPagePrivate::updateNavigationActions):
653 (QWebPage::webAction):
655 * WebCoreSupport/FrameLoaderClientQt.cpp:
656 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
657 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
658 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
659 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
660 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
662 2007-11-07 Simon Hausmann <hausmann@kde.org>
666 Use the navigational web actions in the toolbar
668 * QtLauncher/main.cpp:
669 (MainWindow::MainWindow):
671 2007-11-07 Simon Hausmann <hausmann@kde.org>
675 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
676 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
679 (QWebPagePrivate::QWebPagePrivate):
680 (webActionForContextMenuAction):
681 (QWebPagePrivate::createContextMenu):
682 (QWebPagePrivate::_q_webActionTriggered):
683 (QWebPage::webActionTriggered):
684 (QWebPage::webAction):
685 (QWebPage::contextMenuEvent):
686 (QWebPageContext::QWebPageContext):
687 (QWebPageContext::operator=):
688 (QWebPageContext::~QWebPageContext):
689 (QWebPageContext::pos):
690 (QWebPageContext::text):
691 (QWebPageContext::linkUrl):
692 (QWebPageContext::imageUrl):
693 (QWebPageContext::image):
694 (QWebPageContext::targetFrame):
698 2007-11-07 Simon Hausmann <hausmann@kde.org>
702 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
705 (QWebPage::webActionTriggered):
706 (QWebPage::keyPressEvent):
709 2007-11-07 Simon Hausmann <hausmann@kde.org>
713 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
714 convenience methods such as cut()/copy()/paste().
718 (QWebPage::webActionTriggered):
723 2007-11-07 Simon Hausmann <hausmann@kde.org>
727 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
728 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
729 in ContextMenu::populate().
730 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
731 out of it. That menu is currently not functional anymore though.
734 (QWebPagePrivate::createContextMenu):
735 (QWebPage::contextMenuEvent):
738 2007-11-07 Simon Hausmann <hausmann@kde.org>
742 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
743 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
744 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
748 (QWebPage::contextMenuEvent):
749 * WebCoreSupport/ContextMenuClientQt.cpp:
750 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
752 2007-11-07 Simon Hausmann <hausmann@kde.org>
756 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
757 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
760 (QWebPage::mousePressEvent):
761 (QWebPage::contextMenuEvent):
764 2007-11-07 Simon Hausmann <hausmann@kde.org>
768 Turned onLoadProgressChanged into a real private slot.
771 (QWebPage::QWebPage):
775 2007-11-07 Simon Hausmann <hausmann@kde.org>
779 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
782 (QWebPagePrivate::QWebPagePrivate):
785 * Api/qwebpagehistory.cpp:
786 (QWebPageHistory::QWebPageHistory):
787 * Api/qwebpagehistory.h:
789 2007-11-07 Lars Knoll <lars@trolltech.com>
793 comments on API changes that we'd like to do.
797 2007-11-07 Simon Hausmann <hausmann@kde.org>
799 Reviewed by Lars Knoll <lars@trolltech.com>.
801 Add a QWebPage::frameCreated() signal and fix DRT
803 The removal of createFrame in QWebPage broke the re-implementation
804 in DumpRenderTree. Instead emit a frameCreated() signal and
805 connect to it in DumpRenderTree.
809 (QWebPagePrivate::createMainFrame):
811 * WebCoreSupport/FrameLoaderClientQt.cpp:
812 (WebCore::FrameLoaderClientQt::createFrame):
814 2007-11-07 Lars Knoll <lars@trolltech.com>
818 Remove QWebPage::createFrame()
820 now that QWebFrame doesn't have virtual methods anymore, there
821 is no need for a createFrame() factory method in QWebpage.
824 (QWebPagePrivate::createMainFrame):
826 * WebCoreSupport/FrameLoaderClientQt.cpp:
827 (WebCore::FrameLoaderClientQt::createFrame):
829 2007-11-07 Simon Hausmann <hausmann@kde.org>
831 Reviewed by Lars Knoll <lars@trolltech.com>.
833 Moved all the event handlers from QWebFrame into QWebPage.
835 This cleans up the public API and allows us to remove the
836 HackWebFrame hack in DumpRenderTree.
844 (QWebPagePrivate::frameAt):
845 (QWebPage::mouseMoveEvent):
846 (QWebPage::mousePressEvent):
847 (QWebPage::mouseDoubleClickEvent):
848 (QWebPage::mouseReleaseEvent):
849 (QWebPage::wheelEvent):
852 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
854 Reviewed by Lars Knoll <lars@trolltech.com>.
856 Use correct UserAgent string.
858 * Only have one User Agent String and this place is QWebPage
859 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
860 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
861 * ResourceRequest is != 0 when getting called from WebCore, we
862 will only do requests when coming from WebCore and then we can
863 use the User-Agent set with the help of the FrameLoaderClient
864 * We might want to change QWebNetworkRequest a bit
867 * Api/qwebnetworkinterface.cpp:
868 (QWebNetworkRequestPrivate::init):
870 2007-11-07 Lars Knoll <lars@trolltech.com>
874 remove two notImplemented() warnings, as I believe we don't
875 have to implement these methods. Add some (commented out)
876 debug code in one place.
878 * WebCoreSupport/EditorClientQt.cpp:
879 (WebCore::EditorClientQt::respondToChangedSelection):
880 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
882 2007-11-05 Tristan O'Tierney <tristan@apple.com>
884 Reviewed by Darin Adler.
886 * WebCoreSupport/ChromeClientQt.cpp:
887 (WebCore::ChromeClientQt::createWindow):
888 * WebCoreSupport/ChromeClientQt.h:
889 Revised to use new WebCore ChromeClient createWindow API.
891 2007-10-31 Lars Knoll <lars@trolltech.com>
895 fix most of the issues I found with Clipboard and DnD.
898 (QWebPage::dragLeaveEvent):
900 2007-10-31 Lars Knoll <lars@trolltech.com>
904 QDrag objects need to be created on the heap.
906 * WebCoreSupport/DragClientQt.cpp:
907 (WebCore::DragClientQt::startDrag):
909 2007-10-31 Lars Knoll <lars@trolltech.com>
913 a dragLeave event is not the same as cancelling a drag.
917 2007-10-26 Mark Rowe <mrowe@apple.com>
919 Build fix. Add missing #include of Platform.h.
921 * Api/qwebhistoryinterface.cpp:
923 2007-10-25 Holger Freyther <zecke@selfish.org>
925 Reviewed by Simon Hausmann <hausmann@kde.org>.
927 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
928 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
929 * This is causing some regressions...
932 * Api/qwebnetworkinterface.cpp:
933 (QWebNetworkManager::started):
934 (QWebNetworkInterface::addJob):
936 2007-10-25 Holger Freyther <zecke@selfish.org>
938 Reviewed by Simon Hausmann <hausmann@kde.org>.
940 * 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.
941 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
944 * Api/qwebnetworkinterface.cpp:
945 (QWebNetworkManager::started):
947 2007-10-25 Holger Freyther <zecke@selfish.org>
949 Reviewed by Simon Hausmann <hausmann@kde.org>.
951 * 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.
952 * Use the error message from Qt. It might or might not be translated.
955 * Api/qwebnetworkinterface.cpp:
956 (QWebNetworkJob::errorString):
957 (QWebNetworkJob::setErrorString):
958 (QWebNetworkManager::finished):
959 (QWebNetworkManager::doWork):
960 (WebCoreHttp::onRequestFinished):
961 * Api/qwebnetworkinterface.h:
962 * Api/qwebnetworkinterface_p.h:
964 2007-10-25 Holger Freyther <zecke@selfish.org>
966 Reviewed by Simon Hausmann <hausmann@kde.org>.
968 * 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.
969 * 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.
972 * Api/qwebnetworkinterface.cpp:
973 (QWebNetworkManager::doWork):
975 2007-10-25 Holger Freyther <zecke@selfish.org>
977 Reviewed by Simon Hausmann <hausmann@kde.org>.
979 * No need to initialize values in the QWebNetworkJob c'tor
980 * 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.
983 * Api/qwebnetworkinterface.cpp:
984 (QWebNetworkJob::status):
985 (QWebNetworkJob::setStatus):
986 (QWebNetworkManager::started):
987 (QWebNetworkManager::data):
988 (QWebNetworkManager::finished):
989 * Api/qwebnetworkinterface.h:
990 * Api/qwebnetworkinterface_p.h:
991 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
993 2007-10-25 Holger Freyther <zecke@selfish.org>
995 Reviewed by Simon Hausmann <hausmann@kde.org>.
997 * Consistency: Always name the jobs job.
1000 * Api/qwebnetworkinterface.cpp:
1001 (WebCoreHttp::onReadyRead):
1002 (WebCoreHttp::onRequestFinished):
1003 (WebCoreHttp::onSslErrors):
1004 (WebCoreHttp::onAuthenticationRequired):
1005 (WebCoreHttp::onProxyAuthenticationRequired):
1007 2007-10-25 Holger Freyther <zecke@selfish.org>
1009 Reviewed by Simon Hausmann <hausmann@kde.org>.
1011 * 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.
1012 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
1015 * Api/qwebnetworkinterface.cpp:
1016 (QWebNetworkJob::~QWebNetworkJob):
1017 (QWebNetworkManager::QWebNetworkManager):
1018 (QWebNetworkManager::self):
1019 (QWebNetworkManager::add):
1020 (QWebNetworkManager::started):
1021 (QWebNetworkManager::finished):
1022 (QWebNetworkInterfacePrivate::sendFileData):
1023 (QWebNetworkInterfacePrivate::parseDataUrl):
1024 (QWebNetworkManager::queueStart):
1025 (QWebNetworkManager::queueData):
1026 (QWebNetworkManager::queueFinished):
1027 (QWebNetworkManager::doScheduleWork):
1028 (QWebNetworkManager::doWork):
1029 (gCleanupInterface):
1030 (QWebNetworkInterface::setDefaultInterface):
1031 (QWebNetworkInterface::defaultInterface):
1032 (QWebNetworkInterface::QWebNetworkInterface):
1033 (QWebNetworkInterface::started):
1034 (QWebNetworkInterface::data):
1035 (QWebNetworkInterface::finished):
1036 (WebCoreHttp::scheduleNextRequest):
1037 (WebCoreHttp::onResponseHeaderReceived):
1038 (WebCoreHttp::onReadyRead):
1039 (WebCoreHttp::onRequestFinished):
1040 (WebCoreHttp::cancel):
1041 * Api/qwebnetworkinterface.h:
1042 * Api/qwebnetworkinterface_p.h:
1043 (QWebNetworkManager::):
1044 (QWebNetworkManager::JobData::JobData):
1045 (QWebNetworkManager::JobFinished::JobFinished):
1047 2007-10-25 Holger Freyther <zecke@selfish.org>
1049 Reviewed by Simon Hausmann <hausmann@kde.org>.
1051 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
1052 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
1053 * We pass the char-decoding.html test now
1056 * Api/qwebnetworkinterface.cpp:
1057 (decodePercentEncoding):
1058 (QWebNetworkInterfacePrivate::parseDataUrl):
1060 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
1062 Reviewed by Lars Knoll <lars@trolltech.com>.
1064 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
1067 * WebCoreSupport/EditorClientQt.cpp:
1068 (WebCore::EditorClientQt::handleKeypress):
1070 2007-10-24 Lars Knoll <lars@trolltech.com>
1074 remove some notImplemented() warnings.
1076 * WebCoreSupport/EditorClientQt.cpp:
1077 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1078 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1079 (WebCore::EditorClientQt::respondToChangedSelection):
1081 2007-10-24 Lars Knoll <lars@trolltech.com>
1085 allow paste from DOM so we pass more test cases.
1088 (QWebPage::setSettings):
1090 2007-10-24 Lars Knoll <lars@trolltech.com>
1094 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
1097 (QWebPage::keyPressEvent):
1098 (QWebPage::keyReleaseEvent):
1100 2007-10-24 Lars Knoll <lars@trolltech.com>
1104 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1106 * WebCoreSupport/EditorClientQt.cpp:
1107 (qt_dump_editing_callbacks):
1110 2007-10-24 Lars Knoll <lars@trolltech.com>
1114 implemented support for most editing shortcuts to make contentEditable usable.
1117 (QWebPage::keyPressEvent):
1119 2007-10-24 Lars Knoll <lars@trolltech.com>
1123 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1126 (QWebPage::focusInEvent):
1128 2007-10-24 Lars Knoll <lars@trolltech.com>
1132 Implement support for testing editing.
1134 * WebCoreSupport/EditorClientQt.cpp:
1135 (qt_dump_editing_callbacks):
1136 (qt_dump_set_accepts_editing):
1139 (WebCore::EditorClientQt::shouldDeleteRange):
1140 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1141 (WebCore::EditorClientQt::shouldBeginEditing):
1142 (WebCore::EditorClientQt::shouldEndEditing):
1143 (WebCore::EditorClientQt::shouldInsertText):
1144 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1145 (WebCore::EditorClientQt::shouldApplyStyle):
1146 (WebCore::EditorClientQt::didBeginEditing):
1147 (WebCore::EditorClientQt::respondToChangedContents):
1148 (WebCore::EditorClientQt::respondToChangedSelection):
1149 (WebCore::EditorClientQt::didEndEditing):
1150 (WebCore::EditorClientQt::shouldInsertNode):
1152 2007-10-19 Alp Toker <alp@atoker.com>
1156 GTK+ build fix enabling the new local database storage feature.
1157 There is also a prospective Qt build fix.
1159 * WebCoreSupport/ChromeClientQt.cpp:
1160 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1161 * WebCoreSupport/ChromeClientQt.h:
1163 2007-10-19 Simon Hausmann <hausmann@kde.org>
1165 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1166 that config.h is included before wtf/MathExtras. The former defines
1167 the MSVC defines for rand_s.
1169 * WebCoreSupport/FrameLoaderClientQt.cpp:
1171 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1175 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1177 * Api/qwebframe.cpp:
1180 2007-10-10 Alice Liu <alice.liu@apple.com>
1182 Reviewed by Geoff Garen.
1184 changes to keep the build from breaking
1186 * WebCoreSupport/FrameLoaderClientQt.cpp:
1187 (WebCore::FrameLoaderClientQt::createFrame):
1188 * WebCoreSupport/FrameLoaderClientQt.h:
1190 2007-10-09 Lars Knoll <lars@trolltech.com>
1194 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1197 (QWebPage::setSettings):
1199 2007-10-09 Lars Knoll <lars@trolltech.com>
1203 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1205 * Api/qwebnetworkinterface.cpp:
1206 (QWebNetworkManager::add):
1207 (QWebNetworkManager::cancel):
1208 (QWebNetworkManager::started):
1209 (QWebNetworkManager::data):
1210 (QWebNetworkInterfacePrivate::parseDataUrl):
1212 2007-10-09 Lars Knoll <lars@trolltech.com>
1216 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.
1219 (QWebPagePrivate::createMainFrame):
1220 (QWebPage::createFrame):
1221 * WebCoreSupport/FrameLoaderClientQt.cpp:
1222 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1223 * WebCoreSupport/FrameLoaderClientQt.h:
1225 2007-10-09 Lars Knoll <lars@trolltech.com>
1229 add a clear() method to QWebPageHistory.
1231 * Api/qwebpagehistory.cpp:
1232 (QWebPageHistory::clear):
1233 (QWebPageHistory::itemAtIndex):
1234 * Api/qwebpagehistory.h:
1236 2007-10-05 Lars Knoll <lars@trolltech.com>
1238 add proper error messages to the FrameLoaderClient.
1239 Implement ChromeClientQt::closeWindowSoon and
1240 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1241 Some fixes in DRT to make it work correctly with multiple windows.
1246 * Api/qwebnetworkinterface.cpp:
1247 (QWebNetworkManager::cancel):
1248 (QWebNetworkInterface::addJob):
1249 * WebCoreSupport/ChromeClientQt.cpp:
1250 (WebCore::ChromeClientQt::closeWindowSoon):
1251 * WebCoreSupport/FrameLoaderClientQt.cpp:
1252 (WebCore::FrameLoaderClientQt::cancelledError):
1254 (WebCore::FrameLoaderClientQt::blockedError):
1255 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1256 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1257 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1258 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1260 2007-10-03 Lars Knoll <lars@trolltech.com>
1262 Signed off by Olliej.
1264 move WebKitQt to WebKit/qt for consistency with the other ports.
1266 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1267 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1268 (QCookieJarPrivate::QCookieJarPrivate):
1270 (QCookieJar::QCookieJar):
1271 (QCookieJar::~QCookieJar):
1272 (QCookieJar::setCookies):
1273 (QCookieJar::cookies):
1274 (QCookieJar::isEnabled):
1275 (QCookieJar::setEnabled):
1277 (QCookieJar::setCookieJar):
1278 (QCookieJar::cookieJar):
1279 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1280 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1281 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1282 (QWebFramePrivate::init):
1283 (QWebFramePrivate::parentFrame):
1284 (QWebFramePrivate::horizontalScrollBar):
1285 (QWebFramePrivate::verticalScrollBar):
1286 (QWebFrame::QWebFrame):
1287 (QWebFrame::~QWebFrame):
1288 (QWebFrame::addToJSWindowObject):
1289 (QWebFrame::markup):
1290 (QWebFrame::innerText):
1291 (QWebFrame::renderTreeDump):
1295 (QWebFrame::selectedText):
1296 (QWebFrame::childFrames):
1297 (QWebFrame::verticalScrollBarPolicy):
1298 (QWebFrame::setVerticalScrollBarPolicy):
1299 (QWebFrame::horizontalScrollBarPolicy):
1300 (QWebFrame::setHorizontalScrollBarPolicy):
1301 (QWebFrame::render):
1302 (QWebFrame::layout):
1304 (QWebFrame::geometry):
1305 (QWebFrame::evaluateJavaScript):
1306 (QWebFrame::mouseMoveEvent):
1307 (QWebFrame::mousePressEvent):
1308 (QWebFrame::mouseDoubleClickEvent):
1309 (QWebFrame::mouseReleaseEvent):
1310 (QWebFrame::wheelEvent):
1311 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1312 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1313 (QWebFramePrivate::QWebFramePrivate):
1314 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1315 (WebCore::historyContains):
1316 (gCleanupInterface):
1317 (QWebHistoryInterface::setDefaultInterface):
1318 (QWebHistoryInterface::defaultInterface):
1319 (QWebHistoryInterface::QWebHistoryInterface):
1320 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1321 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1322 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1325 (QWebNetworkRequestPrivate::init):
1326 (QWebNetworkRequestPrivate::setURL):
1327 (QWebNetworkRequest::QWebNetworkRequest):
1328 (QWebNetworkRequest::operator=):
1329 (QWebNetworkRequest::~QWebNetworkRequest):
1330 (QWebNetworkRequest::url):
1331 (QWebNetworkRequest::setUrl):
1332 (QWebNetworkRequest::httpHeader):
1333 (QWebNetworkRequest::setHttpHeader):
1334 (QWebNetworkRequest::httpHeaderField):
1335 (QWebNetworkRequest::setHttpHeaderField):
1336 (QWebNetworkRequest::postData):
1337 (QWebNetworkRequest::setPostData):
1338 (QWebNetworkJob::QWebNetworkJob):
1339 (QWebNetworkJob::~QWebNetworkJob):
1340 (QWebNetworkJob::url):
1341 (QWebNetworkJob::postData):
1342 (QWebNetworkJob::httpHeader):
1343 (QWebNetworkJob::request):
1344 (QWebNetworkJob::response):
1345 (QWebNetworkJob::setResponse):
1346 (QWebNetworkJob::cancelled):
1347 (QWebNetworkJob::ref):
1348 (QWebNetworkJob::deref):
1349 (QWebNetworkJob::networkInterface):
1350 (QWebNetworkJob::frame):
1351 (QWebNetworkManager::QWebNetworkManager):
1352 (QWebNetworkManager::self):
1353 (QWebNetworkManager::add):
1354 (QWebNetworkManager::cancel):
1355 (QWebNetworkManager::started):
1356 (QWebNetworkManager::data):
1357 (QWebNetworkManager::finished):
1358 (QWebNetworkManager::addHttpJob):
1359 (QWebNetworkManager::cancelHttpJob):
1360 (QWebNetworkManager::httpConnectionClosed):
1361 (QWebNetworkInterfacePrivate::sendFileData):
1362 (QWebNetworkInterfacePrivate::parseDataUrl):
1363 (gCleanupInterface):
1364 (QWebNetworkInterface::setDefaultInterface):
1365 (QWebNetworkInterface::defaultInterface):
1366 (QWebNetworkInterface::QWebNetworkInterface):
1367 (QWebNetworkInterface::~QWebNetworkInterface):
1368 (QWebNetworkInterface::addJob):
1369 (QWebNetworkInterface::cancelJob):
1370 (WebCoreHttp::WebCoreHttp):
1371 (WebCoreHttp::~WebCoreHttp):
1372 (WebCoreHttp::request):
1373 (WebCoreHttp::scheduleNextRequest):
1374 (WebCoreHttp::getConnection):
1375 (WebCoreHttp::onResponseHeaderReceived):
1376 (WebCoreHttp::onReadyRead):
1377 (WebCoreHttp::onRequestFinished):
1378 (WebCoreHttp::onDone):
1379 (WebCoreHttp::onStateChanged):
1380 (WebCoreHttp::cancel):
1381 (WebCoreHttp::onSslErrors):
1382 (WebCoreHttp::onAuthenticationRequired):
1383 (WebCoreHttp::onProxyAuthenticationRequired):
1384 (HostInfo::HostInfo):
1385 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1386 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1387 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1388 (WebCore::HostInfo::HostInfo):
1389 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1390 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1391 (QWebFactoryLoader::QWebFactoryLoader):
1392 (QWebFactoryLoader::self):
1393 (QWebFactoryLoader::descriptionForName):
1394 (QWebFactoryLoader::mimetypesForName):
1395 (QWebFactoryLoader::mimeTypeForExtension):
1396 (QWebFactoryLoader::extensions):
1397 (QWebFactoryLoader::nameForMimetype):
1398 (QWebFactoryLoader::create):
1399 (QWebObjectPlugin::QWebObjectPlugin):
1400 (QWebObjectPlugin::~QWebObjectPlugin):
1401 (QWebObjectPlugin::descriptionForKey):
1402 (QWebObjectPlugin::mimetypesForKey):
1403 (QWebObjectPlugin::extensionsForMimetype):
1404 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1405 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1406 (QWebFactoryLoader::names):
1407 (QWebFactoryLoader::supportsMimeType):
1408 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1409 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1410 (QWebObjectPluginConnector::frame):
1411 (QWebObjectPluginConnector::pluginParentWidget):
1412 (QWebObjectPluginConnector::requestUrl):
1413 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1414 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1415 (QWebPagePrivate::QWebPagePrivate):
1416 (QWebPagePrivate::~QWebPagePrivate):
1417 (QWebPagePrivate::navigationRequested):
1418 (QWebPagePrivate::createMainFrame):
1419 (QWebPage::QWebPage):
1420 (QWebPage::~QWebPage):
1421 (QWebPage::createFrame):
1425 (QWebPage::mainFrame):
1426 (QWebPage::sizeHint):
1428 (QWebPage::history):
1430 (QWebPage::goForward):
1431 (QWebPage::goToHistoryItem):
1432 (QWebPage::javaScriptConsoleMessage):
1433 (QWebPage::javaScriptAlert):
1434 (QWebPage::javaScriptConfirm):
1435 (QWebPage::javaScriptPrompt):
1436 (QWebPage::createWindow):
1437 (QWebPage::createModalDialog):
1438 (QWebPage::createPlugin):
1439 (QWebPage::navigationRequested):
1440 (QWebPage::setWindowGeometry):
1442 (QWebPage::canCopy):
1443 (QWebPage::canPaste):
1447 (QWebPage::isModified):
1448 (QWebPage::undoStack):
1449 (dropActionToDragOp):
1450 (dragOpToDropAction):
1451 (QWebPage::resizeEvent):
1452 (QWebPage::paintEvent):
1453 (QWebPage::mouseMoveEvent):
1454 (QWebPage::mousePressEvent):
1455 (QWebPage::mouseDoubleClickEvent):
1456 (QWebPage::mouseReleaseEvent):
1457 (QWebPage::wheelEvent):
1458 (QWebPage::keyPressEvent):
1459 (QWebPage::keyReleaseEvent):
1460 (QWebPage::focusInEvent):
1461 (QWebPage::focusOutEvent):
1462 (QWebPage::focusNextPrevChild):
1463 (QWebPage::dragEnterEvent):
1464 (QWebPage::dragLeaveEvent):
1465 (QWebPage::dragMoveEvent):
1466 (QWebPage::dropEvent):
1467 (QWebPage::setNetworkInterface):
1468 (QWebPage::networkInterface):
1470 (QWebPage::setSettings):
1471 (QWebPage::settings):
1472 (QWebPage::chooseFile):
1473 (QWebPage::setNetworkProxy):
1474 (QWebPage::networkProxy):
1475 (QWebPage::userAgentStringForUrl):
1476 (QWebPage::onLoadProgressChanged):
1477 (QWebPage::totalBytes):
1478 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1479 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1480 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1481 (QWebHistoryItem::QWebHistoryItem):
1482 (QWebHistoryItem::operator=):
1483 (QWebHistoryItem::~QWebHistoryItem):
1484 (QWebHistoryItem::originalUrl):
1485 (QWebHistoryItem::currentUrl):
1486 (QWebHistoryItem::title):
1487 (QWebHistoryItem::lastVisited):
1488 (QWebHistoryItem::icon):
1489 (QWebPageHistory::QWebPageHistory):
1490 (QWebPageHistory::itemAtIndex):
1491 (QWebPageHistory::operator=):
1492 (QWebPageHistory::~QWebPageHistory):
1493 (QWebPageHistory::items):
1494 (QWebPageHistory::backItems):
1495 (QWebPageHistory::forwardItems):
1496 (QWebPageHistory::canGoBack):
1497 (QWebPageHistory::canGoForward):
1498 (QWebPageHistory::goBack):
1499 (QWebPageHistory::goForward):
1500 (QWebPageHistory::goToItem):
1501 (QWebPageHistory::backItem):
1502 (QWebPageHistory::currentItem):
1503 (QWebPageHistory::forwardItem):
1504 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1505 (QExplicitlySharedDataPointer::operator*):
1506 (QExplicitlySharedDataPointer::operator->):
1507 (QExplicitlySharedDataPointer::operator T *):
1508 (QExplicitlySharedDataPointer::operator const T *):
1509 (QExplicitlySharedDataPointer::data):
1510 (QExplicitlySharedDataPointer::constData):
1511 (QExplicitlySharedDataPointer::operator==):
1512 (QExplicitlySharedDataPointer::operator!=):
1513 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1514 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1515 (QExplicitlySharedDataPointer::operator=):
1516 (QExplicitlySharedDataPointer::operator!):
1517 (::QExplicitlySharedDataPointer):
1518 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1519 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1520 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1521 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1522 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1523 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1524 (QWebSettingsPrivate::QWebSettingsPrivate):
1525 (QWebSettings::QWebSettings):
1526 (QWebSettings::~QWebSettings):
1527 (QWebSettings::setMinimumFontSize):
1528 (QWebSettings::minimumFontSize):
1529 (QWebSettings::setMinimumLogicalFontSize):
1530 (QWebSettings::minimumLogicalFontSize):
1531 (QWebSettings::setDefaultFontSize):
1532 (QWebSettings::defaultFontSize):
1533 (QWebSettings::setDefaultFixedFontSize):
1534 (QWebSettings::defaultFixedFontSize):
1535 (QWebSettings::setUserStyleSheetLocation):
1536 (QWebSettings::userStyleSheetLocation):
1537 (QWebSettings::setIconDatabaseEnabled):
1538 (QWebSettings::iconDatabaseEnabled):
1539 (QWebSettings::setWebGraphic):
1540 (QWebSettings::webGraphic):
1541 (QWebSettings::operator=):
1542 (QWebSettings::setGlobal):
1543 (QWebSettings::global):
1544 (QWebSettings::setFontFamily):
1545 (QWebSettings::fontFamily):
1546 (QWebSettings::setAttribute):
1547 (QWebSettings::testAttribute):
1548 (loadResourcePixmap):
1549 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
1550 * ChangeLog: Renamed from WebKitQt/ChangeLog.
1551 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
1552 (IcoHeader::operator >>):
1553 (IcoHeader::BMP_INFOHDR::):
1554 (IcoHeader::operator<<):
1555 (IcoHeader::LessDifference::LessDifference):
1556 (IcoHeader::LessDifference::operator ()):
1557 (IcoHeader::loadFromDIB):
1558 (ICOHandler::ICOHandler):
1559 (ICOHandler::canRead):
1561 (ICOHandler::write):
1564 (ICOPlugin::capabilities):
1565 (ICOPlugin::create):
1566 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
1567 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
1568 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
1569 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
1570 (HoverLabel::HoverLabel):
1571 (HoverLabel::setHoverLink):
1572 (HoverLabel::sizeForFont):
1573 (HoverLabel::sizeHint):
1574 (HoverLabel::updateSize):
1575 (HoverLabel::resetAnimation):
1576 (HoverLabel::paintEvent):
1577 (HoverLabel::interpolate):
1578 (ClearButton::ClearButton):
1579 (ClearButton::paintEvent):
1580 (SearchEdit::SearchEdit):
1581 (SearchEdit::~SearchEdit):
1582 (SearchEdit::paintEvent):
1583 (SearchEdit::resizeEvent):
1584 (SearchEdit::moveEvent):
1585 (MainWindow::MainWindow):
1586 (MainWindow::changeLocation):
1587 (MainWindow::loadFinished):
1588 (MainWindow::showLinkHover):
1589 (MainWindow::resizeEvent):
1591 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
1592 (WebCore::ChromeClientQt::ChromeClientQt):
1593 (WebCore::ChromeClientQt::~ChromeClientQt):
1594 (WebCore::ChromeClientQt::setWindowRect):
1595 (WebCore::ChromeClientQt::windowRect):
1596 (WebCore::ChromeClientQt::pageRect):
1597 (WebCore::ChromeClientQt::scaleFactor):
1598 (WebCore::ChromeClientQt::focus):
1599 (WebCore::ChromeClientQt::unfocus):
1600 (WebCore::ChromeClientQt::canTakeFocus):
1601 (WebCore::ChromeClientQt::takeFocus):
1602 (WebCore::ChromeClientQt::createWindow):
1603 (WebCore::ChromeClientQt::createModalDialog):
1604 (WebCore::ChromeClientQt::show):
1605 (WebCore::ChromeClientQt::canRunModal):
1606 (WebCore::ChromeClientQt::runModal):
1607 (WebCore::ChromeClientQt::setToolbarsVisible):
1608 (WebCore::ChromeClientQt::toolbarsVisible):
1609 (WebCore::ChromeClientQt::setStatusbarVisible):
1610 (WebCore::ChromeClientQt::statusbarVisible):
1611 (WebCore::ChromeClientQt::setScrollbarsVisible):
1612 (WebCore::ChromeClientQt::scrollbarsVisible):
1613 (WebCore::ChromeClientQt::setMenubarVisible):
1614 (WebCore::ChromeClientQt::menubarVisible):
1615 (WebCore::ChromeClientQt::setResizable):
1616 (WebCore::ChromeClientQt::addMessageToConsole):
1617 (WebCore::ChromeClientQt::chromeDestroyed):
1618 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1619 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1620 (WebCore::ChromeClientQt::closeWindowSoon):
1621 (WebCore::ChromeClientQt::runJavaScriptAlert):
1622 (WebCore::ChromeClientQt::runJavaScriptConfirm):
1623 (WebCore::ChromeClientQt::runJavaScriptPrompt):
1624 (WebCore::ChromeClientQt::setStatusbarText):
1625 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
1626 (WebCore::ChromeClientQt::tabsToLinks):
1627 (WebCore::ChromeClientQt::windowResizerRect):
1628 (WebCore::ChromeClientQt::addToDirtyRegion):
1629 (WebCore::ChromeClientQt::scrollBackingStore):
1630 (WebCore::ChromeClientQt::updateBackingStore):
1631 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1632 (WebCore::ChromeClientQt::setToolTip):
1633 (WebCore::ChromeClientQt::print):
1634 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
1635 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
1636 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1637 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1638 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1639 (WebCore::ContextMenuClientQt::downloadURL):
1640 (WebCore::ContextMenuClientQt::lookUpInDictionary):
1641 (WebCore::ContextMenuClientQt::speak):
1642 (WebCore::ContextMenuClientQt::stopSpeaking):
1643 (WebCore::ContextMenuClientQt::searchWithGoogle):
1644 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
1645 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
1646 (WebCore::DragClientQt::actionMaskForDrag):
1647 (WebCore::DragClientQt::willPerformDragDestinationAction):
1648 (WebCore::DragClientQt::dragControllerDestroyed):
1649 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1650 (WebCore::DragClientQt::willPerformDragSourceAction):
1651 (WebCore::DragClientQt::startDrag):
1652 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
1653 (WebCore::DragClientQt::DragClientQt):
1654 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
1655 (EditCommandQt::EditCommandQt):
1656 (EditCommandQt::~EditCommandQt):
1657 (EditCommandQt::redo):
1658 (EditCommandQt::undo):
1659 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
1660 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
1661 (WebCore::EditorClientQt::shouldDeleteRange):
1662 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1663 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1664 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1665 (WebCore::EditorClientQt::spellCheckerDocumentTag):
1666 (WebCore::EditorClientQt::shouldBeginEditing):
1667 (WebCore::EditorClientQt::shouldEndEditing):
1668 (WebCore::EditorClientQt::shouldInsertText):
1669 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1670 (WebCore::EditorClientQt::shouldApplyStyle):
1671 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1672 (WebCore::EditorClientQt::didBeginEditing):
1673 (WebCore::EditorClientQt::respondToChangedContents):
1674 (WebCore::EditorClientQt::respondToChangedSelection):
1675 (WebCore::EditorClientQt::didEndEditing):
1676 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1677 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1678 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1679 (WebCore::EditorClientQt::isEditable):
1680 (WebCore::EditorClientQt::registerCommandForUndo):
1681 (WebCore::EditorClientQt::registerCommandForRedo):
1682 (WebCore::EditorClientQt::clearUndoRedoOperations):
1683 (WebCore::EditorClientQt::canUndo):
1684 (WebCore::EditorClientQt::canRedo):
1685 (WebCore::EditorClientQt::undo):
1686 (WebCore::EditorClientQt::redo):
1687 (WebCore::EditorClientQt::shouldInsertNode):
1688 (WebCore::EditorClientQt::pageDestroyed):
1689 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
1690 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1691 (WebCore::EditorClientQt::toggleGrammarChecking):
1692 (WebCore::EditorClientQt::handleKeypress):
1693 (WebCore::EditorClientQt::handleInputMethodKeypress):
1694 (WebCore::EditorClientQt::EditorClientQt):
1695 (WebCore::EditorClientQt::textFieldDidBeginEditing):
1696 (WebCore::EditorClientQt::textFieldDidEndEditing):
1697 (WebCore::EditorClientQt::textDidChangeInTextField):
1698 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
1699 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
1700 (WebCore::EditorClientQt::textDidChangeInTextArea):
1701 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
1702 (WebCore::EditorClientQt::learnWord):
1703 (WebCore::EditorClientQt::checkSpellingOfString):
1704 (WebCore::EditorClientQt::checkGrammarOfString):
1705 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
1706 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
1707 (WebCore::EditorClientQt::showSpellingUI):
1708 (WebCore::EditorClientQt::spellingUIIsShowing):
1709 (WebCore::EditorClientQt::getGuessesForWord):
1710 (WebCore::EditorClientQt::isEditing):
1711 (WebCore::EditorClientQt::setInputMethodState):
1712 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
1713 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
1714 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1715 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1716 (WebCore::FrameLoaderClientQt::setFrame):
1717 (WebCore::FrameLoaderClientQt::webFrame):
1718 (WebCore::FrameLoaderClientQt::callPolicyFunction):
1719 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1720 (WebCore::FrameLoaderClientQt::hasWebView):
1721 (WebCore::FrameLoaderClientQt::hasFrameView):
1722 (WebCore::FrameLoaderClientQt::hasBackForwardList):
1723 (WebCore::FrameLoaderClientQt::resetBackForwardList):
1724 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
1725 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
1726 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
1727 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
1728 (WebCore::FrameLoaderClientQt::makeDocumentView):
1729 (WebCore::FrameLoaderClientQt::makeRepresentation):
1730 (WebCore::FrameLoaderClientQt::forceLayout):
1731 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
1732 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1733 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
1734 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
1735 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
1736 (WebCore::FrameLoaderClientQt::willCloseDocument):
1737 (WebCore::FrameLoaderClientQt::detachedFromParent2):
1738 (WebCore::FrameLoaderClientQt::detachedFromParent3):
1739 (WebCore::FrameLoaderClientQt::detachedFromParent4):
1740 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
1741 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1742 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
1743 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
1744 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
1745 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
1746 (WebCore::FrameLoaderClientQt::dispatchWillClose):
1747 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1748 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1749 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1750 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1751 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1752 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1753 (WebCore::FrameLoaderClientQt::dispatchShow):
1754 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1755 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1756 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
1757 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
1758 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
1759 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
1760 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
1761 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1762 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1763 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1764 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1765 (WebCore::FrameLoaderClientQt::willChangeTitle):
1766 (WebCore::FrameLoaderClientQt::didChangeTitle):
1767 (WebCore::FrameLoaderClientQt::finishedLoading):
1768 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
1769 (WebCore::FrameLoaderClientQt::setDefersLoading):
1770 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
1771 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
1772 (WebCore::FrameLoaderClientQt::clearArchivedResources):
1773 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1774 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1775 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
1776 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1777 (WebCore::FrameLoaderClientQt::restoreViewState):
1778 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1779 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
1780 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
1781 (WebCore::FrameLoaderClientQt::didFinishLoad):
1782 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1783 (WebCore::FrameLoaderClientQt::setTitle):
1784 (WebCore::FrameLoaderClientQt::userAgent):
1785 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
1786 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1787 (WebCore::FrameLoaderClientQt::canHandleRequest):
1788 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1789 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1790 (WebCore::FrameLoaderClientQt::registerForIconNotification):
1791 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
1792 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1793 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1794 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1795 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1796 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
1797 (WebCore::FrameLoaderClientQt::canCachePage):
1798 (WebCore::FrameLoaderClientQt::setMainDocumentError):
1799 (WebCore::FrameLoaderClientQt::committedLoad):
1800 (WebCore::FrameLoaderClientQt::cancelledError):
1801 (WebCore::FrameLoaderClientQt::blockedError):
1802 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1803 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1804 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1805 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1806 (WebCore::FrameLoaderClientQt::shouldFallBack):
1807 (WebCore::FrameLoaderClientQt::createDocumentLoader):
1808 (WebCore::FrameLoaderClientQt::download):
1809 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1810 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1811 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1812 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1813 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1814 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1815 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1816 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1817 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1818 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1819 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1820 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1821 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1822 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1823 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1824 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1825 (WebCore::FrameLoaderClientQt::startDownload):
1826 (WebCore::FrameLoaderClientQt::willUseArchive):
1827 (WebCore::FrameLoaderClientQt::createFrame):
1828 (WebCore::FrameLoaderClientQt::objectContentType):
1830 (WebCore::FrameLoaderClientQt::createPlugin):
1831 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1832 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1833 (WebCore::FrameLoaderClientQt::overrideMediaType):
1834 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
1835 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
1836 (WebCore::InspectorClientQt::inspectorDestroyed):
1837 (WebCore::InspectorClientQt::createPage):
1838 (WebCore::InspectorClientQt::showWindow):
1839 (WebCore::InspectorClientQt::closeWindow):
1840 (WebCore::InspectorClientQt::attachWindow):
1841 (WebCore::InspectorClientQt::detachWindow):
1842 (WebCore::InspectorClientQt::highlight):
1843 (WebCore::InspectorClientQt::hideHighlight):
1844 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
1845 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
1846 (WebKitFactory::WebKitFactory):
1847 (WebKitFactory::~WebKitFactory):
1848 (WebKitFactory::createPartObject):
1849 (WebKitFactory::instance):
1850 (WebKitFactory::ref):
1851 (WebKitFactory::deref):
1852 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
1853 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
1854 (WebKitPart::WebKitPart):
1855 (WebKitPart::~WebKitPart):
1856 (WebKitPart::openFile):
1857 (WebKitPart::openUrl):
1858 (WebKitPart::closeUrl):
1859 (WebKitPart::parentPart):
1860 (WebKitPart::frame):
1861 (WebKitPart::initView):
1862 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
1863 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
1865 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
1866 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
1867 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
1868 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1869 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
1870 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
1871 (WebKitPartClient::WebKitPartClient):
1872 (WebKitPartClient::~WebKitPartClient):
1873 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
1874 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
1875 (WebKitPartInterface::WebKitPartInterface):
1876 (WebKitPartInterface::~WebKitPartInterface):
1877 (WebKitPartInterface::url):
1878 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
1879 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
1881 2007-10-02 Adam Treat <treat@kde.org>
1883 Reviewed by Eric Seidel.
1885 Open the requested url on the newly created window.
1886 Implement createModalDialog and provide new API for this.
1887 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
1890 (QWebPage::createModalDialog):
1892 * WebCoreSupport/ChromeClientQt.cpp:
1893 (WebCore::ChromeClientQt::createWindow):
1894 (WebCore::ChromeClientQt::createModalDialog):
1896 2007-10-02 Lars Knoll <lars@trolltech.com>
1900 Add API to retrieve the frame name from QWebFrame.
1901 Implement support for DRT::dumpChildrenAsText.
1903 * Api/qwebframe.cpp:
1907 2007-10-02 Lars Knoll <lars@trolltech.com>
1911 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1913 * Api/qwebnetworkinterface.cpp:
1914 (QWebNetworkManager::started):
1915 (QWebNetworkManager::data):
1916 (QWebNetworkManager::finished):
1917 (QWebNetworkInterfacePrivate::sendFileData):
1918 (QWebNetworkInterfacePrivate::parseDataUrl):
1919 (WebCoreHttp::scheduleNextRequest):
1920 (WebCoreHttp::onSslErrors):
1921 * QtLauncher/main.cpp:
1924 2007-10-01 Lars Knoll <lars@trolltech.com>
1928 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
1930 * WebCoreSupport/FrameLoaderClientQt.cpp:
1931 (WebCore::FrameLoaderClientQt::makeDocumentView):
1932 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1933 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1934 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1935 (WebCore::FrameLoaderClientQt::objectContentType):
1936 (WebCore::FrameLoaderClientQt::createPlugin):
1938 2007-09-30 George Staikos <staikos@kde.org>
1940 Qt build fix (OS X specific).
1942 * QtLauncher/QtLauncher.pro:
1944 2007-09-26 Mark Rowe <mrowe@apple.com>
1948 * WebCoreSupport/FrameLoaderClientQt.cpp:
1949 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
1951 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1955 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1956 LGPL'ed files contain incorrect FSF address
1958 * Api/qcookiejar.cpp:
1960 * Api/qwebframe.cpp:
1962 * Api/qwebframe_p.h:
1963 * Api/qwebhistoryinterface.cpp:
1964 * Api/qwebhistoryinterface.h:
1965 * Api/qwebkitglobal.h:
1966 * Api/qwebnetworkinterface.cpp:
1967 * Api/qwebnetworkinterface.h:
1968 * Api/qwebnetworkinterface_p.h:
1969 * Api/qwebobjectplugin.cpp:
1970 * Api/qwebobjectplugin.h:
1971 * Api/qwebobjectpluginconnector.cpp:
1972 * Api/qwebobjectpluginconnector.h:
1976 * Api/qwebpagehistory.cpp:
1977 * Api/qwebpagehistory.h:
1978 * Api/qwebsettings.cpp:
1979 * Api/qwebsettings.h:
1980 * WebCoreSupport/EditCommandQt.cpp:
1981 * WebCoreSupport/EditCommandQt.h:
1983 2007-09-25 Adam Treat <treat@kde.org>
1985 Reviewed by Simon and Lars.
1987 Modifies the addToJSWindowObject to bind js objects using the built-in
1988 kjs_window class. Make sure to protect the created runtime object from
1991 Adds a signal to QWebFrame to notify clients of the beginning of a
1992 provisional load. DRT needs this.
1994 * Api/qwebframe.cpp:
1995 (QWebFrame::addToJSWindowObject):
1997 * WebCoreSupport/FrameLoaderClientQt.cpp:
1998 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2000 2007-09-10 Qing Zhao <qing@staikos.net>
2002 Reviewed by George Staikos.
2004 Don't re-encode urls, resulting in double encoding. Fixes login to
2007 * Api/qwebnetworkinterface.cpp:
2008 (QWebNetworkRequestPrivate::init):
2009 (QWebNetworkManager::started):
2011 2007-09-08 Mark Rowe <mrowe@apple.com>
2013 Qt build fix. Move stub method implementations to the right class.
2015 * WebCoreSupport/FrameLoaderClientQt.cpp:
2016 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2018 2007-09-08 Brady Eidson <beidson@apple.com>
2020 YABF (Yet Another Build Fix)
2022 * Api/qwebsettings.cpp:
2023 (QWebSettings::iconDatabaseEnabled):
2025 2007-09-08 Brady Eidson <beidson@apple.com>
2029 * WebCoreSupport/FrameLoaderClientQt.cpp:
2030 (WebCore::FrameLoaderClient::registerForIconNotification):
2031 * WebCoreSupport/FrameLoaderClientQt.h:
2033 2007-09-08 Brady Eidson <beidson@apple.com>
2037 * WebCoreSupport/FrameLoaderClientQt.cpp:
2038 (WebCore::FrameLoaderClient::registerForIconNotification):
2039 * WebCoreSupport/FrameLoaderClientQt.h:
2041 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2043 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2045 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2046 memory cache, or a very tiny one
2048 Keep the Qt build working with an empty stub.
2050 * WebCoreSupport/FrameLoaderClientQt.cpp:
2051 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2052 * WebCoreSupport/FrameLoaderClientQt.h:
2054 2007-09-07 George Staikos <staikos@kde.org>
2059 (QWebPage::onLoadProgressChanged):
2061 2007-09-07 Qing Zhao <qing@staikos.net>
2063 Reviewed by Anders and George.
2065 Export page size and load progress in bytes.
2068 (QWebPage::QWebPage):
2069 (QWebPage::onLoadProgressChanged):
2070 (QWebPage::totalBytes):
2071 (QWebPage::bytesReceived):
2075 2007-09-06 George Staikos <staikos@kde.org>
2079 Make popup windows work again.
2081 * WebCoreSupport/FrameLoaderClientQt.cpp:
2082 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2084 2007-09-01 Oliver Hunt <oliver@apple.com>
2088 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2090 EditorClient::setInputMethodState stub
2092 * WebCoreSupport/EditorClientQt.cpp:
2093 (WebCore::EditorClientQt::setInputMethodState):
2094 * WebCoreSupport/EditorClientQt.h:
2096 2007-08-30 Simon Hausmann <hausmann@kde.org>
2100 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
2103 (QWebPage::keyPressEvent):
2105 2007-08-30 Simon Hausmann <hausmann@kde.org>
2109 When scrolling with the keyboard don't call update() on the entire widget.
2110 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2114 (QWebPage::keyPressEvent):
2116 2007-08-30 Simon Hausmann <hausmann@kde.org>
2120 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2123 (QWebPage::keyPressEvent):
2125 2007-08-29 Simon Hausmann <hausmann@kde.org>
2131 * WebCoreSupport/FrameLoaderClientQt.cpp:
2132 (WebCore::FrameLoaderClientQt::objectContentType):
2134 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2136 Reviewed by George Staikos.
2138 Don't export ICO symbols.
2140 * Plugins/Plugins.pro:
2142 2007-08-19 George Staikos <staikos@kde.org>
2146 * WebCoreSupport/FrameLoaderClientQt.cpp:
2147 (WebCore::FrameLoaderClientQt::createPlugin):
2148 * WebCoreSupport/FrameLoaderClientQt.h:
2150 2007-08-10 Lars Knoll <lars@trolltech.com>
2152 Reviewed and landed by Simon.
2154 Limit the set of properties from the computed style to apply to Qt
2155 plugin widgets, as only a few of them make sense.
2157 * WebCoreSupport/FrameLoaderClientQt.cpp:
2160 2007-08-10 Lars Knoll <lars@trolltech.com>
2164 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2167 (QWebPage::createPlugin):
2169 * WebCoreSupport/FrameLoaderClientQt.cpp:
2170 (WebCore::FrameLoaderClientQt::objectContentType):
2171 (WebCore::FrameLoaderClientQt::createPlugin):
2173 2007-08-10 Simon Hausmann <hausmann@kde.org>
2177 Added support for network jobs from Qt resources using the qrc protocol.
2179 * Api/qwebnetworkinterface.cpp:
2180 (QWebNetworkInterface::addJob):
2182 2007-08-10 Simon Hausmann <hausmann@kde.org>
2186 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2187 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2189 * WebCoreSupport/FrameLoaderClientQt.cpp:
2190 (WebCore::FrameLoaderClientQt::objectContentType):
2192 (WebCore::FrameLoaderClientQt::createPlugin):
2194 2007-08-10 Simon Hausmann <hausmann@kde.org>
2198 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2199 and fixed widget embedding by setting the right QWidget parent.
2202 (QWebPage::createPlugin):
2204 * WebCoreSupport/FrameLoaderClientQt.cpp:
2205 (WebCore::FrameLoaderClientQt::objectContentType):
2206 (WebCore::FrameLoaderClientQt::createPlugin):
2208 2007-08-02 George Staikos <staikos@kde.org>
2212 Add an interface for the useragent string.
2215 (QWebPage::userAgentStringForUrl):
2217 * WebCoreSupport/FrameLoaderClientQt.cpp:
2218 (WebCore::FrameLoaderClientQt::userAgent):
2220 2007-08-01 Adam Treat <treat@kde.org>
2222 Reviewed by George Staikos.
2224 Add an interface to manage global history for clients
2227 * Api/qwebhistoryinterface.cpp: Added.
2228 (WebCore::historyContains):
2229 (gCleanupInterface):
2230 (QWebHistoryInterface::setDefaultInterface):
2231 (QWebHistoryInterface::defaultInterface):
2232 (QWebHistoryInterface::QWebHistoryInterface):
2233 * Api/qwebhistoryinterface.h: Added.
2235 2007-07-30 Adam Treat <treat@kde.org>
2239 * WebCoreSupport/EditorClientQt.cpp:
2240 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2241 * WebCoreSupport/EditorClientQt.h:
2243 2007-07-30 Simon Hausmann <hausmann@kde.org>
2247 Link QtLauncher into $$OUTPUT_DIR/bin
2249 * QtLauncher/QtLauncher.pro:
2251 2007-07-29 Adam Treat <treat@kde.org>
2253 Reviewed by George Staikos.
2255 Change QWebPage::paintEvent to draw using the individual rects provided
2256 via the QRegion and set the widget to use opaque paint events.
2258 These changes greatly reduce the cpu load as we are no longer painting the
2259 entire page for each 1px scroll :P
2261 * Api/qwebframe.cpp:
2262 (QWebFrame::render):
2264 (QWebPage::QWebPage):
2265 (QWebPage::paintEvent):
2266 * WebCoreSupport/ChromeClientQt.cpp:
2267 (WebCore::ChromeClientQt::addToDirtyRegion):
2269 2007-07-29 Adam Treat <treat@kde.org>
2271 Reviewed by Alexey Proskuryakov.
2273 Respect the margins when creating frames.
2274 Set the scroll mode to always off like we did before the rendered
2275 frames patch and the other ports do now.
2277 * Api/qwebframe.cpp:
2278 (QWebFramePrivate::init):
2280 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2284 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2286 * QtLauncher/QtLauncher.pro:
2288 2007-07-27 Simon Hausmann <hausmann@kde.org>
2292 Fix compilation with MSVC.
2294 * Api/qwebpagehistory.cpp:
2295 (QWebPageHistory::operator=):
2296 * Api/qwebpagehistory.h:
2297 * Api/qwebsettings.cpp:
2298 (QWebSettings::operator=):
2299 * Api/qwebsettings.h:
2301 2007-07-26 Qing Zhao <qing@staikos.net>
2303 Reviewed by George Staikos.
2305 Add a signal for history notification.
2308 * WebCoreSupport/FrameLoaderClientQt.cpp:
2310 2007-07-24 Adam Treat <treat@kde.org>
2312 Reviewed by Niko and Lars.
2314 These are no longer necessary or used.
2316 * WebCoreSupport/FrameLoaderClientQt.cpp:
2317 * WebCoreSupport/FrameLoaderClientQt.h:
2319 2007-07-20 Adam Treat <adam@staikos.net>
2321 Reviewed by George Staikos.
2323 Add a signal for first layout and add the action type for the policy
2327 (QWebPagePrivate::navigationRequested):
2328 (QWebPage::navigationRequested):
2331 * WebCoreSupport/FrameLoaderClientQt.cpp:
2332 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2333 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2335 2007-07-19 Adam Treat <treat@kde.org>
2339 Do a recursive layout on the frame's children. This fixes a
2340 segfault found when rendering some framesets.
2342 * Api/qwebframe.cpp:
2343 (QWebFrame::render):
2344 (QWebFrame::layout):
2347 2007-07-18 Timothy Hatcher <timothy@apple.com>
2351 Make the Page with the now required InspectorClient.
2354 (QWebPagePrivate::QWebPagePrivate):
2355 * WebKitPart/WebKitPart.cpp:
2356 (WebKitPart::initView):
2358 2007-07-18 Sam Weinig <sam@webkit.org>
2362 * Api/qwebnetworkinterface.cpp:
2363 (QWebNetworkManager::started):
2364 * WebCoreSupport/FrameLoaderClientQt.cpp:
2365 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2366 (WebCore::FrameLoaderClientQt::objectContentType):
2368 2007-07-18 Lars Knoll <lars@trolltech.com>
2370 Reviewed by Zack & Simon
2372 Reallow setting of scrollbar policies on QWebFrame.
2374 * Api/qwebframe.cpp:
2375 (QWebFrame::verticalScrollBarPolicy):
2376 (QWebFrame::setVerticalScrollBarPolicy):
2377 (QWebFrame::horizontalScrollBarPolicy):
2380 2007-07-17 Adam Treat <treat@kde.org>
2384 * WebCoreSupport/FrameLoaderClientQt.cpp:
2385 (WebCore::FrameLoaderClientQt::createFrame):
2387 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2389 Blind build fix for Qt after r24366 by adding the additional
2390 WebCore::ResourceRequest& parameter to the download method.
2392 * WebCoreSupport/FrameLoaderClientQt.cpp:
2393 (WebCore::FrameLoaderClientQt::download):
2394 * WebCoreSupport/FrameLoaderClientQt.h:
2396 2007-07-17 Adam Roben <aroben@apple.com>
2398 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2402 * WebCoreSupport/ContextMenuClientQt.cpp:
2403 * WebCoreSupport/ContextMenuClientQt.h:
2405 2007-07-16 Adam Roben <aroben@apple.com>
2407 Updated ChromeClientQt for ChromeClient changes.
2411 * WebCoreSupport/ChromeClientQt.cpp:
2412 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2413 * WebCoreSupport/ChromeClientQt.h: Ditto.
2415 2007-07-13 Mark Rowe <mrowe@apple.com>
2419 Build fix. Stub out ChromeClientQt::print.
2421 * WebCoreSupport/ChromeClientQt.cpp:
2422 (WebCore::ChromeClientQt::print):
2423 * WebCoreSupport/ChromeClientQt.h:
2425 2007-07-12 George Staikos <staikos@kde.org>
2427 Qt build fix for assertions.
2429 * Api/qwebnetworkinterface.cpp:
2430 (QWebNetworkManager::add):
2432 2007-07-12 George Staikos <staikos@kde.org>
2436 * Api/qwebnetworkinterface.cpp:
2437 (QWebNetworkManager::add):
2439 2007-07-10 Mark Rowe <mrowe@apple.com>
2441 Qt build fix after r24126.
2443 * Api/qwebframe.cpp:
2444 (QWebFrame::evaluateJavaScript):
2446 2007-07-10 Eli Fidler <eli@staikos.net>
2448 Reviewed by George Staikos.
2450 Properly url-decode data urls.
2452 * Api/qwebnetworkinterface.cpp:
2453 (QWebNetworkInterfacePrivate::parseDataUrl):
2455 2007-07-09 Adam Treat <adam@staikos.net>
2457 Reviewed by George Staikos.
2459 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2462 * Api/qwebframe.cpp:
2463 (QWebFramePrivate::init):
2464 (QWebFramePrivate::parentFrame):
2465 (QWebFrame::QWebFrame):
2466 (QWebFrame::render):
2468 (QWebFrame::geometry):
2469 (QWebFrame::evaluateJavaScript):
2470 (QWebFrame::mouseMoveEvent):
2471 (QWebFrame::mousePressEvent):
2472 (QWebFrame::mouseDoubleClickEvent):
2473 (QWebFrame::mouseReleaseEvent):
2474 (QWebFrame::wheelEvent):
2476 * Api/qwebobjectpluginconnector.cpp:
2477 (QWebObjectPluginConnector::pluginParentWidget):
2479 (QWebPagePrivate::QWebPagePrivate):
2480 (QWebPagePrivate::createMainFrame):
2481 (QWebPage::QWebPage):
2482 (QWebPage::javaScriptAlert):
2483 (QWebPage::javaScriptConfirm):
2484 (QWebPage::javaScriptPrompt):
2485 (QWebPage::resizeEvent):
2486 (QWebPage::paintEvent):
2487 (QWebPage::mouseMoveEvent):
2488 (QWebPage::mousePressEvent):
2489 (QWebPage::mouseDoubleClickEvent):
2490 (QWebPage::mouseReleaseEvent):
2491 (QWebPage::wheelEvent):
2492 (QWebPage::keyPressEvent):
2493 (QWebPage::keyReleaseEvent):
2494 (QWebPage::focusInEvent):
2495 (QWebPage::focusOutEvent):
2496 (QWebPage::focusNextPrevChild):
2497 (QWebPage::chooseFile):
2500 * WebCoreSupport/ChromeClientQt.cpp:
2501 (WebCore::ChromeClientQt::addToDirtyRegion):
2503 2007-07-09 George Staikos <staikos@kde.org>
2505 Fix a minor memory leak in the loader.
2507 * Api/qwebnetworkinterface.cpp:
2508 (gCleanupInterface):
2509 (QWebNetworkInterface::setDefaultInterface):
2510 (QWebNetworkInterface::defaultInterface):
2512 2007-07-09 George Staikos <staikos@kde.org>
2514 Fix a massive memory leak in the loader.
2516 * Api/qwebnetworkinterface.cpp:
2517 (QWebNetworkManager::httpConnectionClosed):
2518 (WebCoreHttp::~WebCoreHttp):
2520 2007-07-09 George Staikos <staikos@kde.org>
2524 Rework much of the HTTP stuff to make it more stable, and add SSL and
2525 proxy support. Major memory leak also discovered but it needs more
2526 research as the obvious fix causes crashes.
2528 * Api/qwebnetworkinterface.cpp:
2529 (QWebNetworkManager::add):
2530 (QWebNetworkManager::started):
2531 (QWebNetworkManager::data):
2532 (WebCoreHttp::WebCoreHttp):
2533 (WebCoreHttp::~WebCoreHttp):
2534 (WebCoreHttp::request):
2535 (WebCoreHttp::scheduleNextRequest):
2536 (WebCoreHttp::getConnection):
2537 (WebCoreHttp::onResponseHeaderReceived):
2538 (WebCoreHttp::onReadyRead):
2539 (WebCoreHttp::onRequestFinished):
2540 (WebCoreHttp::onDone):
2541 (WebCoreHttp::onStateChanged):
2542 (WebCoreHttp::onSslErrors):
2543 (WebCoreHttp::onAuthenticationRequired):
2544 (WebCoreHttp::onProxyAuthenticationRequired):
2545 * Api/qwebnetworkinterface.h:
2546 * Api/qwebnetworkinterface_p.h:
2547 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2549 2007-07-06 Adam Treat <adam@staikos.net>
2551 Reviewed by George Staikos.
2553 Convert QWebFrame to a QFrame from a scroll area.
2555 * Api/qwebframe.cpp:
2556 (QWebFramePrivate::init):
2557 (QWebFramePrivate::parentFrame):
2558 (QWebFramePrivate::horizontalScrollBar):
2559 (QWebFramePrivate::verticalScrollBar):
2560 (QWebFrame::QWebFrame):
2561 (QWebFrame::resizeEvent):
2562 (QWebFrame::suppressScrollbars):
2563 (QWebFrame::paintEvent):
2564 (QWebFrame::mouseMoveEvent):
2565 (QWebFrame::mousePressEvent):
2566 (QWebFrame::mouseDoubleClickEvent):
2567 (QWebFrame::mouseReleaseEvent):
2568 (QWebFrame::wheelEvent):
2569 (QWebFrame::keyPressEvent):
2570 (QWebFrame::focusInEvent):
2571 (QWebFrame::focusOutEvent):
2572 (QWebFrame::evaluateJavaScript):
2574 * Api/qwebframe_p.h:
2575 * Api/qwebobjectpluginconnector.cpp:
2576 (QWebObjectPluginConnector::pluginParentWidget):
2578 2007-07-04 Adam Roben <aroben@apple.com>
2580 Added a stub for ChromeClientQt::setToolTip
2584 * WebCoreSupport/ChromeClientQt.cpp:
2585 (WebCore::ChromeClientQt::setToolTip):
2586 * WebCoreSupport/ChromeClientQt.h:
2588 2007-07-04 Adam Roben <aroben@apple.com>
2590 Added a stub for ChromeClientQt::mouseDidMoveOverElement
2594 * WebCoreSupport/ChromeClientQt.cpp:
2595 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2596 * WebCoreSupport/ChromeClientQt.h:
2598 2007-06-28 Simon Hausmann <hausmann@kde.org>
2602 Propagate mouse double click events from Qt to WebCore.
2604 * Api/qwebframe.cpp:
2605 (QWebFrame::mouseDoubleClickEvent):
2608 2007-06-28 Simon Hausmann <hausmann@kde.org>
2612 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
2616 (QWebPage::canCopy):
2617 (QWebPage::canPaste):
2622 * WebCoreSupport/EditorClientQt.cpp:
2624 2007-06-27 George Staikos <staikos@kde.org>
2626 Compile with various Qt configurations.
2628 * Api/qwebnetworkinterface.cpp:
2629 (WebCoreHttp::scheduleNextRequest):
2631 (QWebPage::javaScriptPrompt):
2632 (QWebPage::dragEnterEvent):
2633 (QWebPage::dragLeaveEvent):
2634 (QWebPage::dragMoveEvent):
2635 (QWebPage::dropEvent):
2636 (QWebPage::chooseFile):
2639 * WebCoreSupport/DragClientQt.cpp:
2640 (WebCore::DragClientQt::startDrag):
2642 2007-06-27 Eli Fidler <eli@staikos.net>
2644 Reviewed by George Staikos.
2646 Check for QT_NO_IMAGE_TEXT and compile either way.
2648 * Plugins/ICOHandler.cpp:
2651 2007-06-27 Eli Fidler <eli@staikos.net>
2653 Reviewed by George Staikos.
2655 Remove QT3_SUPPORT dependency in the ICO plugin.
2657 * Plugins/ICOHandler.cpp:
2658 (IcoHeader::loadFromDIB):
2660 2007-06-25 George Staikos <staikos@kde.org>
2664 Start to add proxy and SSL support to WebKit Qt. Proxy works
2665 unauthenticated. Added hooks to be able to add authentication.
2666 Also fixes some network errors.
2668 * Api/qwebnetworkinterface.cpp:
2669 (QWebNetworkRequestPrivate::setURL):
2670 (QWebNetworkJob::frame):
2671 (WebCoreHttp::WebCoreHttp):
2672 (WebCoreHttp::scheduleNextRequest):
2673 (WebCoreHttp::onRequestFinished):
2674 (WebCoreHttp::onDone):
2675 (WebCoreHttp::onSslErrors):
2676 (WebCoreHttp::onAuthenticationRequired):
2677 (WebCoreHttp::onProxyAuthenticationRequired):
2678 * Api/qwebnetworkinterface.h:
2679 * Api/qwebnetworkinterface_p.h:
2681 (QWebPage::setNetworkProxy):
2682 (QWebPage::networkProxy):
2686 2007-06-21 Adam Treat <adam@staikos.net>
2688 Reviewed by George Staikos.
2690 Implement the default resources on Qt.
2694 * Api/qwebsettings.cpp:
2695 (QWebSettings::setWebGraphic):
2696 (QWebSettings::webGraphic):
2697 (loadResourcePixmap):
2698 * Api/qwebsettings.h:
2700 2007-06-15 Adam Treat <adam@staikos.net>
2702 Reviewed by George Staikos.
2704 Add ICO support to the Qt build.
2709 * Api/qwebsettings.cpp:
2710 (QWebSettings::setIconDatabaseEnabled):
2711 (QWebSettings::iconDatabaseEnabled):
2712 * Api/qwebsettings.h:
2714 * Plugins/ICOHandler.cpp: Added.
2715 (IcoHeader::operator >>):
2716 (IcoHeader::BMP_INFOHDR::):
2717 (IcoHeader::operator<<):
2718 (IcoHeader::LessDifference::LessDifference):
2719 (IcoHeader::LessDifference::operator ()):
2720 (IcoHeader::loadFromDIB):
2721 (ICOHandler::ICOHandler):
2722 (ICOHandler::canRead):
2724 (ICOHandler::write):
2727 (ICOPlugin::capabilities):
2728 (ICOPlugin::create):
2729 * Plugins/ICOHandler.h: Added.
2730 * Plugins/Plugins.pro: Added.
2731 * WebCoreSupport/FrameLoaderClientQt.cpp:
2732 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2734 2007-06-15 George Staikos <staikos@kde.org>
2736 Fixing the Qt build.
2738 * WebCoreSupport/ContextMenuClientQt.cpp:
2739 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
2740 * WebCoreSupport/ContextMenuClientQt.h:
2742 2007-06-20 Adam Roben <aroben@apple.com>
2744 More speculative Qt build fixes.
2746 Add a stub implementation of InspectorClientQt.
2748 * WebCoreSupport/InspectorClientQt.cpp: Added.
2749 (WebCore::InspectorClientQt::inspectorDestroyed):
2750 (WebCore::InspectorClientQt::createPage):
2751 (WebCore::InspectorClientQt::showWindow):
2752 (WebCore::InspectorClientQt::closeWindow):
2753 (WebCore::InspectorClientQt::attachWindow):
2754 (WebCore::InspectorClientQt::detachWindow):
2755 (WebCore::InspectorClientQt::highlight):
2756 (WebCore::InspectorClientQt::hideHighlight):
2757 * WebCoreSupport/InspectorClientQt.h: Added.
2759 2007-06-19 George Staikos <staikos@kde.org>
2761 Reviewed by Tim Hatcher.
2765 * Api/qwebnetworkinterface.cpp:
2766 (QWebNetworkInterface::addJob):
2767 (QWebNetworkInterface::cancelJob):
2768 (WebCoreHttp::WebCoreHttp):
2770 2007-06-14 George Staikos <staikos@kde.org>
2774 Add evaluateJavaScript() method.
2776 * Api/qwebframe.cpp:
2777 (QWebFrame::evaluateJavaScript):
2780 2007-06-14 George Staikos <staikos@kde.org>
2784 Implement most of the editing commands, better focus handling, fix some
2785 keyboard and mouse handling, and add keyboard navigation. May be
2786 refactored later as the key switches are ugly.
2788 * Api/qwebframe.cpp:
2789 (QWebFramePrivate::init):
2790 (QWebFrame::mousePressEvent):
2791 (QWebFrame::mouseReleaseEvent):
2792 (QWebFrame::wheelEvent):
2793 (QWebFrame::keyPressEvent):
2794 (QWebFrame::keyReleaseEvent):
2795 (QWebFrame::focusInEvent):
2796 (QWebFrame::focusOutEvent):
2797 (QWebFrame::focusNextPrevChild):
2799 * Api/qwebframe_p.h:
2800 * WebCoreSupport/EditorClientQt.cpp:
2801 (WebCore::EditorClientQt::handleKeypress):
2803 2007-06-14 George Staikos <staikos@kde.org>
2807 Implement all of the Javascript dialogs and file chooser.
2808 Also makes the statusbar virtual into a signal and shuffles some
2809 virtuals around a bit. The helper in FrameLoaderClientQt may go away
2813 (QWebPagePrivate::QWebPagePrivate):
2814 (QWebPage::javaScriptAlert):
2815 (QWebPage::javaScriptConfirm):
2816 (QWebPage::javaScriptPrompt):
2817 (QWebPage::chooseFile):
2819 * WebCoreSupport/ChromeClientQt.cpp:
2820 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2821 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2822 (WebCore::ChromeClientQt::runJavaScriptAlert):
2823 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2824 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2825 (WebCore::ChromeClientQt::setStatusbarText):
2826 * WebCoreSupport/FrameLoaderClientQt.cpp:
2827 (WebCore::FrameLoaderClientQt::chooseFile):
2828 * WebCoreSupport/FrameLoaderClientQt.h:
2830 2007-06-14 Simon Hausmann <hausmann@kde.org>
2834 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
2836 HistoryItem itself doesn't seem to have a parent pointer either.
2838 * Api/qwebpagehistory.h:
2840 2007-06-14 Simon Hausmann <hausmann@kde.org>
2844 Make it possible to copy QWebHistoryItem objects.
2846 * Api/qwebpagehistory.cpp:
2847 * Api/qwebpagehistory.h:
2849 2007-06-14 Lars Knoll <lars@trolltech.com>
2853 Fix a crash when a request from the plugin resulted
2856 * Api/qwebnetworkinterface.cpp:
2857 (QWebNetworkManager::started):
2859 2007-06-14 Lars Knoll <lars@trolltech.com>
2863 Work around a bug in Qt's QHttp implementation and
2864 get web pages to load again.
2869 2007-06-13 Simon Hausmann <hausmann@kde.org>
2873 Added a make install target that installs the Qt port and renamed
2874 WebKitQt to QtWebKit
2876 * Api/headers.pri: Added.
2877 * Api/qtwebkit.prf: Added.
2879 2007-06-13 Simon Hausmann <hausmann@kde.org>
2883 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
2885 * Api/qwebnetworkinterface.cpp:
2886 * Api/qwebnetworkinterface.h:
2888 2007-06-13 Simon Hausmann <hausmann@kde.org>
2892 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
2894 * Api/qwebnetworkinterface.h:
2895 * Api/qwebobjectpluginconnector.cpp:
2896 (QWebObjectPluginConnector::requestUrl):
2897 * Api/qwebobjectpluginconnector.h:
2899 2007-06-13 Simon Hausmann <hausmann@kde.org>
2903 Added a QWebNetworkRequest convenience constructor.
2905 * Api/qwebnetworkinterface.cpp:
2906 * Api/qwebnetworkinterface.h:
2910 2007-06-13 Simon Hausmann <hausmann@kde.org>
2914 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
2915 overload to take a QWebNetworkRequest instead.
2921 2007-06-13 Simon Hausmann <hausmann@kde.org>
2925 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
2926 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
2927 pick the individual fields if we can use them.
2932 2007-06-13 Simon Hausmann <hausmann@kde.org>
2936 Minor QWebNetworkRequet API fixlet
2938 * Api/qwebnetworkinterface.cpp:
2939 * Api/qwebnetworkinterface.h:
2941 2007-06-13 Simon Hausmann <hausmann@kde.org>
2945 Use QWebNetworkRequest for QWebPage::navigationRequested.
2947 * Api/qwebnetworkinterface.cpp:
2948 * Api/qwebnetworkinterface.h:
2950 (QWebPagePrivate::navigationRequested):
2951 (QWebPage::navigationRequested):
2954 * WebCoreSupport/FrameLoaderClientQt.cpp:
2955 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2957 2007-06-13 Simon Hausmann <hausmann@kde.org>
2961 Some docs for QWebNetworkRequest
2963 * Api/qwebnetworkinterface.cpp:
2964 (QWebNetworkRequest::QWebNetworkRequest):
2965 (QWebNetworkRequest::~QWebNetworkRequest):
2967 2007-06-13 Simon Hausmann <hausmann@kde.org>
2971 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
2973 * Api/qwebnetworkinterface.h:
2974 * Api/qwebobjectpluginconnector.cpp:
2975 (QWebObjectPluginConnector::requestUrl):
2976 * Api/qwebobjectpluginconnector.h:
2978 2007-06-13 Simon Hausmann <hausmann@kde.org>
2982 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
2984 * Api/qwebnetworkinterface.cpp:
2985 (QWebNetworkJob::postData):
2986 (WebCoreHttp::WebCoreHttp):
2987 (WebCoreHttp::scheduleNextRequest):
2988 * Api/qwebnetworkinterface.h:
2990 2007-06-13 Simon Hausmann <hausmann@kde.org>
2994 Introduce QWebNetworkRequest in the public API.
2996 * Api/qwebnetworkinterface.cpp:
2997 (QWebNetworkRequestPrivate::init):
2998 * Api/qwebnetworkinterface.h:
2999 * Api/qwebnetworkinterface_p.h:
3000 * WebCoreSupport/FrameLoaderClientQt.cpp:
3001 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3003 2007-06-13 Simon Hausmann <hausmann@kde.org>
3007 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
3009 * Api/qwebnetworkinterface.cpp:
3010 (QWebNetworkManager::add):
3011 (QWebNetworkManager::started):
3012 (QWebNetworkManager::data):
3013 (QWebNetworkManager::finished):
3014 * Api/qwebnetworkinterface_p.h:
3015 * Api/qwebobjectpluginconnector.cpp:
3016 (QWebObjectPluginConnector::requestUrl):
3018 2007-06-13 Simon Hausmann <hausmann@kde.org>
3022 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
3024 * Api/qwebnetworkinterface.cpp:
3025 (QWebNetworkRequest::init):
3026 (QWebNetworkRequest::setURL):
3027 (QWebNetworkManager::add):
3028 (QWebNetworkManager::started):
3029 * Api/qwebnetworkinterface_p.h:
3030 * WebCoreSupport/FrameLoaderClientQt.cpp:
3031 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3033 2007-06-12 Lars Knoll <lars@trolltech.com>
3035 Reviewed by George Staikos.
3037 Remove duplicate symbols.
3039 * Api/qwebobjectplugin_p.h:
3041 2007-06-13 Lars Knoll <lars@trolltech.com>
3045 Fix compilation, and remove dependency on Qt
3048 * Api/qwebobjectplugin_p.h:
3049 (QWebFactoryLoader::supportsMimeType):
3051 2007-06-13 Lars Knoll <lars@trolltech.com>
3055 Parts of the patch done by Zack.
3056 Fix up some parts in the implementation of QWebNetworkInterface
3057 so it can be used by plugins.
3058 Change the plugin API so we can actually get all the information
3059 required by the JS bridge from them as well.
3061 * Api/qwebnetworkinterface.cpp:
3062 (QWebNetworkJob::cancelled):
3063 (QWebNetworkManager::cancel):
3064 (QWebNetworkManager::started):
3065 (QWebNetworkManager::finished):
3066 * Api/qwebobjectplugin.cpp:
3067 (QWebFactoryLoader::QWebFactoryLoader):
3068 (QWebFactoryLoader::descriptionForName):
3069 (QWebFactoryLoader::mimetypesForName):
3070 (QWebFactoryLoader::mimeTypeForExtension):
3071 (QWebFactoryLoader::extensions):
3072 (QWebFactoryLoader::nameForMimetype):
3073 (QWebFactoryLoader::create):
3074 (QWebObjectPlugin::descriptionForKey):
3075 (QWebObjectPlugin::mimetypesForKey):
3076 * Api/qwebobjectplugin.h:
3077 * Api/qwebobjectplugin_p.h:
3078 (QWebFactoryLoader::names):
3079 * Api/qwebobjectpluginconnector.cpp:
3080 (QWebObjectPluginConnector::requestUrl):
3082 (QWebPage::networkInterface):
3084 2007-06-11 Simon Hausmann <hausmann@kde.org>
3088 Added a QWebPage::open overload to allow specifying the http header and post data.
3089 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
3090 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
3095 2007-06-11 Simon Hausmann <hausmann@kde.org>
3099 Added the possibility to intercept url requests through QWebPage::navigationRequested.
3102 (QWebPagePrivate::QWebPagePrivate):
3103 (QWebPage::createFrame):
3106 * WebCoreSupport/FrameLoaderClientQt.cpp:
3108 2007-06-11 Simon Hausmann <hausmann@kde.org>
3112 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3113 to be called from FrameLoaderClientQt in the near future.
3115 * Api/qwebnetworkinterface.cpp:
3116 (QWebNetworkManager::add):
3117 * Api/qwebnetworkinterface_p.h:
3119 2007-06-11 Simon Hausmann <hausmann@kde.org>
3123 Moved the postData setup into QWebNetworkRequest::init.
3125 * Api/qwebnetworkinterface.cpp:
3126 (QWebNetworkRequest::init):
3127 (QWebNetworkManager::add):
3129 2007-06-11 Simon Hausmann <hausmann@kde.org>
3133 Moved HTTP header field propagation to QWebNetworkRequest::init.
3135 * Api/qwebnetworkinterface.cpp:
3136 (QWebNetworkRequest::init):
3137 (QWebNetworkManager::add):
3139 2007-06-11 Simon Hausmann <hausmann@kde.org>
3143 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3144 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3146 * Api/qwebnetworkinterface.cpp:
3147 (QWebNetworkRequest::init):
3148 (QWebNetworkManager::add):
3149 * Api/qwebnetworkinterface_p.h:
3150 * Api/qwebobjectpluginconnector.cpp:
3151 (QWebObjectPluginConnector::requestUrl):
3153 2007-06-11 Zack Rusin <zrusin@trolltech.com>
3157 Forgot to export the plugin connector.
3159 * Api/qwebobjectpluginconnector.h
3161 2007-06-08 Lars Knoll <lars@trolltech.com>
3165 Add a QWebObjectPluginConnector class. The class will
3166 facility communication between the plugin and WebKit.
3167 Currently it's used to make the plugin network capable.
3169 * Api/qwebnetworkinterface.cpp:
3170 (QWebNetworkJobPrivate::setDefaults):
3171 (QWebNetworkManager::add):
3172 (QWebNetworkManager::started):
3173 (QWebNetworkManager::data):
3174 (QWebNetworkManager::finished):
3175 * Api/qwebnetworkinterface.h:
3176 * Api/qwebnetworkinterface_p.h:
3177 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3178 * Api/qwebobjectplugin.cpp:
3179 (QWebFactoryLoader::create):
3180 * Api/qwebobjectplugin.h:
3181 * Api/qwebobjectplugin_p.h:
3182 * Api/qwebobjectpluginconnector.cpp: Added.
3183 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3184 (QWebObjectPluginConnector::frame):
3185 (QWebObjectPluginConnector::pluginParentWidget):
3186 (QWebObjectPluginConnector::requestUrl):
3187 * Api/qwebobjectpluginconnector.h: Added.
3188 (QWebObjectPluginConnector::):
3189 * WebCoreSupport/FrameLoaderClientQt.cpp:
3190 (WebCore::FrameLoaderClientQt::createPlugin):
3192 2007-06-06 Lars Knoll <lars@trolltech.com>
3196 Add an API to create and load plugins.
3197 Don't include moc files by hand anymore, rather let
3200 * Api/qcookiejar.cpp:
3201 (QCookieJar::cookieJar):
3202 * Api/qwebframe.cpp:
3203 (QWebFrame::scrollContentsBy):
3204 * Api/qwebnetworkinterface.cpp:
3205 * Api/qwebobjectplugin.cpp: Added.
3206 (QWebFactoryLoader::QWebFactoryLoader):
3207 (QWebFactoryLoader::self):
3208 (QWebFactoryLoader::mimeTypeForExtension):
3209 (QWebFactoryLoader::create):
3210 (QWebObjectPlugin::QWebObjectPlugin):
3211 (QWebObjectPlugin::~QWebObjectPlugin):
3212 (QWebObjectPlugin::extensionsForMimetype):
3213 * Api/qwebobjectplugin.h: Added.
3214 * Api/qwebobjectplugin_p.h: Added.
3215 (QWebFactoryLoader::mimeTypes):
3216 (QWebFactoryLoader::extensions):
3217 (QWebFactoryLoader::supportsMimeType):
3219 (QWebPage::settings):
3220 * WebCoreSupport/FrameLoaderClientQt.cpp:
3221 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3222 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3223 (WebCore::FrameLoaderClientQt::objectContentType):
3224 (WebCore::FrameLoaderClientQt::createPlugin):
3226 2007-05-28 Zack Rusin <zrusin@trolltech.com>
3228 Reviewed by andersca and simon
3230 Adding public settings Api to the Qt port.
3231 QWebSetting's is a value based settings
3232 object settable on the QWebPage.
3235 (QWebPagePrivate::QWebPagePrivate):
3236 (QWebPage::QWebPage):
3237 (QWebPage::setSettings):
3238 (QWebPage::settings):
3240 * Api/qwebsettings.cpp: Added.
3241 (QWebSettingsPrivate::QWebSettingsPrivate):
3242 (QWebSettings::QWebSettings):
3243 (QWebSettings::~QWebSettings):
3244 (QWebSettings::setMinimumFontSize):
3245 (QWebSettings::minimumFontSize):
3246 (QWebSettings::setMinimumLogicalFontSize):
3247 (QWebSettings::minimumLogicalFontSize):
3248 (QWebSettings::setDefaultFontSize):
3249 (QWebSettings::defaultFontSize):
3250 (QWebSettings::setDefaultFixedFontSize):
3251 (QWebSettings::defaultFixedFontSize):
3252 (QWebSettings::setUserStyleSheetLocation):
3253 (QWebSettings::userStyleSheetLocation):
3254 (QWebSettings::setGlobal):
3255 (QWebSettings::global):
3256 (QWebSettings::setFontFamily):
3257 (QWebSettings::fontFamily):
3258 (QWebSettings::setAttribute):
3259 (QWebSettings::testAttribute):
3260 * Api/qwebsettings.h: Added.
3261 * QtLauncher/main.cpp:
3263 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
3265 Reviewed by Sam Weinig.
3267 Consolidate all notImplemented() macro definitions into
3268 one header file for all platforms.
3270 * WebCoreSupport/ChromeClientQt.cpp:
3271 * WebCoreSupport/ContextMenuClientQt.cpp:
3272 * WebCoreSupport/EditorClientQt.cpp:
3273 * WebCoreSupport/FrameLoaderClientQt.cpp:
3275 2007-05-25 George Staikos <staikos@kde.org>
3279 The http loader should only ask for .... http cookies!
3281 * Api/qwebnetworkinterface.cpp:
3282 (QWebNetworkManager::add):
3284 2007-05-24 Simon Hausmann <hausmann@kde.org>
3288 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
3289 correctly. Fortunately WebCore does it already, so there's no need
3290 for us to do it since we already transfer all HTTP header fields :)
3292 * Api/qwebnetworkinterface.cpp:
3293 (QWebNetworkManager::add):
3295 2007-05-23 Simon Hausmann <hausmann@kde.org>
3297 Reviewed by Zack, idea from Lars.
3299 Share WebCoreHttp and therefore HTTP connections among multiple
3300 QWebNetworkInterface instances by moving the code into
3303 * Api/qwebnetworkinterface.cpp:
3304 (QWebNetworkManager::addHttpJob):
3305 (QWebNetworkManager::cancelHttpJob):
3306 (QWebNetworkManager::httpConnectionClosed):
3307 (QWebNetworkInterface::addJob):
3308 (QWebNetworkInterface::cancelJob):
3309 (WebCoreHttp::scheduleNextRequest):
3310 (WebCoreHttp::onResponseHeaderReceived):
3311 (WebCoreHttp::onReadyRead):
3312 (WebCoreHttp::onRequestFinished):
3313 (WebCoreHttp::cancel):
3314 * Api/qwebnetworkinterface.h:
3315 * Api/qwebnetworkinterface_p.h:
3317 2007-05-23 Simon Hausmann <hausmann@kde.org>
3319 Reviewed by Zack, discussed also with Lars.
3321 Make it possible to specify a per-QWebPage network interface (needed
3322 for the KDE KIO integration).
3324 Merged the file and the network loader into
3325 QWebNetworkInterface(Private), which simplifies the loading code.
3327 When receiving a redirection don't emit the data of the redirected job
3328 to the document. (otherwise the kind of "This page has moved" text
3329 appears right on top of the real page content)
3331 * Api/qwebnetworkinterface.cpp:
3334 (QWebNetworkJob::QWebNetworkJob):
3335 (QWebNetworkJob::networkInterface):
3336 (QWebNetworkManager::add):
3337 (QWebNetworkManager::cancel):
3338 (QWebNetworkManager::data):
3339 (QWebNetworkManager::finished):
3340 (QWebNetworkInterfacePrivate::sendFileData):
3341 (QWebNetworkInterfacePrivate::parseDataUrl):
3342 (QWebNetworkInterfacePrivate::addHttpJob):
3343 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3344 (QWebNetworkInterface::setDefaultInterface):
3345 (QWebNetworkInterface::QWebNetworkInterface):
3346 (QWebNetworkInterface::addJob):
3347 (QWebNetworkInterface::cancelJob):
3348 (WebCoreHttp::scheduleNextRequest):
3349 (WebCoreHttp::onResponseHeaderReceived):
3350 (WebCoreHttp::onReadyRead):
3351 (WebCoreHttp::onRequestFinished):
3352 (WebCoreHttp::cancel):
3353 * Api/qwebnetworkinterface.h:
3354 * Api/qwebnetworkinterface_p.h:
3356 (QWebPagePrivate::QWebPagePrivate):
3357 (QWebPage::setNetworkInterface):
3361 2007-05-23 Lars Knoll <lars@trolltech.com>
3365 Don't do HTTP downloads in a second thread. Simplifies
3366 the code significantly and fixes crashes on some
3369 * Api/qwebnetworkinterface.cpp:
3370 (QWebNetworkManager::add):
3371 (QWebNetworkInterface::QWebNetworkInterface):
3372 (QWebNetworkInterface::addJob):
3373 (QWebNetworkInterface::cancelJob):
3374 (LoaderThread::LoaderThread):
3375 (LoaderThread::run):
3376 (WebCoreHttp::cancel):
3377 (NetworkLoader::NetworkLoader):
3378 (NetworkLoader::request):
3379 (NetworkLoader::cancel):
3380 * Api/qwebnetworkinterface_p.h:
3381 * WebCoreSupport/FrameLoaderClientQt.cpp:
3382 (WebCore::FrameLoaderClientQt::committedLoad):
3383 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3385 2007-05-23 Lars Knoll <lars@trolltech.com>
3389 * Api/qwebnetworkinterface.cpp:
3390 (QWebNetworkJobPrivate::setURL):
3391 (QWebNetworkManager::started):
3392 Fix Host: line in HTTP headers and resolving of relative URLs
3394 * Api/qwebnetworkinterface_p.h:
3395 Clean up qHash forward declaration a bit.
3397 2007-05-23 Simon Hausmann <hausmann@kde.org>
3401 * QtLauncher/main.cpp:
3402 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3404 2007-05-22 Simon Hausmann <hausmann@kde.org>
3408 * Api/qwebnetworkinterface.cpp:
3409 (QWebNetworkManager::add): Fix http headers for POST.
3411 2007-05-21 Lars Knoll <lars@trolltech.com>
3415 Remove the userHandle methods from QWebnetworkJob again.
3416 They don't really give us anything and just clutter the API.
3418 * Api/qwebnetworkinterface.cpp:
3419 * Api/qwebnetworkinterface.h:
3420 * Api/qwebnetworkinterface_p.h:
3422 2007-05-21 Simon Hausmann <hausmann@kde.org>
3426 * Api/qwebnetworkinterface.h: Export the net API.
3428 2007-05-21 Lars Knoll <lars@trolltech.com>
3432 Add an API layer for network downloads. Basically QWebnetworkInterface
3433 is an interface class for downloading resources. QWebnetworkJob describes
3434 the actual object to download.
3436 QWebNetworkInterface has a default implementation that replaces the
3437 old ResourceHandleManager class in the Qt port.
3439 * Api/qwebnetworkinterface.cpp: Added.
3440 (QWebNetworkJobPrivate::setURL):
3441 (QWebNetworkJob::QWebNetworkJob):
3442 (QWebNetworkJob::~QWebNetworkJob):
3443 (QWebNetworkJob::url):
3444 (QWebNetworkJob::postData):
3445 (QWebNetworkJob::request):
3446 (QWebNetworkJob::response):
3447 (QWebNetworkJob::setResponse):
3448 (QWebNetworkJob::cancelled):
3449 (QWebNetworkJob::ref):
3450 (QWebNetworkJob::deref):
3451 (QWebNetworkJob::setUserHandle):
3452 (QWebNetworkJob::userHandle):
3453 (QWebNetworkManager::QWebNetworkManager):
3454 (QWebNetworkManager::self):
3455 (QWebNetworkManager::add):
3456 (QWebNetworkManager::cancel):
3457 (QWebNetworkManager::started):
3458 (QWebNetworkManager::data):
3459 (QWebNetworkManager::finished):
3460 (QWebNetworkInterface::setDefaultInterface):
3461 (QWebNetworkInterface::defaultInterface):
3462 (QWebNetworkInterface::QWebNetworkInterface):
3463 (QWebNetworkInterface::~QWebNetworkInterface):
3464 (QWebNetworkInterface::addJob):
3465 (QWebNetworkInterface::cancelJob):
3466 (LoaderThread::LoaderThread):
3467 (LoaderThread::run):
3468 (FileLoader::FileLoader):
3469 (FileLoader::request):
3470 (FileLoader::sendData):
3471 (FileLoader::parseDataUrl):
3472 (WebCoreHttp::WebCoreHttp):
3473 (WebCoreHttp::~WebCoreHttp):
3474 (WebCoreHttp::request):
3475 (WebCoreHttp::scheduleNextRequest):
3476 (WebCoreHttp::getConnection):
3477 (WebCoreHttp::onResponseHeaderReceived):
3478 (WebCoreHttp::onReadyRead):
3479 (WebCoreHttp::onRequestFinished):
3480 (WebCoreHttp::onStateChanged):
3481 (WebCoreHttp::cancel):
3482 (HostInfo::HostInfo):
3485 (NetworkLoader::NetworkLoader):
3486 (NetworkLoader::~NetworkLoader):
3487 (NetworkLoader::request):
3488 (NetworkLoader::connectionClosed):
3489 (NetworkLoader::cancel):
3490 * Api/qwebnetworkinterface.h: Added.
3491 (QWebNetworkJob::setHandle):
3492 (QWebNetworkJob::handle):
3493 * Api/qwebnetworkinterface_p.h: Added.
3494 (WebCore::LoaderThread::):
3495 (WebCore::LoaderThread::waitForSetup):
3496 (WebCore::HostInfo::HostInfo):
3498 2007-05-18 Simon Hausmann <hausmann@kde.org>
3500 Reviewed by Nikolas.
3502 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3503 percent integer instead of a double precision floating pointer number.
3504 * WebCoreSupport/FrameLoaderClientQt.cpp:
3505 (WebCore::FrameLoaderClientQt::setFrame):
3506 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3507 * WebCoreSupport/FrameLoaderClientQt.h:
3509 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3511 Reviewed by Zack Rusin.
3513 The default constructed KeyboardEvent has
3514 no PlatformKeyboardEvent.
3516 * WebCoreSupport/EditorClientQt.cpp:
3517 (WebCore::EditorClientQt::handleKeypress):
3519 2007-05-17 Adam Treat <adam@staikos.net>
3521 Reviewed by George Staikos.
3523 - Implement frameLoadCompleted
3524 - Fix build (by George)
3526 * WebCoreSupport/FrameLoaderClientQt.cpp:
3527 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3528 (WebCore::FrameLoaderClientQt::createFrame):
3530 2007-05-17 Adam Treat <adam@staikos.net>
3532 Reviewed by George Staikos.
3534 Implement canShowMIMEType
3536 * WebCoreSupport/FrameLoaderClientQt.cpp:
3537 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3539 2007-05-16 Lars Knoll <lars@trolltech.com>
3543 pass the mouse events to the event handler, not the frameview.
3545 * Api/qwebframe.cpp:
3546 (QWebFrame::mouseMoveEvent):
3547 (QWebFrame::mouseReleaseEvent):
3549 2007-05-14 Lars Knoll <lars@trolltech.com>
3553 Updates after Maciej's frame change.
3557 Call stopForUserCancel() instead of stopAllLoaders()
3558 * WebCoreSupport/FrameLoaderClientQt.cpp:
3559 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3560 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3561 (WebCore::FrameLoaderClientQt::didFinishLoad):
3562 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3563 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3564 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3565 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3566 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3567 Call QWebFrame::loadDone() from the places it's supposed to be
3570 2007-05-12 Maciej Stachowiak <mjs@apple.com>
3572 Reviewed by Rob Buis.
3574 - call Frame::init as needed - this prevents crashes but pages don't appear.
3576 * Api/qwebframe.cpp:
3577 (QWebFramePrivate::init):
3578 * WebKitPart/WebKitPart.cpp:
3579 (WebKitPart::initView):
3581 2007-05-08 Steve Falkenburg <sfalken@apple.com>
3585 Slight modification to last editor method fix.
3587 * WebCoreSupport/EditorClientQt.cpp:
3588 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3589 * WebCoreSupport/EditorClientQt.h:
3591 2007-05-03 Steve Falkenburg <sfalken@apple.com>
3595 Add missing user description parameter to spelling-related editor client method.
3597 * WebCoreSupport/EditorClientQt.cpp:
3598 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3599 * WebCoreSupport/EditorClientQt.h:
3601 2007-04-29 Oliver Hunt <oliver@apple.com>
3605 Tie QT drag events to the DragController logic
3606 to allow drag and drop events to be handled by
3609 * Api/qwebframe.cpp:
3612 (QWebPagePrivate::QWebPagePrivate):
3613 (QWebPage::QWebPage):
3614 (dropActionToDragOp):
3615 (dragOpToDropAction):
3616 (QWebPage::dragEnterEvent):
3617 (QWebPage::dragLeaveEvent):
3618 (QWebPage::dragMoveEvent):
3619 (QWebPage::dropEvent):
3621 * WebCoreSupport/DragClientQt.cpp:
3622 (WebCore::DragClientQt::startDrag):
3623 * WebCoreSupport/DragClientQt.h:
3624 (WebCore::DragClientQt::DragClientQt):
3626 2007-04-27 Holger Freyther <freyther@kde.org>
3630 Remove unmaintained CMake build system.
3632 * QtLauncher/CMakeLists.txt: Removed.
3633 * WebKitPart/CMakeLists.txt: Removed.
3635 2007-04-25 Steve Falkenburg <sfalken@apple.com>
3639 Fix spelling error in spelling method name.
3641 * WebCoreSupport/EditorClientQt.cpp:
3642 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3643 * WebCoreSupport/EditorClientQt.h:
3645 2007-04-24 Steve Falkenburg <sfalken@apple.com>
3649 Spelling and grammar stubs
3651 * WebCoreSupport/EditorClientQt.cpp:
3652 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3653 (WebCore::EditorClientQt::learnWord):
3654 (WebCore::EditorClientQt::checkSpellingOfString):
3655 (WebCore::EditorClientQt::checkGrammarOfString):
3656 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
3657 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3658 (WebCore::EditorClientQt::showSpellingUI):
3659 (WebCore::EditorClientQt::spellingUIIsShowing):
3660 (WebCore::EditorClientQt::getGuessesForWord):
3661 * WebCoreSupport/EditorClientQt.h:
3663 2007-04-11 MorganL <morganl.webkit@yahoo.com>
3667 Add a Frame pointer to ChromeClient methods:
3668 http://bugs.webkit.org/show_bug.cgi?id=13127
3670 * WebCoreSupport/ChromeClientQt.cpp:
3671 (WebCore::ChromeClientQt::createWindow):
3672 (WebCore::ChromeClientQt::createModalDialog):
3673 * WebCoreSupport/ChromeClientQt.h:
3675 2007-04-12 Mark Rowe <mrowe@apple.com>
3677 Second part of Qt build fix.
3679 * WebCoreSupport/FrameLoaderClientQt.cpp:
3680 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3681 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3682 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3683 * WebCoreSupport/FrameLoaderClientQt.h:
3685 2007-03-27 Zack Rusin <zrusin@trolltech.com>
3687 Fix the rendering crashes due triggered
3688 asserts. Improve a bit the layout
3691 * Api/qwebframe.cpp:
3692 (QWebFrame::resizeEvent):
3693 (QWebFrame::paintEvent):
3694 * WebCoreSupport/FrameLoaderClientQt.cpp:
3695 (WebCore::FrameLoaderClientQt::forceLayout):
3697 2007-03-16 Lars Knoll <lars@trolltech.com>
3699 Fix the Qt build once again.
3701 * WebCoreSupport/EditorClientQt.cpp:
3702 (WebCore::EditorClientQt::handleKeypress):
3703 * WebCoreSupport/FrameLoaderClientQt.cpp:
3704 (WebCore::FrameLoaderClientQt::blockedError):
3705 * WebCoreSupport/FrameLoaderClientQt.h:
3707 2007-03-13 Lars Knoll <lars@trolltech.com>
3711 Don't try to load <object> tags with an invalid url.
3712 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html