1 2007-11-19 Adam Treat <treat@kde.org>
5 * Don't segfault when event pos is outside of the widget.
8 (QWebPage::mouseMoveEvent):
9 (QWebPage::mousePressEvent):
10 (QWebPage::mouseDoubleClickEvent):
11 (QWebPage::mouseReleaseEvent):
12 (QWebPage::contextMenuEvent):
14 2007-11-17 Timothy Hatcher <timothy@apple.com>
16 Reviewed by Mark Rowe.
18 Bug 13470: i18n: The Web Inspector is not localizable
19 http://bugs.webkit.org/show_bug.cgi?id=13470
21 * WebCoreSupport/InspectorClientQt.cpp:
22 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
23 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
25 2007-11-13 Geoffrey Garen <ggaren@apple.com>
27 Build fix: changed Shared to RefCounted.
29 * WebCoreSupport/ChromeClientQt.h:
30 * WebCoreSupport/ContextMenuClientQt.cpp:
31 * WebCoreSupport/ContextMenuClientQt.h:
32 * WebCoreSupport/EditorClientQt.h:
33 * WebCoreSupport/FrameLoaderClientQt.h:
35 2007-11-10 Simon Hausmann <hausmann@kde.org>
39 When populating the context menu with sub-menus don't add sub-menus if they're empty.
43 (QWebPagePrivate::createContextMenu):
45 2007-11-10 Simon Hausmann <hausmann@kde.org>
49 Added support for the Bold/Italic/Underline toggle actions.
53 (webActionForContextMenuAction):
54 (QWebPage::triggerAction):
58 2007-11-10 Simon Hausmann <hausmann@kde.org>
62 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
63 to update the enable/checked state correctly.
67 (QWebPagePrivate::createContextMenu):
68 (QWebPage::contextMenuEvent):
71 2007-11-10 Simon Hausmann <hausmann@kde.org>
75 Mark the text direction actions as checkable actions.
81 2007-11-09 Simon Hausmann <hausmann@kde.org>
85 Implemented the webcore actions for changing the text direction.
89 (webActionForContextMenuAction):
90 (QWebPage::triggerAction):
94 2007-11-09 Simon Hausmann <hausmann@kde.org>
98 Fix ContextMenu allocation in the Qt port.
100 Store all items and submenus value based in ContextMenu and ContextMenuItem.
101 That fixes the crashes when the context menu was populated with sub-menus because
102 of the use of temporary ContextMenu objects like this:
104 ContextMenu subMenu(...);
105 subMenu.appendItem(...);
106 subMenu.appendItem(...);
108 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
112 (QWebPage::contextMenuEvent):
115 2007-11-09 Simon Hausmann <hausmann@kde.org>
119 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
125 2007-11-08 Kevin McCullough <kmccullough@apple.com>
129 - windowObjectCleared() is no longer const. It needs to setup the
130 script debugger and cannot be const to do so.
132 * WebCoreSupport/FrameLoaderClientQt.cpp:
133 (WebCore::FrameLoaderClientQt::windowObjectCleared):
134 * WebCoreSupport/FrameLoaderClientQt.h:
136 2007-11-08 Simon Hausmann <hausmann@kde.org>
138 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
140 The buildbots use Qt 4.4 which has the function in question, but Qt
141 4.3 doesn't have it. Use removeAll() as replacement instead, it
142 shouldn't make a difference in performance.
144 * Api/qwebsettings.cpp:
145 (QWebSettings::~QWebSettings):
147 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
149 Reviewed by Lars Knoll <lars@trolltech.com>.
151 Cleanup checking for the request method.
153 * Check the request method only in QWebNetworkManager::add.
154 * Currently HEAD, GET, POST are allowed and for everything else
155 QWebNetworkManager::add returns false.
156 * Returning false is compatible with ResourceHandle::start and it
157 can be used in ResourceHandle::loadResourceSynchronously to generate
161 * Api/qwebnetworkinterface.cpp:
162 (QWebNetworkManager::add):
164 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
166 Reviewed by Lars Knoll <lars@trolltech.com>.
168 Fix bug in the implementation of synchronous network jobs.
170 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
171 - if (jobMode == AsynchronousJob) {
172 + if (jobMode == SynchronousJob) {
173 add job to synchronous list/hash
175 * Just applying the above change will lead to crashes because we can finish
176 jobs before we started them.
178 * Avoid these issues by saving all work (starting a job, sending data and
179 finishing it) inside one list. JobWork will contain any
180 of the above three work types and doWork will just work on this list
181 (m_pendingWork). As foreach takes a copy of the list calling started, data
182 and finished will not add new work and we gurantee that if we have JobStarted
183 it will be in the list before JobData and JobFinished.
185 * Observation: We might just kill the code to handle sync jobs.
188 * Api/qwebnetworkinterface.cpp:
189 (QWebNetworkManager::add):
190 (QWebNetworkManager::queueStart):
191 (QWebNetworkManager::queueData):
192 (QWebNetworkManager::queueFinished):
193 (QWebNetworkManager::doWork):
194 * Api/qwebnetworkinterface_p.h:
195 (QWebNetworkManager::JobWork::):
196 (QWebNetworkManager::JobWork::JobWork):
198 2007-11-07 Simon Hausmann <hausmann@kde.org>
200 Build fix, reviewed by nobody.
202 Fix the Qt build by setting up WindowFeatures before calling
203 createWindow on the Chrome. This is similar to openNewWindow in
204 page/ContextMenuController.cpp
209 2007-11-07 Simon Hausmann <hausmann@kde.org>
213 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
216 (QWebPagePrivate::QWebPagePrivate):
217 * Api/qwebsettings.cpp:
218 (QWebSettingsPrivate::apply):
219 * Api/qwebsettings.h:
221 2007-11-07 Simon Hausmann <hausmann@kde.org>
225 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
227 * Api/qwebpagehistory.cpp:
228 * Api/qwebpagehistory.h:
230 2007-11-07 Simon Hausmann <hausmann@kde.org>
234 Removed unimplemented QWebHistoryItem::children() function
236 * Api/qwebpagehistory.h:
238 2007-11-07 Simon Hausmann <hausmann@kde.org>
242 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
244 * Api/qwebsettings.cpp:
245 (QWebSettings::fontSize):
246 (QWebSettings::fontFamily):
247 (QWebSettings::testAttribute):
249 2007-11-07 Simon Hausmann <hausmann@kde.org>
253 Added explicit functions for resetting the font sizes and font families.
255 * Api/qwebsettings.cpp:
256 (QWebSettings::resetFontSize):
257 (QWebSettings::resetFontFamily):
258 * Api/qwebsettings.h:
260 2007-11-07 Simon Hausmann <hausmann@kde.org>
264 Combined the font sizes accessors/setters under one setter/getter with an enum.
266 * Api/qwebsettings.cpp:
267 (QWebSettingsPrivate::QWebSettingsPrivate):
268 (QWebSettingsPrivate::apply):
269 (QWebSettings::QWebSettings):
270 (QWebSettings::setFontSize):
271 * Api/qwebsettings.h:
273 2007-11-07 Simon Hausmann <hausmann@kde.org>
277 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
281 * WebCoreSupport/FrameLoaderClientQt.cpp:
282 (WebCore::FrameLoaderClientQt::userAgent):
284 2007-11-07 Simon Hausmann <hausmann@kde.org>
288 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
291 (QWebPagePrivate::_q_webActionTriggered):
292 (QWebPage::keyPressEvent):
295 2007-11-07 Simon Hausmann <hausmann@kde.org>
299 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
303 * WebCoreSupport/ChromeClientQt.cpp:
304 (WebCore::ChromeClientQt::setWindowRect):
306 2007-11-07 Simon Hausmann <hausmann@kde.org>
310 Renamed QWebPage::webAction() to QWebPage::action()
313 (QWebPagePrivate::createContextMenu):
315 * QtLauncher/main.cpp:
316 (MainWindow::MainWindow):
318 2007-11-07 Simon Hausmann <hausmann@kde.org>
322 Removed a bunch of slots/functions that are now available through the new actions API.
327 2007-11-07 Simon Hausmann <hausmann@kde.org>
331 Added some more comments to the API after another round of API review with Lars.
335 2007-11-07 Simon Hausmann <hausmann@kde.org>
339 Moved QWebFrame::selectedText() to QWebPage::selectedText().
341 The currently selected text is a property of the page as a whole.
346 (QWebPage::selectedText):
349 2007-11-07 Simon Hausmann <hausmann@kde.org>
353 Implemented support for settings propagation.
355 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
357 * Api/qwebsettings.cpp:
358 (QWebSettingsPrivate::QWebSettingsPrivate):
359 (QWebSettingsPrivate::apply):
360 (QWebSettings::QWebSettings):
361 (QWebSettings::~QWebSettings):
362 (QWebSettings::setFontFamily):
363 * Api/qwebsettings.h:
365 2007-11-07 Simon Hausmann <hausmann@kde.org>
369 Reworked the QWebSettings API.
370 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
373 (QWebPagePrivate::QWebPagePrivate):
374 (QWebPagePrivate::~QWebPagePrivate):
375 (QWebPage::QWebPage):
378 * Api/qwebsettings.cpp:
379 (QWebSettingsPrivate::QWebSettingsPrivate):
380 (QWebSettingsPrivate::apply):
381 (QWebSettings::defaultSettings):
382 (QWebSettings::QWebSettings):
383 (QWebSettings::setMinimumFontSize):
384 (QWebSettings::setMinimumLogicalFontSize):
385 (QWebSettings::setDefaultFontSize):
386 (QWebSettings::setDefaultFixedFontSize):
387 (QWebSettings::setUserStyleSheetLocation):
388 (QWebSettings::setFontFamily):
389 (QWebSettings::fontFamily):
390 (QWebSettings::setAttribute):
391 * Api/qwebsettings.h:
392 * QtLauncher/main.cpp:
395 2007-11-07 Simon Hausmann <hausmann@kde.org>
399 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
401 * Api/qwebsettings.cpp:
402 (QWebSettings::setWebGraphic):
403 * Api/qwebsettings.h:
405 2007-11-07 Simon Hausmann <hausmann@kde.org>
409 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
411 * Api/qwebsettings.cpp:
413 2007-11-07 Simon Hausmann <hausmann@kde.org>
417 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
419 * Api/qwebsettings.cpp:
420 * Api/qwebsettings.h:
422 2007-11-07 Simon Hausmann <hausmann@kde.org>
426 Changed the webAction() accessor to not be a slot but just a public function.
430 2007-11-07 Simon Hausmann <hausmann@kde.org>
434 Implemented createWindow() in QtLauncher.
436 * QtLauncher/main.cpp:
438 (MainWindow::MainWindow):
439 (WebPage::createWindow):
441 2007-11-07 Simon Hausmann <hausmann@kde.org>
445 Implemented opening links in new windows
450 (QWebPage::webActionTriggered):
452 2007-11-07 Simon Hausmann <hausmann@kde.org>
456 Added and implemented the "OpenLink" action.
459 (webActionForContextMenuAction):
460 (QWebPage::webActionTriggered):
461 (QWebPage::webAction):
464 2007-11-07 Simon Hausmann <hausmann@kde.org>
468 Adjust the state of the reload action correctly.
471 (QWebPagePrivate::updateAction):
472 (QWebPagePrivate::updateNavigationActions):
474 2007-11-07 Simon Hausmann <hausmann@kde.org>
478 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
481 (QWebPagePrivate::updateAction):
482 (QWebPage::webAction):
483 (QWebPage::undoStack):
486 2007-11-07 Simon Hausmann <hausmann@kde.org>
490 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
492 * QtLauncher/main.cpp:
493 (MainWindow::MainWindow):
495 2007-11-07 Simon Hausmann <hausmann@kde.org>
499 Update the editor actions when the selection changes.
502 (QWebPagePrivate::updateAction):
503 (QWebPagePrivate::updateEditorActions):
505 * WebCoreSupport/EditorClientQt.cpp:
506 (WebCore::EditorClientQt::respondToChangedSelection):
508 2007-11-07 Simon Hausmann <hausmann@kde.org>
512 Added cut/copy/paste actions to the toolbar of QtLauncher
514 * QtLauncher/main.cpp:
515 (MainWindow::MainWindow):
517 2007-11-07 Simon Hausmann <hausmann@kde.org>
521 Started working on keeping the state of the navigation actions up-to-date.
524 (QWebPagePrivate::updateAction):
525 (QWebPagePrivate::updateNavigationActions):
526 (QWebPage::webAction):
528 * WebCoreSupport/FrameLoaderClientQt.cpp:
529 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
530 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
531 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
532 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
533 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
535 2007-11-07 Simon Hausmann <hausmann@kde.org>
539 Use the navigational web actions in the toolbar
541 * QtLauncher/main.cpp:
542 (MainWindow::MainWindow):
544 2007-11-07 Simon Hausmann <hausmann@kde.org>
548 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
549 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
552 (QWebPagePrivate::QWebPagePrivate):
553 (webActionForContextMenuAction):
554 (QWebPagePrivate::createContextMenu):
555 (QWebPagePrivate::_q_webActionTriggered):
556 (QWebPage::webActionTriggered):
557 (QWebPage::webAction):
558 (QWebPage::contextMenuEvent):
559 (QWebPageContext::QWebPageContext):
560 (QWebPageContext::operator=):
561 (QWebPageContext::~QWebPageContext):
562 (QWebPageContext::pos):
563 (QWebPageContext::text):
564 (QWebPageContext::linkUrl):
565 (QWebPageContext::imageUrl):
566 (QWebPageContext::image):
567 (QWebPageContext::targetFrame):
571 2007-11-07 Simon Hausmann <hausmann@kde.org>
575 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
578 (QWebPage::webActionTriggered):
579 (QWebPage::keyPressEvent):
582 2007-11-07 Simon Hausmann <hausmann@kde.org>
586 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
587 convenience methods such as cut()/copy()/paste().
591 (QWebPage::webActionTriggered):
596 2007-11-07 Simon Hausmann <hausmann@kde.org>
600 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
601 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
602 in ContextMenu::populate().
603 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
604 out of it. That menu is currently not functional anymore though.
607 (QWebPagePrivate::createContextMenu):
608 (QWebPage::contextMenuEvent):
611 2007-11-07 Simon Hausmann <hausmann@kde.org>
615 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
616 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
617 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
621 (QWebPage::contextMenuEvent):
622 * WebCoreSupport/ContextMenuClientQt.cpp:
623 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
625 2007-11-07 Simon Hausmann <hausmann@kde.org>
629 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
630 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
633 (QWebPage::mousePressEvent):
634 (QWebPage::contextMenuEvent):
637 2007-11-07 Simon Hausmann <hausmann@kde.org>
641 Turned onLoadProgressChanged into a real private slot.
644 (QWebPage::QWebPage):
648 2007-11-07 Simon Hausmann <hausmann@kde.org>
652 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
655 (QWebPagePrivate::QWebPagePrivate):
658 * Api/qwebpagehistory.cpp:
659 (QWebPageHistory::QWebPageHistory):
660 * Api/qwebpagehistory.h:
662 2007-11-07 Lars Knoll <lars@trolltech.com>
666 comments on API changes that we'd like to do.
670 2007-11-07 Simon Hausmann <hausmann@kde.org>
672 Reviewed by Lars Knoll <lars@trolltech.com>.
674 Add a QWebPage::frameCreated() signal and fix DRT
676 The removal of createFrame in QWebPage broke the re-implementation
677 in DumpRenderTree. Instead emit a frameCreated() signal and
678 connect to it in DumpRenderTree.
682 (QWebPagePrivate::createMainFrame):
684 * WebCoreSupport/FrameLoaderClientQt.cpp:
685 (WebCore::FrameLoaderClientQt::createFrame):
687 2007-11-07 Lars Knoll <lars@trolltech.com>
691 Remove QWebPage::createFrame()
693 now that QWebFrame doesn't have virtual methods anymore, there
694 is no need for a createFrame() factory method in QWebpage.
697 (QWebPagePrivate::createMainFrame):
699 * WebCoreSupport/FrameLoaderClientQt.cpp:
700 (WebCore::FrameLoaderClientQt::createFrame):
702 2007-11-07 Simon Hausmann <hausmann@kde.org>
704 Reviewed by Lars Knoll <lars@trolltech.com>.
706 Moved all the event handlers from QWebFrame into QWebPage.
708 This cleans up the public API and allows us to remove the
709 HackWebFrame hack in DumpRenderTree.
717 (QWebPagePrivate::frameAt):
718 (QWebPage::mouseMoveEvent):
719 (QWebPage::mousePressEvent):
720 (QWebPage::mouseDoubleClickEvent):
721 (QWebPage::mouseReleaseEvent):
722 (QWebPage::wheelEvent):
725 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
727 Reviewed by Lars Knoll <lars@trolltech.com>.
729 Use correct UserAgent string.
731 * Only have one User Agent String and this place is QWebPage
732 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
733 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
734 * ResourceRequest is != 0 when getting called from WebCore, we
735 will only do requests when coming from WebCore and then we can
736 use the User-Agent set with the help of the FrameLoaderClient
737 * We might want to change QWebNetworkRequest a bit
740 * Api/qwebnetworkinterface.cpp:
741 (QWebNetworkRequestPrivate::init):
743 2007-11-07 Lars Knoll <lars@trolltech.com>
747 remove two notImplemented() warnings, as I believe we don't
748 have to implement these methods. Add some (commented out)
749 debug code in one place.
751 * WebCoreSupport/EditorClientQt.cpp:
752 (WebCore::EditorClientQt::respondToChangedSelection):
753 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
755 2007-11-05 Tristan O'Tierney <tristan@apple.com>
757 Reviewed by Darin Adler.
759 * WebCoreSupport/ChromeClientQt.cpp:
760 (WebCore::ChromeClientQt::createWindow):
761 * WebCoreSupport/ChromeClientQt.h:
762 Revised to use new WebCore ChromeClient createWindow API.
764 2007-10-31 Lars Knoll <lars@trolltech.com>
768 fix most of the issues I found with Clipboard and DnD.
771 (QWebPage::dragLeaveEvent):
773 2007-10-31 Lars Knoll <lars@trolltech.com>
777 QDrag objects need to be created on the heap.
779 * WebCoreSupport/DragClientQt.cpp:
780 (WebCore::DragClientQt::startDrag):
782 2007-10-31 Lars Knoll <lars@trolltech.com>
786 a dragLeave event is not the same as cancelling a drag.
790 2007-10-26 Mark Rowe <mrowe@apple.com>
792 Build fix. Add missing #include of Platform.h.
794 * Api/qwebhistoryinterface.cpp:
796 2007-10-25 Holger Freyther <zecke@selfish.org>
798 Reviewed by Simon Hausmann <hausmann@kde.org>.
800 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
801 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
802 * This is causing some regressions...
805 * Api/qwebnetworkinterface.cpp:
806 (QWebNetworkManager::started):
807 (QWebNetworkInterface::addJob):
809 2007-10-25 Holger Freyther <zecke@selfish.org>
811 Reviewed by Simon Hausmann <hausmann@kde.org>.
813 * 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.
814 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
817 * Api/qwebnetworkinterface.cpp:
818 (QWebNetworkManager::started):
820 2007-10-25 Holger Freyther <zecke@selfish.org>
822 Reviewed by Simon Hausmann <hausmann@kde.org>.
824 * 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.
825 * Use the error message from Qt. It might or might not be translated.
828 * Api/qwebnetworkinterface.cpp:
829 (QWebNetworkJob::errorString):
830 (QWebNetworkJob::setErrorString):
831 (QWebNetworkManager::finished):
832 (QWebNetworkManager::doWork):
833 (WebCoreHttp::onRequestFinished):
834 * Api/qwebnetworkinterface.h:
835 * Api/qwebnetworkinterface_p.h:
837 2007-10-25 Holger Freyther <zecke@selfish.org>
839 Reviewed by Simon Hausmann <hausmann@kde.org>.
841 * 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.
842 * 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.
845 * Api/qwebnetworkinterface.cpp:
846 (QWebNetworkManager::doWork):
848 2007-10-25 Holger Freyther <zecke@selfish.org>
850 Reviewed by Simon Hausmann <hausmann@kde.org>.
852 * No need to initialize values in the QWebNetworkJob c'tor
853 * 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.
856 * Api/qwebnetworkinterface.cpp:
857 (QWebNetworkJob::status):
858 (QWebNetworkJob::setStatus):
859 (QWebNetworkManager::started):
860 (QWebNetworkManager::data):
861 (QWebNetworkManager::finished):
862 * Api/qwebnetworkinterface.h:
863 * Api/qwebnetworkinterface_p.h:
864 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
866 2007-10-25 Holger Freyther <zecke@selfish.org>
868 Reviewed by Simon Hausmann <hausmann@kde.org>.
870 * Consistency: Always name the jobs job.
873 * Api/qwebnetworkinterface.cpp:
874 (WebCoreHttp::onReadyRead):
875 (WebCoreHttp::onRequestFinished):
876 (WebCoreHttp::onSslErrors):
877 (WebCoreHttp::onAuthenticationRequired):
878 (WebCoreHttp::onProxyAuthenticationRequired):
880 2007-10-25 Holger Freyther <zecke@selfish.org>
882 Reviewed by Simon Hausmann <hausmann@kde.org>.
884 * 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.
885 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
888 * Api/qwebnetworkinterface.cpp:
889 (QWebNetworkJob::~QWebNetworkJob):
890 (QWebNetworkManager::QWebNetworkManager):
891 (QWebNetworkManager::self):
892 (QWebNetworkManager::add):
893 (QWebNetworkManager::started):
894 (QWebNetworkManager::finished):
895 (QWebNetworkInterfacePrivate::sendFileData):
896 (QWebNetworkInterfacePrivate::parseDataUrl):
897 (QWebNetworkManager::queueStart):
898 (QWebNetworkManager::queueData):
899 (QWebNetworkManager::queueFinished):
900 (QWebNetworkManager::doScheduleWork):
901 (QWebNetworkManager::doWork):
903 (QWebNetworkInterface::setDefaultInterface):
904 (QWebNetworkInterface::defaultInterface):
905 (QWebNetworkInterface::QWebNetworkInterface):
906 (QWebNetworkInterface::started):
907 (QWebNetworkInterface::data):
908 (QWebNetworkInterface::finished):
909 (WebCoreHttp::scheduleNextRequest):
910 (WebCoreHttp::onResponseHeaderReceived):
911 (WebCoreHttp::onReadyRead):
912 (WebCoreHttp::onRequestFinished):
913 (WebCoreHttp::cancel):
914 * Api/qwebnetworkinterface.h:
915 * Api/qwebnetworkinterface_p.h:
916 (QWebNetworkManager::):
917 (QWebNetworkManager::JobData::JobData):
918 (QWebNetworkManager::JobFinished::JobFinished):
920 2007-10-25 Holger Freyther <zecke@selfish.org>
922 Reviewed by Simon Hausmann <hausmann@kde.org>.
924 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
925 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
926 * We pass the char-decoding.html test now
929 * Api/qwebnetworkinterface.cpp:
930 (decodePercentEncoding):
931 (QWebNetworkInterfacePrivate::parseDataUrl):
933 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
935 Reviewed by Lars Knoll <lars@trolltech.com>.
937 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
940 * WebCoreSupport/EditorClientQt.cpp:
941 (WebCore::EditorClientQt::handleKeypress):
943 2007-10-24 Lars Knoll <lars@trolltech.com>
947 remove some notImplemented() warnings.
949 * WebCoreSupport/EditorClientQt.cpp:
950 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
951 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
952 (WebCore::EditorClientQt::respondToChangedSelection):
954 2007-10-24 Lars Knoll <lars@trolltech.com>
958 allow paste from DOM so we pass more test cases.
961 (QWebPage::setSettings):
963 2007-10-24 Lars Knoll <lars@trolltech.com>
967 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
970 (QWebPage::keyPressEvent):
971 (QWebPage::keyReleaseEvent):
973 2007-10-24 Lars Knoll <lars@trolltech.com>
977 some smaller fixes to the editing support in DRT. Makes another few tests pass.
979 * WebCoreSupport/EditorClientQt.cpp:
980 (qt_dump_editing_callbacks):
983 2007-10-24 Lars Knoll <lars@trolltech.com>
987 implemented support for most editing shortcuts to make contentEditable usable.
990 (QWebPage::keyPressEvent):
992 2007-10-24 Lars Knoll <lars@trolltech.com>
996 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
999 (QWebPage::focusInEvent):
1001 2007-10-24 Lars Knoll <lars@trolltech.com>
1005 Implement support for testing editing.
1007 * WebCoreSupport/EditorClientQt.cpp:
1008 (qt_dump_editing_callbacks):
1009 (qt_dump_set_accepts_editing):
1012 (WebCore::EditorClientQt::shouldDeleteRange):
1013 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1014 (WebCore::EditorClientQt::shouldBeginEditing):
1015 (WebCore::EditorClientQt::shouldEndEditing):
1016 (WebCore::EditorClientQt::shouldInsertText):
1017 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1018 (WebCore::EditorClientQt::shouldApplyStyle):
1019 (WebCore::EditorClientQt::didBeginEditing):
1020 (WebCore::EditorClientQt::respondToChangedContents):
1021 (WebCore::EditorClientQt::respondToChangedSelection):
1022 (WebCore::EditorClientQt::didEndEditing):
1023 (WebCore::EditorClientQt::shouldInsertNode):
1025 2007-10-19 Alp Toker <alp@atoker.com>
1029 GTK+ build fix enabling the new local database storage feature.
1030 There is also a prospective Qt build fix.
1032 * WebCoreSupport/ChromeClientQt.cpp:
1033 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1034 * WebCoreSupport/ChromeClientQt.h:
1036 2007-10-19 Simon Hausmann <hausmann@kde.org>
1038 Fix the Qt/Windows build: Include the moc file from the .cpp file so
1039 that config.h is included before wtf/MathExtras. The former defines
1040 the MSVC defines for rand_s.
1042 * WebCoreSupport/FrameLoaderClientQt.cpp:
1044 2007-10-19 Simon Hausmann <shausman@trolltech.com>
1048 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1050 * Api/qwebframe.cpp:
1053 2007-10-10 Alice Liu <alice.liu@apple.com>
1055 Reviewed by Geoff Garen.
1057 changes to keep the build from breaking
1059 * WebCoreSupport/FrameLoaderClientQt.cpp:
1060 (WebCore::FrameLoaderClientQt::createFrame):
1061 * WebCoreSupport/FrameLoaderClientQt.h:
1063 2007-10-09 Lars Knoll <lars@trolltech.com>
1067 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1070 (QWebPage::setSettings):
1072 2007-10-09 Lars Knoll <lars@trolltech.com>
1076 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1078 * Api/qwebnetworkinterface.cpp:
1079 (QWebNetworkManager::add):
1080 (QWebNetworkManager::cancel):
1081 (QWebNetworkManager::started):
1082 (QWebNetworkManager::data):
1083 (QWebNetworkInterfacePrivate::parseDataUrl):
1085 2007-10-09 Lars Knoll <lars@trolltech.com>
1089 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.
1092 (QWebPagePrivate::createMainFrame):
1093 (QWebPage::createFrame):
1094 * WebCoreSupport/FrameLoaderClientQt.cpp:
1095 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1096 * WebCoreSupport/FrameLoaderClientQt.h:
1098 2007-10-09 Lars Knoll <lars@trolltech.com>
1102 add a clear() method to QWebPageHistory.
1104 * Api/qwebpagehistory.cpp:
1105 (QWebPageHistory::clear):
1106 (QWebPageHistory::itemAtIndex):
1107 * Api/qwebpagehistory.h:
1109 2007-10-05 Lars Knoll <lars@trolltech.com>
1111 add proper error messages to the FrameLoaderClient.
1112 Implement ChromeClientQt::closeWindowSoon and
1113 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1114 Some fixes in DRT to make it work correctly with multiple windows.
1119 * Api/qwebnetworkinterface.cpp:
1120 (QWebNetworkManager::cancel):
1121 (QWebNetworkInterface::addJob):
1122 * WebCoreSupport/ChromeClientQt.cpp:
1123 (WebCore::ChromeClientQt::closeWindowSoon):
1124 * WebCoreSupport/FrameLoaderClientQt.cpp:
1125 (WebCore::FrameLoaderClientQt::cancelledError):
1127 (WebCore::FrameLoaderClientQt::blockedError):
1128 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1129 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1130 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1131 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1133 2007-10-03 Lars Knoll <lars@trolltech.com>
1135 Signed off by Olliej.
1137 move WebKitQt to WebKit/qt for consistency with the other ports.
1139 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1140 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1141 (QCookieJarPrivate::QCookieJarPrivate):
1143 (QCookieJar::QCookieJar):
1144 (QCookieJar::~QCookieJar):
1145 (QCookieJar::setCookies):
1146 (QCookieJar::cookies):
1147 (QCookieJar::isEnabled):
1148 (QCookieJar::setEnabled):
1150 (QCookieJar::setCookieJar):
1151 (QCookieJar::cookieJar):
1152 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1153 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1154 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1155 (QWebFramePrivate::init):
1156 (QWebFramePrivate::parentFrame):
1157 (QWebFramePrivate::horizontalScrollBar):
1158 (QWebFramePrivate::verticalScrollBar):
1159 (QWebFrame::QWebFrame):
1160 (QWebFrame::~QWebFrame):
1161 (QWebFrame::addToJSWindowObject):
1162 (QWebFrame::markup):
1163 (QWebFrame::innerText):
1164 (QWebFrame::renderTreeDump):
1168 (QWebFrame::selectedText):
1169 (QWebFrame::childFrames):
1170 (QWebFrame::verticalScrollBarPolicy):
1171 (QWebFrame::setVerticalScrollBarPolicy):
1172 (QWebFrame::horizontalScrollBarPolicy):
1173 (QWebFrame::setHorizontalScrollBarPolicy):
1174 (QWebFrame::render):
1175 (QWebFrame::layout):
1177 (QWebFrame::geometry):
1178 (QWebFrame::evaluateJavaScript):
1179 (QWebFrame::mouseMoveEvent):
1180 (QWebFrame::mousePressEvent):
1181 (QWebFrame::mouseDoubleClickEvent):
1182 (QWebFrame::mouseReleaseEvent):
1183 (QWebFrame::wheelEvent):
1184 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1185 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1186 (QWebFramePrivate::QWebFramePrivate):
1187 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1188 (WebCore::historyContains):
1189 (gCleanupInterface):
1190 (QWebHistoryInterface::setDefaultInterface):
1191 (QWebHistoryInterface::defaultInterface):
1192 (QWebHistoryInterface::QWebHistoryInterface):
1193 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1194 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1195 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1198 (QWebNetworkRequestPrivate::init):
1199 (QWebNetworkRequestPrivate::setURL):
1200 (QWebNetworkRequest::QWebNetworkRequest):
1201 (QWebNetworkRequest::operator=):
1202 (QWebNetworkRequest::~QWebNetworkRequest):
1203 (QWebNetworkRequest::url):
1204 (QWebNetworkRequest::setUrl):
1205 (QWebNetworkRequest::httpHeader):
1206 (QWebNetworkRequest::setHttpHeader):
1207 (QWebNetworkRequest::httpHeaderField):
1208 (QWebNetworkRequest::setHttpHeaderField):
1209 (QWebNetworkRequest::postData):
1210 (QWebNetworkRequest::setPostData):
1211 (QWebNetworkJob::QWebNetworkJob):
1212 (QWebNetworkJob::~QWebNetworkJob):
1213 (QWebNetworkJob::url):
1214 (QWebNetworkJob::postData):
1215 (QWebNetworkJob::httpHeader):
1216 (QWebNetworkJob::request):
1217 (QWebNetworkJob::response):
1218 (QWebNetworkJob::setResponse):
1219 (QWebNetworkJob::cancelled):
1220 (QWebNetworkJob::ref):
1221 (QWebNetworkJob::deref):
1222 (QWebNetworkJob::networkInterface):
1223 (QWebNetworkJob::frame):
1224 (QWebNetworkManager::QWebNetworkManager):
1225 (QWebNetworkManager::self):
1226 (QWebNetworkManager::add):
1227 (QWebNetworkManager::cancel):
1228 (QWebNetworkManager::started):
1229 (QWebNetworkManager::data):
1230 (QWebNetworkManager::finished):
1231 (QWebNetworkManager::addHttpJob):
1232 (QWebNetworkManager::cancelHttpJob):
1233 (QWebNetworkManager::httpConnectionClosed):
1234 (QWebNetworkInterfacePrivate::sendFileData):
1235 (QWebNetworkInterfacePrivate::parseDataUrl):
1236 (gCleanupInterface):
1237 (QWebNetworkInterface::setDefaultInterface):
1238 (QWebNetworkInterface::defaultInterface):
1239 (QWebNetworkInterface::QWebNetworkInterface):
1240 (QWebNetworkInterface::~QWebNetworkInterface):
1241 (QWebNetworkInterface::addJob):
1242 (QWebNetworkInterface::cancelJob):
1243 (WebCoreHttp::WebCoreHttp):
1244 (WebCoreHttp::~WebCoreHttp):
1245 (WebCoreHttp::request):
1246 (WebCoreHttp::scheduleNextRequest):
1247 (WebCoreHttp::getConnection):
1248 (WebCoreHttp::onResponseHeaderReceived):
1249 (WebCoreHttp::onReadyRead):
1250 (WebCoreHttp::onRequestFinished):
1251 (WebCoreHttp::onDone):
1252 (WebCoreHttp::onStateChanged):
1253 (WebCoreHttp::cancel):
1254 (WebCoreHttp::onSslErrors):
1255 (WebCoreHttp::onAuthenticationRequired):
1256 (WebCoreHttp::onProxyAuthenticationRequired):
1257 (HostInfo::HostInfo):
1258 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1259 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1260 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1261 (WebCore::HostInfo::HostInfo):
1262 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1263 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1264 (QWebFactoryLoader::QWebFactoryLoader):
1265 (QWebFactoryLoader::self):
1266 (QWebFactoryLoader::descriptionForName):
1267 (QWebFactoryLoader::mimetypesForName):
1268 (QWebFactoryLoader::mimeTypeForExtension):
1269 (QWebFactoryLoader::extensions):
1270 (QWebFactoryLoader::nameForMimetype):
1271 (QWebFactoryLoader::create):
1272 (QWebObjectPlugin::QWebObjectPlugin):
1273 (QWebObjectPlugin::~QWebObjectPlugin):
1274 (QWebObjectPlugin::descriptionForKey):
1275 (QWebObjectPlugin::mimetypesForKey):
1276 (QWebObjectPlugin::extensionsForMimetype):
1277 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1278 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1279 (QWebFactoryLoader::names):
1280 (QWebFactoryLoader::supportsMimeType):
1281 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1282 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1283 (QWebObjectPluginConnector::frame):
1284 (QWebObjectPluginConnector::pluginParentWidget):
1285 (QWebObjectPluginConnector::requestUrl):
1286 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1287 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1288 (QWebPagePrivate::QWebPagePrivate):
1289 (QWebPagePrivate::~QWebPagePrivate):
1290 (QWebPagePrivate::navigationRequested):
1291 (QWebPagePrivate::createMainFrame):
1292 (QWebPage::QWebPage):
1293 (QWebPage::~QWebPage):
1294 (QWebPage::createFrame):
1298 (QWebPage::mainFrame):
1299 (QWebPage::sizeHint):
1301 (QWebPage::history):
1303 (QWebPage::goForward):
1304 (QWebPage::goToHistoryItem):
1305 (QWebPage::javaScriptConsoleMessage):
1306 (QWebPage::javaScriptAlert):
1307 (QWebPage::javaScriptConfirm):
1308 (QWebPage::javaScriptPrompt):
1309 (QWebPage::createWindow):
1310 (QWebPage::createModalDialog):
1311 (QWebPage::createPlugin):
1312 (QWebPage::navigationRequested):
1313 (QWebPage::setWindowGeometry):
1315 (QWebPage::canCopy):
1316 (QWebPage::canPaste):
1320 (QWebPage::isModified):
1321 (QWebPage::undoStack):
1322 (dropActionToDragOp):
1323 (dragOpToDropAction):
1324 (QWebPage::resizeEvent):
1325 (QWebPage::paintEvent):
1326 (QWebPage::mouseMoveEvent):
1327 (QWebPage::mousePressEvent):
1328 (QWebPage::mouseDoubleClickEvent):
1329 (QWebPage::mouseReleaseEvent):
1330 (QWebPage::wheelEvent):
1331 (QWebPage::keyPressEvent):
1332 (QWebPage::keyReleaseEvent):
1333 (QWebPage::focusInEvent):
1334 (QWebPage::focusOutEvent):
1335 (QWebPage::focusNextPrevChild):
1336 (QWebPage::dragEnterEvent):
1337 (QWebPage::dragLeaveEvent):
1338 (QWebPage::dragMoveEvent):
1339 (QWebPage::dropEvent):
1340 (QWebPage::setNetworkInterface):
1341 (QWebPage::networkInterface):
1343 (QWebPage::setSettings):
1344 (QWebPage::settings):
1345 (QWebPage::chooseFile):
1346 (QWebPage::setNetworkProxy):
1347 (QWebPage::networkProxy):
1348 (QWebPage::userAgentStringForUrl):
1349 (QWebPage::onLoadProgressChanged):
1350 (QWebPage::totalBytes):
1351 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1352 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1353 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1354 (QWebHistoryItem::QWebHistoryItem):
1355 (QWebHistoryItem::operator=):
1356 (QWebHistoryItem::~QWebHistoryItem):
1357 (QWebHistoryItem::originalUrl):
1358 (QWebHistoryItem::currentUrl):
1359 (QWebHistoryItem::title):
1360 (QWebHistoryItem::lastVisited):
1361 (QWebHistoryItem::icon):
1362 (QWebPageHistory::QWebPageHistory):
1363 (QWebPageHistory::itemAtIndex):
1364 (QWebPageHistory::operator=):
1365 (QWebPageHistory::~QWebPageHistory):
1366 (QWebPageHistory::items):
1367 (QWebPageHistory::backItems):
1368 (QWebPageHistory::forwardItems):
1369 (QWebPageHistory::canGoBack):
1370 (QWebPageHistory::canGoForward):
1371 (QWebPageHistory::goBack):
1372 (QWebPageHistory::goForward):
1373 (QWebPageHistory::goToItem):
1374 (QWebPageHistory::backItem):
1375 (QWebPageHistory::currentItem):
1376 (QWebPageHistory::forwardItem):
1377 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1378 (QExplicitlySharedDataPointer::operator*):
1379 (QExplicitlySharedDataPointer::operator->):
1380 (QExplicitlySharedDataPointer::operator T *):
1381 (QExplicitlySharedDataPointer::operator const T *):
1382 (QExplicitlySharedDataPointer::data):
1383 (QExplicitlySharedDataPointer::constData):
1384 (QExplicitlySharedDataPointer::operator==):
1385 (QExplicitlySharedDataPointer::operator!=):
1386 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1387 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1388 (QExplicitlySharedDataPointer::operator=):
1389 (QExplicitlySharedDataPointer::operator!):
1390 (::QExplicitlySharedDataPointer):
1391 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1392 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1393 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1394 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1395 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1396 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1397 (QWebSettingsPrivate::QWebSettingsPrivate):
1398 (QWebSettings::QWebSettings):
1399 (QWebSettings::~QWebSettings):
1400 (QWebSettings::setMinimumFontSize):
1401 (QWebSettings::minimumFontSize):
1402 (QWebSettings::setMinimumLogicalFontSize):
1403 (QWebSettings::minimumLogicalFontSize):
1404 (QWebSettings::setDefaultFontSize):
1405 (QWebSettings::defaultFontSize):
1406 (QWebSettings::setDefaultFixedFontSize):
1407 (QWebSettings::defaultFixedFontSize):
1408 (QWebSettings::setUserStyleSheetLocation):
1409 (QWebSettings::userStyleSheetLocation):
1410 (QWebSettings::setIconDatabaseEnabled):
1411 (QWebSettings::iconDatabaseEnabled):
1412 (QWebSettings::setWebGraphic):
1413 (QWebSettings::webGraphic):
1414 (QWebSettings::operator=):
1415 (QWebSettings::setGlobal):
1416 (QWebSettings::global):
1417 (QWebSettings::setFontFamily):
1418 (QWebSettings::fontFamily):
1419 (QWebSettings::setAttribute):
1420 (QWebSettings::testAttribute):
1421 (loadResourcePixmap):
1422 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
1423 * ChangeLog: Renamed from WebKitQt/ChangeLog.
1424 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
1425 (IcoHeader::operator >>):
1426 (IcoHeader::BMP_INFOHDR::):
1427 (IcoHeader::operator<<):
1428 (IcoHeader::LessDifference::LessDifference):
1429 (IcoHeader::LessDifference::operator ()):
1430 (IcoHeader::loadFromDIB):
1431 (ICOHandler::ICOHandler):
1432 (ICOHandler::canRead):
1434 (ICOHandler::write):
1437 (ICOPlugin::capabilities):
1438 (ICOPlugin::create):
1439 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
1440 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
1441 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
1442 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
1443 (HoverLabel::HoverLabel):
1444 (HoverLabel::setHoverLink):
1445 (HoverLabel::sizeForFont):
1446 (HoverLabel::sizeHint):
1447 (HoverLabel::updateSize):
1448 (HoverLabel::resetAnimation):
1449 (HoverLabel::paintEvent):
1450 (HoverLabel::interpolate):
1451 (ClearButton::ClearButton):
1452 (ClearButton::paintEvent):
1453 (SearchEdit::SearchEdit):
1454 (SearchEdit::~SearchEdit):
1455 (SearchEdit::paintEvent):
1456 (SearchEdit::resizeEvent):
1457 (SearchEdit::moveEvent):
1458 (MainWindow::MainWindow):
1459 (MainWindow::changeLocation):
1460 (MainWindow::loadFinished):
1461 (MainWindow::showLinkHover):
1462 (MainWindow::resizeEvent):
1464 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
1465 (WebCore::ChromeClientQt::ChromeClientQt):
1466 (WebCore::ChromeClientQt::~ChromeClientQt):
1467 (WebCore::ChromeClientQt::setWindowRect):
1468 (WebCore::ChromeClientQt::windowRect):
1469 (WebCore::ChromeClientQt::pageRect):
1470 (WebCore::ChromeClientQt::scaleFactor):
1471 (WebCore::ChromeClientQt::focus):
1472 (WebCore::ChromeClientQt::unfocus):
1473 (WebCore::ChromeClientQt::canTakeFocus):
1474 (WebCore::ChromeClientQt::takeFocus):
1475 (WebCore::ChromeClientQt::createWindow):
1476 (WebCore::ChromeClientQt::createModalDialog):
1477 (WebCore::ChromeClientQt::show):
1478 (WebCore::ChromeClientQt::canRunModal):
1479 (WebCore::ChromeClientQt::runModal):
1480 (WebCore::ChromeClientQt::setToolbarsVisible):
1481 (WebCore::ChromeClientQt::toolbarsVisible):
1482 (WebCore::ChromeClientQt::setStatusbarVisible):
1483 (WebCore::ChromeClientQt::statusbarVisible):
1484 (WebCore::ChromeClientQt::setScrollbarsVisible):
1485 (WebCore::ChromeClientQt::scrollbarsVisible):
1486 (WebCore::ChromeClientQt::setMenubarVisible):
1487 (WebCore::ChromeClientQt::menubarVisible):
1488 (WebCore::ChromeClientQt::setResizable):
1489 (WebCore::ChromeClientQt::addMessageToConsole):
1490 (WebCore::ChromeClientQt::chromeDestroyed):
1491 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1492 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1493 (WebCore::ChromeClientQt::closeWindowSoon):
1494 (WebCore::ChromeClientQt::runJavaScriptAlert):
1495 (WebCore::ChromeClientQt::runJavaScriptConfirm):
1496 (WebCore::ChromeClientQt::runJavaScriptPrompt):
1497 (WebCore::ChromeClientQt::setStatusbarText):
1498 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
1499 (WebCore::ChromeClientQt::tabsToLinks):
1500 (WebCore::ChromeClientQt::windowResizerRect):
1501 (WebCore::ChromeClientQt::addToDirtyRegion):
1502 (WebCore::ChromeClientQt::scrollBackingStore):
1503 (WebCore::ChromeClientQt::updateBackingStore):
1504 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1505 (WebCore::ChromeClientQt::setToolTip):
1506 (WebCore::ChromeClientQt::print):
1507 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
1508 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
1509 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1510 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1511 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1512 (WebCore::ContextMenuClientQt::downloadURL):
1513 (WebCore::ContextMenuClientQt::lookUpInDictionary):
1514 (WebCore::ContextMenuClientQt::speak):
1515 (WebCore::ContextMenuClientQt::stopSpeaking):
1516 (WebCore::ContextMenuClientQt::searchWithGoogle):
1517 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
1518 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
1519 (WebCore::DragClientQt::actionMaskForDrag):
1520 (WebCore::DragClientQt::willPerformDragDestinationAction):
1521 (WebCore::DragClientQt::dragControllerDestroyed):
1522 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1523 (WebCore::DragClientQt::willPerformDragSourceAction):
1524 (WebCore::DragClientQt::startDrag):
1525 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
1526 (WebCore::DragClientQt::DragClientQt):
1527 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
1528 (EditCommandQt::EditCommandQt):
1529 (EditCommandQt::~EditCommandQt):
1530 (EditCommandQt::redo):
1531 (EditCommandQt::undo):
1532 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
1533 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
1534 (WebCore::EditorClientQt::shouldDeleteRange):
1535 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1536 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1537 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1538 (WebCore::EditorClientQt::spellCheckerDocumentTag):
1539 (WebCore::EditorClientQt::shouldBeginEditing):
1540 (WebCore::EditorClientQt::shouldEndEditing):
1541 (WebCore::EditorClientQt::shouldInsertText):
1542 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1543 (WebCore::EditorClientQt::shouldApplyStyle):
1544 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1545 (WebCore::EditorClientQt::didBeginEditing):
1546 (WebCore::EditorClientQt::respondToChangedContents):
1547 (WebCore::EditorClientQt::respondToChangedSelection):
1548 (WebCore::EditorClientQt::didEndEditing):
1549 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1550 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1551 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1552 (WebCore::EditorClientQt::isEditable):
1553 (WebCore::EditorClientQt::registerCommandForUndo):
1554 (WebCore::EditorClientQt::registerCommandForRedo):
1555 (WebCore::EditorClientQt::clearUndoRedoOperations):
1556 (WebCore::EditorClientQt::canUndo):
1557 (WebCore::EditorClientQt::canRedo):
1558 (WebCore::EditorClientQt::undo):
1559 (WebCore::EditorClientQt::redo):
1560 (WebCore::EditorClientQt::shouldInsertNode):
1561 (WebCore::EditorClientQt::pageDestroyed):
1562 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
1563 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1564 (WebCore::EditorClientQt::toggleGrammarChecking):
1565 (WebCore::EditorClientQt::handleKeypress):
1566 (WebCore::EditorClientQt::handleInputMethodKeypress):
1567 (WebCore::EditorClientQt::EditorClientQt):
1568 (WebCore::EditorClientQt::textFieldDidBeginEditing):
1569 (WebCore::EditorClientQt::textFieldDidEndEditing):
1570 (WebCore::EditorClientQt::textDidChangeInTextField):
1571 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
1572 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
1573 (WebCore::EditorClientQt::textDidChangeInTextArea):
1574 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
1575 (WebCore::EditorClientQt::learnWord):
1576 (WebCore::EditorClientQt::checkSpellingOfString):
1577 (WebCore::EditorClientQt::checkGrammarOfString):
1578 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
1579 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
1580 (WebCore::EditorClientQt::showSpellingUI):
1581 (WebCore::EditorClientQt::spellingUIIsShowing):
1582 (WebCore::EditorClientQt::getGuessesForWord):
1583 (WebCore::EditorClientQt::isEditing):
1584 (WebCore::EditorClientQt::setInputMethodState):
1585 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
1586 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
1587 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1588 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1589 (WebCore::FrameLoaderClientQt::setFrame):
1590 (WebCore::FrameLoaderClientQt::webFrame):
1591 (WebCore::FrameLoaderClientQt::callPolicyFunction):
1592 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1593 (WebCore::FrameLoaderClientQt::hasWebView):
1594 (WebCore::FrameLoaderClientQt::hasFrameView):
1595 (WebCore::FrameLoaderClientQt::hasBackForwardList):
1596 (WebCore::FrameLoaderClientQt::resetBackForwardList):
1597 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
1598 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
1599 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
1600 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
1601 (WebCore::FrameLoaderClientQt::makeDocumentView):
1602 (WebCore::FrameLoaderClientQt::makeRepresentation):
1603 (WebCore::FrameLoaderClientQt::forceLayout):
1604 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
1605 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1606 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
1607 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
1608 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
1609 (WebCore::FrameLoaderClientQt::willCloseDocument):
1610 (WebCore::FrameLoaderClientQt::detachedFromParent2):
1611 (WebCore::FrameLoaderClientQt::detachedFromParent3):
1612 (WebCore::FrameLoaderClientQt::detachedFromParent4):
1613 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
1614 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1615 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
1616 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
1617 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
1618 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
1619 (WebCore::FrameLoaderClientQt::dispatchWillClose):
1620 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1621 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1622 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1623 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1624 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1625 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1626 (WebCore::FrameLoaderClientQt::dispatchShow):
1627 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1628 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1629 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
1630 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
1631 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
1632 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
1633 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
1634 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1635 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1636 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1637 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1638 (WebCore::FrameLoaderClientQt::willChangeTitle):
1639 (WebCore::FrameLoaderClientQt::didChangeTitle):
1640 (WebCore::FrameLoaderClientQt::finishedLoading):
1641 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
1642 (WebCore::FrameLoaderClientQt::setDefersLoading):
1643 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
1644 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
1645 (WebCore::FrameLoaderClientQt::clearArchivedResources):
1646 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1647 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1648 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
1649 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1650 (WebCore::FrameLoaderClientQt::restoreViewState):
1651 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1652 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
1653 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
1654 (WebCore::FrameLoaderClientQt::didFinishLoad):
1655 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1656 (WebCore::FrameLoaderClientQt::setTitle):
1657 (WebCore::FrameLoaderClientQt::userAgent):
1658 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
1659 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1660 (WebCore::FrameLoaderClientQt::canHandleRequest):
1661 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1662 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1663 (WebCore::FrameLoaderClientQt::registerForIconNotification):
1664 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
1665 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1666 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1667 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1668 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1669 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
1670 (WebCore::FrameLoaderClientQt::canCachePage):
1671 (WebCore::FrameLoaderClientQt::setMainDocumentError):
1672 (WebCore::FrameLoaderClientQt::committedLoad):
1673 (WebCore::FrameLoaderClientQt::cancelledError):
1674 (WebCore::FrameLoaderClientQt::blockedError):
1675 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1676 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1677 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1678 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1679 (WebCore::FrameLoaderClientQt::shouldFallBack):
1680 (WebCore::FrameLoaderClientQt::createDocumentLoader):
1681 (WebCore::FrameLoaderClientQt::download):
1682 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1683 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1684 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1685 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1686 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1687 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1688 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1689 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1690 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1691 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1692 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1693 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1694 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1695 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1696 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1697 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1698 (WebCore::FrameLoaderClientQt::startDownload):
1699 (WebCore::FrameLoaderClientQt::willUseArchive):
1700 (WebCore::FrameLoaderClientQt::createFrame):
1701 (WebCore::FrameLoaderClientQt::objectContentType):
1703 (WebCore::FrameLoaderClientQt::createPlugin):
1704 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1705 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1706 (WebCore::FrameLoaderClientQt::overrideMediaType):
1707 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
1708 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
1709 (WebCore::InspectorClientQt::inspectorDestroyed):
1710 (WebCore::InspectorClientQt::createPage):
1711 (WebCore::InspectorClientQt::showWindow):
1712 (WebCore::InspectorClientQt::closeWindow):
1713 (WebCore::InspectorClientQt::attachWindow):
1714 (WebCore::InspectorClientQt::detachWindow):
1715 (WebCore::InspectorClientQt::highlight):
1716 (WebCore::InspectorClientQt::hideHighlight):
1717 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
1718 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
1719 (WebKitFactory::WebKitFactory):
1720 (WebKitFactory::~WebKitFactory):
1721 (WebKitFactory::createPartObject):
1722 (WebKitFactory::instance):
1723 (WebKitFactory::ref):
1724 (WebKitFactory::deref):
1725 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
1726 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
1727 (WebKitPart::WebKitPart):
1728 (WebKitPart::~WebKitPart):
1729 (WebKitPart::openFile):
1730 (WebKitPart::openUrl):
1731 (WebKitPart::closeUrl):
1732 (WebKitPart::parentPart):
1733 (WebKitPart::frame):
1734 (WebKitPart::initView):
1735 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
1736 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
1738 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
1739 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
1740 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
1741 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1742 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
1743 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
1744 (WebKitPartClient::WebKitPartClient):
1745 (WebKitPartClient::~WebKitPartClient):
1746 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
1747 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
1748 (WebKitPartInterface::WebKitPartInterface):
1749 (WebKitPartInterface::~WebKitPartInterface):
1750 (WebKitPartInterface::url):
1751 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
1752 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
1754 2007-10-02 Adam Treat <treat@kde.org>
1756 Reviewed by Eric Seidel.
1758 Open the requested url on the newly created window.
1759 Implement createModalDialog and provide new API for this.
1760 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
1763 (QWebPage::createModalDialog):
1765 * WebCoreSupport/ChromeClientQt.cpp:
1766 (WebCore::ChromeClientQt::createWindow):
1767 (WebCore::ChromeClientQt::createModalDialog):
1769 2007-10-02 Lars Knoll <lars@trolltech.com>
1773 Add API to retrieve the frame name from QWebFrame.
1774 Implement support for DRT::dumpChildrenAsText.
1776 * Api/qwebframe.cpp:
1780 2007-10-02 Lars Knoll <lars@trolltech.com>
1784 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1786 * Api/qwebnetworkinterface.cpp:
1787 (QWebNetworkManager::started):
1788 (QWebNetworkManager::data):
1789 (QWebNetworkManager::finished):
1790 (QWebNetworkInterfacePrivate::sendFileData):
1791 (QWebNetworkInterfacePrivate::parseDataUrl):
1792 (WebCoreHttp::scheduleNextRequest):
1793 (WebCoreHttp::onSslErrors):
1794 * QtLauncher/main.cpp:
1797 2007-10-01 Lars Knoll <lars@trolltech.com>
1801 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
1803 * WebCoreSupport/FrameLoaderClientQt.cpp:
1804 (WebCore::FrameLoaderClientQt::makeDocumentView):
1805 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1806 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1807 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1808 (WebCore::FrameLoaderClientQt::objectContentType):
1809 (WebCore::FrameLoaderClientQt::createPlugin):
1811 2007-09-30 George Staikos <staikos@kde.org>
1813 Qt build fix (OS X specific).
1815 * QtLauncher/QtLauncher.pro:
1817 2007-09-26 Mark Rowe <mrowe@apple.com>
1821 * WebCoreSupport/FrameLoaderClientQt.cpp:
1822 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
1824 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1828 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1829 LGPL'ed files contain incorrect FSF address
1831 * Api/qcookiejar.cpp:
1833 * Api/qwebframe.cpp:
1835 * Api/qwebframe_p.h:
1836 * Api/qwebhistoryinterface.cpp:
1837 * Api/qwebhistoryinterface.h:
1838 * Api/qwebkitglobal.h:
1839 * Api/qwebnetworkinterface.cpp:
1840 * Api/qwebnetworkinterface.h:
1841 * Api/qwebnetworkinterface_p.h:
1842 * Api/qwebobjectplugin.cpp:
1843 * Api/qwebobjectplugin.h:
1844 * Api/qwebobjectpluginconnector.cpp:
1845 * Api/qwebobjectpluginconnector.h:
1849 * Api/qwebpagehistory.cpp:
1850 * Api/qwebpagehistory.h:
1851 * Api/qwebsettings.cpp:
1852 * Api/qwebsettings.h:
1853 * WebCoreSupport/EditCommandQt.cpp:
1854 * WebCoreSupport/EditCommandQt.h:
1856 2007-09-25 Adam Treat <treat@kde.org>
1858 Reviewed by Simon and Lars.
1860 Modifies the addToJSWindowObject to bind js objects using the built-in
1861 kjs_window class. Make sure to protect the created runtime object from
1864 Adds a signal to QWebFrame to notify clients of the beginning of a
1865 provisional load. DRT needs this.
1867 * Api/qwebframe.cpp:
1868 (QWebFrame::addToJSWindowObject):
1870 * WebCoreSupport/FrameLoaderClientQt.cpp:
1871 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1873 2007-09-10 Qing Zhao <qing@staikos.net>
1875 Reviewed by George Staikos.
1877 Don't re-encode urls, resulting in double encoding. Fixes login to
1880 * Api/qwebnetworkinterface.cpp:
1881 (QWebNetworkRequestPrivate::init):
1882 (QWebNetworkManager::started):
1884 2007-09-08 Mark Rowe <mrowe@apple.com>
1886 Qt build fix. Move stub method implementations to the right class.
1888 * WebCoreSupport/FrameLoaderClientQt.cpp:
1889 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1891 2007-09-08 Brady Eidson <beidson@apple.com>
1893 YABF (Yet Another Build Fix)
1895 * Api/qwebsettings.cpp:
1896 (QWebSettings::iconDatabaseEnabled):
1898 2007-09-08 Brady Eidson <beidson@apple.com>
1902 * WebCoreSupport/FrameLoaderClientQt.cpp:
1903 (WebCore::FrameLoaderClient::registerForIconNotification):
1904 * WebCoreSupport/FrameLoaderClientQt.h:
1906 2007-09-08 Brady Eidson <beidson@apple.com>
1910 * WebCoreSupport/FrameLoaderClientQt.cpp:
1911 (WebCore::FrameLoaderClient::registerForIconNotification):
1912 * WebCoreSupport/FrameLoaderClientQt.h:
1914 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1916 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1918 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
1919 memory cache, or a very tiny one
1921 Keep the Qt build working with an empty stub.
1923 * WebCoreSupport/FrameLoaderClientQt.cpp:
1924 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1925 * WebCoreSupport/FrameLoaderClientQt.h:
1927 2007-09-07 George Staikos <staikos@kde.org>
1932 (QWebPage::onLoadProgressChanged):
1934 2007-09-07 Qing Zhao <qing@staikos.net>
1936 Reviewed by Anders and George.
1938 Export page size and load progress in bytes.
1941 (QWebPage::QWebPage):
1942 (QWebPage::onLoadProgressChanged):
1943 (QWebPage::totalBytes):
1944 (QWebPage::bytesReceived):
1948 2007-09-06 George Staikos <staikos@kde.org>
1952 Make popup windows work again.
1954 * WebCoreSupport/FrameLoaderClientQt.cpp:
1955 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1957 2007-09-01 Oliver Hunt <oliver@apple.com>
1961 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1963 EditorClient::setInputMethodState stub
1965 * WebCoreSupport/EditorClientQt.cpp:
1966 (WebCore::EditorClientQt::setInputMethodState):
1967 * WebCoreSupport/EditorClientQt.h:
1969 2007-08-30 Simon Hausmann <hausmann@kde.org>
1973 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
1976 (QWebPage::keyPressEvent):
1978 2007-08-30 Simon Hausmann <hausmann@kde.org>
1982 When scrolling with the keyboard don't call update() on the entire widget.
1983 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
1987 (QWebPage::keyPressEvent):
1989 2007-08-30 Simon Hausmann <hausmann@kde.org>
1993 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
1996 (QWebPage::keyPressEvent):
1998 2007-08-29 Simon Hausmann <hausmann@kde.org>
2004 * WebCoreSupport/FrameLoaderClientQt.cpp:
2005 (WebCore::FrameLoaderClientQt::objectContentType):
2007 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
2009 Reviewed by George Staikos.
2011 Don't export ICO symbols.
2013 * Plugins/Plugins.pro:
2015 2007-08-19 George Staikos <staikos@kde.org>
2019 * WebCoreSupport/FrameLoaderClientQt.cpp:
2020 (WebCore::FrameLoaderClientQt::createPlugin):
2021 * WebCoreSupport/FrameLoaderClientQt.h:
2023 2007-08-10 Lars Knoll <lars@trolltech.com>
2025 Reviewed and landed by Simon.
2027 Limit the set of properties from the computed style to apply to Qt
2028 plugin widgets, as only a few of them make sense.
2030 * WebCoreSupport/FrameLoaderClientQt.cpp:
2033 2007-08-10 Lars Knoll <lars@trolltech.com>
2037 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2040 (QWebPage::createPlugin):
2042 * WebCoreSupport/FrameLoaderClientQt.cpp:
2043 (WebCore::FrameLoaderClientQt::objectContentType):
2044 (WebCore::FrameLoaderClientQt::createPlugin):
2046 2007-08-10 Simon Hausmann <hausmann@kde.org>
2050 Added support for network jobs from Qt resources using the qrc protocol.
2052 * Api/qwebnetworkinterface.cpp:
2053 (QWebNetworkInterface::addJob):
2055 2007-08-10 Simon Hausmann <hausmann@kde.org>
2059 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2060 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2062 * WebCoreSupport/FrameLoaderClientQt.cpp:
2063 (WebCore::FrameLoaderClientQt::objectContentType):
2065 (WebCore::FrameLoaderClientQt::createPlugin):
2067 2007-08-10 Simon Hausmann <hausmann@kde.org>
2071 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2072 and fixed widget embedding by setting the right QWidget parent.
2075 (QWebPage::createPlugin):
2077 * WebCoreSupport/FrameLoaderClientQt.cpp:
2078 (WebCore::FrameLoaderClientQt::objectContentType):
2079 (WebCore::FrameLoaderClientQt::createPlugin):
2081 2007-08-02 George Staikos <staikos@kde.org>
2085 Add an interface for the useragent string.
2088 (QWebPage::userAgentStringForUrl):
2090 * WebCoreSupport/FrameLoaderClientQt.cpp:
2091 (WebCore::FrameLoaderClientQt::userAgent):
2093 2007-08-01 Adam Treat <treat@kde.org>
2095 Reviewed by George Staikos.
2097 Add an interface to manage global history for clients
2100 * Api/qwebhistoryinterface.cpp: Added.
2101 (WebCore::historyContains):
2102 (gCleanupInterface):
2103 (QWebHistoryInterface::setDefaultInterface):
2104 (QWebHistoryInterface::defaultInterface):
2105 (QWebHistoryInterface::QWebHistoryInterface):
2106 * Api/qwebhistoryinterface.h: Added.
2108 2007-07-30 Adam Treat <treat@kde.org>
2112 * WebCoreSupport/EditorClientQt.cpp:
2113 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2114 * WebCoreSupport/EditorClientQt.h:
2116 2007-07-30 Simon Hausmann <hausmann@kde.org>
2120 Link QtLauncher into $$OUTPUT_DIR/bin
2122 * QtLauncher/QtLauncher.pro:
2124 2007-07-29 Adam Treat <treat@kde.org>
2126 Reviewed by George Staikos.
2128 Change QWebPage::paintEvent to draw using the individual rects provided
2129 via the QRegion and set the widget to use opaque paint events.
2131 These changes greatly reduce the cpu load as we are no longer painting the
2132 entire page for each 1px scroll :P
2134 * Api/qwebframe.cpp:
2135 (QWebFrame::render):
2137 (QWebPage::QWebPage):
2138 (QWebPage::paintEvent):
2139 * WebCoreSupport/ChromeClientQt.cpp:
2140 (WebCore::ChromeClientQt::addToDirtyRegion):
2142 2007-07-29 Adam Treat <treat@kde.org>
2144 Reviewed by Alexey Proskuryakov.
2146 Respect the margins when creating frames.
2147 Set the scroll mode to always off like we did before the rendered
2148 frames patch and the other ports do now.
2150 * Api/qwebframe.cpp:
2151 (QWebFramePrivate::init):
2153 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2157 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2159 * QtLauncher/QtLauncher.pro:
2161 2007-07-27 Simon Hausmann <hausmann@kde.org>
2165 Fix compilation with MSVC.
2167 * Api/qwebpagehistory.cpp:
2168 (QWebPageHistory::operator=):
2169 * Api/qwebpagehistory.h:
2170 * Api/qwebsettings.cpp:
2171 (QWebSettings::operator=):
2172 * Api/qwebsettings.h:
2174 2007-07-26 Qing Zhao <qing@staikos.net>
2176 Reviewed by George Staikos.
2178 Add a signal for history notification.
2181 * WebCoreSupport/FrameLoaderClientQt.cpp:
2183 2007-07-24 Adam Treat <treat@kde.org>
2185 Reviewed by Niko and Lars.
2187 These are no longer necessary or used.
2189 * WebCoreSupport/FrameLoaderClientQt.cpp:
2190 * WebCoreSupport/FrameLoaderClientQt.h:
2192 2007-07-20 Adam Treat <adam@staikos.net>
2194 Reviewed by George Staikos.
2196 Add a signal for first layout and add the action type for the policy
2200 (QWebPagePrivate::navigationRequested):
2201 (QWebPage::navigationRequested):
2204 * WebCoreSupport/FrameLoaderClientQt.cpp:
2205 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2206 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2208 2007-07-19 Adam Treat <treat@kde.org>
2212 Do a recursive layout on the frame's children. This fixes a
2213 segfault found when rendering some framesets.
2215 * Api/qwebframe.cpp:
2216 (QWebFrame::render):
2217 (QWebFrame::layout):
2220 2007-07-18 Timothy Hatcher <timothy@apple.com>
2224 Make the Page with the now required InspectorClient.
2227 (QWebPagePrivate::QWebPagePrivate):
2228 * WebKitPart/WebKitPart.cpp:
2229 (WebKitPart::initView):
2231 2007-07-18 Sam Weinig <sam@webkit.org>
2235 * Api/qwebnetworkinterface.cpp:
2236 (QWebNetworkManager::started):
2237 * WebCoreSupport/FrameLoaderClientQt.cpp:
2238 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2239 (WebCore::FrameLoaderClientQt::objectContentType):
2241 2007-07-18 Lars Knoll <lars@trolltech.com>
2243 Reviewed by Zack & Simon
2245 Reallow setting of scrollbar policies on QWebFrame.
2247 * Api/qwebframe.cpp:
2248 (QWebFrame::verticalScrollBarPolicy):
2249 (QWebFrame::setVerticalScrollBarPolicy):
2250 (QWebFrame::horizontalScrollBarPolicy):
2253 2007-07-17 Adam Treat <treat@kde.org>
2257 * WebCoreSupport/FrameLoaderClientQt.cpp:
2258 (WebCore::FrameLoaderClientQt::createFrame):
2260 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2262 Blind build fix for Qt after r24366 by adding the additional
2263 WebCore::ResourceRequest& parameter to the download method.
2265 * WebCoreSupport/FrameLoaderClientQt.cpp:
2266 (WebCore::FrameLoaderClientQt::download):
2267 * WebCoreSupport/FrameLoaderClientQt.h:
2269 2007-07-17 Adam Roben <aroben@apple.com>
2271 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2275 * WebCoreSupport/ContextMenuClientQt.cpp:
2276 * WebCoreSupport/ContextMenuClientQt.h:
2278 2007-07-16 Adam Roben <aroben@apple.com>
2280 Updated ChromeClientQt for ChromeClient changes.
2284 * WebCoreSupport/ChromeClientQt.cpp:
2285 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2286 * WebCoreSupport/ChromeClientQt.h: Ditto.
2288 2007-07-13 Mark Rowe <mrowe@apple.com>
2292 Build fix. Stub out ChromeClientQt::print.
2294 * WebCoreSupport/ChromeClientQt.cpp:
2295 (WebCore::ChromeClientQt::print):
2296 * WebCoreSupport/ChromeClientQt.h:
2298 2007-07-12 George Staikos <staikos@kde.org>
2300 Qt build fix for assertions.
2302 * Api/qwebnetworkinterface.cpp:
2303 (QWebNetworkManager::add):
2305 2007-07-12 George Staikos <staikos@kde.org>
2309 * Api/qwebnetworkinterface.cpp:
2310 (QWebNetworkManager::add):
2312 2007-07-10 Mark Rowe <mrowe@apple.com>
2314 Qt build fix after r24126.
2316 * Api/qwebframe.cpp:
2317 (QWebFrame::evaluateJavaScript):
2319 2007-07-10 Eli Fidler <eli@staikos.net>
2321 Reviewed by George Staikos.
2323 Properly url-decode data urls.
2325 * Api/qwebnetworkinterface.cpp:
2326 (QWebNetworkInterfacePrivate::parseDataUrl):
2328 2007-07-09 Adam Treat <adam@staikos.net>
2330 Reviewed by George Staikos.
2332 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2335 * Api/qwebframe.cpp:
2336 (QWebFramePrivate::init):
2337 (QWebFramePrivate::parentFrame):
2338 (QWebFrame::QWebFrame):
2339 (QWebFrame::render):
2341 (QWebFrame::geometry):
2342 (QWebFrame::evaluateJavaScript):
2343 (QWebFrame::mouseMoveEvent):
2344 (QWebFrame::mousePressEvent):
2345 (QWebFrame::mouseDoubleClickEvent):
2346 (QWebFrame::mouseReleaseEvent):
2347 (QWebFrame::wheelEvent):
2349 * Api/qwebobjectpluginconnector.cpp:
2350 (QWebObjectPluginConnector::pluginParentWidget):
2352 (QWebPagePrivate::QWebPagePrivate):
2353 (QWebPagePrivate::createMainFrame):
2354 (QWebPage::QWebPage):
2355 (QWebPage::javaScriptAlert):
2356 (QWebPage::javaScriptConfirm):
2357 (QWebPage::javaScriptPrompt):
2358 (QWebPage::resizeEvent):
2359 (QWebPage::paintEvent):
2360 (QWebPage::mouseMoveEvent):
2361 (QWebPage::mousePressEvent):
2362 (QWebPage::mouseDoubleClickEvent):
2363 (QWebPage::mouseReleaseEvent):
2364 (QWebPage::wheelEvent):
2365 (QWebPage::keyPressEvent):
2366 (QWebPage::keyReleaseEvent):
2367 (QWebPage::focusInEvent):
2368 (QWebPage::focusOutEvent):
2369 (QWebPage::focusNextPrevChild):
2370 (QWebPage::chooseFile):
2373 * WebCoreSupport/ChromeClientQt.cpp:
2374 (WebCore::ChromeClientQt::addToDirtyRegion):
2376 2007-07-09 George Staikos <staikos@kde.org>
2378 Fix a minor memory leak in the loader.
2380 * Api/qwebnetworkinterface.cpp:
2381 (gCleanupInterface):
2382 (QWebNetworkInterface::setDefaultInterface):
2383 (QWebNetworkInterface::defaultInterface):
2385 2007-07-09 George Staikos <staikos@kde.org>
2387 Fix a massive memory leak in the loader.
2389 * Api/qwebnetworkinterface.cpp:
2390 (QWebNetworkManager::httpConnectionClosed):
2391 (WebCoreHttp::~WebCoreHttp):
2393 2007-07-09 George Staikos <staikos@kde.org>
2397 Rework much of the HTTP stuff to make it more stable, and add SSL and
2398 proxy support. Major memory leak also discovered but it needs more
2399 research as the obvious fix causes crashes.
2401 * Api/qwebnetworkinterface.cpp:
2402 (QWebNetworkManager::add):
2403 (QWebNetworkManager::started):
2404 (QWebNetworkManager::data):
2405 (WebCoreHttp::WebCoreHttp):
2406 (WebCoreHttp::~WebCoreHttp):
2407 (WebCoreHttp::request):
2408 (WebCoreHttp::scheduleNextRequest):
2409 (WebCoreHttp::getConnection):
2410 (WebCoreHttp::onResponseHeaderReceived):
2411 (WebCoreHttp::onReadyRead):
2412 (WebCoreHttp::onRequestFinished):
2413 (WebCoreHttp::onDone):
2414 (WebCoreHttp::onStateChanged):
2415 (WebCoreHttp::onSslErrors):
2416 (WebCoreHttp::onAuthenticationRequired):
2417 (WebCoreHttp::onProxyAuthenticationRequired):
2418 * Api/qwebnetworkinterface.h:
2419 * Api/qwebnetworkinterface_p.h:
2420 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2422 2007-07-06 Adam Treat <adam@staikos.net>
2424 Reviewed by George Staikos.
2426 Convert QWebFrame to a QFrame from a scroll area.
2428 * Api/qwebframe.cpp:
2429 (QWebFramePrivate::init):
2430 (QWebFramePrivate::parentFrame):
2431 (QWebFramePrivate::horizontalScrollBar):
2432 (QWebFramePrivate::verticalScrollBar):
2433 (QWebFrame::QWebFrame):
2434 (QWebFrame::resizeEvent):
2435 (QWebFrame::suppressScrollbars):
2436 (QWebFrame::paintEvent):
2437 (QWebFrame::mouseMoveEvent):
2438 (QWebFrame::mousePressEvent):
2439 (QWebFrame::mouseDoubleClickEvent):
2440 (QWebFrame::mouseReleaseEvent):
2441 (QWebFrame::wheelEvent):
2442 (QWebFrame::keyPressEvent):
2443 (QWebFrame::focusInEvent):
2444 (QWebFrame::focusOutEvent):
2445 (QWebFrame::evaluateJavaScript):
2447 * Api/qwebframe_p.h:
2448 * Api/qwebobjectpluginconnector.cpp:
2449 (QWebObjectPluginConnector::pluginParentWidget):
2451 2007-07-04 Adam Roben <aroben@apple.com>
2453 Added a stub for ChromeClientQt::setToolTip
2457 * WebCoreSupport/ChromeClientQt.cpp:
2458 (WebCore::ChromeClientQt::setToolTip):
2459 * WebCoreSupport/ChromeClientQt.h:
2461 2007-07-04 Adam Roben <aroben@apple.com>
2463 Added a stub for ChromeClientQt::mouseDidMoveOverElement
2467 * WebCoreSupport/ChromeClientQt.cpp:
2468 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2469 * WebCoreSupport/ChromeClientQt.h:
2471 2007-06-28 Simon Hausmann <hausmann@kde.org>
2475 Propagate mouse double click events from Qt to WebCore.
2477 * Api/qwebframe.cpp:
2478 (QWebFrame::mouseDoubleClickEvent):
2481 2007-06-28 Simon Hausmann <hausmann@kde.org>
2485 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
2489 (QWebPage::canCopy):
2490 (QWebPage::canPaste):
2495 * WebCoreSupport/EditorClientQt.cpp:
2497 2007-06-27 George Staikos <staikos@kde.org>
2499 Compile with various Qt configurations.
2501 * Api/qwebnetworkinterface.cpp:
2502 (WebCoreHttp::scheduleNextRequest):
2504 (QWebPage::javaScriptPrompt):
2505 (QWebPage::dragEnterEvent):
2506 (QWebPage::dragLeaveEvent):
2507 (QWebPage::dragMoveEvent):
2508 (QWebPage::dropEvent):
2509 (QWebPage::chooseFile):
2512 * WebCoreSupport/DragClientQt.cpp:
2513 (WebCore::DragClientQt::startDrag):
2515 2007-06-27 Eli Fidler <eli@staikos.net>
2517 Reviewed by George Staikos.
2519 Check for QT_NO_IMAGE_TEXT and compile either way.
2521 * Plugins/ICOHandler.cpp:
2524 2007-06-27 Eli Fidler <eli@staikos.net>
2526 Reviewed by George Staikos.
2528 Remove QT3_SUPPORT dependency in the ICO plugin.
2530 * Plugins/ICOHandler.cpp:
2531 (IcoHeader::loadFromDIB):
2533 2007-06-25 George Staikos <staikos@kde.org>
2537 Start to add proxy and SSL support to WebKit Qt. Proxy works
2538 unauthenticated. Added hooks to be able to add authentication.
2539 Also fixes some network errors.
2541 * Api/qwebnetworkinterface.cpp:
2542 (QWebNetworkRequestPrivate::setURL):
2543 (QWebNetworkJob::frame):
2544 (WebCoreHttp::WebCoreHttp):
2545 (WebCoreHttp::scheduleNextRequest):
2546 (WebCoreHttp::onRequestFinished):
2547 (WebCoreHttp::onDone):
2548 (WebCoreHttp::onSslErrors):
2549 (WebCoreHttp::onAuthenticationRequired):
2550 (WebCoreHttp::onProxyAuthenticationRequired):
2551 * Api/qwebnetworkinterface.h:
2552 * Api/qwebnetworkinterface_p.h:
2554 (QWebPage::setNetworkProxy):
2555 (QWebPage::networkProxy):
2559 2007-06-21 Adam Treat <adam@staikos.net>
2561 Reviewed by George Staikos.
2563 Implement the default resources on Qt.
2567 * Api/qwebsettings.cpp:
2568 (QWebSettings::setWebGraphic):
2569 (QWebSettings::webGraphic):
2570 (loadResourcePixmap):
2571 * Api/qwebsettings.h:
2573 2007-06-15 Adam Treat <adam@staikos.net>
2575 Reviewed by George Staikos.
2577 Add ICO support to the Qt build.
2582 * Api/qwebsettings.cpp:
2583 (QWebSettings::setIconDatabaseEnabled):
2584 (QWebSettings::iconDatabaseEnabled):
2585 * Api/qwebsettings.h:
2587 * Plugins/ICOHandler.cpp: Added.
2588 (IcoHeader::operator >>):
2589 (IcoHeader::BMP_INFOHDR::):
2590 (IcoHeader::operator<<):
2591 (IcoHeader::LessDifference::LessDifference):
2592 (IcoHeader::LessDifference::operator ()):
2593 (IcoHeader::loadFromDIB):
2594 (ICOHandler::ICOHandler):
2595 (ICOHandler::canRead):
2597 (ICOHandler::write):
2600 (ICOPlugin::capabilities):
2601 (ICOPlugin::create):
2602 * Plugins/ICOHandler.h: Added.
2603 * Plugins/Plugins.pro: Added.
2604 * WebCoreSupport/FrameLoaderClientQt.cpp:
2605 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2607 2007-06-15 George Staikos <staikos@kde.org>
2609 Fixing the Qt build.
2611 * WebCoreSupport/ContextMenuClientQt.cpp:
2612 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
2613 * WebCoreSupport/ContextMenuClientQt.h:
2615 2007-06-20 Adam Roben <aroben@apple.com>
2617 More speculative Qt build fixes.
2619 Add a stub implementation of InspectorClientQt.
2621 * WebCoreSupport/InspectorClientQt.cpp: Added.
2622 (WebCore::InspectorClientQt::inspectorDestroyed):
2623 (WebCore::InspectorClientQt::createPage):
2624 (WebCore::InspectorClientQt::showWindow):
2625 (WebCore::InspectorClientQt::closeWindow):
2626 (WebCore::InspectorClientQt::attachWindow):
2627 (WebCore::InspectorClientQt::detachWindow):
2628 (WebCore::InspectorClientQt::highlight):
2629 (WebCore::InspectorClientQt::hideHighlight):
2630 * WebCoreSupport/InspectorClientQt.h: Added.
2632 2007-06-19 George Staikos <staikos@kde.org>
2634 Reviewed by Tim Hatcher.
2638 * Api/qwebnetworkinterface.cpp:
2639 (QWebNetworkInterface::addJob):
2640 (QWebNetworkInterface::cancelJob):
2641 (WebCoreHttp::WebCoreHttp):
2643 2007-06-14 George Staikos <staikos@kde.org>
2647 Add evaluateJavaScript() method.
2649 * Api/qwebframe.cpp:
2650 (QWebFrame::evaluateJavaScript):
2653 2007-06-14 George Staikos <staikos@kde.org>
2657 Implement most of the editing commands, better focus handling, fix some
2658 keyboard and mouse handling, and add keyboard navigation. May be
2659 refactored later as the key switches are ugly.
2661 * Api/qwebframe.cpp:
2662 (QWebFramePrivate::init):
2663 (QWebFrame::mousePressEvent):
2664 (QWebFrame::mouseReleaseEvent):
2665 (QWebFrame::wheelEvent):
2666 (QWebFrame::keyPressEvent):
2667 (QWebFrame::keyReleaseEvent):
2668 (QWebFrame::focusInEvent):
2669 (QWebFrame::focusOutEvent):
2670 (QWebFrame::focusNextPrevChild):
2672 * Api/qwebframe_p.h:
2673 * WebCoreSupport/EditorClientQt.cpp:
2674 (WebCore::EditorClientQt::handleKeypress):
2676 2007-06-14 George Staikos <staikos@kde.org>
2680 Implement all of the Javascript dialogs and file chooser.
2681 Also makes the statusbar virtual into a signal and shuffles some
2682 virtuals around a bit. The helper in FrameLoaderClientQt may go away
2686 (QWebPagePrivate::QWebPagePrivate):
2687 (QWebPage::javaScriptAlert):
2688 (QWebPage::javaScriptConfirm):
2689 (QWebPage::javaScriptPrompt):
2690 (QWebPage::chooseFile):
2692 * WebCoreSupport/ChromeClientQt.cpp:
2693 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2694 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2695 (WebCore::ChromeClientQt::runJavaScriptAlert):
2696 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2697 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2698 (WebCore::ChromeClientQt::setStatusbarText):
2699 * WebCoreSupport/FrameLoaderClientQt.cpp:
2700 (WebCore::FrameLoaderClientQt::chooseFile):
2701 * WebCoreSupport/FrameLoaderClientQt.h:
2703 2007-06-14 Simon Hausmann <hausmann@kde.org>
2707 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
2709 HistoryItem itself doesn't seem to have a parent pointer either.
2711 * Api/qwebpagehistory.h:
2713 2007-06-14 Simon Hausmann <hausmann@kde.org>
2717 Make it possible to copy QWebHistoryItem objects.
2719 * Api/qwebpagehistory.cpp:
2720 * Api/qwebpagehistory.h:
2722 2007-06-14 Lars Knoll <lars@trolltech.com>
2726 Fix a crash when a request from the plugin resulted
2729 * Api/qwebnetworkinterface.cpp:
2730 (QWebNetworkManager::started):
2732 2007-06-14 Lars Knoll <lars@trolltech.com>
2736 Work around a bug in Qt's QHttp implementation and
2737 get web pages to load again.
2742 2007-06-13 Simon Hausmann <hausmann@kde.org>
2746 Added a make install target that installs the Qt port and renamed
2747 WebKitQt to QtWebKit
2749 * Api/headers.pri: Added.
2750 * Api/qtwebkit.prf: Added.
2752 2007-06-13 Simon Hausmann <hausmann@kde.org>
2756 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
2758 * Api/qwebnetworkinterface.cpp:
2759 * Api/qwebnetworkinterface.h:
2761 2007-06-13 Simon Hausmann <hausmann@kde.org>
2765 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
2767 * Api/qwebnetworkinterface.h:
2768 * Api/qwebobjectpluginconnector.cpp:
2769 (QWebObjectPluginConnector::requestUrl):
2770 * Api/qwebobjectpluginconnector.h:
2772 2007-06-13 Simon Hausmann <hausmann@kde.org>
2776 Added a QWebNetworkRequest convenience constructor.
2778 * Api/qwebnetworkinterface.cpp:
2779 * Api/qwebnetworkinterface.h:
2783 2007-06-13 Simon Hausmann <hausmann@kde.org>
2787 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
2788 overload to take a QWebNetworkRequest instead.
2794 2007-06-13 Simon Hausmann <hausmann@kde.org>
2798 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
2799 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
2800 pick the individual fields if we can use them.
2805 2007-06-13 Simon Hausmann <hausmann@kde.org>
2809 Minor QWebNetworkRequet API fixlet
2811 * Api/qwebnetworkinterface.cpp:
2812 * Api/qwebnetworkinterface.h:
2814 2007-06-13 Simon Hausmann <hausmann@kde.org>
2818 Use QWebNetworkRequest for QWebPage::navigationRequested.
2820 * Api/qwebnetworkinterface.cpp:
2821 * Api/qwebnetworkinterface.h:
2823 (QWebPagePrivate::navigationRequested):
2824 (QWebPage::navigationRequested):
2827 * WebCoreSupport/FrameLoaderClientQt.cpp:
2828 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2830 2007-06-13 Simon Hausmann <hausmann@kde.org>
2834 Some docs for QWebNetworkRequest
2836 * Api/qwebnetworkinterface.cpp:
2837 (QWebNetworkRequest::QWebNetworkRequest):
2838 (QWebNetworkRequest::~QWebNetworkRequest):
2840 2007-06-13 Simon Hausmann <hausmann@kde.org>
2844 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
2846 * Api/qwebnetworkinterface.h:
2847 * Api/qwebobjectpluginconnector.cpp:
2848 (QWebObjectPluginConnector::requestUrl):
2849 * Api/qwebobjectpluginconnector.h:
2851 2007-06-13 Simon Hausmann <hausmann@kde.org>
2855 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
2857 * Api/qwebnetworkinterface.cpp:
2858 (QWebNetworkJob::postData):
2859 (WebCoreHttp::WebCoreHttp):
2860 (WebCoreHttp::scheduleNextRequest):
2861 * Api/qwebnetworkinterface.h:
2863 2007-06-13 Simon Hausmann <hausmann@kde.org>
2867 Introduce QWebNetworkRequest in the public API.
2869 * Api/qwebnetworkinterface.cpp:
2870 (QWebNetworkRequestPrivate::init):
2871 * Api/qwebnetworkinterface.h:
2872 * Api/qwebnetworkinterface_p.h:
2873 * WebCoreSupport/FrameLoaderClientQt.cpp:
2874 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2876 2007-06-13 Simon Hausmann <hausmann@kde.org>
2880 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
2882 * Api/qwebnetworkinterface.cpp:
2883 (QWebNetworkManager::add):
2884 (QWebNetworkManager::started):
2885 (QWebNetworkManager::data):
2886 (QWebNetworkManager::finished):
2887 * Api/qwebnetworkinterface_p.h:
2888 * Api/qwebobjectpluginconnector.cpp:
2889 (QWebObjectPluginConnector::requestUrl):
2891 2007-06-13 Simon Hausmann <hausmann@kde.org>
2895 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
2897 * Api/qwebnetworkinterface.cpp:
2898 (QWebNetworkRequest::init):
2899 (QWebNetworkRequest::setURL):
2900 (QWebNetworkManager::add):
2901 (QWebNetworkManager::started):
2902 * Api/qwebnetworkinterface_p.h:
2903 * WebCoreSupport/FrameLoaderClientQt.cpp:
2904 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2906 2007-06-12 Lars Knoll <lars@trolltech.com>
2908 Reviewed by George Staikos.
2910 Remove duplicate symbols.
2912 * Api/qwebobjectplugin_p.h:
2914 2007-06-13 Lars Knoll <lars@trolltech.com>
2918 Fix compilation, and remove dependency on Qt
2921 * Api/qwebobjectplugin_p.h:
2922 (QWebFactoryLoader::supportsMimeType):
2924 2007-06-13 Lars Knoll <lars@trolltech.com>
2928 Parts of the patch done by Zack.
2929 Fix up some parts in the implementation of QWebNetworkInterface
2930 so it can be used by plugins.
2931 Change the plugin API so we can actually get all the information
2932 required by the JS bridge from them as well.
2934 * Api/qwebnetworkinterface.cpp:
2935 (QWebNetworkJob::cancelled):
2936 (QWebNetworkManager::cancel):
2937 (QWebNetworkManager::started):
2938 (QWebNetworkManager::finished):
2939 * Api/qwebobjectplugin.cpp:
2940 (QWebFactoryLoader::QWebFactoryLoader):
2941 (QWebFactoryLoader::descriptionForName):
2942 (QWebFactoryLoader::mimetypesForName):
2943 (QWebFactoryLoader::mimeTypeForExtension):
2944 (QWebFactoryLoader::extensions):
2945 (QWebFactoryLoader::nameForMimetype):
2946 (QWebFactoryLoader::create):
2947 (QWebObjectPlugin::descriptionForKey):
2948 (QWebObjectPlugin::mimetypesForKey):
2949 * Api/qwebobjectplugin.h:
2950 * Api/qwebobjectplugin_p.h:
2951 (QWebFactoryLoader::names):
2952 * Api/qwebobjectpluginconnector.cpp:
2953 (QWebObjectPluginConnector::requestUrl):
2955 (QWebPage::networkInterface):
2957 2007-06-11 Simon Hausmann <hausmann@kde.org>
2961 Added a QWebPage::open overload to allow specifying the http header and post data.
2962 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
2963 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
2968 2007-06-11 Simon Hausmann <hausmann@kde.org>
2972 Added the possibility to intercept url requests through QWebPage::navigationRequested.
2975 (QWebPagePrivate::QWebPagePrivate):
2976 (QWebPage::createFrame):
2979 * WebCoreSupport/FrameLoaderClientQt.cpp:
2981 2007-06-11 Simon Hausmann <hausmann@kde.org>
2985 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
2986 to be called from FrameLoaderClientQt in the near future.
2988 * Api/qwebnetworkinterface.cpp:
2989 (QWebNetworkManager::add):
2990 * Api/qwebnetworkinterface_p.h:
2992 2007-06-11 Simon Hausmann <hausmann@kde.org>
2996 Moved the postData setup into QWebNetworkRequest::init.
2998 * Api/qwebnetworkinterface.cpp:
2999 (QWebNetworkRequest::init):
3000 (QWebNetworkManager::add):
3002 2007-06-11 Simon Hausmann <hausmann@kde.org>
3006 Moved HTTP header field propagation to QWebNetworkRequest::init.
3008 * Api/qwebnetworkinterface.cpp:
3009 (QWebNetworkRequest::init):
3010 (QWebNetworkManager::add):
3012 2007-06-11 Simon Hausmann <hausmann@kde.org>
3016 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3017 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3019 * Api/qwebnetworkinterface.cpp:
3020 (QWebNetworkRequest::init):
3021 (QWebNetworkManager::add):
3022 * Api/qwebnetworkinterface_p.h:
3023 * Api/qwebobjectpluginconnector.cpp:
3024 (QWebObjectPluginConnector::requestUrl):
3026 2007-06-11 Zack Rusin <zrusin@trolltech.com>
3030 Forgot to export the plugin connector.
3032 * Api/qwebobjectpluginconnector.h
3034 2007-06-08 Lars Knoll <lars@trolltech.com>
3038 Add a QWebObjectPluginConnector class. The class will
3039 facility communication between the plugin and WebKit.
3040 Currently it's used to make the plugin network capable.
3042 * Api/qwebnetworkinterface.cpp:
3043 (QWebNetworkJobPrivate::setDefaults):
3044 (QWebNetworkManager::add):
3045 (QWebNetworkManager::started):
3046 (QWebNetworkManager::data):
3047 (QWebNetworkManager::finished):
3048 * Api/qwebnetworkinterface.h:
3049 * Api/qwebnetworkinterface_p.h:
3050 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
3051 * Api/qwebobjectplugin.cpp:
3052 (QWebFactoryLoader::create):
3053 * Api/qwebobjectplugin.h:
3054 * Api/qwebobjectplugin_p.h:
3055 * Api/qwebobjectpluginconnector.cpp: Added.
3056 (QWebObjectPluginConnector::QWebObjectPluginConnector):
3057 (QWebObjectPluginConnector::frame):
3058 (QWebObjectPluginConnector::pluginParentWidget):
3059 (QWebObjectPluginConnector::requestUrl):
3060 * Api/qwebobjectpluginconnector.h: Added.
3061 (QWebObjectPluginConnector::):
3062 * WebCoreSupport/FrameLoaderClientQt.cpp:
3063 (WebCore::FrameLoaderClientQt::createPlugin):
3065 2007-06-06 Lars Knoll <lars@trolltech.com>
3069 Add an API to create and load plugins.
3070 Don't include moc files by hand anymore, rather let
3073 * Api/qcookiejar.cpp:
3074 (QCookieJar::cookieJar):
3075 * Api/qwebframe.cpp:
3076 (QWebFrame::scrollContentsBy):
3077 * Api/qwebnetworkinterface.cpp:
3078 * Api/qwebobjectplugin.cpp: Added.
3079 (QWebFactoryLoader::QWebFactoryLoader):
3080 (QWebFactoryLoader::self):
3081 (QWebFactoryLoader::mimeTypeForExtension):
3082 (QWebFactoryLoader::create):
3083 (QWebObjectPlugin::QWebObjectPlugin):
3084 (QWebObjectPlugin::~QWebObjectPlugin):
3085 (QWebObjectPlugin::extensionsForMimetype):
3086 * Api/qwebobjectplugin.h: Added.
3087 * Api/qwebobjectplugin_p.h: Added.
3088 (QWebFactoryLoader::mimeTypes):
3089 (QWebFactoryLoader::extensions):
3090 (QWebFactoryLoader::supportsMimeType):
3092 (QWebPage::settings):
3093 * WebCoreSupport/FrameLoaderClientQt.cpp:
3094 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3095 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3096 (WebCore::FrameLoaderClientQt::objectContentType):
3097 (WebCore::FrameLoaderClientQt::createPlugin):
3099 2007-05-28 Zack Rusin <zrusin@trolltech.com>
3101 Reviewed by andersca and simon
3103 Adding public settings Api to the Qt port.
3104 QWebSetting's is a value based settings
3105 object settable on the QWebPage.
3108 (QWebPagePrivate::QWebPagePrivate):
3109 (QWebPage::QWebPage):
3110 (QWebPage::setSettings):
3111 (QWebPage::settings):
3113 * Api/qwebsettings.cpp: Added.
3114 (QWebSettingsPrivate::QWebSettingsPrivate):
3115 (QWebSettings::QWebSettings):
3116 (QWebSettings::~QWebSettings):
3117 (QWebSettings::setMinimumFontSize):
3118 (QWebSettings::minimumFontSize):
3119 (QWebSettings::setMinimumLogicalFontSize):
3120 (QWebSettings::minimumLogicalFontSize):
3121 (QWebSettings::setDefaultFontSize):
3122 (QWebSettings::defaultFontSize):
3123 (QWebSettings::setDefaultFixedFontSize):
3124 (QWebSettings::defaultFixedFontSize):
3125 (QWebSettings::setUserStyleSheetLocation):
3126 (QWebSettings::userStyleSheetLocation):
3127 (QWebSettings::setGlobal):
3128 (QWebSettings::global):
3129 (QWebSettings::setFontFamily):
3130 (QWebSettings::fontFamily):
3131 (QWebSettings::setAttribute):
3132 (QWebSettings::testAttribute):
3133 * Api/qwebsettings.h: Added.
3134 * QtLauncher/main.cpp:
3136 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
3138 Reviewed by Sam Weinig.
3140 Consolidate all notImplemented() macro definitions into
3141 one header file for all platforms.
3143 * WebCoreSupport/ChromeClientQt.cpp:
3144 * WebCoreSupport/ContextMenuClientQt.cpp:
3145 * WebCoreSupport/EditorClientQt.cpp:
3146 * WebCoreSupport/FrameLoaderClientQt.cpp:
3148 2007-05-25 George Staikos <staikos@kde.org>
3152 The http loader should only ask for .... http cookies!
3154 * Api/qwebnetworkinterface.cpp:
3155 (QWebNetworkManager::add):
3157 2007-05-24 Simon Hausmann <hausmann@kde.org>
3161 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
3162 correctly. Fortunately WebCore does it already, so there's no need
3163 for us to do it since we already transfer all HTTP header fields :)
3165 * Api/qwebnetworkinterface.cpp:
3166 (QWebNetworkManager::add):
3168 2007-05-23 Simon Hausmann <hausmann@kde.org>
3170 Reviewed by Zack, idea from Lars.
3172 Share WebCoreHttp and therefore HTTP connections among multiple
3173 QWebNetworkInterface instances by moving the code into
3176 * Api/qwebnetworkinterface.cpp:
3177 (QWebNetworkManager::addHttpJob):
3178 (QWebNetworkManager::cancelHttpJob):
3179 (QWebNetworkManager::httpConnectionClosed):
3180 (QWebNetworkInterface::addJob):
3181 (QWebNetworkInterface::cancelJob):
3182 (WebCoreHttp::scheduleNextRequest):
3183 (WebCoreHttp::onResponseHeaderReceived):
3184 (WebCoreHttp::onReadyRead):
3185 (WebCoreHttp::onRequestFinished):
3186 (WebCoreHttp::cancel):
3187 * Api/qwebnetworkinterface.h:
3188 * Api/qwebnetworkinterface_p.h:
3190 2007-05-23 Simon Hausmann <hausmann@kde.org>
3192 Reviewed by Zack, discussed also with Lars.
3194 Make it possible to specify a per-QWebPage network interface (needed
3195 for the KDE KIO integration).
3197 Merged the file and the network loader into
3198 QWebNetworkInterface(Private), which simplifies the loading code.
3200 When receiving a redirection don't emit the data of the redirected job
3201 to the document. (otherwise the kind of "This page has moved" text
3202 appears right on top of the real page content)
3204 * Api/qwebnetworkinterface.cpp:
3207 (QWebNetworkJob::QWebNetworkJob):
3208 (QWebNetworkJob::networkInterface):
3209 (QWebNetworkManager::add):
3210 (QWebNetworkManager::cancel):
3211 (QWebNetworkManager::data):
3212 (QWebNetworkManager::finished):
3213 (QWebNetworkInterfacePrivate::sendFileData):
3214 (QWebNetworkInterfacePrivate::parseDataUrl):
3215 (QWebNetworkInterfacePrivate::addHttpJob):
3216 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3217 (QWebNetworkInterface::setDefaultInterface):
3218 (QWebNetworkInterface::QWebNetworkInterface):
3219 (QWebNetworkInterface::addJob):
3220 (QWebNetworkInterface::cancelJob):
3221 (WebCoreHttp::scheduleNextRequest):
3222 (WebCoreHttp::onResponseHeaderReceived):
3223 (WebCoreHttp::onReadyRead):
3224 (WebCoreHttp::onRequestFinished):
3225 (WebCoreHttp::cancel):
3226 * Api/qwebnetworkinterface.h:
3227 * Api/qwebnetworkinterface_p.h:
3229 (QWebPagePrivate::QWebPagePrivate):
3230 (QWebPage::setNetworkInterface):
3234 2007-05-23 Lars Knoll <lars@trolltech.com>
3238 Don't do HTTP downloads in a second thread. Simplifies
3239 the code significantly and fixes crashes on some
3242 * Api/qwebnetworkinterface.cpp:
3243 (QWebNetworkManager::add):
3244 (QWebNetworkInterface::QWebNetworkInterface):
3245 (QWebNetworkInterface::addJob):
3246 (QWebNetworkInterface::cancelJob):
3247 (LoaderThread::LoaderThread):
3248 (LoaderThread::run):
3249 (WebCoreHttp::cancel):
3250 (NetworkLoader::NetworkLoader):
3251 (NetworkLoader::request):
3252 (NetworkLoader::cancel):
3253 * Api/qwebnetworkinterface_p.h:
3254 * WebCoreSupport/FrameLoaderClientQt.cpp:
3255 (WebCore::FrameLoaderClientQt::committedLoad):
3256 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3258 2007-05-23 Lars Knoll <lars@trolltech.com>
3262 * Api/qwebnetworkinterface.cpp:
3263 (QWebNetworkJobPrivate::setURL):
3264 (QWebNetworkManager::started):
3265 Fix Host: line in HTTP headers and resolving of relative URLs
3267 * Api/qwebnetworkinterface_p.h:
3268 Clean up qHash forward declaration a bit.
3270 2007-05-23 Simon Hausmann <hausmann@kde.org>
3274 * QtLauncher/main.cpp:
3275 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3277 2007-05-22 Simon Hausmann <hausmann@kde.org>
3281 * Api/qwebnetworkinterface.cpp:
3282 (QWebNetworkManager::add): Fix http headers for POST.
3284 2007-05-21 Lars Knoll <lars@trolltech.com>
3288 Remove the userHandle methods from QWebnetworkJob again.
3289 They don't really give us anything and just clutter the API.
3291 * Api/qwebnetworkinterface.cpp:
3292 * Api/qwebnetworkinterface.h:
3293 * Api/qwebnetworkinterface_p.h:
3295 2007-05-21 Simon Hausmann <hausmann@kde.org>
3299 * Api/qwebnetworkinterface.h: Export the net API.
3301 2007-05-21 Lars Knoll <lars@trolltech.com>
3305 Add an API layer for network downloads. Basically QWebnetworkInterface
3306 is an interface class for downloading resources. QWebnetworkJob describes
3307 the actual object to download.
3309 QWebNetworkInterface has a default implementation that replaces the
3310 old ResourceHandleManager class in the Qt port.
3312 * Api/qwebnetworkinterface.cpp: Added.
3313 (QWebNetworkJobPrivate::setURL):
3314 (QWebNetworkJob::QWebNetworkJob):
3315 (QWebNetworkJob::~QWebNetworkJob):
3316 (QWebNetworkJob::url):
3317 (QWebNetworkJob::postData):
3318 (QWebNetworkJob::request):
3319 (QWebNetworkJob::response):
3320 (QWebNetworkJob::setResponse):
3321 (QWebNetworkJob::cancelled):
3322 (QWebNetworkJob::ref):
3323 (QWebNetworkJob::deref):
3324 (QWebNetworkJob::setUserHandle):
3325 (QWebNetworkJob::userHandle):
3326 (QWebNetworkManager::QWebNetworkManager):
3327 (QWebNetworkManager::self):
3328 (QWebNetworkManager::add):
3329 (QWebNetworkManager::cancel):
3330 (QWebNetworkManager::started):
3331 (QWebNetworkManager::data):
3332 (QWebNetworkManager::finished):
3333 (QWebNetworkInterface::setDefaultInterface):
3334 (QWebNetworkInterface::defaultInterface):
3335 (QWebNetworkInterface::QWebNetworkInterface):
3336 (QWebNetworkInterface::~QWebNetworkInterface):
3337 (QWebNetworkInterface::addJob):
3338 (QWebNetworkInterface::cancelJob):
3339 (LoaderThread::LoaderThread):
3340 (LoaderThread::run):
3341 (FileLoader::FileLoader):
3342 (FileLoader::request):
3343 (FileLoader::sendData):
3344 (FileLoader::parseDataUrl):
3345 (WebCoreHttp::WebCoreHttp):
3346 (WebCoreHttp::~WebCoreHttp):
3347 (WebCoreHttp::request):
3348 (WebCoreHttp::scheduleNextRequest):
3349 (WebCoreHttp::getConnection):
3350 (WebCoreHttp::onResponseHeaderReceived):
3351 (WebCoreHttp::onReadyRead):
3352 (WebCoreHttp::onRequestFinished):
3353 (WebCoreHttp::onStateChanged):
3354 (WebCoreHttp::cancel):
3355 (HostInfo::HostInfo):
3358 (NetworkLoader::NetworkLoader):
3359 (NetworkLoader::~NetworkLoader):
3360 (NetworkLoader::request):
3361 (NetworkLoader::connectionClosed):
3362 (NetworkLoader::cancel):
3363 * Api/qwebnetworkinterface.h: Added.
3364 (QWebNetworkJob::setHandle):
3365 (QWebNetworkJob::handle):
3366 * Api/qwebnetworkinterface_p.h: Added.
3367 (WebCore::LoaderThread::):
3368 (WebCore::LoaderThread::waitForSetup):
3369 (WebCore::HostInfo::HostInfo):
3371 2007-05-18 Simon Hausmann <hausmann@kde.org>
3373 Reviewed by Nikolas.
3375 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3376 percent integer instead of a double precision floating pointer number.
3377 * WebCoreSupport/FrameLoaderClientQt.cpp:
3378 (WebCore::FrameLoaderClientQt::setFrame):
3379 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3380 * WebCoreSupport/FrameLoaderClientQt.h:
3382 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3384 Reviewed by Zack Rusin.
3386 The default constructed KeyboardEvent has
3387 no PlatformKeyboardEvent.
3389 * WebCoreSupport/EditorClientQt.cpp:
3390 (WebCore::EditorClientQt::handleKeypress):
3392 2007-05-17 Adam Treat <adam@staikos.net>
3394 Reviewed by George Staikos.
3396 - Implement frameLoadCompleted
3397 - Fix build (by George)
3399 * WebCoreSupport/FrameLoaderClientQt.cpp:
3400 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3401 (WebCore::FrameLoaderClientQt::createFrame):
3403 2007-05-17 Adam Treat <adam@staikos.net>
3405 Reviewed by George Staikos.
3407 Implement canShowMIMEType
3409 * WebCoreSupport/FrameLoaderClientQt.cpp:
3410 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3412 2007-05-16 Lars Knoll <lars@trolltech.com>
3416 pass the mouse events to the event handler, not the frameview.
3418 * Api/qwebframe.cpp:
3419 (QWebFrame::mouseMoveEvent):
3420 (QWebFrame::mouseReleaseEvent):
3422 2007-05-14 Lars Knoll <lars@trolltech.com>
3426 Updates after Maciej's frame change.
3430 Call stopForUserCancel() instead of stopAllLoaders()
3431 * WebCoreSupport/FrameLoaderClientQt.cpp:
3432 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3433 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3434 (WebCore::FrameLoaderClientQt::didFinishLoad):
3435 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3436 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3437 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3438 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3439 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3440 Call QWebFrame::loadDone() from the places it's supposed to be
3443 2007-05-12 Maciej Stachowiak <mjs@apple.com>
3445 Reviewed by Rob Buis.
3447 - call Frame::init as needed - this prevents crashes but pages don't appear.
3449 * Api/qwebframe.cpp:
3450 (QWebFramePrivate::init):
3451 * WebKitPart/WebKitPart.cpp:
3452 (WebKitPart::initView):
3454 2007-05-08 Steve Falkenburg <sfalken@apple.com>
3458 Slight modification to last editor method fix.
3460 * WebCoreSupport/EditorClientQt.cpp:
3461 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3462 * WebCoreSupport/EditorClientQt.h:
3464 2007-05-03 Steve Falkenburg <sfalken@apple.com>
3468 Add missing user description parameter to spelling-related editor client method.
3470 * WebCoreSupport/EditorClientQt.cpp:
3471 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3472 * WebCoreSupport/EditorClientQt.h:
3474 2007-04-29 Oliver Hunt <oliver@apple.com>
3478 Tie QT drag events to the DragController logic
3479 to allow drag and drop events to be handled by
3482 * Api/qwebframe.cpp:
3485 (QWebPagePrivate::QWebPagePrivate):
3486 (QWebPage::QWebPage):
3487 (dropActionToDragOp):
3488 (dragOpToDropAction):
3489 (QWebPage::dragEnterEvent):
3490 (QWebPage::dragLeaveEvent):
3491 (QWebPage::dragMoveEvent):
3492 (QWebPage::dropEvent):
3494 * WebCoreSupport/DragClientQt.cpp:
3495 (WebCore::DragClientQt::startDrag):
3496 * WebCoreSupport/DragClientQt.h:
3497 (WebCore::DragClientQt::DragClientQt):
3499 2007-04-27 Holger Freyther <freyther@kde.org>
3503 Remove unmaintained CMake build system.
3505 * QtLauncher/CMakeLists.txt: Removed.
3506 * WebKitPart/CMakeLists.txt: Removed.
3508 2007-04-25 Steve Falkenburg <sfalken@apple.com>
3512 Fix spelling error in spelling method name.
3514 * WebCoreSupport/EditorClientQt.cpp:
3515 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3516 * WebCoreSupport/EditorClientQt.h:
3518 2007-04-24 Steve Falkenburg <sfalken@apple.com>
3522 Spelling and grammar stubs
3524 * WebCoreSupport/EditorClientQt.cpp:
3525 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3526 (WebCore::EditorClientQt::learnWord):
3527 (WebCore::EditorClientQt::checkSpellingOfString):
3528 (WebCore::EditorClientQt::checkGrammarOfString):
3529 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
3530 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3531 (WebCore::EditorClientQt::showSpellingUI):
3532 (WebCore::EditorClientQt::spellingUIIsShowing):
3533 (WebCore::EditorClientQt::getGuessesForWord):
3534 * WebCoreSupport/EditorClientQt.h:
3536 2007-04-11 MorganL <morganl.webkit@yahoo.com>
3540 Add a Frame pointer to ChromeClient methods:
3541 http://bugs.webkit.org/show_bug.cgi?id=13127
3543 * WebCoreSupport/ChromeClientQt.cpp:
3544 (WebCore::ChromeClientQt::createWindow):
3545 (WebCore::ChromeClientQt::createModalDialog):
3546 * WebCoreSupport/ChromeClientQt.h:
3548 2007-04-12 Mark Rowe <mrowe@apple.com>
3550 Second part of Qt build fix.
3552 * WebCoreSupport/FrameLoaderClientQt.cpp:
3553 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3554 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3555 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3556 * WebCoreSupport/FrameLoaderClientQt.h:
3558 2007-03-27 Zack Rusin <zrusin@trolltech.com>
3560 Fix the rendering crashes due triggered
3561 asserts. Improve a bit the layout
3564 * Api/qwebframe.cpp:
3565 (QWebFrame::resizeEvent):
3566 (QWebFrame::paintEvent):
3567 * WebCoreSupport/FrameLoaderClientQt.cpp:
3568 (WebCore::FrameLoaderClientQt::forceLayout):
3570 2007-03-16 Lars Knoll <lars@trolltech.com>
3572 Fix the Qt build once again.
3574 * WebCoreSupport/EditorClientQt.cpp:
3575 (WebCore::EditorClientQt::handleKeypress):
3576 * WebCoreSupport/FrameLoaderClientQt.cpp:
3577 (WebCore::FrameLoaderClientQt::blockedError):
3578 * WebCoreSupport/FrameLoaderClientQt.h:
3580 2007-03-13 Lars Knoll <lars@trolltech.com>
3584 Don't try to load <object> tags with an invalid url.
3585 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
3586 which hit an assertion in the frameloader.
3588 * WebCoreSupport/FrameLoaderClientQt.cpp:
3589 (WebCore::FrameLoaderClientQt::objectContentType):
3591 2007-03-13 Lars Knoll <lars@trolltech.com>
3595 Fix some crashes in the Qt build.
3597 * Api/qwebframe.cpp:
3598 (QWebFrame::markup):
3599 Check for null pointer
3600 * WebCoreSupport/FrameLoaderClientQt.cpp:
3601 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3602 Don't use an async callback into the FrameLoader.
3603 (WebCore::FrameLoaderClientQt::createFrame):
3605 2007-03-11 Oliver Hunt <oliver@apple.com>
3609 Stub for EditorClientQt::respondToChangedSelection
3611 * WebCoreSupport/EditorClientQt.cpp:
3612 (WebCore::EditorClientQt::respondToChangedSelection):
3613 * WebCoreSupport/EditorClientQt.h:
3615 2007-03-07 Adele Peterson <adele@apple.com>
3619 WebKitQT part of fix for:
3620 http://bugs.webkit.org/show_bug.cgi?id=10871
3621 http://bugs.webkit.org/show_bug.cgi?id=12677
3622 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
3623 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
3625 * WebCoreSupport/EditorClientQt.cpp:
3626 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
3627 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
3628 * WebCoreSupport/EditorClientQt.h:
3630 2007-03-07 Darin Adler <darin@apple.com>
3632 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
3634 2007-03-07 Darin Adler <darin@apple.com>
3636 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
3637 Try to fix the build by correcting the parameter here.
3639 2007-03-02 Sam Weinig <sam@webkit.org>
3643 Try to fix the Qt build
3645 * WebCoreSupport/DragClientQt.cpp:
3646 (WebCore::DragClientQt::willPerformDragDestinationAction):
3647 (WebCore::DragClientQt::dragControllerDestroyed):
3648 (WebCore::DragClientQt::createDragImageForLink):
3650 2007-02-26 Maciej Stachowiak <mjs@apple.com>
3652 Reviewed by Kevin McCullough.
3654 - fix Qt build for earlier SVG changes.
3656 * WebCoreSupport/EditCommandQt.cpp:
3658 2007-02-24 Zack Rusin <zrusin@trolltech.com>
3660 Adjust the animation a little bit to make it more natural.
3662 * QtLauncher/main.cpp:
3663 (HoverLabel::paintEvent):
3665 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3667 Adding a little bit of eye-candy to the last
3668 commit (animations on hover events)
3670 * QtLauncher/main.cpp:
3671 (HoverLabel::HoverLabel):
3672 (HoverLabel::setHoverLink):
3673 (HoverLabel::sizeForFont):
3674 (HoverLabel::sizeHint):
3675 (HoverLabel::resetAnimation):
3676 (HoverLabel::paintEvent):
3677 (HoverLabel::interpolate):
3678 (SearchEdit::resizeEvent):
3680 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3684 Adding API and code for notification of when the
3685 mouse is hovering over a link and adding code to
3686 the sample app to showcase it.
3688 * Api/qwebframe.cpp:
3689 (QWebFrame::mouseMoveEvent):
3691 * Api/qwebframe_p.h:
3692 (QWebFramePrivate::QWebFramePrivate):
3694 (QWebPage::createFrame):
3696 * QtLauncher/main.cpp:
3697 (HoverLabel::HoverLabel):
3698 (HoverLabel::setHoverLink):
3699 (HoverLabel::sizeHint):
3700 (HoverLabel::updateSize):
3701 (HoverLabel::paintEvent):
3702 (ClearButton::ClearButton):
3703 (ClearButton::paintEvent):
3704 (SearchEdit::SearchEdit):
3705 (SearchEdit::resizeEvent):
3706 (SearchEdit::moveEvent):
3707 (MainWindow::MainWindow):
3708 (MainWindow::showLinkHover):
3709 (MainWindow::resizeEvent):
3711 2007-02-22 Zack Rusin <zrusin@trolltech.com>