1 2007-11-20 George Staikos <staikos@kde.org>
3 Reviewed by Simon Hausmann <hausmann@kde.org>.
5 Add an argument to pass the link text in the hovering signal
10 (QWebPagePrivate::createMainFrame):
11 (QWebPage::mouseMoveEvent):
14 2007-11-20 Adam Treat <treat@kde.org>
16 Reviewed by Simon and George.
18 * Be quiet and allow suppression of NotImplemented calls at runtime.
20 * WebCoreSupport/FrameLoaderClientQt.cpp:
21 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
23 2007-11-19 Adam Treat <treat@kde.org>
27 * Don't segfault when event pos is outside of the widget.
30 (QWebPage::mouseMoveEvent):
31 (QWebPage::mousePressEvent):
32 (QWebPage::mouseDoubleClickEvent):
33 (QWebPage::mouseReleaseEvent):
34 (QWebPage::contextMenuEvent):
36 2007-11-17 Timothy Hatcher <timothy@apple.com>
38 Reviewed by Mark Rowe.
40 Bug 13470: i18n: The Web Inspector is not localizable
41 http://bugs.webkit.org/show_bug.cgi?id=13470
43 * WebCoreSupport/InspectorClientQt.cpp:
44 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
45 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
47 2007-11-13 Geoffrey Garen <ggaren@apple.com>
49 Build fix: changed Shared to RefCounted.
51 * WebCoreSupport/ChromeClientQt.h:
52 * WebCoreSupport/ContextMenuClientQt.cpp:
53 * WebCoreSupport/ContextMenuClientQt.h:
54 * WebCoreSupport/EditorClientQt.h:
55 * WebCoreSupport/FrameLoaderClientQt.h:
57 2007-11-10 Simon Hausmann <hausmann@kde.org>
61 When populating the context menu with sub-menus don't add sub-menus if they're empty.
65 (QWebPagePrivate::createContextMenu):
67 2007-11-10 Simon Hausmann <hausmann@kde.org>
71 Added support for the Bold/Italic/Underline toggle actions.
75 (webActionForContextMenuAction):
76 (QWebPage::triggerAction):
80 2007-11-10 Simon Hausmann <hausmann@kde.org>
84 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
85 to update the enable/checked state correctly.
89 (QWebPagePrivate::createContextMenu):
90 (QWebPage::contextMenuEvent):
93 2007-11-10 Simon Hausmann <hausmann@kde.org>
97 Mark the text direction actions as checkable actions.
103 2007-11-09 Simon Hausmann <hausmann@kde.org>
107 Implemented the webcore actions for changing the text direction.
111 (webActionForContextMenuAction):
112 (QWebPage::triggerAction):
116 2007-11-09 Simon Hausmann <hausmann@kde.org>
120 Fix ContextMenu allocation in the Qt port.
122 Store all items and submenus value based in ContextMenu and ContextMenuItem.
123 That fixes the crashes when the context menu was populated with sub-menus because
124 of the use of temporary ContextMenu objects like this:
126 ContextMenu subMenu(...);
127 subMenu.appendItem(...);
128 subMenu.appendItem(...);
130 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
134 (QWebPage::contextMenuEvent):
137 2007-11-09 Simon Hausmann <hausmann@kde.org>
141 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
147 2007-11-08 Kevin McCullough <kmccullough@apple.com>
151 - windowObjectCleared() is no longer const. It needs to setup the
152 script debugger and cannot be const to do so.
154 * WebCoreSupport/FrameLoaderClientQt.cpp:
155 (WebCore::FrameLoaderClientQt::windowObjectCleared):
156 * WebCoreSupport/FrameLoaderClientQt.h:
158 2007-11-08 Simon Hausmann <hausmann@kde.org>
160 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
162 The buildbots use Qt 4.4 which has the function in question, but Qt
163 4.3 doesn't have it. Use removeAll() as replacement instead, it
164 shouldn't make a difference in performance.
166 * Api/qwebsettings.cpp:
167 (QWebSettings::~QWebSettings):
169 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
171 Reviewed by Lars Knoll <lars@trolltech.com>.
173 Cleanup checking for the request method.
175 * Check the request method only in QWebNetworkManager::add.
176 * Currently HEAD, GET, POST are allowed and for everything else
177 QWebNetworkManager::add returns false.
178 * Returning false is compatible with ResourceHandle::start and it
179 can be used in ResourceHandle::loadResourceSynchronously to generate
183 * Api/qwebnetworkinterface.cpp:
184 (QWebNetworkManager::add):
186 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
188 Reviewed by Lars Knoll <lars@trolltech.com>.
190 Fix bug in the implementation of synchronous network jobs.
192 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
193 - if (jobMode == AsynchronousJob) {
194 + if (jobMode == SynchronousJob) {
195 add job to synchronous list/hash
197 * Just applying the above change will lead to crashes because we can finish
198 jobs before we started them.
200 * Avoid these issues by saving all work (starting a job, sending data and
201 finishing it) inside one list. JobWork will contain any
202 of the above three work types and doWork will just work on this list
203 (m_pendingWork). As foreach takes a copy of the list calling started, data
204 and finished will not add new work and we gurantee that if we have JobStarted
205 it will be in the list before JobData and JobFinished.
207 * Observation: We might just kill the code to handle sync jobs.
210 * Api/qwebnetworkinterface.cpp:
211 (QWebNetworkManager::add):
212 (QWebNetworkManager::queueStart):
213 (QWebNetworkManager::queueData):
214 (QWebNetworkManager::queueFinished):
215 (QWebNetworkManager::doWork):
216 * Api/qwebnetworkinterface_p.h:
217 (QWebNetworkManager::JobWork::):
218 (QWebNetworkManager::JobWork::JobWork):
220 2007-11-07 Simon Hausmann <hausmann@kde.org>
222 Build fix, reviewed by nobody.
224 Fix the Qt build by setting up WindowFeatures before calling
225 createWindow on the Chrome. This is similar to openNewWindow in
226 page/ContextMenuController.cpp
231 2007-11-07 Simon Hausmann <hausmann@kde.org>
235 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
238 (QWebPagePrivate::QWebPagePrivate):
239 * Api/qwebsettings.cpp:
240 (QWebSettingsPrivate::apply):
241 * Api/qwebsettings.h:
243 2007-11-07 Simon Hausmann <hausmann@kde.org>
247 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
249 * Api/qwebpagehistory.cpp:
250 * Api/qwebpagehistory.h:
252 2007-11-07 Simon Hausmann <hausmann@kde.org>
256 Removed unimplemented QWebHistoryItem::children() function
258 * Api/qwebpagehistory.h:
260 2007-11-07 Simon Hausmann <hausmann@kde.org>
264 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
266 * Api/qwebsettings.cpp:
267 (QWebSettings::fontSize):
268 (QWebSettings::fontFamily):
269 (QWebSettings::testAttribute):
271 2007-11-07 Simon Hausmann <hausmann@kde.org>
275 Added explicit functions for resetting the font sizes and font families.
277 * Api/qwebsettings.cpp:
278 (QWebSettings::resetFontSize):
279 (QWebSettings::resetFontFamily):
280 * Api/qwebsettings.h:
282 2007-11-07 Simon Hausmann <hausmann@kde.org>
286 Combined the font sizes accessors/setters under one setter/getter with an enum.
288 * Api/qwebsettings.cpp:
289 (QWebSettingsPrivate::QWebSettingsPrivate):
290 (QWebSettingsPrivate::apply):
291 (QWebSettings::QWebSettings):
292 (QWebSettings::setFontSize):
293 * Api/qwebsettings.h:
295 2007-11-07 Simon Hausmann <hausmann@kde.org>
299 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
303 * WebCoreSupport/FrameLoaderClientQt.cpp:
304 (WebCore::FrameLoaderClientQt::userAgent):
306 2007-11-07 Simon Hausmann <hausmann@kde.org>
310 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
313 (QWebPagePrivate::_q_webActionTriggered):
314 (QWebPage::keyPressEvent):
317 2007-11-07 Simon Hausmann <hausmann@kde.org>
321 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
325 * WebCoreSupport/ChromeClientQt.cpp:
326 (WebCore::ChromeClientQt::setWindowRect):
328 2007-11-07 Simon Hausmann <hausmann@kde.org>
332 Renamed QWebPage::webAction() to QWebPage::action()
335 (QWebPagePrivate::createContextMenu):
337 * QtLauncher/main.cpp:
338 (MainWindow::MainWindow):
340 2007-11-07 Simon Hausmann <hausmann@kde.org>
344 Removed a bunch of slots/functions that are now available through the new actions API.
349 2007-11-07 Simon Hausmann <hausmann@kde.org>
353 Added some more comments to the API after another round of API review with Lars.
357 2007-11-07 Simon Hausmann <hausmann@kde.org>
361 Moved QWebFrame::selectedText() to QWebPage::selectedText().
363 The currently selected text is a property of the page as a whole.
368 (QWebPage::selectedText):
371 2007-11-07 Simon Hausmann <hausmann@kde.org>
375 Implemented support for settings propagation.
377 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
379 * Api/qwebsettings.cpp:
380 (QWebSettingsPrivate::QWebSettingsPrivate):
381 (QWebSettingsPrivate::apply):
382 (QWebSettings::QWebSettings):
383 (QWebSettings::~QWebSettings):
384 (QWebSettings::setFontFamily):
385 * Api/qwebsettings.h:
387 2007-11-07 Simon Hausmann <hausmann@kde.org>
391 Reworked the QWebSettings API.
392 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
395 (QWebPagePrivate::QWebPagePrivate):
396 (QWebPagePrivate::~QWebPagePrivate):
397 (QWebPage::QWebPage):
400 * Api/qwebsettings.cpp:
401 (QWebSettingsPrivate::QWebSettingsPrivate):
402 (QWebSettingsPrivate::apply):
403 (QWebSettings::defaultSettings):
404 (QWebSettings::QWebSettings):
405 (QWebSettings::setMinimumFontSize):
406 (QWebSettings::setMinimumLogicalFontSize):
407 (QWebSettings::setDefaultFontSize):
408 (QWebSettings::setDefaultFixedFontSize):
409 (QWebSettings::setUserStyleSheetLocation):
410 (QWebSettings::setFontFamily):
411 (QWebSettings::fontFamily):
412 (QWebSettings::setAttribute):
413 * Api/qwebsettings.h:
414 * QtLauncher/main.cpp:
417 2007-11-07 Simon Hausmann <hausmann@kde.org>
421 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
423 * Api/qwebsettings.cpp:
424 (QWebSettings::setWebGraphic):
425 * Api/qwebsettings.h:
427 2007-11-07 Simon Hausmann <hausmann@kde.org>
431 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
433 * Api/qwebsettings.cpp:
435 2007-11-07 Simon Hausmann <hausmann@kde.org>
439 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
441 * Api/qwebsettings.cpp:
442 * Api/qwebsettings.h:
444 2007-11-07 Simon Hausmann <hausmann@kde.org>
448 Changed the webAction() accessor to not be a slot but just a public function.
452 2007-11-07 Simon Hausmann <hausmann@kde.org>
456 Implemented createWindow() in QtLauncher.
458 * QtLauncher/main.cpp:
460 (MainWindow::MainWindow):
461 (WebPage::createWindow):
463 2007-11-07 Simon Hausmann <hausmann@kde.org>
467 Implemented opening links in new windows
472 (QWebPage::webActionTriggered):
474 2007-11-07 Simon Hausmann <hausmann@kde.org>
478 Added and implemented the "OpenLink" action.
481 (webActionForContextMenuAction):
482 (QWebPage::webActionTriggered):
483 (QWebPage::webAction):
486 2007-11-07 Simon Hausmann <hausmann@kde.org>
490 Adjust the state of the reload action correctly.
493 (QWebPagePrivate::updateAction):
494 (QWebPagePrivate::updateNavigationActions):
496 2007-11-07 Simon Hausmann <hausmann@kde.org>
500 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
503 (QWebPagePrivate::updateAction):
504 (QWebPage::webAction):
505 (QWebPage::undoStack):
508 2007-11-07 Simon Hausmann <hausmann@kde.org>
512 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
514 * QtLauncher/main.cpp:
515 (MainWindow::MainWindow):
517 2007-11-07 Simon Hausmann <hausmann@kde.org>
521 Update the editor actions when the selection changes.
524 (QWebPagePrivate::updateAction):
525 (QWebPagePrivate::updateEditorActions):
527 * WebCoreSupport/EditorClientQt.cpp:
528 (WebCore::EditorClientQt::respondToChangedSelection):
530 2007-11-07 Simon Hausmann <hausmann@kde.org>
534 Added cut/copy/paste actions to the toolbar of QtLauncher
536 * QtLauncher/main.cpp:
537 (MainWindow::MainWindow):
539 2007-11-07 Simon Hausmann <hausmann@kde.org>
543 Started working on keeping the state of the navigation actions up-to-date.
546 (QWebPagePrivate::updateAction):
547 (QWebPagePrivate::updateNavigationActions):
548 (QWebPage::webAction):
550 * WebCoreSupport/FrameLoaderClientQt.cpp:
551 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
552 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
553 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
554 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
555 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
557 2007-11-07 Simon Hausmann <hausmann@kde.org>
561 Use the navigational web actions in the toolbar
563 * QtLauncher/main.cpp:
564 (MainWindow::MainWindow):
566 2007-11-07 Simon Hausmann <hausmann@kde.org>
570 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
571 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
574 (QWebPagePrivate::QWebPagePrivate):
575 (webActionForContextMenuAction):
576 (QWebPagePrivate::createContextMenu):
577 (QWebPagePrivate::_q_webActionTriggered):
578 (QWebPage::webActionTriggered):
579 (QWebPage::webAction):
580 (QWebPage::contextMenuEvent):
581 (QWebPageContext::QWebPageContext):
582 (QWebPageContext::operator=):
583 (QWebPageContext::~QWebPageContext):
584 (QWebPageContext::pos):
585 (QWebPageContext::text):
586 (QWebPageContext::linkUrl):
587 (QWebPageContext::imageUrl):
588 (QWebPageContext::image):
589 (QWebPageContext::targetFrame):
593 2007-11-07 Simon Hausmann <hausmann@kde.org>
597 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
600 (QWebPage::webActionTriggered):
601 (QWebPage::keyPressEvent):
604 2007-11-07 Simon Hausmann <hausmann@kde.org>
608 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
609 convenience methods such as cut()/copy()/paste().
613 (QWebPage::webActionTriggered):
618 2007-11-07 Simon Hausmann <hausmann@kde.org>
622 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
623 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
624 in ContextMenu::populate().
625 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
626 out of it. That menu is currently not functional anymore though.
629 (QWebPagePrivate::createContextMenu):
630 (QWebPage::contextMenuEvent):
633 2007-11-07 Simon Hausmann <hausmann@kde.org>
637 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
638 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
639 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
643 (QWebPage::contextMenuEvent):
644 * WebCoreSupport/ContextMenuClientQt.cpp:
645 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
647 2007-11-07 Simon Hausmann <hausmann@kde.org>
651 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
652 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
655 (QWebPage::mousePressEvent):
656 (QWebPage::contextMenuEvent):
659 2007-11-07 Simon Hausmann <hausmann@kde.org>
663 Turned onLoadProgressChanged into a real private slot.
666 (QWebPage::QWebPage):
670 2007-11-07 Simon Hausmann <hausmann@kde.org>
674 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
677 (QWebPagePrivate::QWebPagePrivate):
680 * Api/qwebpagehistory.cpp:
681 (QWebPageHistory::QWebPageHistory):
682 * Api/qwebpagehistory.h:
684 2007-11-07 Lars Knoll <lars@trolltech.com>
688 comments on API changes that we'd like to do.
692 2007-11-07 Simon Hausmann <hausmann@kde.org>
694 Reviewed by Lars Knoll <lars@trolltech.com>.
696 Add a QWebPage::frameCreated() signal and fix DRT
698 The removal of createFrame in QWebPage broke the re-implementation
699 in DumpRenderTree. Instead emit a frameCreated() signal and
700 connect to it in DumpRenderTree.
704 (QWebPagePrivate::createMainFrame):
706 * WebCoreSupport/FrameLoaderClientQt.cpp:
707 (WebCore::FrameLoaderClientQt::createFrame):
709 2007-11-07 Lars Knoll <lars@trolltech.com>
713 Remove QWebPage::createFrame()
715 now that QWebFrame doesn't have virtual methods anymore, there
716 is no need for a createFrame() factory method in QWebpage.
719 (QWebPagePrivate::createMainFrame):
721 * WebCoreSupport/FrameLoaderClientQt.cpp:
722 (WebCore::FrameLoaderClientQt::createFrame):
724 2007-11-07 Simon Hausmann <hausmann@kde.org>
726 Reviewed by Lars Knoll <lars@trolltech.com>.
728 Moved all the event handlers from QWebFrame into QWebPage.
730 This cleans up the public API and allows us to remove the
731 HackWebFrame hack in DumpRenderTree.
739 (QWebPagePrivate::frameAt):
740 (QWebPage::mouseMoveEvent):
741 (QWebPage::mousePressEvent):
742 (QWebPage::mouseDoubleClickEvent):
743 (QWebPage::mouseReleaseEvent):
744 (QWebPage::wheelEvent):
747 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
749 Reviewed by Lars Knoll <lars@trolltech.com>.
751 Use correct UserAgent string.
753 * Only have one User Agent String and this place is QWebPage
754 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
755 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
756 * ResourceRequest is != 0 when getting called from WebCore, we
757 will only do requests when coming from WebCore and then we can
758 use the User-Agent set with the help of the FrameLoaderClient
759 * We might want to change QWebNetworkRequest a bit
762 * Api/qwebnetworkinterface.cpp:
763 (QWebNetworkRequestPrivate::init):
765 2007-11-07 Lars Knoll <lars@trolltech.com>
769 remove two notImplemented() warnings, as I believe we don't
770 have to implement these methods. Add some (commented out)
771 debug code in one place.
773 * WebCoreSupport/EditorClientQt.cpp:
774 (WebCore::EditorClientQt::respondToChangedSelection):
775 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
777 2007-11-05 Tristan O'Tierney <tristan@apple.com>
779 Reviewed by Darin Adler.
781 * WebCoreSupport/ChromeClientQt.cpp:
782 (WebCore::ChromeClientQt::createWindow):
783 * WebCoreSupport/ChromeClientQt.h:
784 Revised to use new WebCore ChromeClient createWindow API.
786 2007-10-31 Lars Knoll <lars@trolltech.com>
790 fix most of the issues I found with Clipboard and DnD.
793 (QWebPage::dragLeaveEvent):
795 2007-10-31 Lars Knoll <lars@trolltech.com>
799 QDrag objects need to be created on the heap.
801 * WebCoreSupport/DragClientQt.cpp:
802 (WebCore::DragClientQt::startDrag):
804 2007-10-31 Lars Knoll <lars@trolltech.com>
808 a dragLeave event is not the same as cancelling a drag.
812 2007-10-26 Mark Rowe <mrowe@apple.com>
814 Build fix. Add missing #include of Platform.h.
816 * Api/qwebhistoryinterface.cpp:
818 2007-10-25 Holger Freyther <zecke@selfish.org>
820 Reviewed by Simon Hausmann <hausmann@kde.org>.
822 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
823 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
824 * This is causing some regressions...
827 * Api/qwebnetworkinterface.cpp:
828 (QWebNetworkManager::started):
829 (QWebNetworkInterface::addJob):
831 2007-10-25 Holger Freyther <zecke@selfish.org>
833 Reviewed by Simon Hausmann <hausmann@kde.org>.
835 * 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.
836 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
839 * Api/qwebnetworkinterface.cpp:
840 (QWebNetworkManager::started):
842 2007-10-25 Holger Freyther <zecke@selfish.org>
844 Reviewed by Simon Hausmann <hausmann@kde.org>.
846 * 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.
847 * Use the error message from Qt. It might or might not be translated.
850 * Api/qwebnetworkinterface.cpp:
851 (QWebNetworkJob::errorString):
852 (QWebNetworkJob::setErrorString):
853 (QWebNetworkManager::finished):
854 (QWebNetworkManager::doWork):
855 (WebCoreHttp::onRequestFinished):
856 * Api/qwebnetworkinterface.h:
857 * Api/qwebnetworkinterface_p.h:
859 2007-10-25 Holger Freyther <zecke@selfish.org>
861 Reviewed by Simon Hausmann <hausmann@kde.org>.
863 * 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.
864 * 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.
867 * Api/qwebnetworkinterface.cpp:
868 (QWebNetworkManager::doWork):
870 2007-10-25 Holger Freyther <zecke@selfish.org>
872 Reviewed by Simon Hausmann <hausmann@kde.org>.
874 * No need to initialize values in the QWebNetworkJob c'tor
875 * 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.
878 * Api/qwebnetworkinterface.cpp:
879 (QWebNetworkJob::status):
880 (QWebNetworkJob::setStatus):
881 (QWebNetworkManager::started):
882 (QWebNetworkManager::data):
883 (QWebNetworkManager::finished):
884 * Api/qwebnetworkinterface.h:
885 * Api/qwebnetworkinterface_p.h:
886 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
888 2007-10-25 Holger Freyther <zecke@selfish.org>
890 Reviewed by Simon Hausmann <hausmann@kde.org>.
892 * Consistency: Always name the jobs job.
895 * Api/qwebnetworkinterface.cpp:
896 (WebCoreHttp::onReadyRead):
897 (WebCoreHttp::onRequestFinished):
898 (WebCoreHttp::onSslErrors):
899 (WebCoreHttp::onAuthenticationRequired):
900 (WebCoreHttp::onProxyAuthenticationRequired):
902 2007-10-25 Holger Freyther <zecke@selfish.org>
904 Reviewed by Simon Hausmann <hausmann@kde.org>.
906 * 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.
907 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
910 * Api/qwebnetworkinterface.cpp:
911 (QWebNetworkJob::~QWebNetworkJob):
912 (QWebNetworkManager::QWebNetworkManager):
913 (QWebNetworkManager::self):
914 (QWebNetworkManager::add):
915 (QWebNetworkManager::started):
916 (QWebNetworkManager::finished):
917 (QWebNetworkInterfacePrivate::sendFileData):
918 (QWebNetworkInterfacePrivate::parseDataUrl):
919 (QWebNetworkManager::queueStart):
920 (QWebNetworkManager::queueData):
921 (QWebNetworkManager::queueFinished):
922 (QWebNetworkManager::doScheduleWork):
923 (QWebNetworkManager::doWork):
925 (QWebNetworkInterface::setDefaultInterface):
926 (QWebNetworkInterface::defaultInterface):
927 (QWebNetworkInterface::QWebNetworkInterface):
928 (QWebNetworkInterface::started):
929 (QWebNetworkInterface::data):
930 (QWebNetworkInterface::finished):
931 (WebCoreHttp::scheduleNextRequest):
932 (WebCoreHttp::onResponseHeaderReceived):
933 (WebCoreHttp::onReadyRead):
934 (WebCoreHttp::onRequestFinished):
935 (WebCoreHttp::cancel):
936 * Api/qwebnetworkinterface.h:
937 * Api/qwebnetworkinterface_p.h:
938 (QWebNetworkManager::):
939 (QWebNetworkManager::JobData::JobData):
940 (QWebNetworkManager::JobFinished::JobFinished):
942 2007-10-25 Holger Freyther <zecke@selfish.org>
944 Reviewed by Simon Hausmann <hausmann@kde.org>.
946 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
947 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
948 * We pass the char-decoding.html test now
951 * Api/qwebnetworkinterface.cpp:
952 (decodePercentEncoding):
953 (QWebNetworkInterfacePrivate::parseDataUrl):
955 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
957 Reviewed by Lars Knoll <lars@trolltech.com>.
959 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
962 * WebCoreSupport/EditorClientQt.cpp:
963 (WebCore::EditorClientQt::handleKeypress):
965 2007-10-24 Lars Knoll <lars@trolltech.com>
969 remove some notImplemented() warnings.
971 * WebCoreSupport/EditorClientQt.cpp:
972 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
973 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
974 (WebCore::EditorClientQt::respondToChangedSelection):
976 2007-10-24 Lars Knoll <lars@trolltech.com>
980 allow paste from DOM so we pass more test cases.
983 (QWebPage::setSettings):
985 2007-10-24 Lars Knoll <lars@trolltech.com>
989 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
992 (QWebPage::keyPressEvent):
993 (QWebPage::keyReleaseEvent):
995 2007-10-24 Lars Knoll <lars@trolltech.com>
999 some smaller fixes to the editing support in DRT. Makes another few tests pass.
1001 * WebCoreSupport/EditorClientQt.cpp:
1002 (qt_dump_editing_callbacks):
1005 2007-10-24 Lars Knoll <lars@trolltech.com>
1009 implemented support for most editing shortcuts to make contentEditable usable.
1012 (QWebPage::keyPressEvent):
1014 2007-10-24 Lars Knoll <lars@trolltech.com>
1018 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1021 (QWebPage::focusInEvent):
1023 2007-10-24 Lars Knoll <lars@trolltech.com>
1027 Implement support for testing editing.
1029 * WebCoreSupport/EditorClientQt.cpp:
1030 (qt_dump_editing_callbacks):
1031 (qt_dump_set_accepts_editing):
1034 (WebCore::EditorClientQt::shouldDeleteRange):
1035 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1036 (WebCore::EditorClientQt::shouldBeginEditing):
1037 (WebCore::EditorClientQt::shouldEndEditing):
1038 (WebCore::EditorClientQt::shouldInsertText):
1039 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1040 (WebCore::EditorClientQt::shouldApplyStyle):
1041 (WebCore::EditorClientQt::didBeginEditing):
1042 (WebCore::EditorClientQt::respondToChangedContents):
1043 (WebCore::EditorClientQt::respondToChangedSelection):
1044 (WebCore::EditorClientQt::didEndEditing):
1045 (WebCore::EditorClientQt::shouldInsertNode):
1047 2007-10-19 Alp Toker <alp@atoker.com>
1051 GTK+ build fix enabling the new local database storage feature.
1052 There is also a prospective Qt build fix.
1054 * WebCoreSupport/ChromeClientQt.cpp:
1055 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1056 * WebCoreSupport/ChromeClientQt.h:
1058 2007-10-19 Simon Hausmann <hausmann@kde.org>
1060 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1061 that config.h is included before wtf/MathExtras. The former defines
1062 the MSVC defines for rand_s.
1064 * WebCoreSupport/FrameLoaderClientQt.cpp:
1066 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1070 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1072 * Api/qwebframe.cpp:
1075 2007-10-10 Alice Liu <alice.liu@apple.com>
1077 Reviewed by Geoff Garen.
1079 changes to keep the build from breaking
1081 * WebCoreSupport/FrameLoaderClientQt.cpp:
1082 (WebCore::FrameLoaderClientQt::createFrame):
1083 * WebCoreSupport/FrameLoaderClientQt.h:
1085 2007-10-09 Lars Knoll <lars@trolltech.com>
1089 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1092 (QWebPage::setSettings):
1094 2007-10-09 Lars Knoll <lars@trolltech.com>
1098 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1100 * Api/qwebnetworkinterface.cpp:
1101 (QWebNetworkManager::add):
1102 (QWebNetworkManager::cancel):
1103 (QWebNetworkManager::started):
1104 (QWebNetworkManager::data):
1105 (QWebNetworkInterfacePrivate::parseDataUrl):
1107 2007-10-09 Lars Knoll <lars@trolltech.com>
1111 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.
1114 (QWebPagePrivate::createMainFrame):
1115 (QWebPage::createFrame):
1116 * WebCoreSupport/FrameLoaderClientQt.cpp:
1117 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1118 * WebCoreSupport/FrameLoaderClientQt.h:
1120 2007-10-09 Lars Knoll <lars@trolltech.com>
1124 add a clear() method to QWebPageHistory.
1126 * Api/qwebpagehistory.cpp:
1127 (QWebPageHistory::clear):
1128 (QWebPageHistory::itemAtIndex):
1129 * Api/qwebpagehistory.h:
1131 2007-10-05 Lars Knoll <lars@trolltech.com>
1133 add proper error messages to the FrameLoaderClient.
1134 Implement ChromeClientQt::closeWindowSoon and
1135 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1136 Some fixes in DRT to make it work correctly with multiple windows.
1141 * Api/qwebnetworkinterface.cpp:
1142 (QWebNetworkManager::cancel):
1143 (QWebNetworkInterface::addJob):
1144 * WebCoreSupport/ChromeClientQt.cpp:
1145 (WebCore::ChromeClientQt::closeWindowSoon):
1146 * WebCoreSupport/FrameLoaderClientQt.cpp:
1147 (WebCore::FrameLoaderClientQt::cancelledError):
1149 (WebCore::FrameLoaderClientQt::blockedError):
1150 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1151 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1152 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1153 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1155 2007-10-03 Lars Knoll <lars@trolltech.com>
1157 Signed off by Olliej.
1159 move WebKitQt to WebKit/qt for consistency with the other ports.
1161 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1162 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1163 (QCookieJarPrivate::QCookieJarPrivate):
1165 (QCookieJar::QCookieJar):
1166 (QCookieJar::~QCookieJar):
1167 (QCookieJar::setCookies):
1168 (QCookieJar::cookies):
1169 (QCookieJar::isEnabled):
1170 (QCookieJar::setEnabled):
1172 (QCookieJar::setCookieJar):
1173 (QCookieJar::cookieJar):
1174 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1175 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1176 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1177 (QWebFramePrivate::init):
1178 (QWebFramePrivate::parentFrame):
1179 (QWebFramePrivate::horizontalScrollBar):
1180 (QWebFramePrivate::verticalScrollBar):
1181 (QWebFrame::QWebFrame):
1182 (QWebFrame::~QWebFrame):
1183 (QWebFrame::addToJSWindowObject):
1184 (QWebFrame::markup):
1185 (QWebFrame::innerText):
1186 (QWebFrame::renderTreeDump):
1190 (QWebFrame::selectedText):
1191 (QWebFrame::childFrames):
1192 (QWebFrame::verticalScrollBarPolicy):
1193 (QWebFrame::setVerticalScrollBarPolicy):
1194 (QWebFrame::horizontalScrollBarPolicy):
1195 (QWebFrame::setHorizontalScrollBarPolicy):
1196 (QWebFrame::render):
1197 (QWebFrame::layout):
1199 (QWebFrame::geometry):
1200 (QWebFrame::evaluateJavaScript):
1201 (QWebFrame::mouseMoveEvent):
1202 (QWebFrame::mousePressEvent):
1203 (QWebFrame::mouseDoubleClickEvent):
1204 (QWebFrame::mouseReleaseEvent):
1205 (QWebFrame::wheelEvent):
1206 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1207 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1208 (QWebFramePrivate::QWebFramePrivate):
1209 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1210 (WebCore::historyContains):
1211 (gCleanupInterface):
1212 (QWebHistoryInterface::setDefaultInterface):
1213 (QWebHistoryInterface::defaultInterface):
1214 (QWebHistoryInterface::QWebHistoryInterface):
1215 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1216 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1217 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1220 (QWebNetworkRequestPrivate::init):
1221 (QWebNetworkRequestPrivate::setURL):
1222 (QWebNetworkRequest::QWebNetworkRequest):
1223 (QWebNetworkRequest::operator=):
1224 (QWebNetworkRequest::~QWebNetworkRequest):
1225 (QWebNetworkRequest::url):
1226 (QWebNetworkRequest::setUrl):
1227 (QWebNetworkRequest::httpHeader):
1228 (QWebNetworkRequest::setHttpHeader):
1229 (QWebNetworkRequest::httpHeaderField):
1230 (QWebNetworkRequest::setHttpHeaderField):
1231 (QWebNetworkRequest::postData):
1232 (QWebNetworkRequest::setPostData):
1233 (QWebNetworkJob::QWebNetworkJob):
1234 (QWebNetworkJob::~QWebNetworkJob):
1235 (QWebNetworkJob::url):
1236 (QWebNetworkJob::postData):
1237 (QWebNetworkJob::httpHeader):
1238 (QWebNetworkJob::request):
1239 (QWebNetworkJob::response):
1240 (QWebNetworkJob::setResponse):
1241 (QWebNetworkJob::cancelled):
1242 (QWebNetworkJob::ref):
1243 (QWebNetworkJob::deref):
1244 (QWebNetworkJob::networkInterface):
1245 (QWebNetworkJob::frame):
1246 (QWebNetworkManager::QWebNetworkManager):
1247 (QWebNetworkManager::self):
1248 (QWebNetworkManager::add):
1249 (QWebNetworkManager::cancel):
1250 (QWebNetworkManager::started):
1251 (QWebNetworkManager::data):
1252 (QWebNetworkManager::finished):
1253 (QWebNetworkManager::addHttpJob):
1254 (QWebNetworkManager::cancelHttpJob):
1255 (QWebNetworkManager::httpConnectionClosed):
1256 (QWebNetworkInterfacePrivate::sendFileData):
1257 (QWebNetworkInterfacePrivate::parseDataUrl):
1258 (gCleanupInterface):
1259 (QWebNetworkInterface::setDefaultInterface):
1260 (QWebNetworkInterface::defaultInterface):
1261 (QWebNetworkInterface::QWebNetworkInterface):
1262 (QWebNetworkInterface::~QWebNetworkInterface):
1263 (QWebNetworkInterface::addJob):
1264 (QWebNetworkInterface::cancelJob):
1265 (WebCoreHttp::WebCoreHttp):
1266 (WebCoreHttp::~WebCoreHttp):
1267 (WebCoreHttp::request):
1268 (WebCoreHttp::scheduleNextRequest):
1269 (WebCoreHttp::getConnection):
1270 (WebCoreHttp::onResponseHeaderReceived):
1271 (WebCoreHttp::onReadyRead):
1272 (WebCoreHttp::onRequestFinished):
1273 (WebCoreHttp::onDone):
1274 (WebCoreHttp::onStateChanged):
1275 (WebCoreHttp::cancel):
1276 (WebCoreHttp::onSslErrors):
1277 (WebCoreHttp::onAuthenticationRequired):
1278 (WebCoreHttp::onProxyAuthenticationRequired):
1279 (HostInfo::HostInfo):
1280 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1281 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1282 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1283 (WebCore::HostInfo::HostInfo):
1284 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1285 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1286 (QWebFactoryLoader::QWebFactoryLoader):
1287 (QWebFactoryLoader::self):
1288 (QWebFactoryLoader::descriptionForName):
1289 (QWebFactoryLoader::mimetypesForName):
1290 (QWebFactoryLoader::mimeTypeForExtension):
1291 (QWebFactoryLoader::extensions):
1292 (QWebFactoryLoader::nameForMimetype):
1293 (QWebFactoryLoader::create):
1294 (QWebObjectPlugin::QWebObjectPlugin):
1295 (QWebObjectPlugin::~QWebObjectPlugin):
1296 (QWebObjectPlugin::descriptionForKey):
1297 (QWebObjectPlugin::mimetypesForKey):
1298 (QWebObjectPlugin::extensionsForMimetype):
1299 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1300 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1301 (QWebFactoryLoader::names):
1302 (QWebFactoryLoader::supportsMimeType):
1303 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1304 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1305 (QWebObjectPluginConnector::frame):
1306 (QWebObjectPluginConnector::pluginParentWidget):
1307 (QWebObjectPluginConnector::requestUrl):
1308 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1309 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1310 (QWebPagePrivate::QWebPagePrivate):
1311 (QWebPagePrivate::~QWebPagePrivate):
1312 (QWebPagePrivate::navigationRequested):
1313 (QWebPagePrivate::createMainFrame):
1314 (QWebPage::QWebPage):
1315 (QWebPage::~QWebPage):
1316 (QWebPage::createFrame):
1320 (QWebPage::mainFrame):
1321 (QWebPage::sizeHint):
1323 (QWebPage::history):
1325 (QWebPage::goForward):
1326 (QWebPage::goToHistoryItem):
1327 (QWebPage::javaScriptConsoleMessage):
1328 (QWebPage::javaScriptAlert):
1329 (QWebPage::javaScriptConfirm):
1330 (QWebPage::javaScriptPrompt):
1331 (QWebPage::createWindow):
1332 (QWebPage::createModalDialog):
1333 (QWebPage::createPlugin):
1334 (QWebPage::navigationRequested):
1335 (QWebPage::setWindowGeometry):
1337 (QWebPage::canCopy):
1338 (QWebPage::canPaste):
1342 (QWebPage::isModified):
1343 (QWebPage::undoStack):
1344 (dropActionToDragOp):
1345 (dragOpToDropAction):
1346 (QWebPage::resizeEvent):
1347 (QWebPage::paintEvent):
1348 (QWebPage::mouseMoveEvent):
1349 (QWebPage::mousePressEvent):
1350 (QWebPage::mouseDoubleClickEvent):
1351 (QWebPage::mouseReleaseEvent):
1352 (QWebPage::wheelEvent):
1353 (QWebPage::keyPressEvent):
1354 (QWebPage::keyReleaseEvent):
1355 (QWebPage::focusInEvent):
1356 (QWebPage::focusOutEvent):
1357 (QWebPage::focusNextPrevChild):
1358 (QWebPage::dragEnterEvent):
1359 (QWebPage::dragLeaveEvent):
1360 (QWebPage::dragMoveEvent):
1361 (QWebPage::dropEvent):
1362 (QWebPage::setNetworkInterface):
1363 (QWebPage::networkInterface):
1365 (QWebPage::setSettings):
1366 (QWebPage::settings):
1367 (QWebPage::chooseFile):
1368 (QWebPage::setNetworkProxy):
1369 (QWebPage::networkProxy):
1370 (QWebPage::userAgentStringForUrl):
1371 (QWebPage::onLoadProgressChanged):
1372 (QWebPage::totalBytes):
1373 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1374 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1375 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1376 (QWebHistoryItem::QWebHistoryItem):
1377 (QWebHistoryItem::operator=):
1378 (QWebHistoryItem::~QWebHistoryItem):
1379 (QWebHistoryItem::originalUrl):
1380 (QWebHistoryItem::currentUrl):
1381 (QWebHistoryItem::title):
1382 (QWebHistoryItem::lastVisited):
1383 (QWebHistoryItem::icon):
1384 (QWebPageHistory::QWebPageHistory):
1385 (QWebPageHistory::itemAtIndex):
1386 (QWebPageHistory::operator=):
1387 (QWebPageHistory::~QWebPageHistory):
1388 (QWebPageHistory::items):
1389 (QWebPageHistory::backItems):
1390 (QWebPageHistory::forwardItems):
1391 (QWebPageHistory::canGoBack):
1392 (QWebPageHistory::canGoForward):
1393 (QWebPageHistory::goBack):
1394 (QWebPageHistory::goForward):
1395 (QWebPageHistory::goToItem):
1396 (QWebPageHistory::backItem):
1397 (QWebPageHistory::currentItem):
1398 (QWebPageHistory::forwardItem):
1399 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1400 (QExplicitlySharedDataPointer::operator*):
1401 (QExplicitlySharedDataPointer::operator->):
1402 (QExplicitlySharedDataPointer::operator T *):
1403 (QExplicitlySharedDataPointer::operator const T *):
1404 (QExplicitlySharedDataPointer::data):
1405 (QExplicitlySharedDataPointer::constData):
1406 (QExplicitlySharedDataPointer::operator==):
1407 (QExplicitlySharedDataPointer::operator!=):
1408 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1409 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1410 (QExplicitlySharedDataPointer::operator=):
1411 (QExplicitlySharedDataPointer::operator!):
1412 (::QExplicitlySharedDataPointer):
1413 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1414 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1415 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1416 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1417 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1418 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1419 (QWebSettingsPrivate::QWebSettingsPrivate):
1420 (QWebSettings::QWebSettings):
1421 (QWebSettings::~QWebSettings):
1422 (QWebSettings::setMinimumFontSize):
1423 (QWebSettings::minimumFontSize):
1424 (QWebSettings::setMinimumLogicalFontSize):
1425 (QWebSettings::minimumLogicalFontSize):
1426 (QWebSettings::setDefaultFontSize):
1427 (QWebSettings::defaultFontSize):
1428 (QWebSettings::setDefaultFixedFontSize):
1429 (QWebSettings::defaultFixedFontSize):
1430 (QWebSettings::setUserStyleSheetLocation):
1431 (QWebSettings::userStyleSheetLocation):
1432 (QWebSettings::setIconDatabaseEnabled):
1433 (QWebSettings::iconDatabaseEnabled):
1434 (QWebSettings::setWebGraphic):
1435 (QWebSettings::webGraphic):
1436 (QWebSettings::operator=):
1437 (QWebSettings::setGlobal):
1438 (QWebSettings::global):
1439 (QWebSettings::setFontFamily):
1440 (QWebSettings::fontFamily):
1441 (QWebSettings::setAttribute):
1442 (QWebSettings::testAttribute):
1443 (loadResourcePixmap):
1444 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
1445 * ChangeLog: Renamed from WebKitQt/ChangeLog.
1446 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
1447 (IcoHeader::operator >>):
1448 (IcoHeader::BMP_INFOHDR::):
1449 (IcoHeader::operator<<):
1450 (IcoHeader::LessDifference::LessDifference):
1451 (IcoHeader::LessDifference::operator ()):
1452 (IcoHeader::loadFromDIB):
1453 (ICOHandler::ICOHandler):
1454 (ICOHandler::canRead):
1456 (ICOHandler::write):
1459 (ICOPlugin::capabilities):
1460 (ICOPlugin::create):
1461 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
1462 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
1463 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
1464 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
1465 (HoverLabel::HoverLabel):
1466 (HoverLabel::setHoverLink):
1467 (HoverLabel::sizeForFont):
1468 (HoverLabel::sizeHint):
1469 (HoverLabel::updateSize):
1470 (HoverLabel::resetAnimation):
1471 (HoverLabel::paintEvent):
1472 (HoverLabel::interpolate):
1473 (ClearButton::ClearButton):
1474 (ClearButton::paintEvent):
1475 (SearchEdit::SearchEdit):
1476 (SearchEdit::~SearchEdit):
1477 (SearchEdit::paintEvent):
1478 (SearchEdit::resizeEvent):
1479 (SearchEdit::moveEvent):
1480 (MainWindow::MainWindow):
1481 (MainWindow::changeLocation):
1482 (MainWindow::loadFinished):
1483 (MainWindow::showLinkHover):
1484 (MainWindow::resizeEvent):
1486 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
1487 (WebCore::ChromeClientQt::ChromeClientQt):
1488 (WebCore::ChromeClientQt::~ChromeClientQt):
1489 (WebCore::ChromeClientQt::setWindowRect):
1490 (WebCore::ChromeClientQt::windowRect):
1491 (WebCore::ChromeClientQt::pageRect):
1492 (WebCore::ChromeClientQt::scaleFactor):
1493 (WebCore::ChromeClientQt::focus):
1494 (WebCore::ChromeClientQt::unfocus):
1495 (WebCore::ChromeClientQt::canTakeFocus):
1496 (WebCore::ChromeClientQt::takeFocus):
1497 (WebCore::ChromeClientQt::createWindow):
1498 (WebCore::ChromeClientQt::createModalDialog):
1499 (WebCore::ChromeClientQt::show):
1500 (WebCore::ChromeClientQt::canRunModal):
1501 (WebCore::ChromeClientQt::runModal):
1502 (WebCore::ChromeClientQt::setToolbarsVisible):
1503 (WebCore::ChromeClientQt::toolbarsVisible):
1504 (WebCore::ChromeClientQt::setStatusbarVisible):
1505 (WebCore::ChromeClientQt::statusbarVisible):
1506 (WebCore::ChromeClientQt::setScrollbarsVisible):
1507 (WebCore::ChromeClientQt::scrollbarsVisible):
1508 (WebCore::ChromeClientQt::setMenubarVisible):
1509 (WebCore::ChromeClientQt::menubarVisible):
1510 (WebCore::ChromeClientQt::setResizable):
1511 (WebCore::ChromeClientQt::addMessageToConsole):
1512 (WebCore::ChromeClientQt::chromeDestroyed):
1513 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1514 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1515 (WebCore::ChromeClientQt::closeWindowSoon):
1516 (WebCore::ChromeClientQt::runJavaScriptAlert):
1517 (WebCore::ChromeClientQt::runJavaScriptConfirm):
1518 (WebCore::ChromeClientQt::runJavaScriptPrompt):
1519 (WebCore::ChromeClientQt::setStatusbarText):
1520 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
1521 (WebCore::ChromeClientQt::tabsToLinks):
1522 (WebCore::ChromeClientQt::windowResizerRect):
1523 (WebCore::ChromeClientQt::addToDirtyRegion):
1524 (WebCore::ChromeClientQt::scrollBackingStore):
1525 (WebCore::ChromeClientQt::updateBackingStore):
1526 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1527 (WebCore::ChromeClientQt::setToolTip):
1528 (WebCore::ChromeClientQt::print):
1529 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
1530 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
1531 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1532 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1533 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1534 (WebCore::ContextMenuClientQt::downloadURL):
1535 (WebCore::ContextMenuClientQt::lookUpInDictionary):
1536 (WebCore::ContextMenuClientQt::speak):
1537 (WebCore::ContextMenuClientQt::stopSpeaking):
1538 (WebCore::ContextMenuClientQt::searchWithGoogle):
1539 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
1540 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
1541 (WebCore::DragClientQt::actionMaskForDrag):
1542 (WebCore::DragClientQt::willPerformDragDestinationAction):
1543 (WebCore::DragClientQt::dragControllerDestroyed):
1544 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1545 (WebCore::DragClientQt::willPerformDragSourceAction):
1546 (WebCore::DragClientQt::startDrag):
1547 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
1548 (WebCore::DragClientQt::DragClientQt):
1549 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
1550 (EditCommandQt::EditCommandQt):
1551 (EditCommandQt::~EditCommandQt):
1552 (EditCommandQt::redo):
1553 (EditCommandQt::undo):
1554 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
1555 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
1556 (WebCore::EditorClientQt::shouldDeleteRange):
1557 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1558 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1559 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1560 (WebCore::EditorClientQt::spellCheckerDocumentTag):
1561 (WebCore::EditorClientQt::shouldBeginEditing):
1562 (WebCore::EditorClientQt::shouldEndEditing):
1563 (WebCore::EditorClientQt::shouldInsertText):
1564 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1565 (WebCore::EditorClientQt::shouldApplyStyle):
1566 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1567 (WebCore::EditorClientQt::didBeginEditing):
1568 (WebCore::EditorClientQt::respondToChangedContents):
1569 (WebCore::EditorClientQt::respondToChangedSelection):
1570 (WebCore::EditorClientQt::didEndEditing):
1571 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1572 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1573 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1574 (WebCore::EditorClientQt::isEditable):
1575 (WebCore::EditorClientQt::registerCommandForUndo):
1576 (WebCore::EditorClientQt::registerCommandForRedo):
1577 (WebCore::EditorClientQt::clearUndoRedoOperations):
1578 (WebCore::EditorClientQt::canUndo):
1579 (WebCore::EditorClientQt::canRedo):
1580 (WebCore::EditorClientQt::undo):
1581 (WebCore::EditorClientQt::redo):
1582 (WebCore::EditorClientQt::shouldInsertNode):
1583 (WebCore::EditorClientQt::pageDestroyed):
1584 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
1585 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1586 (WebCore::EditorClientQt::toggleGrammarChecking):
1587 (WebCore::EditorClientQt::handleKeypress):
1588 (WebCore::EditorClientQt::handleInputMethodKeypress):
1589 (WebCore::EditorClientQt::EditorClientQt):
1590 (WebCore::EditorClientQt::textFieldDidBeginEditing):
1591 (WebCore::EditorClientQt::textFieldDidEndEditing):
1592 (WebCore::EditorClientQt::textDidChangeInTextField):
1593 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
1594 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
1595 (WebCore::EditorClientQt::textDidChangeInTextArea):
1596 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
1597 (WebCore::EditorClientQt::learnWord):
1598 (WebCore::EditorClientQt::checkSpellingOfString):
1599 (WebCore::EditorClientQt::checkGrammarOfString):
1600 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
1601 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
1602 (WebCore::EditorClientQt::showSpellingUI):
1603 (WebCore::EditorClientQt::spellingUIIsShowing):
1604 (WebCore::EditorClientQt::getGuessesForWord):
1605 (WebCore::EditorClientQt::isEditing):
1606 (WebCore::EditorClientQt::setInputMethodState):
1607 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
1608 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
1609 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1610 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1611 (WebCore::FrameLoaderClientQt::setFrame):
1612 (WebCore::FrameLoaderClientQt::webFrame):
1613 (WebCore::FrameLoaderClientQt::callPolicyFunction):
1614 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1615 (WebCore::FrameLoaderClientQt::hasWebView):
1616 (WebCore::FrameLoaderClientQt::hasFrameView):
1617 (WebCore::FrameLoaderClientQt::hasBackForwardList):
1618 (WebCore::FrameLoaderClientQt::resetBackForwardList):
1619 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
1620 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
1621 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
1622 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
1623 (WebCore::FrameLoaderClientQt::makeDocumentView):
1624 (WebCore::FrameLoaderClientQt::makeRepresentation):
1625 (WebCore::FrameLoaderClientQt::forceLayout):
1626 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
1627 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1628 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
1629 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
1630 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
1631 (WebCore::FrameLoaderClientQt::willCloseDocument):
1632 (WebCore::FrameLoaderClientQt::detachedFromParent2):
1633 (WebCore::FrameLoaderClientQt::detachedFromParent3):
1634 (WebCore::FrameLoaderClientQt::detachedFromParent4):
1635 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
1636 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1637 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
1638 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
1639 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
1640 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
1641 (WebCore::FrameLoaderClientQt::dispatchWillClose):
1642 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1643 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1644 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1645 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1646 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1647 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1648 (WebCore::FrameLoaderClientQt::dispatchShow):
1649 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1650 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1651 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
1652 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
1653 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
1654 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
1655 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
1656 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1657 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1658 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1659 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1660 (WebCore::FrameLoaderClientQt::willChangeTitle):
1661 (WebCore::FrameLoaderClientQt::didChangeTitle):
1662 (WebCore::FrameLoaderClientQt::finishedLoading):
1663 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
1664 (WebCore::FrameLoaderClientQt::setDefersLoading):
1665 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
1666 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
1667 (WebCore::FrameLoaderClientQt::clearArchivedResources):
1668 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1669 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1670 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
1671 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1672 (WebCore::FrameLoaderClientQt::restoreViewState):
1673 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1674 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
1675 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
1676 (WebCore::FrameLoaderClientQt::didFinishLoad):
1677 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1678 (WebCore::FrameLoaderClientQt::setTitle):
1679 (WebCore::FrameLoaderClientQt::userAgent):
1680 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
1681 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1682 (WebCore::FrameLoaderClientQt::canHandleRequest):
1683 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1684 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1685 (WebCore::FrameLoaderClientQt::registerForIconNotification):
1686 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
1687 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1688 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1689 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1690 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1691 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
1692 (WebCore::FrameLoaderClientQt::canCachePage):
1693 (WebCore::FrameLoaderClientQt::setMainDocumentError):
1694 (WebCore::FrameLoaderClientQt::committedLoad):
1695 (WebCore::FrameLoaderClientQt::cancelledError):
1696 (WebCore::FrameLoaderClientQt::blockedError):
1697 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1698 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1699 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1700 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1701 (WebCore::FrameLoaderClientQt::shouldFallBack):
1702 (WebCore::FrameLoaderClientQt::createDocumentLoader):
1703 (WebCore::FrameLoaderClientQt::download):
1704 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1705 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1706 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1707 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1708 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1709 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1710 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1711 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1712 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1713 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1714 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1715 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1716 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1717 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1718 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1719 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1720 (WebCore::FrameLoaderClientQt::startDownload):
1721 (WebCore::FrameLoaderClientQt::willUseArchive):
1722 (WebCore::FrameLoaderClientQt::createFrame):
1723 (WebCore::FrameLoaderClientQt::objectContentType):
1725 (WebCore::FrameLoaderClientQt::createPlugin):
1726 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1727 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1728 (WebCore::FrameLoaderClientQt::overrideMediaType):
1729 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
1730 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
1731 (WebCore::InspectorClientQt::inspectorDestroyed):
1732 (WebCore::InspectorClientQt::createPage):
1733 (WebCore::InspectorClientQt::showWindow):
1734 (WebCore::InspectorClientQt::closeWindow):
1735 (WebCore::InspectorClientQt::attachWindow):
1736 (WebCore::InspectorClientQt::detachWindow):
1737 (WebCore::InspectorClientQt::highlight):
1738 (WebCore::InspectorClientQt::hideHighlight):
1739 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
1740 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
1741 (WebKitFactory::WebKitFactory):
1742 (WebKitFactory::~WebKitFactory):
1743 (WebKitFactory::createPartObject):
1744 (WebKitFactory::instance):
1745 (WebKitFactory::ref):
1746 (WebKitFactory::deref):
1747 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
1748 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
1749 (WebKitPart::WebKitPart):
1750 (WebKitPart::~WebKitPart):
1751 (WebKitPart::openFile):
1752 (WebKitPart::openUrl):
1753 (WebKitPart::closeUrl):
1754 (WebKitPart::parentPart):
1755 (WebKitPart::frame):
1756 (WebKitPart::initView):
1757 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
1758 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
1760 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
1761 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
1762 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
1763 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1764 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
1765 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
1766 (WebKitPartClient::WebKitPartClient):
1767 (WebKitPartClient::~WebKitPartClient):
1768 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
1769 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
1770 (WebKitPartInterface::WebKitPartInterface):
1771 (WebKitPartInterface::~WebKitPartInterface):
1772 (WebKitPartInterface::url):
1773 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
1774 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
1776 2007-10-02 Adam Treat <treat@kde.org>
1778 Reviewed by Eric Seidel.
1780 Open the requested url on the newly created window.
1781 Implement createModalDialog and provide new API for this.
1782 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
1785 (QWebPage::createModalDialog):
1787 * WebCoreSupport/ChromeClientQt.cpp:
1788 (WebCore::ChromeClientQt::createWindow):
1789 (WebCore::ChromeClientQt::createModalDialog):
1791 2007-10-02 Lars Knoll <lars@trolltech.com>
1795 Add API to retrieve the frame name from QWebFrame.
1796 Implement support for DRT::dumpChildrenAsText.
1798 * Api/qwebframe.cpp:
1802 2007-10-02 Lars Knoll <lars@trolltech.com>
1806 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1808 * Api/qwebnetworkinterface.cpp:
1809 (QWebNetworkManager::started):
1810 (QWebNetworkManager::data):
1811 (QWebNetworkManager::finished):
1812 (QWebNetworkInterfacePrivate::sendFileData):
1813 (QWebNetworkInterfacePrivate::parseDataUrl):
1814 (WebCoreHttp::scheduleNextRequest):
1815 (WebCoreHttp::onSslErrors):
1816 * QtLauncher/main.cpp:
1819 2007-10-01 Lars Knoll <lars@trolltech.com>
1823 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
1825 * WebCoreSupport/FrameLoaderClientQt.cpp:
1826 (WebCore::FrameLoaderClientQt::makeDocumentView):
1827 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1828 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1829 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1830 (WebCore::FrameLoaderClientQt::objectContentType):
1831 (WebCore::FrameLoaderClientQt::createPlugin):
1833 2007-09-30 George Staikos <staikos@kde.org>
1835 Qt build fix (OS X specific).
1837 * QtLauncher/QtLauncher.pro:
1839 2007-09-26 Mark Rowe <mrowe@apple.com>
1843 * WebCoreSupport/FrameLoaderClientQt.cpp:
1844 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
1846 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1850 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1851 LGPL'ed files contain incorrect FSF address
1853 * Api/qcookiejar.cpp:
1855 * Api/qwebframe.cpp:
1857 * Api/qwebframe_p.h:
1858 * Api/qwebhistoryinterface.cpp:
1859 * Api/qwebhistoryinterface.h:
1860 * Api/qwebkitglobal.h:
1861 * Api/qwebnetworkinterface.cpp:
1862 * Api/qwebnetworkinterface.h:
1863 * Api/qwebnetworkinterface_p.h:
1864 * Api/qwebobjectplugin.cpp:
1865 * Api/qwebobjectplugin.h:
1866 * Api/qwebobjectpluginconnector.cpp:
1867 * Api/qwebobjectpluginconnector.h:
1871 * Api/qwebpagehistory.cpp:
1872 * Api/qwebpagehistory.h:
1873 * Api/qwebsettings.cpp:
1874 * Api/qwebsettings.h:
1875 * WebCoreSupport/EditCommandQt.cpp:
1876 * WebCoreSupport/EditCommandQt.h:
1878 2007-09-25 Adam Treat <treat@kde.org>
1880 Reviewed by Simon and Lars.
1882 Modifies the addToJSWindowObject to bind js objects using the built-in
1883 kjs_window class. Make sure to protect the created runtime object from
1886 Adds a signal to QWebFrame to notify clients of the beginning of a
1887 provisional load. DRT needs this.
1889 * Api/qwebframe.cpp:
1890 (QWebFrame::addToJSWindowObject):
1892 * WebCoreSupport/FrameLoaderClientQt.cpp:
1893 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1895 2007-09-10 Qing Zhao <qing@staikos.net>
1897 Reviewed by George Staikos.
1899 Don't re-encode urls, resulting in double encoding. Fixes login to
1902 * Api/qwebnetworkinterface.cpp:
1903 (QWebNetworkRequestPrivate::init):
1904 (QWebNetworkManager::started):
1906 2007-09-08 Mark Rowe <mrowe@apple.com>
1908 Qt build fix. Move stub method implementations to the right class.
1910 * WebCoreSupport/FrameLoaderClientQt.cpp:
1911 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1913 2007-09-08 Brady Eidson <beidson@apple.com>
1915 YABF (Yet Another Build Fix)
1917 * Api/qwebsettings.cpp:
1918 (QWebSettings::iconDatabaseEnabled):
1920 2007-09-08 Brady Eidson <beidson@apple.com>
1924 * WebCoreSupport/FrameLoaderClientQt.cpp:
1925 (WebCore::FrameLoaderClient::registerForIconNotification):
1926 * WebCoreSupport/FrameLoaderClientQt.h:
1928 2007-09-08 Brady Eidson <beidson@apple.com>
1932 * WebCoreSupport/FrameLoaderClientQt.cpp:
1933 (WebCore::FrameLoaderClient::registerForIconNotification):
1934 * WebCoreSupport/FrameLoaderClientQt.h:
1936 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1938 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1940 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
1941 memory cache, or a very tiny one
1943 Keep the Qt build working with an empty stub.
1945 * WebCoreSupport/FrameLoaderClientQt.cpp:
1946 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1947 * WebCoreSupport/FrameLoaderClientQt.h:
1949 2007-09-07 George Staikos <staikos@kde.org>
1954 (QWebPage::onLoadProgressChanged):
1956 2007-09-07 Qing Zhao <qing@staikos.net>
1958 Reviewed by Anders and George.
1960 Export page size and load progress in bytes.
1963 (QWebPage::QWebPage):
1964 (QWebPage::onLoadProgressChanged):
1965 (QWebPage::totalBytes):
1966 (QWebPage::bytesReceived):
1970 2007-09-06 George Staikos <staikos@kde.org>
1974 Make popup windows work again.
1976 * WebCoreSupport/FrameLoaderClientQt.cpp:
1977 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1979 2007-09-01 Oliver Hunt <oliver@apple.com>
1983 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1985 EditorClient::setInputMethodState stub
1987 * WebCoreSupport/EditorClientQt.cpp:
1988 (WebCore::EditorClientQt::setInputMethodState):
1989 * WebCoreSupport/EditorClientQt.h:
1991 2007-08-30 Simon Hausmann <hausmann@kde.org>
1995 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
1998 (QWebPage::keyPressEvent):
2000 2007-08-30 Simon Hausmann <hausmann@kde.org>
2004 When scrolling with the keyboard don't call update() on the entire widget.
2005 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2009 (QWebPage::keyPressEvent):
2011 2007-08-30 Simon Hausmann <hausmann@kde.org>
2015 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2018 (QWebPage::keyPressEvent):
2020 2007-08-29 Simon Hausmann <hausmann@kde.org>
2026 * WebCoreSupport/FrameLoaderClientQt.cpp:
2027 (WebCore::FrameLoaderClientQt::objectContentType):
2029 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2031 Reviewed by George Staikos.
2033 Don't export ICO symbols.
2035 * Plugins/Plugins.pro:
2037 2007-08-19 George Staikos <staikos@kde.org>
2041 * WebCoreSupport/FrameLoaderClientQt.cpp:
2042 (WebCore::FrameLoaderClientQt::createPlugin):
2043 * WebCoreSupport/FrameLoaderClientQt.h:
2045 2007-08-10 Lars Knoll <lars@trolltech.com>
2047 Reviewed and landed by Simon.
2049 Limit the set of properties from the computed style to apply to Qt
2050 plugin widgets, as only a few of them make sense.
2052 * WebCoreSupport/FrameLoaderClientQt.cpp:
2055 2007-08-10 Lars Knoll <lars@trolltech.com>
2059 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2062 (QWebPage::createPlugin):
2064 * WebCoreSupport/FrameLoaderClientQt.cpp:
2065 (WebCore::FrameLoaderClientQt::objectContentType):
2066 (WebCore::FrameLoaderClientQt::createPlugin):
2068 2007-08-10 Simon Hausmann <hausmann@kde.org>
2072 Added support for network jobs from Qt resources using the qrc protocol.
2074 * Api/qwebnetworkinterface.cpp:
2075 (QWebNetworkInterface::addJob):
2077 2007-08-10 Simon Hausmann <hausmann@kde.org>
2081 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2082 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2084 * WebCoreSupport/FrameLoaderClientQt.cpp:
2085 (WebCore::FrameLoaderClientQt::objectContentType):
2087 (WebCore::FrameLoaderClientQt::createPlugin):
2089 2007-08-10 Simon Hausmann <hausmann@kde.org>
2093 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2094 and fixed widget embedding by setting the right QWidget parent.
2097 (QWebPage::createPlugin):
2099 * WebCoreSupport/FrameLoaderClientQt.cpp:
2100 (WebCore::FrameLoaderClientQt::objectContentType):
2101 (WebCore::FrameLoaderClientQt::createPlugin):
2103 2007-08-02 George Staikos <staikos@kde.org>
2107 Add an interface for the useragent string.
2110 (QWebPage::userAgentStringForUrl):
2112 * WebCoreSupport/FrameLoaderClientQt.cpp:
2113 (WebCore::FrameLoaderClientQt::userAgent):
2115 2007-08-01 Adam Treat <treat@kde.org>
2117 Reviewed by George Staikos.
2119 Add an interface to manage global history for clients
2122 * Api/qwebhistoryinterface.cpp: Added.
2123 (WebCore::historyContains):
2124 (gCleanupInterface):
2125 (QWebHistoryInterface::setDefaultInterface):
2126 (QWebHistoryInterface::defaultInterface):
2127 (QWebHistoryInterface::QWebHistoryInterface):
2128 * Api/qwebhistoryinterface.h: Added.
2130 2007-07-30 Adam Treat <treat@kde.org>
2134 * WebCoreSupport/EditorClientQt.cpp:
2135 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2136 * WebCoreSupport/EditorClientQt.h:
2138 2007-07-30 Simon Hausmann <hausmann@kde.org>
2142 Link QtLauncher into $$OUTPUT_DIR/bin
2144 * QtLauncher/QtLauncher.pro:
2146 2007-07-29 Adam Treat <treat@kde.org>
2148 Reviewed by George Staikos.
2150 Change QWebPage::paintEvent to draw using the individual rects provided
2151 via the QRegion and set the widget to use opaque paint events.
2153 These changes greatly reduce the cpu load as we are no longer painting the
2154 entire page for each 1px scroll :P
2156 * Api/qwebframe.cpp:
2157 (QWebFrame::render):
2159 (QWebPage::QWebPage):
2160 (QWebPage::paintEvent):
2161 * WebCoreSupport/ChromeClientQt.cpp:
2162 (WebCore::ChromeClientQt::addToDirtyRegion):
2164 2007-07-29 Adam Treat <treat@kde.org>
2166 Reviewed by Alexey Proskuryakov.
2168 Respect the margins when creating frames.
2169 Set the scroll mode to always off like we did before the rendered
2170 frames patch and the other ports do now.
2172 * Api/qwebframe.cpp:
2173 (QWebFramePrivate::init):
2175 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2179 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2181 * QtLauncher/QtLauncher.pro:
2183 2007-07-27 Simon Hausmann <hausmann@kde.org>
2187 Fix compilation with MSVC.
2189 * Api/qwebpagehistory.cpp:
2190 (QWebPageHistory::operator=):
2191 * Api/qwebpagehistory.h:
2192 * Api/qwebsettings.cpp:
2193 (QWebSettings::operator=):
2194 * Api/qwebsettings.h:
2196 2007-07-26 Qing Zhao <qing@staikos.net>
2198 Reviewed by George Staikos.
2200 Add a signal for history notification.
2203 * WebCoreSupport/FrameLoaderClientQt.cpp:
2205 2007-07-24 Adam Treat <treat@kde.org>
2207 Reviewed by Niko and Lars.
2209 These are no longer necessary or used.
2211 * WebCoreSupport/FrameLoaderClientQt.cpp:
2212 * WebCoreSupport/FrameLoaderClientQt.h:
2214 2007-07-20 Adam Treat <adam@staikos.net>
2216 Reviewed by George Staikos.
2218 Add a signal for first layout and add the action type for the policy
2222 (QWebPagePrivate::navigationRequested):
2223 (QWebPage::navigationRequested):
2226 * WebCoreSupport/FrameLoaderClientQt.cpp:
2227 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2228 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2230 2007-07-19 Adam Treat <treat@kde.org>
2234 Do a recursive layout on the frame's children. This fixes a
2235 segfault found when rendering some framesets.
2237 * Api/qwebframe.cpp:
2238 (QWebFrame::render):
2239 (QWebFrame::layout):
2242 2007-07-18 Timothy Hatcher <timothy@apple.com>
2246 Make the Page with the now required InspectorClient.
2249 (QWebPagePrivate::QWebPagePrivate):
2250 * WebKitPart/WebKitPart.cpp:
2251 (WebKitPart::initView):
2253 2007-07-18 Sam Weinig <sam@webkit.org>
2257 * Api/qwebnetworkinterface.cpp:
2258 (QWebNetworkManager::started):
2259 * WebCoreSupport/FrameLoaderClientQt.cpp:
2260 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2261 (WebCore::FrameLoaderClientQt::objectContentType):
2263 2007-07-18 Lars Knoll <lars@trolltech.com>
2265 Reviewed by Zack & Simon
2267 Reallow setting of scrollbar policies on QWebFrame.
2269 * Api/qwebframe.cpp:
2270 (QWebFrame::verticalScrollBarPolicy):
2271 (QWebFrame::setVerticalScrollBarPolicy):
2272 (QWebFrame::horizontalScrollBarPolicy):
2275 2007-07-17 Adam Treat <treat@kde.org>
2279 * WebCoreSupport/FrameLoaderClientQt.cpp:
2280 (WebCore::FrameLoaderClientQt::createFrame):
2282 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2284 Blind build fix for Qt after r24366 by adding the additional
2285 WebCore::ResourceRequest& parameter to the download method.
2287 * WebCoreSupport/FrameLoaderClientQt.cpp:
2288 (WebCore::FrameLoaderClientQt::download):
2289 * WebCoreSupport/FrameLoaderClientQt.h:
2291 2007-07-17 Adam Roben <aroben@apple.com>
2293 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2297 * WebCoreSupport/ContextMenuClientQt.cpp:
2298 * WebCoreSupport/ContextMenuClientQt.h:
2300 2007-07-16 Adam Roben <aroben@apple.com>
2302 Updated ChromeClientQt for ChromeClient changes.
2306 * WebCoreSupport/ChromeClientQt.cpp:
2307 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2308 * WebCoreSupport/ChromeClientQt.h: Ditto.
2310 2007-07-13 Mark Rowe <mrowe@apple.com>
2314 Build fix. Stub out ChromeClientQt::print.
2316 * WebCoreSupport/ChromeClientQt.cpp:
2317 (WebCore::ChromeClientQt::print):
2318 * WebCoreSupport/ChromeClientQt.h:
2320 2007-07-12 George Staikos <staikos@kde.org>
2322 Qt build fix for assertions.
2324 * Api/qwebnetworkinterface.cpp:
2325 (QWebNetworkManager::add):
2327 2007-07-12 George Staikos <staikos@kde.org>
2331 * Api/qwebnetworkinterface.cpp:
2332 (QWebNetworkManager::add):
2334 2007-07-10 Mark Rowe <mrowe@apple.com>
2336 Qt build fix after r24126.
2338 * Api/qwebframe.cpp:
2339 (QWebFrame::evaluateJavaScript):
2341 2007-07-10 Eli Fidler <eli@staikos.net>
2343 Reviewed by George Staikos.
2345 Properly url-decode data urls.
2347 * Api/qwebnetworkinterface.cpp:
2348 (QWebNetworkInterfacePrivate::parseDataUrl):
2350 2007-07-09 Adam Treat <adam@staikos.net>
2352 Reviewed by George Staikos.
2354 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2357 * Api/qwebframe.cpp:
2358 (QWebFramePrivate::init):
2359 (QWebFramePrivate::parentFrame):
2360 (QWebFrame::QWebFrame):
2361 (QWebFrame::render):
2363 (QWebFrame::geometry):
2364 (QWebFrame::evaluateJavaScript):
2365 (QWebFrame::mouseMoveEvent):
2366 (QWebFrame::mousePressEvent):
2367 (QWebFrame::mouseDoubleClickEvent):
2368 (QWebFrame::mouseReleaseEvent):
2369 (QWebFrame::wheelEvent):
2371 * Api/qwebobjectpluginconnector.cpp:
2372 (QWebObjectPluginConnector::pluginParentWidget):
2374 (QWebPagePrivate::QWebPagePrivate):
2375 (QWebPagePrivate::createMainFrame):
2376 (QWebPage::QWebPage):
2377 (QWebPage::javaScriptAlert):
2378 (QWebPage::javaScriptConfirm):
2379 (QWebPage::javaScriptPrompt):
2380 (QWebPage::resizeEvent):
2381 (QWebPage::paintEvent):
2382 (QWebPage::mouseMoveEvent):
2383 (QWebPage::mousePressEvent):
2384 (QWebPage::mouseDoubleClickEvent):
2385 (QWebPage::mouseReleaseEvent):
2386 (QWebPage::wheelEvent):
2387 (QWebPage::keyPressEvent):
2388 (QWebPage::keyReleaseEvent):
2389 (QWebPage::focusInEvent):
2390 (QWebPage::focusOutEvent):
2391 (QWebPage::focusNextPrevChild):
2392 (QWebPage::chooseFile):
2395 * WebCoreSupport/ChromeClientQt.cpp:
2396 (WebCore::ChromeClientQt::addToDirtyRegion):
2398 2007-07-09 George Staikos <staikos@kde.org>
2400 Fix a minor memory leak in the loader.
2402 * Api/qwebnetworkinterface.cpp:
2403 (gCleanupInterface):
2404 (QWebNetworkInterface::setDefaultInterface):
2405 (QWebNetworkInterface::defaultInterface):
2407 2007-07-09 George Staikos <staikos@kde.org>
2409 Fix a massive memory leak in the loader.
2411 * Api/qwebnetworkinterface.cpp:
2412 (QWebNetworkManager::httpConnectionClosed):
2413 (WebCoreHttp::~WebCoreHttp):
2415 2007-07-09 George Staikos <staikos@kde.org>
2419 Rework much of the HTTP stuff to make it more stable, and add SSL and
2420 proxy support. Major memory leak also discovered but it needs more
2421 research as the obvious fix causes crashes.
2423 * Api/qwebnetworkinterface.cpp:
2424 (QWebNetworkManager::add):
2425 (QWebNetworkManager::started):
2426 (QWebNetworkManager::data):
2427 (WebCoreHttp::WebCoreHttp):
2428 (WebCoreHttp::~WebCoreHttp):
2429 (WebCoreHttp::request):
2430 (WebCoreHttp::scheduleNextRequest):
2431 (WebCoreHttp::getConnection):
2432 (WebCoreHttp::onResponseHeaderReceived):
2433 (WebCoreHttp::onReadyRead):
2434 (WebCoreHttp::onRequestFinished):
2435 (WebCoreHttp::onDone):
2436 (WebCoreHttp::onStateChanged):
2437 (WebCoreHttp::onSslErrors):
2438 (WebCoreHttp::onAuthenticationRequired):
2439 (WebCoreHttp::onProxyAuthenticationRequired):
2440 * Api/qwebnetworkinterface.h:
2441 * Api/qwebnetworkinterface_p.h:
2442 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2444 2007-07-06 Adam Treat <adam@staikos.net>
2446 Reviewed by George Staikos.
2448 Convert QWebFrame to a QFrame from a scroll area.
2450 * Api/qwebframe.cpp:
2451 (QWebFramePrivate::init):
2452 (QWebFramePrivate::parentFrame):
2453 (QWebFramePrivate::horizontalScrollBar):
2454 (QWebFramePrivate::verticalScrollBar):
2455 (QWebFrame::QWebFrame):
2456 (QWebFrame::resizeEvent):
2457 (QWebFrame::suppressScrollbars):
2458 (QWebFrame::paintEvent):
2459 (QWebFrame::mouseMoveEvent):
2460 (QWebFrame::mousePressEvent):
2461 (QWebFrame::mouseDoubleClickEvent):
2462 (QWebFrame::mouseReleaseEvent):
2463 (QWebFrame::wheelEvent):
2464 (QWebFrame::keyPressEvent):
2465 (QWebFrame::focusInEvent):
2466 (QWebFrame::focusOutEvent):
2467 (QWebFrame::evaluateJavaScript):
2469 * Api/qwebframe_p.h:
2470 * Api/qwebobjectpluginconnector.cpp:
2471 (QWebObjectPluginConnector::pluginParentWidget):
2473 2007-07-04 Adam Roben <aroben@apple.com>
2475 Added a stub for ChromeClientQt::setToolTip
2479 * WebCoreSupport/ChromeClientQt.cpp:
2480 (WebCore::ChromeClientQt::setToolTip):
2481 * WebCoreSupport/ChromeClientQt.h:
2483 2007-07-04 Adam Roben <aroben@apple.com>
2485 Added a stub for ChromeClientQt::mouseDidMoveOverElement
2489 * WebCoreSupport/ChromeClientQt.cpp:
2490 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2491 * WebCoreSupport/ChromeClientQt.h:
2493 2007-06-28 Simon Hausmann <hausmann@kde.org>
2497 Propagate mouse double click events from Qt to WebCore.
2499 * Api/qwebframe.cpp:
2500 (QWebFrame::mouseDoubleClickEvent):
2503 2007-06-28 Simon Hausmann <hausmann@kde.org>
2507 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
2511 (QWebPage::canCopy):
2512 (QWebPage::canPaste):
2517 * WebCoreSupport/EditorClientQt.cpp:
2519 2007-06-27 George Staikos <staikos@kde.org>
2521 Compile with various Qt configurations.
2523 * Api/qwebnetworkinterface.cpp:
2524 (WebCoreHttp::scheduleNextRequest):
2526 (QWebPage::javaScriptPrompt):
2527 (QWebPage::dragEnterEvent):
2528 (QWebPage::dragLeaveEvent):
2529 (QWebPage::dragMoveEvent):
2530 (QWebPage::dropEvent):
2531 (QWebPage::chooseFile):
2534 * WebCoreSupport/DragClientQt.cpp:
2535 (WebCore::DragClientQt::startDrag):
2537 2007-06-27 Eli Fidler <eli@staikos.net>
2539 Reviewed by George Staikos.
2541 Check for QT_NO_IMAGE_TEXT and compile either way.
2543 * Plugins/ICOHandler.cpp:
2546 2007-06-27 Eli Fidler <eli@staikos.net>
2548 Reviewed by George Staikos.
2550 Remove QT3_SUPPORT dependency in the ICO plugin.
2552 * Plugins/ICOHandler.cpp:
2553 (IcoHeader::loadFromDIB):
2555 2007-06-25 George Staikos <staikos@kde.org>
2559 Start to add proxy and SSL support to WebKit Qt. Proxy works
2560 unauthenticated. Added hooks to be able to add authentication.
2561 Also fixes some network errors.
2563 * Api/qwebnetworkinterface.cpp:
2564 (QWebNetworkRequestPrivate::setURL):
2565 (QWebNetworkJob::frame):
2566 (WebCoreHttp::WebCoreHttp):
2567 (WebCoreHttp::scheduleNextRequest):
2568 (WebCoreHttp::onRequestFinished):
2569 (WebCoreHttp::onDone):
2570 (WebCoreHttp::onSslErrors):
2571 (WebCoreHttp::onAuthenticationRequired):
2572 (WebCoreHttp::onProxyAuthenticationRequired):
2573 * Api/qwebnetworkinterface.h:
2574 * Api/qwebnetworkinterface_p.h:
2576 (QWebPage::setNetworkProxy):
2577 (QWebPage::networkProxy):
2581 2007-06-21 Adam Treat <adam@staikos.net>
2583 Reviewed by George Staikos.
2585 Implement the default resources on Qt.
2589 * Api/qwebsettings.cpp:
2590 (QWebSettings::setWebGraphic):
2591 (QWebSettings::webGraphic):
2592 (loadResourcePixmap):
2593 * Api/qwebsettings.h:
2595 2007-06-15 Adam Treat <adam@staikos.net>
2597 Reviewed by George Staikos.
2599 Add ICO support to the Qt build.
2604 * Api/qwebsettings.cpp:
2605 (QWebSettings::setIconDatabaseEnabled):
2606 (QWebSettings::iconDatabaseEnabled):
2607 * Api/qwebsettings.h:
2609 * Plugins/ICOHandler.cpp: Added.
2610 (IcoHeader::operator >>):
2611 (IcoHeader::BMP_INFOHDR::):
2612 (IcoHeader::operator<<):
2613 (IcoHeader::LessDifference::LessDifference):
2614 (IcoHeader::LessDifference::operator ()):
2615 (IcoHeader::loadFromDIB):
2616 (ICOHandler::ICOHandler):
2617 (ICOHandler::canRead):
2619 (ICOHandler::write):
2622 (ICOPlugin::capabilities):
2623 (ICOPlugin::create):
2624 * Plugins/ICOHandler.h: Added.
2625 * Plugins/Plugins.pro: Added.
2626 * WebCoreSupport/FrameLoaderClientQt.cpp:
2627 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2629 2007-06-15 George Staikos <staikos@kde.org>
2631 Fixing the Qt build.
2633 * WebCoreSupport/ContextMenuClientQt.cpp:
2634 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
2635 * WebCoreSupport/ContextMenuClientQt.h:
2637 2007-06-20 Adam Roben <aroben@apple.com>
2639 More speculative Qt build fixes.
2641 Add a stub implementation of InspectorClientQt.
2643 * WebCoreSupport/InspectorClientQt.cpp: Added.
2644 (WebCore::InspectorClientQt::inspectorDestroyed):
2645 (WebCore::InspectorClientQt::createPage):
2646 (WebCore::InspectorClientQt::showWindow):
2647 (WebCore::InspectorClientQt::closeWindow):
2648 (WebCore::InspectorClientQt::attachWindow):
2649 (WebCore::InspectorClientQt::detachWindow):
2650 (WebCore::InspectorClientQt::highlight):
2651 (WebCore::InspectorClientQt::hideHighlight):
2652 * WebCoreSupport/InspectorClientQt.h: Added.
2654 2007-06-19 George Staikos <staikos@kde.org>
2656 Reviewed by Tim Hatcher.
2660 * Api/qwebnetworkinterface.cpp:
2661 (QWebNetworkInterface::addJob):
2662 (QWebNetworkInterface::cancelJob):
2663 (WebCoreHttp::WebCoreHttp):
2665 2007-06-14 George Staikos <staikos@kde.org>
2669 Add evaluateJavaScript() method.
2671 * Api/qwebframe.cpp:
2672 (QWebFrame::evaluateJavaScript):
2675 2007-06-14 George Staikos <staikos@kde.org>
2679 Implement most of the editing commands, better focus handling, fix some
2680 keyboard and mouse handling, and add keyboard navigation. May be
2681 refactored later as the key switches are ugly.
2683 * Api/qwebframe.cpp:
2684 (QWebFramePrivate::init):
2685 (QWebFrame::mousePressEvent):
2686 (QWebFrame::mouseReleaseEvent):
2687 (QWebFrame::wheelEvent):
2688 (QWebFrame::keyPressEvent):
2689 (QWebFrame::keyReleaseEvent):
2690 (QWebFrame::focusInEvent):
2691 (QWebFrame::focusOutEvent):
2692 (QWebFrame::focusNextPrevChild):
2694 * Api/qwebframe_p.h:
2695 * WebCoreSupport/EditorClientQt.cpp:
2696 (WebCore::EditorClientQt::handleKeypress):
2698 2007-06-14 George Staikos <staikos@kde.org>
2702 Implement all of the Javascript dialogs and file chooser.
2703 Also makes the statusbar virtual into a signal and shuffles some
2704 virtuals around a bit. The helper in FrameLoaderClientQt may go away
2708 (QWebPagePrivate::QWebPagePrivate):
2709 (QWebPage::javaScriptAlert):
2710 (QWebPage::javaScriptConfirm):
2711 (QWebPage::javaScriptPrompt):
2712 (QWebPage::chooseFile):
2714 * WebCoreSupport/ChromeClientQt.cpp:
2715 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2716 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2717 (WebCore::ChromeClientQt::runJavaScriptAlert):
2718 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2719 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2720 (WebCore::ChromeClientQt::setStatusbarText):
2721 * WebCoreSupport/FrameLoaderClientQt.cpp:
2722 (WebCore::FrameLoaderClientQt::chooseFile):
2723 * WebCoreSupport/FrameLoaderClientQt.h:
2725 2007-06-14 Simon Hausmann <hausmann@kde.org>
2729 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
2731 HistoryItem itself doesn't seem to have a parent pointer either.
2733 * Api/qwebpagehistory.h:
2735 2007-06-14 Simon Hausmann <hausmann@kde.org>
2739 Make it possible to copy QWebHistoryItem objects.
2741 * Api/qwebpagehistory.cpp:
2742 * Api/qwebpagehistory.h:
2744 2007-06-14 Lars Knoll <lars@trolltech.com>
2748 Fix a crash when a request from the plugin resulted
2751 * Api/qwebnetworkinterface.cpp:
2752 (QWebNetworkManager::started):
2754 2007-06-14 Lars Knoll <lars@trolltech.com>
2758 Work around a bug in Qt's QHttp implementation and
2759 get web pages to load again.
2764 2007-06-13 Simon Hausmann <hausmann@kde.org>
2768 Added a make install target that installs the Qt port and renamed
2769 WebKitQt to QtWebKit
2771 * Api/headers.pri: Added.
2772 * Api/qtwebkit.prf: Added.
2774 2007-06-13 Simon Hausmann <hausmann@kde.org>
2778 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
2780 * Api/qwebnetworkinterface.cpp:
2781 * Api/qwebnetworkinterface.h:
2783 2007-06-13 Simon Hausmann <hausmann@kde.org>
2787 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
2789 * Api/qwebnetworkinterface.h:
2790 * Api/qwebobjectpluginconnector.cpp:
2791 (QWebObjectPluginConnector::requestUrl):
2792 * Api/qwebobjectpluginconnector.h:
2794 2007-06-13 Simon Hausmann <hausmann@kde.org>
2798 Added a QWebNetworkRequest convenience constructor.
2800 * Api/qwebnetworkinterface.cpp:
2801 * Api/qwebnetworkinterface.h:
2805 2007-06-13 Simon Hausmann <hausmann@kde.org>
2809 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
2810 overload to take a QWebNetworkRequest instead.
2816 2007-06-13 Simon Hausmann <hausmann@kde.org>
2820 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
2821 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
2822 pick the individual fields if we can use them.
2827 2007-06-13 Simon Hausmann <hausmann@kde.org>
2831 Minor QWebNetworkRequet API fixlet
2833 * Api/qwebnetworkinterface.cpp:
2834 * Api/qwebnetworkinterface.h:
2836 2007-06-13 Simon Hausmann <hausmann@kde.org>
2840 Use QWebNetworkRequest for QWebPage::navigationRequested.
2842 * Api/qwebnetworkinterface.cpp:
2843 * Api/qwebnetworkinterface.h:
2845 (QWebPagePrivate::navigationRequested):
2846 (QWebPage::navigationRequested):
2849 * WebCoreSupport/FrameLoaderClientQt.cpp:
2850 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2852 2007-06-13 Simon Hausmann <hausmann@kde.org>
2856 Some docs for QWebNetworkRequest
2858 * Api/qwebnetworkinterface.cpp:
2859 (QWebNetworkRequest::QWebNetworkRequest):
2860 (QWebNetworkRequest::~QWebNetworkRequest):
2862 2007-06-13 Simon Hausmann <hausmann@kde.org>
2866 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
2868 * Api/qwebnetworkinterface.h:
2869 * Api/qwebobjectpluginconnector.cpp:
2870 (QWebObjectPluginConnector::requestUrl):
2871 * Api/qwebobjectpluginconnector.h:
2873 2007-06-13 Simon Hausmann <hausmann@kde.org>
2877 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
2879 * Api/qwebnetworkinterface.cpp:
2880 (QWebNetworkJob::postData):
2881 (WebCoreHttp::WebCoreHttp):
2882 (WebCoreHttp::scheduleNextRequest):
2883 * Api/qwebnetworkinterface.h:
2885 2007-06-13 Simon Hausmann <hausmann@kde.org>
2889 Introduce QWebNetworkRequest in the public API.
2891 * Api/qwebnetworkinterface.cpp:
2892 (QWebNetworkRequestPrivate::init):
2893 * Api/qwebnetworkinterface.h:
2894 * Api/qwebnetworkinterface_p.h:
2895 * WebCoreSupport/FrameLoaderClientQt.cpp:
2896 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2898 2007-06-13 Simon Hausmann <hausmann@kde.org>
2902 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
2904 * Api/qwebnetworkinterface.cpp:
2905 (QWebNetworkManager::add):
2906 (QWebNetworkManager::started):
2907 (QWebNetworkManager::data):
2908 (QWebNetworkManager::finished):
2909 * Api/qwebnetworkinterface_p.h:
2910 * Api/qwebobjectpluginconnector.cpp:
2911 (QWebObjectPluginConnector::requestUrl):
2913 2007-06-13 Simon Hausmann <hausmann@kde.org>
2917 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
2919 * Api/qwebnetworkinterface.cpp:
2920 (QWebNetworkRequest::init):
2921 (QWebNetworkRequest::setURL):
2922 (QWebNetworkManager::add):
2923 (QWebNetworkManager::started):
2924 * Api/qwebnetworkinterface_p.h:
2925 * WebCoreSupport/FrameLoaderClientQt.cpp:
2926 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2928 2007-06-12 Lars Knoll <lars@trolltech.com>
2930 Reviewed by George Staikos.
2932 Remove duplicate symbols.
2934 * Api/qwebobjectplugin_p.h:
2936 2007-06-13 Lars Knoll <lars@trolltech.com>
2940 Fix compilation, and remove dependency on Qt
2943 * Api/qwebobjectplugin_p.h:
2944 (QWebFactoryLoader::supportsMimeType):
2946 2007-06-13 Lars Knoll <lars@trolltech.com>
2950 Parts of the patch done by Zack.
2951 Fix up some parts in the implementation of QWebNetworkInterface
2952 so it can be used by plugins.
2953 Change the plugin API so we can actually get all the information
2954 required by the JS bridge from them as well.
2956 * Api/qwebnetworkinterface.cpp:
2957 (QWebNetworkJob::cancelled):
2958 (QWebNetworkManager::cancel):
2959 (QWebNetworkManager::started):
2960 (QWebNetworkManager::finished):
2961 * Api/qwebobjectplugin.cpp:
2962 (QWebFactoryLoader::QWebFactoryLoader):
2963 (QWebFactoryLoader::descriptionForName):
2964 (QWebFactoryLoader::mimetypesForName):
2965 (QWebFactoryLoader::mimeTypeForExtension):
2966 (QWebFactoryLoader::extensions):
2967 (QWebFactoryLoader::nameForMimetype):
2968 (QWebFactoryLoader::create):
2969 (QWebObjectPlugin::descriptionForKey):
2970 (QWebObjectPlugin::mimetypesForKey):
2971 * Api/qwebobjectplugin.h:
2972 * Api/qwebobjectplugin_p.h:
2973 (QWebFactoryLoader::names):
2974 * Api/qwebobjectpluginconnector.cpp:
2975 (QWebObjectPluginConnector::requestUrl):
2977 (QWebPage::networkInterface):
2979 2007-06-11 Simon Hausmann <hausmann@kde.org>
2983 Added a QWebPage::open overload to allow specifying the http header and post data.
2984 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
2985 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
2990 2007-06-11 Simon Hausmann <hausmann@kde.org>
2994 Added the possibility to intercept url requests through QWebPage::navigationRequested.
2997 (QWebPagePrivate::QWebPagePrivate):
2998 (QWebPage::createFrame):
3001 * WebCoreSupport/FrameLoaderClientQt.cpp:
3003 2007-06-11 Simon Hausmann <hausmann@kde.org>
3007 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3008 to be called from FrameLoaderClientQt in the near future.
3010 * Api/qwebnetworkinterface.cpp:
3011 (QWebNetworkManager::add):
3012 * Api/qwebnetworkinterface_p.h:
3014 2007-06-11 Simon Hausmann <hausmann@kde.org>
3018 Moved the postData setup into QWebNetworkRequest::init.
3020 * Api/qwebnetworkinterface.cpp:
3021 (QWebNetworkRequest::init):
3022 (QWebNetworkManager::add):
3024 2007-06-11 Simon Hausmann <hausmann@kde.org>
3028 Moved HTTP header field propagation to QWebNetworkRequest::init.
3030 * Api/qwebnetworkinterface.cpp:
3031 (QWebNetworkRequest::init):
3032 (QWebNetworkManager::add):
3034 2007-06-11 Simon Hausmann <hausmann@kde.org>
3038 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3039 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3041 * Api/qwebnetworkinterface.cpp:
3042 (QWebNetworkRequest::init):
3043 (QWebNetworkManager::add):
3044 * Api/qwebnetworkinterface_p.h:
3045 * Api/qwebobjectpluginconnector.cpp:
3046 (QWebObjectPluginConnector::requestUrl):
3048 2007-06-11 Zack Rusin <zrusin@trolltech.com>
3052 Forgot to export the plugin connector.
3054 * Api/qwebobjectpluginconnector.h
3056 2007-06-08 Lars Knoll <lars@trolltech.com>
3060 Add a QWebObjectPluginConnector class. The class will
3061 facility communication between the plugin and WebKit.
3062 Currently it's used to make the plugin network capable.
3064 * Api/qwebnetworkinterface.cpp:
3065 (QWebNetworkJobPrivate::setDefaults):
3066 (QWebNetworkManager::add):
3067 (QWebNetworkManager::started):
3068 (QWebNetworkManager::data):
3069 (QWebNetworkManager::finished):
3070 * Api/qwebnetworkinterface.h:
3071 * Api/qwebnetworkinterface_p.h:
3072 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3073 * Api/qwebobjectplugin.cpp:
3074 (QWebFactoryLoader::create):
3075 * Api/qwebobjectplugin.h:
3076 * Api/qwebobjectplugin_p.h:
3077 * Api/qwebobjectpluginconnector.cpp: Added.
3078 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3079 (QWebObjectPluginConnector::frame):
3080 (QWebObjectPluginConnector::pluginParentWidget):
3081 (QWebObjectPluginConnector::requestUrl):
3082 * Api/qwebobjectpluginconnector.h: Added.
3083 (QWebObjectPluginConnector::):
3084 * WebCoreSupport/FrameLoaderClientQt.cpp:
3085 (WebCore::FrameLoaderClientQt::createPlugin):
3087 2007-06-06 Lars Knoll <lars@trolltech.com>
3091 Add an API to create and load plugins.
3092 Don't include moc files by hand anymore, rather let
3095 * Api/qcookiejar.cpp:
3096 (QCookieJar::cookieJar):
3097 * Api/qwebframe.cpp:
3098 (QWebFrame::scrollContentsBy):
3099 * Api/qwebnetworkinterface.cpp:
3100 * Api/qwebobjectplugin.cpp: Added.
3101 (QWebFactoryLoader::QWebFactoryLoader):
3102 (QWebFactoryLoader::self):
3103 (QWebFactoryLoader::mimeTypeForExtension):
3104 (QWebFactoryLoader::create):
3105 (QWebObjectPlugin::QWebObjectPlugin):
3106 (QWebObjectPlugin::~QWebObjectPlugin):
3107 (QWebObjectPlugin::extensionsForMimetype):
3108 * Api/qwebobjectplugin.h: Added.
3109 * Api/qwebobjectplugin_p.h: Added.
3110 (QWebFactoryLoader::mimeTypes):
3111 (QWebFactoryLoader::extensions):
3112 (QWebFactoryLoader::supportsMimeType):
3114 (QWebPage::settings):
3115 * WebCoreSupport/FrameLoaderClientQt.cpp:
3116 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3117 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3118 (WebCore::FrameLoaderClientQt::objectContentType):
3119 (WebCore::FrameLoaderClientQt::createPlugin):
3121 2007-05-28 Zack Rusin <zrusin@trolltech.com>
3123 Reviewed by andersca and simon
3125 Adding public settings Api to the Qt port.
3126 QWebSetting's is a value based settings
3127 object settable on the QWebPage.
3130 (QWebPagePrivate::QWebPagePrivate):
3131 (QWebPage::QWebPage):
3132 (QWebPage::setSettings):
3133 (QWebPage::settings):
3135 * Api/qwebsettings.cpp: Added.
3136 (QWebSettingsPrivate::QWebSettingsPrivate):
3137 (QWebSettings::QWebSettings):
3138 (QWebSettings::~QWebSettings):
3139 (QWebSettings::setMinimumFontSize):
3140 (QWebSettings::minimumFontSize):
3141 (QWebSettings::setMinimumLogicalFontSize):
3142 (QWebSettings::minimumLogicalFontSize):
3143 (QWebSettings::setDefaultFontSize):
3144 (QWebSettings::defaultFontSize):
3145 (QWebSettings::setDefaultFixedFontSize):
3146 (QWebSettings::defaultFixedFontSize):
3147 (QWebSettings::setUserStyleSheetLocation):
3148 (QWebSettings::userStyleSheetLocation):
3149 (QWebSettings::setGlobal):
3150 (QWebSettings::global):
3151 (QWebSettings::setFontFamily):
3152 (QWebSettings::fontFamily):
3153 (QWebSettings::setAttribute):
3154 (QWebSettings::testAttribute):
3155 * Api/qwebsettings.h: Added.
3156 * QtLauncher/main.cpp:
3158 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
3160 Reviewed by Sam Weinig.
3162 Consolidate all notImplemented() macro definitions into
3163 one header file for all platforms.
3165 * WebCoreSupport/ChromeClientQt.cpp:
3166 * WebCoreSupport/ContextMenuClientQt.cpp:
3167 * WebCoreSupport/EditorClientQt.cpp:
3168 * WebCoreSupport/FrameLoaderClientQt.cpp:
3170 2007-05-25 George Staikos <staikos@kde.org>
3174 The http loader should only ask for .... http cookies!
3176 * Api/qwebnetworkinterface.cpp:
3177 (QWebNetworkManager::add):
3179 2007-05-24 Simon Hausmann <hausmann@kde.org>
3183 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
3184 correctly. Fortunately WebCore does it already, so there's no need
3185 for us to do it since we already transfer all HTTP header fields :)
3187 * Api/qwebnetworkinterface.cpp:
3188 (QWebNetworkManager::add):
3190 2007-05-23 Simon Hausmann <hausmann@kde.org>
3192 Reviewed by Zack, idea from Lars.
3194 Share WebCoreHttp and therefore HTTP connections among multiple
3195 QWebNetworkInterface instances by moving the code into
3198 * Api/qwebnetworkinterface.cpp:
3199 (QWebNetworkManager::addHttpJob):
3200 (QWebNetworkManager::cancelHttpJob):
3201 (QWebNetworkManager::httpConnectionClosed):
3202 (QWebNetworkInterface::addJob):
3203 (QWebNetworkInterface::cancelJob):
3204 (WebCoreHttp::scheduleNextRequest):
3205 (WebCoreHttp::onResponseHeaderReceived):
3206 (WebCoreHttp::onReadyRead):
3207 (WebCoreHttp::onRequestFinished):
3208 (WebCoreHttp::cancel):
3209 * Api/qwebnetworkinterface.h:
3210 * Api/qwebnetworkinterface_p.h:
3212 2007-05-23 Simon Hausmann <hausmann@kde.org>
3214 Reviewed by Zack, discussed also with Lars.
3216 Make it possible to specify a per-QWebPage network interface (needed
3217 for the KDE KIO integration).
3219 Merged the file and the network loader into
3220 QWebNetworkInterface(Private), which simplifies the loading code.
3222 When receiving a redirection don't emit the data of the redirected job
3223 to the document. (otherwise the kind of "This page has moved" text
3224 appears right on top of the real page content)
3226 * Api/qwebnetworkinterface.cpp:
3229 (QWebNetworkJob::QWebNetworkJob):
3230 (QWebNetworkJob::networkInterface):
3231 (QWebNetworkManager::add):
3232 (QWebNetworkManager::cancel):
3233 (QWebNetworkManager::data):
3234 (QWebNetworkManager::finished):
3235 (QWebNetworkInterfacePrivate::sendFileData):
3236 (QWebNetworkInterfacePrivate::parseDataUrl):
3237 (QWebNetworkInterfacePrivate::addHttpJob):
3238 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3239 (QWebNetworkInterface::setDefaultInterface):
3240 (QWebNetworkInterface::QWebNetworkInterface):
3241 (QWebNetworkInterface::addJob):
3242 (QWebNetworkInterface::cancelJob):
3243 (WebCoreHttp::scheduleNextRequest):
3244 (WebCoreHttp::onResponseHeaderReceived):
3245 (WebCoreHttp::onReadyRead):
3246 (WebCoreHttp::onRequestFinished):
3247 (WebCoreHttp::cancel):
3248 * Api/qwebnetworkinterface.h:
3249 * Api/qwebnetworkinterface_p.h:
3251 (QWebPagePrivate::QWebPagePrivate):
3252 (QWebPage::setNetworkInterface):
3256 2007-05-23 Lars Knoll <lars@trolltech.com>
3260 Don't do HTTP downloads in a second thread. Simplifies
3261 the code significantly and fixes crashes on some
3264 * Api/qwebnetworkinterface.cpp:
3265 (QWebNetworkManager::add):
3266 (QWebNetworkInterface::QWebNetworkInterface):
3267 (QWebNetworkInterface::addJob):
3268 (QWebNetworkInterface::cancelJob):
3269 (LoaderThread::LoaderThread):
3270 (LoaderThread::run):
3271 (WebCoreHttp::cancel):
3272 (NetworkLoader::NetworkLoader):
3273 (NetworkLoader::request):
3274 (NetworkLoader::cancel):
3275 * Api/qwebnetworkinterface_p.h:
3276 * WebCoreSupport/FrameLoaderClientQt.cpp:
3277 (WebCore::FrameLoaderClientQt::committedLoad):
3278 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3280 2007-05-23 Lars Knoll <lars@trolltech.com>
3284 * Api/qwebnetworkinterface.cpp:
3285 (QWebNetworkJobPrivate::setURL):
3286 (QWebNetworkManager::started):
3287 Fix Host: line in HTTP headers and resolving of relative URLs
3289 * Api/qwebnetworkinterface_p.h:
3290 Clean up qHash forward declaration a bit.
3292 2007-05-23 Simon Hausmann <hausmann@kde.org>
3296 * QtLauncher/main.cpp:
3297 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3299 2007-05-22 Simon Hausmann <hausmann@kde.org>
3303 * Api/qwebnetworkinterface.cpp:
3304 (QWebNetworkManager::add): Fix http headers for POST.
3306 2007-05-21 Lars Knoll <lars@trolltech.com>
3310 Remove the userHandle methods from QWebnetworkJob again.
3311 They don't really give us anything and just clutter the API.
3313 * Api/qwebnetworkinterface.cpp:
3314 * Api/qwebnetworkinterface.h:
3315 * Api/qwebnetworkinterface_p.h:
3317 2007-05-21 Simon Hausmann <hausmann@kde.org>
3321 * Api/qwebnetworkinterface.h: Export the net API.
3323 2007-05-21 Lars Knoll <lars@trolltech.com>
3327 Add an API layer for network downloads. Basically QWebnetworkInterface
3328 is an interface class for downloading resources. QWebnetworkJob describes
3329 the actual object to download.
3331 QWebNetworkInterface has a default implementation that replaces the
3332 old ResourceHandleManager class in the Qt port.
3334 * Api/qwebnetworkinterface.cpp: Added.
3335 (QWebNetworkJobPrivate::setURL):
3336 (QWebNetworkJob::QWebNetworkJob):
3337 (QWebNetworkJob::~QWebNetworkJob):
3338 (QWebNetworkJob::url):
3339 (QWebNetworkJob::postData):
3340 (QWebNetworkJob::request):
3341 (QWebNetworkJob::response):
3342 (QWebNetworkJob::setResponse):
3343 (QWebNetworkJob::cancelled):
3344 (QWebNetworkJob::ref):
3345 (QWebNetworkJob::deref):
3346 (QWebNetworkJob::setUserHandle):
3347 (QWebNetworkJob::userHandle):
3348 (QWebNetworkManager::QWebNetworkManager):
3349 (QWebNetworkManager::self):
3350 (QWebNetworkManager::add):
3351 (QWebNetworkManager::cancel):
3352 (QWebNetworkManager::started):
3353 (QWebNetworkManager::data):
3354 (QWebNetworkManager::finished):
3355 (QWebNetworkInterface::setDefaultInterface):
3356 (QWebNetworkInterface::defaultInterface):
3357 (QWebNetworkInterface::QWebNetworkInterface):
3358 (QWebNetworkInterface::~QWebNetworkInterface):
3359 (QWebNetworkInterface::addJob):
3360 (QWebNetworkInterface::cancelJob):
3361 (LoaderThread::LoaderThread):
3362 (LoaderThread::run):
3363 (FileLoader::FileLoader):
3364 (FileLoader::request):
3365 (FileLoader::sendData):
3366 (FileLoader::parseDataUrl):
3367 (WebCoreHttp::WebCoreHttp):
3368 (WebCoreHttp::~WebCoreHttp):
3369 (WebCoreHttp::request):
3370 (WebCoreHttp::scheduleNextRequest):
3371 (WebCoreHttp::getConnection):
3372 (WebCoreHttp::onResponseHeaderReceived):
3373 (WebCoreHttp::onReadyRead):
3374 (WebCoreHttp::onRequestFinished):
3375 (WebCoreHttp::onStateChanged):
3376 (WebCoreHttp::cancel):
3377 (HostInfo::HostInfo):
3380 (NetworkLoader::NetworkLoader):
3381 (NetworkLoader::~NetworkLoader):
3382 (NetworkLoader::request):
3383 (NetworkLoader::connectionClosed):
3384 (NetworkLoader::cancel):
3385 * Api/qwebnetworkinterface.h: Added.
3386 (QWebNetworkJob::setHandle):
3387 (QWebNetworkJob::handle):
3388 * Api/qwebnetworkinterface_p.h: Added.
3389 (WebCore::LoaderThread::):
3390 (WebCore::LoaderThread::waitForSetup):
3391 (WebCore::HostInfo::HostInfo):
3393 2007-05-18 Simon Hausmann <hausmann@kde.org>
3395 Reviewed by Nikolas.
3397 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3398 percent integer instead of a double precision floating pointer number.
3399 * WebCoreSupport/FrameLoaderClientQt.cpp:
3400 (WebCore::FrameLoaderClientQt::setFrame):
3401 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3402 * WebCoreSupport/FrameLoaderClientQt.h:
3404 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3406 Reviewed by Zack Rusin.
3408 The default constructed KeyboardEvent has
3409 no PlatformKeyboardEvent.
3411 * WebCoreSupport/EditorClientQt.cpp:
3412 (WebCore::EditorClientQt::handleKeypress):
3414 2007-05-17 Adam Treat <adam@staikos.net>
3416 Reviewed by George Staikos.
3418 - Implement frameLoadCompleted
3419 - Fix build (by George)
3421 * WebCoreSupport/FrameLoaderClientQt.cpp:
3422 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3423 (WebCore::FrameLoaderClientQt::createFrame):
3425 2007-05-17 Adam Treat <adam@staikos.net>
3427 Reviewed by George Staikos.
3429 Implement canShowMIMEType
3431 * WebCoreSupport/FrameLoaderClientQt.cpp:
3432 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3434 2007-05-16 Lars Knoll <lars@trolltech.com>
3438 pass the mouse events to the event handler, not the frameview.
3440 * Api/qwebframe.cpp:
3441 (QWebFrame::mouseMoveEvent):
3442 (QWebFrame::mouseReleaseEvent):
3444 2007-05-14 Lars Knoll <lars@trolltech.com>
3448 Updates after Maciej's frame change.
3452 Call stopForUserCancel() instead of stopAllLoaders()
3453 * WebCoreSupport/FrameLoaderClientQt.cpp:
3454 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3455 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3456 (WebCore::FrameLoaderClientQt::didFinishLoad):
3457 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3458 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3459 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3460 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3461 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3462 Call QWebFrame::loadDone() from the places it's supposed to be
3465 2007-05-12 Maciej Stachowiak <mjs@apple.com>
3467 Reviewed by Rob Buis.
3469 - call Frame::init as needed - this prevents crashes but pages don't appear.
3471 * Api/qwebframe.cpp:
3472 (QWebFramePrivate::init):
3473 * WebKitPart/WebKitPart.cpp:
3474 (WebKitPart::initView):
3476 2007-05-08 Steve Falkenburg <sfalken@apple.com>
3480 Slight modification to last editor method fix.
3482 * WebCoreSupport/EditorClientQt.cpp:
3483 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3484 * WebCoreSupport/EditorClientQt.h:
3486 2007-05-03 Steve Falkenburg <sfalken@apple.com>
3490 Add missing user description parameter to spelling-related editor client method.
3492 * WebCoreSupport/EditorClientQt.cpp:
3493 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3494 * WebCoreSupport/EditorClientQt.h:
3496 2007-04-29 Oliver Hunt <oliver@apple.com>
3500 Tie QT drag events to the DragController logic
3501 to allow drag and drop events to be handled by
3504 * Api/qwebframe.cpp:
3507 (QWebPagePrivate::QWebPagePrivate):
3508 (QWebPage::QWebPage):
3509 (dropActionToDragOp):
3510 (dragOpToDropAction):
3511 (QWebPage::dragEnterEvent):
3512 (QWebPage::dragLeaveEvent):
3513 (QWebPage::dragMoveEvent):
3514 (QWebPage::dropEvent):
3516 * WebCoreSupport/DragClientQt.cpp:
3517 (WebCore::DragClientQt::startDrag):
3518 * WebCoreSupport/DragClientQt.h:
3519 (WebCore::DragClientQt::DragClientQt):
3521 2007-04-27 Holger Freyther <freyther@kde.org>
3525 Remove unmaintained CMake build system.
3527 * QtLauncher/CMakeLists.txt: Removed.
3528 * WebKitPart/CMakeLists.txt: Removed.
3530 2007-04-25 Steve Falkenburg <sfalken@apple.com>
3534 Fix spelling error in spelling method name.
3536 * WebCoreSupport/EditorClientQt.cpp:
3537 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3538 * WebCoreSupport/EditorClientQt.h:
3540 2007-04-24 Steve Falkenburg <sfalken@apple.com>
3544 Spelling and grammar stubs
3546 * WebCoreSupport/EditorClientQt.cpp:
3547 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3548 (WebCore::EditorClientQt::learnWord):
3549 (WebCore::EditorClientQt::checkSpellingOfString):
3550 (WebCore::EditorClientQt::checkGrammarOfString):
3551 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
3552 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3553 (WebCore::EditorClientQt::showSpellingUI):
3554 (WebCore::EditorClientQt::spellingUIIsShowing):
3555 (WebCore::EditorClientQt::getGuessesForWord):
3556 * WebCoreSupport/EditorClientQt.h:
3558 2007-04-11 MorganL <morganl.webkit@yahoo.com>
3562 Add a Frame pointer to ChromeClient methods:
3563 http://bugs.webkit.org/show_bug.cgi?id=13127
3565 * WebCoreSupport/ChromeClientQt.cpp:
3566 (WebCore::ChromeClientQt::createWindow):
3567 (WebCore::ChromeClientQt::createModalDialog):
3568 * WebCoreSupport/ChromeClientQt.h:
3570 2007-04-12 Mark Rowe <mrowe@apple.com>
3572 Second part of Qt build fix.
3574 * WebCoreSupport/FrameLoaderClientQt.cpp:
3575 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3576 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3577 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3578 * WebCoreSupport/FrameLoaderClientQt.h:
3580 2007-03-27 Zack Rusin <zrusin@trolltech.com>
3582 Fix the rendering crashes due triggered
3583 asserts. Improve a bit the layout
3586 * Api/qwebframe.cpp:
3587 (QWebFrame::resizeEvent):
3588 (QWebFrame::paintEvent):
3589 * WebCoreSupport/FrameLoaderClientQt.cpp:
3590 (WebCore::FrameLoaderClientQt::forceLayout):
3592 2007-03-16 Lars Knoll <lars@trolltech.com>
3594 Fix the Qt build once again.
3596 * WebCoreSupport/EditorClientQt.cpp:
3597 (WebCore::EditorClientQt::handleKeypress):
3598 * WebCoreSupport/FrameLoaderClientQt.cpp:
3599 (WebCore::FrameLoaderClientQt::blockedError):
3600 * WebCoreSupport/FrameLoaderClientQt.h:
3602 2007-03-13 Lars Knoll <lars@trolltech.com>
3606 Don't try to load <object> tags with an invalid url.
3607 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
3608 which hit an assertion in the frameloader.
3610 * WebCoreSupport/FrameLoaderClientQt.cpp:
3611 (WebCore::FrameLoaderClientQt::objectContentType):
3613 2007-03-13 Lars Knoll <lars@trolltech.com>
3617 Fix some crashes in the Qt build.
3619 * Api/qwebframe.cpp:
3620 (QWebFrame::markup):
3621 Check for null pointer
3622 * WebCoreSupport/FrameLoaderClientQt.cpp:
3623 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3624 Don't use an async callback into the FrameLoader.
3625 (WebCore::FrameLoaderClientQt::createFrame):
3627 2007-03-11 Oliver Hunt <oliver@apple.com>
3631 Stub for EditorClientQt::respondToChangedSelection
3633 * WebCoreSupport/EditorClientQt.cpp:
3634 (WebCore::EditorClientQt::respondToChangedSelection):
3635 * WebCoreSupport/EditorClientQt.h:
3637 2007-03-07 Adele Peterson <adele@apple.com>
3641 WebKitQT part of fix for:
3642 http://bugs.webkit.org/show_bug.cgi?id=10871
3643 http://bugs.webkit.org/show_bug.cgi?id=12677
3644 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
3645 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
3647 * WebCoreSupport/EditorClientQt.cpp:
3648 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
3649 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
3650 * WebCoreSupport/EditorClientQt.h:
3652 2007-03-07 Darin Adler <darin@apple.com>
3654 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
3656 2007-03-07 Darin Adler <darin@apple.com>
3658 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
3659 Try to fix the build by correcting the parameter here.
3661 2007-03-02 Sam Weinig <sam@webkit.org>
3665 Try to fix the Qt build
3667 * WebCoreSupport/DragClientQt.cpp:
3668 (WebCore::DragClientQt::willPerformDragDestinationAction):
3669 (WebCore::DragClientQt::dragControllerDestroyed):
3670 (WebCore::DragClientQt::createDragImageForLink):
3672 2007-02-26 Maciej Stachowiak <mjs@apple.com>
3674 Reviewed by Kevin McCullough.
3676 - fix Qt build for earlier SVG changes.
3678 * WebCoreSupport/EditCommandQt.cpp:
3680 2007-02-24 Zack Rusin <zrusin@trolltech.com>
3682 Adjust the animation a little bit to make it more natural.
3684 * QtLauncher/main.cpp:
3685 (HoverLabel::paintEvent):
3687 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3689 Adding a little bit of eye-candy to the last
3690 commit (animations on hover events)
3692 * QtLauncher/main.cpp:
3693 (HoverLabel::HoverLabel):
3694 (HoverLabel::setHoverLink):
3695 (HoverLabel::sizeForFont):
3696 (HoverLabel::sizeHint):
3697 (HoverLabel::resetAnimation):
3698 (HoverLabel::paintEvent):
3699 (HoverLabel::interpolate):
3700 (SearchEdit::resizeEvent):
3702 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3706 Adding API and code for notification of when the
3707 mouse is hovering over a link and adding code to
3708 the sample app to showcase it.
3710 * Api/qwebframe.cpp: