1 2007-11-08 Simon Hausmann <hausmann@kde.org>
3 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
5 The buildbots use Qt 4.4 which has the function in question, but Qt
6 4.3 doesn't have it. Use removeAll() as replacement instead, it
7 shouldn't make a difference in performance.
9 * Api/qwebsettings.cpp:
10 (QWebSettings::~QWebSettings):
12 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
14 Reviewed by Lars Knoll <lars@trolltech.com>.
16 Cleanup checking for the request method.
18 * Check the request method only in QWebNetworkManager::add.
19 * Currently HEAD, GET, POST are allowed and for everything else
20 QWebNetworkManager::add returns false.
21 * Returning false is compatible with ResourceHandle::start and it
22 can be used in ResourceHandle::loadResourceSynchronously to generate
26 * Api/qwebnetworkinterface.cpp:
27 (QWebNetworkManager::add):
29 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
31 Reviewed by Lars Knoll <lars@trolltech.com>.
33 Fix bug in the implementation of synchronous network jobs.
35 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
36 - if (jobMode == AsynchronousJob) {
37 + if (jobMode == SynchronousJob) {
38 add job to synchronous list/hash
40 * Just applying the above change will lead to crashes because we can finish
41 jobs before we started them.
43 * Avoid these issues by saving all work (starting a job, sending data and
44 finishing it) inside one list. JobWork will contain any
45 of the above three work types and doWork will just work on this list
46 (m_pendingWork). As foreach takes a copy of the list calling started, data
47 and finished will not add new work and we gurantee that if we have JobStarted
48 it will be in the list before JobData and JobFinished.
50 * Observation: We might just kill the code to handle sync jobs.
53 * Api/qwebnetworkinterface.cpp:
54 (QWebNetworkManager::add):
55 (QWebNetworkManager::queueStart):
56 (QWebNetworkManager::queueData):
57 (QWebNetworkManager::queueFinished):
58 (QWebNetworkManager::doWork):
59 * Api/qwebnetworkinterface_p.h:
60 (QWebNetworkManager::JobWork::):
61 (QWebNetworkManager::JobWork::JobWork):
63 2007-11-07 Simon Hausmann <hausmann@kde.org>
65 Build fix, reviewed by nobody.
67 Fix the Qt build by setting up WindowFeatures before calling
68 createWindow on the Chrome. This is similar to openNewWindow in
69 page/ContextMenuController.cpp
74 2007-11-07 Simon Hausmann <hausmann@kde.org>
78 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
81 (QWebPagePrivate::QWebPagePrivate):
82 * Api/qwebsettings.cpp:
83 (QWebSettingsPrivate::apply):
86 2007-11-07 Simon Hausmann <hausmann@kde.org>
90 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
92 * Api/qwebpagehistory.cpp:
93 * Api/qwebpagehistory.h:
95 2007-11-07 Simon Hausmann <hausmann@kde.org>
99 Removed unimplemented QWebHistoryItem::children() function
101 * Api/qwebpagehistory.h:
103 2007-11-07 Simon Hausmann <hausmann@kde.org>
107 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
109 * Api/qwebsettings.cpp:
110 (QWebSettings::fontSize):
111 (QWebSettings::fontFamily):
112 (QWebSettings::testAttribute):
114 2007-11-07 Simon Hausmann <hausmann@kde.org>
118 Added explicit functions for resetting the font sizes and font families.
120 * Api/qwebsettings.cpp:
121 (QWebSettings::resetFontSize):
122 (QWebSettings::resetFontFamily):
123 * Api/qwebsettings.h:
125 2007-11-07 Simon Hausmann <hausmann@kde.org>
129 Combined the font sizes accessors/setters under one setter/getter with an enum.
131 * Api/qwebsettings.cpp:
132 (QWebSettingsPrivate::QWebSettingsPrivate):
133 (QWebSettingsPrivate::apply):
134 (QWebSettings::QWebSettings):
135 (QWebSettings::setFontSize):
136 * Api/qwebsettings.h:
138 2007-11-07 Simon Hausmann <hausmann@kde.org>
142 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
146 * WebCoreSupport/FrameLoaderClientQt.cpp:
147 (WebCore::FrameLoaderClientQt::userAgent):
149 2007-11-07 Simon Hausmann <hausmann@kde.org>
153 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
156 (QWebPagePrivate::_q_webActionTriggered):
157 (QWebPage::keyPressEvent):
160 2007-11-07 Simon Hausmann <hausmann@kde.org>
164 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
168 * WebCoreSupport/ChromeClientQt.cpp:
169 (WebCore::ChromeClientQt::setWindowRect):
171 2007-11-07 Simon Hausmann <hausmann@kde.org>
175 Renamed QWebPage::webAction() to QWebPage::action()
178 (QWebPagePrivate::createContextMenu):
180 * QtLauncher/main.cpp:
181 (MainWindow::MainWindow):
183 2007-11-07 Simon Hausmann <hausmann@kde.org>
187 Removed a bunch of slots/functions that are now available through the new actions API.
192 2007-11-07 Simon Hausmann <hausmann@kde.org>
196 Added some more comments to the API after another round of API review with Lars.
200 2007-11-07 Simon Hausmann <hausmann@kde.org>
204 Moved QWebFrame::selectedText() to QWebPage::selectedText().
206 The currently selected text is a property of the page as a whole.
211 (QWebPage::selectedText):
214 2007-11-07 Simon Hausmann <hausmann@kde.org>
218 Implemented support for settings propagation.
220 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
222 * Api/qwebsettings.cpp:
223 (QWebSettingsPrivate::QWebSettingsPrivate):
224 (QWebSettingsPrivate::apply):
225 (QWebSettings::QWebSettings):
226 (QWebSettings::~QWebSettings):
227 (QWebSettings::setFontFamily):
228 * Api/qwebsettings.h:
230 2007-11-07 Simon Hausmann <hausmann@kde.org>
234 Reworked the QWebSettings API.
235 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
238 (QWebPagePrivate::QWebPagePrivate):
239 (QWebPagePrivate::~QWebPagePrivate):
240 (QWebPage::QWebPage):
243 * Api/qwebsettings.cpp:
244 (QWebSettingsPrivate::QWebSettingsPrivate):
245 (QWebSettingsPrivate::apply):
246 (QWebSettings::defaultSettings):
247 (QWebSettings::QWebSettings):
248 (QWebSettings::setMinimumFontSize):
249 (QWebSettings::setMinimumLogicalFontSize):
250 (QWebSettings::setDefaultFontSize):
251 (QWebSettings::setDefaultFixedFontSize):
252 (QWebSettings::setUserStyleSheetLocation):
253 (QWebSettings::setFontFamily):
254 (QWebSettings::fontFamily):
255 (QWebSettings::setAttribute):
256 * Api/qwebsettings.h:
257 * QtLauncher/main.cpp:
260 2007-11-07 Simon Hausmann <hausmann@kde.org>
264 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
266 * Api/qwebsettings.cpp:
267 (QWebSettings::setWebGraphic):
268 * Api/qwebsettings.h:
270 2007-11-07 Simon Hausmann <hausmann@kde.org>
274 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
276 * Api/qwebsettings.cpp:
278 2007-11-07 Simon Hausmann <hausmann@kde.org>
282 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
284 * Api/qwebsettings.cpp:
285 * Api/qwebsettings.h:
287 2007-11-07 Simon Hausmann <hausmann@kde.org>
291 Changed the webAction() accessor to not be a slot but just a public function.
295 2007-11-07 Simon Hausmann <hausmann@kde.org>
299 Implemented createWindow() in QtLauncher.
301 * QtLauncher/main.cpp:
303 (MainWindow::MainWindow):
304 (WebPage::createWindow):
306 2007-11-07 Simon Hausmann <hausmann@kde.org>
310 Implemented opening links in new windows
315 (QWebPage::webActionTriggered):
317 2007-11-07 Simon Hausmann <hausmann@kde.org>
321 Added and implemented the "OpenLink" action.
324 (webActionForContextMenuAction):
325 (QWebPage::webActionTriggered):
326 (QWebPage::webAction):
329 2007-11-07 Simon Hausmann <hausmann@kde.org>
333 Adjust the state of the reload action correctly.
336 (QWebPagePrivate::updateAction):
337 (QWebPagePrivate::updateNavigationActions):
339 2007-11-07 Simon Hausmann <hausmann@kde.org>
343 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
346 (QWebPagePrivate::updateAction):
347 (QWebPage::webAction):
348 (QWebPage::undoStack):
351 2007-11-07 Simon Hausmann <hausmann@kde.org>
355 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
357 * QtLauncher/main.cpp:
358 (MainWindow::MainWindow):
360 2007-11-07 Simon Hausmann <hausmann@kde.org>
364 Update the editor actions when the selection changes.
367 (QWebPagePrivate::updateAction):
368 (QWebPagePrivate::updateEditorActions):
370 * WebCoreSupport/EditorClientQt.cpp:
371 (WebCore::EditorClientQt::respondToChangedSelection):
373 2007-11-07 Simon Hausmann <hausmann@kde.org>
377 Added cut/copy/paste actions to the toolbar of QtLauncher
379 * QtLauncher/main.cpp:
380 (MainWindow::MainWindow):
382 2007-11-07 Simon Hausmann <hausmann@kde.org>
386 Started working on keeping the state of the navigation actions up-to-date.
389 (QWebPagePrivate::updateAction):
390 (QWebPagePrivate::updateNavigationActions):
391 (QWebPage::webAction):
393 * WebCoreSupport/FrameLoaderClientQt.cpp:
394 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
395 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
396 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
397 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
398 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
400 2007-11-07 Simon Hausmann <hausmann@kde.org>
404 Use the navigational web actions in the toolbar
406 * QtLauncher/main.cpp:
407 (MainWindow::MainWindow):
409 2007-11-07 Simon Hausmann <hausmann@kde.org>
413 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
414 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
417 (QWebPagePrivate::QWebPagePrivate):
418 (webActionForContextMenuAction):
419 (QWebPagePrivate::createContextMenu):
420 (QWebPagePrivate::_q_webActionTriggered):
421 (QWebPage::webActionTriggered):
422 (QWebPage::webAction):
423 (QWebPage::contextMenuEvent):
424 (QWebPageContext::QWebPageContext):
425 (QWebPageContext::operator=):
426 (QWebPageContext::~QWebPageContext):
427 (QWebPageContext::pos):
428 (QWebPageContext::text):
429 (QWebPageContext::linkUrl):
430 (QWebPageContext::imageUrl):
431 (QWebPageContext::image):
432 (QWebPageContext::targetFrame):
436 2007-11-07 Simon Hausmann <hausmann@kde.org>
440 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
443 (QWebPage::webActionTriggered):
444 (QWebPage::keyPressEvent):
447 2007-11-07 Simon Hausmann <hausmann@kde.org>
451 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
452 convenience methods such as cut()/copy()/paste().
456 (QWebPage::webActionTriggered):
461 2007-11-07 Simon Hausmann <hausmann@kde.org>
465 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
466 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
467 in ContextMenu::populate().
468 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
469 out of it. That menu is currently not functional anymore though.
472 (QWebPagePrivate::createContextMenu):
473 (QWebPage::contextMenuEvent):
476 2007-11-07 Simon Hausmann <hausmann@kde.org>
480 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
481 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
482 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
486 (QWebPage::contextMenuEvent):
487 * WebCoreSupport/ContextMenuClientQt.cpp:
488 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
490 2007-11-07 Simon Hausmann <hausmann@kde.org>
494 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
495 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
498 (QWebPage::mousePressEvent):
499 (QWebPage::contextMenuEvent):
502 2007-11-07 Simon Hausmann <hausmann@kde.org>
506 Turned onLoadProgressChanged into a real private slot.
509 (QWebPage::QWebPage):
513 2007-11-07 Simon Hausmann <hausmann@kde.org>
517 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
520 (QWebPagePrivate::QWebPagePrivate):
523 * Api/qwebpagehistory.cpp:
524 (QWebPageHistory::QWebPageHistory):
525 * Api/qwebpagehistory.h:
527 2007-11-07 Lars Knoll <lars@trolltech.com>
531 comments on API changes that we'd like to do.
535 2007-11-07 Simon Hausmann <hausmann@kde.org>
537 Reviewed by Lars Knoll <lars@trolltech.com>.
539 Add a QWebPage::frameCreated() signal and fix DRT
541 The removal of createFrame in QWebPage broke the re-implementation
542 in DumpRenderTree. Instead emit a frameCreated() signal and
543 connect to it in DumpRenderTree.
547 (QWebPagePrivate::createMainFrame):
549 * WebCoreSupport/FrameLoaderClientQt.cpp:
550 (WebCore::FrameLoaderClientQt::createFrame):
552 2007-11-07 Lars Knoll <lars@trolltech.com>
556 Remove QWebPage::createFrame()
558 now that QWebFrame doesn't have virtual methods anymore, there
559 is no need for a createFrame() factory method in QWebpage.
562 (QWebPagePrivate::createMainFrame):
564 * WebCoreSupport/FrameLoaderClientQt.cpp:
565 (WebCore::FrameLoaderClientQt::createFrame):
567 2007-11-07 Simon Hausmann <hausmann@kde.org>
569 Reviewed by Lars Knoll <lars@trolltech.com>.
571 Moved all the event handlers from QWebFrame into QWebPage.
573 This cleans up the public API and allows us to remove the
574 HackWebFrame hack in DumpRenderTree.
582 (QWebPagePrivate::frameAt):
583 (QWebPage::mouseMoveEvent):
584 (QWebPage::mousePressEvent):
585 (QWebPage::mouseDoubleClickEvent):
586 (QWebPage::mouseReleaseEvent):
587 (QWebPage::wheelEvent):
590 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
592 Reviewed by Lars Knoll <lars@trolltech.com>.
594 Use correct UserAgent string.
596 * Only have one User Agent String and this place is QWebPage
597 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
598 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
599 * ResourceRequest is != 0 when getting called from WebCore, we
600 will only do requests when coming from WebCore and then we can
601 use the User-Agent set with the help of the FrameLoaderClient
602 * We might want to change QWebNetworkRequest a bit
605 * Api/qwebnetworkinterface.cpp:
606 (QWebNetworkRequestPrivate::init):
608 2007-11-07 Lars Knoll <lars@trolltech.com>
612 remove two notImplemented() warnings, as I believe we don't
613 have to implement these methods. Add some (commented out)
614 debug code in one place.
616 * WebCoreSupport/EditorClientQt.cpp:
617 (WebCore::EditorClientQt::respondToChangedSelection):
618 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
620 2007-11-05 Tristan O'Tierney <tristan@apple.com>
622 Reviewed by Darin Adler.
624 * WebCoreSupport/ChromeClientQt.cpp:
625 (WebCore::ChromeClientQt::createWindow):
626 * WebCoreSupport/ChromeClientQt.h:
627 Revised to use new WebCore ChromeClient createWindow API.
629 2007-10-31 Lars Knoll <lars@trolltech.com>
633 fix most of the issues I found with Clipboard and DnD.
636 (QWebPage::dragLeaveEvent):
638 2007-10-31 Lars Knoll <lars@trolltech.com>
642 QDrag objects need to be created on the heap.
644 * WebCoreSupport/DragClientQt.cpp:
645 (WebCore::DragClientQt::startDrag):
647 2007-10-31 Lars Knoll <lars@trolltech.com>
651 a dragLeave event is not the same as cancelling a drag.
655 2007-10-26 Mark Rowe <mrowe@apple.com>
657 Build fix. Add missing #include of Platform.h.
659 * Api/qwebhistoryinterface.cpp:
661 2007-10-25 Holger Freyther <zecke@selfish.org>
663 Reviewed by Simon Hausmann <hausmann@kde.org>.
665 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
666 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
667 * This is causing some regressions...
670 * Api/qwebnetworkinterface.cpp:
671 (QWebNetworkManager::started):
672 (QWebNetworkInterface::addJob):
674 2007-10-25 Holger Freyther <zecke@selfish.org>
676 Reviewed by Simon Hausmann <hausmann@kde.org>.
678 * 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.
679 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
682 * Api/qwebnetworkinterface.cpp:
683 (QWebNetworkManager::started):
685 2007-10-25 Holger Freyther <zecke@selfish.org>
687 Reviewed by Simon Hausmann <hausmann@kde.org>.
689 * 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.
690 * Use the error message from Qt. It might or might not be translated.
693 * Api/qwebnetworkinterface.cpp:
694 (QWebNetworkJob::errorString):
695 (QWebNetworkJob::setErrorString):
696 (QWebNetworkManager::finished):
697 (QWebNetworkManager::doWork):
698 (WebCoreHttp::onRequestFinished):
699 * Api/qwebnetworkinterface.h:
700 * Api/qwebnetworkinterface_p.h:
702 2007-10-25 Holger Freyther <zecke@selfish.org>
704 Reviewed by Simon Hausmann <hausmann@kde.org>.
706 * 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.
707 * 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.
710 * Api/qwebnetworkinterface.cpp:
711 (QWebNetworkManager::doWork):
713 2007-10-25 Holger Freyther <zecke@selfish.org>
715 Reviewed by Simon Hausmann <hausmann@kde.org>.
717 * No need to initialize values in the QWebNetworkJob c'tor
718 * 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.
721 * Api/qwebnetworkinterface.cpp:
722 (QWebNetworkJob::status):
723 (QWebNetworkJob::setStatus):
724 (QWebNetworkManager::started):
725 (QWebNetworkManager::data):
726 (QWebNetworkManager::finished):
727 * Api/qwebnetworkinterface.h:
728 * Api/qwebnetworkinterface_p.h:
729 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
731 2007-10-25 Holger Freyther <zecke@selfish.org>
733 Reviewed by Simon Hausmann <hausmann@kde.org>.
735 * Consistency: Always name the jobs job.
738 * Api/qwebnetworkinterface.cpp:
739 (WebCoreHttp::onReadyRead):
740 (WebCoreHttp::onRequestFinished):
741 (WebCoreHttp::onSslErrors):
742 (WebCoreHttp::onAuthenticationRequired):
743 (WebCoreHttp::onProxyAuthenticationRequired):
745 2007-10-25 Holger Freyther <zecke@selfish.org>
747 Reviewed by Simon Hausmann <hausmann@kde.org>.
749 * 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.
750 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
753 * Api/qwebnetworkinterface.cpp:
754 (QWebNetworkJob::~QWebNetworkJob):
755 (QWebNetworkManager::QWebNetworkManager):
756 (QWebNetworkManager::self):
757 (QWebNetworkManager::add):
758 (QWebNetworkManager::started):
759 (QWebNetworkManager::finished):
760 (QWebNetworkInterfacePrivate::sendFileData):
761 (QWebNetworkInterfacePrivate::parseDataUrl):
762 (QWebNetworkManager::queueStart):
763 (QWebNetworkManager::queueData):
764 (QWebNetworkManager::queueFinished):
765 (QWebNetworkManager::doScheduleWork):
766 (QWebNetworkManager::doWork):
768 (QWebNetworkInterface::setDefaultInterface):
769 (QWebNetworkInterface::defaultInterface):
770 (QWebNetworkInterface::QWebNetworkInterface):
771 (QWebNetworkInterface::started):
772 (QWebNetworkInterface::data):
773 (QWebNetworkInterface::finished):
774 (WebCoreHttp::scheduleNextRequest):
775 (WebCoreHttp::onResponseHeaderReceived):
776 (WebCoreHttp::onReadyRead):
777 (WebCoreHttp::onRequestFinished):
778 (WebCoreHttp::cancel):
779 * Api/qwebnetworkinterface.h:
780 * Api/qwebnetworkinterface_p.h:
781 (QWebNetworkManager::):
782 (QWebNetworkManager::JobData::JobData):
783 (QWebNetworkManager::JobFinished::JobFinished):
785 2007-10-25 Holger Freyther <zecke@selfish.org>
787 Reviewed by Simon Hausmann <hausmann@kde.org>.
789 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
790 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
791 * We pass the char-decoding.html test now
794 * Api/qwebnetworkinterface.cpp:
795 (decodePercentEncoding):
796 (QWebNetworkInterfacePrivate::parseDataUrl):
798 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
800 Reviewed by Lars Knoll <lars@trolltech.com>.
802 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
805 * WebCoreSupport/EditorClientQt.cpp:
806 (WebCore::EditorClientQt::handleKeypress):
808 2007-10-24 Lars Knoll <lars@trolltech.com>
812 remove some notImplemented() warnings.
814 * WebCoreSupport/EditorClientQt.cpp:
815 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
816 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
817 (WebCore::EditorClientQt::respondToChangedSelection):
819 2007-10-24 Lars Knoll <lars@trolltech.com>
823 allow paste from DOM so we pass more test cases.
826 (QWebPage::setSettings):
828 2007-10-24 Lars Knoll <lars@trolltech.com>
832 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
835 (QWebPage::keyPressEvent):
836 (QWebPage::keyReleaseEvent):
838 2007-10-24 Lars Knoll <lars@trolltech.com>
842 some smaller fixes to the editing support in DRT. Makes another few tests pass.
844 * WebCoreSupport/EditorClientQt.cpp:
845 (qt_dump_editing_callbacks):
848 2007-10-24 Lars Knoll <lars@trolltech.com>
852 implemented support for most editing shortcuts to make contentEditable usable.
855 (QWebPage::keyPressEvent):
857 2007-10-24 Lars Knoll <lars@trolltech.com>
861 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
864 (QWebPage::focusInEvent):
866 2007-10-24 Lars Knoll <lars@trolltech.com>
870 Implement support for testing editing.
872 * WebCoreSupport/EditorClientQt.cpp:
873 (qt_dump_editing_callbacks):
874 (qt_dump_set_accepts_editing):
877 (WebCore::EditorClientQt::shouldDeleteRange):
878 (WebCore::EditorClientQt::shouldShowDeleteInterface):
879 (WebCore::EditorClientQt::shouldBeginEditing):
880 (WebCore::EditorClientQt::shouldEndEditing):
881 (WebCore::EditorClientQt::shouldInsertText):
882 (WebCore::EditorClientQt::shouldChangeSelectedRange):
883 (WebCore::EditorClientQt::shouldApplyStyle):
884 (WebCore::EditorClientQt::didBeginEditing):
885 (WebCore::EditorClientQt::respondToChangedContents):
886 (WebCore::EditorClientQt::respondToChangedSelection):
887 (WebCore::EditorClientQt::didEndEditing):
888 (WebCore::EditorClientQt::shouldInsertNode):
890 2007-10-19 Alp Toker <alp@atoker.com>
894 GTK+ build fix enabling the new local database storage feature.
895 There is also a prospective Qt build fix.
897 * WebCoreSupport/ChromeClientQt.cpp:
898 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
899 * WebCoreSupport/ChromeClientQt.h:
901 2007-10-19 Simon Hausmann <hausmann@kde.org>
903 Fix the Qt/Windows build: Include the moc file from the .cpp file so
904 that config.h is included before wtf/MathExtras. The former defines
905 the MSVC defines for rand_s.
907 * WebCoreSupport/FrameLoaderClientQt.cpp:
909 2007-10-19 Simon Hausmann <shausman@trolltech.com>
913 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
918 2007-10-10 Alice Liu <alice.liu@apple.com>
920 Reviewed by Geoff Garen.
922 changes to keep the build from breaking
924 * WebCoreSupport/FrameLoaderClientQt.cpp:
925 (WebCore::FrameLoaderClientQt::createFrame):
926 * WebCoreSupport/FrameLoaderClientQt.h:
928 2007-10-09 Lars Knoll <lars@trolltech.com>
932 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
935 (QWebPage::setSettings):
937 2007-10-09 Lars Knoll <lars@trolltech.com>
941 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
943 * Api/qwebnetworkinterface.cpp:
944 (QWebNetworkManager::add):
945 (QWebNetworkManager::cancel):
946 (QWebNetworkManager::started):
947 (QWebNetworkManager::data):
948 (QWebNetworkInterfacePrivate::parseDataUrl):
950 2007-10-09 Lars Knoll <lars@trolltech.com>
954 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.
957 (QWebPagePrivate::createMainFrame):
958 (QWebPage::createFrame):
959 * WebCoreSupport/FrameLoaderClientQt.cpp:
960 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
961 * WebCoreSupport/FrameLoaderClientQt.h:
963 2007-10-09 Lars Knoll <lars@trolltech.com>
967 add a clear() method to QWebPageHistory.
969 * Api/qwebpagehistory.cpp:
970 (QWebPageHistory::clear):
971 (QWebPageHistory::itemAtIndex):
972 * Api/qwebpagehistory.h:
974 2007-10-05 Lars Knoll <lars@trolltech.com>
976 add proper error messages to the FrameLoaderClient.
977 Implement ChromeClientQt::closeWindowSoon and
978 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
979 Some fixes in DRT to make it work correctly with multiple windows.
984 * Api/qwebnetworkinterface.cpp:
985 (QWebNetworkManager::cancel):
986 (QWebNetworkInterface::addJob):
987 * WebCoreSupport/ChromeClientQt.cpp:
988 (WebCore::ChromeClientQt::closeWindowSoon):
989 * WebCoreSupport/FrameLoaderClientQt.cpp:
990 (WebCore::FrameLoaderClientQt::cancelledError):
992 (WebCore::FrameLoaderClientQt::blockedError):
993 (WebCore::FrameLoaderClientQt::cannotShowURLError):
994 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
995 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
996 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
998 2007-10-03 Lars Knoll <lars@trolltech.com>
1000 Signed off by Olliej.
1002 move WebKitQt to WebKit/qt for consistency with the other ports.
1004 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1005 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1006 (QCookieJarPrivate::QCookieJarPrivate):
1008 (QCookieJar::QCookieJar):
1009 (QCookieJar::~QCookieJar):
1010 (QCookieJar::setCookies):
1011 (QCookieJar::cookies):
1012 (QCookieJar::isEnabled):
1013 (QCookieJar::setEnabled):
1015 (QCookieJar::setCookieJar):
1016 (QCookieJar::cookieJar):
1017 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1018 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1019 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1020 (QWebFramePrivate::init):
1021 (QWebFramePrivate::parentFrame):
1022 (QWebFramePrivate::horizontalScrollBar):
1023 (QWebFramePrivate::verticalScrollBar):
1024 (QWebFrame::QWebFrame):
1025 (QWebFrame::~QWebFrame):
1026 (QWebFrame::addToJSWindowObject):
1027 (QWebFrame::markup):
1028 (QWebFrame::innerText):
1029 (QWebFrame::renderTreeDump):
1033 (QWebFrame::selectedText):
1034 (QWebFrame::childFrames):
1035 (QWebFrame::verticalScrollBarPolicy):
1036 (QWebFrame::setVerticalScrollBarPolicy):
1037 (QWebFrame::horizontalScrollBarPolicy):
1038 (QWebFrame::setHorizontalScrollBarPolicy):
1039 (QWebFrame::render):
1040 (QWebFrame::layout):
1042 (QWebFrame::geometry):
1043 (QWebFrame::evaluateJavaScript):
1044 (QWebFrame::mouseMoveEvent):
1045 (QWebFrame::mousePressEvent):
1046 (QWebFrame::mouseDoubleClickEvent):
1047 (QWebFrame::mouseReleaseEvent):
1048 (QWebFrame::wheelEvent):
1049 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1050 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1051 (QWebFramePrivate::QWebFramePrivate):
1052 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1053 (WebCore::historyContains):
1054 (gCleanupInterface):
1055 (QWebHistoryInterface::setDefaultInterface):
1056 (QWebHistoryInterface::defaultInterface):
1057 (QWebHistoryInterface::QWebHistoryInterface):
1058 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1059 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1060 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1063 (QWebNetworkRequestPrivate::init):
1064 (QWebNetworkRequestPrivate::setURL):
1065 (QWebNetworkRequest::QWebNetworkRequest):
1066 (QWebNetworkRequest::operator=):
1067 (QWebNetworkRequest::~QWebNetworkRequest):
1068 (QWebNetworkRequest::url):
1069 (QWebNetworkRequest::setUrl):
1070 (QWebNetworkRequest::httpHeader):
1071 (QWebNetworkRequest::setHttpHeader):
1072 (QWebNetworkRequest::httpHeaderField):
1073 (QWebNetworkRequest::setHttpHeaderField):
1074 (QWebNetworkRequest::postData):
1075 (QWebNetworkRequest::setPostData):
1076 (QWebNetworkJob::QWebNetworkJob):
1077 (QWebNetworkJob::~QWebNetworkJob):
1078 (QWebNetworkJob::url):
1079 (QWebNetworkJob::postData):
1080 (QWebNetworkJob::httpHeader):
1081 (QWebNetworkJob::request):
1082 (QWebNetworkJob::response):
1083 (QWebNetworkJob::setResponse):
1084 (QWebNetworkJob::cancelled):
1085 (QWebNetworkJob::ref):
1086 (QWebNetworkJob::deref):
1087 (QWebNetworkJob::networkInterface):
1088 (QWebNetworkJob::frame):
1089 (QWebNetworkManager::QWebNetworkManager):
1090 (QWebNetworkManager::self):
1091 (QWebNetworkManager::add):
1092 (QWebNetworkManager::cancel):
1093 (QWebNetworkManager::started):
1094 (QWebNetworkManager::data):
1095 (QWebNetworkManager::finished):
1096 (QWebNetworkManager::addHttpJob):
1097 (QWebNetworkManager::cancelHttpJob):
1098 (QWebNetworkManager::httpConnectionClosed):
1099 (QWebNetworkInterfacePrivate::sendFileData):
1100 (QWebNetworkInterfacePrivate::parseDataUrl):
1101 (gCleanupInterface):
1102 (QWebNetworkInterface::setDefaultInterface):
1103 (QWebNetworkInterface::defaultInterface):
1104 (QWebNetworkInterface::QWebNetworkInterface):
1105 (QWebNetworkInterface::~QWebNetworkInterface):
1106 (QWebNetworkInterface::addJob):
1107 (QWebNetworkInterface::cancelJob):
1108 (WebCoreHttp::WebCoreHttp):
1109 (WebCoreHttp::~WebCoreHttp):
1110 (WebCoreHttp::request):
1111 (WebCoreHttp::scheduleNextRequest):
1112 (WebCoreHttp::getConnection):
1113 (WebCoreHttp::onResponseHeaderReceived):
1114 (WebCoreHttp::onReadyRead):
1115 (WebCoreHttp::onRequestFinished):
1116 (WebCoreHttp::onDone):
1117 (WebCoreHttp::onStateChanged):
1118 (WebCoreHttp::cancel):
1119 (WebCoreHttp::onSslErrors):
1120 (WebCoreHttp::onAuthenticationRequired):
1121 (WebCoreHttp::onProxyAuthenticationRequired):
1122 (HostInfo::HostInfo):
1123 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1124 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1125 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1126 (WebCore::HostInfo::HostInfo):
1127 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1128 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1129 (QWebFactoryLoader::QWebFactoryLoader):
1130 (QWebFactoryLoader::self):
1131 (QWebFactoryLoader::descriptionForName):
1132 (QWebFactoryLoader::mimetypesForName):
1133 (QWebFactoryLoader::mimeTypeForExtension):
1134 (QWebFactoryLoader::extensions):
1135 (QWebFactoryLoader::nameForMimetype):
1136 (QWebFactoryLoader::create):
1137 (QWebObjectPlugin::QWebObjectPlugin):
1138 (QWebObjectPlugin::~QWebObjectPlugin):
1139 (QWebObjectPlugin::descriptionForKey):
1140 (QWebObjectPlugin::mimetypesForKey):
1141 (QWebObjectPlugin::extensionsForMimetype):
1142 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1143 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1144 (QWebFactoryLoader::names):
1145 (QWebFactoryLoader::supportsMimeType):
1146 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1147 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1148 (QWebObjectPluginConnector::frame):
1149 (QWebObjectPluginConnector::pluginParentWidget):
1150 (QWebObjectPluginConnector::requestUrl):
1151 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1152 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1153 (QWebPagePrivate::QWebPagePrivate):
1154 (QWebPagePrivate::~QWebPagePrivate):
1155 (QWebPagePrivate::navigationRequested):
1156 (QWebPagePrivate::createMainFrame):
1157 (QWebPage::QWebPage):
1158 (QWebPage::~QWebPage):
1159 (QWebPage::createFrame):
1163 (QWebPage::mainFrame):
1164 (QWebPage::sizeHint):
1166 (QWebPage::history):
1168 (QWebPage::goForward):
1169 (QWebPage::goToHistoryItem):
1170 (QWebPage::javaScriptConsoleMessage):
1171 (QWebPage::javaScriptAlert):
1172 (QWebPage::javaScriptConfirm):
1173 (QWebPage::javaScriptPrompt):
1174 (QWebPage::createWindow):
1175 (QWebPage::createModalDialog):
1176 (QWebPage::createPlugin):
1177 (QWebPage::navigationRequested):
1178 (QWebPage::setWindowGeometry):
1180 (QWebPage::canCopy):
1181 (QWebPage::canPaste):
1185 (QWebPage::isModified):
1186 (QWebPage::undoStack):
1187 (dropActionToDragOp):
1188 (dragOpToDropAction):
1189 (QWebPage::resizeEvent):
1190 (QWebPage::paintEvent):
1191 (QWebPage::mouseMoveEvent):
1192 (QWebPage::mousePressEvent):
1193 (QWebPage::mouseDoubleClickEvent):
1194 (QWebPage::mouseReleaseEvent):
1195 (QWebPage::wheelEvent):
1196 (QWebPage::keyPressEvent):
1197 (QWebPage::keyReleaseEvent):
1198 (QWebPage::focusInEvent):
1199 (QWebPage::focusOutEvent):
1200 (QWebPage::focusNextPrevChild):
1201 (QWebPage::dragEnterEvent):
1202 (QWebPage::dragLeaveEvent):
1203 (QWebPage::dragMoveEvent):
1204 (QWebPage::dropEvent):
1205 (QWebPage::setNetworkInterface):
1206 (QWebPage::networkInterface):
1208 (QWebPage::setSettings):
1209 (QWebPage::settings):
1210 (QWebPage::chooseFile):
1211 (QWebPage::setNetworkProxy):
1212 (QWebPage::networkProxy):
1213 (QWebPage::userAgentStringForUrl):
1214 (QWebPage::onLoadProgressChanged):
1215 (QWebPage::totalBytes):
1216 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1217 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1218 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1219 (QWebHistoryItem::QWebHistoryItem):
1220 (QWebHistoryItem::operator=):
1221 (QWebHistoryItem::~QWebHistoryItem):
1222 (QWebHistoryItem::originalUrl):
1223 (QWebHistoryItem::currentUrl):
1224 (QWebHistoryItem::title):
1225 (QWebHistoryItem::lastVisited):
1226 (QWebHistoryItem::icon):
1227 (QWebPageHistory::QWebPageHistory):
1228 (QWebPageHistory::itemAtIndex):
1229 (QWebPageHistory::operator=):
1230 (QWebPageHistory::~QWebPageHistory):
1231 (QWebPageHistory::items):
1232 (QWebPageHistory::backItems):
1233 (QWebPageHistory::forwardItems):
1234 (QWebPageHistory::canGoBack):
1235 (QWebPageHistory::canGoForward):
1236 (QWebPageHistory::goBack):
1237 (QWebPageHistory::goForward):
1238 (QWebPageHistory::goToItem):
1239 (QWebPageHistory::backItem):
1240 (QWebPageHistory::currentItem):
1241 (QWebPageHistory::forwardItem):
1242 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1243 (QExplicitlySharedDataPointer::operator*):
1244 (QExplicitlySharedDataPointer::operator->):
1245 (QExplicitlySharedDataPointer::operator T *):
1246 (QExplicitlySharedDataPointer::operator const T *):
1247 (QExplicitlySharedDataPointer::data):
1248 (QExplicitlySharedDataPointer::constData):
1249 (QExplicitlySharedDataPointer::operator==):
1250 (QExplicitlySharedDataPointer::operator!=):
1251 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1252 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1253 (QExplicitlySharedDataPointer::operator=):
1254 (QExplicitlySharedDataPointer::operator!):
1255 (::QExplicitlySharedDataPointer):
1256 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1257 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1258 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1259 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1260 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1261 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1262 (QWebSettingsPrivate::QWebSettingsPrivate):
1263 (QWebSettings::QWebSettings):
1264 (QWebSettings::~QWebSettings):
1265 (QWebSettings::setMinimumFontSize):
1266 (QWebSettings::minimumFontSize):
1267 (QWebSettings::setMinimumLogicalFontSize):
1268 (QWebSettings::minimumLogicalFontSize):
1269 (QWebSettings::setDefaultFontSize):
1270 (QWebSettings::defaultFontSize):
1271 (QWebSettings::setDefaultFixedFontSize):
1272 (QWebSettings::defaultFixedFontSize):
1273 (QWebSettings::setUserStyleSheetLocation):
1274 (QWebSettings::userStyleSheetLocation):
1275 (QWebSettings::setIconDatabaseEnabled):
1276 (QWebSettings::iconDatabaseEnabled):
1277 (QWebSettings::setWebGraphic):
1278 (QWebSettings::webGraphic):
1279 (QWebSettings::operator=):
1280 (QWebSettings::setGlobal):
1281 (QWebSettings::global):
1282 (QWebSettings::setFontFamily):
1283 (QWebSettings::fontFamily):
1284 (QWebSettings::setAttribute):
1285 (QWebSettings::testAttribute):
1286 (loadResourcePixmap):
1287 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
1288 * ChangeLog: Renamed from WebKitQt/ChangeLog.
1289 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
1290 (IcoHeader::operator >>):
1291 (IcoHeader::BMP_INFOHDR::):
1292 (IcoHeader::operator<<):
1293 (IcoHeader::LessDifference::LessDifference):
1294 (IcoHeader::LessDifference::operator ()):
1295 (IcoHeader::loadFromDIB):
1296 (ICOHandler::ICOHandler):
1297 (ICOHandler::canRead):
1299 (ICOHandler::write):
1302 (ICOPlugin::capabilities):
1303 (ICOPlugin::create):
1304 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
1305 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
1306 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
1307 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
1308 (HoverLabel::HoverLabel):
1309 (HoverLabel::setHoverLink):
1310 (HoverLabel::sizeForFont):
1311 (HoverLabel::sizeHint):
1312 (HoverLabel::updateSize):
1313 (HoverLabel::resetAnimation):
1314 (HoverLabel::paintEvent):
1315 (HoverLabel::interpolate):
1316 (ClearButton::ClearButton):
1317 (ClearButton::paintEvent):
1318 (SearchEdit::SearchEdit):
1319 (SearchEdit::~SearchEdit):
1320 (SearchEdit::paintEvent):
1321 (SearchEdit::resizeEvent):
1322 (SearchEdit::moveEvent):
1323 (MainWindow::MainWindow):
1324 (MainWindow::changeLocation):
1325 (MainWindow::loadFinished):
1326 (MainWindow::showLinkHover):
1327 (MainWindow::resizeEvent):
1329 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
1330 (WebCore::ChromeClientQt::ChromeClientQt):
1331 (WebCore::ChromeClientQt::~ChromeClientQt):
1332 (WebCore::ChromeClientQt::setWindowRect):
1333 (WebCore::ChromeClientQt::windowRect):
1334 (WebCore::ChromeClientQt::pageRect):
1335 (WebCore::ChromeClientQt::scaleFactor):
1336 (WebCore::ChromeClientQt::focus):
1337 (WebCore::ChromeClientQt::unfocus):
1338 (WebCore::ChromeClientQt::canTakeFocus):
1339 (WebCore::ChromeClientQt::takeFocus):
1340 (WebCore::ChromeClientQt::createWindow):
1341 (WebCore::ChromeClientQt::createModalDialog):
1342 (WebCore::ChromeClientQt::show):
1343 (WebCore::ChromeClientQt::canRunModal):
1344 (WebCore::ChromeClientQt::runModal):
1345 (WebCore::ChromeClientQt::setToolbarsVisible):
1346 (WebCore::ChromeClientQt::toolbarsVisible):
1347 (WebCore::ChromeClientQt::setStatusbarVisible):
1348 (WebCore::ChromeClientQt::statusbarVisible):
1349 (WebCore::ChromeClientQt::setScrollbarsVisible):
1350 (WebCore::ChromeClientQt::scrollbarsVisible):
1351 (WebCore::ChromeClientQt::setMenubarVisible):
1352 (WebCore::ChromeClientQt::menubarVisible):
1353 (WebCore::ChromeClientQt::setResizable):
1354 (WebCore::ChromeClientQt::addMessageToConsole):
1355 (WebCore::ChromeClientQt::chromeDestroyed):
1356 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1357 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1358 (WebCore::ChromeClientQt::closeWindowSoon):
1359 (WebCore::ChromeClientQt::runJavaScriptAlert):
1360 (WebCore::ChromeClientQt::runJavaScriptConfirm):
1361 (WebCore::ChromeClientQt::runJavaScriptPrompt):
1362 (WebCore::ChromeClientQt::setStatusbarText):
1363 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
1364 (WebCore::ChromeClientQt::tabsToLinks):
1365 (WebCore::ChromeClientQt::windowResizerRect):
1366 (WebCore::ChromeClientQt::addToDirtyRegion):
1367 (WebCore::ChromeClientQt::scrollBackingStore):
1368 (WebCore::ChromeClientQt::updateBackingStore):
1369 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1370 (WebCore::ChromeClientQt::setToolTip):
1371 (WebCore::ChromeClientQt::print):
1372 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
1373 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
1374 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1375 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1376 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1377 (WebCore::ContextMenuClientQt::downloadURL):
1378 (WebCore::ContextMenuClientQt::lookUpInDictionary):
1379 (WebCore::ContextMenuClientQt::speak):
1380 (WebCore::ContextMenuClientQt::stopSpeaking):
1381 (WebCore::ContextMenuClientQt::searchWithGoogle):
1382 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
1383 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
1384 (WebCore::DragClientQt::actionMaskForDrag):
1385 (WebCore::DragClientQt::willPerformDragDestinationAction):
1386 (WebCore::DragClientQt::dragControllerDestroyed):
1387 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1388 (WebCore::DragClientQt::willPerformDragSourceAction):
1389 (WebCore::DragClientQt::startDrag):
1390 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
1391 (WebCore::DragClientQt::DragClientQt):
1392 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
1393 (EditCommandQt::EditCommandQt):
1394 (EditCommandQt::~EditCommandQt):
1395 (EditCommandQt::redo):
1396 (EditCommandQt::undo):
1397 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
1398 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
1399 (WebCore::EditorClientQt::shouldDeleteRange):
1400 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1401 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1402 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1403 (WebCore::EditorClientQt::spellCheckerDocumentTag):
1404 (WebCore::EditorClientQt::shouldBeginEditing):
1405 (WebCore::EditorClientQt::shouldEndEditing):
1406 (WebCore::EditorClientQt::shouldInsertText):
1407 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1408 (WebCore::EditorClientQt::shouldApplyStyle):
1409 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1410 (WebCore::EditorClientQt::didBeginEditing):
1411 (WebCore::EditorClientQt::respondToChangedContents):
1412 (WebCore::EditorClientQt::respondToChangedSelection):
1413 (WebCore::EditorClientQt::didEndEditing):
1414 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1415 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1416 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1417 (WebCore::EditorClientQt::isEditable):
1418 (WebCore::EditorClientQt::registerCommandForUndo):
1419 (WebCore::EditorClientQt::registerCommandForRedo):
1420 (WebCore::EditorClientQt::clearUndoRedoOperations):
1421 (WebCore::EditorClientQt::canUndo):
1422 (WebCore::EditorClientQt::canRedo):
1423 (WebCore::EditorClientQt::undo):
1424 (WebCore::EditorClientQt::redo):
1425 (WebCore::EditorClientQt::shouldInsertNode):
1426 (WebCore::EditorClientQt::pageDestroyed):
1427 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
1428 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1429 (WebCore::EditorClientQt::toggleGrammarChecking):
1430 (WebCore::EditorClientQt::handleKeypress):
1431 (WebCore::EditorClientQt::handleInputMethodKeypress):
1432 (WebCore::EditorClientQt::EditorClientQt):
1433 (WebCore::EditorClientQt::textFieldDidBeginEditing):
1434 (WebCore::EditorClientQt::textFieldDidEndEditing):
1435 (WebCore::EditorClientQt::textDidChangeInTextField):
1436 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
1437 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
1438 (WebCore::EditorClientQt::textDidChangeInTextArea):
1439 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
1440 (WebCore::EditorClientQt::learnWord):
1441 (WebCore::EditorClientQt::checkSpellingOfString):
1442 (WebCore::EditorClientQt::checkGrammarOfString):
1443 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
1444 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
1445 (WebCore::EditorClientQt::showSpellingUI):
1446 (WebCore::EditorClientQt::spellingUIIsShowing):
1447 (WebCore::EditorClientQt::getGuessesForWord):
1448 (WebCore::EditorClientQt::isEditing):
1449 (WebCore::EditorClientQt::setInputMethodState):
1450 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
1451 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
1452 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1453 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1454 (WebCore::FrameLoaderClientQt::setFrame):
1455 (WebCore::FrameLoaderClientQt::webFrame):
1456 (WebCore::FrameLoaderClientQt::callPolicyFunction):
1457 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1458 (WebCore::FrameLoaderClientQt::hasWebView):
1459 (WebCore::FrameLoaderClientQt::hasFrameView):
1460 (WebCore::FrameLoaderClientQt::hasBackForwardList):
1461 (WebCore::FrameLoaderClientQt::resetBackForwardList):
1462 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
1463 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
1464 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
1465 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
1466 (WebCore::FrameLoaderClientQt::makeDocumentView):
1467 (WebCore::FrameLoaderClientQt::makeRepresentation):
1468 (WebCore::FrameLoaderClientQt::forceLayout):
1469 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
1470 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1471 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
1472 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
1473 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
1474 (WebCore::FrameLoaderClientQt::willCloseDocument):
1475 (WebCore::FrameLoaderClientQt::detachedFromParent2):
1476 (WebCore::FrameLoaderClientQt::detachedFromParent3):
1477 (WebCore::FrameLoaderClientQt::detachedFromParent4):
1478 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
1479 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1480 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
1481 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
1482 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
1483 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
1484 (WebCore::FrameLoaderClientQt::dispatchWillClose):
1485 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1486 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1487 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1488 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1489 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1490 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1491 (WebCore::FrameLoaderClientQt::dispatchShow):
1492 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1493 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1494 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
1495 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
1496 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
1497 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
1498 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
1499 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1500 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1501 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1502 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1503 (WebCore::FrameLoaderClientQt::willChangeTitle):
1504 (WebCore::FrameLoaderClientQt::didChangeTitle):
1505 (WebCore::FrameLoaderClientQt::finishedLoading):
1506 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
1507 (WebCore::FrameLoaderClientQt::setDefersLoading):
1508 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
1509 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
1510 (WebCore::FrameLoaderClientQt::clearArchivedResources):
1511 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1512 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1513 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
1514 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1515 (WebCore::FrameLoaderClientQt::restoreViewState):
1516 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1517 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
1518 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
1519 (WebCore::FrameLoaderClientQt::didFinishLoad):
1520 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1521 (WebCore::FrameLoaderClientQt::setTitle):
1522 (WebCore::FrameLoaderClientQt::userAgent):
1523 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
1524 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1525 (WebCore::FrameLoaderClientQt::canHandleRequest):
1526 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1527 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1528 (WebCore::FrameLoaderClientQt::registerForIconNotification):
1529 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
1530 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1531 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1532 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1533 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1534 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
1535 (WebCore::FrameLoaderClientQt::canCachePage):
1536 (WebCore::FrameLoaderClientQt::setMainDocumentError):
1537 (WebCore::FrameLoaderClientQt::committedLoad):
1538 (WebCore::FrameLoaderClientQt::cancelledError):
1539 (WebCore::FrameLoaderClientQt::blockedError):
1540 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1541 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1542 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1543 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1544 (WebCore::FrameLoaderClientQt::shouldFallBack):
1545 (WebCore::FrameLoaderClientQt::createDocumentLoader):
1546 (WebCore::FrameLoaderClientQt::download):
1547 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1548 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1549 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1550 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1551 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1552 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1553 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1554 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1555 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1556 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1557 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1558 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1559 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1560 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1561 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1562 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1563 (WebCore::FrameLoaderClientQt::startDownload):
1564 (WebCore::FrameLoaderClientQt::willUseArchive):
1565 (WebCore::FrameLoaderClientQt::createFrame):
1566 (WebCore::FrameLoaderClientQt::objectContentType):
1568 (WebCore::FrameLoaderClientQt::createPlugin):
1569 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1570 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1571 (WebCore::FrameLoaderClientQt::overrideMediaType):
1572 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
1573 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
1574 (WebCore::InspectorClientQt::inspectorDestroyed):
1575 (WebCore::InspectorClientQt::createPage):
1576 (WebCore::InspectorClientQt::showWindow):
1577 (WebCore::InspectorClientQt::closeWindow):
1578 (WebCore::InspectorClientQt::attachWindow):
1579 (WebCore::InspectorClientQt::detachWindow):
1580 (WebCore::InspectorClientQt::highlight):
1581 (WebCore::InspectorClientQt::hideHighlight):
1582 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
1583 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
1584 (WebKitFactory::WebKitFactory):
1585 (WebKitFactory::~WebKitFactory):
1586 (WebKitFactory::createPartObject):
1587 (WebKitFactory::instance):
1588 (WebKitFactory::ref):
1589 (WebKitFactory::deref):
1590 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
1591 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
1592 (WebKitPart::WebKitPart):
1593 (WebKitPart::~WebKitPart):
1594 (WebKitPart::openFile):
1595 (WebKitPart::openUrl):
1596 (WebKitPart::closeUrl):
1597 (WebKitPart::parentPart):
1598 (WebKitPart::frame):
1599 (WebKitPart::initView):
1600 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
1601 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
1603 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
1604 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
1605 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
1606 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1607 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
1608 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
1609 (WebKitPartClient::WebKitPartClient):
1610 (WebKitPartClient::~WebKitPartClient):
1611 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
1612 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
1613 (WebKitPartInterface::WebKitPartInterface):
1614 (WebKitPartInterface::~WebKitPartInterface):
1615 (WebKitPartInterface::url):
1616 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
1617 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
1619 2007-10-02 Adam Treat <treat@kde.org>
1621 Reviewed by Eric Seidel.
1623 Open the requested url on the newly created window.
1624 Implement createModalDialog and provide new API for this.
1625 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
1628 (QWebPage::createModalDialog):
1630 * WebCoreSupport/ChromeClientQt.cpp:
1631 (WebCore::ChromeClientQt::createWindow):
1632 (WebCore::ChromeClientQt::createModalDialog):
1634 2007-10-02 Lars Knoll <lars@trolltech.com>
1638 Add API to retrieve the frame name from QWebFrame.
1639 Implement support for DRT::dumpChildrenAsText.
1641 * Api/qwebframe.cpp:
1645 2007-10-02 Lars Knoll <lars@trolltech.com>
1649 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1651 * Api/qwebnetworkinterface.cpp:
1652 (QWebNetworkManager::started):
1653 (QWebNetworkManager::data):
1654 (QWebNetworkManager::finished):
1655 (QWebNetworkInterfacePrivate::sendFileData):
1656 (QWebNetworkInterfacePrivate::parseDataUrl):
1657 (WebCoreHttp::scheduleNextRequest):
1658 (WebCoreHttp::onSslErrors):
1659 * QtLauncher/main.cpp:
1662 2007-10-01 Lars Knoll <lars@trolltech.com>
1666 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
1668 * WebCoreSupport/FrameLoaderClientQt.cpp:
1669 (WebCore::FrameLoaderClientQt::makeDocumentView):
1670 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1671 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1672 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1673 (WebCore::FrameLoaderClientQt::objectContentType):
1674 (WebCore::FrameLoaderClientQt::createPlugin):
1676 2007-09-30 George Staikos <staikos@kde.org>
1678 Qt build fix (OS X specific).
1680 * QtLauncher/QtLauncher.pro:
1682 2007-09-26 Mark Rowe <mrowe@apple.com>
1686 * WebCoreSupport/FrameLoaderClientQt.cpp:
1687 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
1689 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1693 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1694 LGPL'ed files contain incorrect FSF address
1696 * Api/qcookiejar.cpp:
1698 * Api/qwebframe.cpp:
1700 * Api/qwebframe_p.h:
1701 * Api/qwebhistoryinterface.cpp:
1702 * Api/qwebhistoryinterface.h:
1703 * Api/qwebkitglobal.h:
1704 * Api/qwebnetworkinterface.cpp:
1705 * Api/qwebnetworkinterface.h:
1706 * Api/qwebnetworkinterface_p.h:
1707 * Api/qwebobjectplugin.cpp:
1708 * Api/qwebobjectplugin.h:
1709 * Api/qwebobjectpluginconnector.cpp:
1710 * Api/qwebobjectpluginconnector.h:
1714 * Api/qwebpagehistory.cpp:
1715 * Api/qwebpagehistory.h:
1716 * Api/qwebsettings.cpp:
1717 * Api/qwebsettings.h:
1718 * WebCoreSupport/EditCommandQt.cpp:
1719 * WebCoreSupport/EditCommandQt.h:
1721 2007-09-25 Adam Treat <treat@kde.org>
1723 Reviewed by Simon and Lars.
1725 Modifies the addToJSWindowObject to bind js objects using the built-in
1726 kjs_window class. Make sure to protect the created runtime object from
1729 Adds a signal to QWebFrame to notify clients of the beginning of a
1730 provisional load. DRT needs this.
1732 * Api/qwebframe.cpp:
1733 (QWebFrame::addToJSWindowObject):
1735 * WebCoreSupport/FrameLoaderClientQt.cpp:
1736 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1738 2007-09-10 Qing Zhao <qing@staikos.net>
1740 Reviewed by George Staikos.
1742 Don't re-encode urls, resulting in double encoding. Fixes login to
1745 * Api/qwebnetworkinterface.cpp:
1746 (QWebNetworkRequestPrivate::init):
1747 (QWebNetworkManager::started):
1749 2007-09-08 Mark Rowe <mrowe@apple.com>
1751 Qt build fix. Move stub method implementations to the right class.
1753 * WebCoreSupport/FrameLoaderClientQt.cpp:
1754 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1756 2007-09-08 Brady Eidson <beidson@apple.com>
1758 YABF (Yet Another Build Fix)
1760 * Api/qwebsettings.cpp:
1761 (QWebSettings::iconDatabaseEnabled):
1763 2007-09-08 Brady Eidson <beidson@apple.com>
1767 * WebCoreSupport/FrameLoaderClientQt.cpp:
1768 (WebCore::FrameLoaderClient::registerForIconNotification):
1769 * WebCoreSupport/FrameLoaderClientQt.h:
1771 2007-09-08 Brady Eidson <beidson@apple.com>
1775 * WebCoreSupport/FrameLoaderClientQt.cpp:
1776 (WebCore::FrameLoaderClient::registerForIconNotification):
1777 * WebCoreSupport/FrameLoaderClientQt.h:
1779 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1781 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1783 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
1784 memory cache, or a very tiny one
1786 Keep the Qt build working with an empty stub.
1788 * WebCoreSupport/FrameLoaderClientQt.cpp:
1789 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1790 * WebCoreSupport/FrameLoaderClientQt.h:
1792 2007-09-07 George Staikos <staikos@kde.org>
1797 (QWebPage::onLoadProgressChanged):
1799 2007-09-07 Qing Zhao <qing@staikos.net>
1801 Reviewed by Anders and George.
1803 Export page size and load progress in bytes.
1806 (QWebPage::QWebPage):
1807 (QWebPage::onLoadProgressChanged):
1808 (QWebPage::totalBytes):
1809 (QWebPage::bytesReceived):
1813 2007-09-06 George Staikos <staikos@kde.org>
1817 Make popup windows work again.
1819 * WebCoreSupport/FrameLoaderClientQt.cpp:
1820 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1822 2007-09-01 Oliver Hunt <oliver@apple.com>
1826 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1828 EditorClient::setInputMethodState stub
1830 * WebCoreSupport/EditorClientQt.cpp:
1831 (WebCore::EditorClientQt::setInputMethodState):
1832 * WebCoreSupport/EditorClientQt.h:
1834 2007-08-30 Simon Hausmann <hausmann@kde.org>
1838 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
1841 (QWebPage::keyPressEvent):
1843 2007-08-30 Simon Hausmann <hausmann@kde.org>
1847 When scrolling with the keyboard don't call update() on the entire widget.
1848 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
1852 (QWebPage::keyPressEvent):
1854 2007-08-30 Simon Hausmann <hausmann@kde.org>
1858 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
1861 (QWebPage::keyPressEvent):
1863 2007-08-29 Simon Hausmann <hausmann@kde.org>
1869 * WebCoreSupport/FrameLoaderClientQt.cpp:
1870 (WebCore::FrameLoaderClientQt::objectContentType):
1872 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
1874 Reviewed by George Staikos.
1876 Don't export ICO symbols.
1878 * Plugins/Plugins.pro:
1880 2007-08-19 George Staikos <staikos@kde.org>
1884 * WebCoreSupport/FrameLoaderClientQt.cpp:
1885 (WebCore::FrameLoaderClientQt::createPlugin):
1886 * WebCoreSupport/FrameLoaderClientQt.h:
1888 2007-08-10 Lars Knoll <lars@trolltech.com>
1890 Reviewed and landed by Simon.
1892 Limit the set of properties from the computed style to apply to Qt
1893 plugin widgets, as only a few of them make sense.
1895 * WebCoreSupport/FrameLoaderClientQt.cpp:
1898 2007-08-10 Lars Knoll <lars@trolltech.com>
1902 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
1905 (QWebPage::createPlugin):
1907 * WebCoreSupport/FrameLoaderClientQt.cpp:
1908 (WebCore::FrameLoaderClientQt::objectContentType):
1909 (WebCore::FrameLoaderClientQt::createPlugin):
1911 2007-08-10 Simon Hausmann <hausmann@kde.org>
1915 Added support for network jobs from Qt resources using the qrc protocol.
1917 * Api/qwebnetworkinterface.cpp:
1918 (QWebNetworkInterface::addJob):
1920 2007-08-10 Simon Hausmann <hausmann@kde.org>
1924 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
1925 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
1927 * WebCoreSupport/FrameLoaderClientQt.cpp:
1928 (WebCore::FrameLoaderClientQt::objectContentType):
1930 (WebCore::FrameLoaderClientQt::createPlugin):
1932 2007-08-10 Simon Hausmann <hausmann@kde.org>
1936 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
1937 and fixed widget embedding by setting the right QWidget parent.
1940 (QWebPage::createPlugin):
1942 * WebCoreSupport/FrameLoaderClientQt.cpp:
1943 (WebCore::FrameLoaderClientQt::objectContentType):
1944 (WebCore::FrameLoaderClientQt::createPlugin):
1946 2007-08-02 George Staikos <staikos@kde.org>
1950 Add an interface for the useragent string.
1953 (QWebPage::userAgentStringForUrl):
1955 * WebCoreSupport/FrameLoaderClientQt.cpp:
1956 (WebCore::FrameLoaderClientQt::userAgent):
1958 2007-08-01 Adam Treat <treat@kde.org>
1960 Reviewed by George Staikos.
1962 Add an interface to manage global history for clients
1965 * Api/qwebhistoryinterface.cpp: Added.
1966 (WebCore::historyContains):
1967 (gCleanupInterface):
1968 (QWebHistoryInterface::setDefaultInterface):
1969 (QWebHistoryInterface::defaultInterface):
1970 (QWebHistoryInterface::QWebHistoryInterface):
1971 * Api/qwebhistoryinterface.h: Added.
1973 2007-07-30 Adam Treat <treat@kde.org>
1977 * WebCoreSupport/EditorClientQt.cpp:
1978 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1979 * WebCoreSupport/EditorClientQt.h:
1981 2007-07-30 Simon Hausmann <hausmann@kde.org>
1985 Link QtLauncher into $$OUTPUT_DIR/bin
1987 * QtLauncher/QtLauncher.pro:
1989 2007-07-29 Adam Treat <treat@kde.org>
1991 Reviewed by George Staikos.
1993 Change QWebPage::paintEvent to draw using the individual rects provided
1994 via the QRegion and set the widget to use opaque paint events.
1996 These changes greatly reduce the cpu load as we are no longer painting the
1997 entire page for each 1px scroll :P
1999 * Api/qwebframe.cpp:
2000 (QWebFrame::render):
2002 (QWebPage::QWebPage):
2003 (QWebPage::paintEvent):
2004 * WebCoreSupport/ChromeClientQt.cpp:
2005 (WebCore::ChromeClientQt::addToDirtyRegion):
2007 2007-07-29 Adam Treat <treat@kde.org>
2009 Reviewed by Alexey Proskuryakov.
2011 Respect the margins when creating frames.
2012 Set the scroll mode to always off like we did before the rendered
2013 frames patch and the other ports do now.
2015 * Api/qwebframe.cpp:
2016 (QWebFramePrivate::init):
2018 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
2022 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2024 * QtLauncher/QtLauncher.pro:
2026 2007-07-27 Simon Hausmann <hausmann@kde.org>
2030 Fix compilation with MSVC.
2032 * Api/qwebpagehistory.cpp:
2033 (QWebPageHistory::operator=):
2034 * Api/qwebpagehistory.h:
2035 * Api/qwebsettings.cpp:
2036 (QWebSettings::operator=):
2037 * Api/qwebsettings.h:
2039 2007-07-26 Qing Zhao <qing@staikos.net>
2041 Reviewed by George Staikos.
2043 Add a signal for history notification.
2046 * WebCoreSupport/FrameLoaderClientQt.cpp:
2048 2007-07-24 Adam Treat <treat@kde.org>
2050 Reviewed by Niko and Lars.
2052 These are no longer necessary or used.
2054 * WebCoreSupport/FrameLoaderClientQt.cpp:
2055 * WebCoreSupport/FrameLoaderClientQt.h:
2057 2007-07-20 Adam Treat <adam@staikos.net>
2059 Reviewed by George Staikos.
2061 Add a signal for first layout and add the action type for the policy
2065 (QWebPagePrivate::navigationRequested):
2066 (QWebPage::navigationRequested):
2069 * WebCoreSupport/FrameLoaderClientQt.cpp:
2070 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2071 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2073 2007-07-19 Adam Treat <treat@kde.org>
2077 Do a recursive layout on the frame's children. This fixes a
2078 segfault found when rendering some framesets.
2080 * Api/qwebframe.cpp:
2081 (QWebFrame::render):
2082 (QWebFrame::layout):
2085 2007-07-18 Timothy Hatcher <timothy@apple.com>
2089 Make the Page with the now required InspectorClient.
2092 (QWebPagePrivate::QWebPagePrivate):
2093 * WebKitPart/WebKitPart.cpp:
2094 (WebKitPart::initView):
2096 2007-07-18 Sam Weinig <sam@webkit.org>
2100 * Api/qwebnetworkinterface.cpp:
2101 (QWebNetworkManager::started):
2102 * WebCoreSupport/FrameLoaderClientQt.cpp:
2103 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2104 (WebCore::FrameLoaderClientQt::objectContentType):
2106 2007-07-18 Lars Knoll <lars@trolltech.com>
2108 Reviewed by Zack & Simon
2110 Reallow setting of scrollbar policies on QWebFrame.
2112 * Api/qwebframe.cpp:
2113 (QWebFrame::verticalScrollBarPolicy):
2114 (QWebFrame::setVerticalScrollBarPolicy):
2115 (QWebFrame::horizontalScrollBarPolicy):
2118 2007-07-17 Adam Treat <treat@kde.org>
2122 * WebCoreSupport/FrameLoaderClientQt.cpp:
2123 (WebCore::FrameLoaderClientQt::createFrame):
2125 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2127 Blind build fix for Qt after r24366 by adding the additional
2128 WebCore::ResourceRequest& parameter to the download method.
2130 * WebCoreSupport/FrameLoaderClientQt.cpp:
2131 (WebCore::FrameLoaderClientQt::download):
2132 * WebCoreSupport/FrameLoaderClientQt.h:
2134 2007-07-17 Adam Roben <aroben@apple.com>
2136 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2140 * WebCoreSupport/ContextMenuClientQt.cpp:
2141 * WebCoreSupport/ContextMenuClientQt.h:
2143 2007-07-16 Adam Roben <aroben@apple.com>
2145 Updated ChromeClientQt for ChromeClient changes.
2149 * WebCoreSupport/ChromeClientQt.cpp:
2150 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2151 * WebCoreSupport/ChromeClientQt.h: Ditto.
2153 2007-07-13 Mark Rowe <mrowe@apple.com>
2157 Build fix. Stub out ChromeClientQt::print.
2159 * WebCoreSupport/ChromeClientQt.cpp:
2160 (WebCore::ChromeClientQt::print):
2161 * WebCoreSupport/ChromeClientQt.h:
2163 2007-07-12 George Staikos <staikos@kde.org>
2165 Qt build fix for assertions.
2167 * Api/qwebnetworkinterface.cpp:
2168 (QWebNetworkManager::add):
2170 2007-07-12 George Staikos <staikos@kde.org>
2174 * Api/qwebnetworkinterface.cpp:
2175 (QWebNetworkManager::add):
2177 2007-07-10 Mark Rowe <mrowe@apple.com>
2179 Qt build fix after r24126.
2181 * Api/qwebframe.cpp:
2182 (QWebFrame::evaluateJavaScript):
2184 2007-07-10 Eli Fidler <eli@staikos.net>
2186 Reviewed by George Staikos.
2188 Properly url-decode data urls.
2190 * Api/qwebnetworkinterface.cpp:
2191 (QWebNetworkInterfacePrivate::parseDataUrl):
2193 2007-07-09 Adam Treat <adam@staikos.net>
2195 Reviewed by George Staikos.
2197 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2200 * Api/qwebframe.cpp:
2201 (QWebFramePrivate::init):
2202 (QWebFramePrivate::parentFrame):
2203 (QWebFrame::QWebFrame):
2204 (QWebFrame::render):
2206 (QWebFrame::geometry):
2207 (QWebFrame::evaluateJavaScript):
2208 (QWebFrame::mouseMoveEvent):
2209 (QWebFrame::mousePressEvent):
2210 (QWebFrame::mouseDoubleClickEvent):
2211 (QWebFrame::mouseReleaseEvent):
2212 (QWebFrame::wheelEvent):
2214 * Api/qwebobjectpluginconnector.cpp:
2215 (QWebObjectPluginConnector::pluginParentWidget):
2217 (QWebPagePrivate::QWebPagePrivate):
2218 (QWebPagePrivate::createMainFrame):
2219 (QWebPage::QWebPage):
2220 (QWebPage::javaScriptAlert):
2221 (QWebPage::javaScriptConfirm):
2222 (QWebPage::javaScriptPrompt):
2223 (QWebPage::resizeEvent):
2224 (QWebPage::paintEvent):
2225 (QWebPage::mouseMoveEvent):
2226 (QWebPage::mousePressEvent):
2227 (QWebPage::mouseDoubleClickEvent):
2228 (QWebPage::mouseReleaseEvent):
2229 (QWebPage::wheelEvent):
2230 (QWebPage::keyPressEvent):
2231 (QWebPage::keyReleaseEvent):
2232 (QWebPage::focusInEvent):
2233 (QWebPage::focusOutEvent):
2234 (QWebPage::focusNextPrevChild):
2235 (QWebPage::chooseFile):
2238 * WebCoreSupport/ChromeClientQt.cpp:
2239 (WebCore::ChromeClientQt::addToDirtyRegion):
2241 2007-07-09 George Staikos <staikos@kde.org>
2243 Fix a minor memory leak in the loader.
2245 * Api/qwebnetworkinterface.cpp:
2246 (gCleanupInterface):
2247 (QWebNetworkInterface::setDefaultInterface):
2248 (QWebNetworkInterface::defaultInterface):
2250 2007-07-09 George Staikos <staikos@kde.org>
2252 Fix a massive memory leak in the loader.
2254 * Api/qwebnetworkinterface.cpp:
2255 (QWebNetworkManager::httpConnectionClosed):
2256 (WebCoreHttp::~WebCoreHttp):
2258 2007-07-09 George Staikos <staikos@kde.org>
2262 Rework much of the HTTP stuff to make it more stable, and add SSL and
2263 proxy support. Major memory leak also discovered but it needs more
2264 research as the obvious fix causes crashes.
2266 * Api/qwebnetworkinterface.cpp:
2267 (QWebNetworkManager::add):
2268 (QWebNetworkManager::started):
2269 (QWebNetworkManager::data):
2270 (WebCoreHttp::WebCoreHttp):
2271 (WebCoreHttp::~WebCoreHttp):
2272 (WebCoreHttp::request):
2273 (WebCoreHttp::scheduleNextRequest):
2274 (WebCoreHttp::getConnection):
2275 (WebCoreHttp::onResponseHeaderReceived):
2276 (WebCoreHttp::onReadyRead):
2277 (WebCoreHttp::onRequestFinished):
2278 (WebCoreHttp::onDone):
2279 (WebCoreHttp::onStateChanged):
2280 (WebCoreHttp::onSslErrors):
2281 (WebCoreHttp::onAuthenticationRequired):
2282 (WebCoreHttp::onProxyAuthenticationRequired):
2283 * Api/qwebnetworkinterface.h:
2284 * Api/qwebnetworkinterface_p.h:
2285 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2287 2007-07-06 Adam Treat <adam@staikos.net>
2289 Reviewed by George Staikos.
2291 Convert QWebFrame to a QFrame from a scroll area.
2293 * Api/qwebframe.cpp:
2294 (QWebFramePrivate::init):
2295 (QWebFramePrivate::parentFrame):
2296 (QWebFramePrivate::horizontalScrollBar):
2297 (QWebFramePrivate::verticalScrollBar):
2298 (QWebFrame::QWebFrame):
2299 (QWebFrame::resizeEvent):
2300 (QWebFrame::suppressScrollbars):
2301 (QWebFrame::paintEvent):
2302 (QWebFrame::mouseMoveEvent):
2303 (QWebFrame::mousePressEvent):
2304 (QWebFrame::mouseDoubleClickEvent):
2305 (QWebFrame::mouseReleaseEvent):
2306 (QWebFrame::wheelEvent):
2307 (QWebFrame::keyPressEvent):
2308 (QWebFrame::focusInEvent):
2309 (QWebFrame::focusOutEvent):
2310 (QWebFrame::evaluateJavaScript):
2312 * Api/qwebframe_p.h:
2313 * Api/qwebobjectpluginconnector.cpp:
2314 (QWebObjectPluginConnector::pluginParentWidget):
2316 2007-07-04 Adam Roben <aroben@apple.com>
2318 Added a stub for ChromeClientQt::setToolTip
2322 * WebCoreSupport/ChromeClientQt.cpp:
2323 (WebCore::ChromeClientQt::setToolTip):
2324 * WebCoreSupport/ChromeClientQt.h:
2326 2007-07-04 Adam Roben <aroben@apple.com>
2328 Added a stub for ChromeClientQt::mouseDidMoveOverElement
2332 * WebCoreSupport/ChromeClientQt.cpp:
2333 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2334 * WebCoreSupport/ChromeClientQt.h:
2336 2007-06-28 Simon Hausmann <hausmann@kde.org>
2340 Propagate mouse double click events from Qt to WebCore.
2342 * Api/qwebframe.cpp:
2343 (QWebFrame::mouseDoubleClickEvent):
2346 2007-06-28 Simon Hausmann <hausmann@kde.org>
2350 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
2354 (QWebPage::canCopy):
2355 (QWebPage::canPaste):
2360 * WebCoreSupport/EditorClientQt.cpp:
2362 2007-06-27 George Staikos <staikos@kde.org>
2364 Compile with various Qt configurations.
2366 * Api/qwebnetworkinterface.cpp:
2367 (WebCoreHttp::scheduleNextRequest):
2369 (QWebPage::javaScriptPrompt):
2370 (QWebPage::dragEnterEvent):
2371 (QWebPage::dragLeaveEvent):
2372 (QWebPage::dragMoveEvent):
2373 (QWebPage::dropEvent):
2374 (QWebPage::chooseFile):
2377 * WebCoreSupport/DragClientQt.cpp:
2378 (WebCore::DragClientQt::startDrag):
2380 2007-06-27 Eli Fidler <eli@staikos.net>
2382 Reviewed by George Staikos.
2384 Check for QT_NO_IMAGE_TEXT and compile either way.
2386 * Plugins/ICOHandler.cpp:
2389 2007-06-27 Eli Fidler <eli@staikos.net>
2391 Reviewed by George Staikos.
2393 Remove QT3_SUPPORT dependency in the ICO plugin.
2395 * Plugins/ICOHandler.cpp:
2396 (IcoHeader::loadFromDIB):
2398 2007-06-25 George Staikos <staikos@kde.org>
2402 Start to add proxy and SSL support to WebKit Qt. Proxy works
2403 unauthenticated. Added hooks to be able to add authentication.
2404 Also fixes some network errors.
2406 * Api/qwebnetworkinterface.cpp:
2407 (QWebNetworkRequestPrivate::setURL):
2408 (QWebNetworkJob::frame):
2409 (WebCoreHttp::WebCoreHttp):
2410 (WebCoreHttp::scheduleNextRequest):
2411 (WebCoreHttp::onRequestFinished):
2412 (WebCoreHttp::onDone):
2413 (WebCoreHttp::onSslErrors):
2414 (WebCoreHttp::onAuthenticationRequired):
2415 (WebCoreHttp::onProxyAuthenticationRequired):
2416 * Api/qwebnetworkinterface.h:
2417 * Api/qwebnetworkinterface_p.h:
2419 (QWebPage::setNetworkProxy):
2420 (QWebPage::networkProxy):
2424 2007-06-21 Adam Treat <adam@staikos.net>
2426 Reviewed by George Staikos.
2428 Implement the default resources on Qt.
2432 * Api/qwebsettings.cpp:
2433 (QWebSettings::setWebGraphic):
2434 (QWebSettings::webGraphic):
2435 (loadResourcePixmap):
2436 * Api/qwebsettings.h:
2438 2007-06-15 Adam Treat <adam@staikos.net>
2440 Reviewed by George Staikos.
2442 Add ICO support to the Qt build.
2447 * Api/qwebsettings.cpp:
2448 (QWebSettings::setIconDatabaseEnabled):
2449 (QWebSettings::iconDatabaseEnabled):
2450 * Api/qwebsettings.h:
2452 * Plugins/ICOHandler.cpp: Added.
2453 (IcoHeader::operator >>):
2454 (IcoHeader::BMP_INFOHDR::):
2455 (IcoHeader::operator<<):
2456 (IcoHeader::LessDifference::LessDifference):
2457 (IcoHeader::LessDifference::operator ()):
2458 (IcoHeader::loadFromDIB):
2459 (ICOHandler::ICOHandler):
2460 (ICOHandler::canRead):
2462 (ICOHandler::write):
2465 (ICOPlugin::capabilities):
2466 (ICOPlugin::create):
2467 * Plugins/ICOHandler.h: Added.
2468 * Plugins/Plugins.pro: Added.
2469 * WebCoreSupport/FrameLoaderClientQt.cpp:
2470 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2472 2007-06-15 George Staikos <staikos@kde.org>
2474 Fixing the Qt build.
2476 * WebCoreSupport/ContextMenuClientQt.cpp:
2477 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
2478 * WebCoreSupport/ContextMenuClientQt.h:
2480 2007-06-20 Adam Roben <aroben@apple.com>
2482 More speculative Qt build fixes.
2484 Add a stub implementation of InspectorClientQt.
2486 * WebCoreSupport/InspectorClientQt.cpp: Added.
2487 (WebCore::InspectorClientQt::inspectorDestroyed):
2488 (WebCore::InspectorClientQt::createPage):
2489 (WebCore::InspectorClientQt::showWindow):
2490 (WebCore::InspectorClientQt::closeWindow):
2491 (WebCore::InspectorClientQt::attachWindow):
2492 (WebCore::InspectorClientQt::detachWindow):
2493 (WebCore::InspectorClientQt::highlight):
2494 (WebCore::InspectorClientQt::hideHighlight):
2495 * WebCoreSupport/InspectorClientQt.h: Added.
2497 2007-06-19 George Staikos <staikos@kde.org>
2499 Reviewed by Tim Hatcher.
2503 * Api/qwebnetworkinterface.cpp:
2504 (QWebNetworkInterface::addJob):
2505 (QWebNetworkInterface::cancelJob):
2506 (WebCoreHttp::WebCoreHttp):
2508 2007-06-14 George Staikos <staikos@kde.org>
2512 Add evaluateJavaScript() method.
2514 * Api/qwebframe.cpp:
2515 (QWebFrame::evaluateJavaScript):
2518 2007-06-14 George Staikos <staikos@kde.org>
2522 Implement most of the editing commands, better focus handling, fix some
2523 keyboard and mouse handling, and add keyboard navigation. May be
2524 refactored later as the key switches are ugly.
2526 * Api/qwebframe.cpp:
2527 (QWebFramePrivate::init):
2528 (QWebFrame::mousePressEvent):
2529 (QWebFrame::mouseReleaseEvent):
2530 (QWebFrame::wheelEvent):
2531 (QWebFrame::keyPressEvent):
2532 (QWebFrame::keyReleaseEvent):
2533 (QWebFrame::focusInEvent):
2534 (QWebFrame::focusOutEvent):
2535 (QWebFrame::focusNextPrevChild):
2537 * Api/qwebframe_p.h:
2538 * WebCoreSupport/EditorClientQt.cpp:
2539 (WebCore::EditorClientQt::handleKeypress):
2541 2007-06-14 George Staikos <staikos@kde.org>
2545 Implement all of the Javascript dialogs and file chooser.
2546 Also makes the statusbar virtual into a signal and shuffles some
2547 virtuals around a bit. The helper in FrameLoaderClientQt may go away
2551 (QWebPagePrivate::QWebPagePrivate):
2552 (QWebPage::javaScriptAlert):
2553 (QWebPage::javaScriptConfirm):
2554 (QWebPage::javaScriptPrompt):
2555 (QWebPage::chooseFile):
2557 * WebCoreSupport/ChromeClientQt.cpp:
2558 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2559 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2560 (WebCore::ChromeClientQt::runJavaScriptAlert):
2561 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2562 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2563 (WebCore::ChromeClientQt::setStatusbarText):
2564 * WebCoreSupport/FrameLoaderClientQt.cpp:
2565 (WebCore::FrameLoaderClientQt::chooseFile):
2566 * WebCoreSupport/FrameLoaderClientQt.h:
2568 2007-06-14 Simon Hausmann <hausmann@kde.org>
2572 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
2574 HistoryItem itself doesn't seem to have a parent pointer either.
2576 * Api/qwebpagehistory.h:
2578 2007-06-14 Simon Hausmann <hausmann@kde.org>
2582 Make it possible to copy QWebHistoryItem objects.
2584 * Api/qwebpagehistory.cpp:
2585 * Api/qwebpagehistory.h:
2587 2007-06-14 Lars Knoll <lars@trolltech.com>
2591 Fix a crash when a request from the plugin resulted
2594 * Api/qwebnetworkinterface.cpp:
2595 (QWebNetworkManager::started):
2597 2007-06-14 Lars Knoll <lars@trolltech.com>
2601 Work around a bug in Qt's QHttp implementation and
2602 get web pages to load again.
2607 2007-06-13 Simon Hausmann <hausmann@kde.org>
2611 Added a make install target that installs the Qt port and renamed
2612 WebKitQt to QtWebKit
2614 * Api/headers.pri: Added.
2615 * Api/qtwebkit.prf: Added.
2617 2007-06-13 Simon Hausmann <hausmann@kde.org>
2621 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
2623 * Api/qwebnetworkinterface.cpp:
2624 * Api/qwebnetworkinterface.h:
2626 2007-06-13 Simon Hausmann <hausmann@kde.org>
2630 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
2632 * Api/qwebnetworkinterface.h:
2633 * Api/qwebobjectpluginconnector.cpp:
2634 (QWebObjectPluginConnector::requestUrl):
2635 * Api/qwebobjectpluginconnector.h:
2637 2007-06-13 Simon Hausmann <hausmann@kde.org>
2641 Added a QWebNetworkRequest convenience constructor.
2643 * Api/qwebnetworkinterface.cpp:
2644 * Api/qwebnetworkinterface.h:
2648 2007-06-13 Simon Hausmann <hausmann@kde.org>
2652 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
2653 overload to take a QWebNetworkRequest instead.
2659 2007-06-13 Simon Hausmann <hausmann@kde.org>
2663 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
2664 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
2665 pick the individual fields if we can use them.
2670 2007-06-13 Simon Hausmann <hausmann@kde.org>
2674 Minor QWebNetworkRequet API fixlet
2676 * Api/qwebnetworkinterface.cpp:
2677 * Api/qwebnetworkinterface.h:
2679 2007-06-13 Simon Hausmann <hausmann@kde.org>
2683 Use QWebNetworkRequest for QWebPage::navigationRequested.
2685 * Api/qwebnetworkinterface.cpp:
2686 * Api/qwebnetworkinterface.h:
2688 (QWebPagePrivate::navigationRequested):
2689 (QWebPage::navigationRequested):
2692 * WebCoreSupport/FrameLoaderClientQt.cpp:
2693 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2695 2007-06-13 Simon Hausmann <hausmann@kde.org>
2699 Some docs for QWebNetworkRequest
2701 * Api/qwebnetworkinterface.cpp:
2702 (QWebNetworkRequest::QWebNetworkRequest):
2703 (QWebNetworkRequest::~QWebNetworkRequest):
2705 2007-06-13 Simon Hausmann <hausmann@kde.org>
2709 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
2711 * Api/qwebnetworkinterface.h:
2712 * Api/qwebobjectpluginconnector.cpp:
2713 (QWebObjectPluginConnector::requestUrl):
2714 * Api/qwebobjectpluginconnector.h:
2716 2007-06-13 Simon Hausmann <hausmann@kde.org>
2720 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
2722 * Api/qwebnetworkinterface.cpp:
2723 (QWebNetworkJob::postData):
2724 (WebCoreHttp::WebCoreHttp):
2725 (WebCoreHttp::scheduleNextRequest):
2726 * Api/qwebnetworkinterface.h:
2728 2007-06-13 Simon Hausmann <hausmann@kde.org>
2732 Introduce QWebNetworkRequest in the public API.
2734 * Api/qwebnetworkinterface.cpp:
2735 (QWebNetworkRequestPrivate::init):
2736 * Api/qwebnetworkinterface.h:
2737 * Api/qwebnetworkinterface_p.h:
2738 * WebCoreSupport/FrameLoaderClientQt.cpp:
2739 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2741 2007-06-13 Simon Hausmann <hausmann@kde.org>
2745 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
2747 * Api/qwebnetworkinterface.cpp:
2748 (QWebNetworkManager::add):
2749 (QWebNetworkManager::started):
2750 (QWebNetworkManager::data):
2751 (QWebNetworkManager::finished):
2752 * Api/qwebnetworkinterface_p.h:
2753 * Api/qwebobjectpluginconnector.cpp:
2754 (QWebObjectPluginConnector::requestUrl):
2756 2007-06-13 Simon Hausmann <hausmann@kde.org>
2760 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
2762 * Api/qwebnetworkinterface.cpp:
2763 (QWebNetworkRequest::init):
2764 (QWebNetworkRequest::setURL):
2765 (QWebNetworkManager::add):
2766 (QWebNetworkManager::started):
2767 * Api/qwebnetworkinterface_p.h:
2768 * WebCoreSupport/FrameLoaderClientQt.cpp:
2769 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2771 2007-06-12 Lars Knoll <lars@trolltech.com>
2773 Reviewed by George Staikos.
2775 Remove duplicate symbols.
2777 * Api/qwebobjectplugin_p.h:
2779 2007-06-13 Lars Knoll <lars@trolltech.com>
2783 Fix compilation, and remove dependency on Qt
2786 * Api/qwebobjectplugin_p.h:
2787 (QWebFactoryLoader::supportsMimeType):
2789 2007-06-13 Lars Knoll <lars@trolltech.com>
2793 Parts of the patch done by Zack.
2794 Fix up some parts in the implementation of QWebNetworkInterface
2795 so it can be used by plugins.
2796 Change the plugin API so we can actually get all the information
2797 required by the JS bridge from them as well.
2799 * Api/qwebnetworkinterface.cpp:
2800 (QWebNetworkJob::cancelled):
2801 (QWebNetworkManager::cancel):
2802 (QWebNetworkManager::started):
2803 (QWebNetworkManager::finished):
2804 * Api/qwebobjectplugin.cpp:
2805 (QWebFactoryLoader::QWebFactoryLoader):
2806 (QWebFactoryLoader::descriptionForName):
2807 (QWebFactoryLoader::mimetypesForName):
2808 (QWebFactoryLoader::mimeTypeForExtension):
2809 (QWebFactoryLoader::extensions):
2810 (QWebFactoryLoader::nameForMimetype):
2811 (QWebFactoryLoader::create):
2812 (QWebObjectPlugin::descriptionForKey):
2813 (QWebObjectPlugin::mimetypesForKey):
2814 * Api/qwebobjectplugin.h:
2815 * Api/qwebobjectplugin_p.h:
2816 (QWebFactoryLoader::names):
2817 * Api/qwebobjectpluginconnector.cpp:
2818 (QWebObjectPluginConnector::requestUrl):
2820 (QWebPage::networkInterface):
2822 2007-06-11 Simon Hausmann <hausmann@kde.org>
2826 Added a QWebPage::open overload to allow specifying the http header and post data.
2827 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
2828 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
2833 2007-06-11 Simon Hausmann <hausmann@kde.org>
2837 Added the possibility to intercept url requests through QWebPage::navigationRequested.
2840 (QWebPagePrivate::QWebPagePrivate):
2841 (QWebPage::createFrame):
2844 * WebCoreSupport/FrameLoaderClientQt.cpp:
2846 2007-06-11 Simon Hausmann <hausmann@kde.org>
2850 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
2851 to be called from FrameLoaderClientQt in the near future.
2853 * Api/qwebnetworkinterface.cpp:
2854 (QWebNetworkManager::add):
2855 * Api/qwebnetworkinterface_p.h:
2857 2007-06-11 Simon Hausmann <hausmann@kde.org>
2861 Moved the postData setup into QWebNetworkRequest::init.
2863 * Api/qwebnetworkinterface.cpp:
2864 (QWebNetworkRequest::init):
2865 (QWebNetworkManager::add):
2867 2007-06-11 Simon Hausmann <hausmann@kde.org>
2871 Moved HTTP header field propagation to QWebNetworkRequest::init.
2873 * Api/qwebnetworkinterface.cpp:
2874 (QWebNetworkRequest::init):
2875 (QWebNetworkManager::add):
2877 2007-06-11 Simon Hausmann <hausmann@kde.org>
2881 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
2882 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
2884 * Api/qwebnetworkinterface.cpp:
2885 (QWebNetworkRequest::init):
2886 (QWebNetworkManager::add):
2887 * Api/qwebnetworkinterface_p.h:
2888 * Api/qwebobjectpluginconnector.cpp:
2889 (QWebObjectPluginConnector::requestUrl):
2891 2007-06-11 Zack Rusin <zrusin@trolltech.com>
2895 Forgot to export the plugin connector.
2897 * Api/qwebobjectpluginconnector.h
2899 2007-06-08 Lars Knoll <lars@trolltech.com>
2903 Add a QWebObjectPluginConnector class. The class will
2904 facility communication between the plugin and WebKit.
2905 Currently it's used to make the plugin network capable.
2907 * Api/qwebnetworkinterface.cpp:
2908 (QWebNetworkJobPrivate::setDefaults):
2909 (QWebNetworkManager::add):
2910 (QWebNetworkManager::started):
2911 (QWebNetworkManager::data):
2912 (QWebNetworkManager::finished):
2913 * Api/qwebnetworkinterface.h:
2914 * Api/qwebnetworkinterface_p.h:
2915 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2916 * Api/qwebobjectplugin.cpp:
2917 (QWebFactoryLoader::create):
2918 * Api/qwebobjectplugin.h:
2919 * Api/qwebobjectplugin_p.h:
2920 * Api/qwebobjectpluginconnector.cpp: Added.
2921 (QWebObjectPluginConnector::QWebObjectPluginConnector):
2922 (QWebObjectPluginConnector::frame):
2923 (QWebObjectPluginConnector::pluginParentWidget):
2924 (QWebObjectPluginConnector::requestUrl):
2925 * Api/qwebobjectpluginconnector.h: Added.
2926 (QWebObjectPluginConnector::):
2927 * WebCoreSupport/FrameLoaderClientQt.cpp:
2928 (WebCore::FrameLoaderClientQt::createPlugin):
2930 2007-06-06 Lars Knoll <lars@trolltech.com>
2934 Add an API to create and load plugins.
2935 Don't include moc files by hand anymore, rather let
2938 * Api/qcookiejar.cpp:
2939 (QCookieJar::cookieJar):
2940 * Api/qwebframe.cpp:
2941 (QWebFrame::scrollContentsBy):
2942 * Api/qwebnetworkinterface.cpp:
2943 * Api/qwebobjectplugin.cpp: Added.
2944 (QWebFactoryLoader::QWebFactoryLoader):
2945 (QWebFactoryLoader::self):
2946 (QWebFactoryLoader::mimeTypeForExtension):
2947 (QWebFactoryLoader::create):
2948 (QWebObjectPlugin::QWebObjectPlugin):
2949 (QWebObjectPlugin::~QWebObjectPlugin):
2950 (QWebObjectPlugin::extensionsForMimetype):
2951 * Api/qwebobjectplugin.h: Added.
2952 * Api/qwebobjectplugin_p.h: Added.
2953 (QWebFactoryLoader::mimeTypes):
2954 (QWebFactoryLoader::extensions):
2955 (QWebFactoryLoader::supportsMimeType):
2957 (QWebPage::settings):
2958 * WebCoreSupport/FrameLoaderClientQt.cpp:
2959 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2960 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2961 (WebCore::FrameLoaderClientQt::objectContentType):
2962 (WebCore::FrameLoaderClientQt::createPlugin):
2964 2007-05-28 Zack Rusin <zrusin@trolltech.com>
2966 Reviewed by andersca and simon
2968 Adding public settings Api to the Qt port.
2969 QWebSetting's is a value based settings
2970 object settable on the QWebPage.
2973 (QWebPagePrivate::QWebPagePrivate):
2974 (QWebPage::QWebPage):
2975 (QWebPage::setSettings):
2976 (QWebPage::settings):
2978 * Api/qwebsettings.cpp: Added.
2979 (QWebSettingsPrivate::QWebSettingsPrivate):
2980 (QWebSettings::QWebSettings):
2981 (QWebSettings::~QWebSettings):
2982 (QWebSettings::setMinimumFontSize):
2983 (QWebSettings::minimumFontSize):
2984 (QWebSettings::setMinimumLogicalFontSize):
2985 (QWebSettings::minimumLogicalFontSize):
2986 (QWebSettings::setDefaultFontSize):
2987 (QWebSettings::defaultFontSize):
2988 (QWebSettings::setDefaultFixedFontSize):
2989 (QWebSettings::defaultFixedFontSize):
2990 (QWebSettings::setUserStyleSheetLocation):
2991 (QWebSettings::userStyleSheetLocation):
2992 (QWebSettings::setGlobal):
2993 (QWebSettings::global):
2994 (QWebSettings::setFontFamily):
2995 (QWebSettings::fontFamily):
2996 (QWebSettings::setAttribute):
2997 (QWebSettings::testAttribute):
2998 * Api/qwebsettings.h: Added.
2999 * QtLauncher/main.cpp:
3001 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
3003 Reviewed by Sam Weinig.
3005 Consolidate all notImplemented() macro definitions into
3006 one header file for all platforms.
3008 * WebCoreSupport/ChromeClientQt.cpp:
3009 * WebCoreSupport/ContextMenuClientQt.cpp:
3010 * WebCoreSupport/EditorClientQt.cpp:
3011 * WebCoreSupport/FrameLoaderClientQt.cpp:
3013 2007-05-25 George Staikos <staikos@kde.org>
3017 The http loader should only ask for .... http cookies!
3019 * Api/qwebnetworkinterface.cpp:
3020 (QWebNetworkManager::add):
3022 2007-05-24 Simon Hausmann <hausmann@kde.org>
3026 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
3027 correctly. Fortunately WebCore does it already, so there's no need
3028 for us to do it since we already transfer all HTTP header fields :)
3030 * Api/qwebnetworkinterface.cpp:
3031 (QWebNetworkManager::add):
3033 2007-05-23 Simon Hausmann <hausmann@kde.org>
3035 Reviewed by Zack, idea from Lars.
3037 Share WebCoreHttp and therefore HTTP connections among multiple
3038 QWebNetworkInterface instances by moving the code into
3041 * Api/qwebnetworkinterface.cpp:
3042 (QWebNetworkManager::addHttpJob):
3043 (QWebNetworkManager::cancelHttpJob):
3044 (QWebNetworkManager::httpConnectionClosed):
3045 (QWebNetworkInterface::addJob):
3046 (QWebNetworkInterface::cancelJob):
3047 (WebCoreHttp::scheduleNextRequest):
3048 (WebCoreHttp::onResponseHeaderReceived):
3049 (WebCoreHttp::onReadyRead):
3050 (WebCoreHttp::onRequestFinished):
3051 (WebCoreHttp::cancel):
3052 * Api/qwebnetworkinterface.h:
3053 * Api/qwebnetworkinterface_p.h:
3055 2007-05-23 Simon Hausmann <hausmann@kde.org>
3057 Reviewed by Zack, discussed also with Lars.
3059 Make it possible to specify a per-QWebPage network interface (needed
3060 for the KDE KIO integration).
3062 Merged the file and the network loader into
3063 QWebNetworkInterface(Private), which simplifies the loading code.
3065 When receiving a redirection don't emit the data of the redirected job
3066 to the document. (otherwise the kind of "This page has moved" text
3067 appears right on top of the real page content)
3069 * Api/qwebnetworkinterface.cpp:
3072 (QWebNetworkJob::QWebNetworkJob):
3073 (QWebNetworkJob::networkInterface):
3074 (QWebNetworkManager::add):
3075 (QWebNetworkManager::cancel):
3076 (QWebNetworkManager::data):
3077 (QWebNetworkManager::finished):
3078 (QWebNetworkInterfacePrivate::sendFileData):
3079 (QWebNetworkInterfacePrivate::parseDataUrl):
3080 (QWebNetworkInterfacePrivate::addHttpJob):
3081 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3082 (QWebNetworkInterface::setDefaultInterface):
3083 (QWebNetworkInterface::QWebNetworkInterface):
3084 (QWebNetworkInterface::addJob):
3085 (QWebNetworkInterface::cancelJob):
3086 (WebCoreHttp::scheduleNextRequest):
3087 (WebCoreHttp::onResponseHeaderReceived):
3088 (WebCoreHttp::onReadyRead):
3089 (WebCoreHttp::onRequestFinished):
3090 (WebCoreHttp::cancel):
3091 * Api/qwebnetworkinterface.h:
3092 * Api/qwebnetworkinterface_p.h:
3094 (QWebPagePrivate::QWebPagePrivate):
3095 (QWebPage::setNetworkInterface):
3099 2007-05-23 Lars Knoll <lars@trolltech.com>
3103 Don't do HTTP downloads in a second thread. Simplifies
3104 the code significantly and fixes crashes on some
3107 * Api/qwebnetworkinterface.cpp:
3108 (QWebNetworkManager::add):
3109 (QWebNetworkInterface::QWebNetworkInterface):
3110 (QWebNetworkInterface::addJob):
3111 (QWebNetworkInterface::cancelJob):
3112 (LoaderThread::LoaderThread):
3113 (LoaderThread::run):
3114 (WebCoreHttp::cancel):
3115 (NetworkLoader::NetworkLoader):
3116 (NetworkLoader::request):
3117 (NetworkLoader::cancel):
3118 * Api/qwebnetworkinterface_p.h:
3119 * WebCoreSupport/FrameLoaderClientQt.cpp:
3120 (WebCore::FrameLoaderClientQt::committedLoad):
3121 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3123 2007-05-23 Lars Knoll <lars@trolltech.com>
3127 * Api/qwebnetworkinterface.cpp:
3128 (QWebNetworkJobPrivate::setURL):
3129 (QWebNetworkManager::started):
3130 Fix Host: line in HTTP headers and resolving of relative URLs
3132 * Api/qwebnetworkinterface_p.h:
3133 Clean up qHash forward declaration a bit.
3135 2007-05-23 Simon Hausmann <hausmann@kde.org>
3139 * QtLauncher/main.cpp:
3140 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3142 2007-05-22 Simon Hausmann <hausmann@kde.org>
3146 * Api/qwebnetworkinterface.cpp:
3147 (QWebNetworkManager::add): Fix http headers for POST.
3149 2007-05-21 Lars Knoll <lars@trolltech.com>
3153 Remove the userHandle methods from QWebnetworkJob again.
3154 They don't really give us anything and just clutter the API.
3156 * Api/qwebnetworkinterface.cpp:
3157 * Api/qwebnetworkinterface.h:
3158 * Api/qwebnetworkinterface_p.h:
3160 2007-05-21 Simon Hausmann <hausmann@kde.org>
3164 * Api/qwebnetworkinterface.h: Export the net API.
3166 2007-05-21 Lars Knoll <lars@trolltech.com>
3170 Add an API layer for network downloads. Basically QWebnetworkInterface
3171 is an interface class for downloading resources. QWebnetworkJob describes
3172 the actual object to download.
3174 QWebNetworkInterface has a default implementation that replaces the
3175 old ResourceHandleManager class in the Qt port.
3177 * Api/qwebnetworkinterface.cpp: Added.
3178 (QWebNetworkJobPrivate::setURL):
3179 (QWebNetworkJob::QWebNetworkJob):
3180 (QWebNetworkJob::~QWebNetworkJob):
3181 (QWebNetworkJob::url):
3182 (QWebNetworkJob::postData):
3183 (QWebNetworkJob::request):
3184 (QWebNetworkJob::response):
3185 (QWebNetworkJob::setResponse):
3186 (QWebNetworkJob::cancelled):
3187 (QWebNetworkJob::ref):
3188 (QWebNetworkJob::deref):
3189 (QWebNetworkJob::setUserHandle):
3190 (QWebNetworkJob::userHandle):
3191 (QWebNetworkManager::QWebNetworkManager):
3192 (QWebNetworkManager::self):
3193 (QWebNetworkManager::add):
3194 (QWebNetworkManager::cancel):
3195 (QWebNetworkManager::started):
3196 (QWebNetworkManager::data):
3197 (QWebNetworkManager::finished):
3198 (QWebNetworkInterface::setDefaultInterface):
3199 (QWebNetworkInterface::defaultInterface):
3200 (QWebNetworkInterface::QWebNetworkInterface):
3201 (QWebNetworkInterface::~QWebNetworkInterface):
3202 (QWebNetworkInterface::addJob):
3203 (QWebNetworkInterface::cancelJob):
3204 (LoaderThread::LoaderThread):
3205 (LoaderThread::run):
3206 (FileLoader::FileLoader):
3207 (FileLoader::request):
3208 (FileLoader::sendData):
3209 (FileLoader::parseDataUrl):
3210 (WebCoreHttp::WebCoreHttp):
3211 (WebCoreHttp::~WebCoreHttp):
3212 (WebCoreHttp::request):
3213 (WebCoreHttp::scheduleNextRequest):
3214 (WebCoreHttp::getConnection):
3215 (WebCoreHttp::onResponseHeaderReceived):
3216 (WebCoreHttp::onReadyRead):
3217 (WebCoreHttp::onRequestFinished):
3218 (WebCoreHttp::onStateChanged):
3219 (WebCoreHttp::cancel):
3220 (HostInfo::HostInfo):
3223 (NetworkLoader::NetworkLoader):
3224 (NetworkLoader::~NetworkLoader):
3225 (NetworkLoader::request):
3226 (NetworkLoader::connectionClosed):
3227 (NetworkLoader::cancel):
3228 * Api/qwebnetworkinterface.h: Added.
3229 (QWebNetworkJob::setHandle):
3230 (QWebNetworkJob::handle):
3231 * Api/qwebnetworkinterface_p.h: Added.
3232 (WebCore::LoaderThread::):
3233 (WebCore::LoaderThread::waitForSetup):
3234 (WebCore::HostInfo::HostInfo):
3236 2007-05-18 Simon Hausmann <hausmann@kde.org>
3238 Reviewed by Nikolas.
3240 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3241 percent integer instead of a double precision floating pointer number.
3242 * WebCoreSupport/FrameLoaderClientQt.cpp:
3243 (WebCore::FrameLoaderClientQt::setFrame):
3244 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3245 * WebCoreSupport/FrameLoaderClientQt.h:
3247 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3249 Reviewed by Zack Rusin.
3251 The default constructed KeyboardEvent has
3252 no PlatformKeyboardEvent.
3254 * WebCoreSupport/EditorClientQt.cpp:
3255 (WebCore::EditorClientQt::handleKeypress):
3257 2007-05-17 Adam Treat <adam@staikos.net>
3259 Reviewed by George Staikos.
3261 - Implement frameLoadCompleted
3262 - Fix build (by George)
3264 * WebCoreSupport/FrameLoaderClientQt.cpp:
3265 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3266 (WebCore::FrameLoaderClientQt::createFrame):
3268 2007-05-17 Adam Treat <adam@staikos.net>
3270 Reviewed by George Staikos.
3272 Implement canShowMIMEType
3274 * WebCoreSupport/FrameLoaderClientQt.cpp:
3275 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3277 2007-05-16 Lars Knoll <lars@trolltech.com>
3281 pass the mouse events to the event handler, not the frameview.
3283 * Api/qwebframe.cpp:
3284 (QWebFrame::mouseMoveEvent):
3285 (QWebFrame::mouseReleaseEvent):
3287 2007-05-14 Lars Knoll <lars@trolltech.com>
3291 Updates after Maciej's frame change.
3295 Call stopForUserCancel() instead of stopAllLoaders()
3296 * WebCoreSupport/FrameLoaderClientQt.cpp:
3297 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3298 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3299 (WebCore::FrameLoaderClientQt::didFinishLoad):
3300 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3301 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3302 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3303 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3304 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3305 Call QWebFrame::loadDone() from the places it's supposed to be
3308 2007-05-12 Maciej Stachowiak <mjs@apple.com>
3310 Reviewed by Rob Buis.
3312 - call Frame::init as needed - this prevents crashes but pages don't appear.
3314 * Api/qwebframe.cpp:
3315 (QWebFramePrivate::init):
3316 * WebKitPart/WebKitPart.cpp:
3317 (WebKitPart::initView):
3319 2007-05-08 Steve Falkenburg <sfalken@apple.com>
3323 Slight modification to last editor method fix.
3325 * WebCoreSupport/EditorClientQt.cpp:
3326 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3327 * WebCoreSupport/EditorClientQt.h:
3329 2007-05-03 Steve Falkenburg <sfalken@apple.com>
3333 Add missing user description parameter to spelling-related editor client method.
3335 * WebCoreSupport/EditorClientQt.cpp:
3336 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3337 * WebCoreSupport/EditorClientQt.h:
3339 2007-04-29 Oliver Hunt <oliver@apple.com>
3343 Tie QT drag events to the DragController logic
3344 to allow drag and drop events to be handled by
3347 * Api/qwebframe.cpp:
3350 (QWebPagePrivate::QWebPagePrivate):
3351 (QWebPage::QWebPage):
3352 (dropActionToDragOp):
3353 (dragOpToDropAction):
3354 (QWebPage::dragEnterEvent):
3355 (QWebPage::dragLeaveEvent):
3356 (QWebPage::dragMoveEvent):
3357 (QWebPage::dropEvent):
3359 * WebCoreSupport/DragClientQt.cpp:
3360 (WebCore::DragClientQt::startDrag):
3361 * WebCoreSupport/DragClientQt.h:
3362 (WebCore::DragClientQt::DragClientQt):
3364 2007-04-27 Holger Freyther <freyther@kde.org>
3368 Remove unmaintained CMake build system.
3370 * QtLauncher/CMakeLists.txt: Removed.
3371 * WebKitPart/CMakeLists.txt: Removed.
3373 2007-04-25 Steve Falkenburg <sfalken@apple.com>
3377 Fix spelling error in spelling method name.
3379 * WebCoreSupport/EditorClientQt.cpp:
3380 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3381 * WebCoreSupport/EditorClientQt.h:
3383 2007-04-24 Steve Falkenburg <sfalken@apple.com>
3387 Spelling and grammar stubs
3389 * WebCoreSupport/EditorClientQt.cpp:
3390 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3391 (WebCore::EditorClientQt::learnWord):
3392 (WebCore::EditorClientQt::checkSpellingOfString):
3393 (WebCore::EditorClientQt::checkGrammarOfString):
3394 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
3395 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3396 (WebCore::EditorClientQt::showSpellingUI):
3397 (WebCore::EditorClientQt::spellingUIIsShowing):
3398 (WebCore::EditorClientQt::getGuessesForWord):
3399 * WebCoreSupport/EditorClientQt.h:
3401 2007-04-11 MorganL <morganl.webkit@yahoo.com>
3405 Add a Frame pointer to ChromeClient methods:
3406 http://bugs.webkit.org/show_bug.cgi?id=13127
3408 * WebCoreSupport/ChromeClientQt.cpp:
3409 (WebCore::ChromeClientQt::createWindow):
3410 (WebCore::ChromeClientQt::createModalDialog):
3411 * WebCoreSupport/ChromeClientQt.h:
3413 2007-04-12 Mark Rowe <mrowe@apple.com>
3415 Second part of Qt build fix.
3417 * WebCoreSupport/FrameLoaderClientQt.cpp:
3418 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3419 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3420 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3421 * WebCoreSupport/FrameLoaderClientQt.h:
3423 2007-03-27 Zack Rusin <zrusin@trolltech.com>
3425 Fix the rendering crashes due triggered
3426 asserts. Improve a bit the layout
3429 * Api/qwebframe.cpp:
3430 (QWebFrame::resizeEvent):
3431 (QWebFrame::paintEvent):
3432 * WebCoreSupport/FrameLoaderClientQt.cpp:
3433 (WebCore::FrameLoaderClientQt::forceLayout):
3435 2007-03-16 Lars Knoll <lars@trolltech.com>
3437 Fix the Qt build once again.
3439 * WebCoreSupport/EditorClientQt.cpp:
3440 (WebCore::EditorClientQt::handleKeypress):
3441 * WebCoreSupport/FrameLoaderClientQt.cpp:
3442 (WebCore::FrameLoaderClientQt::blockedError):
3443 * WebCoreSupport/FrameLoaderClientQt.h:
3445 2007-03-13 Lars Knoll <lars@trolltech.com>
3449 Don't try to load <object> tags with an invalid url.
3450 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
3451 which hit an assertion in the frameloader.
3453 * WebCoreSupport/FrameLoaderClientQt.cpp:
3454 (WebCore::FrameLoaderClientQt::objectContentType):
3456 2007-03-13 Lars Knoll <lars@trolltech.com>
3460 Fix some crashes in the Qt build.
3462 * Api/qwebframe.cpp:
3463 (QWebFrame::markup):
3464 Check for null pointer
3465 * WebCoreSupport/FrameLoaderClientQt.cpp:
3466 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3467 Don't use an async callback into the FrameLoader.
3468 (WebCore::FrameLoaderClientQt::createFrame):
3470 2007-03-11 Oliver Hunt <oliver@apple.com>
3474 Stub for EditorClientQt::respondToChangedSelection
3476 * WebCoreSupport/EditorClientQt.cpp:
3477 (WebCore::EditorClientQt::respondToChangedSelection):
3478 * WebCoreSupport/EditorClientQt.h:
3480 2007-03-07 Adele Peterson <adele@apple.com>
3484 WebKitQT part of fix for:
3485 http://bugs.webkit.org/show_bug.cgi?id=10871
3486 http://bugs.webkit.org/show_bug.cgi?id=12677
3487 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
3488 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
3490 * WebCoreSupport/EditorClientQt.cpp:
3491 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
3492 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
3493 * WebCoreSupport/EditorClientQt.h:
3495 2007-03-07 Darin Adler <darin@apple.com>
3497 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
3499 2007-03-07 Darin Adler <darin@apple.com>
3501 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
3502 Try to fix the build by correcting the parameter here.
3504 2007-03-02 Sam Weinig <sam@webkit.org>
3508 Try to fix the Qt build
3510 * WebCoreSupport/DragClientQt.cpp:
3511 (WebCore::DragClientQt::willPerformDragDestinationAction):
3512 (WebCore::DragClientQt::dragControllerDestroyed):
3513 (WebCore::DragClientQt::createDragImageForLink):
3515 2007-02-26 Maciej Stachowiak <mjs@apple.com>
3517 Reviewed by Kevin McCullough.
3519 - fix Qt build for earlier SVG changes.
3521 * WebCoreSupport/EditCommandQt.cpp:
3523 2007-02-24 Zack Rusin <zrusin@trolltech.com>
3525 Adjust the animation a little bit to make it more natural.
3527 * QtLauncher/main.cpp:
3528 (HoverLabel::paintEvent):
3530 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3532 Adding a little bit of eye-candy to the last
3533 commit (animations on hover events)
3535 * QtLauncher/main.cpp:
3536 (HoverLabel::HoverLabel):
3537 (HoverLabel::setHoverLink):
3538 (HoverLabel::sizeForFont):
3539 (HoverLabel::sizeHint):
3540 (HoverLabel::resetAnimation):
3541 (HoverLabel::paintEvent):
3542 (HoverLabel::interpolate):
3543 (SearchEdit::resizeEvent):
3545 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3549 Adding API and code for notification of when the
3550 mouse is hovering over a link and adding code to
3551 the sample app to showcase it.
3553 * Api/qwebframe.cpp:
3554 (QWebFrame::mouseMoveEvent):
3556 * Api/qwebframe_p.h:
3557 (QWebFramePrivate::QWebFramePrivate):
3559 (QWebPage::createFrame):
3561 * QtLauncher/main.cpp:
3562 (HoverLabel::HoverLabel):
3563 (HoverLabel::setHoverLink):
3564 (HoverLabel::sizeHint):
3565 (HoverLabel::updateSize):
3566 (HoverLabel::paintEvent):
3567 (ClearButton::ClearButton):
3568 (ClearButton::paintEvent):
3569 (SearchEdit::SearchEdit):
3570 (SearchEdit::resizeEvent):
3571 (SearchEdit::moveEvent):
3572 (MainWindow::MainWindow):
3573 (MainWindow::showLinkHover):
3574 (MainWindow::resizeEvent):
3576 2007-02-22 Zack Rusin <zrusin@trolltech.com>
3580 Fixing the default scroll offset, cleaning
3581 up private methods and making the default
3582 look not use any frames.
3584 * Api/qwebframe.cpp:
3585 (QWebFramePrivate::init):
3586 (QWebFramePrivate::_q_handleKeyEvent):
3587 (QWebFrame::QWebFrame):
3588 (QWebFrame::wheelEvent):
3589 (QWebFrame::keyPressEvent):
3590 (QWebFrame::keyReleaseEvent):
3592 * Api/qwebframe_p.h:
3594 2007-02-22 Zack Rusin <zrusin@trolltech.com>
3598 Make the qwebframe act as a proper canvas.
3599 Implement it on top of QAbstractScrollArea.
3601 * Api/qwebframe.cpp:
3602 (QWebFramePrivate::init):
3603 (QWebFramePrivate::_q_adjustScrollbars):
3605 (QWebFrame::QWebFrame):
3606 (QWebFrame::resizeEvent):
3607 (QWebFrame::childFrames):
3608 (QWebFrame::paintEvent):
3609 (QWebFrame::mouseMoveEvent):
3610 (QWebFrame::mousePressEvent):
3611 (QWebFrame::mouseReleaseEvent):
3612 (QWebFrame::wheelEvent):
3613 (QWebFrame::keyPressEvent):
3614 (QWebFrame::keyReleaseEvent):
3615 (QWebFrame::dragEnterEvent):
3616 (QWebFrame::dragLeaveEvent):
3617 (QWebFrame::dragMoveEvent):
3618 (QWebFrame::handleKeyEvent):
3619 (QWebFrame::scrollContentsBy):
3621 * Api/qwebframe_p.h:
3622 (QWebFramePrivate::QWebFramePrivate):
3624 2007-02-21 George Staikos <staikos@kde.org>
3628 Add more editing support, and undo/redo. Requires some nasty evil
3629 hacks that have to be sorted out in WebCore/editor.
3632 (QWebPagePrivate::QWebPagePrivate):
3633 (QWebPagePrivate::~QWebPagePrivate):
3634 (QWebPage::undoStack):
3637 * WebCoreSupport/EditorClientQt.cpp:
3638 (WebCore::EditorClientQt::didBeginEditing):
3639 (WebCore::EditorClientQt::didEndEditing):
3640 (WebCore::EditorClientQt::isEditable):
3641 (WebCore::EditorClientQt::registerCommandForUndo):
3642 (WebCore::EditorClientQt::registerCommandForRedo):
3643 (WebCore::EditorClientQt::clearUndoRedoOperations):
3644 (WebCore::EditorClientQt::canUndo):
3645 (WebCore::EditorClientQt::canRedo):
3646 (WebCore::EditorClientQt::undo):
3647 (WebCore::EditorClientQt::redo):
3648 (WebCore::EditorClientQt::handleKeyPress):
3649 (WebCore::EditorClientQt::EditorClientQt):
3650 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3651 (WebCore::EditorClientQt::textFieldDidEndEditing):
3652 (WebCore::EditorClientQt::isEditing):
3653 * WebCoreSupport/EditorClientQt.h:
3655 2007-02-21 Zack Rusin <zrusin@trolltech.com>
3659 * WebCoreSupport/ContextMenuClientQt.cpp:
3660 * WebCoreSupport/ContextMenuClientQt.h:
3662 2007-02-21 George Staikos <staikos@kde.org>
3669 2007-02-20 Zack Rusin <zrusin@trolltech.com>
3673 Make editing of forms work plus make sure that non-void methods
3674 always return something.
3676 * WebCoreSupport/ChromeClientQt.cpp:
3677 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3678 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3679 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3680 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3681 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3682 * WebCoreSupport/EditorClientQt.cpp:
3683 (WebCore::EditorClientQt::shouldDeleteRange):
3684 (WebCore::EditorClientQt::shouldBeginEditing):
3685 (WebCore::EditorClientQt::shouldEndEditing):
3686 (WebCore::EditorClientQt::shouldInsertText):
3687 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3688 (WebCore::EditorClientQt::shouldApplyStyle):
3689 (WebCore::EditorClientQt::shouldInsertNode):
3690 * WebCoreSupport/FrameLoaderClientQt.cpp:
3691 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3692 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3694 2007-02-17 Lars Knoll <lars@trolltech.com>
3698 Additional coding by Maciej, additional review by Oliver.
3700 Add stubs for the new methods in ChormeClient and EditorClient,
3701 remove all references to FrameQt.
3703 * Api/qwebframe.cpp:
3704 (QWebFrame::QWebFrame):
3705 * Api/qwebframe_p.h: