1 2007-11-20 Adam Treat <treat@kde.org>
3 Reviewed by Simon and George.
5 * Be quiet and allow suppression of NotImplemented calls at runtime.
7 * WebCoreSupport/FrameLoaderClientQt.cpp:
8 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
10 2007-11-19 Adam Treat <treat@kde.org>
14 * Don't segfault when event pos is outside of the widget.
17 (QWebPage::mouseMoveEvent):
18 (QWebPage::mousePressEvent):
19 (QWebPage::mouseDoubleClickEvent):
20 (QWebPage::mouseReleaseEvent):
21 (QWebPage::contextMenuEvent):
23 2007-11-17 Timothy Hatcher <timothy@apple.com>
25 Reviewed by Mark Rowe.
27 Bug 13470: i18n: The Web Inspector is not localizable
28 http://bugs.webkit.org/show_bug.cgi?id=13470
30 * WebCoreSupport/InspectorClientQt.cpp:
31 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
32 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
34 2007-11-13 Geoffrey Garen <ggaren@apple.com>
36 Build fix: changed Shared to RefCounted.
38 * WebCoreSupport/ChromeClientQt.h:
39 * WebCoreSupport/ContextMenuClientQt.cpp:
40 * WebCoreSupport/ContextMenuClientQt.h:
41 * WebCoreSupport/EditorClientQt.h:
42 * WebCoreSupport/FrameLoaderClientQt.h:
44 2007-11-10 Simon Hausmann <hausmann@kde.org>
48 When populating the context menu with sub-menus don't add sub-menus if they're empty.
52 (QWebPagePrivate::createContextMenu):
54 2007-11-10 Simon Hausmann <hausmann@kde.org>
58 Added support for the Bold/Italic/Underline toggle actions.
62 (webActionForContextMenuAction):
63 (QWebPage::triggerAction):
67 2007-11-10 Simon Hausmann <hausmann@kde.org>
71 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
72 to update the enable/checked state correctly.
76 (QWebPagePrivate::createContextMenu):
77 (QWebPage::contextMenuEvent):
80 2007-11-10 Simon Hausmann <hausmann@kde.org>
84 Mark the text direction actions as checkable actions.
90 2007-11-09 Simon Hausmann <hausmann@kde.org>
94 Implemented the webcore actions for changing the text direction.
98 (webActionForContextMenuAction):
99 (QWebPage::triggerAction):
103 2007-11-09 Simon Hausmann <hausmann@kde.org>
107 Fix ContextMenu allocation in the Qt port.
109 Store all items and submenus value based in ContextMenu and ContextMenuItem.
110 That fixes the crashes when the context menu was populated with sub-menus because
111 of the use of temporary ContextMenu objects like this:
113 ContextMenu subMenu(...);
114 subMenu.appendItem(...);
115 subMenu.appendItem(...);
117 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
121 (QWebPage::contextMenuEvent):
124 2007-11-09 Simon Hausmann <hausmann@kde.org>
128 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
134 2007-11-08 Kevin McCullough <kmccullough@apple.com>
138 - windowObjectCleared() is no longer const. It needs to setup the
139 script debugger and cannot be const to do so.
141 * WebCoreSupport/FrameLoaderClientQt.cpp:
142 (WebCore::FrameLoaderClientQt::windowObjectCleared):
143 * WebCoreSupport/FrameLoaderClientQt.h:
145 2007-11-08 Simon Hausmann <hausmann@kde.org>
147 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
149 The buildbots use Qt 4.4 which has the function in question, but Qt
150 4.3 doesn't have it. Use removeAll() as replacement instead, it
151 shouldn't make a difference in performance.
153 * Api/qwebsettings.cpp:
154 (QWebSettings::~QWebSettings):
156 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
158 Reviewed by Lars Knoll <lars@trolltech.com>.
160 Cleanup checking for the request method.
162 * Check the request method only in QWebNetworkManager::add.
163 * Currently HEAD, GET, POST are allowed and for everything else
164 QWebNetworkManager::add returns false.
165 * Returning false is compatible with ResourceHandle::start and it
166 can be used in ResourceHandle::loadResourceSynchronously to generate
170 * Api/qwebnetworkinterface.cpp:
171 (QWebNetworkManager::add):
173 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
175 Reviewed by Lars Knoll <lars@trolltech.com>.
177 Fix bug in the implementation of synchronous network jobs.
179 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
180 - if (jobMode == AsynchronousJob) {
181 + if (jobMode == SynchronousJob) {
182 add job to synchronous list/hash
184 * Just applying the above change will lead to crashes because we can finish
185 jobs before we started them.
187 * Avoid these issues by saving all work (starting a job, sending data and
188 finishing it) inside one list. JobWork will contain any
189 of the above three work types and doWork will just work on this list
190 (m_pendingWork). As foreach takes a copy of the list calling started, data
191 and finished will not add new work and we gurantee that if we have JobStarted
192 it will be in the list before JobData and JobFinished.
194 * Observation: We might just kill the code to handle sync jobs.
197 * Api/qwebnetworkinterface.cpp:
198 (QWebNetworkManager::add):
199 (QWebNetworkManager::queueStart):
200 (QWebNetworkManager::queueData):
201 (QWebNetworkManager::queueFinished):
202 (QWebNetworkManager::doWork):
203 * Api/qwebnetworkinterface_p.h:
204 (QWebNetworkManager::JobWork::):
205 (QWebNetworkManager::JobWork::JobWork):
207 2007-11-07 Simon Hausmann <hausmann@kde.org>
209 Build fix, reviewed by nobody.
211 Fix the Qt build by setting up WindowFeatures before calling
212 createWindow on the Chrome. This is similar to openNewWindow in
213 page/ContextMenuController.cpp
218 2007-11-07 Simon Hausmann <hausmann@kde.org>
222 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
225 (QWebPagePrivate::QWebPagePrivate):
226 * Api/qwebsettings.cpp:
227 (QWebSettingsPrivate::apply):
228 * Api/qwebsettings.h:
230 2007-11-07 Simon Hausmann <hausmann@kde.org>
234 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
236 * Api/qwebpagehistory.cpp:
237 * Api/qwebpagehistory.h:
239 2007-11-07 Simon Hausmann <hausmann@kde.org>
243 Removed unimplemented QWebHistoryItem::children() function
245 * Api/qwebpagehistory.h:
247 2007-11-07 Simon Hausmann <hausmann@kde.org>
251 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
253 * Api/qwebsettings.cpp:
254 (QWebSettings::fontSize):
255 (QWebSettings::fontFamily):
256 (QWebSettings::testAttribute):
258 2007-11-07 Simon Hausmann <hausmann@kde.org>
262 Added explicit functions for resetting the font sizes and font families.
264 * Api/qwebsettings.cpp:
265 (QWebSettings::resetFontSize):
266 (QWebSettings::resetFontFamily):
267 * Api/qwebsettings.h:
269 2007-11-07 Simon Hausmann <hausmann@kde.org>
273 Combined the font sizes accessors/setters under one setter/getter with an enum.
275 * Api/qwebsettings.cpp:
276 (QWebSettingsPrivate::QWebSettingsPrivate):
277 (QWebSettingsPrivate::apply):
278 (QWebSettings::QWebSettings):
279 (QWebSettings::setFontSize):
280 * Api/qwebsettings.h:
282 2007-11-07 Simon Hausmann <hausmann@kde.org>
286 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
290 * WebCoreSupport/FrameLoaderClientQt.cpp:
291 (WebCore::FrameLoaderClientQt::userAgent):
293 2007-11-07 Simon Hausmann <hausmann@kde.org>
297 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
300 (QWebPagePrivate::_q_webActionTriggered):
301 (QWebPage::keyPressEvent):
304 2007-11-07 Simon Hausmann <hausmann@kde.org>
308 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
312 * WebCoreSupport/ChromeClientQt.cpp:
313 (WebCore::ChromeClientQt::setWindowRect):
315 2007-11-07 Simon Hausmann <hausmann@kde.org>
319 Renamed QWebPage::webAction() to QWebPage::action()
322 (QWebPagePrivate::createContextMenu):
324 * QtLauncher/main.cpp:
325 (MainWindow::MainWindow):
327 2007-11-07 Simon Hausmann <hausmann@kde.org>
331 Removed a bunch of slots/functions that are now available through the new actions API.
336 2007-11-07 Simon Hausmann <hausmann@kde.org>
340 Added some more comments to the API after another round of API review with Lars.
344 2007-11-07 Simon Hausmann <hausmann@kde.org>
348 Moved QWebFrame::selectedText() to QWebPage::selectedText().
350 The currently selected text is a property of the page as a whole.
355 (QWebPage::selectedText):
358 2007-11-07 Simon Hausmann <hausmann@kde.org>
362 Implemented support for settings propagation.
364 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
366 * Api/qwebsettings.cpp:
367 (QWebSettingsPrivate::QWebSettingsPrivate):
368 (QWebSettingsPrivate::apply):
369 (QWebSettings::QWebSettings):
370 (QWebSettings::~QWebSettings):
371 (QWebSettings::setFontFamily):
372 * Api/qwebsettings.h:
374 2007-11-07 Simon Hausmann <hausmann@kde.org>
378 Reworked the QWebSettings API.
379 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
382 (QWebPagePrivate::QWebPagePrivate):
383 (QWebPagePrivate::~QWebPagePrivate):
384 (QWebPage::QWebPage):
387 * Api/qwebsettings.cpp:
388 (QWebSettingsPrivate::QWebSettingsPrivate):
389 (QWebSettingsPrivate::apply):
390 (QWebSettings::defaultSettings):
391 (QWebSettings::QWebSettings):
392 (QWebSettings::setMinimumFontSize):
393 (QWebSettings::setMinimumLogicalFontSize):
394 (QWebSettings::setDefaultFontSize):
395 (QWebSettings::setDefaultFixedFontSize):
396 (QWebSettings::setUserStyleSheetLocation):
397 (QWebSettings::setFontFamily):
398 (QWebSettings::fontFamily):
399 (QWebSettings::setAttribute):
400 * Api/qwebsettings.h:
401 * QtLauncher/main.cpp:
404 2007-11-07 Simon Hausmann <hausmann@kde.org>
408 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
410 * Api/qwebsettings.cpp:
411 (QWebSettings::setWebGraphic):
412 * Api/qwebsettings.h:
414 2007-11-07 Simon Hausmann <hausmann@kde.org>
418 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
420 * Api/qwebsettings.cpp:
422 2007-11-07 Simon Hausmann <hausmann@kde.org>
426 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
428 * Api/qwebsettings.cpp:
429 * Api/qwebsettings.h:
431 2007-11-07 Simon Hausmann <hausmann@kde.org>
435 Changed the webAction() accessor to not be a slot but just a public function.
439 2007-11-07 Simon Hausmann <hausmann@kde.org>
443 Implemented createWindow() in QtLauncher.
445 * QtLauncher/main.cpp:
447 (MainWindow::MainWindow):
448 (WebPage::createWindow):
450 2007-11-07 Simon Hausmann <hausmann@kde.org>
454 Implemented opening links in new windows
459 (QWebPage::webActionTriggered):
461 2007-11-07 Simon Hausmann <hausmann@kde.org>
465 Added and implemented the "OpenLink" action.
468 (webActionForContextMenuAction):
469 (QWebPage::webActionTriggered):
470 (QWebPage::webAction):
473 2007-11-07 Simon Hausmann <hausmann@kde.org>
477 Adjust the state of the reload action correctly.
480 (QWebPagePrivate::updateAction):
481 (QWebPagePrivate::updateNavigationActions):
483 2007-11-07 Simon Hausmann <hausmann@kde.org>
487 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
490 (QWebPagePrivate::updateAction):
491 (QWebPage::webAction):
492 (QWebPage::undoStack):
495 2007-11-07 Simon Hausmann <hausmann@kde.org>
499 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
501 * QtLauncher/main.cpp:
502 (MainWindow::MainWindow):
504 2007-11-07 Simon Hausmann <hausmann@kde.org>
508 Update the editor actions when the selection changes.
511 (QWebPagePrivate::updateAction):
512 (QWebPagePrivate::updateEditorActions):
514 * WebCoreSupport/EditorClientQt.cpp:
515 (WebCore::EditorClientQt::respondToChangedSelection):
517 2007-11-07 Simon Hausmann <hausmann@kde.org>
521 Added cut/copy/paste actions to the toolbar of QtLauncher
523 * QtLauncher/main.cpp:
524 (MainWindow::MainWindow):
526 2007-11-07 Simon Hausmann <hausmann@kde.org>
530 Started working on keeping the state of the navigation actions up-to-date.
533 (QWebPagePrivate::updateAction):
534 (QWebPagePrivate::updateNavigationActions):
535 (QWebPage::webAction):
537 * WebCoreSupport/FrameLoaderClientQt.cpp:
538 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
539 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
540 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
541 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
542 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
544 2007-11-07 Simon Hausmann <hausmann@kde.org>
548 Use the navigational web actions in the toolbar
550 * QtLauncher/main.cpp:
551 (MainWindow::MainWindow):
553 2007-11-07 Simon Hausmann <hausmann@kde.org>
557 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
558 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
561 (QWebPagePrivate::QWebPagePrivate):
562 (webActionForContextMenuAction):
563 (QWebPagePrivate::createContextMenu):
564 (QWebPagePrivate::_q_webActionTriggered):
565 (QWebPage::webActionTriggered):
566 (QWebPage::webAction):
567 (QWebPage::contextMenuEvent):
568 (QWebPageContext::QWebPageContext):
569 (QWebPageContext::operator=):
570 (QWebPageContext::~QWebPageContext):
571 (QWebPageContext::pos):
572 (QWebPageContext::text):
573 (QWebPageContext::linkUrl):
574 (QWebPageContext::imageUrl):
575 (QWebPageContext::image):
576 (QWebPageContext::targetFrame):
580 2007-11-07 Simon Hausmann <hausmann@kde.org>
584 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
587 (QWebPage::webActionTriggered):
588 (QWebPage::keyPressEvent):
591 2007-11-07 Simon Hausmann <hausmann@kde.org>
595 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
596 convenience methods such as cut()/copy()/paste().
600 (QWebPage::webActionTriggered):
605 2007-11-07 Simon Hausmann <hausmann@kde.org>
609 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
610 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
611 in ContextMenu::populate().
612 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
613 out of it. That menu is currently not functional anymore though.
616 (QWebPagePrivate::createContextMenu):
617 (QWebPage::contextMenuEvent):
620 2007-11-07 Simon Hausmann <hausmann@kde.org>
624 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
625 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
626 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
630 (QWebPage::contextMenuEvent):
631 * WebCoreSupport/ContextMenuClientQt.cpp:
632 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
634 2007-11-07 Simon Hausmann <hausmann@kde.org>
638 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
639 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
642 (QWebPage::mousePressEvent):
643 (QWebPage::contextMenuEvent):
646 2007-11-07 Simon Hausmann <hausmann@kde.org>
650 Turned onLoadProgressChanged into a real private slot.
653 (QWebPage::QWebPage):
657 2007-11-07 Simon Hausmann <hausmann@kde.org>
661 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
664 (QWebPagePrivate::QWebPagePrivate):
667 * Api/qwebpagehistory.cpp:
668 (QWebPageHistory::QWebPageHistory):
669 * Api/qwebpagehistory.h:
671 2007-11-07 Lars Knoll <lars@trolltech.com>
675 comments on API changes that we'd like to do.
679 2007-11-07 Simon Hausmann <hausmann@kde.org>
681 Reviewed by Lars Knoll <lars@trolltech.com>.
683 Add a QWebPage::frameCreated() signal and fix DRT
685 The removal of createFrame in QWebPage broke the re-implementation
686 in DumpRenderTree. Instead emit a frameCreated() signal and
687 connect to it in DumpRenderTree.
691 (QWebPagePrivate::createMainFrame):
693 * WebCoreSupport/FrameLoaderClientQt.cpp:
694 (WebCore::FrameLoaderClientQt::createFrame):
696 2007-11-07 Lars Knoll <lars@trolltech.com>
700 Remove QWebPage::createFrame()
702 now that QWebFrame doesn't have virtual methods anymore, there
703 is no need for a createFrame() factory method in QWebpage.
706 (QWebPagePrivate::createMainFrame):
708 * WebCoreSupport/FrameLoaderClientQt.cpp:
709 (WebCore::FrameLoaderClientQt::createFrame):
711 2007-11-07 Simon Hausmann <hausmann@kde.org>
713 Reviewed by Lars Knoll <lars@trolltech.com>.
715 Moved all the event handlers from QWebFrame into QWebPage.
717 This cleans up the public API and allows us to remove the
718 HackWebFrame hack in DumpRenderTree.
726 (QWebPagePrivate::frameAt):
727 (QWebPage::mouseMoveEvent):
728 (QWebPage::mousePressEvent):
729 (QWebPage::mouseDoubleClickEvent):
730 (QWebPage::mouseReleaseEvent):
731 (QWebPage::wheelEvent):
734 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
736 Reviewed by Lars Knoll <lars@trolltech.com>.
738 Use correct UserAgent string.
740 * Only have one User Agent String and this place is QWebPage
741 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
742 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
743 * ResourceRequest is != 0 when getting called from WebCore, we
744 will only do requests when coming from WebCore and then we can
745 use the User-Agent set with the help of the FrameLoaderClient
746 * We might want to change QWebNetworkRequest a bit
749 * Api/qwebnetworkinterface.cpp:
750 (QWebNetworkRequestPrivate::init):
752 2007-11-07 Lars Knoll <lars@trolltech.com>
756 remove two notImplemented() warnings, as I believe we don't
757 have to implement these methods. Add some (commented out)
758 debug code in one place.
760 * WebCoreSupport/EditorClientQt.cpp:
761 (WebCore::EditorClientQt::respondToChangedSelection):
762 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
764 2007-11-05 Tristan O'Tierney <tristan@apple.com>
766 Reviewed by Darin Adler.
768 * WebCoreSupport/ChromeClientQt.cpp:
769 (WebCore::ChromeClientQt::createWindow):
770 * WebCoreSupport/ChromeClientQt.h:
771 Revised to use new WebCore ChromeClient createWindow API.
773 2007-10-31 Lars Knoll <lars@trolltech.com>
777 fix most of the issues I found with Clipboard and DnD.
780 (QWebPage::dragLeaveEvent):
782 2007-10-31 Lars Knoll <lars@trolltech.com>
786 QDrag objects need to be created on the heap.
788 * WebCoreSupport/DragClientQt.cpp:
789 (WebCore::DragClientQt::startDrag):
791 2007-10-31 Lars Knoll <lars@trolltech.com>
795 a dragLeave event is not the same as cancelling a drag.
799 2007-10-26 Mark Rowe <mrowe@apple.com>
801 Build fix. Add missing #include of Platform.h.
803 * Api/qwebhistoryinterface.cpp:
805 2007-10-25 Holger Freyther <zecke@selfish.org>
807 Reviewed by Simon Hausmann <hausmann@kde.org>.
809 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
810 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
811 * This is causing some regressions...
814 * Api/qwebnetworkinterface.cpp:
815 (QWebNetworkManager::started):
816 (QWebNetworkInterface::addJob):
818 2007-10-25 Holger Freyther <zecke@selfish.org>
820 Reviewed by Simon Hausmann <hausmann@kde.org>.
822 * 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.
823 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
826 * Api/qwebnetworkinterface.cpp:
827 (QWebNetworkManager::started):
829 2007-10-25 Holger Freyther <zecke@selfish.org>
831 Reviewed by Simon Hausmann <hausmann@kde.org>.
833 * 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.
834 * Use the error message from Qt. It might or might not be translated.
837 * Api/qwebnetworkinterface.cpp:
838 (QWebNetworkJob::errorString):
839 (QWebNetworkJob::setErrorString):
840 (QWebNetworkManager::finished):
841 (QWebNetworkManager::doWork):
842 (WebCoreHttp::onRequestFinished):
843 * Api/qwebnetworkinterface.h:
844 * Api/qwebnetworkinterface_p.h:
846 2007-10-25 Holger Freyther <zecke@selfish.org>
848 Reviewed by Simon Hausmann <hausmann@kde.org>.
850 * 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.
851 * 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.
854 * Api/qwebnetworkinterface.cpp:
855 (QWebNetworkManager::doWork):
857 2007-10-25 Holger Freyther <zecke@selfish.org>
859 Reviewed by Simon Hausmann <hausmann@kde.org>.
861 * No need to initialize values in the QWebNetworkJob c'tor
862 * 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.
865 * Api/qwebnetworkinterface.cpp:
866 (QWebNetworkJob::status):
867 (QWebNetworkJob::setStatus):
868 (QWebNetworkManager::started):
869 (QWebNetworkManager::data):
870 (QWebNetworkManager::finished):
871 * Api/qwebnetworkinterface.h:
872 * Api/qwebnetworkinterface_p.h:
873 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
875 2007-10-25 Holger Freyther <zecke@selfish.org>
877 Reviewed by Simon Hausmann <hausmann@kde.org>.
879 * Consistency: Always name the jobs job.
882 * Api/qwebnetworkinterface.cpp:
883 (WebCoreHttp::onReadyRead):
884 (WebCoreHttp::onRequestFinished):
885 (WebCoreHttp::onSslErrors):
886 (WebCoreHttp::onAuthenticationRequired):
887 (WebCoreHttp::onProxyAuthenticationRequired):
889 2007-10-25 Holger Freyther <zecke@selfish.org>
891 Reviewed by Simon Hausmann <hausmann@kde.org>.
893 * 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.
894 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
897 * Api/qwebnetworkinterface.cpp:
898 (QWebNetworkJob::~QWebNetworkJob):
899 (QWebNetworkManager::QWebNetworkManager):
900 (QWebNetworkManager::self):
901 (QWebNetworkManager::add):
902 (QWebNetworkManager::started):
903 (QWebNetworkManager::finished):
904 (QWebNetworkInterfacePrivate::sendFileData):
905 (QWebNetworkInterfacePrivate::parseDataUrl):
906 (QWebNetworkManager::queueStart):
907 (QWebNetworkManager::queueData):
908 (QWebNetworkManager::queueFinished):
909 (QWebNetworkManager::doScheduleWork):
910 (QWebNetworkManager::doWork):
912 (QWebNetworkInterface::setDefaultInterface):
913 (QWebNetworkInterface::defaultInterface):
914 (QWebNetworkInterface::QWebNetworkInterface):
915 (QWebNetworkInterface::started):
916 (QWebNetworkInterface::data):
917 (QWebNetworkInterface::finished):
918 (WebCoreHttp::scheduleNextRequest):
919 (WebCoreHttp::onResponseHeaderReceived):
920 (WebCoreHttp::onReadyRead):
921 (WebCoreHttp::onRequestFinished):
922 (WebCoreHttp::cancel):
923 * Api/qwebnetworkinterface.h:
924 * Api/qwebnetworkinterface_p.h:
925 (QWebNetworkManager::):
926 (QWebNetworkManager::JobData::JobData):
927 (QWebNetworkManager::JobFinished::JobFinished):
929 2007-10-25 Holger Freyther <zecke@selfish.org>
931 Reviewed by Simon Hausmann <hausmann@kde.org>.
933 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
934 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
935 * We pass the char-decoding.html test now
938 * Api/qwebnetworkinterface.cpp:
939 (decodePercentEncoding):
940 (QWebNetworkInterfacePrivate::parseDataUrl):
942 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
944 Reviewed by Lars Knoll <lars@trolltech.com>.
946 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
949 * WebCoreSupport/EditorClientQt.cpp:
950 (WebCore::EditorClientQt::handleKeypress):
952 2007-10-24 Lars Knoll <lars@trolltech.com>
956 remove some notImplemented() warnings.
958 * WebCoreSupport/EditorClientQt.cpp:
959 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
960 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
961 (WebCore::EditorClientQt::respondToChangedSelection):
963 2007-10-24 Lars Knoll <lars@trolltech.com>
967 allow paste from DOM so we pass more test cases.
970 (QWebPage::setSettings):
972 2007-10-24 Lars Knoll <lars@trolltech.com>
976 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
979 (QWebPage::keyPressEvent):
980 (QWebPage::keyReleaseEvent):
982 2007-10-24 Lars Knoll <lars@trolltech.com>
986 some smaller fixes to the editing support in DRT. Makes another few tests pass.
988 * WebCoreSupport/EditorClientQt.cpp:
989 (qt_dump_editing_callbacks):
992 2007-10-24 Lars Knoll <lars@trolltech.com>
996 implemented support for most editing shortcuts to make contentEditable usable.
999 (QWebPage::keyPressEvent):
1001 2007-10-24 Lars Knoll <lars@trolltech.com>
1005 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1008 (QWebPage::focusInEvent):
1010 2007-10-24 Lars Knoll <lars@trolltech.com>
1014 Implement support for testing editing.
1016 * WebCoreSupport/EditorClientQt.cpp:
1017 (qt_dump_editing_callbacks):
1018 (qt_dump_set_accepts_editing):
1021 (WebCore::EditorClientQt::shouldDeleteRange):
1022 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1023 (WebCore::EditorClientQt::shouldBeginEditing):
1024 (WebCore::EditorClientQt::shouldEndEditing):
1025 (WebCore::EditorClientQt::shouldInsertText):
1026 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1027 (WebCore::EditorClientQt::shouldApplyStyle):
1028 (WebCore::EditorClientQt::didBeginEditing):
1029 (WebCore::EditorClientQt::respondToChangedContents):
1030 (WebCore::EditorClientQt::respondToChangedSelection):
1031 (WebCore::EditorClientQt::didEndEditing):
1032 (WebCore::EditorClientQt::shouldInsertNode):
1034 2007-10-19 Alp Toker <alp@atoker.com>
1038 GTK+ build fix enabling the new local database storage feature.
1039 There is also a prospective Qt build fix.
1041 * WebCoreSupport/ChromeClientQt.cpp:
1042 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1043 * WebCoreSupport/ChromeClientQt.h:
1045 2007-10-19 Simon Hausmann <hausmann@kde.org>
1047 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1048 that config.h is included before wtf/MathExtras. The former defines
1049 the MSVC defines for rand_s.
1051 * WebCoreSupport/FrameLoaderClientQt.cpp:
1053 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1057 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1059 * Api/qwebframe.cpp:
1062 2007-10-10 Alice Liu <alice.liu@apple.com>
1064 Reviewed by Geoff Garen.
1066 changes to keep the build from breaking
1068 * WebCoreSupport/FrameLoaderClientQt.cpp:
1069 (WebCore::FrameLoaderClientQt::createFrame):
1070 * WebCoreSupport/FrameLoaderClientQt.h:
1072 2007-10-09 Lars Knoll <lars@trolltech.com>
1076 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1079 (QWebPage::setSettings):
1081 2007-10-09 Lars Knoll <lars@trolltech.com>
1085 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1087 * Api/qwebnetworkinterface.cpp:
1088 (QWebNetworkManager::add):
1089 (QWebNetworkManager::cancel):
1090 (QWebNetworkManager::started):
1091 (QWebNetworkManager::data):
1092 (QWebNetworkInterfacePrivate::parseDataUrl):
1094 2007-10-09 Lars Knoll <lars@trolltech.com>
1098 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.
1101 (QWebPagePrivate::createMainFrame):
1102 (QWebPage::createFrame):
1103 * WebCoreSupport/FrameLoaderClientQt.cpp:
1104 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1105 * WebCoreSupport/FrameLoaderClientQt.h:
1107 2007-10-09 Lars Knoll <lars@trolltech.com>
1111 add a clear() method to QWebPageHistory.
1113 * Api/qwebpagehistory.cpp:
1114 (QWebPageHistory::clear):
1115 (QWebPageHistory::itemAtIndex):
1116 * Api/qwebpagehistory.h:
1118 2007-10-05 Lars Knoll <lars@trolltech.com>
1120 add proper error messages to the FrameLoaderClient.
1121 Implement ChromeClientQt::closeWindowSoon and
1122 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1123 Some fixes in DRT to make it work correctly with multiple windows.
1128 * Api/qwebnetworkinterface.cpp:
1129 (QWebNetworkManager::cancel):
1130 (QWebNetworkInterface::addJob):
1131 * WebCoreSupport/ChromeClientQt.cpp:
1132 (WebCore::ChromeClientQt::closeWindowSoon):
1133 * WebCoreSupport/FrameLoaderClientQt.cpp:
1134 (WebCore::FrameLoaderClientQt::cancelledError):
1136 (WebCore::FrameLoaderClientQt::blockedError):
1137 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1138 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1139 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1140 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1142 2007-10-03 Lars Knoll <lars@trolltech.com>
1144 Signed off by Olliej.
1146 move WebKitQt to WebKit/qt for consistency with the other ports.
1148 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1149 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1150 (QCookieJarPrivate::QCookieJarPrivate):
1152 (QCookieJar::QCookieJar):
1153 (QCookieJar::~QCookieJar):
1154 (QCookieJar::setCookies):
1155 (QCookieJar::cookies):
1156 (QCookieJar::isEnabled):
1157 (QCookieJar::setEnabled):
1159 (QCookieJar::setCookieJar):
1160 (QCookieJar::cookieJar):
1161 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1162 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1163 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1164 (QWebFramePrivate::init):
1165 (QWebFramePrivate::parentFrame):
1166 (QWebFramePrivate::horizontalScrollBar):
1167 (QWebFramePrivate::verticalScrollBar):
1168 (QWebFrame::QWebFrame):
1169 (QWebFrame::~QWebFrame):
1170 (QWebFrame::addToJSWindowObject):
1171 (QWebFrame::markup):
1172 (QWebFrame::innerText):
1173 (QWebFrame::renderTreeDump):
1177 (QWebFrame::selectedText):
1178 (QWebFrame::childFrames):
1179 (QWebFrame::verticalScrollBarPolicy):
1180 (QWebFrame::setVerticalScrollBarPolicy):
1181 (QWebFrame::horizontalScrollBarPolicy):
1182 (QWebFrame::setHorizontalScrollBarPolicy):
1183 (QWebFrame::render):
1184 (QWebFrame::layout):
1186 (QWebFrame::geometry):
1187 (QWebFrame::evaluateJavaScript):
1188 (QWebFrame::mouseMoveEvent):
1189 (QWebFrame::mousePressEvent):
1190 (QWebFrame::mouseDoubleClickEvent):
1191 (QWebFrame::mouseReleaseEvent):
1192 (QWebFrame::wheelEvent):
1193 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1194 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1195 (QWebFramePrivate::QWebFramePrivate):
1196 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1197 (WebCore::historyContains):
1198 (gCleanupInterface):
1199 (QWebHistoryInterface::setDefaultInterface):
1200 (QWebHistoryInterface::defaultInterface):
1201 (QWebHistoryInterface::QWebHistoryInterface):
1202 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1203 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1204 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1207 (QWebNetworkRequestPrivate::init):
1208 (QWebNetworkRequestPrivate::setURL):
1209 (QWebNetworkRequest::QWebNetworkRequest):
1210 (QWebNetworkRequest::operator=):
1211 (QWebNetworkRequest::~QWebNetworkRequest):
1212 (QWebNetworkRequest::url):
1213 (QWebNetworkRequest::setUrl):
1214 (QWebNetworkRequest::httpHeader):
1215 (QWebNetworkRequest::setHttpHeader):
1216 (QWebNetworkRequest::httpHeaderField):
1217 (QWebNetworkRequest::setHttpHeaderField):
1218 (QWebNetworkRequest::postData):
1219 (QWebNetworkRequest::setPostData):
1220 (QWebNetworkJob::QWebNetworkJob):
1221 (QWebNetworkJob::~QWebNetworkJob):
1222 (QWebNetworkJob::url):
1223 (QWebNetworkJob::postData):
1224 (QWebNetworkJob::httpHeader):
1225 (QWebNetworkJob::request):
1226 (QWebNetworkJob::response):
1227 (QWebNetworkJob::setResponse):
1228 (QWebNetworkJob::cancelled):
1229 (QWebNetworkJob::ref):
1230 (QWebNetworkJob::deref):
1231 (QWebNetworkJob::networkInterface):
1232 (QWebNetworkJob::frame):
1233 (QWebNetworkManager::QWebNetworkManager):
1234 (QWebNetworkManager::self):
1235 (QWebNetworkManager::add):
1236 (QWebNetworkManager::cancel):
1237 (QWebNetworkManager::started):
1238 (QWebNetworkManager::data):
1239 (QWebNetworkManager::finished):
1240 (QWebNetworkManager::addHttpJob):
1241 (QWebNetworkManager::cancelHttpJob):
1242 (QWebNetworkManager::httpConnectionClosed):
1243 (QWebNetworkInterfacePrivate::sendFileData):
1244 (QWebNetworkInterfacePrivate::parseDataUrl):
1245 (gCleanupInterface):
1246 (QWebNetworkInterface::setDefaultInterface):
1247 (QWebNetworkInterface::defaultInterface):
1248 (QWebNetworkInterface::QWebNetworkInterface):
1249 (QWebNetworkInterface::~QWebNetworkInterface):
1250 (QWebNetworkInterface::addJob):
1251 (QWebNetworkInterface::cancelJob):
1252 (WebCoreHttp::WebCoreHttp):
1253 (WebCoreHttp::~WebCoreHttp):
1254 (WebCoreHttp::request):
1255 (WebCoreHttp::scheduleNextRequest):
1256 (WebCoreHttp::getConnection):
1257 (WebCoreHttp::onResponseHeaderReceived):
1258 (WebCoreHttp::onReadyRead):
1259 (WebCoreHttp::onRequestFinished):
1260 (WebCoreHttp::onDone):
1261 (WebCoreHttp::onStateChanged):
1262 (WebCoreHttp::cancel):
1263 (WebCoreHttp::onSslErrors):
1264 (WebCoreHttp::onAuthenticationRequired):
1265 (WebCoreHttp::onProxyAuthenticationRequired):
1266 (HostInfo::HostInfo):
1267 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1268 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1269 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1270 (WebCore::HostInfo::HostInfo):
1271 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1272 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1273 (QWebFactoryLoader::QWebFactoryLoader):
1274 (QWebFactoryLoader::self):
1275 (QWebFactoryLoader::descriptionForName):
1276 (QWebFactoryLoader::mimetypesForName):
1277 (QWebFactoryLoader::mimeTypeForExtension):
1278 (QWebFactoryLoader::extensions):
1279 (QWebFactoryLoader::nameForMimetype):
1280 (QWebFactoryLoader::create):
1281 (QWebObjectPlugin::QWebObjectPlugin):
1282 (QWebObjectPlugin::~QWebObjectPlugin):
1283 (QWebObjectPlugin::descriptionForKey):
1284 (QWebObjectPlugin::mimetypesForKey):
1285 (QWebObjectPlugin::extensionsForMimetype):
1286 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1287 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1288 (QWebFactoryLoader::names):
1289 (QWebFactoryLoader::supportsMimeType):
1290 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1291 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1292 (QWebObjectPluginConnector::frame):
1293 (QWebObjectPluginConnector::pluginParentWidget):
1294 (QWebObjectPluginConnector::requestUrl):
1295 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1296 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1297 (QWebPagePrivate::QWebPagePrivate):
1298 (QWebPagePrivate::~QWebPagePrivate):
1299 (QWebPagePrivate::navigationRequested):
1300 (QWebPagePrivate::createMainFrame):
1301 (QWebPage::QWebPage):
1302 (QWebPage::~QWebPage):
1303 (QWebPage::createFrame):
1307 (QWebPage::mainFrame):
1308 (QWebPage::sizeHint):
1310 (QWebPage::history):
1312 (QWebPage::goForward):
1313 (QWebPage::goToHistoryItem):
1314 (QWebPage::javaScriptConsoleMessage):
1315 (QWebPage::javaScriptAlert):
1316 (QWebPage::javaScriptConfirm):
1317 (QWebPage::javaScriptPrompt):
1318 (QWebPage::createWindow):
1319 (QWebPage::createModalDialog):
1320 (QWebPage::createPlugin):
1321 (QWebPage::navigationRequested):
1322 (QWebPage::setWindowGeometry):
1324 (QWebPage::canCopy):
1325 (QWebPage::canPaste):
1329 (QWebPage::isModified):
1330 (QWebPage::undoStack):
1331 (dropActionToDragOp):
1332 (dragOpToDropAction):
1333 (QWebPage::resizeEvent):
1334 (QWebPage::paintEvent):
1335 (QWebPage::mouseMoveEvent):
1336 (QWebPage::mousePressEvent):
1337 (QWebPage::mouseDoubleClickEvent):
1338 (QWebPage::mouseReleaseEvent):
1339 (QWebPage::wheelEvent):
1340 (QWebPage::keyPressEvent):
1341 (QWebPage::keyReleaseEvent):
1342 (QWebPage::focusInEvent):
1343 (QWebPage::focusOutEvent):
1344 (QWebPage::focusNextPrevChild):
1345 (QWebPage::dragEnterEvent):
1346 (QWebPage::dragLeaveEvent):
1347 (QWebPage::dragMoveEvent):
1348 (QWebPage::dropEvent):
1349 (QWebPage::setNetworkInterface):
1350 (QWebPage::networkInterface):
1352 (QWebPage::setSettings):
1353 (QWebPage::settings):
1354 (QWebPage::chooseFile):
1355 (QWebPage::setNetworkProxy):
1356 (QWebPage::networkProxy):
1357 (QWebPage::userAgentStringForUrl):
1358 (QWebPage::onLoadProgressChanged):
1359 (QWebPage::totalBytes):
1360 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1361 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1362 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1363 (QWebHistoryItem::QWebHistoryItem):
1364 (QWebHistoryItem::operator=):
1365 (QWebHistoryItem::~QWebHistoryItem):
1366 (QWebHistoryItem::originalUrl):
1367 (QWebHistoryItem::currentUrl):
1368 (QWebHistoryItem::title):
1369 (QWebHistoryItem::lastVisited):
1370 (QWebHistoryItem::icon):
1371 (QWebPageHistory::QWebPageHistory):
1372 (QWebPageHistory::itemAtIndex):
1373 (QWebPageHistory::operator=):
1374 (QWebPageHistory::~QWebPageHistory):
1375 (QWebPageHistory::items):
1376 (QWebPageHistory::backItems):
1377 (QWebPageHistory::forwardItems):
1378 (QWebPageHistory::canGoBack):
1379 (QWebPageHistory::canGoForward):
1380 (QWebPageHistory::goBack):
1381 (QWebPageHistory::goForward):
1382 (QWebPageHistory::goToItem):
1383 (QWebPageHistory::backItem):
1384 (QWebPageHistory::currentItem):
1385 (QWebPageHistory::forwardItem):
1386 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1387 (QExplicitlySharedDataPointer::operator*):
1388 (QExplicitlySharedDataPointer::operator->):
1389 (QExplicitlySharedDataPointer::operator T *):
1390 (QExplicitlySharedDataPointer::operator const T *):
1391 (QExplicitlySharedDataPointer::data):
1392 (QExplicitlySharedDataPointer::constData):
1393 (QExplicitlySharedDataPointer::operator==):
1394 (QExplicitlySharedDataPointer::operator!=):
1395 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1396 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1397 (QExplicitlySharedDataPointer::operator=):
1398 (QExplicitlySharedDataPointer::operator!):
1399 (::QExplicitlySharedDataPointer):
1400 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1401 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1402 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1403 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1404 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1405 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1406 (QWebSettingsPrivate::QWebSettingsPrivate):
1407 (QWebSettings::QWebSettings):
1408 (QWebSettings::~QWebSettings):
1409 (QWebSettings::setMinimumFontSize):
1410 (QWebSettings::minimumFontSize):
1411 (QWebSettings::setMinimumLogicalFontSize):
1412 (QWebSettings::minimumLogicalFontSize):
1413 (QWebSettings::setDefaultFontSize):
1414 (QWebSettings::defaultFontSize):
1415 (QWebSettings::setDefaultFixedFontSize):
1416 (QWebSettings::defaultFixedFontSize):
1417 (QWebSettings::setUserStyleSheetLocation):
1418 (QWebSettings::userStyleSheetLocation):
1419 (QWebSettings::setIconDatabaseEnabled):
1420 (QWebSettings::iconDatabaseEnabled):
1421 (QWebSettings::setWebGraphic):
1422 (QWebSettings::webGraphic):
1423 (QWebSettings::operator=):
1424 (QWebSettings::setGlobal):
1425 (QWebSettings::global):
1426 (QWebSettings::setFontFamily):
1427 (QWebSettings::fontFamily):
1428 (QWebSettings::setAttribute):
1429 (QWebSettings::testAttribute):
1430 (loadResourcePixmap):
1431 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
1432 * ChangeLog: Renamed from WebKitQt/ChangeLog.
1433 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
1434 (IcoHeader::operator >>):
1435 (IcoHeader::BMP_INFOHDR::):
1436 (IcoHeader::operator<<):
1437 (IcoHeader::LessDifference::LessDifference):
1438 (IcoHeader::LessDifference::operator ()):
1439 (IcoHeader::loadFromDIB):
1440 (ICOHandler::ICOHandler):
1441 (ICOHandler::canRead):
1443 (ICOHandler::write):
1446 (ICOPlugin::capabilities):
1447 (ICOPlugin::create):
1448 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
1449 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
1450 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
1451 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
1452 (HoverLabel::HoverLabel):
1453 (HoverLabel::setHoverLink):
1454 (HoverLabel::sizeForFont):
1455 (HoverLabel::sizeHint):
1456 (HoverLabel::updateSize):
1457 (HoverLabel::resetAnimation):
1458 (HoverLabel::paintEvent):
1459 (HoverLabel::interpolate):
1460 (ClearButton::ClearButton):
1461 (ClearButton::paintEvent):
1462 (SearchEdit::SearchEdit):
1463 (SearchEdit::~SearchEdit):
1464 (SearchEdit::paintEvent):
1465 (SearchEdit::resizeEvent):
1466 (SearchEdit::moveEvent):
1467 (MainWindow::MainWindow):
1468 (MainWindow::changeLocation):
1469 (MainWindow::loadFinished):
1470 (MainWindow::showLinkHover):
1471 (MainWindow::resizeEvent):
1473 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
1474 (WebCore::ChromeClientQt::ChromeClientQt):
1475 (WebCore::ChromeClientQt::~ChromeClientQt):
1476 (WebCore::ChromeClientQt::setWindowRect):
1477 (WebCore::ChromeClientQt::windowRect):
1478 (WebCore::ChromeClientQt::pageRect):
1479 (WebCore::ChromeClientQt::scaleFactor):
1480 (WebCore::ChromeClientQt::focus):
1481 (WebCore::ChromeClientQt::unfocus):
1482 (WebCore::ChromeClientQt::canTakeFocus):
1483 (WebCore::ChromeClientQt::takeFocus):
1484 (WebCore::ChromeClientQt::createWindow):
1485 (WebCore::ChromeClientQt::createModalDialog):
1486 (WebCore::ChromeClientQt::show):
1487 (WebCore::ChromeClientQt::canRunModal):
1488 (WebCore::ChromeClientQt::runModal):
1489 (WebCore::ChromeClientQt::setToolbarsVisible):
1490 (WebCore::ChromeClientQt::toolbarsVisible):
1491 (WebCore::ChromeClientQt::setStatusbarVisible):
1492 (WebCore::ChromeClientQt::statusbarVisible):
1493 (WebCore::ChromeClientQt::setScrollbarsVisible):
1494 (WebCore::ChromeClientQt::scrollbarsVisible):
1495 (WebCore::ChromeClientQt::setMenubarVisible):
1496 (WebCore::ChromeClientQt::menubarVisible):
1497 (WebCore::ChromeClientQt::setResizable):
1498 (WebCore::ChromeClientQt::addMessageToConsole):
1499 (WebCore::ChromeClientQt::chromeDestroyed):
1500 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1501 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1502 (WebCore::ChromeClientQt::closeWindowSoon):
1503 (WebCore::ChromeClientQt::runJavaScriptAlert):
1504 (WebCore::ChromeClientQt::runJavaScriptConfirm):
1505 (WebCore::ChromeClientQt::runJavaScriptPrompt):
1506 (WebCore::ChromeClientQt::setStatusbarText):
1507 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
1508 (WebCore::ChromeClientQt::tabsToLinks):
1509 (WebCore::ChromeClientQt::windowResizerRect):
1510 (WebCore::ChromeClientQt::addToDirtyRegion):
1511 (WebCore::ChromeClientQt::scrollBackingStore):
1512 (WebCore::ChromeClientQt::updateBackingStore):
1513 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1514 (WebCore::ChromeClientQt::setToolTip):
1515 (WebCore::ChromeClientQt::print):
1516 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
1517 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
1518 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1519 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1520 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1521 (WebCore::ContextMenuClientQt::downloadURL):
1522 (WebCore::ContextMenuClientQt::lookUpInDictionary):
1523 (WebCore::ContextMenuClientQt::speak):
1524 (WebCore::ContextMenuClientQt::stopSpeaking):
1525 (WebCore::ContextMenuClientQt::searchWithGoogle):
1526 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
1527 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
1528 (WebCore::DragClientQt::actionMaskForDrag):
1529 (WebCore::DragClientQt::willPerformDragDestinationAction):
1530 (WebCore::DragClientQt::dragControllerDestroyed):
1531 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1532 (WebCore::DragClientQt::willPerformDragSourceAction):
1533 (WebCore::DragClientQt::startDrag):
1534 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
1535 (WebCore::DragClientQt::DragClientQt):
1536 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
1537 (EditCommandQt::EditCommandQt):
1538 (EditCommandQt::~EditCommandQt):
1539 (EditCommandQt::redo):
1540 (EditCommandQt::undo):
1541 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
1542 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
1543 (WebCore::EditorClientQt::shouldDeleteRange):
1544 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1545 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1546 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1547 (WebCore::EditorClientQt::spellCheckerDocumentTag):
1548 (WebCore::EditorClientQt::shouldBeginEditing):
1549 (WebCore::EditorClientQt::shouldEndEditing):
1550 (WebCore::EditorClientQt::shouldInsertText):
1551 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1552 (WebCore::EditorClientQt::shouldApplyStyle):
1553 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1554 (WebCore::EditorClientQt::didBeginEditing):
1555 (WebCore::EditorClientQt::respondToChangedContents):
1556 (WebCore::EditorClientQt::respondToChangedSelection):
1557 (WebCore::EditorClientQt::didEndEditing):
1558 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1559 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1560 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1561 (WebCore::EditorClientQt::isEditable):
1562 (WebCore::EditorClientQt::registerCommandForUndo):
1563 (WebCore::EditorClientQt::registerCommandForRedo):
1564 (WebCore::EditorClientQt::clearUndoRedoOperations):
1565 (WebCore::EditorClientQt::canUndo):
1566 (WebCore::EditorClientQt::canRedo):
1567 (WebCore::EditorClientQt::undo):
1568 (WebCore::EditorClientQt::redo):
1569 (WebCore::EditorClientQt::shouldInsertNode):
1570 (WebCore::EditorClientQt::pageDestroyed):
1571 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
1572 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1573 (WebCore::EditorClientQt::toggleGrammarChecking):
1574 (WebCore::EditorClientQt::handleKeypress):
1575 (WebCore::EditorClientQt::handleInputMethodKeypress):
1576 (WebCore::EditorClientQt::EditorClientQt):
1577 (WebCore::EditorClientQt::textFieldDidBeginEditing):
1578 (WebCore::EditorClientQt::textFieldDidEndEditing):
1579 (WebCore::EditorClientQt::textDidChangeInTextField):
1580 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
1581 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
1582 (WebCore::EditorClientQt::textDidChangeInTextArea):
1583 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
1584 (WebCore::EditorClientQt::learnWord):
1585 (WebCore::EditorClientQt::checkSpellingOfString):
1586 (WebCore::EditorClientQt::checkGrammarOfString):
1587 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
1588 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
1589 (WebCore::EditorClientQt::showSpellingUI):
1590 (WebCore::EditorClientQt::spellingUIIsShowing):
1591 (WebCore::EditorClientQt::getGuessesForWord):
1592 (WebCore::EditorClientQt::isEditing):
1593 (WebCore::EditorClientQt::setInputMethodState):
1594 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
1595 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
1596 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1597 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1598 (WebCore::FrameLoaderClientQt::setFrame):
1599 (WebCore::FrameLoaderClientQt::webFrame):
1600 (WebCore::FrameLoaderClientQt::callPolicyFunction):
1601 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1602 (WebCore::FrameLoaderClientQt::hasWebView):
1603 (WebCore::FrameLoaderClientQt::hasFrameView):
1604 (WebCore::FrameLoaderClientQt::hasBackForwardList):
1605 (WebCore::FrameLoaderClientQt::resetBackForwardList):
1606 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
1607 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
1608 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
1609 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
1610 (WebCore::FrameLoaderClientQt::makeDocumentView):
1611 (WebCore::FrameLoaderClientQt::makeRepresentation):
1612 (WebCore::FrameLoaderClientQt::forceLayout):
1613 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
1614 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1615 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
1616 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
1617 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
1618 (WebCore::FrameLoaderClientQt::willCloseDocument):
1619 (WebCore::FrameLoaderClientQt::detachedFromParent2):
1620 (WebCore::FrameLoaderClientQt::detachedFromParent3):
1621 (WebCore::FrameLoaderClientQt::detachedFromParent4):
1622 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
1623 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1624 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
1625 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
1626 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
1627 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
1628 (WebCore::FrameLoaderClientQt::dispatchWillClose):
1629 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1630 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1631 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1632 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1633 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1634 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1635 (WebCore::FrameLoaderClientQt::dispatchShow):
1636 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1637 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1638 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
1639 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
1640 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
1641 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
1642 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
1643 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1644 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1645 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1646 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1647 (WebCore::FrameLoaderClientQt::willChangeTitle):
1648 (WebCore::FrameLoaderClientQt::didChangeTitle):
1649 (WebCore::FrameLoaderClientQt::finishedLoading):
1650 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
1651 (WebCore::FrameLoaderClientQt::setDefersLoading):
1652 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
1653 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
1654 (WebCore::FrameLoaderClientQt::clearArchivedResources):
1655 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1656 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1657 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
1658 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1659 (WebCore::FrameLoaderClientQt::restoreViewState):
1660 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1661 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
1662 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
1663 (WebCore::FrameLoaderClientQt::didFinishLoad):
1664 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1665 (WebCore::FrameLoaderClientQt::setTitle):
1666 (WebCore::FrameLoaderClientQt::userAgent):
1667 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
1668 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1669 (WebCore::FrameLoaderClientQt::canHandleRequest):
1670 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1671 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1672 (WebCore::FrameLoaderClientQt::registerForIconNotification):
1673 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
1674 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1675 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1676 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1677 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1678 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
1679 (WebCore::FrameLoaderClientQt::canCachePage):
1680 (WebCore::FrameLoaderClientQt::setMainDocumentError):
1681 (WebCore::FrameLoaderClientQt::committedLoad):
1682 (WebCore::FrameLoaderClientQt::cancelledError):
1683 (WebCore::FrameLoaderClientQt::blockedError):
1684 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1685 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1686 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1687 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1688 (WebCore::FrameLoaderClientQt::shouldFallBack):
1689 (WebCore::FrameLoaderClientQt::createDocumentLoader):
1690 (WebCore::FrameLoaderClientQt::download):
1691 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1692 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1693 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1694 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1695 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1696 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1697 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1698 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1699 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1700 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1701 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1702 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1703 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1704 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1705 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1706 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1707 (WebCore::FrameLoaderClientQt::startDownload):
1708 (WebCore::FrameLoaderClientQt::willUseArchive):
1709 (WebCore::FrameLoaderClientQt::createFrame):
1710 (WebCore::FrameLoaderClientQt::objectContentType):
1712 (WebCore::FrameLoaderClientQt::createPlugin):
1713 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1714 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1715 (WebCore::FrameLoaderClientQt::overrideMediaType):
1716 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
1717 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
1718 (WebCore::InspectorClientQt::inspectorDestroyed):
1719 (WebCore::InspectorClientQt::createPage):
1720 (WebCore::InspectorClientQt::showWindow):
1721 (WebCore::InspectorClientQt::closeWindow):
1722 (WebCore::InspectorClientQt::attachWindow):
1723 (WebCore::InspectorClientQt::detachWindow):
1724 (WebCore::InspectorClientQt::highlight):
1725 (WebCore::InspectorClientQt::hideHighlight):
1726 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
1727 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
1728 (WebKitFactory::WebKitFactory):
1729 (WebKitFactory::~WebKitFactory):
1730 (WebKitFactory::createPartObject):
1731 (WebKitFactory::instance):
1732 (WebKitFactory::ref):
1733 (WebKitFactory::deref):
1734 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
1735 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
1736 (WebKitPart::WebKitPart):
1737 (WebKitPart::~WebKitPart):
1738 (WebKitPart::openFile):
1739 (WebKitPart::openUrl):
1740 (WebKitPart::closeUrl):
1741 (WebKitPart::parentPart):
1742 (WebKitPart::frame):
1743 (WebKitPart::initView):
1744 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
1745 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
1747 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
1748 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
1749 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
1750 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1751 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
1752 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
1753 (WebKitPartClient::WebKitPartClient):
1754 (WebKitPartClient::~WebKitPartClient):
1755 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
1756 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
1757 (WebKitPartInterface::WebKitPartInterface):
1758 (WebKitPartInterface::~WebKitPartInterface):
1759 (WebKitPartInterface::url):
1760 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
1761 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
1763 2007-10-02 Adam Treat <treat@kde.org>
1765 Reviewed by Eric Seidel.
1767 Open the requested url on the newly created window.
1768 Implement createModalDialog and provide new API for this.
1769 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
1772 (QWebPage::createModalDialog):
1774 * WebCoreSupport/ChromeClientQt.cpp:
1775 (WebCore::ChromeClientQt::createWindow):
1776 (WebCore::ChromeClientQt::createModalDialog):
1778 2007-10-02 Lars Knoll <lars@trolltech.com>
1782 Add API to retrieve the frame name from QWebFrame.
1783 Implement support for DRT::dumpChildrenAsText.
1785 * Api/qwebframe.cpp:
1789 2007-10-02 Lars Knoll <lars@trolltech.com>
1793 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1795 * Api/qwebnetworkinterface.cpp:
1796 (QWebNetworkManager::started):
1797 (QWebNetworkManager::data):
1798 (QWebNetworkManager::finished):
1799 (QWebNetworkInterfacePrivate::sendFileData):
1800 (QWebNetworkInterfacePrivate::parseDataUrl):
1801 (WebCoreHttp::scheduleNextRequest):
1802 (WebCoreHttp::onSslErrors):
1803 * QtLauncher/main.cpp:
1806 2007-10-01 Lars Knoll <lars@trolltech.com>
1810 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
1812 * WebCoreSupport/FrameLoaderClientQt.cpp:
1813 (WebCore::FrameLoaderClientQt::makeDocumentView):
1814 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1815 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1816 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1817 (WebCore::FrameLoaderClientQt::objectContentType):
1818 (WebCore::FrameLoaderClientQt::createPlugin):
1820 2007-09-30 George Staikos <staikos@kde.org>
1822 Qt build fix (OS X specific).
1824 * QtLauncher/QtLauncher.pro:
1826 2007-09-26 Mark Rowe <mrowe@apple.com>
1830 * WebCoreSupport/FrameLoaderClientQt.cpp:
1831 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
1833 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1837 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1838 LGPL'ed files contain incorrect FSF address
1840 * Api/qcookiejar.cpp:
1842 * Api/qwebframe.cpp:
1844 * Api/qwebframe_p.h:
1845 * Api/qwebhistoryinterface.cpp:
1846 * Api/qwebhistoryinterface.h:
1847 * Api/qwebkitglobal.h:
1848 * Api/qwebnetworkinterface.cpp:
1849 * Api/qwebnetworkinterface.h:
1850 * Api/qwebnetworkinterface_p.h:
1851 * Api/qwebobjectplugin.cpp:
1852 * Api/qwebobjectplugin.h:
1853 * Api/qwebobjectpluginconnector.cpp:
1854 * Api/qwebobjectpluginconnector.h:
1858 * Api/qwebpagehistory.cpp:
1859 * Api/qwebpagehistory.h:
1860 * Api/qwebsettings.cpp:
1861 * Api/qwebsettings.h:
1862 * WebCoreSupport/EditCommandQt.cpp:
1863 * WebCoreSupport/EditCommandQt.h:
1865 2007-09-25 Adam Treat <treat@kde.org>
1867 Reviewed by Simon and Lars.
1869 Modifies the addToJSWindowObject to bind js objects using the built-in
1870 kjs_window class. Make sure to protect the created runtime object from
1873 Adds a signal to QWebFrame to notify clients of the beginning of a
1874 provisional load. DRT needs this.
1876 * Api/qwebframe.cpp:
1877 (QWebFrame::addToJSWindowObject):
1879 * WebCoreSupport/FrameLoaderClientQt.cpp:
1880 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1882 2007-09-10 Qing Zhao <qing@staikos.net>
1884 Reviewed by George Staikos.
1886 Don't re-encode urls, resulting in double encoding. Fixes login to
1889 * Api/qwebnetworkinterface.cpp:
1890 (QWebNetworkRequestPrivate::init):
1891 (QWebNetworkManager::started):
1893 2007-09-08 Mark Rowe <mrowe@apple.com>
1895 Qt build fix. Move stub method implementations to the right class.
1897 * WebCoreSupport/FrameLoaderClientQt.cpp:
1898 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1900 2007-09-08 Brady Eidson <beidson@apple.com>
1902 YABF (Yet Another Build Fix)
1904 * Api/qwebsettings.cpp:
1905 (QWebSettings::iconDatabaseEnabled):
1907 2007-09-08 Brady Eidson <beidson@apple.com>
1911 * WebCoreSupport/FrameLoaderClientQt.cpp:
1912 (WebCore::FrameLoaderClient::registerForIconNotification):
1913 * WebCoreSupport/FrameLoaderClientQt.h:
1915 2007-09-08 Brady Eidson <beidson@apple.com>
1919 * WebCoreSupport/FrameLoaderClientQt.cpp:
1920 (WebCore::FrameLoaderClient::registerForIconNotification):
1921 * WebCoreSupport/FrameLoaderClientQt.h:
1923 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1925 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1927 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
1928 memory cache, or a very tiny one
1930 Keep the Qt build working with an empty stub.
1932 * WebCoreSupport/FrameLoaderClientQt.cpp:
1933 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1934 * WebCoreSupport/FrameLoaderClientQt.h:
1936 2007-09-07 George Staikos <staikos@kde.org>
1941 (QWebPage::onLoadProgressChanged):
1943 2007-09-07 Qing Zhao <qing@staikos.net>
1945 Reviewed by Anders and George.
1947 Export page size and load progress in bytes.
1950 (QWebPage::QWebPage):
1951 (QWebPage::onLoadProgressChanged):
1952 (QWebPage::totalBytes):
1953 (QWebPage::bytesReceived):
1957 2007-09-06 George Staikos <staikos@kde.org>
1961 Make popup windows work again.
1963 * WebCoreSupport/FrameLoaderClientQt.cpp:
1964 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1966 2007-09-01 Oliver Hunt <oliver@apple.com>
1970 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1972 EditorClient::setInputMethodState stub
1974 * WebCoreSupport/EditorClientQt.cpp:
1975 (WebCore::EditorClientQt::setInputMethodState):
1976 * WebCoreSupport/EditorClientQt.h:
1978 2007-08-30 Simon Hausmann <hausmann@kde.org>
1982 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
1985 (QWebPage::keyPressEvent):
1987 2007-08-30 Simon Hausmann <hausmann@kde.org>
1991 When scrolling with the keyboard don't call update() on the entire widget.
1992 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
1996 (QWebPage::keyPressEvent):
1998 2007-08-30 Simon Hausmann <hausmann@kde.org>
2002 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2005 (QWebPage::keyPressEvent):
2007 2007-08-29 Simon Hausmann <hausmann@kde.org>
2013 * WebCoreSupport/FrameLoaderClientQt.cpp:
2014 (WebCore::FrameLoaderClientQt::objectContentType):
2016 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2018 Reviewed by George Staikos.
2020 Don't export ICO symbols.
2022 * Plugins/Plugins.pro:
2024 2007-08-19 George Staikos <staikos@kde.org>
2028 * WebCoreSupport/FrameLoaderClientQt.cpp:
2029 (WebCore::FrameLoaderClientQt::createPlugin):
2030 * WebCoreSupport/FrameLoaderClientQt.h:
2032 2007-08-10 Lars Knoll <lars@trolltech.com>
2034 Reviewed and landed by Simon.
2036 Limit the set of properties from the computed style to apply to Qt
2037 plugin widgets, as only a few of them make sense.
2039 * WebCoreSupport/FrameLoaderClientQt.cpp:
2042 2007-08-10 Lars Knoll <lars@trolltech.com>
2046 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2049 (QWebPage::createPlugin):
2051 * WebCoreSupport/FrameLoaderClientQt.cpp:
2052 (WebCore::FrameLoaderClientQt::objectContentType):
2053 (WebCore::FrameLoaderClientQt::createPlugin):
2055 2007-08-10 Simon Hausmann <hausmann@kde.org>
2059 Added support for network jobs from Qt resources using the qrc protocol.
2061 * Api/qwebnetworkinterface.cpp:
2062 (QWebNetworkInterface::addJob):
2064 2007-08-10 Simon Hausmann <hausmann@kde.org>
2068 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2069 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2071 * WebCoreSupport/FrameLoaderClientQt.cpp:
2072 (WebCore::FrameLoaderClientQt::objectContentType):
2074 (WebCore::FrameLoaderClientQt::createPlugin):
2076 2007-08-10 Simon Hausmann <hausmann@kde.org>
2080 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2081 and fixed widget embedding by setting the right QWidget parent.
2084 (QWebPage::createPlugin):
2086 * WebCoreSupport/FrameLoaderClientQt.cpp:
2087 (WebCore::FrameLoaderClientQt::objectContentType):
2088 (WebCore::FrameLoaderClientQt::createPlugin):
2090 2007-08-02 George Staikos <staikos@kde.org>
2094 Add an interface for the useragent string.
2097 (QWebPage::userAgentStringForUrl):
2099 * WebCoreSupport/FrameLoaderClientQt.cpp:
2100 (WebCore::FrameLoaderClientQt::userAgent):
2102 2007-08-01 Adam Treat <treat@kde.org>
2104 Reviewed by George Staikos.
2106 Add an interface to manage global history for clients
2109 * Api/qwebhistoryinterface.cpp: Added.
2110 (WebCore::historyContains):
2111 (gCleanupInterface):
2112 (QWebHistoryInterface::setDefaultInterface):
2113 (QWebHistoryInterface::defaultInterface):
2114 (QWebHistoryInterface::QWebHistoryInterface):
2115 * Api/qwebhistoryinterface.h: Added.
2117 2007-07-30 Adam Treat <treat@kde.org>
2121 * WebCoreSupport/EditorClientQt.cpp:
2122 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2123 * WebCoreSupport/EditorClientQt.h:
2125 2007-07-30 Simon Hausmann <hausmann@kde.org>
2129 Link QtLauncher into $$OUTPUT_DIR/bin
2131 * QtLauncher/QtLauncher.pro:
2133 2007-07-29 Adam Treat <treat@kde.org>
2135 Reviewed by George Staikos.
2137 Change QWebPage::paintEvent to draw using the individual rects provided
2138 via the QRegion and set the widget to use opaque paint events.
2140 These changes greatly reduce the cpu load as we are no longer painting the
2141 entire page for each 1px scroll :P
2143 * Api/qwebframe.cpp:
2144 (QWebFrame::render):
2146 (QWebPage::QWebPage):
2147 (QWebPage::paintEvent):
2148 * WebCoreSupport/ChromeClientQt.cpp:
2149 (WebCore::ChromeClientQt::addToDirtyRegion):
2151 2007-07-29 Adam Treat <treat@kde.org>
2153 Reviewed by Alexey Proskuryakov.
2155 Respect the margins when creating frames.
2156 Set the scroll mode to always off like we did before the rendered
2157 frames patch and the other ports do now.
2159 * Api/qwebframe.cpp:
2160 (QWebFramePrivate::init):
2162 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2166 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2168 * QtLauncher/QtLauncher.pro:
2170 2007-07-27 Simon Hausmann <hausmann@kde.org>
2174 Fix compilation with MSVC.
2176 * Api/qwebpagehistory.cpp:
2177 (QWebPageHistory::operator=):
2178 * Api/qwebpagehistory.h:
2179 * Api/qwebsettings.cpp:
2180 (QWebSettings::operator=):
2181 * Api/qwebsettings.h:
2183 2007-07-26 Qing Zhao <qing@staikos.net>
2185 Reviewed by George Staikos.
2187 Add a signal for history notification.
2190 * WebCoreSupport/FrameLoaderClientQt.cpp:
2192 2007-07-24 Adam Treat <treat@kde.org>
2194 Reviewed by Niko and Lars.
2196 These are no longer necessary or used.
2198 * WebCoreSupport/FrameLoaderClientQt.cpp:
2199 * WebCoreSupport/FrameLoaderClientQt.h:
2201 2007-07-20 Adam Treat <adam@staikos.net>
2203 Reviewed by George Staikos.
2205 Add a signal for first layout and add the action type for the policy
2209 (QWebPagePrivate::navigationRequested):
2210 (QWebPage::navigationRequested):
2213 * WebCoreSupport/FrameLoaderClientQt.cpp:
2214 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2215 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2217 2007-07-19 Adam Treat <treat@kde.org>
2221 Do a recursive layout on the frame's children. This fixes a
2222 segfault found when rendering some framesets.
2224 * Api/qwebframe.cpp:
2225 (QWebFrame::render):
2226 (QWebFrame::layout):
2229 2007-07-18 Timothy Hatcher <timothy@apple.com>
2233 Make the Page with the now required InspectorClient.
2236 (QWebPagePrivate::QWebPagePrivate):
2237 * WebKitPart/WebKitPart.cpp:
2238 (WebKitPart::initView):
2240 2007-07-18 Sam Weinig <sam@webkit.org>
2244 * Api/qwebnetworkinterface.cpp:
2245 (QWebNetworkManager::started):
2246 * WebCoreSupport/FrameLoaderClientQt.cpp:
2247 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2248 (WebCore::FrameLoaderClientQt::objectContentType):
2250 2007-07-18 Lars Knoll <lars@trolltech.com>
2252 Reviewed by Zack & Simon
2254 Reallow setting of scrollbar policies on QWebFrame.
2256 * Api/qwebframe.cpp:
2257 (QWebFrame::verticalScrollBarPolicy):
2258 (QWebFrame::setVerticalScrollBarPolicy):
2259 (QWebFrame::horizontalScrollBarPolicy):
2262 2007-07-17 Adam Treat <treat@kde.org>
2266 * WebCoreSupport/FrameLoaderClientQt.cpp:
2267 (WebCore::FrameLoaderClientQt::createFrame):
2269 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2271 Blind build fix for Qt after r24366 by adding the additional
2272 WebCore::ResourceRequest& parameter to the download method.
2274 * WebCoreSupport/FrameLoaderClientQt.cpp:
2275 (WebCore::FrameLoaderClientQt::download):
2276 * WebCoreSupport/FrameLoaderClientQt.h:
2278 2007-07-17 Adam Roben <aroben@apple.com>
2280 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2284 * WebCoreSupport/ContextMenuClientQt.cpp:
2285 * WebCoreSupport/ContextMenuClientQt.h:
2287 2007-07-16 Adam Roben <aroben@apple.com>
2289 Updated ChromeClientQt for ChromeClient changes.
2293 * WebCoreSupport/ChromeClientQt.cpp:
2294 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2295 * WebCoreSupport/ChromeClientQt.h: Ditto.
2297 2007-07-13 Mark Rowe <mrowe@apple.com>
2301 Build fix. Stub out ChromeClientQt::print.
2303 * WebCoreSupport/ChromeClientQt.cpp:
2304 (WebCore::ChromeClientQt::print):
2305 * WebCoreSupport/ChromeClientQt.h:
2307 2007-07-12 George Staikos <staikos@kde.org>
2309 Qt build fix for assertions.
2311 * Api/qwebnetworkinterface.cpp:
2312 (QWebNetworkManager::add):
2314 2007-07-12 George Staikos <staikos@kde.org>
2318 * Api/qwebnetworkinterface.cpp:
2319 (QWebNetworkManager::add):
2321 2007-07-10 Mark Rowe <mrowe@apple.com>
2323 Qt build fix after r24126.
2325 * Api/qwebframe.cpp:
2326 (QWebFrame::evaluateJavaScript):
2328 2007-07-10 Eli Fidler <eli@staikos.net>
2330 Reviewed by George Staikos.
2332 Properly url-decode data urls.
2334 * Api/qwebnetworkinterface.cpp:
2335 (QWebNetworkInterfacePrivate::parseDataUrl):
2337 2007-07-09 Adam Treat <adam@staikos.net>
2339 Reviewed by George Staikos.
2341 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2344 * Api/qwebframe.cpp:
2345 (QWebFramePrivate::init):
2346 (QWebFramePrivate::parentFrame):
2347 (QWebFrame::QWebFrame):
2348 (QWebFrame::render):
2350 (QWebFrame::geometry):
2351 (QWebFrame::evaluateJavaScript):
2352 (QWebFrame::mouseMoveEvent):
2353 (QWebFrame::mousePressEvent):
2354 (QWebFrame::mouseDoubleClickEvent):
2355 (QWebFrame::mouseReleaseEvent):
2356 (QWebFrame::wheelEvent):
2358 * Api/qwebobjectpluginconnector.cpp:
2359 (QWebObjectPluginConnector::pluginParentWidget):
2361 (QWebPagePrivate::QWebPagePrivate):
2362 (QWebPagePrivate::createMainFrame):
2363 (QWebPage::QWebPage):
2364 (QWebPage::javaScriptAlert):
2365 (QWebPage::javaScriptConfirm):
2366 (QWebPage::javaScriptPrompt):
2367 (QWebPage::resizeEvent):
2368 (QWebPage::paintEvent):
2369 (QWebPage::mouseMoveEvent):
2370 (QWebPage::mousePressEvent):
2371 (QWebPage::mouseDoubleClickEvent):
2372 (QWebPage::mouseReleaseEvent):
2373 (QWebPage::wheelEvent):
2374 (QWebPage::keyPressEvent):
2375 (QWebPage::keyReleaseEvent):
2376 (QWebPage::focusInEvent):
2377 (QWebPage::focusOutEvent):
2378 (QWebPage::focusNextPrevChild):
2379 (QWebPage::chooseFile):
2382 * WebCoreSupport/ChromeClientQt.cpp:
2383 (WebCore::ChromeClientQt::addToDirtyRegion):
2385 2007-07-09 George Staikos <staikos@kde.org>
2387 Fix a minor memory leak in the loader.
2389 * Api/qwebnetworkinterface.cpp:
2390 (gCleanupInterface):
2391 (QWebNetworkInterface::setDefaultInterface):
2392 (QWebNetworkInterface::defaultInterface):
2394 2007-07-09 George Staikos <staikos@kde.org>
2396 Fix a massive memory leak in the loader.
2398 * Api/qwebnetworkinterface.cpp:
2399 (QWebNetworkManager::httpConnectionClosed):
2400 (WebCoreHttp::~WebCoreHttp):
2402 2007-07-09 George Staikos <staikos@kde.org>
2406 Rework much of the HTTP stuff to make it more stable, and add SSL and
2407 proxy support. Major memory leak also discovered but it needs more
2408 research as the obvious fix causes crashes.
2410 * Api/qwebnetworkinterface.cpp:
2411 (QWebNetworkManager::add):
2412 (QWebNetworkManager::started):
2413 (QWebNetworkManager::data):
2414 (WebCoreHttp::WebCoreHttp):
2415 (WebCoreHttp::~WebCoreHttp):
2416 (WebCoreHttp::request):
2417 (WebCoreHttp::scheduleNextRequest):
2418 (WebCoreHttp::getConnection):
2419 (WebCoreHttp::onResponseHeaderReceived):
2420 (WebCoreHttp::onReadyRead):
2421 (WebCoreHttp::onRequestFinished):
2422 (WebCoreHttp::onDone):
2423 (WebCoreHttp::onStateChanged):
2424 (WebCoreHttp::onSslErrors):
2425 (WebCoreHttp::onAuthenticationRequired):
2426 (WebCoreHttp::onProxyAuthenticationRequired):
2427 * Api/qwebnetworkinterface.h:
2428 * Api/qwebnetworkinterface_p.h:
2429 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2431 2007-07-06 Adam Treat <adam@staikos.net>
2433 Reviewed by George Staikos.
2435 Convert QWebFrame to a QFrame from a scroll area.
2437 * Api/qwebframe.cpp:
2438 (QWebFramePrivate::init):
2439 (QWebFramePrivate::parentFrame):
2440 (QWebFramePrivate::horizontalScrollBar):
2441 (QWebFramePrivate::verticalScrollBar):
2442 (QWebFrame::QWebFrame):
2443 (QWebFrame::resizeEvent):
2444 (QWebFrame::suppressScrollbars):
2445 (QWebFrame::paintEvent):
2446 (QWebFrame::mouseMoveEvent):
2447 (QWebFrame::mousePressEvent):
2448 (QWebFrame::mouseDoubleClickEvent):
2449 (QWebFrame::mouseReleaseEvent):
2450 (QWebFrame::wheelEvent):
2451 (QWebFrame::keyPressEvent):
2452 (QWebFrame::focusInEvent):
2453 (QWebFrame::focusOutEvent):
2454 (QWebFrame::evaluateJavaScript):
2456 * Api/qwebframe_p.h:
2457 * Api/qwebobjectpluginconnector.cpp:
2458 (QWebObjectPluginConnector::pluginParentWidget):
2460 2007-07-04 Adam Roben <aroben@apple.com>
2462 Added a stub for ChromeClientQt::setToolTip
2466 * WebCoreSupport/ChromeClientQt.cpp:
2467 (WebCore::ChromeClientQt::setToolTip):
2468 * WebCoreSupport/ChromeClientQt.h:
2470 2007-07-04 Adam Roben <aroben@apple.com>
2472 Added a stub for ChromeClientQt::mouseDidMoveOverElement
2476 * WebCoreSupport/ChromeClientQt.cpp:
2477 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2478 * WebCoreSupport/ChromeClientQt.h:
2480 2007-06-28 Simon Hausmann <hausmann@kde.org>
2484 Propagate mouse double click events from Qt to WebCore.
2486 * Api/qwebframe.cpp:
2487 (QWebFrame::mouseDoubleClickEvent):
2490 2007-06-28 Simon Hausmann <hausmann@kde.org>
2494 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
2498 (QWebPage::canCopy):
2499 (QWebPage::canPaste):
2504 * WebCoreSupport/EditorClientQt.cpp:
2506 2007-06-27 George Staikos <staikos@kde.org>
2508 Compile with various Qt configurations.
2510 * Api/qwebnetworkinterface.cpp:
2511 (WebCoreHttp::scheduleNextRequest):
2513 (QWebPage::javaScriptPrompt):
2514 (QWebPage::dragEnterEvent):
2515 (QWebPage::dragLeaveEvent):
2516 (QWebPage::dragMoveEvent):
2517 (QWebPage::dropEvent):
2518 (QWebPage::chooseFile):
2521 * WebCoreSupport/DragClientQt.cpp:
2522 (WebCore::DragClientQt::startDrag):
2524 2007-06-27 Eli Fidler <eli@staikos.net>
2526 Reviewed by George Staikos.
2528 Check for QT_NO_IMAGE_TEXT and compile either way.
2530 * Plugins/ICOHandler.cpp:
2533 2007-06-27 Eli Fidler <eli@staikos.net>
2535 Reviewed by George Staikos.
2537 Remove QT3_SUPPORT dependency in the ICO plugin.
2539 * Plugins/ICOHandler.cpp:
2540 (IcoHeader::loadFromDIB):
2542 2007-06-25 George Staikos <staikos@kde.org>
2546 Start to add proxy and SSL support to WebKit Qt. Proxy works
2547 unauthenticated. Added hooks to be able to add authentication.
2548 Also fixes some network errors.
2550 * Api/qwebnetworkinterface.cpp:
2551 (QWebNetworkRequestPrivate::setURL):
2552 (QWebNetworkJob::frame):
2553 (WebCoreHttp::WebCoreHttp):
2554 (WebCoreHttp::scheduleNextRequest):
2555 (WebCoreHttp::onRequestFinished):
2556 (WebCoreHttp::onDone):
2557 (WebCoreHttp::onSslErrors):
2558 (WebCoreHttp::onAuthenticationRequired):
2559 (WebCoreHttp::onProxyAuthenticationRequired):
2560 * Api/qwebnetworkinterface.h:
2561 * Api/qwebnetworkinterface_p.h:
2563 (QWebPage::setNetworkProxy):
2564 (QWebPage::networkProxy):
2568 2007-06-21 Adam Treat <adam@staikos.net>
2570 Reviewed by George Staikos.
2572 Implement the default resources on Qt.
2576 * Api/qwebsettings.cpp:
2577 (QWebSettings::setWebGraphic):
2578 (QWebSettings::webGraphic):
2579 (loadResourcePixmap):
2580 * Api/qwebsettings.h:
2582 2007-06-15 Adam Treat <adam@staikos.net>
2584 Reviewed by George Staikos.
2586 Add ICO support to the Qt build.
2591 * Api/qwebsettings.cpp:
2592 (QWebSettings::setIconDatabaseEnabled):
2593 (QWebSettings::iconDatabaseEnabled):
2594 * Api/qwebsettings.h:
2596 * Plugins/ICOHandler.cpp: Added.
2597 (IcoHeader::operator >>):
2598 (IcoHeader::BMP_INFOHDR::):
2599 (IcoHeader::operator<<):
2600 (IcoHeader::LessDifference::LessDifference):
2601 (IcoHeader::LessDifference::operator ()):
2602 (IcoHeader::loadFromDIB):
2603 (ICOHandler::ICOHandler):
2604 (ICOHandler::canRead):
2606 (ICOHandler::write):
2609 (ICOPlugin::capabilities):
2610 (ICOPlugin::create):
2611 * Plugins/ICOHandler.h: Added.
2612 * Plugins/Plugins.pro: Added.
2613 * WebCoreSupport/FrameLoaderClientQt.cpp:
2614 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2616 2007-06-15 George Staikos <staikos@kde.org>
2618 Fixing the Qt build.
2620 * WebCoreSupport/ContextMenuClientQt.cpp:
2621 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
2622 * WebCoreSupport/ContextMenuClientQt.h:
2624 2007-06-20 Adam Roben <aroben@apple.com>
2626 More speculative Qt build fixes.
2628 Add a stub implementation of InspectorClientQt.
2630 * WebCoreSupport/InspectorClientQt.cpp: Added.
2631 (WebCore::InspectorClientQt::inspectorDestroyed):
2632 (WebCore::InspectorClientQt::createPage):
2633 (WebCore::InspectorClientQt::showWindow):
2634 (WebCore::InspectorClientQt::closeWindow):
2635 (WebCore::InspectorClientQt::attachWindow):
2636 (WebCore::InspectorClientQt::detachWindow):
2637 (WebCore::InspectorClientQt::highlight):
2638 (WebCore::InspectorClientQt::hideHighlight):
2639 * WebCoreSupport/InspectorClientQt.h: Added.
2641 2007-06-19 George Staikos <staikos@kde.org>
2643 Reviewed by Tim Hatcher.
2647 * Api/qwebnetworkinterface.cpp:
2648 (QWebNetworkInterface::addJob):
2649 (QWebNetworkInterface::cancelJob):
2650 (WebCoreHttp::WebCoreHttp):
2652 2007-06-14 George Staikos <staikos@kde.org>
2656 Add evaluateJavaScript() method.
2658 * Api/qwebframe.cpp:
2659 (QWebFrame::evaluateJavaScript):
2662 2007-06-14 George Staikos <staikos@kde.org>
2666 Implement most of the editing commands, better focus handling, fix some
2667 keyboard and mouse handling, and add keyboard navigation. May be
2668 refactored later as the key switches are ugly.
2670 * Api/qwebframe.cpp:
2671 (QWebFramePrivate::init):
2672 (QWebFrame::mousePressEvent):
2673 (QWebFrame::mouseReleaseEvent):
2674 (QWebFrame::wheelEvent):
2675 (QWebFrame::keyPressEvent):
2676 (QWebFrame::keyReleaseEvent):
2677 (QWebFrame::focusInEvent):
2678 (QWebFrame::focusOutEvent):
2679 (QWebFrame::focusNextPrevChild):
2681 * Api/qwebframe_p.h:
2682 * WebCoreSupport/EditorClientQt.cpp:
2683 (WebCore::EditorClientQt::handleKeypress):
2685 2007-06-14 George Staikos <staikos@kde.org>
2689 Implement all of the Javascript dialogs and file chooser.
2690 Also makes the statusbar virtual into a signal and shuffles some
2691 virtuals around a bit. The helper in FrameLoaderClientQt may go away
2695 (QWebPagePrivate::QWebPagePrivate):
2696 (QWebPage::javaScriptAlert):
2697 (QWebPage::javaScriptConfirm):
2698 (QWebPage::javaScriptPrompt):
2699 (QWebPage::chooseFile):
2701 * WebCoreSupport/ChromeClientQt.cpp:
2702 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2703 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2704 (WebCore::ChromeClientQt::runJavaScriptAlert):
2705 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2706 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2707 (WebCore::ChromeClientQt::setStatusbarText):
2708 * WebCoreSupport/FrameLoaderClientQt.cpp:
2709 (WebCore::FrameLoaderClientQt::chooseFile):
2710 * WebCoreSupport/FrameLoaderClientQt.h:
2712 2007-06-14 Simon Hausmann <hausmann@kde.org>
2716 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
2718 HistoryItem itself doesn't seem to have a parent pointer either.
2720 * Api/qwebpagehistory.h:
2722 2007-06-14 Simon Hausmann <hausmann@kde.org>
2726 Make it possible to copy QWebHistoryItem objects.
2728 * Api/qwebpagehistory.cpp:
2729 * Api/qwebpagehistory.h:
2731 2007-06-14 Lars Knoll <lars@trolltech.com>
2735 Fix a crash when a request from the plugin resulted
2738 * Api/qwebnetworkinterface.cpp:
2739 (QWebNetworkManager::started):
2741 2007-06-14 Lars Knoll <lars@trolltech.com>
2745 Work around a bug in Qt's QHttp implementation and
2746 get web pages to load again.
2751 2007-06-13 Simon Hausmann <hausmann@kde.org>
2755 Added a make install target that installs the Qt port and renamed
2756 WebKitQt to QtWebKit
2758 * Api/headers.pri: Added.
2759 * Api/qtwebkit.prf: Added.
2761 2007-06-13 Simon Hausmann <hausmann@kde.org>
2765 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
2767 * Api/qwebnetworkinterface.cpp:
2768 * Api/qwebnetworkinterface.h:
2770 2007-06-13 Simon Hausmann <hausmann@kde.org>
2774 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
2776 * Api/qwebnetworkinterface.h:
2777 * Api/qwebobjectpluginconnector.cpp:
2778 (QWebObjectPluginConnector::requestUrl):
2779 * Api/qwebobjectpluginconnector.h:
2781 2007-06-13 Simon Hausmann <hausmann@kde.org>
2785 Added a QWebNetworkRequest convenience constructor.
2787 * Api/qwebnetworkinterface.cpp:
2788 * Api/qwebnetworkinterface.h:
2792 2007-06-13 Simon Hausmann <hausmann@kde.org>
2796 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
2797 overload to take a QWebNetworkRequest instead.
2803 2007-06-13 Simon Hausmann <hausmann@kde.org>
2807 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
2808 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
2809 pick the individual fields if we can use them.
2814 2007-06-13 Simon Hausmann <hausmann@kde.org>
2818 Minor QWebNetworkRequet API fixlet
2820 * Api/qwebnetworkinterface.cpp:
2821 * Api/qwebnetworkinterface.h:
2823 2007-06-13 Simon Hausmann <hausmann@kde.org>
2827 Use QWebNetworkRequest for QWebPage::navigationRequested.
2829 * Api/qwebnetworkinterface.cpp:
2830 * Api/qwebnetworkinterface.h:
2832 (QWebPagePrivate::navigationRequested):
2833 (QWebPage::navigationRequested):
2836 * WebCoreSupport/FrameLoaderClientQt.cpp:
2837 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2839 2007-06-13 Simon Hausmann <hausmann@kde.org>
2843 Some docs for QWebNetworkRequest
2845 * Api/qwebnetworkinterface.cpp:
2846 (QWebNetworkRequest::QWebNetworkRequest):
2847 (QWebNetworkRequest::~QWebNetworkRequest):
2849 2007-06-13 Simon Hausmann <hausmann@kde.org>
2853 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
2855 * Api/qwebnetworkinterface.h:
2856 * Api/qwebobjectpluginconnector.cpp:
2857 (QWebObjectPluginConnector::requestUrl):
2858 * Api/qwebobjectpluginconnector.h:
2860 2007-06-13 Simon Hausmann <hausmann@kde.org>
2864 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
2866 * Api/qwebnetworkinterface.cpp:
2867 (QWebNetworkJob::postData):
2868 (WebCoreHttp::WebCoreHttp):
2869 (WebCoreHttp::scheduleNextRequest):
2870 * Api/qwebnetworkinterface.h:
2872 2007-06-13 Simon Hausmann <hausmann@kde.org>
2876 Introduce QWebNetworkRequest in the public API.
2878 * Api/qwebnetworkinterface.cpp:
2879 (QWebNetworkRequestPrivate::init):
2880 * Api/qwebnetworkinterface.h:
2881 * Api/qwebnetworkinterface_p.h:
2882 * WebCoreSupport/FrameLoaderClientQt.cpp:
2883 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2885 2007-06-13 Simon Hausmann <hausmann@kde.org>
2889 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
2891 * Api/qwebnetworkinterface.cpp:
2892 (QWebNetworkManager::add):
2893 (QWebNetworkManager::started):
2894 (QWebNetworkManager::data):
2895 (QWebNetworkManager::finished):
2896 * Api/qwebnetworkinterface_p.h:
2897 * Api/qwebobjectpluginconnector.cpp:
2898 (QWebObjectPluginConnector::requestUrl):
2900 2007-06-13 Simon Hausmann <hausmann@kde.org>
2904 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
2906 * Api/qwebnetworkinterface.cpp:
2907 (QWebNetworkRequest::init):
2908 (QWebNetworkRequest::setURL):
2909 (QWebNetworkManager::add):
2910 (QWebNetworkManager::started):
2911 * Api/qwebnetworkinterface_p.h:
2912 * WebCoreSupport/FrameLoaderClientQt.cpp:
2913 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2915 2007-06-12 Lars Knoll <lars@trolltech.com>
2917 Reviewed by George Staikos.
2919 Remove duplicate symbols.
2921 * Api/qwebobjectplugin_p.h:
2923 2007-06-13 Lars Knoll <lars@trolltech.com>
2927 Fix compilation, and remove dependency on Qt
2930 * Api/qwebobjectplugin_p.h:
2931 (QWebFactoryLoader::supportsMimeType):
2933 2007-06-13 Lars Knoll <lars@trolltech.com>
2937 Parts of the patch done by Zack.
2938 Fix up some parts in the implementation of QWebNetworkInterface
2939 so it can be used by plugins.
2940 Change the plugin API so we can actually get all the information
2941 required by the JS bridge from them as well.
2943 * Api/qwebnetworkinterface.cpp:
2944 (QWebNetworkJob::cancelled):
2945 (QWebNetworkManager::cancel):
2946 (QWebNetworkManager::started):
2947 (QWebNetworkManager::finished):
2948 * Api/qwebobjectplugin.cpp:
2949 (QWebFactoryLoader::QWebFactoryLoader):
2950 (QWebFactoryLoader::descriptionForName):
2951 (QWebFactoryLoader::mimetypesForName):
2952 (QWebFactoryLoader::mimeTypeForExtension):
2953 (QWebFactoryLoader::extensions):
2954 (QWebFactoryLoader::nameForMimetype):
2955 (QWebFactoryLoader::create):
2956 (QWebObjectPlugin::descriptionForKey):
2957 (QWebObjectPlugin::mimetypesForKey):
2958 * Api/qwebobjectplugin.h:
2959 * Api/qwebobjectplugin_p.h:
2960 (QWebFactoryLoader::names):
2961 * Api/qwebobjectpluginconnector.cpp:
2962 (QWebObjectPluginConnector::requestUrl):
2964 (QWebPage::networkInterface):
2966 2007-06-11 Simon Hausmann <hausmann@kde.org>
2970 Added a QWebPage::open overload to allow specifying the http header and post data.
2971 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
2972 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
2977 2007-06-11 Simon Hausmann <hausmann@kde.org>
2981 Added the possibility to intercept url requests through QWebPage::navigationRequested.
2984 (QWebPagePrivate::QWebPagePrivate):
2985 (QWebPage::createFrame):
2988 * WebCoreSupport/FrameLoaderClientQt.cpp:
2990 2007-06-11 Simon Hausmann <hausmann@kde.org>
2994 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
2995 to be called from FrameLoaderClientQt in the near future.
2997 * Api/qwebnetworkinterface.cpp:
2998 (QWebNetworkManager::add):
2999 * Api/qwebnetworkinterface_p.h:
3001 2007-06-11 Simon Hausmann <hausmann@kde.org>
3005 Moved the postData setup into QWebNetworkRequest::init.
3007 * Api/qwebnetworkinterface.cpp:
3008 (QWebNetworkRequest::init):
3009 (QWebNetworkManager::add):
3011 2007-06-11 Simon Hausmann <hausmann@kde.org>
3015 Moved HTTP header field propagation to QWebNetworkRequest::init.
3017 * Api/qwebnetworkinterface.cpp:
3018 (QWebNetworkRequest::init):
3019 (QWebNetworkManager::add):
3021 2007-06-11 Simon Hausmann <hausmann@kde.org>
3025 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3026 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3028 * Api/qwebnetworkinterface.cpp:
3029 (QWebNetworkRequest::init):
3030 (QWebNetworkManager::add):
3031 * Api/qwebnetworkinterface_p.h:
3032 * Api/qwebobjectpluginconnector.cpp:
3033 (QWebObjectPluginConnector::requestUrl):
3035 2007-06-11 Zack Rusin <zrusin@trolltech.com>
3039 Forgot to export the plugin connector.
3041 * Api/qwebobjectpluginconnector.h
3043 2007-06-08 Lars Knoll <lars@trolltech.com>
3047 Add a QWebObjectPluginConnector class. The class will
3048 facility communication between the plugin and WebKit.
3049 Currently it's used to make the plugin network capable.
3051 * Api/qwebnetworkinterface.cpp:
3052 (QWebNetworkJobPrivate::setDefaults):
3053 (QWebNetworkManager::add):
3054 (QWebNetworkManager::started):
3055 (QWebNetworkManager::data):
3056 (QWebNetworkManager::finished):
3057 * Api/qwebnetworkinterface.h:
3058 * Api/qwebnetworkinterface_p.h:
3059 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3060 * Api/qwebobjectplugin.cpp:
3061 (QWebFactoryLoader::create):
3062 * Api/qwebobjectplugin.h:
3063 * Api/qwebobjectplugin_p.h:
3064 * Api/qwebobjectpluginconnector.cpp: Added.
3065 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3066 (QWebObjectPluginConnector::frame):
3067 (QWebObjectPluginConnector::pluginParentWidget):
3068 (QWebObjectPluginConnector::requestUrl):
3069 * Api/qwebobjectpluginconnector.h: Added.
3070 (QWebObjectPluginConnector::):
3071 * WebCoreSupport/FrameLoaderClientQt.cpp:
3072 (WebCore::FrameLoaderClientQt::createPlugin):
3074 2007-06-06 Lars Knoll <lars@trolltech.com>
3078 Add an API to create and load plugins.
3079 Don't include moc files by hand anymore, rather let
3082 * Api/qcookiejar.cpp:
3083 (QCookieJar::cookieJar):
3084 * Api/qwebframe.cpp:
3085 (QWebFrame::scrollContentsBy):
3086 * Api/qwebnetworkinterface.cpp:
3087 * Api/qwebobjectplugin.cpp: Added.
3088 (QWebFactoryLoader::QWebFactoryLoader):
3089 (QWebFactoryLoader::self):
3090 (QWebFactoryLoader::mimeTypeForExtension):
3091 (QWebFactoryLoader::create):
3092 (QWebObjectPlugin::QWebObjectPlugin):
3093 (QWebObjectPlugin::~QWebObjectPlugin):
3094 (QWebObjectPlugin::extensionsForMimetype):
3095 * Api/qwebobjectplugin.h: Added.
3096 * Api/qwebobjectplugin_p.h: Added.
3097 (QWebFactoryLoader::mimeTypes):
3098 (QWebFactoryLoader::extensions):
3099 (QWebFactoryLoader::supportsMimeType):
3101 (QWebPage::settings):
3102 * WebCoreSupport/FrameLoaderClientQt.cpp:
3103 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3104 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3105 (WebCore::FrameLoaderClientQt::objectContentType):
3106 (WebCore::FrameLoaderClientQt::createPlugin):
3108 2007-05-28 Zack Rusin <zrusin@trolltech.com>
3110 Reviewed by andersca and simon
3112 Adding public settings Api to the Qt port.
3113 QWebSetting's is a value based settings
3114 object settable on the QWebPage.
3117 (QWebPagePrivate::QWebPagePrivate):
3118 (QWebPage::QWebPage):
3119 (QWebPage::setSettings):
3120 (QWebPage::settings):
3122 * Api/qwebsettings.cpp: Added.
3123 (QWebSettingsPrivate::QWebSettingsPrivate):
3124 (QWebSettings::QWebSettings):
3125 (QWebSettings::~QWebSettings):
3126 (QWebSettings::setMinimumFontSize):
3127 (QWebSettings::minimumFontSize):
3128 (QWebSettings::setMinimumLogicalFontSize):
3129 (QWebSettings::minimumLogicalFontSize):
3130 (QWebSettings::setDefaultFontSize):
3131 (QWebSettings::defaultFontSize):
3132 (QWebSettings::setDefaultFixedFontSize):
3133 (QWebSettings::defaultFixedFontSize):
3134 (QWebSettings::setUserStyleSheetLocation):
3135 (QWebSettings::userStyleSheetLocation):
3136 (QWebSettings::setGlobal):
3137 (QWebSettings::global):
3138 (QWebSettings::setFontFamily):
3139 (QWebSettings::fontFamily):
3140 (QWebSettings::setAttribute):
3141 (QWebSettings::testAttribute):
3142 * Api/qwebsettings.h: Added.
3143 * QtLauncher/main.cpp:
3145 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
3147 Reviewed by Sam Weinig.
3149 Consolidate all notImplemented() macro definitions into
3150 one header file for all platforms.
3152 * WebCoreSupport/ChromeClientQt.cpp:
3153 * WebCoreSupport/ContextMenuClientQt.cpp:
3154 * WebCoreSupport/EditorClientQt.cpp:
3155 * WebCoreSupport/FrameLoaderClientQt.cpp:
3157 2007-05-25 George Staikos <staikos@kde.org>
3161 The http loader should only ask for .... http cookies!
3163 * Api/qwebnetworkinterface.cpp:
3164 (QWebNetworkManager::add):
3166 2007-05-24 Simon Hausmann <hausmann@kde.org>
3170 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
3171 correctly. Fortunately WebCore does it already, so there's no need
3172 for us to do it since we already transfer all HTTP header fields :)
3174 * Api/qwebnetworkinterface.cpp:
3175 (QWebNetworkManager::add):
3177 2007-05-23 Simon Hausmann <hausmann@kde.org>
3179 Reviewed by Zack, idea from Lars.
3181 Share WebCoreHttp and therefore HTTP connections among multiple
3182 QWebNetworkInterface instances by moving the code into
3185 * Api/qwebnetworkinterface.cpp:
3186 (QWebNetworkManager::addHttpJob):
3187 (QWebNetworkManager::cancelHttpJob):
3188 (QWebNetworkManager::httpConnectionClosed):
3189 (QWebNetworkInterface::addJob):
3190 (QWebNetworkInterface::cancelJob):
3191 (WebCoreHttp::scheduleNextRequest):
3192 (WebCoreHttp::onResponseHeaderReceived):
3193 (WebCoreHttp::onReadyRead):
3194 (WebCoreHttp::onRequestFinished):
3195 (WebCoreHttp::cancel):
3196 * Api/qwebnetworkinterface.h:
3197 * Api/qwebnetworkinterface_p.h:
3199 2007-05-23 Simon Hausmann <hausmann@kde.org>
3201 Reviewed by Zack, discussed also with Lars.
3203 Make it possible to specify a per-QWebPage network interface (needed
3204 for the KDE KIO integration).
3206 Merged the file and the network loader into
3207 QWebNetworkInterface(Private), which simplifies the loading code.
3209 When receiving a redirection don't emit the data of the redirected job
3210 to the document. (otherwise the kind of "This page has moved" text
3211 appears right on top of the real page content)
3213 * Api/qwebnetworkinterface.cpp:
3216 (QWebNetworkJob::QWebNetworkJob):
3217 (QWebNetworkJob::networkInterface):
3218 (QWebNetworkManager::add):
3219 (QWebNetworkManager::cancel):
3220 (QWebNetworkManager::data):
3221 (QWebNetworkManager::finished):
3222 (QWebNetworkInterfacePrivate::sendFileData):
3223 (QWebNetworkInterfacePrivate::parseDataUrl):
3224 (QWebNetworkInterfacePrivate::addHttpJob):
3225 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3226 (QWebNetworkInterface::setDefaultInterface):
3227 (QWebNetworkInterface::QWebNetworkInterface):
3228 (QWebNetworkInterface::addJob):
3229 (QWebNetworkInterface::cancelJob):
3230 (WebCoreHttp::scheduleNextRequest):
3231 (WebCoreHttp::onResponseHeaderReceived):
3232 (WebCoreHttp::onReadyRead):
3233 (WebCoreHttp::onRequestFinished):
3234 (WebCoreHttp::cancel):
3235 * Api/qwebnetworkinterface.h:
3236 * Api/qwebnetworkinterface_p.h:
3238 (QWebPagePrivate::QWebPagePrivate):
3239 (QWebPage::setNetworkInterface):
3243 2007-05-23 Lars Knoll <lars@trolltech.com>
3247 Don't do HTTP downloads in a second thread. Simplifies
3248 the code significantly and fixes crashes on some
3251 * Api/qwebnetworkinterface.cpp:
3252 (QWebNetworkManager::add):
3253 (QWebNetworkInterface::QWebNetworkInterface):
3254 (QWebNetworkInterface::addJob):
3255 (QWebNetworkInterface::cancelJob):
3256 (LoaderThread::LoaderThread):
3257 (LoaderThread::run):
3258 (WebCoreHttp::cancel):
3259 (NetworkLoader::NetworkLoader):
3260 (NetworkLoader::request):
3261 (NetworkLoader::cancel):
3262 * Api/qwebnetworkinterface_p.h:
3263 * WebCoreSupport/FrameLoaderClientQt.cpp:
3264 (WebCore::FrameLoaderClientQt::committedLoad):
3265 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3267 2007-05-23 Lars Knoll <lars@trolltech.com>
3271 * Api/qwebnetworkinterface.cpp:
3272 (QWebNetworkJobPrivate::setURL):
3273 (QWebNetworkManager::started):
3274 Fix Host: line in HTTP headers and resolving of relative URLs
3276 * Api/qwebnetworkinterface_p.h:
3277 Clean up qHash forward declaration a bit.
3279 2007-05-23 Simon Hausmann <hausmann@kde.org>
3283 * QtLauncher/main.cpp:
3284 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3286 2007-05-22 Simon Hausmann <hausmann@kde.org>
3290 * Api/qwebnetworkinterface.cpp:
3291 (QWebNetworkManager::add): Fix http headers for POST.
3293 2007-05-21 Lars Knoll <lars@trolltech.com>
3297 Remove the userHandle methods from QWebnetworkJob again.
3298 They don't really give us anything and just clutter the API.
3300 * Api/qwebnetworkinterface.cpp:
3301 * Api/qwebnetworkinterface.h:
3302 * Api/qwebnetworkinterface_p.h:
3304 2007-05-21 Simon Hausmann <hausmann@kde.org>
3308 * Api/qwebnetworkinterface.h: Export the net API.
3310 2007-05-21 Lars Knoll <lars@trolltech.com>
3314 Add an API layer for network downloads. Basically QWebnetworkInterface
3315 is an interface class for downloading resources. QWebnetworkJob describes
3316 the actual object to download.
3318 QWebNetworkInterface has a default implementation that replaces the
3319 old ResourceHandleManager class in the Qt port.
3321 * Api/qwebnetworkinterface.cpp: Added.
3322 (QWebNetworkJobPrivate::setURL):
3323 (QWebNetworkJob::QWebNetworkJob):
3324 (QWebNetworkJob::~QWebNetworkJob):
3325 (QWebNetworkJob::url):
3326 (QWebNetworkJob::postData):
3327 (QWebNetworkJob::request):
3328 (QWebNetworkJob::response):
3329 (QWebNetworkJob::setResponse):
3330 (QWebNetworkJob::cancelled):
3331 (QWebNetworkJob::ref):
3332 (QWebNetworkJob::deref):
3333 (QWebNetworkJob::setUserHandle):
3334 (QWebNetworkJob::userHandle):
3335 (QWebNetworkManager::QWebNetworkManager):
3336 (QWebNetworkManager::self):
3337 (QWebNetworkManager::add):
3338 (QWebNetworkManager::cancel):
3339 (QWebNetworkManager::started):
3340 (QWebNetworkManager::data):
3341 (QWebNetworkManager::finished):
3342 (QWebNetworkInterface::setDefaultInterface):
3343 (QWebNetworkInterface::defaultInterface):
3344 (QWebNetworkInterface::QWebNetworkInterface):
3345 (QWebNetworkInterface::~QWebNetworkInterface):
3346 (QWebNetworkInterface::addJob):
3347 (QWebNetworkInterface::cancelJob):
3348 (LoaderThread::LoaderThread):
3349 (LoaderThread::run):
3350 (FileLoader::FileLoader):
3351 (FileLoader::request):
3352 (FileLoader::sendData):
3353 (FileLoader::parseDataUrl):
3354 (WebCoreHttp::WebCoreHttp):
3355 (WebCoreHttp::~WebCoreHttp):
3356 (WebCoreHttp::request):
3357 (WebCoreHttp::scheduleNextRequest):
3358 (WebCoreHttp::getConnection):
3359 (WebCoreHttp::onResponseHeaderReceived):
3360 (WebCoreHttp::onReadyRead):
3361 (WebCoreHttp::onRequestFinished):
3362 (WebCoreHttp::onStateChanged):
3363 (WebCoreHttp::cancel):
3364 (HostInfo::HostInfo):
3367 (NetworkLoader::NetworkLoader):
3368 (NetworkLoader::~NetworkLoader):
3369 (NetworkLoader::request):
3370 (NetworkLoader::connectionClosed):
3371 (NetworkLoader::cancel):
3372 * Api/qwebnetworkinterface.h: Added.
3373 (QWebNetworkJob::setHandle):
3374 (QWebNetworkJob::handle):
3375 * Api/qwebnetworkinterface_p.h: Added.
3376 (WebCore::LoaderThread::):
3377 (WebCore::LoaderThread::waitForSetup):
3378 (WebCore::HostInfo::HostInfo):
3380 2007-05-18 Simon Hausmann <hausmann@kde.org>
3382 Reviewed by Nikolas.
3384 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3385 percent integer instead of a double precision floating pointer number.
3386 * WebCoreSupport/FrameLoaderClientQt.cpp:
3387 (WebCore::FrameLoaderClientQt::setFrame):
3388 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3389 * WebCoreSupport/FrameLoaderClientQt.h:
3391 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3393 Reviewed by Zack Rusin.
3395 The default constructed KeyboardEvent has
3396 no PlatformKeyboardEvent.
3398 * WebCoreSupport/EditorClientQt.cpp:
3399 (WebCore::EditorClientQt::handleKeypress):
3401 2007-05-17 Adam Treat <adam@staikos.net>
3403 Reviewed by George Staikos.
3405 - Implement frameLoadCompleted
3406 - Fix build (by George)
3408 * WebCoreSupport/FrameLoaderClientQt.cpp:
3409 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3410 (WebCore::FrameLoaderClientQt::createFrame):
3412 2007-05-17 Adam Treat <adam@staikos.net>
3414 Reviewed by George Staikos.
3416 Implement canShowMIMEType
3418 * WebCoreSupport/FrameLoaderClientQt.cpp:
3419 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3421 2007-05-16 Lars Knoll <lars@trolltech.com>
3425 pass the mouse events to the event handler, not the frameview.
3427 * Api/qwebframe.cpp:
3428 (QWebFrame::mouseMoveEvent):
3429 (QWebFrame::mouseReleaseEvent):
3431 2007-05-14 Lars Knoll <lars@trolltech.com>
3435 Updates after Maciej's frame change.
3439 Call stopForUserCancel() instead of stopAllLoaders()
3440 * WebCoreSupport/FrameLoaderClientQt.cpp:
3441 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3442 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3443 (WebCore::FrameLoaderClientQt::didFinishLoad):
3444 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3445 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3446 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3447 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3448 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3449 Call QWebFrame::loadDone() from the places it's supposed to be
3452 2007-05-12 Maciej Stachowiak <mjs@apple.com>
3454 Reviewed by Rob Buis.
3456 - call Frame::init as needed - this prevents crashes but pages don't appear.
3458 * Api/qwebframe.cpp:
3459 (QWebFramePrivate::init):
3460 * WebKitPart/WebKitPart.cpp:
3461 (WebKitPart::initView):
3463 2007-05-08 Steve Falkenburg <sfalken@apple.com>
3467 Slight modification to last editor method fix.
3469 * WebCoreSupport/EditorClientQt.cpp:
3470 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3471 * WebCoreSupport/EditorClientQt.h:
3473 2007-05-03 Steve Falkenburg <sfalken@apple.com>
3477 Add missing user description parameter to spelling-related editor client method.
3479 * WebCoreSupport/EditorClientQt.cpp:
3480 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3481 * WebCoreSupport/EditorClientQt.h:
3483 2007-04-29 Oliver Hunt <oliver@apple.com>
3487 Tie QT drag events to the DragController logic
3488 to allow drag and drop events to be handled by
3491 * Api/qwebframe.cpp:
3494 (QWebPagePrivate::QWebPagePrivate):
3495 (QWebPage::QWebPage):
3496 (dropActionToDragOp):
3497 (dragOpToDropAction):
3498 (QWebPage::dragEnterEvent):
3499 (QWebPage::dragLeaveEvent):
3500 (QWebPage::dragMoveEvent):
3501 (QWebPage::dropEvent):
3503 * WebCoreSupport/DragClientQt.cpp:
3504 (WebCore::DragClientQt::startDrag):
3505 * WebCoreSupport/DragClientQt.h:
3506 (WebCore::DragClientQt::DragClientQt):
3508 2007-04-27 Holger Freyther <freyther@kde.org>
3512 Remove unmaintained CMake build system.
3514 * QtLauncher/CMakeLists.txt: Removed.
3515 * WebKitPart/CMakeLists.txt: Removed.
3517 2007-04-25 Steve Falkenburg <sfalken@apple.com>
3521 Fix spelling error in spelling method name.
3523 * WebCoreSupport/EditorClientQt.cpp:
3524 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3525 * WebCoreSupport/EditorClientQt.h:
3527 2007-04-24 Steve Falkenburg <sfalken@apple.com>
3531 Spelling and grammar stubs
3533 * WebCoreSupport/EditorClientQt.cpp:
3534 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3535 (WebCore::EditorClientQt::learnWord):
3536 (WebCore::EditorClientQt::checkSpellingOfString):
3537 (WebCore::EditorClientQt::checkGrammarOfString):
3538 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
3539 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3540 (WebCore::EditorClientQt::showSpellingUI):
3541 (WebCore::EditorClientQt::spellingUIIsShowing):
3542 (WebCore::EditorClientQt::getGuessesForWord):
3543 * WebCoreSupport/EditorClientQt.h:
3545 2007-04-11 MorganL <morganl.webkit@yahoo.com>
3549 Add a Frame pointer to ChromeClient methods:
3550 http://bugs.webkit.org/show_bug.cgi?id=13127
3552 * WebCoreSupport/ChromeClientQt.cpp:
3553 (WebCore::ChromeClientQt::createWindow):
3554 (WebCore::ChromeClientQt::createModalDialog):
3555 * WebCoreSupport/ChromeClientQt.h:
3557 2007-04-12 Mark Rowe <mrowe@apple.com>
3559 Second part of Qt build fix.
3561 * WebCoreSupport/FrameLoaderClientQt.cpp:
3562 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3563 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3564 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3565 * WebCoreSupport/FrameLoaderClientQt.h:
3567 2007-03-27 Zack Rusin <zrusin@trolltech.com>
3569 Fix the rendering crashes due triggered
3570 asserts. Improve a bit the layout
3573 * Api/qwebframe.cpp:
3574 (QWebFrame::resizeEvent):
3575 (QWebFrame::paintEvent):
3576 * WebCoreSupport/FrameLoaderClientQt.cpp:
3577 (WebCore::FrameLoaderClientQt::forceLayout):
3579 2007-03-16 Lars Knoll <lars@trolltech.com>
3581 Fix the Qt build once again.
3583 * WebCoreSupport/EditorClientQt.cpp:
3584 (WebCore::EditorClientQt::handleKeypress):
3585 * WebCoreSupport/FrameLoaderClientQt.cpp:
3586 (WebCore::FrameLoaderClientQt::blockedError):
3587 * WebCoreSupport/FrameLoaderClientQt.h:
3589 2007-03-13 Lars Knoll <lars@trolltech.com>
3593 Don't try to load <object> tags with an invalid url.
3594 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
3595 which hit an assertion in the frameloader.
3597 * WebCoreSupport/FrameLoaderClientQt.cpp:
3598 (WebCore::FrameLoaderClientQt::objectContentType):
3600 2007-03-13 Lars Knoll <lars@trolltech.com>
3604 Fix some crashes in the Qt build.
3606 * Api/qwebframe.cpp:
3607 (QWebFrame::markup):
3608 Check for null pointer
3609 * WebCoreSupport/FrameLoaderClientQt.cpp:
3610 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3611 Don't use an async callback into the FrameLoader.
3612 (WebCore::FrameLoaderClientQt::createFrame):
3614 2007-03-11 Oliver Hunt <oliver@apple.com>
3618 Stub for EditorClientQt::respondToChangedSelection
3620 * WebCoreSupport/EditorClientQt.cpp:
3621 (WebCore::EditorClientQt::respondToChangedSelection):
3622 * WebCoreSupport/EditorClientQt.h:
3624 2007-03-07 Adele Peterson <adele@apple.com>
3628 WebKitQT part of fix for:
3629 http://bugs.webkit.org/show_bug.cgi?id=10871
3630 http://bugs.webkit.org/show_bug.cgi?id=12677
3631 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
3632 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
3634 * WebCoreSupport/EditorClientQt.cpp:
3635 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
3636 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
3637 * WebCoreSupport/EditorClientQt.h:
3639 2007-03-07 Darin Adler <darin@apple.com>
3641 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
3643 2007-03-07 Darin Adler <darin@apple.com>
3645 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
3646 Try to fix the build by correcting the parameter here.
3648 2007-03-02 Sam Weinig <sam@webkit.org>
3652 Try to fix the Qt build
3654 * WebCoreSupport/DragClientQt.cpp:
3655 (WebCore::DragClientQt::willPerformDragDestinationAction):
3656 (WebCore::DragClientQt::dragControllerDestroyed):
3657 (WebCore::DragClientQt::createDragImageForLink):
3659 2007-02-26 Maciej Stachowiak <mjs@apple.com>
3661 Reviewed by Kevin McCullough.
3663 - fix Qt build for earlier SVG changes.
3665 * WebCoreSupport/EditCommandQt.cpp:
3667 2007-02-24 Zack Rusin <zrusin@trolltech.com>
3669 Adjust the animation a little bit to make it more natural.
3671 * QtLauncher/main.cpp:
3672 (HoverLabel::paintEvent):
3674 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3676 Adding a little bit of eye-candy to the last
3677 commit (animations on hover events)
3679 * QtLauncher/main.cpp:
3680 (HoverLabel::HoverLabel):
3681 (HoverLabel::setHoverLink):
3682 (HoverLabel::sizeForFont):
3683 (HoverLabel::sizeHint):
3684 (HoverLabel::resetAnimation):
3685 (HoverLabel::paintEvent):
3686 (HoverLabel::interpolate):
3687 (SearchEdit::resizeEvent):
3689 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3693 Adding API and code for notification of when the
3694 mouse is hovering over a link and adding code to
3695 the sample app to showcase it.
3697 * Api/qwebframe.cpp:
3698 (QWebFrame::mouseMoveEvent):
3700 * Api/qwebframe_p.h:
3701 (QWebFramePrivate::QWebFramePrivate):
3703 (QWebPage::createFrame):
3705 * QtLauncher/main.cpp:
3706 (HoverLabel::HoverLabel):
3707 (HoverLabel::setHoverLink):
3708 (HoverLabel::sizeHint):
3709 (HoverLabel::updateSize):
3710 (HoverLabel::paintEvent):
3711 (ClearButton::ClearButton):
3712 (ClearButton::paintEvent):
3713 (SearchEdit::SearchEdit):