1 2007-11-07 Simon Hausmann <hausmann@kde.org>
5 Moved QWebFrame::selectedText() to QWebPage::selectedText().
7 The currently selected text is a property of the page as a whole.
12 (QWebPage::selectedText):
15 2007-11-07 Simon Hausmann <hausmann@kde.org>
19 Implemented support for settings propagation.
21 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
23 * Api/qwebsettings.cpp:
24 (QWebSettingsPrivate::QWebSettingsPrivate):
25 (QWebSettingsPrivate::apply):
26 (QWebSettings::QWebSettings):
27 (QWebSettings::~QWebSettings):
28 (QWebSettings::setFontFamily):
31 2007-11-07 Simon Hausmann <hausmann@kde.org>
35 Reworked the QWebSettings API.
36 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
39 (QWebPagePrivate::QWebPagePrivate):
40 (QWebPagePrivate::~QWebPagePrivate):
44 * Api/qwebsettings.cpp:
45 (QWebSettingsPrivate::QWebSettingsPrivate):
46 (QWebSettingsPrivate::apply):
47 (QWebSettings::defaultSettings):
48 (QWebSettings::QWebSettings):
49 (QWebSettings::setMinimumFontSize):
50 (QWebSettings::setMinimumLogicalFontSize):
51 (QWebSettings::setDefaultFontSize):
52 (QWebSettings::setDefaultFixedFontSize):
53 (QWebSettings::setUserStyleSheetLocation):
54 (QWebSettings::setFontFamily):
55 (QWebSettings::fontFamily):
56 (QWebSettings::setAttribute):
58 * QtLauncher/main.cpp:
61 2007-11-07 Simon Hausmann <hausmann@kde.org>
65 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
67 * Api/qwebsettings.cpp:
68 (QWebSettings::setWebGraphic):
71 2007-11-07 Simon Hausmann <hausmann@kde.org>
75 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
77 * Api/qwebsettings.cpp:
79 2007-11-07 Simon Hausmann <hausmann@kde.org>
83 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
85 * Api/qwebsettings.cpp:
88 2007-11-07 Simon Hausmann <hausmann@kde.org>
92 Changed the webAction() accessor to not be a slot but just a public function.
96 2007-11-07 Simon Hausmann <hausmann@kde.org>
100 Implemented createWindow() in QtLauncher.
102 * QtLauncher/main.cpp:
104 (MainWindow::MainWindow):
105 (WebPage::createWindow):
107 2007-11-07 Simon Hausmann <hausmann@kde.org>
111 Implemented opening links in new windows
116 (QWebPage::webActionTriggered):
118 2007-11-07 Simon Hausmann <hausmann@kde.org>
122 Added and implemented the "OpenLink" action.
125 (webActionForContextMenuAction):
126 (QWebPage::webActionTriggered):
127 (QWebPage::webAction):
130 2007-11-07 Simon Hausmann <hausmann@kde.org>
134 Adjust the state of the reload action correctly.
137 (QWebPagePrivate::updateAction):
138 (QWebPagePrivate::updateNavigationActions):
140 2007-11-07 Simon Hausmann <hausmann@kde.org>
144 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
147 (QWebPagePrivate::updateAction):
148 (QWebPage::webAction):
149 (QWebPage::undoStack):
152 2007-11-07 Simon Hausmann <hausmann@kde.org>
156 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
158 * QtLauncher/main.cpp:
159 (MainWindow::MainWindow):
161 2007-11-07 Simon Hausmann <hausmann@kde.org>
165 Update the editor actions when the selection changes.
168 (QWebPagePrivate::updateAction):
169 (QWebPagePrivate::updateEditorActions):
171 * WebCoreSupport/EditorClientQt.cpp:
172 (WebCore::EditorClientQt::respondToChangedSelection):
174 2007-11-07 Simon Hausmann <hausmann@kde.org>
178 Added cut/copy/paste actions to the toolbar of QtLauncher
180 * QtLauncher/main.cpp:
181 (MainWindow::MainWindow):
183 2007-11-07 Simon Hausmann <hausmann@kde.org>
187 Started working on keeping the state of the navigation actions up-to-date.
190 (QWebPagePrivate::updateAction):
191 (QWebPagePrivate::updateNavigationActions):
192 (QWebPage::webAction):
194 * WebCoreSupport/FrameLoaderClientQt.cpp:
195 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
196 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
197 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
198 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
199 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
201 2007-11-07 Simon Hausmann <hausmann@kde.org>
205 Use the navigational web actions in the toolbar
207 * QtLauncher/main.cpp:
208 (MainWindow::MainWindow):
210 2007-11-07 Simon Hausmann <hausmann@kde.org>
214 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
215 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
218 (QWebPagePrivate::QWebPagePrivate):
219 (webActionForContextMenuAction):
220 (QWebPagePrivate::createContextMenu):
221 (QWebPagePrivate::_q_webActionTriggered):
222 (QWebPage::webActionTriggered):
223 (QWebPage::webAction):
224 (QWebPage::contextMenuEvent):
225 (QWebPageContext::QWebPageContext):
226 (QWebPageContext::operator=):
227 (QWebPageContext::~QWebPageContext):
228 (QWebPageContext::pos):
229 (QWebPageContext::text):
230 (QWebPageContext::linkUrl):
231 (QWebPageContext::imageUrl):
232 (QWebPageContext::image):
233 (QWebPageContext::targetFrame):
237 2007-11-07 Simon Hausmann <hausmann@kde.org>
241 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
244 (QWebPage::webActionTriggered):
245 (QWebPage::keyPressEvent):
248 2007-11-07 Simon Hausmann <hausmann@kde.org>
252 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
253 convenience methods such as cut()/copy()/paste().
257 (QWebPage::webActionTriggered):
262 2007-11-07 Simon Hausmann <hausmann@kde.org>
266 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
267 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
268 in ContextMenu::populate().
269 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
270 out of it. That menu is currently not functional anymore though.
273 (QWebPagePrivate::createContextMenu):
274 (QWebPage::contextMenuEvent):
277 2007-11-07 Simon Hausmann <hausmann@kde.org>
281 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
282 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
283 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
287 (QWebPage::contextMenuEvent):
288 * WebCoreSupport/ContextMenuClientQt.cpp:
289 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
291 2007-11-07 Simon Hausmann <hausmann@kde.org>
295 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
296 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
299 (QWebPage::mousePressEvent):
300 (QWebPage::contextMenuEvent):
303 2007-11-07 Simon Hausmann <hausmann@kde.org>
307 Turned onLoadProgressChanged into a real private slot.
310 (QWebPage::QWebPage):
314 2007-11-07 Simon Hausmann <hausmann@kde.org>
318 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
321 (QWebPagePrivate::QWebPagePrivate):
324 * Api/qwebpagehistory.cpp:
325 (QWebPageHistory::QWebPageHistory):
326 * Api/qwebpagehistory.h:
328 2007-11-07 Lars Knoll <lars@trolltech.com>
332 comments on API changes that we'd like to do.
336 2007-11-07 Simon Hausmann <hausmann@kde.org>
338 Reviewed by Lars Knoll <lars@trolltech.com>.
340 Add a QWebPage::frameCreated() signal and fix DRT
342 The removal of createFrame in QWebPage broke the re-implementation
343 in DumpRenderTree. Instead emit a frameCreated() signal and
344 connect to it in DumpRenderTree.
348 (QWebPagePrivate::createMainFrame):
350 * WebCoreSupport/FrameLoaderClientQt.cpp:
351 (WebCore::FrameLoaderClientQt::createFrame):
353 2007-11-07 Lars Knoll <lars@trolltech.com>
357 Remove QWebPage::createFrame()
359 now that QWebFrame doesn't have virtual methods anymore, there
360 is no need for a createFrame() factory method in QWebpage.
363 (QWebPagePrivate::createMainFrame):
365 * WebCoreSupport/FrameLoaderClientQt.cpp:
366 (WebCore::FrameLoaderClientQt::createFrame):
368 2007-11-07 Simon Hausmann <hausmann@kde.org>
370 Reviewed by Lars Knoll <lars@trolltech.com>.
372 Moved all the event handlers from QWebFrame into QWebPage.
374 This cleans up the public API and allows us to remove the
375 HackWebFrame hack in DumpRenderTree.
383 (QWebPagePrivate::frameAt):
384 (QWebPage::mouseMoveEvent):
385 (QWebPage::mousePressEvent):
386 (QWebPage::mouseDoubleClickEvent):
387 (QWebPage::mouseReleaseEvent):
388 (QWebPage::wheelEvent):
391 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
393 Reviewed by Lars Knoll <lars@trolltech.com>.
395 Use correct UserAgent string.
397 * Only have one User Agent String and this place is QWebPage
398 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
399 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
400 * ResourceRequest is != 0 when getting called from WebCore, we
401 will only do requests when coming from WebCore and then we can
402 use the User-Agent set with the help of the FrameLoaderClient
403 * We might want to change QWebNetworkRequest a bit
406 * Api/qwebnetworkinterface.cpp:
407 (QWebNetworkRequestPrivate::init):
409 2007-11-07 Lars Knoll <lars@trolltech.com>
413 remove two notImplemented() warnings, as I believe we don't
414 have to implement these methods. Add some (commented out)
415 debug code in one place.
417 * WebCoreSupport/EditorClientQt.cpp:
418 (WebCore::EditorClientQt::respondToChangedSelection):
419 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
421 2007-11-05 Tristan O'Tierney <tristan@apple.com>
423 Reviewed by Darin Adler.
425 * WebCoreSupport/ChromeClientQt.cpp:
426 (WebCore::ChromeClientQt::createWindow):
427 * WebCoreSupport/ChromeClientQt.h:
428 Revised to use new WebCore ChromeClient createWindow API.
430 2007-10-31 Lars Knoll <lars@trolltech.com>
434 fix most of the issues I found with Clipboard and DnD.
437 (QWebPage::dragLeaveEvent):
439 2007-10-31 Lars Knoll <lars@trolltech.com>
443 QDrag objects need to be created on the heap.
445 * WebCoreSupport/DragClientQt.cpp:
446 (WebCore::DragClientQt::startDrag):
448 2007-10-31 Lars Knoll <lars@trolltech.com>
452 a dragLeave event is not the same as cancelling a drag.
456 2007-10-26 Mark Rowe <mrowe@apple.com>
458 Build fix. Add missing #include of Platform.h.
460 * Api/qwebhistoryinterface.cpp:
462 2007-10-25 Holger Freyther <zecke@selfish.org>
464 Reviewed by Simon Hausmann <hausmann@kde.org>.
466 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
467 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
468 * This is causing some regressions...
471 * Api/qwebnetworkinterface.cpp:
472 (QWebNetworkManager::started):
473 (QWebNetworkInterface::addJob):
475 2007-10-25 Holger Freyther <zecke@selfish.org>
477 Reviewed by Simon Hausmann <hausmann@kde.org>.
479 * 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.
480 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
483 * Api/qwebnetworkinterface.cpp:
484 (QWebNetworkManager::started):
486 2007-10-25 Holger Freyther <zecke@selfish.org>
488 Reviewed by Simon Hausmann <hausmann@kde.org>.
490 * 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.
491 * Use the error message from Qt. It might or might not be translated.
494 * Api/qwebnetworkinterface.cpp:
495 (QWebNetworkJob::errorString):
496 (QWebNetworkJob::setErrorString):
497 (QWebNetworkManager::finished):
498 (QWebNetworkManager::doWork):
499 (WebCoreHttp::onRequestFinished):
500 * Api/qwebnetworkinterface.h:
501 * Api/qwebnetworkinterface_p.h:
503 2007-10-25 Holger Freyther <zecke@selfish.org>
505 Reviewed by Simon Hausmann <hausmann@kde.org>.
507 * 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.
508 * 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.
511 * Api/qwebnetworkinterface.cpp:
512 (QWebNetworkManager::doWork):
514 2007-10-25 Holger Freyther <zecke@selfish.org>
516 Reviewed by Simon Hausmann <hausmann@kde.org>.
518 * No need to initialize values in the QWebNetworkJob c'tor
519 * 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.
522 * Api/qwebnetworkinterface.cpp:
523 (QWebNetworkJob::status):
524 (QWebNetworkJob::setStatus):
525 (QWebNetworkManager::started):
526 (QWebNetworkManager::data):
527 (QWebNetworkManager::finished):
528 * Api/qwebnetworkinterface.h:
529 * Api/qwebnetworkinterface_p.h:
530 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
532 2007-10-25 Holger Freyther <zecke@selfish.org>
534 Reviewed by Simon Hausmann <hausmann@kde.org>.
536 * Consistency: Always name the jobs job.
539 * Api/qwebnetworkinterface.cpp:
540 (WebCoreHttp::onReadyRead):
541 (WebCoreHttp::onRequestFinished):
542 (WebCoreHttp::onSslErrors):
543 (WebCoreHttp::onAuthenticationRequired):
544 (WebCoreHttp::onProxyAuthenticationRequired):
546 2007-10-25 Holger Freyther <zecke@selfish.org>
548 Reviewed by Simon Hausmann <hausmann@kde.org>.
550 * 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.
551 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
554 * Api/qwebnetworkinterface.cpp:
555 (QWebNetworkJob::~QWebNetworkJob):
556 (QWebNetworkManager::QWebNetworkManager):
557 (QWebNetworkManager::self):
558 (QWebNetworkManager::add):
559 (QWebNetworkManager::started):
560 (QWebNetworkManager::finished):
561 (QWebNetworkInterfacePrivate::sendFileData):
562 (QWebNetworkInterfacePrivate::parseDataUrl):
563 (QWebNetworkManager::queueStart):
564 (QWebNetworkManager::queueData):
565 (QWebNetworkManager::queueFinished):
566 (QWebNetworkManager::doScheduleWork):
567 (QWebNetworkManager::doWork):
569 (QWebNetworkInterface::setDefaultInterface):
570 (QWebNetworkInterface::defaultInterface):
571 (QWebNetworkInterface::QWebNetworkInterface):
572 (QWebNetworkInterface::started):
573 (QWebNetworkInterface::data):
574 (QWebNetworkInterface::finished):
575 (WebCoreHttp::scheduleNextRequest):
576 (WebCoreHttp::onResponseHeaderReceived):
577 (WebCoreHttp::onReadyRead):
578 (WebCoreHttp::onRequestFinished):
579 (WebCoreHttp::cancel):
580 * Api/qwebnetworkinterface.h:
581 * Api/qwebnetworkinterface_p.h:
582 (QWebNetworkManager::):
583 (QWebNetworkManager::JobData::JobData):
584 (QWebNetworkManager::JobFinished::JobFinished):
586 2007-10-25 Holger Freyther <zecke@selfish.org>
588 Reviewed by Simon Hausmann <hausmann@kde.org>.
590 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
591 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
592 * We pass the char-decoding.html test now
595 * Api/qwebnetworkinterface.cpp:
596 (decodePercentEncoding):
597 (QWebNetworkInterfacePrivate::parseDataUrl):
599 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
601 Reviewed by Lars Knoll <lars@trolltech.com>.
603 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
606 * WebCoreSupport/EditorClientQt.cpp:
607 (WebCore::EditorClientQt::handleKeypress):
609 2007-10-24 Lars Knoll <lars@trolltech.com>
613 remove some notImplemented() warnings.
615 * WebCoreSupport/EditorClientQt.cpp:
616 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
617 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
618 (WebCore::EditorClientQt::respondToChangedSelection):
620 2007-10-24 Lars Knoll <lars@trolltech.com>
624 allow paste from DOM so we pass more test cases.
627 (QWebPage::setSettings):
629 2007-10-24 Lars Knoll <lars@trolltech.com>
633 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
636 (QWebPage::keyPressEvent):
637 (QWebPage::keyReleaseEvent):
639 2007-10-24 Lars Knoll <lars@trolltech.com>
643 some smaller fixes to the editing support in DRT. Makes another few tests pass.
645 * WebCoreSupport/EditorClientQt.cpp:
646 (qt_dump_editing_callbacks):
649 2007-10-24 Lars Knoll <lars@trolltech.com>
653 implemented support for most editing shortcuts to make contentEditable usable.
656 (QWebPage::keyPressEvent):
658 2007-10-24 Lars Knoll <lars@trolltech.com>
662 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
665 (QWebPage::focusInEvent):
667 2007-10-24 Lars Knoll <lars@trolltech.com>
671 Implement support for testing editing.
673 * WebCoreSupport/EditorClientQt.cpp:
674 (qt_dump_editing_callbacks):
675 (qt_dump_set_accepts_editing):
678 (WebCore::EditorClientQt::shouldDeleteRange):
679 (WebCore::EditorClientQt::shouldShowDeleteInterface):
680 (WebCore::EditorClientQt::shouldBeginEditing):
681 (WebCore::EditorClientQt::shouldEndEditing):
682 (WebCore::EditorClientQt::shouldInsertText):
683 (WebCore::EditorClientQt::shouldChangeSelectedRange):
684 (WebCore::EditorClientQt::shouldApplyStyle):
685 (WebCore::EditorClientQt::didBeginEditing):
686 (WebCore::EditorClientQt::respondToChangedContents):
687 (WebCore::EditorClientQt::respondToChangedSelection):
688 (WebCore::EditorClientQt::didEndEditing):
689 (WebCore::EditorClientQt::shouldInsertNode):
691 2007-10-19 Alp Toker <alp@atoker.com>
695 GTK+ build fix enabling the new local database storage feature.
696 There is also a prospective Qt build fix.
698 * WebCoreSupport/ChromeClientQt.cpp:
699 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
700 * WebCoreSupport/ChromeClientQt.h:
702 2007-10-19 Simon Hausmann <hausmann@kde.org>
704 Fix the Qt/Windows build: Include the moc file from the .cpp file so
705 that config.h is included before wtf/MathExtras. The former defines
706 the MSVC defines for rand_s.
708 * WebCoreSupport/FrameLoaderClientQt.cpp:
710 2007-10-19 Simon Hausmann <shausman@trolltech.com>
714 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
719 2007-10-10 Alice Liu <alice.liu@apple.com>
721 Reviewed by Geoff Garen.
723 changes to keep the build from breaking
725 * WebCoreSupport/FrameLoaderClientQt.cpp:
726 (WebCore::FrameLoaderClientQt::createFrame):
727 * WebCoreSupport/FrameLoaderClientQt.h:
729 2007-10-09 Lars Knoll <lars@trolltech.com>
733 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
736 (QWebPage::setSettings):
738 2007-10-09 Lars Knoll <lars@trolltech.com>
742 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
744 * Api/qwebnetworkinterface.cpp:
745 (QWebNetworkManager::add):
746 (QWebNetworkManager::cancel):
747 (QWebNetworkManager::started):
748 (QWebNetworkManager::data):
749 (QWebNetworkInterfacePrivate::parseDataUrl):
751 2007-10-09 Lars Knoll <lars@trolltech.com>
755 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.
758 (QWebPagePrivate::createMainFrame):
759 (QWebPage::createFrame):
760 * WebCoreSupport/FrameLoaderClientQt.cpp:
761 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
762 * WebCoreSupport/FrameLoaderClientQt.h:
764 2007-10-09 Lars Knoll <lars@trolltech.com>
768 add a clear() method to QWebPageHistory.
770 * Api/qwebpagehistory.cpp:
771 (QWebPageHistory::clear):
772 (QWebPageHistory::itemAtIndex):
773 * Api/qwebpagehistory.h:
775 2007-10-05 Lars Knoll <lars@trolltech.com>
777 add proper error messages to the FrameLoaderClient.
778 Implement ChromeClientQt::closeWindowSoon and
779 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
780 Some fixes in DRT to make it work correctly with multiple windows.
785 * Api/qwebnetworkinterface.cpp:
786 (QWebNetworkManager::cancel):
787 (QWebNetworkInterface::addJob):
788 * WebCoreSupport/ChromeClientQt.cpp:
789 (WebCore::ChromeClientQt::closeWindowSoon):
790 * WebCoreSupport/FrameLoaderClientQt.cpp:
791 (WebCore::FrameLoaderClientQt::cancelledError):
793 (WebCore::FrameLoaderClientQt::blockedError):
794 (WebCore::FrameLoaderClientQt::cannotShowURLError):
795 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
796 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
797 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
799 2007-10-03 Lars Knoll <lars@trolltech.com>
801 Signed off by Olliej.
803 move WebKitQt to WebKit/qt for consistency with the other ports.
805 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
806 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
807 (QCookieJarPrivate::QCookieJarPrivate):
809 (QCookieJar::QCookieJar):
810 (QCookieJar::~QCookieJar):
811 (QCookieJar::setCookies):
812 (QCookieJar::cookies):
813 (QCookieJar::isEnabled):
814 (QCookieJar::setEnabled):
816 (QCookieJar::setCookieJar):
817 (QCookieJar::cookieJar):
818 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
819 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
820 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
821 (QWebFramePrivate::init):
822 (QWebFramePrivate::parentFrame):
823 (QWebFramePrivate::horizontalScrollBar):
824 (QWebFramePrivate::verticalScrollBar):
825 (QWebFrame::QWebFrame):
826 (QWebFrame::~QWebFrame):
827 (QWebFrame::addToJSWindowObject):
829 (QWebFrame::innerText):
830 (QWebFrame::renderTreeDump):
834 (QWebFrame::selectedText):
835 (QWebFrame::childFrames):
836 (QWebFrame::verticalScrollBarPolicy):
837 (QWebFrame::setVerticalScrollBarPolicy):
838 (QWebFrame::horizontalScrollBarPolicy):
839 (QWebFrame::setHorizontalScrollBarPolicy):
843 (QWebFrame::geometry):
844 (QWebFrame::evaluateJavaScript):
845 (QWebFrame::mouseMoveEvent):
846 (QWebFrame::mousePressEvent):
847 (QWebFrame::mouseDoubleClickEvent):
848 (QWebFrame::mouseReleaseEvent):
849 (QWebFrame::wheelEvent):
850 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
851 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
852 (QWebFramePrivate::QWebFramePrivate):
853 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
854 (WebCore::historyContains):
856 (QWebHistoryInterface::setDefaultInterface):
857 (QWebHistoryInterface::defaultInterface):
858 (QWebHistoryInterface::QWebHistoryInterface):
859 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
860 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
861 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
864 (QWebNetworkRequestPrivate::init):
865 (QWebNetworkRequestPrivate::setURL):
866 (QWebNetworkRequest::QWebNetworkRequest):
867 (QWebNetworkRequest::operator=):
868 (QWebNetworkRequest::~QWebNetworkRequest):
869 (QWebNetworkRequest::url):
870 (QWebNetworkRequest::setUrl):
871 (QWebNetworkRequest::httpHeader):
872 (QWebNetworkRequest::setHttpHeader):
873 (QWebNetworkRequest::httpHeaderField):
874 (QWebNetworkRequest::setHttpHeaderField):
875 (QWebNetworkRequest::postData):
876 (QWebNetworkRequest::setPostData):
877 (QWebNetworkJob::QWebNetworkJob):
878 (QWebNetworkJob::~QWebNetworkJob):
879 (QWebNetworkJob::url):
880 (QWebNetworkJob::postData):
881 (QWebNetworkJob::httpHeader):
882 (QWebNetworkJob::request):
883 (QWebNetworkJob::response):
884 (QWebNetworkJob::setResponse):
885 (QWebNetworkJob::cancelled):
886 (QWebNetworkJob::ref):
887 (QWebNetworkJob::deref):
888 (QWebNetworkJob::networkInterface):
889 (QWebNetworkJob::frame):
890 (QWebNetworkManager::QWebNetworkManager):
891 (QWebNetworkManager::self):
892 (QWebNetworkManager::add):
893 (QWebNetworkManager::cancel):
894 (QWebNetworkManager::started):
895 (QWebNetworkManager::data):
896 (QWebNetworkManager::finished):
897 (QWebNetworkManager::addHttpJob):
898 (QWebNetworkManager::cancelHttpJob):
899 (QWebNetworkManager::httpConnectionClosed):
900 (QWebNetworkInterfacePrivate::sendFileData):
901 (QWebNetworkInterfacePrivate::parseDataUrl):
903 (QWebNetworkInterface::setDefaultInterface):
904 (QWebNetworkInterface::defaultInterface):
905 (QWebNetworkInterface::QWebNetworkInterface):
906 (QWebNetworkInterface::~QWebNetworkInterface):
907 (QWebNetworkInterface::addJob):
908 (QWebNetworkInterface::cancelJob):
909 (WebCoreHttp::WebCoreHttp):
910 (WebCoreHttp::~WebCoreHttp):
911 (WebCoreHttp::request):
912 (WebCoreHttp::scheduleNextRequest):
913 (WebCoreHttp::getConnection):
914 (WebCoreHttp::onResponseHeaderReceived):
915 (WebCoreHttp::onReadyRead):
916 (WebCoreHttp::onRequestFinished):
917 (WebCoreHttp::onDone):
918 (WebCoreHttp::onStateChanged):
919 (WebCoreHttp::cancel):
920 (WebCoreHttp::onSslErrors):
921 (WebCoreHttp::onAuthenticationRequired):
922 (WebCoreHttp::onProxyAuthenticationRequired):
923 (HostInfo::HostInfo):
924 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
925 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
926 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
927 (WebCore::HostInfo::HostInfo):
928 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
929 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
930 (QWebFactoryLoader::QWebFactoryLoader):
931 (QWebFactoryLoader::self):
932 (QWebFactoryLoader::descriptionForName):
933 (QWebFactoryLoader::mimetypesForName):
934 (QWebFactoryLoader::mimeTypeForExtension):
935 (QWebFactoryLoader::extensions):
936 (QWebFactoryLoader::nameForMimetype):
937 (QWebFactoryLoader::create):
938 (QWebObjectPlugin::QWebObjectPlugin):
939 (QWebObjectPlugin::~QWebObjectPlugin):
940 (QWebObjectPlugin::descriptionForKey):
941 (QWebObjectPlugin::mimetypesForKey):
942 (QWebObjectPlugin::extensionsForMimetype):
943 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
944 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
945 (QWebFactoryLoader::names):
946 (QWebFactoryLoader::supportsMimeType):
947 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
948 (QWebObjectPluginConnector::QWebObjectPluginConnector):
949 (QWebObjectPluginConnector::frame):
950 (QWebObjectPluginConnector::pluginParentWidget):
951 (QWebObjectPluginConnector::requestUrl):
952 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
953 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
954 (QWebPagePrivate::QWebPagePrivate):
955 (QWebPagePrivate::~QWebPagePrivate):
956 (QWebPagePrivate::navigationRequested):
957 (QWebPagePrivate::createMainFrame):
958 (QWebPage::QWebPage):
959 (QWebPage::~QWebPage):
960 (QWebPage::createFrame):
964 (QWebPage::mainFrame):
965 (QWebPage::sizeHint):
969 (QWebPage::goForward):
970 (QWebPage::goToHistoryItem):
971 (QWebPage::javaScriptConsoleMessage):
972 (QWebPage::javaScriptAlert):
973 (QWebPage::javaScriptConfirm):
974 (QWebPage::javaScriptPrompt):
975 (QWebPage::createWindow):
976 (QWebPage::createModalDialog):
977 (QWebPage::createPlugin):
978 (QWebPage::navigationRequested):
979 (QWebPage::setWindowGeometry):
982 (QWebPage::canPaste):
986 (QWebPage::isModified):
987 (QWebPage::undoStack):
988 (dropActionToDragOp):
989 (dragOpToDropAction):
990 (QWebPage::resizeEvent):
991 (QWebPage::paintEvent):
992 (QWebPage::mouseMoveEvent):
993 (QWebPage::mousePressEvent):
994 (QWebPage::mouseDoubleClickEvent):
995 (QWebPage::mouseReleaseEvent):
996 (QWebPage::wheelEvent):
997 (QWebPage::keyPressEvent):
998 (QWebPage::keyReleaseEvent):
999 (QWebPage::focusInEvent):
1000 (QWebPage::focusOutEvent):
1001 (QWebPage::focusNextPrevChild):
1002 (QWebPage::dragEnterEvent):
1003 (QWebPage::dragLeaveEvent):
1004 (QWebPage::dragMoveEvent):
1005 (QWebPage::dropEvent):
1006 (QWebPage::setNetworkInterface):
1007 (QWebPage::networkInterface):
1009 (QWebPage::setSettings):
1010 (QWebPage::settings):
1011 (QWebPage::chooseFile):
1012 (QWebPage::setNetworkProxy):
1013 (QWebPage::networkProxy):
1014 (QWebPage::userAgentStringForUrl):
1015 (QWebPage::onLoadProgressChanged):
1016 (QWebPage::totalBytes):
1017 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
1018 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
1019 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
1020 (QWebHistoryItem::QWebHistoryItem):
1021 (QWebHistoryItem::operator=):
1022 (QWebHistoryItem::~QWebHistoryItem):
1023 (QWebHistoryItem::originalUrl):
1024 (QWebHistoryItem::currentUrl):
1025 (QWebHistoryItem::title):
1026 (QWebHistoryItem::lastVisited):
1027 (QWebHistoryItem::icon):
1028 (QWebPageHistory::QWebPageHistory):
1029 (QWebPageHistory::itemAtIndex):
1030 (QWebPageHistory::operator=):
1031 (QWebPageHistory::~QWebPageHistory):
1032 (QWebPageHistory::items):
1033 (QWebPageHistory::backItems):
1034 (QWebPageHistory::forwardItems):
1035 (QWebPageHistory::canGoBack):
1036 (QWebPageHistory::canGoForward):
1037 (QWebPageHistory::goBack):
1038 (QWebPageHistory::goForward):
1039 (QWebPageHistory::goToItem):
1040 (QWebPageHistory::backItem):
1041 (QWebPageHistory::currentItem):
1042 (QWebPageHistory::forwardItem):
1043 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
1044 (QExplicitlySharedDataPointer::operator*):
1045 (QExplicitlySharedDataPointer::operator->):
1046 (QExplicitlySharedDataPointer::operator T *):
1047 (QExplicitlySharedDataPointer::operator const T *):
1048 (QExplicitlySharedDataPointer::data):
1049 (QExplicitlySharedDataPointer::constData):
1050 (QExplicitlySharedDataPointer::operator==):
1051 (QExplicitlySharedDataPointer::operator!=):
1052 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1053 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1054 (QExplicitlySharedDataPointer::operator=):
1055 (QExplicitlySharedDataPointer::operator!):
1056 (::QExplicitlySharedDataPointer):
1057 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
1058 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1059 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1060 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1061 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1062 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
1063 (QWebSettingsPrivate::QWebSettingsPrivate):
1064 (QWebSettings::QWebSettings):
1065 (QWebSettings::~QWebSettings):
1066 (QWebSettings::setMinimumFontSize):
1067 (QWebSettings::minimumFontSize):
1068 (QWebSettings::setMinimumLogicalFontSize):
1069 (QWebSettings::minimumLogicalFontSize):
1070 (QWebSettings::setDefaultFontSize):
1071 (QWebSettings::defaultFontSize):
1072 (QWebSettings::setDefaultFixedFontSize):
1073 (QWebSettings::defaultFixedFontSize):
1074 (QWebSettings::setUserStyleSheetLocation):
1075 (QWebSettings::userStyleSheetLocation):
1076 (QWebSettings::setIconDatabaseEnabled):
1077 (QWebSettings::iconDatabaseEnabled):
1078 (QWebSettings::setWebGraphic):
1079 (QWebSettings::webGraphic):
1080 (QWebSettings::operator=):
1081 (QWebSettings::setGlobal):
1082 (QWebSettings::global):
1083 (QWebSettings::setFontFamily):
1084 (QWebSettings::fontFamily):
1085 (QWebSettings::setAttribute):
1086 (QWebSettings::testAttribute):
1087 (loadResourcePixmap):
1088 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
1089 * ChangeLog: Renamed from WebKitQt/ChangeLog.
1090 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
1091 (IcoHeader::operator >>):
1092 (IcoHeader::BMP_INFOHDR::):
1093 (IcoHeader::operator<<):
1094 (IcoHeader::LessDifference::LessDifference):
1095 (IcoHeader::LessDifference::operator ()):
1096 (IcoHeader::loadFromDIB):
1097 (ICOHandler::ICOHandler):
1098 (ICOHandler::canRead):
1100 (ICOHandler::write):
1103 (ICOPlugin::capabilities):
1104 (ICOPlugin::create):
1105 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
1106 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
1107 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
1108 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
1109 (HoverLabel::HoverLabel):
1110 (HoverLabel::setHoverLink):
1111 (HoverLabel::sizeForFont):
1112 (HoverLabel::sizeHint):
1113 (HoverLabel::updateSize):
1114 (HoverLabel::resetAnimation):
1115 (HoverLabel::paintEvent):
1116 (HoverLabel::interpolate):
1117 (ClearButton::ClearButton):
1118 (ClearButton::paintEvent):
1119 (SearchEdit::SearchEdit):
1120 (SearchEdit::~SearchEdit):
1121 (SearchEdit::paintEvent):
1122 (SearchEdit::resizeEvent):
1123 (SearchEdit::moveEvent):
1124 (MainWindow::MainWindow):
1125 (MainWindow::changeLocation):
1126 (MainWindow::loadFinished):
1127 (MainWindow::showLinkHover):
1128 (MainWindow::resizeEvent):
1130 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
1131 (WebCore::ChromeClientQt::ChromeClientQt):
1132 (WebCore::ChromeClientQt::~ChromeClientQt):
1133 (WebCore::ChromeClientQt::setWindowRect):
1134 (WebCore::ChromeClientQt::windowRect):
1135 (WebCore::ChromeClientQt::pageRect):
1136 (WebCore::ChromeClientQt::scaleFactor):
1137 (WebCore::ChromeClientQt::focus):
1138 (WebCore::ChromeClientQt::unfocus):
1139 (WebCore::ChromeClientQt::canTakeFocus):
1140 (WebCore::ChromeClientQt::takeFocus):
1141 (WebCore::ChromeClientQt::createWindow):
1142 (WebCore::ChromeClientQt::createModalDialog):
1143 (WebCore::ChromeClientQt::show):
1144 (WebCore::ChromeClientQt::canRunModal):
1145 (WebCore::ChromeClientQt::runModal):
1146 (WebCore::ChromeClientQt::setToolbarsVisible):
1147 (WebCore::ChromeClientQt::toolbarsVisible):
1148 (WebCore::ChromeClientQt::setStatusbarVisible):
1149 (WebCore::ChromeClientQt::statusbarVisible):
1150 (WebCore::ChromeClientQt::setScrollbarsVisible):
1151 (WebCore::ChromeClientQt::scrollbarsVisible):
1152 (WebCore::ChromeClientQt::setMenubarVisible):
1153 (WebCore::ChromeClientQt::menubarVisible):
1154 (WebCore::ChromeClientQt::setResizable):
1155 (WebCore::ChromeClientQt::addMessageToConsole):
1156 (WebCore::ChromeClientQt::chromeDestroyed):
1157 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1158 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1159 (WebCore::ChromeClientQt::closeWindowSoon):
1160 (WebCore::ChromeClientQt::runJavaScriptAlert):
1161 (WebCore::ChromeClientQt::runJavaScriptConfirm):
1162 (WebCore::ChromeClientQt::runJavaScriptPrompt):
1163 (WebCore::ChromeClientQt::setStatusbarText):
1164 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
1165 (WebCore::ChromeClientQt::tabsToLinks):
1166 (WebCore::ChromeClientQt::windowResizerRect):
1167 (WebCore::ChromeClientQt::addToDirtyRegion):
1168 (WebCore::ChromeClientQt::scrollBackingStore):
1169 (WebCore::ChromeClientQt::updateBackingStore):
1170 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
1171 (WebCore::ChromeClientQt::setToolTip):
1172 (WebCore::ChromeClientQt::print):
1173 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
1174 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
1175 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1176 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1177 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1178 (WebCore::ContextMenuClientQt::downloadURL):
1179 (WebCore::ContextMenuClientQt::lookUpInDictionary):
1180 (WebCore::ContextMenuClientQt::speak):
1181 (WebCore::ContextMenuClientQt::stopSpeaking):
1182 (WebCore::ContextMenuClientQt::searchWithGoogle):
1183 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
1184 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
1185 (WebCore::DragClientQt::actionMaskForDrag):
1186 (WebCore::DragClientQt::willPerformDragDestinationAction):
1187 (WebCore::DragClientQt::dragControllerDestroyed):
1188 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1189 (WebCore::DragClientQt::willPerformDragSourceAction):
1190 (WebCore::DragClientQt::startDrag):
1191 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
1192 (WebCore::DragClientQt::DragClientQt):
1193 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
1194 (EditCommandQt::EditCommandQt):
1195 (EditCommandQt::~EditCommandQt):
1196 (EditCommandQt::redo):
1197 (EditCommandQt::undo):
1198 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
1199 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
1200 (WebCore::EditorClientQt::shouldDeleteRange):
1201 (WebCore::EditorClientQt::shouldShowDeleteInterface):
1202 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1203 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1204 (WebCore::EditorClientQt::spellCheckerDocumentTag):
1205 (WebCore::EditorClientQt::shouldBeginEditing):
1206 (WebCore::EditorClientQt::shouldEndEditing):
1207 (WebCore::EditorClientQt::shouldInsertText):
1208 (WebCore::EditorClientQt::shouldChangeSelectedRange):
1209 (WebCore::EditorClientQt::shouldApplyStyle):
1210 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1211 (WebCore::EditorClientQt::didBeginEditing):
1212 (WebCore::EditorClientQt::respondToChangedContents):
1213 (WebCore::EditorClientQt::respondToChangedSelection):
1214 (WebCore::EditorClientQt::didEndEditing):
1215 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1216 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1217 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
1218 (WebCore::EditorClientQt::isEditable):
1219 (WebCore::EditorClientQt::registerCommandForUndo):
1220 (WebCore::EditorClientQt::registerCommandForRedo):
1221 (WebCore::EditorClientQt::clearUndoRedoOperations):
1222 (WebCore::EditorClientQt::canUndo):
1223 (WebCore::EditorClientQt::canRedo):
1224 (WebCore::EditorClientQt::undo):
1225 (WebCore::EditorClientQt::redo):
1226 (WebCore::EditorClientQt::shouldInsertNode):
1227 (WebCore::EditorClientQt::pageDestroyed):
1228 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
1229 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1230 (WebCore::EditorClientQt::toggleGrammarChecking):
1231 (WebCore::EditorClientQt::handleKeypress):
1232 (WebCore::EditorClientQt::handleInputMethodKeypress):
1233 (WebCore::EditorClientQt::EditorClientQt):
1234 (WebCore::EditorClientQt::textFieldDidBeginEditing):
1235 (WebCore::EditorClientQt::textFieldDidEndEditing):
1236 (WebCore::EditorClientQt::textDidChangeInTextField):
1237 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
1238 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
1239 (WebCore::EditorClientQt::textDidChangeInTextArea):
1240 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
1241 (WebCore::EditorClientQt::learnWord):
1242 (WebCore::EditorClientQt::checkSpellingOfString):
1243 (WebCore::EditorClientQt::checkGrammarOfString):
1244 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
1245 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
1246 (WebCore::EditorClientQt::showSpellingUI):
1247 (WebCore::EditorClientQt::spellingUIIsShowing):
1248 (WebCore::EditorClientQt::getGuessesForWord):
1249 (WebCore::EditorClientQt::isEditing):
1250 (WebCore::EditorClientQt::setInputMethodState):
1251 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
1252 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
1253 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1254 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1255 (WebCore::FrameLoaderClientQt::setFrame):
1256 (WebCore::FrameLoaderClientQt::webFrame):
1257 (WebCore::FrameLoaderClientQt::callPolicyFunction):
1258 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1259 (WebCore::FrameLoaderClientQt::hasWebView):
1260 (WebCore::FrameLoaderClientQt::hasFrameView):
1261 (WebCore::FrameLoaderClientQt::hasBackForwardList):
1262 (WebCore::FrameLoaderClientQt::resetBackForwardList):
1263 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
1264 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
1265 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
1266 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
1267 (WebCore::FrameLoaderClientQt::makeDocumentView):
1268 (WebCore::FrameLoaderClientQt::makeRepresentation):
1269 (WebCore::FrameLoaderClientQt::forceLayout):
1270 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
1271 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1272 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
1273 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
1274 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
1275 (WebCore::FrameLoaderClientQt::willCloseDocument):
1276 (WebCore::FrameLoaderClientQt::detachedFromParent2):
1277 (WebCore::FrameLoaderClientQt::detachedFromParent3):
1278 (WebCore::FrameLoaderClientQt::detachedFromParent4):
1279 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
1280 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1281 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
1282 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
1283 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
1284 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
1285 (WebCore::FrameLoaderClientQt::dispatchWillClose):
1286 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1287 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1288 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1289 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1290 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1291 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1292 (WebCore::FrameLoaderClientQt::dispatchShow):
1293 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1294 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1295 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
1296 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
1297 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
1298 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
1299 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
1300 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1301 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1302 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1303 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1304 (WebCore::FrameLoaderClientQt::willChangeTitle):
1305 (WebCore::FrameLoaderClientQt::didChangeTitle):
1306 (WebCore::FrameLoaderClientQt::finishedLoading):
1307 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
1308 (WebCore::FrameLoaderClientQt::setDefersLoading):
1309 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
1310 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
1311 (WebCore::FrameLoaderClientQt::clearArchivedResources):
1312 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1313 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1314 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
1315 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
1316 (WebCore::FrameLoaderClientQt::restoreViewState):
1317 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1318 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
1319 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
1320 (WebCore::FrameLoaderClientQt::didFinishLoad):
1321 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1322 (WebCore::FrameLoaderClientQt::setTitle):
1323 (WebCore::FrameLoaderClientQt::userAgent):
1324 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
1325 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1326 (WebCore::FrameLoaderClientQt::canHandleRequest):
1327 (WebCore::FrameLoaderClientQt::windowObjectCleared):
1328 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1329 (WebCore::FrameLoaderClientQt::registerForIconNotification):
1330 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
1331 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1332 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1333 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1334 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1335 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
1336 (WebCore::FrameLoaderClientQt::canCachePage):
1337 (WebCore::FrameLoaderClientQt::setMainDocumentError):
1338 (WebCore::FrameLoaderClientQt::committedLoad):
1339 (WebCore::FrameLoaderClientQt::cancelledError):
1340 (WebCore::FrameLoaderClientQt::blockedError):
1341 (WebCore::FrameLoaderClientQt::cannotShowURLError):
1342 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1343 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1344 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1345 (WebCore::FrameLoaderClientQt::shouldFallBack):
1346 (WebCore::FrameLoaderClientQt::createDocumentLoader):
1347 (WebCore::FrameLoaderClientQt::download):
1348 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1349 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1350 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1351 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1352 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1353 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1354 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1355 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1356 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1357 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1358 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1359 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1360 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1361 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1362 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1363 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1364 (WebCore::FrameLoaderClientQt::startDownload):
1365 (WebCore::FrameLoaderClientQt::willUseArchive):
1366 (WebCore::FrameLoaderClientQt::createFrame):
1367 (WebCore::FrameLoaderClientQt::objectContentType):
1369 (WebCore::FrameLoaderClientQt::createPlugin):
1370 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1371 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1372 (WebCore::FrameLoaderClientQt::overrideMediaType):
1373 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
1374 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
1375 (WebCore::InspectorClientQt::inspectorDestroyed):
1376 (WebCore::InspectorClientQt::createPage):
1377 (WebCore::InspectorClientQt::showWindow):
1378 (WebCore::InspectorClientQt::closeWindow):
1379 (WebCore::InspectorClientQt::attachWindow):
1380 (WebCore::InspectorClientQt::detachWindow):
1381 (WebCore::InspectorClientQt::highlight):
1382 (WebCore::InspectorClientQt::hideHighlight):
1383 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
1384 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
1385 (WebKitFactory::WebKitFactory):
1386 (WebKitFactory::~WebKitFactory):
1387 (WebKitFactory::createPartObject):
1388 (WebKitFactory::instance):
1389 (WebKitFactory::ref):
1390 (WebKitFactory::deref):
1391 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
1392 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
1393 (WebKitPart::WebKitPart):
1394 (WebKitPart::~WebKitPart):
1395 (WebKitPart::openFile):
1396 (WebKitPart::openUrl):
1397 (WebKitPart::closeUrl):
1398 (WebKitPart::parentPart):
1399 (WebKitPart::frame):
1400 (WebKitPart::initView):
1401 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
1402 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
1404 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
1405 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
1406 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
1407 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1408 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
1409 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
1410 (WebKitPartClient::WebKitPartClient):
1411 (WebKitPartClient::~WebKitPartClient):
1412 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
1413 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
1414 (WebKitPartInterface::WebKitPartInterface):
1415 (WebKitPartInterface::~WebKitPartInterface):
1416 (WebKitPartInterface::url):
1417 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
1418 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
1420 2007-10-02 Adam Treat <treat@kde.org>
1422 Reviewed by Eric Seidel.
1424 Open the requested url on the newly created window.
1425 Implement createModalDialog and provide new API for this.
1426 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
1429 (QWebPage::createModalDialog):
1431 * WebCoreSupport/ChromeClientQt.cpp:
1432 (WebCore::ChromeClientQt::createWindow):
1433 (WebCore::ChromeClientQt::createModalDialog):
1435 2007-10-02 Lars Knoll <lars@trolltech.com>
1439 Add API to retrieve the frame name from QWebFrame.
1440 Implement support for DRT::dumpChildrenAsText.
1442 * Api/qwebframe.cpp:
1446 2007-10-02 Lars Knoll <lars@trolltech.com>
1450 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
1452 * Api/qwebnetworkinterface.cpp:
1453 (QWebNetworkManager::started):
1454 (QWebNetworkManager::data):
1455 (QWebNetworkManager::finished):
1456 (QWebNetworkInterfacePrivate::sendFileData):
1457 (QWebNetworkInterfacePrivate::parseDataUrl):
1458 (WebCoreHttp::scheduleNextRequest):
1459 (WebCoreHttp::onSslErrors):
1460 * QtLauncher/main.cpp:
1463 2007-10-01 Lars Knoll <lars@trolltech.com>
1467 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
1469 * WebCoreSupport/FrameLoaderClientQt.cpp:
1470 (WebCore::FrameLoaderClientQt::makeDocumentView):
1471 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1472 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1473 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1474 (WebCore::FrameLoaderClientQt::objectContentType):
1475 (WebCore::FrameLoaderClientQt::createPlugin):
1477 2007-09-30 George Staikos <staikos@kde.org>
1479 Qt build fix (OS X specific).
1481 * QtLauncher/QtLauncher.pro:
1483 2007-09-26 Mark Rowe <mrowe@apple.com>
1487 * WebCoreSupport/FrameLoaderClientQt.cpp:
1488 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
1490 2007-09-25 David Kilzer <ddkilzer@webkit.org>
1494 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
1495 LGPL'ed files contain incorrect FSF address
1497 * Api/qcookiejar.cpp:
1499 * Api/qwebframe.cpp:
1501 * Api/qwebframe_p.h:
1502 * Api/qwebhistoryinterface.cpp:
1503 * Api/qwebhistoryinterface.h:
1504 * Api/qwebkitglobal.h:
1505 * Api/qwebnetworkinterface.cpp:
1506 * Api/qwebnetworkinterface.h:
1507 * Api/qwebnetworkinterface_p.h:
1508 * Api/qwebobjectplugin.cpp:
1509 * Api/qwebobjectplugin.h:
1510 * Api/qwebobjectpluginconnector.cpp:
1511 * Api/qwebobjectpluginconnector.h:
1515 * Api/qwebpagehistory.cpp:
1516 * Api/qwebpagehistory.h:
1517 * Api/qwebsettings.cpp:
1518 * Api/qwebsettings.h:
1519 * WebCoreSupport/EditCommandQt.cpp:
1520 * WebCoreSupport/EditCommandQt.h:
1522 2007-09-25 Adam Treat <treat@kde.org>
1524 Reviewed by Simon and Lars.
1526 Modifies the addToJSWindowObject to bind js objects using the built-in
1527 kjs_window class. Make sure to protect the created runtime object from
1530 Adds a signal to QWebFrame to notify clients of the beginning of a
1531 provisional load. DRT needs this.
1533 * Api/qwebframe.cpp:
1534 (QWebFrame::addToJSWindowObject):
1536 * WebCoreSupport/FrameLoaderClientQt.cpp:
1537 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1539 2007-09-10 Qing Zhao <qing@staikos.net>
1541 Reviewed by George Staikos.
1543 Don't re-encode urls, resulting in double encoding. Fixes login to
1546 * Api/qwebnetworkinterface.cpp:
1547 (QWebNetworkRequestPrivate::init):
1548 (QWebNetworkManager::started):
1550 2007-09-08 Mark Rowe <mrowe@apple.com>
1552 Qt build fix. Move stub method implementations to the right class.
1554 * WebCoreSupport/FrameLoaderClientQt.cpp:
1555 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1557 2007-09-08 Brady Eidson <beidson@apple.com>
1559 YABF (Yet Another Build Fix)
1561 * Api/qwebsettings.cpp:
1562 (QWebSettings::iconDatabaseEnabled):
1564 2007-09-08 Brady Eidson <beidson@apple.com>
1568 * WebCoreSupport/FrameLoaderClientQt.cpp:
1569 (WebCore::FrameLoaderClient::registerForIconNotification):
1570 * WebCoreSupport/FrameLoaderClientQt.h:
1572 2007-09-08 Brady Eidson <beidson@apple.com>
1576 * WebCoreSupport/FrameLoaderClientQt.cpp:
1577 (WebCore::FrameLoaderClient::registerForIconNotification):
1578 * WebCoreSupport/FrameLoaderClientQt.h:
1580 2007-09-05 Geoffrey Garen <ggaren@apple.com>
1582 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
1584 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
1585 memory cache, or a very tiny one
1587 Keep the Qt build working with an empty stub.
1589 * WebCoreSupport/FrameLoaderClientQt.cpp:
1590 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
1591 * WebCoreSupport/FrameLoaderClientQt.h:
1593 2007-09-07 George Staikos <staikos@kde.org>
1598 (QWebPage::onLoadProgressChanged):
1600 2007-09-07 Qing Zhao <qing@staikos.net>
1602 Reviewed by Anders and George.
1604 Export page size and load progress in bytes.
1607 (QWebPage::QWebPage):
1608 (QWebPage::onLoadProgressChanged):
1609 (QWebPage::totalBytes):
1610 (QWebPage::bytesReceived):
1614 2007-09-06 George Staikos <staikos@kde.org>
1618 Make popup windows work again.
1620 * WebCoreSupport/FrameLoaderClientQt.cpp:
1621 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1623 2007-09-01 Oliver Hunt <oliver@apple.com>
1627 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
1629 EditorClient::setInputMethodState stub
1631 * WebCoreSupport/EditorClientQt.cpp:
1632 (WebCore::EditorClientQt::setInputMethodState):
1633 * WebCoreSupport/EditorClientQt.h:
1635 2007-08-30 Simon Hausmann <hausmann@kde.org>
1639 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
1642 (QWebPage::keyPressEvent):
1644 2007-08-30 Simon Hausmann <hausmann@kde.org>
1648 When scrolling with the keyboard don't call update() on the entire widget.
1649 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
1653 (QWebPage::keyPressEvent):
1655 2007-08-30 Simon Hausmann <hausmann@kde.org>
1659 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
1662 (QWebPage::keyPressEvent):
1664 2007-08-29 Simon Hausmann <hausmann@kde.org>
1670 * WebCoreSupport/FrameLoaderClientQt.cpp:
1671 (WebCore::FrameLoaderClientQt::objectContentType):
1673 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
1675 Reviewed by George Staikos.
1677 Don't export ICO symbols.
1679 * Plugins/Plugins.pro:
1681 2007-08-19 George Staikos <staikos@kde.org>
1685 * WebCoreSupport/FrameLoaderClientQt.cpp:
1686 (WebCore::FrameLoaderClientQt::createPlugin):
1687 * WebCoreSupport/FrameLoaderClientQt.h:
1689 2007-08-10 Lars Knoll <lars@trolltech.com>
1691 Reviewed and landed by Simon.
1693 Limit the set of properties from the computed style to apply to Qt
1694 plugin widgets, as only a few of them make sense.
1696 * WebCoreSupport/FrameLoaderClientQt.cpp:
1699 2007-08-10 Lars Knoll <lars@trolltech.com>
1703 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
1706 (QWebPage::createPlugin):
1708 * WebCoreSupport/FrameLoaderClientQt.cpp:
1709 (WebCore::FrameLoaderClientQt::objectContentType):
1710 (WebCore::FrameLoaderClientQt::createPlugin):
1712 2007-08-10 Simon Hausmann <hausmann@kde.org>
1716 Added support for network jobs from Qt resources using the qrc protocol.
1718 * Api/qwebnetworkinterface.cpp:
1719 (QWebNetworkInterface::addJob):
1721 2007-08-10 Simon Hausmann <hausmann@kde.org>
1725 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
1726 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
1728 * WebCoreSupport/FrameLoaderClientQt.cpp:
1729 (WebCore::FrameLoaderClientQt::objectContentType):
1731 (WebCore::FrameLoaderClientQt::createPlugin):
1733 2007-08-10 Simon Hausmann <hausmann@kde.org>
1737 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
1738 and fixed widget embedding by setting the right QWidget parent.
1741 (QWebPage::createPlugin):
1743 * WebCoreSupport/FrameLoaderClientQt.cpp:
1744 (WebCore::FrameLoaderClientQt::objectContentType):
1745 (WebCore::FrameLoaderClientQt::createPlugin):
1747 2007-08-02 George Staikos <staikos@kde.org>
1751 Add an interface for the useragent string.
1754 (QWebPage::userAgentStringForUrl):
1756 * WebCoreSupport/FrameLoaderClientQt.cpp:
1757 (WebCore::FrameLoaderClientQt::userAgent):
1759 2007-08-01 Adam Treat <treat@kde.org>
1761 Reviewed by George Staikos.
1763 Add an interface to manage global history for clients
1766 * Api/qwebhistoryinterface.cpp: Added.
1767 (WebCore::historyContains):
1768 (gCleanupInterface):
1769 (QWebHistoryInterface::setDefaultInterface):
1770 (QWebHistoryInterface::defaultInterface):
1771 (QWebHistoryInterface::QWebHistoryInterface):
1772 * Api/qwebhistoryinterface.h: Added.
1774 2007-07-30 Adam Treat <treat@kde.org>
1778 * WebCoreSupport/EditorClientQt.cpp:
1779 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
1780 * WebCoreSupport/EditorClientQt.h:
1782 2007-07-30 Simon Hausmann <hausmann@kde.org>
1786 Link QtLauncher into $$OUTPUT_DIR/bin
1788 * QtLauncher/QtLauncher.pro:
1790 2007-07-29 Adam Treat <treat@kde.org>
1792 Reviewed by George Staikos.
1794 Change QWebPage::paintEvent to draw using the individual rects provided
1795 via the QRegion and set the widget to use opaque paint events.
1797 These changes greatly reduce the cpu load as we are no longer painting the
1798 entire page for each 1px scroll :P
1800 * Api/qwebframe.cpp:
1801 (QWebFrame::render):
1803 (QWebPage::QWebPage):
1804 (QWebPage::paintEvent):
1805 * WebCoreSupport/ChromeClientQt.cpp:
1806 (WebCore::ChromeClientQt::addToDirtyRegion):
1808 2007-07-29 Adam Treat <treat@kde.org>
1810 Reviewed by Alexey Proskuryakov.
1812 Respect the margins when creating frames.
1813 Set the scroll mode to always off like we did before the rendered
1814 frames patch and the other ports do now.
1816 * Api/qwebframe.cpp:
1817 (QWebFramePrivate::init):
1819 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
1823 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
1825 * QtLauncher/QtLauncher.pro:
1827 2007-07-27 Simon Hausmann <hausmann@kde.org>
1831 Fix compilation with MSVC.
1833 * Api/qwebpagehistory.cpp:
1834 (QWebPageHistory::operator=):
1835 * Api/qwebpagehistory.h:
1836 * Api/qwebsettings.cpp:
1837 (QWebSettings::operator=):
1838 * Api/qwebsettings.h:
1840 2007-07-26 Qing Zhao <qing@staikos.net>
1842 Reviewed by George Staikos.
1844 Add a signal for history notification.
1847 * WebCoreSupport/FrameLoaderClientQt.cpp:
1849 2007-07-24 Adam Treat <treat@kde.org>
1851 Reviewed by Niko and Lars.
1853 These are no longer necessary or used.
1855 * WebCoreSupport/FrameLoaderClientQt.cpp:
1856 * WebCoreSupport/FrameLoaderClientQt.h:
1858 2007-07-20 Adam Treat <adam@staikos.net>
1860 Reviewed by George Staikos.
1862 Add a signal for first layout and add the action type for the policy
1866 (QWebPagePrivate::navigationRequested):
1867 (QWebPage::navigationRequested):
1870 * WebCoreSupport/FrameLoaderClientQt.cpp:
1871 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1872 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1874 2007-07-19 Adam Treat <treat@kde.org>
1878 Do a recursive layout on the frame's children. This fixes a
1879 segfault found when rendering some framesets.
1881 * Api/qwebframe.cpp:
1882 (QWebFrame::render):
1883 (QWebFrame::layout):
1886 2007-07-18 Timothy Hatcher <timothy@apple.com>
1890 Make the Page with the now required InspectorClient.
1893 (QWebPagePrivate::QWebPagePrivate):
1894 * WebKitPart/WebKitPart.cpp:
1895 (WebKitPart::initView):
1897 2007-07-18 Sam Weinig <sam@webkit.org>
1901 * Api/qwebnetworkinterface.cpp:
1902 (QWebNetworkManager::started):
1903 * WebCoreSupport/FrameLoaderClientQt.cpp:
1904 (WebCore::FrameLoaderClientQt::canShowMIMEType):
1905 (WebCore::FrameLoaderClientQt::objectContentType):
1907 2007-07-18 Lars Knoll <lars@trolltech.com>
1909 Reviewed by Zack & Simon
1911 Reallow setting of scrollbar policies on QWebFrame.
1913 * Api/qwebframe.cpp:
1914 (QWebFrame::verticalScrollBarPolicy):
1915 (QWebFrame::setVerticalScrollBarPolicy):
1916 (QWebFrame::horizontalScrollBarPolicy):
1919 2007-07-17 Adam Treat <treat@kde.org>
1923 * WebCoreSupport/FrameLoaderClientQt.cpp:
1924 (WebCore::FrameLoaderClientQt::createFrame):
1926 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
1928 Blind build fix for Qt after r24366 by adding the additional
1929 WebCore::ResourceRequest& parameter to the download method.
1931 * WebCoreSupport/FrameLoaderClientQt.cpp:
1932 (WebCore::FrameLoaderClientQt::download):
1933 * WebCoreSupport/FrameLoaderClientQt.h:
1935 2007-07-17 Adam Roben <aroben@apple.com>
1937 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
1941 * WebCoreSupport/ContextMenuClientQt.cpp:
1942 * WebCoreSupport/ContextMenuClientQt.h:
1944 2007-07-16 Adam Roben <aroben@apple.com>
1946 Updated ChromeClientQt for ChromeClient changes.
1950 * WebCoreSupport/ChromeClientQt.cpp:
1951 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
1952 * WebCoreSupport/ChromeClientQt.h: Ditto.
1954 2007-07-13 Mark Rowe <mrowe@apple.com>
1958 Build fix. Stub out ChromeClientQt::print.
1960 * WebCoreSupport/ChromeClientQt.cpp:
1961 (WebCore::ChromeClientQt::print):
1962 * WebCoreSupport/ChromeClientQt.h:
1964 2007-07-12 George Staikos <staikos@kde.org>
1966 Qt build fix for assertions.
1968 * Api/qwebnetworkinterface.cpp:
1969 (QWebNetworkManager::add):
1971 2007-07-12 George Staikos <staikos@kde.org>
1975 * Api/qwebnetworkinterface.cpp:
1976 (QWebNetworkManager::add):
1978 2007-07-10 Mark Rowe <mrowe@apple.com>
1980 Qt build fix after r24126.
1982 * Api/qwebframe.cpp:
1983 (QWebFrame::evaluateJavaScript):
1985 2007-07-10 Eli Fidler <eli@staikos.net>
1987 Reviewed by George Staikos.
1989 Properly url-decode data urls.
1991 * Api/qwebnetworkinterface.cpp:
1992 (QWebNetworkInterfacePrivate::parseDataUrl):
1994 2007-07-09 Adam Treat <adam@staikos.net>
1996 Reviewed by George Staikos.
1998 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
2001 * Api/qwebframe.cpp:
2002 (QWebFramePrivate::init):
2003 (QWebFramePrivate::parentFrame):
2004 (QWebFrame::QWebFrame):
2005 (QWebFrame::render):
2007 (QWebFrame::geometry):
2008 (QWebFrame::evaluateJavaScript):
2009 (QWebFrame::mouseMoveEvent):
2010 (QWebFrame::mousePressEvent):
2011 (QWebFrame::mouseDoubleClickEvent):
2012 (QWebFrame::mouseReleaseEvent):
2013 (QWebFrame::wheelEvent):
2015 * Api/qwebobjectpluginconnector.cpp:
2016 (QWebObjectPluginConnector::pluginParentWidget):
2018 (QWebPagePrivate::QWebPagePrivate):
2019 (QWebPagePrivate::createMainFrame):
2020 (QWebPage::QWebPage):
2021 (QWebPage::javaScriptAlert):
2022 (QWebPage::javaScriptConfirm):
2023 (QWebPage::javaScriptPrompt):
2024 (QWebPage::resizeEvent):
2025 (QWebPage::paintEvent):
2026 (QWebPage::mouseMoveEvent):
2027 (QWebPage::mousePressEvent):
2028 (QWebPage::mouseDoubleClickEvent):
2029 (QWebPage::mouseReleaseEvent):
2030 (QWebPage::wheelEvent):
2031 (QWebPage::keyPressEvent):
2032 (QWebPage::keyReleaseEvent):
2033 (QWebPage::focusInEvent):
2034 (QWebPage::focusOutEvent):
2035 (QWebPage::focusNextPrevChild):
2036 (QWebPage::chooseFile):
2039 * WebCoreSupport/ChromeClientQt.cpp:
2040 (WebCore::ChromeClientQt::addToDirtyRegion):
2042 2007-07-09 George Staikos <staikos@kde.org>
2044 Fix a minor memory leak in the loader.
2046 * Api/qwebnetworkinterface.cpp:
2047 (gCleanupInterface):
2048 (QWebNetworkInterface::setDefaultInterface):
2049 (QWebNetworkInterface::defaultInterface):
2051 2007-07-09 George Staikos <staikos@kde.org>
2053 Fix a massive memory leak in the loader.
2055 * Api/qwebnetworkinterface.cpp:
2056 (QWebNetworkManager::httpConnectionClosed):
2057 (WebCoreHttp::~WebCoreHttp):
2059 2007-07-09 George Staikos <staikos@kde.org>
2063 Rework much of the HTTP stuff to make it more stable, and add SSL and
2064 proxy support. Major memory leak also discovered but it needs more
2065 research as the obvious fix causes crashes.
2067 * Api/qwebnetworkinterface.cpp:
2068 (QWebNetworkManager::add):
2069 (QWebNetworkManager::started):
2070 (QWebNetworkManager::data):
2071 (WebCoreHttp::WebCoreHttp):
2072 (WebCoreHttp::~WebCoreHttp):
2073 (WebCoreHttp::request):
2074 (WebCoreHttp::scheduleNextRequest):
2075 (WebCoreHttp::getConnection):
2076 (WebCoreHttp::onResponseHeaderReceived):
2077 (WebCoreHttp::onReadyRead):
2078 (WebCoreHttp::onRequestFinished):
2079 (WebCoreHttp::onDone):
2080 (WebCoreHttp::onStateChanged):
2081 (WebCoreHttp::onSslErrors):
2082 (WebCoreHttp::onAuthenticationRequired):
2083 (WebCoreHttp::onProxyAuthenticationRequired):
2084 * Api/qwebnetworkinterface.h:
2085 * Api/qwebnetworkinterface_p.h:
2086 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
2088 2007-07-06 Adam Treat <adam@staikos.net>
2090 Reviewed by George Staikos.
2092 Convert QWebFrame to a QFrame from a scroll area.
2094 * Api/qwebframe.cpp:
2095 (QWebFramePrivate::init):
2096 (QWebFramePrivate::parentFrame):
2097 (QWebFramePrivate::horizontalScrollBar):
2098 (QWebFramePrivate::verticalScrollBar):
2099 (QWebFrame::QWebFrame):
2100 (QWebFrame::resizeEvent):
2101 (QWebFrame::suppressScrollbars):
2102 (QWebFrame::paintEvent):
2103 (QWebFrame::mouseMoveEvent):
2104 (QWebFrame::mousePressEvent):
2105 (QWebFrame::mouseDoubleClickEvent):
2106 (QWebFrame::mouseReleaseEvent):
2107 (QWebFrame::wheelEvent):
2108 (QWebFrame::keyPressEvent):
2109 (QWebFrame::focusInEvent):
2110 (QWebFrame::focusOutEvent):
2111 (QWebFrame::evaluateJavaScript):
2113 * Api/qwebframe_p.h:
2114 * Api/qwebobjectpluginconnector.cpp:
2115 (QWebObjectPluginConnector::pluginParentWidget):
2117 2007-07-04 Adam Roben <aroben@apple.com>
2119 Added a stub for ChromeClientQt::setToolTip
2123 * WebCoreSupport/ChromeClientQt.cpp:
2124 (WebCore::ChromeClientQt::setToolTip):
2125 * WebCoreSupport/ChromeClientQt.h:
2127 2007-07-04 Adam Roben <aroben@apple.com>
2129 Added a stub for ChromeClientQt::mouseDidMoveOverElement
2133 * WebCoreSupport/ChromeClientQt.cpp:
2134 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2135 * WebCoreSupport/ChromeClientQt.h:
2137 2007-06-28 Simon Hausmann <hausmann@kde.org>
2141 Propagate mouse double click events from Qt to WebCore.
2143 * Api/qwebframe.cpp:
2144 (QWebFrame::mouseDoubleClickEvent):
2147 2007-06-28 Simon Hausmann <hausmann@kde.org>
2151 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
2155 (QWebPage::canCopy):
2156 (QWebPage::canPaste):
2161 * WebCoreSupport/EditorClientQt.cpp:
2163 2007-06-27 George Staikos <staikos@kde.org>
2165 Compile with various Qt configurations.
2167 * Api/qwebnetworkinterface.cpp:
2168 (WebCoreHttp::scheduleNextRequest):
2170 (QWebPage::javaScriptPrompt):
2171 (QWebPage::dragEnterEvent):
2172 (QWebPage::dragLeaveEvent):
2173 (QWebPage::dragMoveEvent):
2174 (QWebPage::dropEvent):
2175 (QWebPage::chooseFile):
2178 * WebCoreSupport/DragClientQt.cpp:
2179 (WebCore::DragClientQt::startDrag):
2181 2007-06-27 Eli Fidler <eli@staikos.net>
2183 Reviewed by George Staikos.
2185 Check for QT_NO_IMAGE_TEXT and compile either way.
2187 * Plugins/ICOHandler.cpp:
2190 2007-06-27 Eli Fidler <eli@staikos.net>
2192 Reviewed by George Staikos.
2194 Remove QT3_SUPPORT dependency in the ICO plugin.
2196 * Plugins/ICOHandler.cpp:
2197 (IcoHeader::loadFromDIB):
2199 2007-06-25 George Staikos <staikos@kde.org>
2203 Start to add proxy and SSL support to WebKit Qt. Proxy works
2204 unauthenticated. Added hooks to be able to add authentication.
2205 Also fixes some network errors.
2207 * Api/qwebnetworkinterface.cpp:
2208 (QWebNetworkRequestPrivate::setURL):
2209 (QWebNetworkJob::frame):
2210 (WebCoreHttp::WebCoreHttp):
2211 (WebCoreHttp::scheduleNextRequest):
2212 (WebCoreHttp::onRequestFinished):
2213 (WebCoreHttp::onDone):
2214 (WebCoreHttp::onSslErrors):
2215 (WebCoreHttp::onAuthenticationRequired):
2216 (WebCoreHttp::onProxyAuthenticationRequired):
2217 * Api/qwebnetworkinterface.h:
2218 * Api/qwebnetworkinterface_p.h:
2220 (QWebPage::setNetworkProxy):
2221 (QWebPage::networkProxy):
2225 2007-06-21 Adam Treat <adam@staikos.net>
2227 Reviewed by George Staikos.
2229 Implement the default resources on Qt.
2233 * Api/qwebsettings.cpp:
2234 (QWebSettings::setWebGraphic):
2235 (QWebSettings::webGraphic):
2236 (loadResourcePixmap):
2237 * Api/qwebsettings.h:
2239 2007-06-15 Adam Treat <adam@staikos.net>
2241 Reviewed by George Staikos.
2243 Add ICO support to the Qt build.
2248 * Api/qwebsettings.cpp:
2249 (QWebSettings::setIconDatabaseEnabled):
2250 (QWebSettings::iconDatabaseEnabled):
2251 * Api/qwebsettings.h:
2253 * Plugins/ICOHandler.cpp: Added.
2254 (IcoHeader::operator >>):
2255 (IcoHeader::BMP_INFOHDR::):
2256 (IcoHeader::operator<<):
2257 (IcoHeader::LessDifference::LessDifference):
2258 (IcoHeader::LessDifference::operator ()):
2259 (IcoHeader::loadFromDIB):
2260 (ICOHandler::ICOHandler):
2261 (ICOHandler::canRead):
2263 (ICOHandler::write):
2266 (ICOPlugin::capabilities):
2267 (ICOPlugin::create):
2268 * Plugins/ICOHandler.h: Added.
2269 * Plugins/Plugins.pro: Added.
2270 * WebCoreSupport/FrameLoaderClientQt.cpp:
2271 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2273 2007-06-15 George Staikos <staikos@kde.org>
2275 Fixing the Qt build.
2277 * WebCoreSupport/ContextMenuClientQt.cpp:
2278 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
2279 * WebCoreSupport/ContextMenuClientQt.h:
2281 2007-06-20 Adam Roben <aroben@apple.com>
2283 More speculative Qt build fixes.
2285 Add a stub implementation of InspectorClientQt.
2287 * WebCoreSupport/InspectorClientQt.cpp: Added.
2288 (WebCore::InspectorClientQt::inspectorDestroyed):
2289 (WebCore::InspectorClientQt::createPage):
2290 (WebCore::InspectorClientQt::showWindow):
2291 (WebCore::InspectorClientQt::closeWindow):
2292 (WebCore::InspectorClientQt::attachWindow):
2293 (WebCore::InspectorClientQt::detachWindow):
2294 (WebCore::InspectorClientQt::highlight):
2295 (WebCore::InspectorClientQt::hideHighlight):
2296 * WebCoreSupport/InspectorClientQt.h: Added.
2298 2007-06-19 George Staikos <staikos@kde.org>
2300 Reviewed by Tim Hatcher.
2304 * Api/qwebnetworkinterface.cpp:
2305 (QWebNetworkInterface::addJob):
2306 (QWebNetworkInterface::cancelJob):
2307 (WebCoreHttp::WebCoreHttp):
2309 2007-06-14 George Staikos <staikos@kde.org>
2313 Add evaluateJavaScript() method.
2315 * Api/qwebframe.cpp:
2316 (QWebFrame::evaluateJavaScript):
2319 2007-06-14 George Staikos <staikos@kde.org>
2323 Implement most of the editing commands, better focus handling, fix some
2324 keyboard and mouse handling, and add keyboard navigation. May be
2325 refactored later as the key switches are ugly.
2327 * Api/qwebframe.cpp:
2328 (QWebFramePrivate::init):
2329 (QWebFrame::mousePressEvent):
2330 (QWebFrame::mouseReleaseEvent):
2331 (QWebFrame::wheelEvent):
2332 (QWebFrame::keyPressEvent):
2333 (QWebFrame::keyReleaseEvent):
2334 (QWebFrame::focusInEvent):
2335 (QWebFrame::focusOutEvent):
2336 (QWebFrame::focusNextPrevChild):
2338 * Api/qwebframe_p.h:
2339 * WebCoreSupport/EditorClientQt.cpp:
2340 (WebCore::EditorClientQt::handleKeypress):
2342 2007-06-14 George Staikos <staikos@kde.org>
2346 Implement all of the Javascript dialogs and file chooser.
2347 Also makes the statusbar virtual into a signal and shuffles some
2348 virtuals around a bit. The helper in FrameLoaderClientQt may go away
2352 (QWebPagePrivate::QWebPagePrivate):
2353 (QWebPage::javaScriptAlert):
2354 (QWebPage::javaScriptConfirm):
2355 (QWebPage::javaScriptPrompt):
2356 (QWebPage::chooseFile):
2358 * WebCoreSupport/ChromeClientQt.cpp:
2359 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2360 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2361 (WebCore::ChromeClientQt::runJavaScriptAlert):
2362 (WebCore::ChromeClientQt::runJavaScriptConfirm):
2363 (WebCore::ChromeClientQt::runJavaScriptPrompt):
2364 (WebCore::ChromeClientQt::setStatusbarText):
2365 * WebCoreSupport/FrameLoaderClientQt.cpp:
2366 (WebCore::FrameLoaderClientQt::chooseFile):
2367 * WebCoreSupport/FrameLoaderClientQt.h:
2369 2007-06-14 Simon Hausmann <hausmann@kde.org>
2373 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
2375 HistoryItem itself doesn't seem to have a parent pointer either.
2377 * Api/qwebpagehistory.h:
2379 2007-06-14 Simon Hausmann <hausmann@kde.org>
2383 Make it possible to copy QWebHistoryItem objects.
2385 * Api/qwebpagehistory.cpp:
2386 * Api/qwebpagehistory.h:
2388 2007-06-14 Lars Knoll <lars@trolltech.com>
2392 Fix a crash when a request from the plugin resulted
2395 * Api/qwebnetworkinterface.cpp:
2396 (QWebNetworkManager::started):
2398 2007-06-14 Lars Knoll <lars@trolltech.com>
2402 Work around a bug in Qt's QHttp implementation and
2403 get web pages to load again.
2408 2007-06-13 Simon Hausmann <hausmann@kde.org>
2412 Added a make install target that installs the Qt port and renamed
2413 WebKitQt to QtWebKit
2415 * Api/headers.pri: Added.
2416 * Api/qtwebkit.prf: Added.
2418 2007-06-13 Simon Hausmann <hausmann@kde.org>
2422 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
2424 * Api/qwebnetworkinterface.cpp:
2425 * Api/qwebnetworkinterface.h:
2427 2007-06-13 Simon Hausmann <hausmann@kde.org>
2431 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
2433 * Api/qwebnetworkinterface.h:
2434 * Api/qwebobjectpluginconnector.cpp:
2435 (QWebObjectPluginConnector::requestUrl):
2436 * Api/qwebobjectpluginconnector.h:
2438 2007-06-13 Simon Hausmann <hausmann@kde.org>
2442 Added a QWebNetworkRequest convenience constructor.
2444 * Api/qwebnetworkinterface.cpp:
2445 * Api/qwebnetworkinterface.h:
2449 2007-06-13 Simon Hausmann <hausmann@kde.org>
2453 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
2454 overload to take a QWebNetworkRequest instead.
2460 2007-06-13 Simon Hausmann <hausmann@kde.org>
2464 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
2465 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
2466 pick the individual fields if we can use them.
2471 2007-06-13 Simon Hausmann <hausmann@kde.org>
2475 Minor QWebNetworkRequet API fixlet
2477 * Api/qwebnetworkinterface.cpp:
2478 * Api/qwebnetworkinterface.h:
2480 2007-06-13 Simon Hausmann <hausmann@kde.org>
2484 Use QWebNetworkRequest for QWebPage::navigationRequested.
2486 * Api/qwebnetworkinterface.cpp:
2487 * Api/qwebnetworkinterface.h:
2489 (QWebPagePrivate::navigationRequested):
2490 (QWebPage::navigationRequested):
2493 * WebCoreSupport/FrameLoaderClientQt.cpp:
2494 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2496 2007-06-13 Simon Hausmann <hausmann@kde.org>
2500 Some docs for QWebNetworkRequest
2502 * Api/qwebnetworkinterface.cpp:
2503 (QWebNetworkRequest::QWebNetworkRequest):
2504 (QWebNetworkRequest::~QWebNetworkRequest):
2506 2007-06-13 Simon Hausmann <hausmann@kde.org>
2510 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
2512 * Api/qwebnetworkinterface.h:
2513 * Api/qwebobjectpluginconnector.cpp:
2514 (QWebObjectPluginConnector::requestUrl):
2515 * Api/qwebobjectpluginconnector.h:
2517 2007-06-13 Simon Hausmann <hausmann@kde.org>
2521 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
2523 * Api/qwebnetworkinterface.cpp:
2524 (QWebNetworkJob::postData):
2525 (WebCoreHttp::WebCoreHttp):
2526 (WebCoreHttp::scheduleNextRequest):
2527 * Api/qwebnetworkinterface.h:
2529 2007-06-13 Simon Hausmann <hausmann@kde.org>
2533 Introduce QWebNetworkRequest in the public API.
2535 * Api/qwebnetworkinterface.cpp:
2536 (QWebNetworkRequestPrivate::init):
2537 * Api/qwebnetworkinterface.h:
2538 * Api/qwebnetworkinterface_p.h:
2539 * WebCoreSupport/FrameLoaderClientQt.cpp:
2540 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2542 2007-06-13 Simon Hausmann <hausmann@kde.org>
2546 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
2548 * Api/qwebnetworkinterface.cpp:
2549 (QWebNetworkManager::add):
2550 (QWebNetworkManager::started):
2551 (QWebNetworkManager::data):
2552 (QWebNetworkManager::finished):
2553 * Api/qwebnetworkinterface_p.h:
2554 * Api/qwebobjectpluginconnector.cpp:
2555 (QWebObjectPluginConnector::requestUrl):
2557 2007-06-13 Simon Hausmann <hausmann@kde.org>
2561 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
2563 * Api/qwebnetworkinterface.cpp:
2564 (QWebNetworkRequest::init):
2565 (QWebNetworkRequest::setURL):
2566 (QWebNetworkManager::add):
2567 (QWebNetworkManager::started):
2568 * Api/qwebnetworkinterface_p.h:
2569 * WebCoreSupport/FrameLoaderClientQt.cpp:
2570 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2572 2007-06-12 Lars Knoll <lars@trolltech.com>
2574 Reviewed by George Staikos.
2576 Remove duplicate symbols.
2578 * Api/qwebobjectplugin_p.h:
2580 2007-06-13 Lars Knoll <lars@trolltech.com>
2584 Fix compilation, and remove dependency on Qt
2587 * Api/qwebobjectplugin_p.h:
2588 (QWebFactoryLoader::supportsMimeType):
2590 2007-06-13 Lars Knoll <lars@trolltech.com>
2594 Parts of the patch done by Zack.
2595 Fix up some parts in the implementation of QWebNetworkInterface
2596 so it can be used by plugins.
2597 Change the plugin API so we can actually get all the information
2598 required by the JS bridge from them as well.
2600 * Api/qwebnetworkinterface.cpp:
2601 (QWebNetworkJob::cancelled):
2602 (QWebNetworkManager::cancel):
2603 (QWebNetworkManager::started):
2604 (QWebNetworkManager::finished):
2605 * Api/qwebobjectplugin.cpp:
2606 (QWebFactoryLoader::QWebFactoryLoader):
2607 (QWebFactoryLoader::descriptionForName):
2608 (QWebFactoryLoader::mimetypesForName):
2609 (QWebFactoryLoader::mimeTypeForExtension):
2610 (QWebFactoryLoader::extensions):
2611 (QWebFactoryLoader::nameForMimetype):
2612 (QWebFactoryLoader::create):
2613 (QWebObjectPlugin::descriptionForKey):
2614 (QWebObjectPlugin::mimetypesForKey):
2615 * Api/qwebobjectplugin.h:
2616 * Api/qwebobjectplugin_p.h:
2617 (QWebFactoryLoader::names):
2618 * Api/qwebobjectpluginconnector.cpp:
2619 (QWebObjectPluginConnector::requestUrl):
2621 (QWebPage::networkInterface):
2623 2007-06-11 Simon Hausmann <hausmann@kde.org>
2627 Added a QWebPage::open overload to allow specifying the http header and post data.
2628 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
2629 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
2634 2007-06-11 Simon Hausmann <hausmann@kde.org>
2638 Added the possibility to intercept url requests through QWebPage::navigationRequested.
2641 (QWebPagePrivate::QWebPagePrivate):
2642 (QWebPage::createFrame):
2645 * WebCoreSupport/FrameLoaderClientQt.cpp:
2647 2007-06-11 Simon Hausmann <hausmann@kde.org>
2651 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
2652 to be called from FrameLoaderClientQt in the near future.
2654 * Api/qwebnetworkinterface.cpp:
2655 (QWebNetworkManager::add):
2656 * Api/qwebnetworkinterface_p.h:
2658 2007-06-11 Simon Hausmann <hausmann@kde.org>
2662 Moved the postData setup into QWebNetworkRequest::init.
2664 * Api/qwebnetworkinterface.cpp:
2665 (QWebNetworkRequest::init):
2666 (QWebNetworkManager::add):
2668 2007-06-11 Simon Hausmann <hausmann@kde.org>
2672 Moved HTTP header field propagation to QWebNetworkRequest::init.
2674 * Api/qwebnetworkinterface.cpp:
2675 (QWebNetworkRequest::init):
2676 (QWebNetworkManager::add):
2678 2007-06-11 Simon Hausmann <hausmann@kde.org>
2682 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
2683 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
2685 * Api/qwebnetworkinterface.cpp:
2686 (QWebNetworkRequest::init):
2687 (QWebNetworkManager::add):
2688 * Api/qwebnetworkinterface_p.h:
2689 * Api/qwebobjectpluginconnector.cpp:
2690 (QWebObjectPluginConnector::requestUrl):
2692 2007-06-11 Zack Rusin <zrusin@trolltech.com>
2696 Forgot to export the plugin connector.
2698 * Api/qwebobjectpluginconnector.h
2700 2007-06-08 Lars Knoll <lars@trolltech.com>
2704 Add a QWebObjectPluginConnector class. The class will
2705 facility communication between the plugin and WebKit.
2706 Currently it's used to make the plugin network capable.
2708 * Api/qwebnetworkinterface.cpp:
2709 (QWebNetworkJobPrivate::setDefaults):
2710 (QWebNetworkManager::add):
2711 (QWebNetworkManager::started):
2712 (QWebNetworkManager::data):
2713 (QWebNetworkManager::finished):
2714 * Api/qwebnetworkinterface.h:
2715 * Api/qwebnetworkinterface_p.h:
2716 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
2717 * Api/qwebobjectplugin.cpp:
2718 (QWebFactoryLoader::create):
2719 * Api/qwebobjectplugin.h:
2720 * Api/qwebobjectplugin_p.h:
2721 * Api/qwebobjectpluginconnector.cpp: Added.
2722 (QWebObjectPluginConnector::QWebObjectPluginConnector):
2723 (QWebObjectPluginConnector::frame):
2724 (QWebObjectPluginConnector::pluginParentWidget):
2725 (QWebObjectPluginConnector::requestUrl):
2726 * Api/qwebobjectpluginconnector.h: Added.
2727 (QWebObjectPluginConnector::):
2728 * WebCoreSupport/FrameLoaderClientQt.cpp:
2729 (WebCore::FrameLoaderClientQt::createPlugin):
2731 2007-06-06 Lars Knoll <lars@trolltech.com>
2735 Add an API to create and load plugins.
2736 Don't include moc files by hand anymore, rather let
2739 * Api/qcookiejar.cpp:
2740 (QCookieJar::cookieJar):
2741 * Api/qwebframe.cpp:
2742 (QWebFrame::scrollContentsBy):
2743 * Api/qwebnetworkinterface.cpp:
2744 * Api/qwebobjectplugin.cpp: Added.
2745 (QWebFactoryLoader::QWebFactoryLoader):
2746 (QWebFactoryLoader::self):
2747 (QWebFactoryLoader::mimeTypeForExtension):
2748 (QWebFactoryLoader::create):
2749 (QWebObjectPlugin::QWebObjectPlugin):
2750 (QWebObjectPlugin::~QWebObjectPlugin):
2751 (QWebObjectPlugin::extensionsForMimetype):
2752 * Api/qwebobjectplugin.h: Added.
2753 * Api/qwebobjectplugin_p.h: Added.
2754 (QWebFactoryLoader::mimeTypes):
2755 (QWebFactoryLoader::extensions):
2756 (QWebFactoryLoader::supportsMimeType):
2758 (QWebPage::settings):
2759 * WebCoreSupport/FrameLoaderClientQt.cpp:
2760 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2761 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2762 (WebCore::FrameLoaderClientQt::objectContentType):
2763 (WebCore::FrameLoaderClientQt::createPlugin):
2765 2007-05-28 Zack Rusin <zrusin@trolltech.com>
2767 Reviewed by andersca and simon
2769 Adding public settings Api to the Qt port.
2770 QWebSetting's is a value based settings
2771 object settable on the QWebPage.
2774 (QWebPagePrivate::QWebPagePrivate):
2775 (QWebPage::QWebPage):
2776 (QWebPage::setSettings):
2777 (QWebPage::settings):
2779 * Api/qwebsettings.cpp: Added.
2780 (QWebSettingsPrivate::QWebSettingsPrivate):
2781 (QWebSettings::QWebSettings):
2782 (QWebSettings::~QWebSettings):
2783 (QWebSettings::setMinimumFontSize):
2784 (QWebSettings::minimumFontSize):
2785 (QWebSettings::setMinimumLogicalFontSize):
2786 (QWebSettings::minimumLogicalFontSize):
2787 (QWebSettings::setDefaultFontSize):
2788 (QWebSettings::defaultFontSize):
2789 (QWebSettings::setDefaultFixedFontSize):
2790 (QWebSettings::defaultFixedFontSize):
2791 (QWebSettings::setUserStyleSheetLocation):
2792 (QWebSettings::userStyleSheetLocation):
2793 (QWebSettings::setGlobal):
2794 (QWebSettings::global):
2795 (QWebSettings::setFontFamily):
2796 (QWebSettings::fontFamily):
2797 (QWebSettings::setAttribute):
2798 (QWebSettings::testAttribute):
2799 * Api/qwebsettings.h: Added.
2800 * QtLauncher/main.cpp:
2802 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
2804 Reviewed by Sam Weinig.
2806 Consolidate all notImplemented() macro definitions into
2807 one header file for all platforms.
2809 * WebCoreSupport/ChromeClientQt.cpp:
2810 * WebCoreSupport/ContextMenuClientQt.cpp:
2811 * WebCoreSupport/EditorClientQt.cpp:
2812 * WebCoreSupport/FrameLoaderClientQt.cpp:
2814 2007-05-25 George Staikos <staikos@kde.org>
2818 The http loader should only ask for .... http cookies!
2820 * Api/qwebnetworkinterface.cpp:
2821 (QWebNetworkManager::add):
2823 2007-05-24 Simon Hausmann <hausmann@kde.org>
2827 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
2828 correctly. Fortunately WebCore does it already, so there's no need
2829 for us to do it since we already transfer all HTTP header fields :)
2831 * Api/qwebnetworkinterface.cpp:
2832 (QWebNetworkManager::add):
2834 2007-05-23 Simon Hausmann <hausmann@kde.org>
2836 Reviewed by Zack, idea from Lars.
2838 Share WebCoreHttp and therefore HTTP connections among multiple
2839 QWebNetworkInterface instances by moving the code into
2842 * Api/qwebnetworkinterface.cpp:
2843 (QWebNetworkManager::addHttpJob):
2844 (QWebNetworkManager::cancelHttpJob):
2845 (QWebNetworkManager::httpConnectionClosed):
2846 (QWebNetworkInterface::addJob):
2847 (QWebNetworkInterface::cancelJob):
2848 (WebCoreHttp::scheduleNextRequest):
2849 (WebCoreHttp::onResponseHeaderReceived):
2850 (WebCoreHttp::onReadyRead):
2851 (WebCoreHttp::onRequestFinished):
2852 (WebCoreHttp::cancel):
2853 * Api/qwebnetworkinterface.h:
2854 * Api/qwebnetworkinterface_p.h:
2856 2007-05-23 Simon Hausmann <hausmann@kde.org>
2858 Reviewed by Zack, discussed also with Lars.
2860 Make it possible to specify a per-QWebPage network interface (needed
2861 for the KDE KIO integration).
2863 Merged the file and the network loader into
2864 QWebNetworkInterface(Private), which simplifies the loading code.
2866 When receiving a redirection don't emit the data of the redirected job
2867 to the document. (otherwise the kind of "This page has moved" text
2868 appears right on top of the real page content)
2870 * Api/qwebnetworkinterface.cpp:
2873 (QWebNetworkJob::QWebNetworkJob):
2874 (QWebNetworkJob::networkInterface):
2875 (QWebNetworkManager::add):
2876 (QWebNetworkManager::cancel):
2877 (QWebNetworkManager::data):
2878 (QWebNetworkManager::finished):
2879 (QWebNetworkInterfacePrivate::sendFileData):
2880 (QWebNetworkInterfacePrivate::parseDataUrl):
2881 (QWebNetworkInterfacePrivate::addHttpJob):
2882 (QWebNetworkInterfacePrivate::httpConnectionClosed):
2883 (QWebNetworkInterface::setDefaultInterface):
2884 (QWebNetworkInterface::QWebNetworkInterface):
2885 (QWebNetworkInterface::addJob):
2886 (QWebNetworkInterface::cancelJob):
2887 (WebCoreHttp::scheduleNextRequest):
2888 (WebCoreHttp::onResponseHeaderReceived):
2889 (WebCoreHttp::onReadyRead):
2890 (WebCoreHttp::onRequestFinished):
2891 (WebCoreHttp::cancel):
2892 * Api/qwebnetworkinterface.h:
2893 * Api/qwebnetworkinterface_p.h:
2895 (QWebPagePrivate::QWebPagePrivate):
2896 (QWebPage::setNetworkInterface):
2900 2007-05-23 Lars Knoll <lars@trolltech.com>
2904 Don't do HTTP downloads in a second thread. Simplifies
2905 the code significantly and fixes crashes on some
2908 * Api/qwebnetworkinterface.cpp:
2909 (QWebNetworkManager::add):
2910 (QWebNetworkInterface::QWebNetworkInterface):
2911 (QWebNetworkInterface::addJob):
2912 (QWebNetworkInterface::cancelJob):
2913 (LoaderThread::LoaderThread):
2914 (LoaderThread::run):
2915 (WebCoreHttp::cancel):
2916 (NetworkLoader::NetworkLoader):
2917 (NetworkLoader::request):
2918 (NetworkLoader::cancel):
2919 * Api/qwebnetworkinterface_p.h:
2920 * WebCoreSupport/FrameLoaderClientQt.cpp:
2921 (WebCore::FrameLoaderClientQt::committedLoad):
2922 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
2924 2007-05-23 Lars Knoll <lars@trolltech.com>
2928 * Api/qwebnetworkinterface.cpp:
2929 (QWebNetworkJobPrivate::setURL):
2930 (QWebNetworkManager::started):
2931 Fix Host: line in HTTP headers and resolving of relative URLs
2933 * Api/qwebnetworkinterface_p.h:
2934 Clean up qHash forward declaration a bit.
2936 2007-05-23 Simon Hausmann <hausmann@kde.org>
2940 * QtLauncher/main.cpp:
2941 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
2943 2007-05-22 Simon Hausmann <hausmann@kde.org>
2947 * Api/qwebnetworkinterface.cpp:
2948 (QWebNetworkManager::add): Fix http headers for POST.
2950 2007-05-21 Lars Knoll <lars@trolltech.com>
2954 Remove the userHandle methods from QWebnetworkJob again.
2955 They don't really give us anything and just clutter the API.
2957 * Api/qwebnetworkinterface.cpp:
2958 * Api/qwebnetworkinterface.h:
2959 * Api/qwebnetworkinterface_p.h:
2961 2007-05-21 Simon Hausmann <hausmann@kde.org>
2965 * Api/qwebnetworkinterface.h: Export the net API.
2967 2007-05-21 Lars Knoll <lars@trolltech.com>
2971 Add an API layer for network downloads. Basically QWebnetworkInterface
2972 is an interface class for downloading resources. QWebnetworkJob describes
2973 the actual object to download.
2975 QWebNetworkInterface has a default implementation that replaces the
2976 old ResourceHandleManager class in the Qt port.
2978 * Api/qwebnetworkinterface.cpp: Added.
2979 (QWebNetworkJobPrivate::setURL):
2980 (QWebNetworkJob::QWebNetworkJob):
2981 (QWebNetworkJob::~QWebNetworkJob):
2982 (QWebNetworkJob::url):
2983 (QWebNetworkJob::postData):
2984 (QWebNetworkJob::request):
2985 (QWebNetworkJob::response):
2986 (QWebNetworkJob::setResponse):
2987 (QWebNetworkJob::cancelled):
2988 (QWebNetworkJob::ref):
2989 (QWebNetworkJob::deref):
2990 (QWebNetworkJob::setUserHandle):
2991 (QWebNetworkJob::userHandle):
2992 (QWebNetworkManager::QWebNetworkManager):
2993 (QWebNetworkManager::self):
2994 (QWebNetworkManager::add):
2995 (QWebNetworkManager::cancel):
2996 (QWebNetworkManager::started):
2997 (QWebNetworkManager::data):
2998 (QWebNetworkManager::finished):
2999 (QWebNetworkInterface::setDefaultInterface):
3000 (QWebNetworkInterface::defaultInterface):
3001 (QWebNetworkInterface::QWebNetworkInterface):
3002 (QWebNetworkInterface::~QWebNetworkInterface):
3003 (QWebNetworkInterface::addJob):
3004 (QWebNetworkInterface::cancelJob):
3005 (LoaderThread::LoaderThread):
3006 (LoaderThread::run):
3007 (FileLoader::FileLoader):
3008 (FileLoader::request):
3009 (FileLoader::sendData):
3010 (FileLoader::parseDataUrl):
3011 (WebCoreHttp::WebCoreHttp):
3012 (WebCoreHttp::~WebCoreHttp):
3013 (WebCoreHttp::request):
3014 (WebCoreHttp::scheduleNextRequest):
3015 (WebCoreHttp::getConnection):
3016 (WebCoreHttp::onResponseHeaderReceived):
3017 (WebCoreHttp::onReadyRead):
3018 (WebCoreHttp::onRequestFinished):
3019 (WebCoreHttp::onStateChanged):
3020 (WebCoreHttp::cancel):
3021 (HostInfo::HostInfo):
3024 (NetworkLoader::NetworkLoader):
3025 (NetworkLoader::~NetworkLoader):
3026 (NetworkLoader::request):
3027 (NetworkLoader::connectionClosed):
3028 (NetworkLoader::cancel):
3029 * Api/qwebnetworkinterface.h: Added.
3030 (QWebNetworkJob::setHandle):
3031 (QWebNetworkJob::handle):
3032 * Api/qwebnetworkinterface_p.h: Added.
3033 (WebCore::LoaderThread::):
3034 (WebCore::LoaderThread::waitForSetup):
3035 (WebCore::HostInfo::HostInfo):
3037 2007-05-18 Simon Hausmann <hausmann@kde.org>
3039 Reviewed by Nikolas.
3041 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
3042 percent integer instead of a double precision floating pointer number.
3043 * WebCoreSupport/FrameLoaderClientQt.cpp:
3044 (WebCore::FrameLoaderClientQt::setFrame):
3045 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3046 * WebCoreSupport/FrameLoaderClientQt.h:
3048 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
3050 Reviewed by Zack Rusin.
3052 The default constructed KeyboardEvent has
3053 no PlatformKeyboardEvent.
3055 * WebCoreSupport/EditorClientQt.cpp:
3056 (WebCore::EditorClientQt::handleKeypress):
3058 2007-05-17 Adam Treat <adam@staikos.net>
3060 Reviewed by George Staikos.
3062 - Implement frameLoadCompleted
3063 - Fix build (by George)
3065 * WebCoreSupport/FrameLoaderClientQt.cpp:
3066 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
3067 (WebCore::FrameLoaderClientQt::createFrame):
3069 2007-05-17 Adam Treat <adam@staikos.net>
3071 Reviewed by George Staikos.
3073 Implement canShowMIMEType
3075 * WebCoreSupport/FrameLoaderClientQt.cpp:
3076 (WebCore::FrameLoaderClientQt::canShowMIMEType):
3078 2007-05-16 Lars Knoll <lars@trolltech.com>
3082 pass the mouse events to the event handler, not the frameview.
3084 * Api/qwebframe.cpp:
3085 (QWebFrame::mouseMoveEvent):
3086 (QWebFrame::mouseReleaseEvent):
3088 2007-05-14 Lars Knoll <lars@trolltech.com>
3092 Updates after Maciej's frame change.
3096 Call stopForUserCancel() instead of stopAllLoaders()
3097 * WebCoreSupport/FrameLoaderClientQt.cpp:
3098 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
3099 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
3100 (WebCore::FrameLoaderClientQt::didFinishLoad):
3101 (WebCore::FrameLoaderClientQt::setMainDocumentError):
3102 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
3103 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
3104 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
3105 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
3106 Call QWebFrame::loadDone() from the places it's supposed to be
3109 2007-05-12 Maciej Stachowiak <mjs@apple.com>
3111 Reviewed by Rob Buis.
3113 - call Frame::init as needed - this prevents crashes but pages don't appear.
3115 * Api/qwebframe.cpp:
3116 (QWebFramePrivate::init):
3117 * WebKitPart/WebKitPart.cpp:
3118 (WebKitPart::initView):
3120 2007-05-08 Steve Falkenburg <sfalken@apple.com>
3124 Slight modification to last editor method fix.
3126 * WebCoreSupport/EditorClientQt.cpp:
3127 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3128 * WebCoreSupport/EditorClientQt.h:
3130 2007-05-03 Steve Falkenburg <sfalken@apple.com>
3134 Add missing user description parameter to spelling-related editor client method.
3136 * WebCoreSupport/EditorClientQt.cpp:
3137 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3138 * WebCoreSupport/EditorClientQt.h:
3140 2007-04-29 Oliver Hunt <oliver@apple.com>
3144 Tie QT drag events to the DragController logic
3145 to allow drag and drop events to be handled by
3148 * Api/qwebframe.cpp:
3151 (QWebPagePrivate::QWebPagePrivate):
3152 (QWebPage::QWebPage):
3153 (dropActionToDragOp):
3154 (dragOpToDropAction):
3155 (QWebPage::dragEnterEvent):
3156 (QWebPage::dragLeaveEvent):
3157 (QWebPage::dragMoveEvent):
3158 (QWebPage::dropEvent):
3160 * WebCoreSupport/DragClientQt.cpp:
3161 (WebCore::DragClientQt::startDrag):
3162 * WebCoreSupport/DragClientQt.h:
3163 (WebCore::DragClientQt::DragClientQt):
3165 2007-04-27 Holger Freyther <freyther@kde.org>
3169 Remove unmaintained CMake build system.
3171 * QtLauncher/CMakeLists.txt: Removed.
3172 * WebKitPart/CMakeLists.txt: Removed.
3174 2007-04-25 Steve Falkenburg <sfalken@apple.com>
3178 Fix spelling error in spelling method name.
3180 * WebCoreSupport/EditorClientQt.cpp:
3181 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
3182 * WebCoreSupport/EditorClientQt.h:
3184 2007-04-24 Steve Falkenburg <sfalken@apple.com>
3188 Spelling and grammar stubs
3190 * WebCoreSupport/EditorClientQt.cpp:
3191 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
3192 (WebCore::EditorClientQt::learnWord):
3193 (WebCore::EditorClientQt::checkSpellingOfString):
3194 (WebCore::EditorClientQt::checkGrammarOfString):
3195 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
3196 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
3197 (WebCore::EditorClientQt::showSpellingUI):
3198 (WebCore::EditorClientQt::spellingUIIsShowing):
3199 (WebCore::EditorClientQt::getGuessesForWord):
3200 * WebCoreSupport/EditorClientQt.h:
3202 2007-04-11 MorganL <morganl.webkit@yahoo.com>
3206 Add a Frame pointer to ChromeClient methods:
3207 http://bugs.webkit.org/show_bug.cgi?id=13127
3209 * WebCoreSupport/ChromeClientQt.cpp:
3210 (WebCore::ChromeClientQt::createWindow):
3211 (WebCore::ChromeClientQt::createModalDialog):
3212 * WebCoreSupport/ChromeClientQt.h:
3214 2007-04-12 Mark Rowe <mrowe@apple.com>
3216 Second part of Qt build fix.
3218 * WebCoreSupport/FrameLoaderClientQt.cpp:
3219 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
3220 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
3221 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
3222 * WebCoreSupport/FrameLoaderClientQt.h:
3224 2007-03-27 Zack Rusin <zrusin@trolltech.com>
3226 Fix the rendering crashes due triggered
3227 asserts. Improve a bit the layout
3230 * Api/qwebframe.cpp:
3231 (QWebFrame::resizeEvent):
3232 (QWebFrame::paintEvent):
3233 * WebCoreSupport/FrameLoaderClientQt.cpp:
3234 (WebCore::FrameLoaderClientQt::forceLayout):
3236 2007-03-16 Lars Knoll <lars@trolltech.com>
3238 Fix the Qt build once again.
3240 * WebCoreSupport/EditorClientQt.cpp:
3241 (WebCore::EditorClientQt::handleKeypress):
3242 * WebCoreSupport/FrameLoaderClientQt.cpp:
3243 (WebCore::FrameLoaderClientQt::blockedError):
3244 * WebCoreSupport/FrameLoaderClientQt.h:
3246 2007-03-13 Lars Knoll <lars@trolltech.com>
3250 Don't try to load <object> tags with an invalid url.
3251 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
3252 which hit an assertion in the frameloader.
3254 * WebCoreSupport/FrameLoaderClientQt.cpp:
3255 (WebCore::FrameLoaderClientQt::objectContentType):
3257 2007-03-13 Lars Knoll <lars@trolltech.com>
3261 Fix some crashes in the Qt build.
3263 * Api/qwebframe.cpp:
3264 (QWebFrame::markup):
3265 Check for null pointer
3266 * WebCoreSupport/FrameLoaderClientQt.cpp:
3267 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3268 Don't use an async callback into the FrameLoader.
3269 (WebCore::FrameLoaderClientQt::createFrame):
3271 2007-03-11 Oliver Hunt <oliver@apple.com>
3275 Stub for EditorClientQt::respondToChangedSelection
3277 * WebCoreSupport/EditorClientQt.cpp:
3278 (WebCore::EditorClientQt::respondToChangedSelection):
3279 * WebCoreSupport/EditorClientQt.h:
3281 2007-03-07 Adele Peterson <adele@apple.com>
3285 WebKitQT part of fix for:
3286 http://bugs.webkit.org/show_bug.cgi?id=10871
3287 http://bugs.webkit.org/show_bug.cgi?id=12677
3288 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
3289 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
3291 * WebCoreSupport/EditorClientQt.cpp:
3292 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
3293 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
3294 * WebCoreSupport/EditorClientQt.h:
3296 2007-03-07 Darin Adler <darin@apple.com>
3298 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
3300 2007-03-07 Darin Adler <darin@apple.com>
3302 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
3303 Try to fix the build by correcting the parameter here.
3305 2007-03-02 Sam Weinig <sam@webkit.org>
3309 Try to fix the Qt build
3311 * WebCoreSupport/DragClientQt.cpp:
3312 (WebCore::DragClientQt::willPerformDragDestinationAction):
3313 (WebCore::DragClientQt::dragControllerDestroyed):
3314 (WebCore::DragClientQt::createDragImageForLink):
3316 2007-02-26 Maciej Stachowiak <mjs@apple.com>
3318 Reviewed by Kevin McCullough.
3320 - fix Qt build for earlier SVG changes.
3322 * WebCoreSupport/EditCommandQt.cpp:
3324 2007-02-24 Zack Rusin <zrusin@trolltech.com>
3326 Adjust the animation a little bit to make it more natural.
3328 * QtLauncher/main.cpp:
3329 (HoverLabel::paintEvent):
3331 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3333 Adding a little bit of eye-candy to the last
3334 commit (animations on hover events)
3336 * QtLauncher/main.cpp:
3337 (HoverLabel::HoverLabel):
3338 (HoverLabel::setHoverLink):
3339 (HoverLabel::sizeForFont):
3340 (HoverLabel::sizeHint):
3341 (HoverLabel::resetAnimation):
3342 (HoverLabel::paintEvent):
3343 (HoverLabel::interpolate):
3344 (SearchEdit::resizeEvent):
3346 2007-02-23 Zack Rusin <zrusin@trolltech.com>
3350 Adding API and code for notification of when the
3351 mouse is hovering over a link and adding code to
3352 the sample app to showcase it.
3354 * Api/qwebframe.cpp:
3355 (QWebFrame::mouseMoveEvent):
3357 * Api/qwebframe_p.h:
3358 (QWebFramePrivate::QWebFramePrivate):
3360 (QWebPage::createFrame):
3362 * QtLauncher/main.cpp:
3363 (HoverLabel::HoverLabel):
3364 (HoverLabel::setHoverLink):
3365 (HoverLabel::sizeHint):
3366 (HoverLabel::updateSize):
3367 (HoverLabel::paintEvent):
3368 (ClearButton::ClearButton):
3369 (ClearButton::paintEvent):
3370 (SearchEdit::SearchEdit):
3371 (SearchEdit::resizeEvent):
3372 (SearchEdit::moveEvent):
3373 (MainWindow::MainWindow):
3374 (MainWindow::showLinkHover):
3375 (MainWindow::resizeEvent):
3377 2007-02-22 Zack Rusin <zrusin@trolltech.com>
3381 Fixing the default scroll offset, cleaning
3382 up private methods and making the default
3383 look not use any frames.
3385 * Api/qwebframe.cpp:
3386 (QWebFramePrivate::init):
3387 (QWebFramePrivate::_q_handleKeyEvent):
3388 (QWebFrame::QWebFrame):
3389 (QWebFrame::wheelEvent):
3390 (QWebFrame::keyPressEvent):
3391 (QWebFrame::keyReleaseEvent):
3393 * Api/qwebframe_p.h:
3395 2007-02-22 Zack Rusin <zrusin@trolltech.com>
3399 Make the qwebframe act as a proper canvas.
3400 Implement it on top of QAbstractScrollArea.
3402 * Api/qwebframe.cpp:
3403 (QWebFramePrivate::init):
3404 (QWebFramePrivate::_q_adjustScrollbars):
3406 (QWebFrame::QWebFrame):
3407 (QWebFrame::resizeEvent):
3408 (QWebFrame::childFrames):
3409 (QWebFrame::paintEvent):
3410 (QWebFrame::mouseMoveEvent):
3411 (QWebFrame::mousePressEvent):
3412 (QWebFrame::mouseReleaseEvent):
3413 (QWebFrame::wheelEvent):
3414 (QWebFrame::keyPressEvent):
3415 (QWebFrame::keyReleaseEvent):
3416 (QWebFrame::dragEnterEvent):
3417 (QWebFrame::dragLeaveEvent):
3418 (QWebFrame::dragMoveEvent):
3419 (QWebFrame::handleKeyEvent):
3420 (QWebFrame::scrollContentsBy):
3422 * Api/qwebframe_p.h:
3423 (QWebFramePrivate::QWebFramePrivate):
3425 2007-02-21 George Staikos <staikos@kde.org>
3429 Add more editing support, and undo/redo. Requires some nasty evil
3430 hacks that have to be sorted out in WebCore/editor.
3433 (QWebPagePrivate::QWebPagePrivate):
3434 (QWebPagePrivate::~QWebPagePrivate):
3435 (QWebPage::undoStack):
3438 * WebCoreSupport/EditorClientQt.cpp:
3439 (WebCore::EditorClientQt::didBeginEditing):
3440 (WebCore::EditorClientQt::didEndEditing):
3441 (WebCore::EditorClientQt::isEditable):
3442 (WebCore::EditorClientQt::registerCommandForUndo):
3443 (WebCore::EditorClientQt::registerCommandForRedo):
3444 (WebCore::EditorClientQt::clearUndoRedoOperations):
3445 (WebCore::EditorClientQt::canUndo):
3446 (WebCore::EditorClientQt::canRedo):
3447 (WebCore::EditorClientQt::undo):
3448 (WebCore::EditorClientQt::redo):
3449 (WebCore::EditorClientQt::handleKeyPress):
3450 (WebCore::EditorClientQt::EditorClientQt):
3451 (WebCore::EditorClientQt::textFieldDidBeginEditing):
3452 (WebCore::EditorClientQt::textFieldDidEndEditing):
3453 (WebCore::EditorClientQt::isEditing):
3454 * WebCoreSupport/EditorClientQt.h:
3456 2007-02-21 Zack Rusin <zrusin@trolltech.com>
3460 * WebCoreSupport/ContextMenuClientQt.cpp:
3461 * WebCoreSupport/ContextMenuClientQt.h:
3463 2007-02-21 George Staikos <staikos@kde.org>
3470 2007-02-20 Zack Rusin <zrusin@trolltech.com>
3474 Make editing of forms work plus make sure that non-void methods
3475 always return something.
3477 * WebCoreSupport/ChromeClientQt.cpp:
3478 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3479 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3480 (WebCore::ChromeClientQt::runJavaScriptConfirm):
3481 (WebCore::ChromeClientQt::runJavaScriptPrompt):
3482 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3483 * WebCoreSupport/EditorClientQt.cpp:
3484 (WebCore::EditorClientQt::shouldDeleteRange):
3485 (WebCore::EditorClientQt::shouldBeginEditing):
3486 (WebCore::EditorClientQt::shouldEndEditing):
3487 (WebCore::EditorClientQt::shouldInsertText):
3488 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3489 (WebCore::EditorClientQt::shouldApplyStyle):
3490 (WebCore::EditorClientQt::shouldInsertNode):
3491 * WebCoreSupport/FrameLoaderClientQt.cpp:
3492 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3493 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
3495 2007-02-17 Lars Knoll <lars@trolltech.com>
3499 Additional coding by Maciej, additional review by Oliver.
3501 Add stubs for the new methods in ChormeClient and EditorClient,
3502 remove all references to FrameQt.
3504 * Api/qwebframe.cpp:
3505 (QWebFrame::QWebFrame):
3506 * Api/qwebframe_p.h:
3508 * WebCoreSupport/ChromeClientQt.cpp:
3509 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3510 * WebCoreSupport/ChromeClientQt.h:
3511 * WebCoreSupport/EditorClientQt.cpp:
3512 (WebCore::EditorClientQt::shouldChangeSelectedRange):
3513 (WebCore::EditorClientQt::isEditable):
3514 * WebCoreSupport/EditorClientQt.h:
3515 * WebCoreSupport/FrameLoaderClientQt.cpp:
3516 (WebCore::FrameLoaderClientQt::setFrame):
3517 (WebCore::FrameLoaderClientQt::webFrame):
3518 * WebCoreSupport/FrameLoaderClientQt.h:
3520 2007-02-18 Oliver Hunt <oliver@apple.com>
3522 Reviewed by NOBODY (Buildfix).
3524 Build fix -- adding DragClientQt method stubs
3526 * WebCoreSupport/DragClientQt.cpp:
3527 (WebCore::DragClientQt::willPerformDragSourceAction):
3528 (WebCore::DragClientQt::startDrag):
3529 (WebCore::DragClientQt::createDragImageForLink):
3530 * WebCoreSupport/DragClientQt.h:
3532 2007-02-15 Brady Eidson <beidson@apple.com>
3536 Moved scroll state down into the cross platform FrameLoader -
3537 Blind attempt at keeping Qt building
3539 * WebCoreSupport/FrameLoaderClientQt.cpp:
3540 (WebCore::FrameLoaderClientQt::restoreViewState):
3541 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
3542 * WebCoreSupport/FrameLoaderClientQt.h:
3544 2007-02-07 Anders Carlsson <acarlsson@apple.com>
3546 Try fixing the Qt build.
3548 * WebCoreSupport/ChromeClientQt.cpp:
3549 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
3550 * WebCoreSupport/ChromeClientQt.h:
3552 2007-02-02 Zack Rusin <zrusin@trolltech.com>
3554 Compilation fix: forward declare d-ptr.
3558 2007-02-02 Zack Rusin <zrusin@trolltech.com>
3562 Make the frames white by default and get the
3563 files that WebCore can handle render inside
3566 * Api/qwebframe.cpp:
3567 (QWebFrame::QWebFrame):
3568 * WebCoreSupport/FrameLoaderClientQt.cpp:
3569 (WebCore::FrameLoaderClientQt::createFrame):
3570 (WebCore::FrameLoaderClientQt::objectContentType):
3572 2007-02-01 George Staikos <staikos@kde.org>
3574 Reviewed by Zack and Lars.
3576 Add a cookie interface for the Qt build.
3578 * Api/qcookiejar.cpp: Added.
3579 (QCookieJarPrivate::QCookieJarPrivate):
3581 (QCookieJar::QCookieJar):
3582 (QCookieJar::~QCookieJar):
3583 (QCookieJar::setCookies):
3584 (QCookieJar::cookies):
3585 (QCookieJar::isEnabled):
3586 (QCookieJar::setEnabled):
3588 (QCookieJar::setCookieJar):
3589 (QCookieJar::cookieJar):
3590 * Api/qcookiejar.h: Added.
3592 2007-02-01 Lars Knoll <lars@trolltech.com>
3596 Fix form loading for the Qt build.
3598 * WebCoreSupport/FrameLoaderClientQt.cpp:
3599 (WebCore::FrameLoaderClientQt::callPolicyFunction):
3600 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
3601 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
3602 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3603 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
3604 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3606 2007-01-31 Zack Rusin <zrusin@trolltech.com>
3608 Expose the fact that the form has been edited
3612 (QWebPagePrivate::QWebPagePrivate):
3613 (QWebPage::isModified):
3616 * WebCoreSupport/EditorClientQt.cpp:
3617 (WebCore::EditorClientQt::respondToChangedContents):
3618 (WebCore::EditorClientQt::isEditable):
3620 2007-01-31 Zack Rusin <zrusin@trolltech.com>
3624 Properly propagate key events.
3626 * Api/qwebframe.cpp:
3627 (QWebFrame::addToJSWindowObject):
3628 (QWebFrame::innerText):
3629 (QWebFrame::renderTreeDump):
3631 (QWebPagePrivate::QWebPagePrivate):
3633 * WebCoreSupport/EditorClientQt.cpp:
3634 (WebCore::EditorClientQt::pageDestroyed):
3635 (WebCore::EditorClientQt::handleKeyPress):
3636 (WebCore::EditorClientQt::EditorClientQt):
3637 * WebCoreSupport/EditorClientQt.h:
3639 2007-01-31 George Staikos <staikos@kde.org>
3641 Remove focusFrame() - misguided - and add childFrames(). Fix a crash
3646 * Api/qwebframe.cpp:
3647 (QWebFrame::resizeEvent):
3648 (QWebFrame::childFrames):
3652 * WebCoreSupport/FrameLoaderClientQt.cpp:
3653 (WebCore::FrameLoaderClientQt::webFrame):
3654 * WebCoreSupport/FrameLoaderClientQt.h:
3656 2007-01-30 Zack Rusin <zrusin@trolltech.com>
3658 Improve QtLauncher to make it more useful as a testing tool.
3660 * QtLauncher/main.cpp:
3661 (ClearButton::ClearButton):
3662 (ClearButton::paintEvent):
3663 (SearchEdit::SearchEdit):
3664 (SearchEdit::~SearchEdit):
3665 (SearchEdit::paintEvent):
3666 (SearchEdit::resizeEvent):
3667 (SearchEdit::moveEvent):
3668 (MainWindow::MainWindow):
3669 (MainWindow::changeLocation):
3670 (MainWindow::loadFinished):
3672 2007-01-30 Simon Hausmann <hausmann@kde.org>
3676 Added import/export macros needed for build with ELF visibility and
3677 for a build on Windows (in the future).
3680 * Api/qwebkitglobal.h: Added.
3682 * Api/qwebpagehistory.h:
3684 2007-01-30 Zack Rusin <zack@kde.org>
3686 Change the signature of handleKeyPress
3689 * WebCoreSupport/EditorClientQt.cpp:
3690 (WebCore::EditorClientQt::handleKeyPress):
3691 * WebCoreSupport/EditorClientQt.h:
3693 2007-01-29 Zack Rusin <zack@kde.org>
3697 Set the allows-scrolling property on the view.
3699 * Api/qwebframe.cpp:
3700 (QWebFrame::QWebFrame):
3702 2007-01-29 Oliver Hunt <oliver@apple.com>
3706 Stub for new DragClient method
3708 * WebCoreSupport/DragClientQt.cpp: