1 2007-11-07 Simon Hausmann <hausmann@kde.org>
5 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
8 (QWebPagePrivate::QWebPagePrivate):
9 * Api/qwebsettings.cpp:
10 (QWebSettingsPrivate::apply):
13 2007-11-07 Simon Hausmann <hausmann@kde.org>
17 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
19 * Api/qwebpagehistory.cpp:
20 * Api/qwebpagehistory.h:
22 2007-11-07 Simon Hausmann <hausmann@kde.org>
26 Removed unimplemented QWebHistoryItem::children() function
28 * Api/qwebpagehistory.h:
30 2007-11-07 Simon Hausmann <hausmann@kde.org>
34 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
36 * Api/qwebsettings.cpp:
37 (QWebSettings::fontSize):
38 (QWebSettings::fontFamily):
39 (QWebSettings::testAttribute):
41 2007-11-07 Simon Hausmann <hausmann@kde.org>
45 Added explicit functions for resetting the font sizes and font families.
47 * Api/qwebsettings.cpp:
48 (QWebSettings::resetFontSize):
49 (QWebSettings::resetFontFamily):
52 2007-11-07 Simon Hausmann <hausmann@kde.org>
56 Combined the font sizes accessors/setters under one setter/getter with an enum.
58 * Api/qwebsettings.cpp:
59 (QWebSettingsPrivate::QWebSettingsPrivate):
60 (QWebSettingsPrivate::apply):
61 (QWebSettings::QWebSettings):
62 (QWebSettings::setFontSize):
65 2007-11-07 Simon Hausmann <hausmann@kde.org>
69 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
73 * WebCoreSupport/FrameLoaderClientQt.cpp:
74 (WebCore::FrameLoaderClientQt::userAgent):
76 2007-11-07 Simon Hausmann <hausmann@kde.org>
80 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
83 (QWebPagePrivate::_q_webActionTriggered):
84 (QWebPage::keyPressEvent):
87 2007-11-07 Simon Hausmann <hausmann@kde.org>
91 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
95 * WebCoreSupport/ChromeClientQt.cpp:
96 (WebCore::ChromeClientQt::setWindowRect):
98 2007-11-07 Simon Hausmann <hausmann@kde.org>
102 Renamed QWebPage::webAction() to QWebPage::action()
105 (QWebPagePrivate::createContextMenu):
107 * QtLauncher/main.cpp:
108 (MainWindow::MainWindow):
110 2007-11-07 Simon Hausmann <hausmann@kde.org>
114 Removed a bunch of slots/functions that are now available through the new actions API.
119 2007-11-07 Simon Hausmann <hausmann@kde.org>
123 Added some more comments to the API after another round of API review with Lars.
127 2007-11-07 Simon Hausmann <hausmann@kde.org>
131 Moved QWebFrame::selectedText() to QWebPage::selectedText().
133 The currently selected text is a property of the page as a whole.
138 (QWebPage::selectedText):
141 2007-11-07 Simon Hausmann <hausmann@kde.org>
145 Implemented support for settings propagation.
147 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
149 * Api/qwebsettings.cpp:
150 (QWebSettingsPrivate::QWebSettingsPrivate):
151 (QWebSettingsPrivate::apply):
152 (QWebSettings::QWebSettings):
153 (QWebSettings::~QWebSettings):
154 (QWebSettings::setFontFamily):
155 * Api/qwebsettings.h:
157 2007-11-07 Simon Hausmann <hausmann@kde.org>
161 Reworked the QWebSettings API.
162 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
165 (QWebPagePrivate::QWebPagePrivate):
166 (QWebPagePrivate::~QWebPagePrivate):
167 (QWebPage::QWebPage):
170 * Api/qwebsettings.cpp:
171 (QWebSettingsPrivate::QWebSettingsPrivate):
172 (QWebSettingsPrivate::apply):
173 (QWebSettings::defaultSettings):
174 (QWebSettings::QWebSettings):
175 (QWebSettings::setMinimumFontSize):
176 (QWebSettings::setMinimumLogicalFontSize):
177 (QWebSettings::setDefaultFontSize):
178 (QWebSettings::setDefaultFixedFontSize):
179 (QWebSettings::setUserStyleSheetLocation):
180 (QWebSettings::setFontFamily):
181 (QWebSettings::fontFamily):
182 (QWebSettings::setAttribute):
183 * Api/qwebsettings.h:
184 * QtLauncher/main.cpp:
187 2007-11-07 Simon Hausmann <hausmann@kde.org>
191 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
193 * Api/qwebsettings.cpp:
194 (QWebSettings::setWebGraphic):
195 * Api/qwebsettings.h:
197 2007-11-07 Simon Hausmann <hausmann@kde.org>
201 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
203 * Api/qwebsettings.cpp:
205 2007-11-07 Simon Hausmann <hausmann@kde.org>
209 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
211 * Api/qwebsettings.cpp:
212 * Api/qwebsettings.h:
214 2007-11-07 Simon Hausmann <hausmann@kde.org>
218 Changed the webAction() accessor to not be a slot but just a public function.
222 2007-11-07 Simon Hausmann <hausmann@kde.org>
226 Implemented createWindow() in QtLauncher.
228 * QtLauncher/main.cpp:
230 (MainWindow::MainWindow):
231 (WebPage::createWindow):
233 2007-11-07 Simon Hausmann <hausmann@kde.org>
237 Implemented opening links in new windows
242 (QWebPage::webActionTriggered):
244 2007-11-07 Simon Hausmann <hausmann@kde.org>
248 Added and implemented the "OpenLink" action.
251 (webActionForContextMenuAction):
252 (QWebPage::webActionTriggered):
253 (QWebPage::webAction):
256 2007-11-07 Simon Hausmann <hausmann@kde.org>
260 Adjust the state of the reload action correctly.
263 (QWebPagePrivate::updateAction):
264 (QWebPagePrivate::updateNavigationActions):
266 2007-11-07 Simon Hausmann <hausmann@kde.org>
270 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
273 (QWebPagePrivate::updateAction):
274 (QWebPage::webAction):
275 (QWebPage::undoStack):
278 2007-11-07 Simon Hausmann <hausmann@kde.org>
282 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
284 * QtLauncher/main.cpp:
285 (MainWindow::MainWindow):
287 2007-11-07 Simon Hausmann <hausmann@kde.org>
291 Update the editor actions when the selection changes.
294 (QWebPagePrivate::updateAction):
295 (QWebPagePrivate::updateEditorActions):
297 * WebCoreSupport/EditorClientQt.cpp:
298 (WebCore::EditorClientQt::respondToChangedSelection):
300 2007-11-07 Simon Hausmann <hausmann@kde.org>
304 Added cut/copy/paste actions to the toolbar of QtLauncher
306 * QtLauncher/main.cpp:
307 (MainWindow::MainWindow):
309 2007-11-07 Simon Hausmann <hausmann@kde.org>
313 Started working on keeping the state of the navigation actions up-to-date.
316 (QWebPagePrivate::updateAction):
317 (QWebPagePrivate::updateNavigationActions):
318 (QWebPage::webAction):
320 * WebCoreSupport/FrameLoaderClientQt.cpp:
321 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
322 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
323 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
324 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
325 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
327 2007-11-07 Simon Hausmann <hausmann@kde.org>
331 Use the navigational web actions in the toolbar
333 * QtLauncher/main.cpp:
334 (MainWindow::MainWindow):
336 2007-11-07 Simon Hausmann <hausmann@kde.org>
340 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
341 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
344 (QWebPagePrivate::QWebPagePrivate):
345 (webActionForContextMenuAction):
346 (QWebPagePrivate::createContextMenu):
347 (QWebPagePrivate::_q_webActionTriggered):
348 (QWebPage::webActionTriggered):
349 (QWebPage::webAction):
350 (QWebPage::contextMenuEvent):
351 (QWebPageContext::QWebPageContext):
352 (QWebPageContext::operator=):
353 (QWebPageContext::~QWebPageContext):
354 (QWebPageContext::pos):
355 (QWebPageContext::text):
356 (QWebPageContext::linkUrl):
357 (QWebPageContext::imageUrl):
358 (QWebPageContext::image):
359 (QWebPageContext::targetFrame):
363 2007-11-07 Simon Hausmann <hausmann@kde.org>
367 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
370 (QWebPage::webActionTriggered):
371 (QWebPage::keyPressEvent):
374 2007-11-07 Simon Hausmann <hausmann@kde.org>
378 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
379 convenience methods such as cut()/copy()/paste().
383 (QWebPage::webActionTriggered):
388 2007-11-07 Simon Hausmann <hausmann@kde.org>
392 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
393 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
394 in ContextMenu::populate().
395 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
396 out of it. That menu is currently not functional anymore though.
399 (QWebPagePrivate::createContextMenu):
400 (QWebPage::contextMenuEvent):
403 2007-11-07 Simon Hausmann <hausmann@kde.org>
407 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
408 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
409 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
413 (QWebPage::contextMenuEvent):
414 * WebCoreSupport/ContextMenuClientQt.cpp:
415 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
417 2007-11-07 Simon Hausmann <hausmann@kde.org>
421 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
422 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
425 (QWebPage::mousePressEvent):
426 (QWebPage::contextMenuEvent):
429 2007-11-07 Simon Hausmann <hausmann@kde.org>
433 Turned onLoadProgressChanged into a real private slot.
436 (QWebPage::QWebPage):
440 2007-11-07 Simon Hausmann <hausmann@kde.org>
444 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
447 (QWebPagePrivate::QWebPagePrivate):
450 * Api/qwebpagehistory.cpp:
451 (QWebPageHistory::QWebPageHistory):
452 * Api/qwebpagehistory.h:
454 2007-11-07 Lars Knoll <lars@trolltech.com>
458 comments on API changes that we'd like to do.
462 2007-11-07 Simon Hausmann <hausmann@kde.org>
464 Reviewed by Lars Knoll <lars@trolltech.com>.
466 Add a QWebPage::frameCreated() signal and fix DRT
468 The removal of createFrame in QWebPage broke the re-implementation
469 in DumpRenderTree. Instead emit a frameCreated() signal and
470 connect to it in DumpRenderTree.
474 (QWebPagePrivate::createMainFrame):
476 * WebCoreSupport/FrameLoaderClientQt.cpp:
477 (WebCore::FrameLoaderClientQt::createFrame):
479 2007-11-07 Lars Knoll <lars@trolltech.com>
483 Remove QWebPage::createFrame()
485 now that QWebFrame doesn't have virtual methods anymore, there
486 is no need for a createFrame() factory method in QWebpage.
489 (QWebPagePrivate::createMainFrame):
491 * WebCoreSupport/FrameLoaderClientQt.cpp:
492 (WebCore::FrameLoaderClientQt::createFrame):
494 2007-11-07 Simon Hausmann <hausmann@kde.org>
496 Reviewed by Lars Knoll <lars@trolltech.com>.
498 Moved all the event handlers from QWebFrame into QWebPage.
500 This cleans up the public API and allows us to remove the
501 HackWebFrame hack in DumpRenderTree.
509 (QWebPagePrivate::frameAt):
510 (QWebPage::mouseMoveEvent):
511 (QWebPage::mousePressEvent):
512 (QWebPage::mouseDoubleClickEvent):
513 (QWebPage::mouseReleaseEvent):
514 (QWebPage::wheelEvent):
517 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
519 Reviewed by Lars Knoll <lars@trolltech.com>.
521 Use correct UserAgent string.
523 * Only have one User Agent String and this place is QWebPage
524 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
525 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
526 * ResourceRequest is != 0 when getting called from WebCore, we
527 will only do requests when coming from WebCore and then we can
528 use the User-Agent set with the help of the FrameLoaderClient
529 * We might want to change QWebNetworkRequest a bit
532 * Api/qwebnetworkinterface.cpp:
533 (QWebNetworkRequestPrivate::init):
535 2007-11-07 Lars Knoll <lars@trolltech.com>
539 remove two notImplemented() warnings, as I believe we don't
540 have to implement these methods. Add some (commented out)
541 debug code in one place.
543 * WebCoreSupport/EditorClientQt.cpp:
544 (WebCore::EditorClientQt::respondToChangedSelection):
545 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
547 2007-11-05 Tristan O'Tierney <tristan@apple.com>
549 Reviewed by Darin Adler.
551 * WebCoreSupport/ChromeClientQt.cpp:
552 (WebCore::ChromeClientQt::createWindow):
553 * WebCoreSupport/ChromeClientQt.h:
554 Revised to use new WebCore ChromeClient createWindow API.
556 2007-10-31 Lars Knoll <lars@trolltech.com>
560 fix most of the issues I found with Clipboard and DnD.
563 (QWebPage::dragLeaveEvent):
565 2007-10-31 Lars Knoll <lars@trolltech.com>
569 QDrag objects need to be created on the heap.
571 * WebCoreSupport/DragClientQt.cpp:
572 (WebCore::DragClientQt::startDrag):
574 2007-10-31 Lars Knoll <lars@trolltech.com>
578 a dragLeave event is not the same as cancelling a drag.
582 2007-10-26 Mark Rowe <mrowe@apple.com>
584 Build fix. Add missing #include of Platform.h.
586 * Api/qwebhistoryinterface.cpp:
588 2007-10-25 Holger Freyther <zecke@selfish.org>
590 Reviewed by Simon Hausmann <hausmann@kde.org>.
592 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
593 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
594 * This is causing some regressions...
597 * Api/qwebnetworkinterface.cpp:
598 (QWebNetworkManager::started):
599 (QWebNetworkInterface::addJob):
601 2007-10-25 Holger Freyther <zecke@selfish.org>
603 Reviewed by Simon Hausmann <hausmann@kde.org>.
605 * 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.
606 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
609 * Api/qwebnetworkinterface.cpp:
610 (QWebNetworkManager::started):
612 2007-10-25 Holger Freyther <zecke@selfish.org>
614 Reviewed by Simon Hausmann <hausmann@kde.org>.
616 * 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.
617 * Use the error message from Qt. It might or might not be translated.
620 * Api/qwebnetworkinterface.cpp:
621 (QWebNetworkJob::errorString):
622 (QWebNetworkJob::setErrorString):
623 (QWebNetworkManager::finished):
624 (QWebNetworkManager::doWork):
625 (WebCoreHttp::onRequestFinished):
626 * Api/qwebnetworkinterface.h:
627 * Api/qwebnetworkinterface_p.h:
629 2007-10-25 Holger Freyther <zecke@selfish.org>
631 Reviewed by Simon Hausmann <hausmann@kde.org>.
633 * 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.
634 * 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.
637 * Api/qwebnetworkinterface.cpp:
638 (QWebNetworkManager::doWork):
640 2007-10-25 Holger Freyther <zecke@selfish.org>
642 Reviewed by Simon Hausmann <hausmann@kde.org>.
644 * No need to initialize values in the QWebNetworkJob c'tor
645 * 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.
648 * Api/qwebnetworkinterface.cpp:
649 (QWebNetworkJob::status):
650 (QWebNetworkJob::setStatus):
651 (QWebNetworkManager::started):
652 (QWebNetworkManager::data):
653 (QWebNetworkManager::finished):
654 * Api/qwebnetworkinterface.h:
655 * Api/qwebnetworkinterface_p.h:
656 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
658 2007-10-25 Holger Freyther <zecke@selfish.org>
660 Reviewed by Simon Hausmann <hausmann@kde.org>.
662 * Consistency: Always name the jobs job.
665 * Api/qwebnetworkinterface.cpp:
666 (WebCoreHttp::onReadyRead):
667 (WebCoreHttp::onRequestFinished):
668 (WebCoreHttp::onSslErrors):
669 (WebCoreHttp::onAuthenticationRequired):
670 (WebCoreHttp::onProxyAuthenticationRequired):
672 2007-10-25 Holger Freyther <zecke@selfish.org>
674 Reviewed by Simon Hausmann <hausmann@kde.org>.
676 * 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.
677 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
680 * Api/qwebnetworkinterface.cpp:
681 (QWebNetworkJob::~QWebNetworkJob):
682 (QWebNetworkManager::QWebNetworkManager):
683 (QWebNetworkManager::self):
684 (QWebNetworkManager::add):
685 (QWebNetworkManager::started):
686 (QWebNetworkManager::finished):
687 (QWebNetworkInterfacePrivate::sendFileData):
688 (QWebNetworkInterfacePrivate::parseDataUrl):
689 (QWebNetworkManager::queueStart):
690 (QWebNetworkManager::queueData):
691 (QWebNetworkManager::queueFinished):
692 (QWebNetworkManager::doScheduleWork):
693 (QWebNetworkManager::doWork):
695 (QWebNetworkInterface::setDefaultInterface):
696 (QWebNetworkInterface::defaultInterface):
697 (QWebNetworkInterface::QWebNetworkInterface):
698 (QWebNetworkInterface::started):
699 (QWebNetworkInterface::data):
700 (QWebNetworkInterface::finished):
701 (WebCoreHttp::scheduleNextRequest):
702 (WebCoreHttp::onResponseHeaderReceived):
703 (WebCoreHttp::onReadyRead):
704 (WebCoreHttp::onRequestFinished):
705 (WebCoreHttp::cancel):
706 * Api/qwebnetworkinterface.h:
707 * Api/qwebnetworkinterface_p.h:
708 (QWebNetworkManager::):
709 (QWebNetworkManager::JobData::JobData):
710 (QWebNetworkManager::JobFinished::JobFinished):
712 2007-10-25 Holger Freyther <zecke@selfish.org>
714 Reviewed by Simon Hausmann <hausmann@kde.org>.
716 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
717 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
718 * We pass the char-decoding.html test now
721 * Api/qwebnetworkinterface.cpp:
722 (decodePercentEncoding):
723 (QWebNetworkInterfacePrivate::parseDataUrl):
725 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
727 Reviewed by Lars Knoll <lars@trolltech.com>.
729 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
732 * WebCoreSupport/EditorClientQt.cpp:
733 (WebCore::EditorClientQt::handleKeypress):
735 2007-10-24 Lars Knoll <lars@trolltech.com>
739 remove some notImplemented() warnings.
741 * WebCoreSupport/EditorClientQt.cpp:
742 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
743 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
744 (WebCore::EditorClientQt::respondToChangedSelection):
746 2007-10-24 Lars Knoll <lars@trolltech.com>
750 allow paste from DOM so we pass more test cases.
753 (QWebPage::setSettings):
755 2007-10-24 Lars Knoll <lars@trolltech.com>
759 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
762 (QWebPage::keyPressEvent):
763 (QWebPage::keyReleaseEvent):
765 2007-10-24 Lars Knoll <lars@trolltech.com>
769 some smaller fixes to the editing support in DRT. Makes another few tests pass.
771 * WebCoreSupport/EditorClientQt.cpp:
772 (qt_dump_editing_callbacks):
775 2007-10-24 Lars Knoll <lars@trolltech.com>
779 implemented support for most editing shortcuts to make contentEditable usable.
782 (QWebPage::keyPressEvent):
784 2007-10-24 Lars Knoll <lars@trolltech.com>
788 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
791 (QWebPage::focusInEvent):
793 2007-10-24 Lars Knoll <lars@trolltech.com>
797 Implement support for testing editing.
799 * WebCoreSupport/EditorClientQt.cpp:
800 (qt_dump_editing_callbacks):
801 (qt_dump_set_accepts_editing):
804 (WebCore::EditorClientQt::shouldDeleteRange):
805 (WebCore::EditorClientQt::shouldShowDeleteInterface):
806 (WebCore::EditorClientQt::shouldBeginEditing):
807 (WebCore::EditorClientQt::shouldEndEditing):
808 (WebCore::EditorClientQt::shouldInsertText):
809 (WebCore::EditorClientQt::shouldChangeSelectedRange):
810 (WebCore::EditorClientQt::shouldApplyStyle):
811 (WebCore::EditorClientQt::didBeginEditing):
812 (WebCore::EditorClientQt::respondToChangedContents):
813 (WebCore::EditorClientQt::respondToChangedSelection):
814 (WebCore::EditorClientQt::didEndEditing):
815 (WebCore::EditorClientQt::shouldInsertNode):
817 2007-10-19 Alp Toker <alp@atoker.com>
821 GTK+ build fix enabling the new local database storage feature.
822 There is also a prospective Qt build fix.
824 * WebCoreSupport/ChromeClientQt.cpp:
825 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
826 * WebCoreSupport/ChromeClientQt.h:
828 2007-10-19 Simon Hausmann <hausmann@kde.org>
830 Fix the Qt/Windows build: Include the moc file from the .cpp file so
831 that config.h is included before wtf/MathExtras. The former defines
832 the MSVC defines for rand_s.
834 * WebCoreSupport/FrameLoaderClientQt.cpp:
836 2007-10-19 Simon Hausmann <shausman@trolltech.com>
840 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
845 2007-10-10 Alice Liu <alice.liu@apple.com>
847 Reviewed by Geoff Garen.
849 changes to keep the build from breaking
851 * WebCoreSupport/FrameLoaderClientQt.cpp:
852 (WebCore::FrameLoaderClientQt::createFrame):
853 * WebCoreSupport/FrameLoaderClientQt.h:
855 2007-10-09 Lars Knoll <lars@trolltech.com>
859 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
862 (QWebPage::setSettings):
864 2007-10-09 Lars Knoll <lars@trolltech.com>
868 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
870 * Api/qwebnetworkinterface.cpp:
871 (QWebNetworkManager::add):
872 (QWebNetworkManager::cancel):
873 (QWebNetworkManager::started):
874 (QWebNetworkManager::data):
875 (QWebNetworkInterfacePrivate::parseDataUrl):
877 2007-10-09 Lars Knoll <lars@trolltech.com>
881 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.
884 (QWebPagePrivate::createMainFrame):
885 (QWebPage::createFrame):
886 * WebCoreSupport/FrameLoaderClientQt.cpp:
887 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
888 * WebCoreSupport/FrameLoaderClientQt.h:
890 2007-10-09 Lars Knoll <lars@trolltech.com>
894 add a clear() method to QWebPageHistory.
896 * Api/qwebpagehistory.cpp:
897 (QWebPageHistory::clear):
898 (QWebPageHistory::itemAtIndex):
899 * Api/qwebpagehistory.h:
901 2007-10-05 Lars Knoll <lars@trolltech.com>
903 add proper error messages to the FrameLoaderClient.
904 Implement ChromeClientQt::closeWindowSoon and
905 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
906 Some fixes in DRT to make it work correctly with multiple windows.
911 * Api/qwebnetworkinterface.cpp:
912 (QWebNetworkManager::cancel):
913 (QWebNetworkInterface::addJob):
914 * WebCoreSupport/ChromeClientQt.cpp:
915 (WebCore::ChromeClientQt::closeWindowSoon):
916 * WebCoreSupport/FrameLoaderClientQt.cpp:
917 (WebCore::FrameLoaderClientQt::cancelledError):
919 (WebCore::FrameLoaderClientQt::blockedError):
920 (WebCore::FrameLoaderClientQt::cannotShowURLError):
921 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
922 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
923 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
925 2007-10-03 Lars Knoll <lars@trolltech.com>
927 Signed off by Olliej.
929 move WebKitQt to WebKit/qt for consistency with the other ports.
931 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
932 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
933 (QCookieJarPrivate::QCookieJarPrivate):
935 (QCookieJar::QCookieJar):
936 (QCookieJar::~QCookieJar):
937 (QCookieJar::setCookies):
938 (QCookieJar::cookies):
939 (QCookieJar::isEnabled):
940 (QCookieJar::setEnabled):
942 (QCookieJar::setCookieJar):
943 (QCookieJar::cookieJar):
944 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
945 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
946 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
947 (QWebFramePrivate::init):
948 (QWebFramePrivate::parentFrame):
949 (QWebFramePrivate::horizontalScrollBar):
950 (QWebFramePrivate::verticalScrollBar):
951 (QWebFrame::QWebFrame):
952 (QWebFrame::~QWebFrame):
953 (QWebFrame::addToJSWindowObject):
955 (QWebFrame::innerText):
956 (QWebFrame::renderTreeDump):
960 (QWebFrame::selectedText):
961 (QWebFrame::childFrames):
962 (QWebFrame::verticalScrollBarPolicy):
963 (QWebFrame::setVerticalScrollBarPolicy):
964 (QWebFrame::horizontalScrollBarPolicy):
965 (QWebFrame::setHorizontalScrollBarPolicy):
969 (QWebFrame::geometry):
970 (QWebFrame::evaluateJavaScript):
971 (QWebFrame::mouseMoveEvent):
972 (QWebFrame::mousePressEvent):
973 (QWebFrame::mouseDoubleClickEvent):
974 (QWebFrame::mouseReleaseEvent):
975 (QWebFrame::wheelEvent):
976 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
977 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
978 (QWebFramePrivate::QWebFramePrivate):
979 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
980 (WebCore::historyContains):
982 (QWebHistoryInterface::setDefaultInterface):
983 (QWebHistoryInterface::defaultInterface):
984 (QWebHistoryInterface::QWebHistoryInterface):
985 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
986 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
987 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
990 (QWebNetworkRequestPrivate::init):
991 (QWebNetworkRequestPrivate::setURL):
992 (QWebNetworkRequest::QWebNetworkRequest):
993 (QWebNetworkRequest::operator=):
994 (QWebNetworkRequest::~QWebNetworkRequest):
995 (QWebNetworkRequest::url):
996 (QWebNetworkRequest::setUrl):
997 (QWebNetworkRequest::httpHeader):
998 (QWebNetworkRequest::setHttpHeader):
999 (QWebNetworkRequest::httpHeaderField):
1000 (QWebNetworkRequest::setHttpHeaderField):
1001 (QWebNetworkRequest::postData):
1002 (QWebNetworkRequest::setPostData):
1003 (QWebNetworkJob::QWebNetworkJob):
1004 (QWebNetworkJob::~QWebNetworkJob):
1005 (QWebNetworkJob::url):
1006 (QWebNetworkJob::postData):
1007 (QWebNetworkJob::httpHeader):
1008 (QWebNetworkJob::request):
1009 (QWebNetworkJob::response):
1010 (QWebNetworkJob::setResponse):
1011 (QWebNetworkJob::cancelled):
1012 (QWebNetworkJob::ref):
1013 (QWebNetworkJob::deref):
1014 (QWebNetworkJob::networkInterface):
1015 (QWebNetworkJob::frame):
1016 (QWebNetworkManager::QWebNetworkManager):
1017 (QWebNetworkManager::self):
1018 (QWebNetworkManager::add):
1019 (QWebNetworkManager::cancel):
1020 (QWebNetworkManager::started):
1021 (QWebNetworkManager::data):
1022 (QWebNetworkManager::finished):
1023 (QWebNetworkManager::addHttpJob):
1024 (QWebNetworkManager::cancelHttpJob):
1025 (QWebNetworkManager::httpConnectionClosed):
1026 (QWebNetworkInterfacePrivate::sendFileData):
1027 (QWebNetworkInterfacePrivate::parseDataUrl):
1028 (gCleanupInterface):
1029 (QWebNetworkInterface::setDefaultInterface):
1030 (QWebNetworkInterface::defaultInterface):
1031 (QWebNetworkInterface::QWebNetworkInterface):
1032 (QWebNetworkInterface::~QWebNetworkInterface):
1033 (QWebNetworkInterface::addJob):
1034 (QWebNetworkInterface::cancelJob):
1035 (WebCoreHttp::WebCoreHttp):
1036 (WebCoreHttp::~WebCoreHttp):
1037 (WebCoreHttp::request):
1038 (WebCoreHttp::scheduleNextRequest):
1039 (WebCoreHttp::getConnection):
1040 (WebCoreHttp::onResponseHeaderReceived):
1041 (WebCoreHttp::onReadyRead):
1042 (WebCoreHttp::onRequestFinished):
1043 (WebCoreHttp::onDone):
1044 (WebCoreHttp::onStateChanged):
1045 (WebCoreHttp::cancel):
1046 (WebCoreHttp::onSslErrors):
1047 (WebCoreHttp::onAuthenticationRequired):
1048 (WebCoreHttp::onProxyAuthenticationRequired):
1049 (HostInfo::HostInfo):
1050 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1051 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1052 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1053 (WebCore::HostInfo::HostInfo):
1054 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1055 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1056 (QWebFactoryLoader::QWebFactoryLoader):
1057 (QWebFactoryLoader::self):
1058 (QWebFactoryLoader::descriptionForName):
1059 (QWebFactoryLoader::mimetypesForName):
1060 (QWebFactoryLoader::mimeTypeForExtension):
1061 (QWebFactoryLoader::extensions):
1062 (QWebFactoryLoader::nameForMimetype):
1063 (QWebFactoryLoader::create):
1064 (QWebObjectPlugin::QWebObjectPlugin):
1065 (QWebObjectPlugin::~QWebObjectPlugin):
1066 (QWebObjectPlugin::descriptionForKey):
1067 (QWebObjectPlugin::mimetypesForKey):
1068 (QWebObjectPlugin::extensionsForMimetype):
1069 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1070 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1071 (QWebFactoryLoader::names):
1072 (QWebFactoryLoader::supportsMimeType):
1073 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1074 (QWebObjectPluginConnector::QWebObjectPluginConnector):
1075 (QWebObjectPluginConnector::frame):
1076 (QWebObjectPluginConnector::pluginParentWidget):
1077 (QWebObjectPluginConnector::requestUrl):
1078 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1079 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1080 (QWebPagePrivate::QWebPagePrivate):
1081 (QWebPagePrivate::~QWebPagePrivate):
1082 (QWebPagePrivate::navigationRequested):
1083 (QWebPagePrivate::createMainFrame):
1084 (QWebPage::QWebPage):
1085 (QWebPage::~QWebPage):
1086 (QWebPage::createFrame):
1090 (QWebPage::mainFrame):
1091 (QWebPage::sizeHint):
1093 (QWebPage::history):
1095 (QWebPage::goForward):
1096 (QWebPage::goToHistoryItem):
1097 (QWebPage::javaScriptConsoleMessage):
1098 (QWebPage::javaScriptAlert):
1099 (QWebPage::javaScriptConfirm):
1100 (QWebPage::javaScriptPrompt):
1101 (QWebPage::createWindow):
1102 (QWebPage::createModalDialog):
1103 (QWebPage::createPlugin):
1104 (QWebPage::navigationRequested):
1105 (QWebPage::setWindowGeometry):
1107 (QWebPage::canCopy):
1108 (QWebPage::canPaste):
1112 (QWebPage::isModified):
1113 (QWebPage::undoStack):
1114 (dropActionToDragOp):
1115 (dragOpToDropAction):
1116 (QWebPage::resizeEvent):
1117 (QWebPage::paintEvent):
1118 (QWebPage::mouseMoveEvent):
1119 (QWebPage::mousePressEvent):
1120 (QWebPage::mouseDoubleClickEvent):
1121 (QWebPage::mouseReleaseEvent):
1122 (QWebPage::wheelEvent):
1123 (QWebPage::keyPressEvent):
1124 (QWebPage::keyReleaseEvent):
1125 (QWebPage::focusInEvent):
1126 (QWebPage::focusOutEvent):
1127 (QWebPage::focusNextPrevChild):
1128 (QWebPage::dragEnterEvent):
1129 (QWebPage::dragLeaveEvent):
1130 (QWebPage::dragMoveEvent):
1131 (QWebPage::dropEvent):
1132 (QWebPage::setNetworkInterface):
1133 (QWebPage::networkInterface):
1135 (QWebPage::setSettings):
1136 (QWebPage::settings):
1137 (QWebPage::chooseFile):
1138 (QWebPage::setNetworkProxy):
1139 (QWebPage::networkProxy):
1140 (QWebPage::userAgentStringForUrl):
1141 (QWebPage::onLoadProgressChanged):
1142 (QWebPage::totalBytes):
1143 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1144 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1145 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1146 (QWebHistoryItem::QWebHistoryItem):
1147 (QWebHistoryItem::operator=):
1148 (QWebHistoryItem::~QWebHistoryItem):
1149 (QWebHistoryItem::originalUrl):
1150 (QWebHistoryItem::currentUrl):
1151 (QWebHistoryItem::title):
1152 (QWebHistoryItem::lastVisited):
1153 (QWebHistoryItem::icon):
1154 (QWebPageHistory::QWebPageHistory):
1155 (QWebPageHistory::itemAtIndex):
1156 (QWebPageHistory::operator=):
1157 (QWebPageHistory::~QWebPageHistory):
1158 (QWebPageHistory::items):
1159 (QWebPageHistory::backItems):
1160 (QWebPageHistory::forwardItems):
1161 (QWebPageHistory::canGoBack):
1162 (QWebPageHistory::canGoForward):
1163 (QWebPageHistory::goBack):
1164 (QWebPageHistory::goForward):
1165 (QWebPageHistory::goToItem):
1166 (QWebPageHistory::backItem):
1167 (QWebPageHistory::currentItem):
1168 (QWebPageHistory::forwardItem):
1169 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1170 (QExplicitlySharedDataPointer::operator*):
1171 (QExplicitlySharedDataPointer::operator->):
1172 (QExplicitlySharedDataPointer::operator T *):
1173 (QExplicitlySharedDataPointer::operator const T *):
1174 (QExplicitlySharedDataPointer::data):
1175 (QExplicitlySharedDataPointer::constData):
1176 (QExplicitlySharedDataPointer::operator==):
1177 (QExplicitlySharedDataPointer::operator!=):
1178 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1179 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1180 (QExplicitlySharedDataPointer::operator=):
1181 (QExplicitlySharedDataPointer::operator!):
1182 (::QExplicitlySharedDataPointer):
1183 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1184 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1185 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1186 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1187 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1188 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1189 (QWebSettingsPrivate::QWebSettingsPrivate):
1190 (QWebSettings::QWebSettings):
1191 (QWebSettings::~QWebSettings):
1192 (QWebSettings::setMinimumFontSize):
1193 (QWebSettings::minimumFontSize):
1194 (QWebSettings::setMinimumLogicalFontSize):
1195 (QWebSettings::minimumLogicalFontSize):
1196 (QWebSettings::setDefaultFontSize):
1197 (QWebSettings::defaultFontSize):
1198 (QWebSettings::setDefaultFixedFontSize):
1199 (QWebSettings::defaultFixedFontSize):
1200 (QWebSettings::setUserStyleSheetLocation):
1201 (QWebSettings::userStyleSheetLocation):
1202 (QWebSettings::setIconDatabaseEnabled):
1203 (QWebSettings::iconDatabaseEnabled):
1204 (QWebSettings::setWebGraphic):
1205 (QWebSettings::webGraphic):
1206 (QWebSettings::operator=):
1207 (QWebSettings::setGlobal):
1208 (QWebSettings::global):
1209 (QWebSettings::setFontFamily):
1210 (QWebSettings::fontFamily):
1211 (QWebSettings::setAttribute):
1212 (QWebSettings::testAttribute):
1213 (loadResourcePixmap):
1214 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
1215 * ChangeLog: Renamed from WebKitQt/ChangeLog.
1216 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
1217 (IcoHeader::operator >>):
1218 (IcoHeader::BMP_INFOHDR::):
1219 (IcoHeader::operator<<):
1220 (IcoHeader::LessDifference::LessDifference):
1221 (IcoHeader::LessDifference::operator ()):
1222 (IcoHeader::loadFromDIB):
1223 (ICOHandler::ICOHandler):
1224 (ICOHandler::canRead):
1226 (ICOHandler::write):
1229 (ICOPlugin::capabilities):
1230 (ICOPlugin::create):
1231 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
1232 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
1233 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
1234 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
1235 (HoverLabel::HoverLabel):
1236 (HoverLabel::setHoverLink):
1237 (HoverLabel::sizeForFont):
1238 (HoverLabel::sizeHint):
1239 (HoverLabel::updateSize):
1240 (HoverLabel::resetAnimation):
1241 (HoverLabel::paintEvent):
1242 (HoverLabel::interpolate):
1243 (ClearButton::ClearButton):
1244 (ClearButton::paintEvent):
1245 (SearchEdit::SearchEdit):
1246 (SearchEdit::~SearchEdit):
1247 (SearchEdit::paintEvent):
1248 (SearchEdit::resizeEvent):
1249 (SearchEdit::moveEvent):
1250 (MainWindow::MainWindow):
1251 (MainWindow::changeLocation):
1252 (MainWindow::loadFinished):
1253 (MainWindow::showLinkHover):
1254 (MainWindow::resizeEvent):
1256 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
1257 (WebCore::ChromeClientQt::ChromeClientQt):
1258 (WebCore::ChromeClientQt::~ChromeClientQt):
1259 (WebCore::ChromeClientQt::setWindowRect):
1260 (WebCore::ChromeClientQt::windowRect):
1261 (WebCore::ChromeClientQt::pageRect):
1262 (WebCore::ChromeClientQt::scaleFactor):
1263 (WebCore::ChromeClientQt::focus):
1264 (WebCore::ChromeClientQt::unfocus):
1265 (WebCore::ChromeClientQt::canTakeFocus):
1266 (WebCore::ChromeClientQt::takeFocus):
1267 (WebCore::ChromeClientQt::createWindow):
1268 (WebCore::ChromeClientQt::createModalDialog):
1269 (WebCore::ChromeClientQt::show):
1270 (WebCore::ChromeClientQt::canRunModal):
1271 (WebCore::ChromeClientQt::runModal):
1272 (WebCore::ChromeClientQt::setToolbarsVisible):
1273 (WebCore::ChromeClientQt::toolbarsVisible):
1274 (WebCore::ChromeClientQt::setStatusbarVisible):
1275 (WebCore::ChromeClientQt::statusbarVisible):
1276 (WebCore::ChromeClientQt::setScrollbarsVisible):
1277 (WebCore::ChromeClientQt::scrollbarsVisible):
1278 (WebCore::ChromeClientQt::setMenubarVisible):
1279 (WebCore::ChromeClientQt::menubarVisible):
1280 (WebCore::ChromeClientQt::setResizable):
1281 (WebCore::ChromeClientQt::addMessageToConsole):
1282 (WebCore::ChromeClientQt::chromeDestroyed):
1283 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1284 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1285 (WebCore::ChromeClientQt::closeWindowSoon):
1286 (WebCore::ChromeClientQt::runJavaScriptAlert):
1287 (WebCore::ChromeClientQt::runJavaScriptConfirm):
1288 (WebCore::ChromeClientQt::runJavaScriptPrompt):
1289 (WebCore::ChromeClientQt::setStatusbarText):
1290 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
1291 (WebCore::ChromeClientQt::tabsToLinks):
1292 (WebCore::ChromeClientQt::windowResizerRect):
1293 (WebCore::ChromeClientQt::addToDirtyRegion):
1294 (WebCore::ChromeClientQt::scrollBackingStore):
1295 (WebCore::ChromeClientQt::updateBackingStore):
1296 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1297 (WebCore::ChromeClientQt::setToolTip):
1298 (WebCore::ChromeClientQt::print):
1299 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
1300 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
1301 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1302 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1303 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1304 (WebCore::ContextMenuClientQt::downloadURL):
1305 (WebCore::ContextMenuClientQt::lookUpInDictionary):
1306 (WebCore::ContextMenuClientQt::speak):
1307 (WebCore::ContextMenuClientQt::stopSpeaking):
1308 (WebCore::ContextMenuClientQt::searchWithGoogle):
1309 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
1310 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
1311 (WebCore::DragClientQt::actionMaskForDrag):
1312 (WebCore::DragClientQt::willPerformDragDestinationAction):
1313 (WebCore::DragClientQt::dragControllerDestroyed):
1314 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1315 (WebCore::DragClientQt::willPerformDragSourceAction):
1316 (WebCore::DragClientQt::startDrag):
1317 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
1318 (WebCore::DragClientQt::DragClientQt):
1319 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
1320 (EditCommandQt::EditCommandQt):
1321 (EditCommandQt::~EditCommandQt):
1322 (EditCommandQt::redo):
1323 (EditCommandQt::undo):
1324 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
1325 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
1326 (WebCore::EditorClientQt::shouldDeleteRange):
1327 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1328 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1329 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1330 (WebCore::EditorClientQt::spellCheckerDocumentTag):
1331 (WebCore::EditorClientQt::shouldBeginEditing):
1332 (WebCore::EditorClientQt::shouldEndEditing):
1333 (WebCore::EditorClientQt::shouldInsertText):
1334 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1335 (WebCore::EditorClientQt::shouldApplyStyle):
1336 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1337 (WebCore::EditorClientQt::didBeginEditing):
1338 (WebCore::EditorClientQt::respondToChangedContents):
1339 (WebCore::EditorClientQt::respondToChangedSelection):
1340 (WebCore::EditorClientQt::didEndEditing):
1341 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1342 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1343 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1344 (WebCore::EditorClientQt::isEditable):
1345 (WebCore::EditorClientQt::registerCommandForUndo):
1346 (WebCore::EditorClientQt::registerCommandForRedo):
1347 (WebCore::EditorClientQt::clearUndoRedoOperations):
1348 (WebCore::EditorClientQt::canUndo):
1349 (WebCore::EditorClientQt::canRedo):
1350 (WebCore::EditorClientQt::undo):
1351 (WebCore::EditorClientQt::redo):
1352 (WebCore::EditorClientQt::shouldInsertNode):
1353 (WebCore::EditorClientQt::pageDestroyed):
1354 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
1355 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1356 (WebCore::EditorClientQt::toggleGrammarChecking):
1357 (WebCore::EditorClientQt::handleKeypress):
1358 (WebCore::EditorClientQt::handleInputMethodKeypress):
1359 (WebCore::EditorClientQt::EditorClientQt):
1360 (WebCore::EditorClientQt::textFieldDidBeginEditing):
1361 (WebCore::EditorClientQt::textFieldDidEndEditing):
1362 (WebCore::EditorClientQt::textDidChangeInTextField):
1363 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
1364 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
1365 (WebCore::EditorClientQt::textDidChangeInTextArea):
1366 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
1367 (WebCore::EditorClientQt::learnWord):
1368 (WebCore::EditorClientQt::checkSpellingOfString):
1369 (WebCore::EditorClientQt::checkGrammarOfString):
1370 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
1371 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
1372 (WebCore::EditorClientQt::showSpellingUI):
1373 (WebCore::EditorClientQt::spellingUIIsShowing):
1374 (WebCore::EditorClientQt::getGuessesForWord):
1375 (WebCore::EditorClientQt::isEditing):
1376 (WebCore::EditorClientQt::setInputMethodState):
1377 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
1378 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
1379 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1380 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1381 (WebCore::FrameLoaderClientQt::setFrame):
1382 (WebCore::FrameLoaderClientQt::webFrame):
1383 (WebCore::FrameLoaderClientQt::callPolicyFunction):
1384 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1385 (WebCore::FrameLoaderClientQt::hasWebView):
1386 (WebCore::FrameLoaderClientQt::hasFrameView):
1387 (WebCore::FrameLoaderClientQt::hasBackForwardList):
1388 (WebCore::FrameLoaderClientQt::resetBackForwardList):
1389 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
1390 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
1391 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
1392 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
1393 (WebCore::FrameLoaderClientQt::makeDocumentView):
1394 (WebCore::FrameLoaderClientQt::makeRepresentation):
1395 (WebCore::FrameLoaderClientQt::forceLayout):
1396 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
1397 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1398 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
1399 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
1400 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
1401 (WebCore::FrameLoaderClientQt::willCloseDocument):
1402 (WebCore::FrameLoaderClientQt::detachedFromParent2):
1403 (WebCore::FrameLoaderClientQt::detachedFromParent3):
1404 (WebCore::FrameLoaderClientQt::detachedFromParent4):
1405 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
1406 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1407 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
1408 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
1409 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
1410 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
1411 (WebCore::FrameLoaderClientQt::dispatchWillClose):
1412 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1413 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1414 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1415 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1416 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1417 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1418 (WebCore::FrameLoaderClientQt::dispatchShow):
1419 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1420 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1421 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
1422 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
1423 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
1424 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
1425 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
1426 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1427 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1428 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1429 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1430 (WebCore::FrameLoaderClientQt::willChangeTitle):
1431 (WebCore::FrameLoaderClientQt::didChangeTitle):
1432 (WebCore::FrameLoaderClientQt::finishedLoading):
1433 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
1434 (WebCore::FrameLoaderClientQt::setDefersLoading):
1435 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
1436 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
1437 (WebCore::FrameLoaderClientQt::clearArchivedResources):
1438 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1439 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1440 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
1441 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1442 (WebCore::FrameLoaderClientQt::restoreViewState):
1443 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1444 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
1445 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
1446 (WebCore::FrameLoaderClientQt::didFinishLoad):
1447 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1448 (WebCore::FrameLoaderClientQt::setTitle):
1449 (WebCore::FrameLoaderClientQt::userAgent):
1450 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
1451 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1452 (WebCore::FrameLoaderClientQt::canHandleRequest):
1453 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1454 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1455 (WebCore::FrameLoaderClientQt::registerForIconNotification):
1456 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
1457 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1458 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1459 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1460 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1461 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
1462 (WebCore::FrameLoaderClientQt::canCachePage):
1463 (WebCore::FrameLoaderClientQt::setMainDocumentError):
1464 (WebCore::FrameLoaderClientQt::committedLoad):
1465 (WebCore::FrameLoaderClientQt::cancelledError):
1466 (WebCore::FrameLoaderClientQt::blockedError):
1467 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1468 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1469 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1470 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1471 (WebCore::FrameLoaderClientQt::shouldFallBack):
1472 (WebCore::FrameLoaderClientQt::createDocumentLoader):
1473 (WebCore::FrameLoaderClientQt::download):
1474 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1475 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1476 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1477 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1478 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1479 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1480 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1481 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1482 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1483 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1484 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1485 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1486 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1487 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1488 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1489 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1490 (WebCore::FrameLoaderClientQt::startDownload):
1491 (WebCore::FrameLoaderClientQt::willUseArchive):
1492 (WebCore::FrameLoaderClientQt::createFrame):
1493 (WebCore::FrameLoaderClientQt::objectContentType):
1495 (WebCore::FrameLoaderClientQt::createPlugin):
1496 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1497 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1498 (WebCore::FrameLoaderClientQt::overrideMediaType):
1499 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
1500 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
1501 (WebCore::InspectorClientQt::inspectorDestroyed):
1502 (WebCore::InspectorClientQt::createPage):
1503 (WebCore::InspectorClientQt::showWindow):
1504 (WebCore::InspectorClientQt::closeWindow):
1505 (WebCore::InspectorClientQt::attachWindow):
1506 (WebCore::InspectorClientQt::detachWindow):
1507 (WebCore::InspectorClientQt::highlight):
1508 (WebCore::InspectorClientQt::hideHighlight):
1509 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
1510 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
1511 (WebKitFactory::WebKitFactory):
1512 (WebKitFactory::~WebKitFactory):
1513 (WebKitFactory::createPartObject):
1514 (WebKitFactory::instance):
1515 (WebKitFactory::ref):
1516 (WebKitFactory::deref):
1517 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
1518 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
1519 (WebKitPart::WebKitPart):
1520 (WebKitPart::~WebKitPart):
1521 (WebKitPart::openFile):
1522 (WebKitPart::openUrl):
1523 (WebKitPart::closeUrl):
1524 (WebKitPart::parentPart):
1525 (WebKitPart::frame):
1526 (WebKitPart::initView):
1527 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
1528 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
1530 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
1531 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
1532 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
1533 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1534 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
1535 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
1536 (WebKitPartClient::WebKitPartClient):
1537 (WebKitPartClient::~WebKitPartClient):
1538 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
1539 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
1540 (WebKitPartInterface::WebKitPartInterface):
1541 (WebKitPartInterface::~WebKitPartInterface):
1542 (WebKitPartInterface::url):
1543 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
1544 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
1546 2007-10-02 Adam Treat <treat@kde.org>
1548 Reviewed by Eric Seidel.
1550 Open the requested url on the newly created window.
1551 Implement createModalDialog and provide new API for this.
1552 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
1555 (QWebPage::createModalDialog):
1557 * WebCoreSupport/ChromeClientQt.cpp:
1558 (WebCore::ChromeClientQt::createWindow):
1559 (WebCore::ChromeClientQt::createModalDialog):
1561 2007-10-02 Lars Knoll <lars@trolltech.com>
1565 Add API to retrieve the frame name from QWebFrame.
1566 Implement support for DRT::dumpChildrenAsText.
1568 * Api/qwebframe.cpp:
1572 2007-10-02 Lars Knoll <lars@trolltech.com>
1576 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1578 * Api/qwebnetworkinterface.cpp:
1579 (QWebNetworkManager::started):
1580 (QWebNetworkManager::data):
1581 (QWebNetworkManager::finished):
1582 (QWebNetworkInterfacePrivate::sendFileData):
1583 (QWebNetworkInterfacePrivate::parseDataUrl):
1584 (WebCoreHttp::scheduleNextRequest):
1585 (WebCoreHttp::onSslErrors):
1586 * QtLauncher/main.cpp:
1589 2007-10-01 Lars Knoll <lars@trolltech.com>
1593 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
1595 * WebCoreSupport/FrameLoaderClientQt.cpp:
1596 (WebCore::FrameLoaderClientQt::makeDocumentView):
1597 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1598 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1599 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1600 (WebCore::FrameLoaderClientQt::objectContentType):
1601 (WebCore::FrameLoaderClientQt::createPlugin):
1603 2007-09-30 George Staikos <staikos@kde.org>
1605 Qt build fix (OS X specific).
1607 * QtLauncher/QtLauncher.pro:
1609 2007-09-26 Mark Rowe <mrowe@apple.com>
1613 * WebCoreSupport/FrameLoaderClientQt.cpp:
1614 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
1616 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1620 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1621 LGPL'ed files contain incorrect FSF address
1623 * Api/qcookiejar.cpp:
1625 * Api/qwebframe.cpp:
1627 * Api/qwebframe_p.h:
1628 * Api/qwebhistoryinterface.cpp:
1629 * Api/qwebhistoryinterface.h:
1630 * Api/qwebkitglobal.h:
1631 * Api/qwebnetworkinterface.cpp:
1632 * Api/qwebnetworkinterface.h:
1633 * Api/qwebnetworkinterface_p.h:
1634 * Api/qwebobjectplugin.cpp:
1635 * Api/qwebobjectplugin.h:
1636 * Api/qwebobjectpluginconnector.cpp:
1637 * Api/qwebobjectpluginconnector.h:
1641 * Api/qwebpagehistory.cpp:
1642 * Api/qwebpagehistory.h:
1643 * Api/qwebsettings.cpp:
1644 * Api/qwebsettings.h:
1645 * WebCoreSupport/EditCommandQt.cpp:
1646 * WebCoreSupport/EditCommandQt.h:
1648 2007-09-25 Adam Treat <treat@kde.org>
1650 Reviewed by Simon and Lars.
1652 Modifies the addToJSWindowObject to bind js objects using the built-in
1653 kjs_window class. Make sure to protect the created runtime object from
1656 Adds a signal to QWebFrame to notify clients of the beginning of a
1657 provisional load. DRT needs this.
1659 * Api/qwebframe.cpp:
1660 (QWebFrame::addToJSWindowObject):
1662 * WebCoreSupport/FrameLoaderClientQt.cpp:
1663 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1665 2007-09-10 Qing Zhao <qing@staikos.net>
1667 Reviewed by George Staikos.
1669 Don't re-encode urls, resulting in double encoding. Fixes login to
1672 * Api/qwebnetworkinterface.cpp:
1673 (QWebNetworkRequestPrivate::init):
1674 (QWebNetworkManager::started):
1676 2007-09-08 Mark Rowe <mrowe@apple.com>
1678 Qt build fix. Move stub method implementations to the right class.
1680 * WebCoreSupport/FrameLoaderClientQt.cpp:
1681 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1683 2007-09-08 Brady Eidson <beidson@apple.com>
1685 YABF (Yet Another Build Fix)
1687 * Api/qwebsettings.cpp:
1688 (QWebSettings::iconDatabaseEnabled):
1690 2007-09-08 Brady Eidson <beidson@apple.com>
1694 * WebCoreSupport/FrameLoaderClientQt.cpp:
1695 (WebCore::FrameLoaderClient::registerForIconNotification):
1696 * WebCoreSupport/FrameLoaderClientQt.h:
1698 2007-09-08 Brady Eidson <beidson@apple.com>
1702 * WebCoreSupport/FrameLoaderClientQt.cpp:
1703 (WebCore::FrameLoaderClient::registerForIconNotification):
1704 * WebCoreSupport/FrameLoaderClientQt.h:
1706 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1708 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1710 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
1711 memory cache, or a very tiny one
1713 Keep the Qt build working with an empty stub.
1715 * WebCoreSupport/FrameLoaderClientQt.cpp:
1716 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1717 * WebCoreSupport/FrameLoaderClientQt.h:
1719 2007-09-07 George Staikos <staikos@kde.org>
1724 (QWebPage::onLoadProgressChanged):
1726 2007-09-07 Qing Zhao <qing@staikos.net>
1728 Reviewed by Anders and George.
1730 Export page size and load progress in bytes.
1733 (QWebPage::QWebPage):
1734 (QWebPage::onLoadProgressChanged):
1735 (QWebPage::totalBytes):
1736 (QWebPage::bytesReceived):
1740 2007-09-06 George Staikos <staikos@kde.org>
1744 Make popup windows work again.
1746 * WebCoreSupport/FrameLoaderClientQt.cpp:
1747 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1749 2007-09-01 Oliver Hunt <oliver@apple.com>
1753 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1755 EditorClient::setInputMethodState stub
1757 * WebCoreSupport/EditorClientQt.cpp:
1758 (WebCore::EditorClientQt::setInputMethodState):
1759 * WebCoreSupport/EditorClientQt.h:
1761 2007-08-30 Simon Hausmann <hausmann@kde.org>
1765 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
1768 (QWebPage::keyPressEvent):
1770 2007-08-30 Simon Hausmann <hausmann@kde.org>
1774 When scrolling with the keyboard don't call update() on the entire widget.
1775 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
1779 (QWebPage::keyPressEvent):
1781 2007-08-30 Simon Hausmann <hausmann@kde.org>
1785 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
1788 (QWebPage::keyPressEvent):
1790 2007-08-29 Simon Hausmann <hausmann@kde.org>
1796 * WebCoreSupport/FrameLoaderClientQt.cpp:
1797 (WebCore::FrameLoaderClientQt::objectContentType):
1799 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
1801 Reviewed by George Staikos.
1803 Don't export ICO symbols.
1805 * Plugins/Plugins.pro:
1807 2007-08-19 George Staikos <staikos@kde.org>
1811 * WebCoreSupport/FrameLoaderClientQt.cpp:
1812 (WebCore::FrameLoaderClientQt::createPlugin):
1813 * WebCoreSupport/FrameLoaderClientQt.h:
1815 2007-08-10 Lars Knoll <lars@trolltech.com>
1817 Reviewed and landed by Simon.
1819 Limit the set of properties from the computed style to apply to Qt
1820 plugin widgets, as only a few of them make sense.
1822 * WebCoreSupport/FrameLoaderClientQt.cpp:
1825 2007-08-10 Lars Knoll <lars@trolltech.com>
1829 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
1832 (QWebPage::createPlugin):
1834 * WebCoreSupport/FrameLoaderClientQt.cpp:
1835 (WebCore::FrameLoaderClientQt::objectContentType):
1836 (WebCore::FrameLoaderClientQt::createPlugin):
1838 2007-08-10 Simon Hausmann <hausmann@kde.org>
1842 Added support for network jobs from Qt resources using the qrc protocol.
1844 * Api/qwebnetworkinterface.cpp:
1845 (QWebNetworkInterface::addJob):
1847 2007-08-10 Simon Hausmann <hausmann@kde.org>
1851 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
1852 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
1854 * WebCoreSupport/FrameLoaderClientQt.cpp:
1855 (WebCore::FrameLoaderClientQt::objectContentType):
1857 (WebCore::FrameLoaderClientQt::createPlugin):
1859 2007-08-10 Simon Hausmann <hausmann@kde.org>
1863 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
1864 and fixed widget embedding by setting the right QWidget parent.
1867 (QWebPage::createPlugin):
1869 * WebCoreSupport/FrameLoaderClientQt.cpp:
1870 (WebCore::FrameLoaderClientQt::objectContentType):
1871 (WebCore::FrameLoaderClientQt::createPlugin):
1873 2007-08-02 George Staikos <staikos@kde.org>
1877 Add an interface for the useragent string.
1880 (QWebPage::userAgentStringForUrl):
1882 * WebCoreSupport/FrameLoaderClientQt.cpp:
1883 (WebCore::FrameLoaderClientQt::userAgent):
1885 2007-08-01 Adam Treat <treat@kde.org>
1887 Reviewed by George Staikos.
1889 Add an interface to manage global history for clients
1892 * Api/qwebhistoryinterface.cpp: Added.
1893 (WebCore::historyContains):
1894 (gCleanupInterface):
1895 (QWebHistoryInterface::setDefaultInterface):
1896 (QWebHistoryInterface::defaultInterface):
1897 (QWebHistoryInterface::QWebHistoryInterface):
1898 * Api/qwebhistoryinterface.h: Added.
1900 2007-07-30 Adam Treat <treat@kde.org>
1904 * WebCoreSupport/EditorClientQt.cpp:
1905 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1906 * WebCoreSupport/EditorClientQt.h:
1908 2007-07-30 Simon Hausmann <hausmann@kde.org>
1912 Link QtLauncher into $$OUTPUT_DIR/bin
1914 * QtLauncher/QtLauncher.pro:
1916 2007-07-29 Adam Treat <treat@kde.org>
1918 Reviewed by George Staikos.
1920 Change QWebPage::paintEvent to draw using the individual rects provided
1921 via the QRegion and set the widget to use opaque paint events.
1923 These changes greatly reduce the cpu load as we are no longer painting the
1924 entire page for each 1px scroll :P
1926 * Api/qwebframe.cpp:
1927 (QWebFrame::render):
1929 (QWebPage::QWebPage):
1930 (QWebPage::paintEvent):
1931 * WebCoreSupport/ChromeClientQt.cpp:
1932 (WebCore::ChromeClientQt::addToDirtyRegion):
1934 2007-07-29 Adam Treat <treat@kde.org>
1936 Reviewed by Alexey Proskuryakov.
1938 Respect the margins when creating frames.
1939 Set the scroll mode to always off like we did before the rendered
1940 frames patch and the other ports do now.
1942 * Api/qwebframe.cpp:
1943 (QWebFramePrivate::init):
1945 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
1949 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
1951 * QtLauncher/QtLauncher.pro:
1953 2007-07-27 Simon Hausmann <hausmann@kde.org>
1957 Fix compilation with MSVC.
1959 * Api/qwebpagehistory.cpp:
1960 (QWebPageHistory::operator=):
1961 * Api/qwebpagehistory.h:
1962 * Api/qwebsettings.cpp:
1963 (QWebSettings::operator=):
1964 * Api/qwebsettings.h:
1966 2007-07-26 Qing Zhao <qing@staikos.net>
1968 Reviewed by George Staikos.
1970 Add a signal for history notification.
1973 * WebCoreSupport/FrameLoaderClientQt.cpp:
1975 2007-07-24 Adam Treat <treat@kde.org>
1977 Reviewed by Niko and Lars.
1979 These are no longer necessary or used.
1981 * WebCoreSupport/FrameLoaderClientQt.cpp:
1982 * WebCoreSupport/FrameLoaderClientQt.h:
1984 2007-07-20 Adam Treat <adam@staikos.net>
1986 Reviewed by George Staikos.
1988 Add a signal for first layout and add the action type for the policy
1992 (QWebPagePrivate::navigationRequested):
1993 (QWebPage::navigationRequested):
1996 * WebCoreSupport/FrameLoaderClientQt.cpp:
1997 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1998 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2000 2007-07-19 Adam Treat <treat@kde.org>
2004 Do a recursive layout on the frame's children. This fixes a
2005 segfault found when rendering some framesets.
2007 * Api/qwebframe.cpp:
2008 (QWebFrame::render):
2009 (QWebFrame::layout):
2012 2007-07-18 Timothy Hatcher <timothy@apple.com>
2016 Make the Page with the now required InspectorClient.
2019 (QWebPagePrivate::QWebPagePrivate):
2020 * WebKitPart/WebKitPart.cpp:
2021 (WebKitPart::initView):
2023 2007-07-18 Sam Weinig <sam@webkit.org>
2027 * Api/qwebnetworkinterface.cpp:
2028 (QWebNetworkManager::started):
2029 * WebCoreSupport/FrameLoaderClientQt.cpp:
2030 (WebCore::FrameLoaderClientQt::canShowMIMEType):
2031 (WebCore::FrameLoaderClientQt::objectContentType):
2033 2007-07-18 Lars Knoll <lars@trolltech.com>
2035 Reviewed by Zack & Simon
2037 Reallow setting of scrollbar policies on QWebFrame.
2039 * Api/qwebframe.cpp:
2040 (QWebFrame::verticalScrollBarPolicy):
2041 (QWebFrame::setVerticalScrollBarPolicy):
2042 (QWebFrame::horizontalScrollBarPolicy):
2045 2007-07-17 Adam Treat <treat@kde.org>
2049 * WebCoreSupport/FrameLoaderClientQt.cpp:
2050 (WebCore::FrameLoaderClientQt::createFrame):
2052 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
2054 Blind build fix for Qt after r24366 by adding the additional
2055 WebCore::ResourceRequest& parameter to the download method.
2057 * WebCoreSupport/FrameLoaderClientQt.cpp:
2058 (WebCore::FrameLoaderClientQt::download):
2059 * WebCoreSupport/FrameLoaderClientQt.h:
2061 2007-07-17 Adam Roben <aroben@apple.com>
2063 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2067 * WebCoreSupport/ContextMenuClientQt.cpp:
2068 * WebCoreSupport/ContextMenuClientQt.h:
2070 2007-07-16 Adam Roben <aroben@apple.com>
2072 Updated ChromeClientQt for ChromeClient changes.
2076 * WebCoreSupport/ChromeClientQt.cpp:
2077 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2078 * WebCoreSupport/ChromeClientQt.h: Ditto.
2080 2007-07-13 Mark Rowe <mrowe@apple.com>
2084 Build fix. Stub out ChromeClientQt::print.
2086 * WebCoreSupport/ChromeClientQt.cpp:
2087 (WebCore::ChromeClientQt::print):
2088 * WebCoreSupport/ChromeClientQt.h:
2090 2007-07-12 George Staikos <staikos@kde.org>
2092 Qt build fix for assertions.
2094 * Api/qwebnetworkinterface.cpp:
2095 (QWebNetworkManager::add):
2097 2007-07-12 George Staikos <staikos@kde.org>
2101 * Api/qwebnetworkinterface.cpp:
2102 (QWebNetworkManager::add):
2104 2007-07-10 Mark Rowe <mrowe@apple.com>
2106 Qt build fix after r24126.
2108 * Api/qwebframe.cpp:
2109 (QWebFrame::evaluateJavaScript):
2111 2007-07-10 Eli Fidler <eli@staikos.net>
2113 Reviewed by George Staikos.
2115 Properly url-decode data urls.
2117 * Api/qwebnetworkinterface.cpp:
2118 (QWebNetworkInterfacePrivate::parseDataUrl):
2120 2007-07-09 Adam Treat <adam@staikos.net>
2122 Reviewed by George Staikos.
2124 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2127 * Api/qwebframe.cpp:
2128 (QWebFramePrivate::init):
2129 (QWebFramePrivate::parentFrame):
2130 (QWebFrame::QWebFrame):
2131 (QWebFrame::render):
2133 (QWebFrame::geometry):
2134 (QWebFrame::evaluateJavaScript):
2135 (QWebFrame::mouseMoveEvent):
2136 (QWebFrame::mousePressEvent):
2137 (QWebFrame::mouseDoubleClickEvent):
2138 (QWebFrame::mouseReleaseEvent):
2139 (QWebFrame::wheelEvent):
2141 * Api/qwebobjectpluginconnector.cpp:
2142 (QWebObjectPluginConnector::pluginParentWidget):
2144 (QWebPagePrivate::QWebPagePrivate):
2145 (QWebPagePrivate::createMainFrame):
2146 (QWebPage::QWebPage):
2147 (QWebPage::javaScriptAlert):
2148 (QWebPage::javaScriptConfirm):
2149 (QWebPage::javaScriptPrompt):
2150 (QWebPage::resizeEvent):
2151 (QWebPage::paintEvent):
2152 (QWebPage::mouseMoveEvent):
2153 (QWebPage::mousePressEvent):
2154 (QWebPage::mouseDoubleClickEvent):
2155 (QWebPage::mouseReleaseEvent):
2156 (QWebPage::wheelEvent):
2157 (QWebPage::keyPressEvent):
2158 (QWebPage::keyReleaseEvent):
2159 (QWebPage::focusInEvent):
2160 (QWebPage::focusOutEvent):
2161 (QWebPage::focusNextPrevChild):
2162 (QWebPage::chooseFile):
2165 * WebCoreSupport/ChromeClientQt.cpp:
2166 (WebCore::ChromeClientQt::addToDirtyRegion):
2168 2007-07-09 George Staikos <staikos@kde.org>
2170 Fix a minor memory leak in the loader.
2172 * Api/qwebnetworkinterface.cpp:
2173 (gCleanupInterface):
2174 (QWebNetworkInterface::setDefaultInterface):
2175 (QWebNetworkInterface::defaultInterface):
2177 2007-07-09 George Staikos <staikos@kde.org>
2179 Fix a massive memory leak in the loader.
2181 * Api/qwebnetworkinterface.cpp:
2182 (QWebNetworkManager::httpConnectionClosed):
2183 (WebCoreHttp::~WebCoreHttp):
2185 2007-07-09 George Staikos <staikos@kde.org>
2189 Rework much of the HTTP stuff to make it more stable, and add SSL and
2190 proxy support. Major memory leak also discovered but it needs more
2191 research as the obvious fix causes crashes.
2193 * Api/qwebnetworkinterface.cpp:
2194 (QWebNetworkManager::add):
2195 (QWebNetworkManager::started):
2196 (QWebNetworkManager::data):
2197 (WebCoreHttp::WebCoreHttp):
2198 (WebCoreHttp::~WebCoreHttp):
2199 (WebCoreHttp::request):
2200 (WebCoreHttp::scheduleNextRequest):
2201 (WebCoreHttp::getConnection):
2202 (WebCoreHttp::onResponseHeaderReceived):
2203 (WebCoreHttp::onReadyRead):
2204 (WebCoreHttp::onRequestFinished):
2205 (WebCoreHttp::onDone):
2206 (WebCoreHttp::onStateChanged):
2207 (WebCoreHttp::onSslErrors):
2208 (WebCoreHttp::onAuthenticationRequired):
2209 (WebCoreHttp::onProxyAuthenticationRequired):
2210 * Api/qwebnetworkinterface.h:
2211 * Api/qwebnetworkinterface_p.h:
2212 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2214 2007-07-06 Adam Treat <adam@staikos.net>
2216 Reviewed by George Staikos.
2218 Convert QWebFrame to a QFrame from a scroll area.
2220 * Api/qwebframe.cpp:
2221 (QWebFramePrivate::init):
2222 (QWebFramePrivate::parentFrame):
2223 (QWebFramePrivate::horizontalScrollBar):
2224 (QWebFramePrivate::verticalScrollBar):
2225 (QWebFrame::QWebFrame):
2226 (QWebFrame::resizeEvent):
2227 (QWebFrame::suppressScrollbars):
2228 (QWebFrame::paintEvent):
2229 (QWebFrame::mouseMoveEvent):
2230 (QWebFrame::mousePressEvent):
2231 (QWebFrame::mouseDoubleClickEvent):
2232 (QWebFrame::mouseReleaseEvent):
2233 (QWebFrame::wheelEvent):
2234 (QWebFrame::keyPressEvent):
2235 (QWebFrame::focusInEvent):
2236 (QWebFrame::focusOutEvent):
2237 (QWebFrame::evaluateJavaScript):
2239 * Api/qwebframe_p.h:
2240 * Api/qwebobjectpluginconnector.cpp:
2241 (QWebObjectPluginConnector::pluginParentWidget):
2243 2007-07-04 Adam Roben <aroben@apple.com>
2245 Added a stub for ChromeClientQt::setToolTip
2249 * WebCoreSupport/ChromeClientQt.cpp:
2250 (WebCore::ChromeClientQt::setToolTip):
2251 * WebCoreSupport/ChromeClientQt.h:
2253 2007-07-04 Adam Roben <aroben@apple.com>
2255 Added a stub for ChromeClientQt::mouseDidMoveOverElement
2259 * WebCoreSupport/ChromeClientQt.cpp:
2260 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2261 * WebCoreSupport/ChromeClientQt.h:
2263 2007-06-28 Simon Hausmann <hausmann@kde.org>
2267 Propagate mouse double click events from Qt to WebCore.
2269 * Api/qwebframe.cpp:
2270 (QWebFrame::mouseDoubleClickEvent):
2273 2007-06-28 Simon Hausmann <hausmann@kde.org>
2277 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
2281 (QWebPage::canCopy):
2282 (QWebPage::canPaste):
2287 * WebCoreSupport/EditorClientQt.cpp:
2289 2007-06-27 George Staikos <staikos@kde.org>
2291 Compile with various Qt configurations.
2293 * Api/qwebnetworkinterface.cpp:
2294 (WebCoreHttp::scheduleNextRequest):
2296 (QWebPage::javaScriptPrompt):
2297 (QWebPage::dragEnterEvent):
2298 (QWebPage::dragLeaveEvent):
2299 (QWebPage::dragMoveEvent):
2300 (QWebPage::dropEvent):
2301 (QWebPage::chooseFile):
2304 * WebCoreSupport/DragClientQt.cpp:
2305 (WebCore::DragClientQt::startDrag):
2307 2007-06-27 Eli Fidler <eli@staikos.net>
2309 Reviewed by George Staikos.
2311 Check for QT_NO_IMAGE_TEXT and compile either way.
2313 * Plugins/ICOHandler.cpp:
2316 2007-06-27 Eli Fidler <eli@staikos.net>
2318 Reviewed by George Staikos.
2320 Remove QT3_SUPPORT dependency in the ICO plugin.
2322 * Plugins/ICOHandler.cpp:
2323 (IcoHeader::loadFromDIB):
2325 2007-06-25 George Staikos <staikos@kde.org>
2329 Start to add proxy and SSL support to WebKit Qt. Proxy works
2330 unauthenticated. Added hooks to be able to add authentication.
2331 Also fixes some network errors.
2333 * Api/qwebnetworkinterface.cpp:
2334 (QWebNetworkRequestPrivate::setURL):
2335 (QWebNetworkJob::frame):
2336 (WebCoreHttp::WebCoreHttp):
2337 (WebCoreHttp::scheduleNextRequest):
2338 (WebCoreHttp::onRequestFinished):
2339 (WebCoreHttp::onDone):
2340 (WebCoreHttp::onSslErrors):
2341 (WebCoreHttp::onAuthenticationRequired):
2342 (WebCoreHttp::onProxyAuthenticationRequired):
2343 * Api/qwebnetworkinterface.h:
2344 * Api/qwebnetworkinterface_p.h:
2346 (QWebPage::setNetworkProxy):
2347 (QWebPage::networkProxy):
2351 2007-06-21 Adam Treat <adam@staikos.net>
2353 Reviewed by George Staikos.
2355 Implement the default resources on Qt.
2359 * Api/qwebsettings.cpp:
2360 (QWebSettings::setWebGraphic):
2361 (QWebSettings::webGraphic):
2362 (loadResourcePixmap):
2363 * Api/qwebsettings.h:
2365 2007-06-15 Adam Treat <adam@staikos.net>
2367 Reviewed by George Staikos.
2369 Add ICO support to the Qt build.
2374 * Api/qwebsettings.cpp:
2375 (QWebSettings::setIconDatabaseEnabled):
2376 (QWebSettings::iconDatabaseEnabled):
2377 * Api/qwebsettings.h:
2379 * Plugins/ICOHandler.cpp: Added.
2380 (IcoHeader::operator >>):
2381 (IcoHeader::BMP_INFOHDR::):
2382 (IcoHeader::operator<<):
2383 (IcoHeader::LessDifference::LessDifference):
2384 (IcoHeader::LessDifference::operator ()):
2385 (IcoHeader::loadFromDIB):
2386 (ICOHandler::ICOHandler):
2387 (ICOHandler::canRead):
2389 (ICOHandler::write):
2392 (ICOPlugin::capabilities):
2393 (ICOPlugin::create):
2394 * Plugins/ICOHandler.h: Added.
2395 * Plugins/Plugins.pro: Added.
2396 * WebCoreSupport/FrameLoaderClientQt.cpp:
2397 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2399 2007-06-15 George Staikos <staikos@kde.org>
2401 Fixing the Qt build.
2403 * WebCoreSupport/ContextMenuClientQt.cpp:
2404 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
2405 * WebCoreSupport/ContextMenuClientQt.h:
2407 2007-06-20 Adam Roben <aroben@apple.com>
2409 More speculative Qt build fixes.
2411 Add a stub implementation of InspectorClientQt.
2413 * WebCoreSupport/InspectorClientQt.cpp: Added.
2414 (WebCore::InspectorClientQt::inspectorDestroyed):
2415 (WebCore::InspectorClientQt::createPage):
2416 (WebCore::InspectorClientQt::showWindow):
2417 (WebCore::InspectorClientQt::closeWindow):
2418 (WebCore::InspectorClientQt::attachWindow):
2419 (WebCore::InspectorClientQt::detachWindow):
2420 (WebCore::InspectorClientQt::highlight):
2421 (WebCore::InspectorClientQt::hideHighlight):
2422 * WebCoreSupport/InspectorClientQt.h: Added.
2424 2007-06-19 George Staikos <staikos@kde.org>
2426 Reviewed by Tim Hatcher.
2430 * Api/qwebnetworkinterface.cpp:
2431 (QWebNetworkInterface::addJob):
2432 (QWebNetworkInterface::cancelJob):
2433 (WebCoreHttp::WebCoreHttp):
2435 2007-06-14 George Staikos <staikos@kde.org>
2439 Add evaluateJavaScript() method.
2441 * Api/qwebframe.cpp:
2442 (QWebFrame::evaluateJavaScript):
2445 2007-06-14 George Staikos <staikos@kde.org>
2449 Implement most of the editing commands, better focus handling, fix some
2450 keyboard and mouse handling, and add keyboard navigation. May be
2451 refactored later as the key switches are ugly.
2453 * Api/qwebframe.cpp:
2454 (QWebFramePrivate::init):
2455 (QWebFrame::mousePressEvent):
2456 (QWebFrame::mouseReleaseEvent):
2457 (QWebFrame::wheelEvent):
2458 (QWebFrame::keyPressEvent):
2459 (QWebFrame::keyReleaseEvent):
2460 (QWebFrame::focusInEvent):
2461 (QWebFrame::focusOutEvent):
2462 (QWebFrame::focusNextPrevChild):
2464 * Api/qwebframe_p.h:
2465 * WebCoreSupport/EditorClientQt.cpp:
2466 (WebCore::EditorClientQt::handleKeypress):
2468 2007-06-14 George Staikos <staikos@kde.org>
2472 Implement all of the Javascript dialogs and file chooser.
2473 Also makes the statusbar virtual into a signal and shuffles some
2474 virtuals around a bit. The helper in FrameLoaderClientQt may go away
2478 (QWebPagePrivate::QWebPagePrivate):
2479 (QWebPage::javaScriptAlert):
2480 (QWebPage::javaScriptConfirm):
2481 (QWebPage::javaScriptPrompt):
2482 (QWebPage::chooseFile):
2484 * WebCoreSupport/ChromeClientQt.cpp:
2485 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2486 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2487 (WebCore::ChromeClientQt::runJavaScriptAlert):
2488 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2489 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2490 (WebCore::ChromeClientQt::setStatusbarText):
2491 * WebCoreSupport/FrameLoaderClientQt.cpp:
2492 (WebCore::FrameLoaderClientQt::chooseFile):
2493 * WebCoreSupport/FrameLoaderClientQt.h:
2495 2007-06-14 Simon Hausmann <hausmann@kde.org>
2499 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
2501 HistoryItem itself doesn't seem to have a parent pointer either.
2503 * Api/qwebpagehistory.h:
2505 2007-06-14 Simon Hausmann <hausmann@kde.org>
2509 Make it possible to copy QWebHistoryItem objects.
2511 * Api/qwebpagehistory.cpp:
2512 * Api/qwebpagehistory.h:
2514 2007-06-14 Lars Knoll <lars@trolltech.com>
2518 Fix a crash when a request from the plugin resulted
2521 * Api/qwebnetworkinterface.cpp:
2522 (QWebNetworkManager::started):
2524 2007-06-14 Lars Knoll <lars@trolltech.com>
2528 Work around a bug in Qt's QHttp implementation and
2529 get web pages to load again.
2534 2007-06-13 Simon Hausmann <hausmann@kde.org>
2538 Added a make install target that installs the Qt port and renamed
2539 WebKitQt to QtWebKit
2541 * Api/headers.pri: Added.
2542 * Api/qtwebkit.prf: Added.
2544 2007-06-13 Simon Hausmann <hausmann@kde.org>
2548 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
2550 * Api/qwebnetworkinterface.cpp:
2551 * Api/qwebnetworkinterface.h:
2553 2007-06-13 Simon Hausmann <hausmann@kde.org>
2557 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
2559 * Api/qwebnetworkinterface.h:
2560 * Api/qwebobjectpluginconnector.cpp:
2561 (QWebObjectPluginConnector::requestUrl):
2562 * Api/qwebobjectpluginconnector.h:
2564 2007-06-13 Simon Hausmann <hausmann@kde.org>
2568 Added a QWebNetworkRequest convenience constructor.
2570 * Api/qwebnetworkinterface.cpp:
2571 * Api/qwebnetworkinterface.h:
2575 2007-06-13 Simon Hausmann <hausmann@kde.org>
2579 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
2580 overload to take a QWebNetworkRequest instead.
2586 2007-06-13 Simon Hausmann <hausmann@kde.org>
2590 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
2591 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
2592 pick the individual fields if we can use them.
2597 2007-06-13 Simon Hausmann <hausmann@kde.org>
2601 Minor QWebNetworkRequet API fixlet
2603 * Api/qwebnetworkinterface.cpp:
2604 * Api/qwebnetworkinterface.h:
2606 2007-06-13 Simon Hausmann <hausmann@kde.org>
2610 Use QWebNetworkRequest for QWebPage::navigationRequested.
2612 * Api/qwebnetworkinterface.cpp:
2613 * Api/qwebnetworkinterface.h:
2615 (QWebPagePrivate::navigationRequested):
2616 (QWebPage::navigationRequested):
2619 * WebCoreSupport/FrameLoaderClientQt.cpp:
2620 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2622 2007-06-13 Simon Hausmann <hausmann@kde.org>
2626 Some docs for QWebNetworkRequest
2628 * Api/qwebnetworkinterface.cpp:
2629 (QWebNetworkRequest::QWebNetworkRequest):
2630 (QWebNetworkRequest::~QWebNetworkRequest):
2632 2007-06-13 Simon Hausmann <hausmann@kde.org>
2636 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
2638 * Api/qwebnetworkinterface.h:
2639 * Api/qwebobjectpluginconnector.cpp:
2640 (QWebObjectPluginConnector::requestUrl):
2641 * Api/qwebobjectpluginconnector.h:
2643 2007-06-13 Simon Hausmann <hausmann@kde.org>
2647 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
2649 * Api/qwebnetworkinterface.cpp:
2650 (QWebNetworkJob::postData):
2651 (WebCoreHttp::WebCoreHttp):
2652 (WebCoreHttp::scheduleNextRequest):
2653 * Api/qwebnetworkinterface.h:
2655 2007-06-13 Simon Hausmann <hausmann@kde.org>
2659 Introduce QWebNetworkRequest in the public API.
2661 * Api/qwebnetworkinterface.cpp:
2662 (QWebNetworkRequestPrivate::init):
2663 * Api/qwebnetworkinterface.h:
2664 * Api/qwebnetworkinterface_p.h:
2665 * WebCoreSupport/FrameLoaderClientQt.cpp:
2666 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2668 2007-06-13 Simon Hausmann <hausmann@kde.org>
2672 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
2674 * Api/qwebnetworkinterface.cpp:
2675 (QWebNetworkManager::add):
2676 (QWebNetworkManager::started):
2677 (QWebNetworkManager::data):
2678 (QWebNetworkManager::finished):
2679 * Api/qwebnetworkinterface_p.h:
2680 * Api/qwebobjectpluginconnector.cpp:
2681 (QWebObjectPluginConnector::requestUrl):
2683 2007-06-13 Simon Hausmann <hausmann@kde.org>
2687 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
2689 * Api/qwebnetworkinterface.cpp:
2690 (QWebNetworkRequest::init):
2691 (QWebNetworkRequest::setURL):
2692 (QWebNetworkManager::add):
2693 (QWebNetworkManager::started):
2694 * Api/qwebnetworkinterface_p.h:
2695 * WebCoreSupport/FrameLoaderClientQt.cpp:
2696 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2698 2007-06-12 Lars Knoll <lars@trolltech.com>
2700 Reviewed by George Staikos.
2702 Remove duplicate symbols.
2704 * Api/qwebobjectplugin_p.h:
2706 2007-06-13 Lars Knoll <lars@trolltech.com>
2710 Fix compilation, and remove dependency on Qt
2713 * Api/qwebobjectplugin_p.h:
2714 (QWebFactoryLoader::supportsMimeType):
2716 2007-06-13 Lars Knoll <lars@trolltech.com>
2720 Parts of the patch done by Zack.
2721 Fix up some parts in the implementation of QWebNetworkInterface
2722 so it can be used by plugins.
2723 Change the plugin API so we can actually get all the information
2724 required by the JS bridge from them as well.
2726 * Api/qwebnetworkinterface.cpp:
2727 (QWebNetworkJob::cancelled):
2728 (QWebNetworkManager::cancel):
2729 (QWebNetworkManager::started):
2730 (QWebNetworkManager::finished):
2731 * Api/qwebobjectplugin.cpp:
2732 (QWebFactoryLoader::QWebFactoryLoader):
2733 (QWebFactoryLoader::descriptionForName):
2734 (QWebFactoryLoader::mimetypesForName):
2735 (QWebFactoryLoader::mimeTypeForExtension):
2736 (QWebFactoryLoader::extensions):
2737 (QWebFactoryLoader::nameForMimetype):
2738 (QWebFactoryLoader::create):
2739 (QWebObjectPlugin::descriptionForKey):
2740 (QWebObjectPlugin::mimetypesForKey):
2741 * Api/qwebobjectplugin.h:
2742 * Api/qwebobjectplugin_p.h:
2743 (QWebFactoryLoader::names):
2744 * Api/qwebobjectpluginconnector.cpp:
2745 (QWebObjectPluginConnector::requestUrl):
2747 (QWebPage::networkInterface):
2749 2007-06-11 Simon Hausmann <hausmann@kde.org>
2753 Added a QWebPage::open overload to allow specifying the http header and post data.
2754 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
2755 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
2760 2007-06-11 Simon Hausmann <hausmann@kde.org>
2764 Added the possibility to intercept url requests through QWebPage::navigationRequested.
2767 (QWebPagePrivate::QWebPagePrivate):
2768 (QWebPage::createFrame):
2771 * WebCoreSupport/FrameLoaderClientQt.cpp:
2773 2007-06-11 Simon Hausmann <hausmann@kde.org>
2777 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
2778 to be called from FrameLoaderClientQt in the near future.
2780 * Api/qwebnetworkinterface.cpp:
2781 (QWebNetworkManager::add):
2782 * Api/qwebnetworkinterface_p.h:
2784 2007-06-11 Simon Hausmann <hausmann@kde.org>
2788 Moved the postData setup into QWebNetworkRequest::init.
2790 * Api/qwebnetworkinterface.cpp:
2791 (QWebNetworkRequest::init):
2792 (QWebNetworkManager::add):
2794 2007-06-11 Simon Hausmann <hausmann@kde.org>
2798 Moved HTTP header field propagation to QWebNetworkRequest::init.
2800 * Api/qwebnetworkinterface.cpp:
2801 (QWebNetworkRequest::init):
2802 (QWebNetworkManager::add):
2804 2007-06-11 Simon Hausmann <hausmann@kde.org>
2808 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
2809 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
2811 * Api/qwebnetworkinterface.cpp:
2812 (QWebNetworkRequest::init):
2813 (QWebNetworkManager::add):
2814 * Api/qwebnetworkinterface_p.h:
2815 * Api/qwebobjectpluginconnector.cpp:
2816 (QWebObjectPluginConnector::requestUrl):
2818 2007-06-11 Zack Rusin <zrusin@trolltech.com>
2822 Forgot to export the plugin connector.
2824 * Api/qwebobjectpluginconnector.h
2826 2007-06-08 Lars Knoll <lars@trolltech.com>
2830 Add a QWebObjectPluginConnector class. The class will
2831 facility communication between the plugin and WebKit.
2832 Currently it's used to make the plugin network capable.
2834 * Api/qwebnetworkinterface.cpp:
2835 (QWebNetworkJobPrivate::setDefaults):
2836 (QWebNetworkManager::add):
2837 (QWebNetworkManager::started):
2838 (QWebNetworkManager::data):
2839 (QWebNetworkManager::finished):
2840 * Api/qwebnetworkinterface.h:
2841 * Api/qwebnetworkinterface_p.h:
2842 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2843 * Api/qwebobjectplugin.cpp:
2844 (QWebFactoryLoader::create):
2845 * Api/qwebobjectplugin.h:
2846 * Api/qwebobjectplugin_p.h:
2847 * Api/qwebobjectpluginconnector.cpp: Added.
2848 (QWebObjectPluginConnector::QWebObjectPluginConnector):
2849 (QWebObjectPluginConnector::frame):
2850 (QWebObjectPluginConnector::pluginParentWidget):
2851 (QWebObjectPluginConnector::requestUrl):
2852 * Api/qwebobjectpluginconnector.h: Added.
2853 (QWebObjectPluginConnector::):
2854 * WebCoreSupport/FrameLoaderClientQt.cpp:
2855 (WebCore::FrameLoaderClientQt::createPlugin):
2857 2007-06-06 Lars Knoll <lars@trolltech.com>
2861 Add an API to create and load plugins.
2862 Don't include moc files by hand anymore, rather let
2865 * Api/qcookiejar.cpp:
2866 (QCookieJar::cookieJar):
2867 * Api/qwebframe.cpp:
2868 (QWebFrame::scrollContentsBy):
2869 * Api/qwebnetworkinterface.cpp:
2870 * Api/qwebobjectplugin.cpp: Added.
2871 (QWebFactoryLoader::QWebFactoryLoader):
2872 (QWebFactoryLoader::self):
2873 (QWebFactoryLoader::mimeTypeForExtension):
2874 (QWebFactoryLoader::create):
2875 (QWebObjectPlugin::QWebObjectPlugin):
2876 (QWebObjectPlugin::~QWebObjectPlugin):
2877 (QWebObjectPlugin::extensionsForMimetype):
2878 * Api/qwebobjectplugin.h: Added.
2879 * Api/qwebobjectplugin_p.h: Added.
2880 (QWebFactoryLoader::mimeTypes):
2881 (QWebFactoryLoader::extensions):
2882 (QWebFactoryLoader::supportsMimeType):
2884 (QWebPage::settings):
2885 * WebCoreSupport/FrameLoaderClientQt.cpp:
2886 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2887 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2888 (WebCore::FrameLoaderClientQt::objectContentType):
2889 (WebCore::FrameLoaderClientQt::createPlugin):
2891 2007-05-28 Zack Rusin <zrusin@trolltech.com>
2893 Reviewed by andersca and simon
2895 Adding public settings Api to the Qt port.
2896 QWebSetting's is a value based settings
2897 object settable on the QWebPage.
2900 (QWebPagePrivate::QWebPagePrivate):
2901 (QWebPage::QWebPage):
2902 (QWebPage::setSettings):
2903 (QWebPage::settings):
2905 * Api/qwebsettings.cpp: Added.
2906 (QWebSettingsPrivate::QWebSettingsPrivate):
2907 (QWebSettings::QWebSettings):
2908 (QWebSettings::~QWebSettings):
2909 (QWebSettings::setMinimumFontSize):
2910 (QWebSettings::minimumFontSize):
2911 (QWebSettings::setMinimumLogicalFontSize):
2912 (QWebSettings::minimumLogicalFontSize):
2913 (QWebSettings::setDefaultFontSize):
2914 (QWebSettings::defaultFontSize):
2915 (QWebSettings::setDefaultFixedFontSize):
2916 (QWebSettings::defaultFixedFontSize):
2917 (QWebSettings::setUserStyleSheetLocation):
2918 (QWebSettings::userStyleSheetLocation):
2919 (QWebSettings::setGlobal):
2920 (QWebSettings::global):
2921 (QWebSettings::setFontFamily):
2922 (QWebSettings::fontFamily):
2923 (QWebSettings::setAttribute):
2924 (QWebSettings::testAttribute):
2925 * Api/qwebsettings.h: Added.
2926 * QtLauncher/main.cpp:
2928 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
2930 Reviewed by Sam Weinig.
2932 Consolidate all notImplemented() macro definitions into
2933 one header file for all platforms.
2935 * WebCoreSupport/ChromeClientQt.cpp:
2936 * WebCoreSupport/ContextMenuClientQt.cpp:
2937 * WebCoreSupport/EditorClientQt.cpp:
2938 * WebCoreSupport/FrameLoaderClientQt.cpp:
2940 2007-05-25 George Staikos <staikos@kde.org>
2944 The http loader should only ask for .... http cookies!
2946 * Api/qwebnetworkinterface.cpp:
2947 (QWebNetworkManager::add):
2949 2007-05-24 Simon Hausmann <hausmann@kde.org>
2953 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
2954 correctly. Fortunately WebCore does it already, so there's no need
2955 for us to do it since we already transfer all HTTP header fields :)
2957 * Api/qwebnetworkinterface.cpp:
2958 (QWebNetworkManager::add):
2960 2007-05-23 Simon Hausmann <hausmann@kde.org>
2962 Reviewed by Zack, idea from Lars.
2964 Share WebCoreHttp and therefore HTTP connections among multiple
2965 QWebNetworkInterface instances by moving the code into
2968 * Api/qwebnetworkinterface.cpp:
2969 (QWebNetworkManager::addHttpJob):
2970 (QWebNetworkManager::cancelHttpJob):
2971 (QWebNetworkManager::httpConnectionClosed):
2972 (QWebNetworkInterface::addJob):
2973 (QWebNetworkInterface::cancelJob):
2974 (WebCoreHttp::scheduleNextRequest):
2975 (WebCoreHttp::onResponseHeaderReceived):
2976 (WebCoreHttp::onReadyRead):
2977 (WebCoreHttp::onRequestFinished):
2978 (WebCoreHttp::cancel):
2979 * Api/qwebnetworkinterface.h:
2980 * Api/qwebnetworkinterface_p.h:
2982 2007-05-23 Simon Hausmann <hausmann@kde.org>
2984 Reviewed by Zack, discussed also with Lars.
2986 Make it possible to specify a per-QWebPage network interface (needed
2987 for the KDE KIO integration).
2989 Merged the file and the network loader into
2990 QWebNetworkInterface(Private), which simplifies the loading code.
2992 When receiving a redirection don't emit the data of the redirected job
2993 to the document. (otherwise the kind of "This page has moved" text
2994 appears right on top of the real page content)
2996 * Api/qwebnetworkinterface.cpp:
2999 (QWebNetworkJob::QWebNetworkJob):
3000 (QWebNetworkJob::networkInterface):
3001 (QWebNetworkManager::add):
3002 (QWebNetworkManager::cancel):
3003 (QWebNetworkManager::data):
3004 (QWebNetworkManager::finished):
3005 (QWebNetworkInterfacePrivate::sendFileData):
3006 (QWebNetworkInterfacePrivate::parseDataUrl):
3007 (QWebNetworkInterfacePrivate::addHttpJob):
3008 (QWebNetworkInterfacePrivate::httpConnectionClosed):
3009 (QWebNetworkInterface::setDefaultInterface):
3010 (QWebNetworkInterface::QWebNetworkInterface):
3011 (QWebNetworkInterface::addJob):
3012 (QWebNetworkInterface::cancelJob):
3013 (WebCoreHttp::scheduleNextRequest):
3014 (WebCoreHttp::onResponseHeaderReceived):
3015 (WebCoreHttp::onReadyRead):
3016 (WebCoreHttp::onRequestFinished):
3017 (WebCoreHttp::cancel):
3018 * Api/qwebnetworkinterface.h:
3019 * Api/qwebnetworkinterface_p.h:
3021 (QWebPagePrivate::QWebPagePrivate):
3022 (QWebPage::setNetworkInterface):
3026 2007-05-23 Lars Knoll <lars@trolltech.com>
3030 Don't do HTTP downloads in a second thread. Simplifies
3031 the code significantly and fixes crashes on some
3034 * Api/qwebnetworkinterface.cpp:
3035 (QWebNetworkManager::add):
3036 (QWebNetworkInterface::QWebNetworkInterface):
3037 (QWebNetworkInterface::addJob):
3038 (QWebNetworkInterface::cancelJob):
3039 (LoaderThread::LoaderThread):
3040 (LoaderThread::run):
3041 (WebCoreHttp::cancel):
3042 (NetworkLoader::NetworkLoader):
3043 (NetworkLoader::request):
3044 (NetworkLoader::cancel):
3045 * Api/qwebnetworkinterface_p.h:
3046 * WebCoreSupport/FrameLoaderClientQt.cpp:
3047 (WebCore::FrameLoaderClientQt::committedLoad):
3048 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
3050 2007-05-23 Lars Knoll <lars@trolltech.com>
3054 * Api/qwebnetworkinterface.cpp:
3055 (QWebNetworkJobPrivate::setURL):
3056 (QWebNetworkManager::started):
3057 Fix Host: line in HTTP headers and resolving of relative URLs
3059 * Api/qwebnetworkinterface_p.h:
3060 Clean up qHash forward declaration a bit.
3062 2007-05-23 Simon Hausmann <hausmann@kde.org>
3066 * QtLauncher/main.cpp:
3067 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
3069 2007-05-22 Simon Hausmann <hausmann@kde.org>
3073 * Api/qwebnetworkinterface.cpp:
3074 (QWebNetworkManager::add): Fix http headers for POST.
3076 2007-05-21 Lars Knoll <lars@trolltech.com>
3080 Remove the userHandle methods from QWebnetworkJob again.
3081 They don't really give us anything and just clutter the API.
3083 * Api/qwebnetworkinterface.cpp:
3084 * Api/qwebnetworkinterface.h:
3085 * Api/qwebnetworkinterface_p.h:
3087 2007-05-21 Simon Hausmann <hausmann@kde.org>
3091 * Api/qwebnetworkinterface.h: Export the net API.
3093 2007-05-21 Lars Knoll <lars@trolltech.com>
3097 Add an API layer for network downloads. Basically QWebnetworkInterface
3098 is an interface class for downloading resources. QWebnetworkJob describes
3099 the actual object to download.
3101 QWebNetworkInterface has a default implementation that replaces the
3102 old ResourceHandleManager class in the Qt port.
3104 * Api/qwebnetworkinterface.cpp: Added.
3105 (QWebNetworkJobPrivate::setURL):
3106 (QWebNetworkJob::QWebNetworkJob):
3107 (QWebNetworkJob::~QWebNetworkJob):
3108 (QWebNetworkJob::url):
3109 (QWebNetworkJob::postData):
3110 (QWebNetworkJob::request):
3111 (QWebNetworkJob::response):
3112 (QWebNetworkJob::setResponse):
3113 (QWebNetworkJob::cancelled):
3114 (QWebNetworkJob::ref):
3115 (QWebNetworkJob::deref):
3116 (QWebNetworkJob::setUserHandle):
3117 (QWebNetworkJob::userHandle):
3118 (QWebNetworkManager::QWebNetworkManager):
3119 (QWebNetworkManager::self):
3120 (QWebNetworkManager::add):
3121 (QWebNetworkManager::cancel):
3122 (QWebNetworkManager::started):
3123 (QWebNetworkManager::data):
3124 (QWebNetworkManager::finished):
3125 (QWebNetworkInterface::setDefaultInterface):
3126 (QWebNetworkInterface::defaultInterface):
3127 (QWebNetworkInterface::QWebNetworkInterface):
3128 (QWebNetworkInterface::~QWebNetworkInterface):
3129 (QWebNetworkInterface::addJob):
3130 (QWebNetworkInterface::cancelJob):
3131 (LoaderThread::LoaderThread):
3132 (LoaderThread::run):
3133 (FileLoader::FileLoader):
3134 (FileLoader::request):
3135 (FileLoader::sendData):
3136 (FileLoader::parseDataUrl):
3137 (WebCoreHttp::WebCoreHttp):
3138 (WebCoreHttp::~WebCoreHttp):
3139 (WebCoreHttp::request):
3140 (WebCoreHttp::scheduleNextRequest):
3141 (WebCoreHttp::getConnection):
3142 (WebCoreHttp::onResponseHeaderReceived):
3143 (WebCoreHttp::onReadyRead):
3144 (WebCoreHttp::onRequestFinished):
3145 (WebCoreHttp::onStateChanged):
3146 (WebCoreHttp::cancel):
3147 (HostInfo::HostInfo):
3150 (NetworkLoader::NetworkLoader):
3151 (NetworkLoader::~NetworkLoader):
3152 (NetworkLoader::request):
3153 (NetworkLoader::connectionClosed):
3154 (NetworkLoader::cancel):
3155 * Api/qwebnetworkinterface.h: Added.
3156 (QWebNetworkJob::setHandle):
3157 (QWebNetworkJob::handle):
3158 * Api/qwebnetworkinterface_p.h: Added.
3159 (WebCore::LoaderThread::):
3160 (WebCore::LoaderThread::waitForSetup):
3161 (WebCore::HostInfo::HostInfo):
3163 2007-05-18 Simon Hausmann <hausmann@kde.org>
3165 Reviewed by Nikolas.
3167 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3168 percent integer instead of a double precision floating pointer number.
3169 * WebCoreSupport/FrameLoaderClientQt.cpp:
3170 (WebCore::FrameLoaderClientQt::setFrame):
3171 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3172 * WebCoreSupport/FrameLoaderClientQt.h:
3174 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3176 Reviewed by Zack Rusin.
3178 The default constructed KeyboardEvent has
3179 no PlatformKeyboardEvent.
3181 * WebCoreSupport/EditorClientQt.cpp:
3182 (WebCore::EditorClientQt::handleKeypress):
3184 2007-05-17 Adam Treat <adam@staikos.net>
3186 Reviewed by George Staikos.
3188 - Implement frameLoadCompleted
3189 - Fix build (by George)
3191 * WebCoreSupport/FrameLoaderClientQt.cpp:
3192 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3193 (WebCore::FrameLoaderClientQt::createFrame):
3195 2007-05-17 Adam Treat <adam@staikos.net>
3197 Reviewed by George Staikos.
3199 Implement canShowMIMEType
3201 * WebCoreSupport/FrameLoaderClientQt.cpp:
3202 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3204 2007-05-16 Lars Knoll <lars@trolltech.com>
3208 pass the mouse events to the event handler, not the frameview.
3210 * Api/qwebframe.cpp:
3211 (QWebFrame::mouseMoveEvent):
3212 (QWebFrame::mouseReleaseEvent):
3214 2007-05-14 Lars Knoll <lars@trolltech.com>
3218 Updates after Maciej's frame change.
3222 Call stopForUserCancel() instead of stopAllLoaders()
3223 * WebCoreSupport/FrameLoaderClientQt.cpp:
3224 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3225 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3226 (WebCore::FrameLoaderClientQt::didFinishLoad):
3227 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3228 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3229 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3230 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3231 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3232 Call QWebFrame::loadDone() from the places it's supposed to be
3235 2007-05-12 Maciej Stachowiak <mjs@apple.com>
3237 Reviewed by Rob Buis.
3239 - call Frame::init as needed - this prevents crashes but pages don't appear.
3241 * Api/qwebframe.cpp:
3242 (QWebFramePrivate::init):
3243 * WebKitPart/WebKitPart.cpp:
3244 (WebKitPart::initView):
3246 2007-05-08 Steve Falkenburg <sfalken@apple.com>
3250 Slight modification to last editor method fix.
3252 * WebCoreSupport/EditorClientQt.cpp:
3253 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3254 * WebCoreSupport/EditorClientQt.h:
3256 2007-05-03 Steve Falkenburg <sfalken@apple.com>
3260 Add missing user description parameter to spelling-related editor client method.
3262 * WebCoreSupport/EditorClientQt.cpp:
3263 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3264 * WebCoreSupport/EditorClientQt.h:
3266 2007-04-29 Oliver Hunt <oliver@apple.com>
3270 Tie QT drag events to the DragController logic
3271 to allow drag and drop events to be handled by
3274 * Api/qwebframe.cpp:
3277 (QWebPagePrivate::QWebPagePrivate):
3278 (QWebPage::QWebPage):
3279 (dropActionToDragOp):
3280 (dragOpToDropAction):
3281 (QWebPage::dragEnterEvent):
3282 (QWebPage::dragLeaveEvent):
3283 (QWebPage::dragMoveEvent):
3284 (QWebPage::dropEvent):
3286 * WebCoreSupport/DragClientQt.cpp:
3287 (WebCore::DragClientQt::startDrag):
3288 * WebCoreSupport/DragClientQt.h:
3289 (WebCore::DragClientQt::DragClientQt):
3291 2007-04-27 Holger Freyther <freyther@kde.org>
3295 Remove unmaintained CMake build system.
3297 * QtLauncher/CMakeLists.txt: Removed.
3298 * WebKitPart/CMakeLists.txt: Removed.
3300 2007-04-25 Steve Falkenburg <sfalken@apple.com>
3304 Fix spelling error in spelling method name.
3306 * WebCoreSupport/EditorClientQt.cpp:
3307 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3308 * WebCoreSupport/EditorClientQt.h:
3310 2007-04-24 Steve Falkenburg <sfalken@apple.com>
3314 Spelling and grammar stubs
3316 * WebCoreSupport/EditorClientQt.cpp:
3317 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3318 (WebCore::EditorClientQt::learnWord):
3319 (WebCore::EditorClientQt::checkSpellingOfString):
3320 (WebCore::EditorClientQt::checkGrammarOfString):
3321 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
3322 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3323 (WebCore::EditorClientQt::showSpellingUI):
3324 (WebCore::EditorClientQt::spellingUIIsShowing):
3325 (WebCore::EditorClientQt::getGuessesForWord):
3326 * WebCoreSupport/EditorClientQt.h:
3328 2007-04-11 MorganL <morganl.webkit@yahoo.com>
3332 Add a Frame pointer to ChromeClient methods:
3333 http://bugs.webkit.org/show_bug.cgi?id=13127
3335 * WebCoreSupport/ChromeClientQt.cpp:
3336 (WebCore::ChromeClientQt::createWindow):
3337 (WebCore::ChromeClientQt::createModalDialog):
3338 * WebCoreSupport/ChromeClientQt.h:
3340 2007-04-12 Mark Rowe <mrowe@apple.com>
3342 Second part of Qt build fix.
3344 * WebCoreSupport/FrameLoaderClientQt.cpp:
3345 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3346 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3347 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3348 * WebCoreSupport/FrameLoaderClientQt.h:
3350 2007-03-27 Zack Rusin <zrusin@trolltech.com>
3352 Fix the rendering crashes due triggered
3353 asserts. Improve a bit the layout
3356 * Api/qwebframe.cpp:
3357 (QWebFrame::resizeEvent):
3358 (QWebFrame::paintEvent):
3359 * WebCoreSupport/FrameLoaderClientQt.cpp:
3360 (WebCore::FrameLoaderClientQt::forceLayout):
3362 2007-03-16 Lars Knoll <lars@trolltech.com>
3364 Fix the Qt build once again.
3366 * WebCoreSupport/EditorClientQt.cpp:
3367 (WebCore::EditorClientQt::handleKeypress):
3368 * WebCoreSupport/FrameLoaderClientQt.cpp:
3369 (WebCore::FrameLoaderClientQt::blockedError):
3370 * WebCoreSupport/FrameLoaderClientQt.h:
3372 2007-03-13 Lars Knoll <lars@trolltech.com>
3376 Don't try to load <object> tags with an invalid url.
3377 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
3378 which hit an assertion in the frameloader.
3380 * WebCoreSupport/FrameLoaderClientQt.cpp:
3381 (WebCore::FrameLoaderClientQt::objectContentType):
3383 2007-03-13 Lars Knoll <lars@trolltech.com>
3387 Fix some crashes in the Qt build.
3389 * Api/qwebframe.cpp:
3390 (QWebFrame::markup):
3391 Check for null pointer
3392 * WebCoreSupport/FrameLoaderClientQt.cpp:
3393 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3394 Don't use an async callback into the FrameLoader.
3395 (WebCore::FrameLoaderClientQt::createFrame):
3397 2007-03-11 Oliver Hunt <oliver@apple.com>
3401 Stub for EditorClientQt::respondToChangedSelection
3403 * WebCoreSupport/EditorClientQt.cpp:
3404 (WebCore::EditorClientQt::respondToChangedSelection):
3405 * WebCoreSupport/EditorClientQt.h:
3407 2007-03-07 Adele Peterson <adele@apple.com>
3411 WebKitQT part of fix for:
3412 http://bugs.webkit.org/show_bug.cgi?id=10871
3413 http://bugs.webkit.org/show_bug.cgi?id=12677
3414 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
3415 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
3417 * WebCoreSupport/EditorClientQt.cpp:
3418 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
3419 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
3420 * WebCoreSupport/EditorClientQt.h:
3422 2007-03-07 Darin Adler <darin@apple.com>
3424 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
3426 2007-03-07 Darin Adler <darin@apple.com>
3428 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
3429 Try to fix the build by correcting the parameter here.
3431 2007-03-02 Sam Weinig <sam@webkit.org>
3435 Try to fix the Qt build
3437 * WebCoreSupport/DragClientQt.cpp:
3438 (WebCore::DragClientQt::willPerformDragDestinationAction):
3439 (WebCore::DragClientQt::dragControllerDestroyed):
3440 (WebCore::DragClientQt::createDragImageForLink):
3442 2007-02-26 Maciej Stachowiak <mjs@apple.com>
3444 Reviewed by Kevin McCullough.
3446 - fix Qt build for earlier SVG changes.
3448 * WebCoreSupport/EditCommandQt.cpp:
3450 2007-02-24 Zack Rusin <zrusin@trolltech.com>
3452 Adjust the animation a little bit to make it more natural.
3454 * QtLauncher/main.cpp:
3455 (HoverLabel::paintEvent):
3457 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3459 Adding a little bit of eye-candy to the last
3460 commit (animations on hover events)
3462 * QtLauncher/main.cpp:
3463 (HoverLabel::HoverLabel):
3464 (HoverLabel::setHoverLink):
3465 (HoverLabel::sizeForFont):
3466 (HoverLabel::sizeHint):
3467 (HoverLabel::resetAnimation):
3468 (HoverLabel::paintEvent):
3469 (HoverLabel::interpolate):
3470 (SearchEdit::resizeEvent):
3472 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3476 Adding API and code for notification of when the
3477 mouse is hovering over a link and adding code to
3478 the sample app to showcase it.
3480 * Api/qwebframe.cpp:
3481 (QWebFrame::mouseMoveEvent):
3483 * Api/qwebframe_p.h:
3484 (QWebFramePrivate::QWebFramePrivate):
3486 (QWebPage::createFrame):
3488 * QtLauncher/main.cpp:
3489 (HoverLabel::HoverLabel):
3490 (HoverLabel::setHoverLink):
3491 (HoverLabel::sizeHint):
3492 (HoverLabel::updateSize):
3493 (HoverLabel::paintEvent):
3494 (ClearButton::ClearButton):
3495 (ClearButton::paintEvent):
3496 (SearchEdit::SearchEdit):
3497 (SearchEdit::resizeEvent):
3498 (SearchEdit::moveEvent):
3499 (MainWindow::MainWindow):
3500 (MainWindow::showLinkHover):
3501 (MainWindow::resizeEvent):
3503 2007-02-22 Zack Rusin <zrusin@trolltech.com>
3507 Fixing the default scroll offset, cleaning
3508 up private methods and making the default
3509 look not use any frames.
3511 * Api/qwebframe.cpp:
3512 (QWebFramePrivate::init):
3513 (QWebFramePrivate::_q_handleKeyEvent):
3514 (QWebFrame::QWebFrame):
3515 (QWebFrame::wheelEvent):
3516 (QWebFrame::keyPressEvent):
3517 (QWebFrame::keyReleaseEvent):
3519 * Api/qwebframe_p.h:
3521 2007-02-22 Zack Rusin <zrusin@trolltech.com>
3525 Make the qwebframe act as a proper canvas.
3526 Implement it on top of QAbstractScrollArea.
3528 * Api/qwebframe.cpp:
3529 (QWebFramePrivate::init):
3530 (QWebFramePrivate::_q_adjustScrollbars):
3532 (QWebFrame::QWebFrame):
3533 (QWebFrame::resizeEvent):
3534 (QWebFrame::childFrames):
3535 (QWebFrame::paintEvent):
3536 (QWebFrame::mouseMoveEvent):
3537 (QWebFrame::mousePressEvent):
3538 (QWebFrame::mouseReleaseEvent):
3539 (QWebFrame::wheelEvent):
3540 (QWebFrame::keyPressEvent):
3541 (QWebFrame::keyReleaseEvent):
3542 (QWebFrame::dragEnterEvent):
3543 (QWebFrame::dragLeaveEvent):
3544 (QWebFrame::dragMoveEvent):
3545 (QWebFrame::handleKeyEvent):
3546 (QWebFrame::scrollContentsBy):
3548 * Api/qwebframe_p.h:
3549 (QWebFramePrivate::QWebFramePrivate):
3551 2007-02-21 George Staikos <staikos@kde.org>
3555 Add more editing support, and undo/redo. Requires some nasty evil
3556 hacks that have to be sorted out in WebCore/editor.
3559 (QWebPagePrivate::QWebPagePrivate):
3560 (QWebPagePrivate::~QWebPagePrivate):
3561 (QWebPage::undoStack):
3564 * WebCoreSupport/EditorClientQt.cpp:
3565 (WebCore::EditorClientQt::didBeginEditing):
3566 (WebCore::EditorClientQt::didEndEditing):
3567 (WebCore::EditorClientQt::isEditable):
3568 (WebCore::EditorClientQt::registerCommandForUndo):
3569 (WebCore::EditorClientQt::registerCommandForRedo):
3570 (WebCore::EditorClientQt::clearUndoRedoOperations):
3571 (WebCore::EditorClientQt::canUndo):
3572 (WebCore::EditorClientQt::canRedo):
3573 (WebCore::EditorClientQt::undo):
3574 (WebCore::EditorClientQt::redo):
3575 (WebCore::EditorClientQt::handleKeyPress):
3576 (WebCore::EditorClientQt::EditorClientQt):
3577 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3578 (WebCore::EditorClientQt::textFieldDidEndEditing):
3579 (WebCore::EditorClientQt::isEditing):
3580 * WebCoreSupport/EditorClientQt.h:
3582 2007-02-21 Zack Rusin <zrusin@trolltech.com>
3586 * WebCoreSupport/ContextMenuClientQt.cpp:
3587 * WebCoreSupport/ContextMenuClientQt.h:
3589 2007-02-21 George Staikos <staikos@kde.org>
3596 2007-02-20 Zack Rusin <zrusin@trolltech.com>
3600 Make editing of forms work plus make sure that non-void methods
3601 always return something.
3603 * WebCoreSupport/ChromeClientQt.cpp:
3604 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3605 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3606 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3607 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3608 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3609 * WebCoreSupport/EditorClientQt.cpp:
3610 (WebCore::EditorClientQt::shouldDeleteRange):
3611 (WebCore::EditorClientQt::shouldBeginEditing):
3612 (WebCore::EditorClientQt::shouldEndEditing):
3613 (WebCore::EditorClientQt::shouldInsertText):
3614 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3615 (WebCore::EditorClientQt::shouldApplyStyle):
3616 (WebCore::EditorClientQt::shouldInsertNode):
3617 * WebCoreSupport/FrameLoaderClientQt.cpp:
3618 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3619 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3621 2007-02-17 Lars Knoll <lars@trolltech.com>
3625 Additional coding by Maciej, additional review by Oliver.
3627 Add stubs for the new methods in ChormeClient and EditorClient,
3628 remove all references to FrameQt.
3630 * Api/qwebframe.cpp:
3631 (QWebFrame::QWebFrame):
3632 * Api/qwebframe_p.h:
3634 * WebCoreSupport/ChromeClientQt.cpp:
3635 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3636 * WebCoreSupport/ChromeClientQt.h:
3637 * WebCoreSupport/EditorClientQt.cpp:
3638 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3639 (WebCore::EditorClientQt::isEditable):
3640 * WebCoreSupport/EditorClientQt.h:
3641 * WebCoreSupport/FrameLoaderClientQt.cpp:
3642 (WebCore::FrameLoaderClientQt::setFrame):
3643 (WebCore::FrameLoaderClientQt::webFrame):
3644 * WebCoreSupport/FrameLoaderClientQt.h:
3646 2007-02-18 Oliver Hunt <oliver@apple.com>
3648 Reviewed by NOBODY (Buildfix).
3650 Build fix -- adding DragClientQt method stubs
3652 * WebCoreSupport/DragClientQt.cpp:
3653 (WebCore::DragClientQt::willPerformDragSourceAction):
3654 (WebCore::DragClientQt::startDrag):
3655 (WebCore::DragClientQt::createDragImageForLink):
3656 * WebCoreSupport/DragClientQt.h:
3658 2007-02-15 Brady Eidson <beidson@apple.com>
3662 Moved scroll state down into the cross platform FrameLoader -
3663 Blind attempt at keeping Qt building
3665 * WebCoreSupport/FrameLoaderClientQt.cpp:
3666 (WebCore::FrameLoaderClientQt::restoreViewState):
3667 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3668 * WebCoreSupport/FrameLoaderClientQt.h:
3670 2007-02-07 Anders Carlsson <acarlsson@apple.com>
3672 Try fixing the Qt build.
3674 * WebCoreSupport/ChromeClientQt.cpp:
3675 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3676 * WebCoreSupport/ChromeClientQt.h:
3678 2007-02-02 Zack Rusin <zrusin@trolltech.com>
3680 Compilation fix: forward declare d-ptr.
3684 2007-02-02 Zack Rusin <zrusin@trolltech.com>
3688 Make the frames white by default and get the
3689 files that WebCore can handle render inside
3692 * Api/qwebframe.cpp:
3693 (QWebFrame::QWebFrame):
3694 * WebCoreSupport/FrameLoaderClientQt.cpp:
3695 (WebCore::FrameLoaderClientQt::createFrame):
3696 (WebCore::FrameLoaderClientQt::objectContentType):
3698 2007-02-01 George Staikos <staikos@kde.org>
3700 Reviewed by Zack and Lars.
3702 Add a cookie interface for the Qt build.
3704 * Api/qcookiejar.cpp: Added.
3705 (QCookieJarPrivate::QCookieJarPrivate):
3707 (QCookieJar::QCookieJar):
3708 (QCookieJar::~QCookieJar):
3709 (QCookieJar::setCookies):
3710 (QCookieJar::cookies):
3711 (QCookieJar::isEnabled):