Fix from Lars to remove duplicate symbols.
[WebKit-https.git] / WebKitQt / ChangeLog
1 2007-06-12  Lars Knoll <lars@trolltech.com>
2
3         Reviewed by George Staikos.
4
5         Remove duplicate symbols.
6
7         * Api/qwebobjectplugin_p.h:
8
9 2007-06-13  Lars Knoll <lars@trolltech.com>
10
11         Reviewed by Niko.
12
13         Fix compilation, and remove dependency on Qt
14         private header.
15
16         * Api/qwebobjectplugin_p.h:
17         (QWebFactoryLoader::supportsMimeType):
18
19 2007-06-13  Lars Knoll <lars@trolltech.com>
20
21         Reviewed by Niko.
22
23         Parts of the patch done by Zack.
24         Fix up some parts in the implementation of QWebNetworkInterface
25         so it can be used by plugins.
26         Change the plugin API so we can actually get all the information
27         required by the JS bridge from them as well.
28
29         * Api/qwebnetworkinterface.cpp:
30         (QWebNetworkJob::cancelled):
31         (QWebNetworkManager::cancel):
32         (QWebNetworkManager::started):
33         (QWebNetworkManager::finished):
34         * Api/qwebobjectplugin.cpp:
35         (QWebFactoryLoader::QWebFactoryLoader):
36         (QWebFactoryLoader::descriptionForName):
37         (QWebFactoryLoader::mimetypesForName):
38         (QWebFactoryLoader::mimeTypeForExtension):
39         (QWebFactoryLoader::extensions):
40         (QWebFactoryLoader::nameForMimetype):
41         (QWebFactoryLoader::create):
42         (QWebObjectPlugin::descriptionForKey):
43         (QWebObjectPlugin::mimetypesForKey):
44         * Api/qwebobjectplugin.h:
45         * Api/qwebobjectplugin_p.h:
46         (QWebFactoryLoader::names):
47         * Api/qwebobjectpluginconnector.cpp:
48         (QWebObjectPluginConnector::requestUrl):
49         * Api/qwebpage.cpp:
50         (QWebPage::networkInterface):
51
52 2007-06-11  Simon Hausmann  <hausmann@kde.org>
53
54         Reviewed by Lars.
55
56         Added a QWebPage::open overload to allow specifying the http header and post data.
57         (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
58         which would imply that one has to have QT += network in the .pro file for using WebKitQt)
59
60         * Api/qwebpage.cpp:
61         * Api/qwebpage.h:
62
63 2007-06-11  Simon Hausmann  <hausmann@kde.org>
64
65         Reviewed by Lars.
66
67         Added the possibility to intercept url requests through QWebPage::navigationRequested.
68
69         * Api/qwebpage.cpp:
70         (QWebPagePrivate::QWebPagePrivate):
71         (QWebPage::createFrame):
72         * Api/qwebpage.h:
73         * Api/qwebpage_p.h:
74         * WebCoreSupport/FrameLoaderClientQt.cpp:
75
76 2007-06-11  Simon Hausmann  <hausmann@kde.org>
77
78         Reviewed by Lars.
79
80         Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
81         to be called from FrameLoaderClientQt in the near future.
82
83         * Api/qwebnetworkinterface.cpp:
84         (QWebNetworkManager::add):
85         * Api/qwebnetworkinterface_p.h:
86
87 2007-06-11  Simon Hausmann  <hausmann@kde.org>
88
89         Reviewed by Lars.
90
91         Moved the postData setup into QWebNetworkRequest::init.
92
93         * Api/qwebnetworkinterface.cpp:
94         (QWebNetworkRequest::init):
95         (QWebNetworkManager::add):
96
97 2007-06-11  Simon Hausmann  <hausmann@kde.org>
98
99         Reviewed by Lars.
100
101         Moved HTTP header field propagation to QWebNetworkRequest::init.
102
103         * Api/qwebnetworkinterface.cpp:
104         (QWebNetworkRequest::init):
105         (QWebNetworkManager::add):
106
107 2007-06-11  Simon Hausmann  <hausmann@kde.org>
108
109         Reviewed by Lars.
110
111         Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
112         and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
113
114         * Api/qwebnetworkinterface.cpp:
115         (QWebNetworkRequest::init):
116         (QWebNetworkManager::add):
117         * Api/qwebnetworkinterface_p.h:
118         * Api/qwebobjectpluginconnector.cpp:
119         (QWebObjectPluginConnector::requestUrl):
120
121 2007-06-11  Zack Rusin <zrusin@trolltech.com>
122
123         Reviewed by Lars
124
125         Forgot to export the plugin connector.
126
127         * Api/qwebobjectpluginconnector.h
128
129 2007-06-08  Lars Knoll <lars@trolltech.com>
130
131         Reviewed by Zack.
132
133         Add a QWebObjectPluginConnector class. The class will
134         facility communication between the plugin and WebKit.
135         Currently it's used to make the plugin network capable.
136
137         * Api/qwebnetworkinterface.cpp:
138         (QWebNetworkJobPrivate::setDefaults):
139         (QWebNetworkManager::add):
140         (QWebNetworkManager::started):
141         (QWebNetworkManager::data):
142         (QWebNetworkManager::finished):
143         * Api/qwebnetworkinterface.h:
144         * Api/qwebnetworkinterface_p.h:
145         (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
146         * Api/qwebobjectplugin.cpp:
147         (QWebFactoryLoader::create):
148         * Api/qwebobjectplugin.h:
149         * Api/qwebobjectplugin_p.h:
150         * Api/qwebobjectpluginconnector.cpp: Added.
151         (QWebObjectPluginConnector::QWebObjectPluginConnector):
152         (QWebObjectPluginConnector::frame):
153         (QWebObjectPluginConnector::pluginParentWidget):
154         (QWebObjectPluginConnector::requestUrl):
155         * Api/qwebobjectpluginconnector.h: Added.
156         (QWebObjectPluginConnector::):
157         * WebCoreSupport/FrameLoaderClientQt.cpp:
158         (WebCore::FrameLoaderClientQt::createPlugin):
159
160 2007-06-06  Lars Knoll <lars@trolltech.com>
161
162         Reviewed by Zack
163
164         Add an API to create and load plugins.
165         Don't include moc files by hand anymore, rather let
166         qmake handle them.
167
168         * Api/qcookiejar.cpp:
169         (QCookieJar::cookieJar):
170         * Api/qwebframe.cpp:
171         (QWebFrame::scrollContentsBy):
172         * Api/qwebnetworkinterface.cpp:
173         * Api/qwebobjectplugin.cpp: Added.
174         (QWebFactoryLoader::QWebFactoryLoader):
175         (QWebFactoryLoader::self):
176         (QWebFactoryLoader::mimeTypeForExtension):
177         (QWebFactoryLoader::create):
178         (QWebObjectPlugin::QWebObjectPlugin):
179         (QWebObjectPlugin::~QWebObjectPlugin):
180         (QWebObjectPlugin::extensionsForMimetype):
181         * Api/qwebobjectplugin.h: Added.
182         * Api/qwebobjectplugin_p.h: Added.
183         (QWebFactoryLoader::mimeTypes):
184         (QWebFactoryLoader::extensions):
185         (QWebFactoryLoader::supportsMimeType):
186         * Api/qwebpage.cpp:
187         (QWebPage::settings):
188         * WebCoreSupport/FrameLoaderClientQt.cpp:
189         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
190         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
191         (WebCore::FrameLoaderClientQt::objectContentType):
192         (WebCore::FrameLoaderClientQt::createPlugin):
193
194 2007-05-28  Zack Rusin  <zrusin@trolltech.com>
195
196         Reviewed by andersca and simon
197
198         Adding public settings Api to the Qt port.
199         QWebSetting's is a value based settings
200         object settable on the QWebPage.
201
202         * Api/qwebpage.cpp:
203         (QWebPagePrivate::QWebPagePrivate):
204         (QWebPage::QWebPage):
205         (QWebPage::setSettings):
206         (QWebPage::settings):
207         * Api/qwebpage.h:
208         * Api/qwebsettings.cpp: Added.
209         (QWebSettingsPrivate::QWebSettingsPrivate):
210         (QWebSettings::QWebSettings):
211         (QWebSettings::~QWebSettings):
212         (QWebSettings::setMinimumFontSize):
213         (QWebSettings::minimumFontSize):
214         (QWebSettings::setMinimumLogicalFontSize):
215         (QWebSettings::minimumLogicalFontSize):
216         (QWebSettings::setDefaultFontSize):
217         (QWebSettings::defaultFontSize):
218         (QWebSettings::setDefaultFixedFontSize):
219         (QWebSettings::defaultFixedFontSize):
220         (QWebSettings::setUserStyleSheetLocation):
221         (QWebSettings::userStyleSheetLocation):
222         (QWebSettings::setGlobal):
223         (QWebSettings::global):
224         (QWebSettings::setFontFamily):
225         (QWebSettings::fontFamily):
226         (QWebSettings::setAttribute):
227         (QWebSettings::testAttribute):
228         * Api/qwebsettings.h: Added.
229         * QtLauncher/main.cpp:
230         (main):
231 2007-05-27  Kevin Ollivier  <kevino@theolliviers.com>
232
233         Reviewed by Sam Weinig.
234         
235         Consolidate all notImplemented() macro definitions into
236         one header file for all platforms.
237
238         * WebCoreSupport/ChromeClientQt.cpp:
239         * WebCoreSupport/ContextMenuClientQt.cpp:
240         * WebCoreSupport/EditorClientQt.cpp:
241         * WebCoreSupport/FrameLoaderClientQt.cpp:
242
243 2007-05-25  George Staikos  <staikos@kde.org>
244
245         Reviewed by Simon.
246
247         The http loader should only ask for .... http cookies!
248
249         * Api/qwebnetworkinterface.cpp:
250         (QWebNetworkManager::add):
251
252 2007-05-24  Simon Hausmann  <hausmann@kde.org>
253
254         Reviewed by Zack.
255
256         Fix multipart/form-data HTTP POSTs. The content-type wasn't set
257         correctly. Fortunately WebCore does it already, so there's no need
258         for us to do it since we already transfer all HTTP header fields :)
259
260         * Api/qwebnetworkinterface.cpp:
261         (QWebNetworkManager::add):
262
263 2007-05-23  Simon Hausmann  <hausmann@kde.org>
264
265         Reviewed by Zack, idea from Lars.
266
267         Share WebCoreHttp and therefore HTTP connections among multiple
268         QWebNetworkInterface instances by moving the code into
269         QWebNetworkManager.
270
271         * Api/qwebnetworkinterface.cpp:
272         (QWebNetworkManager::addHttpJob):
273         (QWebNetworkManager::cancelHttpJob):
274         (QWebNetworkManager::httpConnectionClosed):
275         (QWebNetworkInterface::addJob):
276         (QWebNetworkInterface::cancelJob):
277         (WebCoreHttp::scheduleNextRequest):
278         (WebCoreHttp::onResponseHeaderReceived):
279         (WebCoreHttp::onReadyRead):
280         (WebCoreHttp::onRequestFinished):
281         (WebCoreHttp::cancel):
282         * Api/qwebnetworkinterface.h:
283         * Api/qwebnetworkinterface_p.h:
284
285 2007-05-23  Simon Hausmann  <hausmann@kde.org>
286
287         Reviewed by Zack, discussed also with Lars.
288
289         Make it possible to specify a per-QWebPage network interface (needed
290         for the KDE KIO integration).
291
292         Merged the file and the network loader into
293         QWebNetworkInterface(Private), which simplifies the loading code.
294
295         When receiving a redirection don't emit the data of the redirected job
296         to the document. (otherwise the kind of "This page has moved" text
297         appears right on top of the real page content)
298
299         * Api/qwebnetworkinterface.cpp:
300         (qHash):
301         (operator==):
302         (QWebNetworkJob::QWebNetworkJob):
303         (QWebNetworkJob::networkInterface):
304         (QWebNetworkManager::add):
305         (QWebNetworkManager::cancel):
306         (QWebNetworkManager::data):
307         (QWebNetworkManager::finished):
308         (QWebNetworkInterfacePrivate::sendFileData):
309         (QWebNetworkInterfacePrivate::parseDataUrl):
310         (QWebNetworkInterfacePrivate::addHttpJob):
311         (QWebNetworkInterfacePrivate::httpConnectionClosed):
312         (QWebNetworkInterface::setDefaultInterface):
313         (QWebNetworkInterface::QWebNetworkInterface):
314         (QWebNetworkInterface::addJob):
315         (QWebNetworkInterface::cancelJob):
316         (WebCoreHttp::scheduleNextRequest):
317         (WebCoreHttp::onResponseHeaderReceived):
318         (WebCoreHttp::onReadyRead):
319         (WebCoreHttp::onRequestFinished):
320         (WebCoreHttp::cancel):
321         * Api/qwebnetworkinterface.h:
322         * Api/qwebnetworkinterface_p.h:
323         * Api/qwebpage.cpp:
324         (QWebPagePrivate::QWebPagePrivate):
325         (QWebPage::setNetworkInterface):
326         * Api/qwebpage.h:
327         * Api/qwebpage_p.h:
328
329 2007-05-23  Lars Knoll <lars@trolltech.com>
330
331         Reviewed by Zack
332
333         Don't do HTTP downloads in a second thread. Simplifies
334         the code significantly and fixes crashes on some
335         Web pages.
336
337         * Api/qwebnetworkinterface.cpp:
338         (QWebNetworkManager::add):
339         (QWebNetworkInterface::QWebNetworkInterface):
340         (QWebNetworkInterface::addJob):
341         (QWebNetworkInterface::cancelJob):
342         (LoaderThread::LoaderThread):
343         (LoaderThread::run):
344         (WebCoreHttp::cancel):
345         (NetworkLoader::NetworkLoader):
346         (NetworkLoader::request):
347         (NetworkLoader::cancel):
348         * Api/qwebnetworkinterface_p.h:
349         * WebCoreSupport/FrameLoaderClientQt.cpp:
350         (WebCore::FrameLoaderClientQt::committedLoad):
351         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
352
353 2007-05-23  Lars Knoll <lars@trolltech.com>
354
355         Reviewed by Simon.
356
357         * Api/qwebnetworkinterface.cpp:
358         (QWebNetworkJobPrivate::setURL):
359         (QWebNetworkManager::started):
360             Fix Host: line in HTTP headers and resolving of relative URLs
361             when redirecting.
362         * Api/qwebnetworkinterface_p.h:
363             Clean up qHash forward declaration a bit.
364
365 2007-05-23  Simon Hausmann  <hausmann@kde.org>
366
367         Reviewed by Zack.
368
369         * QtLauncher/main.cpp:
370         (MainWindow::MainWindow): Fix loading progress signal/slot connection.
371
372 2007-05-22  Simon Hausmann  <hausmann@kde.org>
373
374         Reviewed by Lars.
375
376         * Api/qwebnetworkinterface.cpp:
377         (QWebNetworkManager::add): Fix http headers for POST.
378
379 2007-05-21  Lars Knoll <lars@trolltech.com>
380
381         Reviewed by Simon
382
383         Remove the userHandle methods from QWebnetworkJob again.
384         They don't really give us anything and just clutter the API.
385
386         * Api/qwebnetworkinterface.cpp:
387         * Api/qwebnetworkinterface.h:
388         * Api/qwebnetworkinterface_p.h:
389
390 2007-05-21  Simon Hausmann  <hausmann@kde.org>
391
392         Reviewed by Zack.
393
394         * Api/qwebnetworkinterface.h: Export the net API.
395
396 2007-05-21  Lars Knoll <lars@trolltech.com>
397
398         Reviewed by Zack.
399
400         Add an API layer for network downloads. Basically QWebnetworkInterface
401         is an interface class for downloading resources. QWebnetworkJob describes
402         the actual object to download.
403
404         QWebNetworkInterface has a default implementation that replaces the
405         old ResourceHandleManager class in the Qt port.
406
407         * Api/qwebnetworkinterface.cpp: Added.
408         (QWebNetworkJobPrivate::setURL):
409         (QWebNetworkJob::QWebNetworkJob):
410         (QWebNetworkJob::~QWebNetworkJob):
411         (QWebNetworkJob::url):
412         (QWebNetworkJob::postData):
413         (QWebNetworkJob::request):
414         (QWebNetworkJob::response):
415         (QWebNetworkJob::setResponse):
416         (QWebNetworkJob::cancelled):
417         (QWebNetworkJob::ref):
418         (QWebNetworkJob::deref):
419         (QWebNetworkJob::setUserHandle):
420         (QWebNetworkJob::userHandle):
421         (QWebNetworkManager::QWebNetworkManager):
422         (QWebNetworkManager::self):
423         (QWebNetworkManager::add):
424         (QWebNetworkManager::cancel):
425         (QWebNetworkManager::started):
426         (QWebNetworkManager::data):
427         (QWebNetworkManager::finished):
428         (QWebNetworkInterface::setDefaultInterface):
429         (QWebNetworkInterface::defaultInterface):
430         (QWebNetworkInterface::QWebNetworkInterface):
431         (QWebNetworkInterface::~QWebNetworkInterface):
432         (QWebNetworkInterface::addJob):
433         (QWebNetworkInterface::cancelJob):
434         (LoaderThread::LoaderThread):
435         (LoaderThread::run):
436         (FileLoader::FileLoader):
437         (FileLoader::request):
438         (FileLoader::sendData):
439         (FileLoader::parseDataUrl):
440         (WebCoreHttp::WebCoreHttp):
441         (WebCoreHttp::~WebCoreHttp):
442         (WebCoreHttp::request):
443         (WebCoreHttp::scheduleNextRequest):
444         (WebCoreHttp::getConnection):
445         (WebCoreHttp::onResponseHeaderReceived):
446         (WebCoreHttp::onReadyRead):
447         (WebCoreHttp::onRequestFinished):
448         (WebCoreHttp::onStateChanged):
449         (WebCoreHttp::cancel):
450         (HostInfo::HostInfo):
451         (qHash):
452         (operator==):
453         (NetworkLoader::NetworkLoader):
454         (NetworkLoader::~NetworkLoader):
455         (NetworkLoader::request):
456         (NetworkLoader::connectionClosed):
457         (NetworkLoader::cancel):
458         * Api/qwebnetworkinterface.h: Added.
459         (QWebNetworkJob::setHandle):
460         (QWebNetworkJob::handle):
461         * Api/qwebnetworkinterface_p.h: Added.
462         (WebCore::LoaderThread::):
463         (WebCore::LoaderThread::waitForSetup):
464         (WebCore::HostInfo::HostInfo):
465
466 2007-05-18  Simon Hausmann  <hausmann@kde.org>
467
468         Reviewed by Nikolas.
469
470         * Api/qwebpage.h: Changed the loadProgressChanged API to use an
471         percent integer instead of a double precision floating pointer number.
472         * WebCoreSupport/FrameLoaderClientQt.cpp:
473         (WebCore::FrameLoaderClientQt::setFrame):
474         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
475         * WebCoreSupport/FrameLoaderClientQt.h:
476
477 2007-05-18  Marius Bugge Monsen  <mbm@trolltech.com>
478
479         Reviewed by Zack Rusin.
480
481         The default constructed KeyboardEvent has
482         no PlatformKeyboardEvent.
483
484         * WebCoreSupport/EditorClientQt.cpp:
485         (WebCore::EditorClientQt::handleKeypress):
486
487 2007-05-17  Adam Treat <adam@staikos.net>
488
489         Reviewed by George Staikos.
490
491         - Implement frameLoadCompleted
492         - Fix build (by George)
493
494         * WebCoreSupport/FrameLoaderClientQt.cpp:
495         (WebCore::FrameLoaderClientQt::frameLoadCompleted):
496         (WebCore::FrameLoaderClientQt::createFrame):
497
498 2007-05-17  Adam Treat  <adam@staikos.net>
499
500         Reviewed by George Staikos.
501
502         Implement canShowMIMEType
503
504         * WebCoreSupport/FrameLoaderClientQt.cpp:
505         (WebCore::FrameLoaderClientQt::canShowMIMEType):
506
507 2007-05-16  Lars Knoll <lars@trolltech.com>
508
509         Reviewed by Zack
510
511         pass the mouse events to the event handler, not the frameview.
512
513         * Api/qwebframe.cpp:
514         (QWebFrame::mouseMoveEvent):
515         (QWebFrame::mouseReleaseEvent):
516
517 2007-05-14  Lars Knoll <lars@trolltech.com>
518
519         Reviewed by Zack
520
521         Updates after Maciej's frame change.
522
523         * Api/qwebpage.cpp:
524         (QWebPage::stop):
525               Call stopForUserCancel() instead of stopAllLoaders()
526         * WebCoreSupport/FrameLoaderClientQt.cpp:
527         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
528         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
529         (WebCore::FrameLoaderClientQt::didFinishLoad):
530         (WebCore::FrameLoaderClientQt::setMainDocumentError):
531         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
532         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
533         (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
534         (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
535               Call QWebFrame::loadDone() from the places it's supposed to be
536               called from.
537
538 2007-05-12  Maciej Stachowiak  <mjs@apple.com>
539
540         Reviewed by Rob Buis.
541         
542         - call Frame::init as needed - this prevents crashes but pages don't appear.
543
544         * Api/qwebframe.cpp:
545         (QWebFramePrivate::init):
546         * WebKitPart/WebKitPart.cpp:
547         (WebKitPart::initView):
548
549 2007-05-08  Steve Falkenburg  <sfalken@apple.com>
550
551         Reviewed by Ada.
552         
553         Slight modification to last editor method fix.
554
555         * WebCoreSupport/EditorClientQt.cpp:
556         (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
557         * WebCoreSupport/EditorClientQt.h:
558
559 2007-05-03  Steve Falkenburg  <sfalken@apple.com>
560
561         Reviewed by Oliver.
562
563         Add missing user description parameter to spelling-related editor client method.
564
565         * WebCoreSupport/EditorClientQt.cpp:
566         (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
567         * WebCoreSupport/EditorClientQt.h:
568
569 2007-04-29  Oliver Hunt  <oliver@apple.com>
570
571         Reviewed by Zack.
572
573         Tie QT drag events to the DragController logic
574         to allow drag and drop events to be handled by
575         webkit.
576
577         * Api/qwebframe.cpp:
578         * Api/qwebframe.h:
579         * Api/qwebpage.cpp:
580         (QWebPagePrivate::QWebPagePrivate):
581         (QWebPage::QWebPage):
582         (dropActionToDragOp):
583         (dragOpToDropAction):
584         (QWebPage::dragEnterEvent):
585         (QWebPage::dragLeaveEvent):
586         (QWebPage::dragMoveEvent):
587         (QWebPage::dropEvent):
588         * Api/qwebpage.h:
589         * WebCoreSupport/DragClientQt.cpp:
590         (WebCore::DragClientQt::startDrag):
591         * WebCoreSupport/DragClientQt.h:
592         (WebCore::DragClientQt::DragClientQt):
593
594 2007-04-27  Holger Freyther <freyther@kde.org>
595
596         Reviewed by Maciej.
597
598         Remove unmaintained CMake build system.
599
600         * QtLauncher/CMakeLists.txt: Removed.
601         * WebKitPart/CMakeLists.txt: Removed.
602
603 2007-04-25  Steve Falkenburg  <sfalken@apple.com>
604
605         Reviewed by Adam.
606         
607         Fix spelling error in spelling method name.
608
609         * WebCoreSupport/EditorClientQt.cpp:
610         (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
611         * WebCoreSupport/EditorClientQt.h:
612
613 2007-04-24  Steve Falkenburg  <sfalken@apple.com>
614
615         Reviewed by Oliver.
616         
617         Spelling and grammar stubs
618
619         * WebCoreSupport/EditorClientQt.cpp:
620         (WebCore::EditorClientQt::ignoreWordInSpellDocument):
621         (WebCore::EditorClientQt::learnWord):
622         (WebCore::EditorClientQt::checkSpellingOfString):
623         (WebCore::EditorClientQt::checkGrammarOfString):
624         (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
625         (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
626         (WebCore::EditorClientQt::showSpellingUI):
627         (WebCore::EditorClientQt::spellingUIIsShowing):
628         (WebCore::EditorClientQt::getGuessesForWord):
629         * WebCoreSupport/EditorClientQt.h:
630
631 2007-04-11  MorganL  <morganl.webkit@yahoo.com>
632
633         Reviewed by Maciej.
634
635         Add a Frame pointer to ChromeClient methods:
636         http://bugs.webkit.org/show_bug.cgi?id=13127
637
638         * WebCoreSupport/ChromeClientQt.cpp:
639         (WebCore::ChromeClientQt::createWindow):
640         (WebCore::ChromeClientQt::createModalDialog):
641         * WebCoreSupport/ChromeClientQt.h:
642
643 2007-04-12  Mark Rowe  <mrowe@apple.com>
644
645         Second part of Qt build fix.
646
647         * WebCoreSupport/FrameLoaderClientQt.cpp:
648         (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
649         (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
650         (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
651         * WebCoreSupport/FrameLoaderClientQt.h:
652
653 2007-03-27  Zack Rusin  <zrusin@trolltech.com>
654
655         Fix the rendering crashes due triggered
656         asserts. Improve a bit the layout
657         scheduling.
658
659         * Api/qwebframe.cpp:
660         (QWebFrame::resizeEvent):
661         (QWebFrame::paintEvent):
662         * WebCoreSupport/FrameLoaderClientQt.cpp:
663         (WebCore::FrameLoaderClientQt::forceLayout):
664
665 2007-03-16  Lars Knoll <lars@trolltech.com>
666
667         Fix the Qt build once again.
668
669         * WebCoreSupport/EditorClientQt.cpp:
670         (WebCore::EditorClientQt::handleKeypress):
671         * WebCoreSupport/FrameLoaderClientQt.cpp:
672         (WebCore::FrameLoaderClientQt::blockedError):
673         * WebCoreSupport/FrameLoaderClientQt.h:
674
675 2007-03-13  Lars Knoll <lars@trolltech.com>
676
677         Reviewed by George.
678
679         Don't try to load <object> tags with an invalid url.
680         Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
681         which hit an assertion in the frameloader.
682
683         * WebCoreSupport/FrameLoaderClientQt.cpp:
684         (WebCore::FrameLoaderClientQt::objectContentType):
685
686 2007-03-13  Lars Knoll <lars@trolltech.com>
687
688         Reviewed by Anders.
689
690         Fix some crashes in the Qt build.
691
692         * Api/qwebframe.cpp:
693         (QWebFrame::markup):
694             Check for null pointer
695         * WebCoreSupport/FrameLoaderClientQt.cpp:
696         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
697             Don't use an async callback into the FrameLoader.
698         (WebCore::FrameLoaderClientQt::createFrame):
699
700 2007-03-11  Oliver Hunt  <oliver@apple.com>
701
702         Reviewed by Adele.
703
704         Stub for EditorClientQt::respondToChangedSelection
705
706         * WebCoreSupport/EditorClientQt.cpp:
707         (WebCore::EditorClientQt::respondToChangedSelection):
708         * WebCoreSupport/EditorClientQt.h:
709
710 2007-03-07  Adele Peterson  <adele@apple.com>
711
712         Reviewed by Darin.
713
714         WebKitQT part of fix for:
715         http://bugs.webkit.org/show_bug.cgi?id=10871
716         http://bugs.webkit.org/show_bug.cgi?id=12677
717         <rdar://problem/4823129> REGRESSION: IME key events different in nightly
718         <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
719
720         * WebCoreSupport/EditorClientQt.cpp:
721         (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
722         (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
723         * WebCoreSupport/EditorClientQt.h:
724
725 2007-03-07  Darin Adler  <darin@apple.com>
726
727         * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
728
729 2007-03-07  Darin Adler  <darin@apple.com>
730
731         * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
732         Try to fix the build by correcting the parameter here.
733
734 2007-03-02  Sam Weinig  <sam@webkit.org>
735
736         Reviewed by Anders.
737
738         Try to fix the Qt build
739
740         * WebCoreSupport/DragClientQt.cpp:
741         (WebCore::DragClientQt::willPerformDragDestinationAction):
742         (WebCore::DragClientQt::dragControllerDestroyed):
743         (WebCore::DragClientQt::createDragImageForLink):
744
745 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
746
747         Reviewed by Kevin McCullough.
748
749         - fix Qt build for earlier SVG changes.
750
751         * WebCoreSupport/EditCommandQt.cpp:
752
753 2007-02-24  Zack Rusin  <zrusin@trolltech.com>
754
755         Adjust the animation a little bit to make it more natural.
756
757         * QtLauncher/main.cpp:
758         (HoverLabel::paintEvent):
759
760 2007-02-23  Zack Rusin  <zrusin@trolltech.com>
761
762         Adding a little bit of eye-candy to the last
763         commit (animations on hover events)
764
765         * QtLauncher/main.cpp:
766         (HoverLabel::HoverLabel):
767         (HoverLabel::setHoverLink):
768         (HoverLabel::sizeForFont):
769         (HoverLabel::sizeHint):
770         (HoverLabel::resetAnimation):
771         (HoverLabel::paintEvent):
772         (HoverLabel::interpolate):
773         (SearchEdit::resizeEvent):
774
775 2007-02-23  Zack Rusin  <zrusin@trolltech.com>
776
777         Reviewed by Lars
778
779         Adding API and code for notification of when the
780         mouse is hovering over a link and adding code to
781         the sample app to showcase it.
782
783         * Api/qwebframe.cpp:
784         (QWebFrame::mouseMoveEvent):
785         * Api/qwebframe.h:
786         * Api/qwebframe_p.h:
787         (QWebFramePrivate::QWebFramePrivate):
788         * Api/qwebpage.cpp:
789         (QWebPage::createFrame):
790         * Api/qwebpage.h:
791         * QtLauncher/main.cpp:
792         (HoverLabel::HoverLabel):
793         (HoverLabel::setHoverLink):
794         (HoverLabel::sizeHint):
795         (HoverLabel::updateSize):
796         (HoverLabel::paintEvent):
797         (ClearButton::ClearButton):
798         (ClearButton::paintEvent):
799         (SearchEdit::SearchEdit):
800         (SearchEdit::resizeEvent):
801         (SearchEdit::moveEvent):
802         (MainWindow::MainWindow):
803         (MainWindow::showLinkHover):
804         (MainWindow::resizeEvent):
805
806 2007-02-22  Zack Rusin  <zrusin@trolltech.com>
807
808         Reviewed by Lars
809
810         Fixing the default scroll offset, cleaning
811         up private methods and making the default
812         look not use any frames.
813
814         * Api/qwebframe.cpp:
815         (QWebFramePrivate::init):
816         (QWebFramePrivate::_q_handleKeyEvent):
817         (QWebFrame::QWebFrame):
818         (QWebFrame::wheelEvent):
819         (QWebFrame::keyPressEvent):
820         (QWebFrame::keyReleaseEvent):
821         * Api/qwebframe.h:
822         * Api/qwebframe_p.h:
823
824 2007-02-22  Zack Rusin  <zrusin@trolltech.com>
825
826         Reviewed by Lars
827
828         Make the qwebframe act as a proper canvas.
829         Implement it on top of QAbstractScrollArea.
830
831         * Api/qwebframe.cpp:
832         (QWebFramePrivate::init):
833         (QWebFramePrivate::_q_adjustScrollbars):
834         (QWebFrame::init):
835         (QWebFrame::QWebFrame):
836         (QWebFrame::resizeEvent):
837         (QWebFrame::childFrames):
838         (QWebFrame::paintEvent):
839         (QWebFrame::mouseMoveEvent):
840         (QWebFrame::mousePressEvent):
841         (QWebFrame::mouseReleaseEvent):
842         (QWebFrame::wheelEvent):
843         (QWebFrame::keyPressEvent):
844         (QWebFrame::keyReleaseEvent):
845         (QWebFrame::dragEnterEvent):
846         (QWebFrame::dragLeaveEvent):
847         (QWebFrame::dragMoveEvent):
848         (QWebFrame::handleKeyEvent):
849         (QWebFrame::scrollContentsBy):
850         * Api/qwebframe.h:
851         * Api/qwebframe_p.h:
852         (QWebFramePrivate::QWebFramePrivate):
853
854 2007-02-21  George Staikos  <staikos@kde.org>
855
856         Reviewed by Zack.
857
858         Add more editing support, and undo/redo.  Requires some nasty evil
859         hacks that have to be sorted out in WebCore/editor.
860
861         * Api/qwebpage.cpp:
862         (QWebPagePrivate::QWebPagePrivate):
863         (QWebPagePrivate::~QWebPagePrivate):
864         (QWebPage::undoStack):
865         * Api/qwebpage.h:
866         * Api/qwebpage_p.h:
867         * WebCoreSupport/EditorClientQt.cpp:
868         (WebCore::EditorClientQt::didBeginEditing):
869         (WebCore::EditorClientQt::didEndEditing):
870         (WebCore::EditorClientQt::isEditable):
871         (WebCore::EditorClientQt::registerCommandForUndo):
872         (WebCore::EditorClientQt::registerCommandForRedo):
873         (WebCore::EditorClientQt::clearUndoRedoOperations):
874         (WebCore::EditorClientQt::canUndo):
875         (WebCore::EditorClientQt::canRedo):
876         (WebCore::EditorClientQt::undo):
877         (WebCore::EditorClientQt::redo):
878         (WebCore::EditorClientQt::handleKeyPress):
879         (WebCore::EditorClientQt::EditorClientQt):
880         (WebCore::EditorClientQt::textFieldDidBeginEditing):
881         (WebCore::EditorClientQt::textFieldDidEndEditing):
882         (WebCore::EditorClientQt::isEditing):
883         * WebCoreSupport/EditorClientQt.h:
884
885 2007-02-21  Zack Rusin  <zrusin@trolltech.com>
886
887         Fix compilation.
888
889         * WebCoreSupport/ContextMenuClientQt.cpp:
890         * WebCoreSupport/ContextMenuClientQt.h:
891
892 2007-02-21  George Staikos  <staikos@kde.org>
893
894         Fix compile.
895
896         * Api/qwebpage.cpp:
897         (QWebPage::stop):
898
899 2007-02-20  Zack Rusin  <zrusin@trolltech.com>
900
901         Reviewed by Lars
902
903         Make editing of forms work plus make sure that non-void methods
904         always return something.
905
906         * WebCoreSupport/ChromeClientQt.cpp:
907         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
908         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
909         (WebCore::ChromeClientQt::runJavaScriptConfirm):
910         (WebCore::ChromeClientQt::runJavaScriptPrompt):
911         (WebCore::ChromeClientQt::shouldInterruptJavaScript):
912         * WebCoreSupport/EditorClientQt.cpp:
913         (WebCore::EditorClientQt::shouldDeleteRange):
914         (WebCore::EditorClientQt::shouldBeginEditing):
915         (WebCore::EditorClientQt::shouldEndEditing):
916         (WebCore::EditorClientQt::shouldInsertText):
917         (WebCore::EditorClientQt::shouldChangeSelectedRange):
918         (WebCore::EditorClientQt::shouldApplyStyle):
919         (WebCore::EditorClientQt::shouldInsertNode):
920         * WebCoreSupport/FrameLoaderClientQt.cpp:
921         (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
922         (WebCore::FrameLoaderClientQt::dispatchCreatePage):
923
924 2007-02-17  Lars Knoll <lars@trolltech.com>
925
926         Reviewed by Maciej.
927
928         Additional coding by Maciej, additional review by Oliver.
929
930         Add stubs for the new methods in ChormeClient and EditorClient,
931         remove all references to FrameQt.
932
933         * Api/qwebframe.cpp:
934         (QWebFrame::QWebFrame):
935         * Api/qwebframe_p.h:
936         * Api/qwebpage.cpp:
937         * WebCoreSupport/ChromeClientQt.cpp:
938         (WebCore::ChromeClientQt::shouldInterruptJavaScript):
939         * WebCoreSupport/ChromeClientQt.h:
940         * WebCoreSupport/EditorClientQt.cpp:
941         (WebCore::EditorClientQt::shouldChangeSelectedRange):
942         (WebCore::EditorClientQt::isEditable):
943         * WebCoreSupport/EditorClientQt.h:
944         * WebCoreSupport/FrameLoaderClientQt.cpp:
945         (WebCore::FrameLoaderClientQt::setFrame):
946         (WebCore::FrameLoaderClientQt::webFrame):
947         * WebCoreSupport/FrameLoaderClientQt.h:
948
949 2007-02-18  Oliver Hunt  <oliver@apple.com>
950
951         Reviewed by NOBODY (Buildfix).
952
953         Build fix -- adding DragClientQt method stubs
954
955         * WebCoreSupport/DragClientQt.cpp:
956         (WebCore::DragClientQt::willPerformDragSourceAction):
957         (WebCore::DragClientQt::startDrag):
958         (WebCore::DragClientQt::createDragImageForLink):
959         * WebCoreSupport/DragClientQt.h:
960
961 2007-02-15  Brady Eidson  <beidson@apple.com>
962
963         Reviewed by Adam
964
965         Moved scroll state down into the cross platform FrameLoader - 
966         Blind attempt at keeping Qt building
967
968         * WebCoreSupport/FrameLoaderClientQt.cpp:
969         (WebCore::FrameLoaderClientQt::restoreViewState):
970         (WebCore::FrameLoaderClientQt::saveViewStateToItem):
971         * WebCoreSupport/FrameLoaderClientQt.h:
972
973 2007-02-07  Anders Carlsson  <acarlsson@apple.com>
974
975         Try fixing the Qt build.
976
977         * WebCoreSupport/ChromeClientQt.cpp:
978         (WebCore::ChromeClientQt::shouldInterruptJavaScript):
979         * WebCoreSupport/ChromeClientQt.h:
980
981 2007-02-02  Zack Rusin  <zrusin@trolltech.com>
982
983         Compilation fix: forward declare d-ptr.
984
985         * Api/qcookiejar.h:
986
987 2007-02-02  Zack Rusin  <zrusin@trolltech.com>
988
989         Reviewed by Lars
990
991         Make the frames white by default and get the
992         files that WebCore can handle render inside
993         the frames.
994
995         * Api/qwebframe.cpp:
996         (QWebFrame::QWebFrame):
997         * WebCoreSupport/FrameLoaderClientQt.cpp:
998         (WebCore::FrameLoaderClientQt::createFrame):
999         (WebCore::FrameLoaderClientQt::objectContentType):
1000
1001 2007-02-01  George Staikos  <staikos@kde.org>
1002
1003         Reviewed by Zack and Lars.
1004
1005         Add a cookie interface for the Qt build.
1006
1007         * Api/qcookiejar.cpp: Added.
1008         (QCookieJarPrivate::QCookieJarPrivate):
1009         (qHash):
1010         (QCookieJar::QCookieJar):
1011         (QCookieJar::~QCookieJar):
1012         (QCookieJar::setCookies):
1013         (QCookieJar::cookies):
1014         (QCookieJar::isEnabled):
1015         (QCookieJar::setEnabled):
1016         (gCleanupJar):
1017         (QCookieJar::setCookieJar):
1018         (QCookieJar::cookieJar):
1019         * Api/qcookiejar.h: Added.
1020
1021 2007-02-01  Lars Knoll <lars@trolltech.com>
1022
1023         Reviewed by Adam.
1024
1025         Fix form loading for the Qt build.
1026
1027         * WebCoreSupport/FrameLoaderClientQt.cpp:
1028         (WebCore::FrameLoaderClientQt::callPolicyFunction):
1029         (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1030         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1031         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1032         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1033         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1034
1035 2007-01-31  Zack Rusin  <zrusin@trolltech.com>
1036
1037         Expose the fact that the form has been edited
1038         in the public api.
1039
1040         * Api/qwebpage.cpp:
1041         (QWebPagePrivate::QWebPagePrivate):
1042         (QWebPage::isModified):
1043         * Api/qwebpage.h:
1044         * Api/qwebpage_p.h:
1045         * WebCoreSupport/EditorClientQt.cpp:
1046         (WebCore::EditorClientQt::respondToChangedContents):
1047         (WebCore::EditorClientQt::isEditable):
1048
1049 2007-01-31  Zack Rusin  <zrusin@trolltech.com>
1050
1051         Reviewed by Lars
1052
1053         Properly propagate key events.
1054
1055         * Api/qwebframe.cpp:
1056         (QWebFrame::addToJSWindowObject):
1057         (QWebFrame::innerText):
1058         (QWebFrame::renderTreeDump):
1059         * Api/qwebpage.cpp:
1060         (QWebPagePrivate::QWebPagePrivate):
1061         * Api/qwebpage.h:
1062         * WebCoreSupport/EditorClientQt.cpp:
1063         (WebCore::EditorClientQt::pageDestroyed):
1064         (WebCore::EditorClientQt::handleKeyPress):
1065         (WebCore::EditorClientQt::EditorClientQt):
1066         * WebCoreSupport/EditorClientQt.h:
1067
1068 2007-01-31  George Staikos  <staikos@kde.org>
1069
1070         Remove focusFrame() - misguided - and add childFrames().  Fix a crash
1071         on exit.
1072
1073         Reviewed by Zack.
1074
1075         * Api/qwebframe.cpp:
1076         (QWebFrame::resizeEvent):
1077         (QWebFrame::childFrames):
1078         * Api/qwebframe.h:
1079         * Api/qwebpage.cpp:
1080         * Api/qwebpage.h:
1081         * WebCoreSupport/FrameLoaderClientQt.cpp:
1082         (WebCore::FrameLoaderClientQt::webFrame):
1083         * WebCoreSupport/FrameLoaderClientQt.h:
1084
1085 2007-01-30  Zack Rusin  <zrusin@trolltech.com>
1086
1087         Improve QtLauncher to make it more useful as a testing tool.
1088
1089         * QtLauncher/main.cpp:
1090         (ClearButton::ClearButton):
1091         (ClearButton::paintEvent):
1092         (SearchEdit::SearchEdit):
1093         (SearchEdit::~SearchEdit):
1094         (SearchEdit::paintEvent):
1095         (SearchEdit::resizeEvent):
1096         (SearchEdit::moveEvent):
1097         (MainWindow::MainWindow):
1098         (MainWindow::changeLocation):
1099         (MainWindow::loadFinished):
1100
1101 2007-01-30  Simon Hausmann  <hausmann@kde.org>
1102
1103         Reviewed by Zack.
1104
1105         Added import/export macros needed for build with ELF visibility and
1106         for a build on Windows (in the future).
1107
1108         * Api/qwebframe.h:
1109         * Api/qwebkitglobal.h: Added.
1110         * Api/qwebpage.h:
1111         * Api/qwebpagehistory.h:
1112
1113 2007-01-30  Zack Rusin  <zack@kde.org>
1114
1115         Change the signature of handleKeyPress
1116         (make it compile)
1117
1118         * WebCoreSupport/EditorClientQt.cpp:
1119         (WebCore::EditorClientQt::handleKeyPress):
1120         * WebCoreSupport/EditorClientQt.h:
1121
1122 2007-01-29  Zack Rusin  <zack@kde.org>
1123
1124         Reviewed by Lars
1125
1126         Set the allows-scrolling property on the view.
1127
1128         * Api/qwebframe.cpp:
1129         (QWebFrame::QWebFrame):
1130
1131 2007-01-29  Oliver Hunt  <oliver@apple.com>
1132
1133         Reviewed by Adam.
1134
1135         Stub for new DragClient method
1136
1137         * WebCoreSupport/DragClientQt.cpp:
1138         (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1139         * WebCoreSupport/DragClientQt.h:
1140
1141 2007-01-29  Maciej Stachowiak  <mjs@apple.com>
1142
1143         Reviewed by Mark.
1144
1145         - updated for cross-platform data loading support
1146
1147         * WebCoreSupport/FrameLoaderClientQt.cpp:
1148         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1149         * WebCoreSupport/FrameLoaderClientQt.h:
1150
1151 2007-01-29  George Staikos  <staikos@kde.org>
1152
1153         Make window resizing work.
1154
1155         * Api/qwebpage.cpp:
1156         (QWebPage::setWindowGeometry):
1157         * Api/qwebpage.h:
1158         * WebCoreSupport/ChromeClientQt.cpp:
1159         (WebCore::ChromeClientQt::setWindowRect):
1160
1161 2007-01-29  George Staikos  <staikos@kde.org>
1162
1163         Make popup windows work.
1164
1165         * Api/qwebpage.cpp:
1166         (QWebPage::createWindow):
1167         * Api/qwebpage.h:
1168         * WebCoreSupport/ChromeClientQt.cpp:
1169         (WebCore::ChromeClientQt::createWindow):
1170
1171 2007-01-29  Lars Knoll <lars@trolltech.com>
1172
1173         Reviewed by Zack
1174
1175         Fix the way we handle native widgets (QWidget) inside
1176         WebCore. Now WebCore::Widget owns the QWidget in all
1177         cases. This is the only way to get well defined semantics
1178         for all teh native widgets we have (currently ScrollView
1179         and ScrollBar, but plugins will follow).
1180
1181         This has the side effect that one cannot rely on a defined 
1182         lifetime of a QWebFrame when using the API. 
1183
1184         * Api/qwebframe.cpp:
1185         (QWebFrame::~QWebFrame):
1186         * Api/qwebpage.cpp:
1187         (QWebPage::~QWebPage):
1188         * Api/qwebpage_p.h:
1189         * WebCoreSupport/FrameLoaderClientQt.cpp:
1190         (WebCore::FrameLoaderClientQt::detachedFromParent3):
1191         (WebCore::FrameLoaderClientQt::detachedFromParent4):
1192         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1193         * WebCoreSupport/FrameLoaderClientQt.h:
1194
1195 2007-01-29  George Staikos  <staikos@kde.org>
1196
1197         Reviewed by Zack.
1198
1199         Implement more functions
1200
1201         * Api/qwebpage.cpp:
1202         (QWebPage::javaScriptConsoleMessage):
1203         (QWebPage::statusTextChanged):
1204         (QWebPage::runJavaScriptAlert):
1205         * Api/qwebpage.h:
1206         * Api/qwebpagehistory.cpp:
1207         (QWebPageHistory::canGoBack):
1208         (QWebPageHistory::canGoForward):
1209         * Api/qwebpagehistory.h:
1210         * WebCoreSupport/ChromeClientQt.cpp:
1211         (WebCore::ChromeClientQt::addMessageToConsole):
1212         (WebCore::ChromeClientQt::runJavaScriptAlert):
1213         * WebCoreSupport/FrameLoaderClientQt.cpp:
1214         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1215
1216 2007-01-26  George Staikos  <staikos@kde.org>
1217
1218         Reviewed by Zack.
1219
1220         Qt implementation.
1221
1222         * Api/qwebframe.cpp:
1223         (QWebFrame::QWebFrame):
1224         (QWebFrame::title):
1225         (QWebFrame::selectedText):
1226         * Api/qwebframe.h:
1227         * Api/qwebframe_p.h:
1228         * Api/qwebpage.cpp:
1229         (QWebPage::createFrame):
1230         (QWebPage::open):
1231         (QWebPage::url):
1232         (QWebPage::title):
1233         (QWebPage::focusFrame):
1234         (QWebPage::stop):
1235         * Api/qwebpage.h:
1236         * WebCoreSupport/FrameLoaderClientQt.cpp:
1237         (WebCore::FrameLoaderClientQt::setFrame):
1238         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1239         (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1240         (WebCore::FrameLoaderClientQt::didChangeTitle):
1241         (WebCore::FrameLoaderClientQt::setTitle):
1242         * WebCoreSupport/FrameLoaderClientQt.h:
1243
1244 2007-01-26  Lars Knoll <lars@trolltech.com>
1245
1246         Make it compile again with Qt 4.2 and add the copyright
1247         headers where forgotten in the last submit.
1248
1249         * Api/qwebpagehistory.cpp:
1250         * Api/qwebpagehistory.h:
1251         (QExplicitlySharedDataPointer::operator*):
1252         (QExplicitlySharedDataPointer::operator->):
1253         (QExplicitlySharedDataPointer::operator T *):
1254         (QExplicitlySharedDataPointer::operator const T *):
1255         (QExplicitlySharedDataPointer::data):
1256         (QExplicitlySharedDataPointer::constData):
1257         (QExplicitlySharedDataPointer::operator==):
1258         (QExplicitlySharedDataPointer::operator!=):
1259         (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1260         (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1261         (QExplicitlySharedDataPointer::operator=):
1262         (QExplicitlySharedDataPointer::operator!):
1263         (::QExplicitlySharedDataPointer):
1264
1265 2007-01-26  Zack Rusin  <zrusin@trolltech.com>
1266
1267         Reviewed by Lars
1268
1269         Implement history support on platform Qt.
1270
1271         * Api/qwebpage.cpp:
1272         (QWebPage::history):
1273         (QWebPage::goBack):
1274         (QWebPage::goForward):
1275         (QWebPage::goToHistoryItem):
1276         * Api/qwebpage.h:
1277         * Api/qwebpagehistory.cpp: Added.
1278         (QWebHistoryItem::~QWebHistoryItem):
1279         (QWebHistoryItem::originalUrl):
1280         (QWebHistoryItem::currentUrl):
1281         (QWebHistoryItem::title):
1282         (QWebHistoryItem::lastVisited):
1283         (QWebHistoryItem::icon):
1284         (QWebHistoryItem::QWebHistoryItem):
1285         (QWebPageHistory::QWebPageHistory):
1286         (QWebPageHistory::itemAtIndex):
1287         (QWebPageHistory::~QWebPageHistory):
1288         (QWebPageHistory::items):
1289         (QWebPageHistory::backItems):
1290         (QWebPageHistory::forwardItems):
1291         (QWebPageHistory::goBack):
1292         (QWebPageHistory::goForward):
1293         (QWebPageHistory::goToItem):
1294         (QWebPageHistory::backItem):
1295         (QWebPageHistory::currentItem):
1296         (QWebPageHistory::forwardItem):
1297         * Api/qwebpagehistory.h: Added.
1298         * Api/qwebpagehistory_p.h: Added.
1299         (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1300         (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1301         (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1302         (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1303
1304 2007-01-26  Lars Knoll <lars@trolltech.com>
1305
1306         Get rid of FrameQtClient. It's unused since we moved over
1307         to the loader.
1308
1309         * Api/qwebframe.cpp:
1310         (QWebFrame::QWebFrame):
1311
1312 2007-01-26  Zack Rusin  <zack@kde.org>
1313
1314         Reviewed by Lars
1315
1316         Correctly position child frames within the 
1317         toplevel frame. We were placed it on the widget
1318         itself instead of the vieweport.
1319
1320         * Api/qwebframe.cpp:
1321         (QWebFrame::QWebFrame):
1322
1323 2007-01-26  Lars Knoll <lars@trolltech.com>
1324
1325         Reviewed by Zack
1326
1327         Make sure we resize the HTML when resizing a 
1328         QWebFrame. Also ensure that the render tree
1329         is up to date before dumping it.
1330
1331         * Api/qwebframe.cpp:
1332         (QWebFrame::innerText):
1333         (QWebFrame::renderTreeDump):
1334         (QWebFrame::resizeEvent):
1335         * Api/qwebframe.h:
1336         * Api/qwebpage.cpp:
1337         (QWebPagePrivate::createMainFrame):
1338
1339 2007-01-26  Zack Rusin  <zack@kde.org>
1340
1341         Reviewed by Lars
1342
1343         Display pages inside a mainwindow instead
1344         of a custom qwidget.
1345
1346         * QtLauncher/main.cpp:
1347         (MainWindow::MainWindow):
1348         (main):
1349
1350 2007-01-25  Lars Knoll <lars@trolltech.com>
1351
1352         Reviewed by Zack
1353
1354         Emit the loadDone() signal from teh onload event callback
1355         again. This hangs on one or two test cases, but removes
1356         hundreds of failures elsewhere.
1357
1358         * WebCoreSupport/FrameLoaderClientQt.cpp:
1359         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1360         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1361
1362 2007-01-24  Lars Knoll <lars@trolltech.com>
1363
1364         Reviewed by Zack
1365
1366         Implement some bits and pieces required by the loader.
1367         Fixes quite a few crashes and hangs in the lyout tests
1368
1369         * Api/qwebframe.h:
1370         * WebCoreSupport/FrameLoaderClientQt.cpp:
1371         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1372         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1373         (WebCore::FrameLoaderClientQt::finishedLoading):
1374         (WebCore::FrameLoaderClientQt::setMainDocumentError):
1375         (WebCore::FrameLoaderClientQt::committedLoad):
1376         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1377         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1378         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1379         (WebCore::FrameLoaderClientQt::createFrame):
1380
1381 2007-01-24  Lars Knoll <lars@trolltech.com>
1382
1383         Fix compilation again.
1384
1385         * WebCoreSupport/EditorClientQt.cpp:
1386         (WebCore::EditorClientQt::handleKeyPress):
1387         * WebCoreSupport/EditorClientQt.h:
1388
1389 2007-01-23  Lars Knoll <lars@trolltech.com>
1390
1391         Reviewed by Zack
1392
1393         Fix refcounting of FrameViews (they get created with a
1394         refcount of 1) and add a few safety checks to the 
1395         FrameLoaderClientQt.
1396
1397         * Api/qwebframe.cpp:
1398         (QWebFrame::QWebFrame):
1399         (QWebFrame::~QWebFrame):
1400         * WebCoreSupport/FrameLoaderClientQt.cpp:
1401         (WebCore::FrameLoaderClientQt::detachedFromParent3):
1402         (WebCore::FrameLoaderClientQt::detachedFromParent4):
1403         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1404         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1405         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1406         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1407         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1408         (WebCore::FrameLoaderClientQt::windowObjectCleared):
1409
1410 2007-01-23  Zack Rusin  <zack@kde.org>
1411
1412         Adjust the DragClientQt to latest changes.
1413
1414         * Api/qwebpage.cpp:
1415         (QWebPagePrivate::QWebPagePrivate):
1416         * WebCoreSupport/DragClientQt.cpp:
1417         (WebCore::DragClientQt::dragControllerDestroyed):
1418         * WebCoreSupport/DragClientQt.h:
1419
1420 2007-01-23  Zack Rusin  <zack@kde.org>
1421
1422         Fix the Qt build
1423
1424         * WebCoreSupport/DragClientQt.cpp:
1425         (WebCore::DragClientQt::willPerformDragDestinationAction):
1426         * WebCoreSupport/DragClientQt.h:
1427
1428 2007-01-23  Lars Knoll <lars@trolltech.com>
1429
1430         Reviewed by Maciej
1431
1432         Add support for Frames to the Qt build and fix some issues
1433         in the API classes.
1434
1435         * Api/qwebframe.cpp:
1436         (QWebFrame::QWebFrame):
1437         (QWebFrame::~QWebFrame):
1438         * Api/qwebframe.h:
1439         * Api/qwebframe_p.h:
1440         * Api/qwebpage.cpp:
1441         (QWebPagePrivate::QWebPagePrivate):
1442         (QWebPagePrivate::createMainFrame):
1443         (QWebPage::createFrame):
1444         * Api/qwebpage.h:
1445         * WebCoreSupport/FrameLoaderClientQt.cpp:
1446         (WebCore::FrameLoaderClientQt::detachedFromParent3):
1447         (WebCore::FrameLoaderClientQt::detachedFromParent4):
1448         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1449         (WebCore::FrameLoaderClientQt::windowObjectCleared):
1450         (WebCore::FrameLoaderClientQt::createFrame):
1451         (WebCore::FrameLoaderClientQt::objectContentType):
1452         (WebCore::FrameLoaderClientQt::createPlugin):
1453         (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1454         (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1455         (WebCore::FrameLoaderClientQt::overrideMediaType):
1456         * WebCoreSupport/FrameLoaderClientQt.h:
1457
1458 2007-01-23  Oliver Hunt  <oliver@apple.com>
1459
1460         Reviewed by Adam.
1461
1462         Qt build stubs for Drop logic
1463
1464         * WebCoreSupport/DragClientQt.cpp: Added.
1465         (WebCore::DragClientQt::actionMaskForDrag):
1466         (WebCore::DragClientQt::willPerformDragDestinationAction):
1467         * WebCoreSupport/DragClientQt.h: Added.
1468         * WebKitPart/WebKitPart.cpp:
1469         (WebKitPart::initView):
1470
1471 2007-01-19  John Sullivan  <sullivan@apple.com>
1472
1473         Added stubs for new callbacks, to try to avoid breaking the Qt port.
1474
1475         * WebCoreSupport/FrameLoaderClientQt.cpp:
1476         (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1477         * WebCoreSupport/FrameLoaderClientQt.h:
1478
1479 2007-01-19  Anders Carlsson  <acarlsson@apple.com>
1480
1481         Try fixing the QT build.
1482         
1483         * WebCoreSupport/ChromeClientQt.cpp:
1484         (WebCore::ChromeClientQt::runJavaScriptAlert):
1485         (WebCore::ChromeClientQt::runJavaScriptConfirm):
1486         (WebCore::ChromeClientQt::runJavaScriptPrompt):
1487         (WebCore::ChromeClientQt::setStatusbarText):
1488         * WebCoreSupport/ChromeClientQt.h:
1489
1490 2007-01-18  Zack Rusin  <zack@kde.org>
1491
1492         Reviewed by Lars.
1493
1494         Implementing a little bit of load progress tracking in the Qt port.
1495
1496         * Api/qwebframe.cpp:
1497         (QWebFrame::QWebFrame):
1498         (QWebFrame::page):
1499         * Api/qwebframe.h:
1500         * Api/qwebframe_p.h:
1501         (QWebFramePrivate::QWebFramePrivate):
1502         * Api/qwebpage.h:
1503         * QtLauncher/main.cpp:
1504         (main):
1505         * WebCoreSupport/FrameLoaderClientQt.cpp:
1506         (WebCore::FrameLoaderClientQt::setFrame):
1507         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1508         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1509         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1510         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1511         * WebCoreSupport/FrameLoaderClientQt.h:
1512
1513 2007-01-17  Alice Liu  <alice.liu@apple.com>
1514
1515         Added these stubs to keep the Qt build from failing.
1516
1517         * WebCoreSupport/EditorClientQt.cpp:
1518         (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1519         * WebCoreSupport/EditorClientQt.h:
1520
1521 2007-01-17  Lars Knoll <lars@trolltech.com>
1522
1523         Reviewed by Zack
1524
1525         Remove the inheritance from Shared<XxxClient> in the
1526         client classes.
1527
1528         Answer asynchronously to most of the Policy checking methods
1529         in FrameLoaderClientQt to avoid some crashes in the loader.
1530
1531         * WebCoreSupport/ChromeClientQt.cpp:
1532         * WebCoreSupport/ChromeClientQt.h:
1533         * WebCoreSupport/ContextMenuClientQt.cpp:
1534         * WebCoreSupport/ContextMenuClientQt.h:
1535         * WebCoreSupport/EditorClientQt.cpp:
1536         * WebCoreSupport/EditorClientQt.h:
1537         * WebCoreSupport/FrameLoaderClientQt.cpp:
1538         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1539         (WebCore::FrameLoaderClientQt::callPolicyFunction):
1540         (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1541         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1542         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1543         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1544         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1545         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1546         * WebCoreSupport/FrameLoaderClientQt.h:
1547
1548 2007-01-17  Lars Knoll <lars@trolltech.com>
1549
1550         Reviewed by Zack
1551
1552         change all notImplemented() macros to use qDebug
1553         instead of fprintf(stder, ...)
1554
1555         * WebCoreSupport/ChromeClientQt.cpp:
1556         * WebCoreSupport/ContextMenuClientQt.cpp:
1557         * WebCoreSupport/EditorClientQt.cpp:
1558         * WebCoreSupport/FrameLoaderClientQt.cpp:
1559
1560 2007-01-16  Alice Liu  <alice.liu@apple.com>
1561
1562         Added these stubs to keep the Qt build from failing.
1563
1564         * WebCoreSupport/EditorClientQt.cpp:
1565         (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1566         * WebCoreSupport/EditorClientQt.h:
1567
1568 2007-01-16  Lars Knoll <lars@trolltech.com>
1569
1570         Reviewed by Zack
1571
1572         Added the start of a public API to the Qt build
1573         of WebKit. Currently we have QWebPage and QWebFrame
1574         with a few small methods.
1575
1576         Converted the QtLauncher to use the new public API.
1577
1578         * Api/qwebframe.cpp: Added.
1579         (QWebFrame::QWebFrame):
1580         (QWebFrame::~QWebFrame):
1581         (QWebFrame::addToJSWindowObject):
1582         (QWebFrame::markup):
1583         (QWebFrame::innerText):
1584         (QWebFrame::renderTreeDump):
1585         * Api/qwebframe.h: Added.
1586         * Api/qwebframe_p.h: Added.
1587         (QWebFramePrivate::QWebFramePrivate):
1588         * Api/qwebpage.cpp: Added.
1589         (QWebPagePrivate::QWebPagePrivate):
1590         (QWebPagePrivate::~QWebPagePrivate):
1591         (QWebPagePrivate::createMainFrame):
1592         (QWebPage::QWebPage):
1593         (QWebPage::~QWebPage):
1594         (QWebPage::createFrame):
1595         (QWebPage::open):
1596         (QWebPage::mainFrame):
1597         (QWebPage::sizeHint):
1598         * Api/qwebpage.h: Added.
1599         * Api/qwebpage_p.h: Added.
1600         * QtLauncher/main.cpp:
1601         (main):
1602         * WebCoreSupport/ChromeClientQt.cpp:
1603         (WebCore::ChromeClientQt::ChromeClientQt):
1604         (WebCore::ChromeClientQt::setWindowRect):
1605         (WebCore::ChromeClientQt::windowRect):
1606         (WebCore::ChromeClientQt::pageRect):
1607         (WebCore::ChromeClientQt::focus):
1608         (WebCore::ChromeClientQt::unfocus):
1609         (WebCore::ChromeClientQt::canTakeFocus):
1610         (WebCore::ChromeClientQt::takeFocus):
1611         (WebCore::ChromeClientQt::createWindow):
1612         (WebCore::ChromeClientQt::createModalDialog):
1613         (WebCore::ChromeClientQt::show):
1614         (WebCore::ChromeClientQt::addMessageToConsole):
1615         (WebCore::ChromeClientQt::chromeDestroyed):
1616         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1617         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1618         (WebCore::ChromeClientQt::closeWindowSoon):
1619         * WebCoreSupport/ChromeClientQt.h:
1620         * WebCoreSupport/FrameLoaderClientQt.cpp:
1621         (WebCore::FrameLoaderClientQt::setFrame):
1622         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1623         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1624         (WebCore::FrameLoaderClientQt::partClearedInBegin):
1625         * WebCoreSupport/FrameLoaderClientQt.h:
1626
1627 2007-01-15  Anders Carlsson  <acarlsson@apple.com>
1628
1629         Fix build.
1630         
1631         * WebCoreSupport/FrameLoaderClientQt.cpp:
1632         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1633         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1634         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1635         * WebCoreSupport/FrameLoaderClientQt.h:
1636
1637 2007-01-13  Lars Knoll <lars@trolltech.com>
1638
1639         Compile again after yesterdays changes.
1640
1641         * WebCoreSupport/FrameLoaderClientQt.cpp:
1642         (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1643         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1644         (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1645         (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1646         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1647         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1648         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1649         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1650         (WebCore::FrameLoaderClientQt::incrementProgress):
1651         (WebCore::FrameLoaderClientQt::completeProgress):
1652         * WebCoreSupport/FrameLoaderClientQt.h:
1653
1654 2007-01-11  Brady Eidson  <beidson@apple.com>
1655
1656         Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore
1657         Yay for the loader on QT!
1658
1659         * WebCoreSupport/FrameLoaderClientQt.cpp:
1660         (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1661         (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1662         * WebCoreSupport/FrameLoaderClientQt.h:
1663
1664 2007-01-11  Lars Knoll <lars@trolltech.com>
1665
1666         Reviewed by Darin
1667
1668         Start using the loader in the Qt port.
1669
1670         * QtLauncher/main.cpp:
1671         (main):
1672         * WebCoreSupport/FrameLoaderClientQt.cpp:
1673         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1674         (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1675         (WebCore::FrameLoaderClientQt::setFrame):
1676         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1677         (WebCore::FrameLoaderClientQt::makeDocumentView):
1678         (WebCore::FrameLoaderClientQt::makeRepresentation):
1679         (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1680         (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1681         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1682         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1683         (WebCore::FrameLoaderClientQt::progressStarted):
1684         (WebCore::FrameLoaderClientQt::progressCompleted):
1685         (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1686         (WebCore::FrameLoaderClientQt::clearArchivedResources):
1687         (WebCore::FrameLoaderClientQt::canShowMIMEType):
1688         (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1689         (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1690         (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1691         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1692         (WebCore::FrameLoaderClientQt::canHandleRequest):
1693         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1694         (WebCore::FrameLoaderClientQt::canCachePage):
1695         (WebCore::FrameLoaderClientQt::committedLoad):
1696         (WebCore::FrameLoaderClientQt::cancelledError):
1697         (WebCore::FrameLoaderClientQt::cannotShowURLError):
1698         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1699         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1700         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1701         (WebCore::FrameLoaderClientQt::shouldFallBack):
1702         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1703         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1704         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1705         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1706         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1707         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1708         (WebCore::FrameLoaderClientQt::willUseArchive):
1709         * WebCoreSupport/FrameLoaderClientQt.h:
1710
1711 2007-01-11  George Staikos  <staikos@kde.org>
1712
1713         Fix Qt Build.
1714
1715         * WebCoreSupport/ContextMenuClientQt.cpp:
1716         (WebCore::ContextMenuClientQt::searchWithGoogle):
1717         * WebCoreSupport/ContextMenuClientQt.h:
1718
1719 2007-01-06  George Staikos  <staikos@kde.org>
1720
1721         Reviewed by Brady.
1722
1723         Make it link.
1724
1725         * WebCoreSupport/FrameLoaderClientQt.cpp:
1726         (WebCore::FrameLoaderClientQt::setMainDocumentError):
1727         (WebCore::FrameLoaderClientQt::committedLoad):
1728         (WebCore::FrameLoaderClientQt::cancelledError):
1729         (WebCore::FrameLoaderClientQt::cannotShowURLError):
1730         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1731         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1732         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1733         (WebCore::FrameLoaderClientQt::shouldFallBack):
1734         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1735         (WebCore::FrameLoaderClientQt::download):
1736         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1737         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1738         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1739         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1740         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1741         (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1742         (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1743         (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1744         (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1745         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1746         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1747         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1748         (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1749         (WebCore::FrameLoaderClientQt::incrementProgress):
1750         (WebCore::FrameLoaderClientQt::completeProgress):
1751         (WebCore::FrameLoaderClientQt::startDownload):
1752         (WebCore::FrameLoaderClientQt::willUseArchive):
1753         * WebCoreSupport/FrameLoaderClientQt.h:
1754
1755 2007-01-05  Lars Knoll <lars@trolltech.com>
1756
1757         Make the Qt build compile again
1758
1759         * WebCoreSupport/ChromeClientQt.cpp:
1760         (WebCore::ChromeClientQt::canTakeFocus):
1761         (WebCore::ChromeClientQt::takeFocus):
1762         * WebCoreSupport/ChromeClientQt.h:
1763         * WebCoreSupport/ContextMenuClientQt.cpp:
1764         (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1765         * WebCoreSupport/ContextMenuClientQt.h:
1766
1767 2007-01-03  Lars Knoll <lars@trolltech.com>
1768
1769         Fix the Qt build
1770
1771         * WebCoreSupport/FrameLoaderClientQt.cpp:
1772         (WebCore::FrameLoaderClientQt::setDocumentViewFromPageCache):
1773         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1774         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1775         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1776         (WebCore::FrameLoaderClientQt::saveScrollPositionAndViewStateToItem):
1777         (WebCore::FrameLoaderClientQt::saveDocumentViewToPageCache):
1778         (WebCore::FrameLoaderClientQt::canCachePage):
1779         * WebCoreSupport/FrameLoaderClientQt.h:
1780
1781 2006-12-29  George Staikos  <staikos@kde.org>
1782
1783         Add missing notimplemented.
1784
1785         * WebCoreSupport/FrameLoaderClientQt.cpp:
1786         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1787         (WebCore::FrameLoaderClientQt::canHandleRequest):
1788         (WebCore::FrameLoaderClientQt::partClearedInBegin):
1789
1790 2006-12-21  Lars Knoll <lars@trolltech.com>
1791
1792         Reviewed by Zack
1793
1794         * WebCoreSupport/FrameLoaderClientQt.cpp:
1795         (WebCore::FrameLoaderClientQt::hasWebView):
1796         (WebCore::FrameLoaderClientQt::hasFrameView):
1797         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1798         (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1799         (WebCore::FrameLoaderClientQt::setTitle):
1800         (WebCore::FrameLoaderClientQt::partClearedInBegin):
1801         * WebCoreSupport/FrameLoaderClientQt.h:
1802                  Remove some runtimw warnings
1803                  Add partClearedInBegin forwarding call, so
1804                  I can catch this in the layout tests.
1805
1806 2006-12-19  Lars Knoll <lars@trolltech.com>
1807
1808         Reviewed by Rob.
1809
1810         * WebCoreSupport/ChromeClientQt.cpp:
1811         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1812         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1813         (WebCore::ChromeClientQt::closeWindowSoon):
1814         * WebCoreSupport/ChromeClientQt.h:
1815                 Make it compile.
1816
1817 2006-12-16  Zack Rusin  <zack@kde.org>
1818
1819         Adjust the client to the most recent interface.
1820
1821         * WebCoreSupport/ContextMenuClientQt.cpp:
1822         (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1823         (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
1824         (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1825         (WebCore::ContextMenuClientQt::downloadURL):
1826         (WebCore::ContextMenuClientQt::copyImageToClipboard):
1827         (WebCore::ContextMenuClientQt::lookUpInDictionary):
1828         * WebCoreSupport/ContextMenuClientQt.h:
1829
1830 2006-12-14  Simon Hausmann  <hausmann@kde.org>
1831
1832         Reviewed by Zack.
1833
1834         * QtLauncher/QtLauncher.pro: Link this little test program
1835         with rpath, for convenience. (This is never going to get installed
1836         anyway)
1837
1838 2006-12-12  George Staikos  <staikos@kde.org>
1839
1840         Reviewed by Alexey.
1841
1842         Fix the Qt build again.
1843
1844         * WebCoreSupport/ContextMenuClientQt.cpp:
1845         (WebCore::ContextMenuClientQt::speak):
1846         (WebCore::ContextMenuClientQt::stopSpeaking):
1847         * WebCoreSupport/ContextMenuClientQt.h:
1848         * WebCoreSupport/EditorClientQt.cpp:
1849         (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1850         (WebCore::EditorClientQt::toggleGrammarChecking):
1851         * WebCoreSupport/EditorClientQt.h:
1852
1853 2006-12-10  George Staikos  <staikos@kde.org>
1854
1855         Reviewed by Zack.
1856
1857         Add a default user agent for now.
1858
1859         * WebCoreSupport/FrameLoaderClientQt.cpp:
1860         (WebCore::FrameLoaderClientQt::userAgent):
1861
1862 2006-12-10  Lars Knoll <lars@trolltech.com>
1863
1864         Reviewed by Zack
1865
1866         Comment out a notImplemented() warning
1867
1868         * WebCoreSupport/EditorClientQt.cpp:
1869         (WebCore::EditorClientQt::clearUndoRedoOperations):
1870
1871 2006-12-10  Zack Rusin  <zack@kde.org>
1872
1873         Print out the method name if it's unimplemented.
1874
1875         * WebCoreSupport/FrameLoaderClientQt.cpp:
1876
1877 2006-12-10  Zack Rusin  <zack@kde.org>
1878
1879         Moving the clients from platform to their final location.
1880
1881         * WebCoreSupport/FrameLoaderClientQt.cpp: Added.
1882         * WebCoreSupport/FrameLoaderClientQt.h: Added.
1883         * WebCoreSupport/ChromeClientQt.cpp: Added.
1884         * WebCoreSupport/ChromeClientQt.h: Added.
1885         * WebCoreSupport/ContextMenuClientQt.cpp: Added.
1886         * WebCoreSupport/ContextMenuClientQt.h: Added.
1887         * WebCoreSupport/EditorClientQt.cpp: Added.
1888         * WebCoreSupport/EditorClientQt.h: Added.
1889
1890 2006-12-10  Zack Rusin  <zack@kde.org>
1891
1892         Adjusting to the changes in platform/qt.
1893
1894         * QtLauncher/main.cpp:
1895         (main):
1896
1897 2006-12-09  Lars Knoll <lars@trolltech.com>
1898
1899         Reviewed by Zack
1900
1901         Make it possible to build WebKit with qmake.
1902
1903         * QtLauncher/QtLauncher.pro: Added.
1904         * QtLauncher/main.cpp:
1905
1906 2006-12-08  Zack Rusin  <zack@kde.org>
1907
1908         Reviewed by Maciej.
1909
1910         Fix the build after the recent changes.
1911
1912         * QtLauncher/main.cpp:
1913         (main):
1914         * WebKitPart/WebKitPart.cpp:
1915         (WebKitPart::initView):
1916
1917 2006-11-19  Simon Hausmann  <hausmann@kde.org>
1918
1919         Reviewed by Zack.
1920
1921         http://bugs.webkit.org/show_bug.cgi?id=11649
1922         Fix Qt-only build
1923
1924         * QtLauncher/CMakeLists.txt:
1925
1926 2006-11-17  Zack Rusin  <zack@kde.org>
1927
1928         Reviewed by Mitz. Landed by Niko.
1929
1930         Adjusting to the new api.
1931
1932         * QtLauncher/main.cpp:
1933         (main):
1934         * WebKitPart/WebKitPart.cpp:
1935         (WebKitPart::initView):
1936
1937 2006-11-10  Zack Rusin  <zack@kde.org>
1938
1939         Reviewed and landed by Anders.
1940
1941         Adjusting to the recent loader changes, making it compile
1942         and work.
1943
1944         * QtLauncher/main.cpp:
1945         (main):
1946         * WebKitPart/WebKitPart.cpp:
1947         (WebKitPart::closeUrl):
1948         (WebKitPart::initView):
1949
1950 2006-11-03  Zack Rusin  <zack@kde.org>
1951
1952         Reviewed by Maciej.
1953
1954         Fixing compile on both Qt and KDE platforms.
1955
1956         * QtLauncher/main.cpp:
1957         (main): url has already been defined
1958         * WebKitPart/WebKitPartBrowserExtension.cpp: removing
1959         duplicate implementation of this class
1960
1961 2006-10-31  Simon Hausmann  <hausmann@kde.org>
1962
1963         Reviewed by Maciej, landed by Anders.
1964
1965         * QtLauncher/CMakeLists.txt: Make linkage against kde libraries
1966           optional
1967         * QtLauncher/main.cpp: Make it compile without KDE.
1968         (main):
1969
1970 2006-11-02  Simon Hausmann  <hausmann@kde.org>
1971
1972         Reviewed by Maciej, landed by Anders.
1973
1974         * QtLauncher/main.cpp:
1975         (main): Declare our frame as main frame to the Page object.
1976         Fixes crashes on various web sites
1977
1978 2006-10-31  Zack Rusin  <zack@kde.org>
1979
1980         Reviewed by Mitz.
1981
1982         Fix the Qt build after last nights changes.
1983
1984         * QtLauncher/CMakeLists.txt:
1985         * WebKitPart/CMakeLists.txt:
1986
1987 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
1988
1989         Reviewed by Darin.
1990
1991         Fix Qt/Linux build.
1992
1993         * QtLauncher/main.cpp:
1994         (main):
1995         * WebKitPart/WebKitPart.cpp:
1996         (WebKitPart::openUrl):
1997
1998 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
1999
2000         Reviewed by Maciej.
2001
2002         Fix Qt/Linux build.
2003
2004         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
2005         - Fix CMakeLists.txt to include platform/network.
2006
2007         * QtLauncher/CMakeLists.txt:
2008         * WebKitPart/CMakeLists.txt:
2009
2010 2006-10-24  Simon Hausmann  <hausmann@kde.org>
2011
2012         Reviewed by Darin.
2013
2014         * QtLauncher/CMakeLists.txt, WebKitPart/CMakeLists.txt: Added project name to
2015           kde4_automoc macro, as required by the latest KDE4 cmake module.
2016
2017 2006-10-20  Nikolas Zimmermann  <zimmermann@kde.org>
2018
2019         Reviewed and landed by Anders.
2020
2021         Adapt to FrameQtClient changes, and provide some kind of status
2022         information to the KPart wheter we're loading or not (started/completed signaling).
2023
2024         * WebKitPart/CMakeLists.txt:
2025         * WebKitPart/WebKitPart.cpp:
2026         (WebKitPart::WebKitPart):
2027         (WebKitPart::~WebKitPart):
2028         (WebKitPart::openUrl):
2029         (WebKitPart::initView):
2030         * WebKitPart/WebKitPart.h:
2031         * WebKitPart/WebKitPartBrowserExtension.cpp: Added.
2032         (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
2033         (WebKitPartBrowserExtension::~WebKitPartBrowserExtension):
2034         * WebKitPart/WebKitPartBrowserExtension.h: Added.
2035         * WebKitPart/WebKitPartClient.cpp:
2036         (WebKitPartClient::WebKitPartClient):
2037         (WebKitPartClient::loadFinished):
2038         * WebKitPart/WebKitPartClient.h:
2039         * WebKitPart/WebKitPartInterface.h:
2040
2041 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
2042
2043         Reviewed by eseidel.  Landed by eseidel.
2044
2045         Fix last remaining issue Qt/Linux build with gcc3.
2046
2047         * WebKitPart/WebKitPart.h: Remove Q_PROPERTY usage, which is not needed and made problems.
2048
2049 2006-09-10  Nikolas Zimmermann  <zimmermann@kde.org>
2050
2051         Reviewed and landed by ap.
2052
2053         Fix QtLauncher - it is supposed to create a FrameView on its own nowadays.
2054
2055         * QtLauncher/main.cpp:
2056         (main):
2057
2058 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
2059
2060         Reviewed by Tim H.
2061
2062         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
2063         Move QtLauncher down to WebKitQt.
2064
2065         * QtLauncher/CMakeLists.txt: Added.
2066         * QtLauncher/main.cpp: Added.
2067         (main):
2068
2069 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
2070
2071         Reviewed by Darin. Final polish by Sam.
2072
2073         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
2074         Add WebKitPart, an embeddable KPart for the KDE platform.
2075
2076         * WebKitPart/CMakeLists.txt: Added.
2077         * WebKitPart/WebKitFactory.cpp: Added.
2078         (WebKitFactory::WebKitFactory):
2079         (WebKitFactory::~WebKitFactory):
2080         (WebKitFactory::createPartObject):
2081         (WebKitFactory::instance):
2082         (WebKitFactory::ref):
2083         (WebKitFactory::deref):
2084         (init_libWebKitPart):
2085         * WebKitPart/WebKitFactory.h: Added.
2086         * WebKitPart/WebKitPart.cpp: Added.
2087         (WebKitPart::WebKitPart):
2088         (WebKitPart::~WebKitPart):
2089         (WebKitPart::openFile):
2090         (WebKitPart::openUrl):
2091         (WebKitPart::closeUrl):
2092         (WebKitPart::parentPart):
2093         (WebKitPart::frame):
2094         (WebKitPart::initView):
2095         * WebKitPart/WebKitPart.desktop: Added.
2096         * WebKitPart/WebKitPart.h: Added.
2097         (WebKitPart::):
2098         * WebKitPart/WebKitPart.rc: Added.
2099         * WebKitPart/WebKitPartBrowser.rc: Added.
2100         * WebKitPart/WebKitPartClient.cpp: Added.
2101         (WebKitPartClient::WebKitPartClient):
2102         (WebKitPartClient::~WebKitPartClient):
2103         * WebKitPart/WebKitPartClient.h: Added.
2104         * WebKitPart/WebKitPartInterface.cpp: Added.
2105         (WebKitPartInterface::WebKitPartInterface):
2106         (WebKitPartInterface::~WebKitPartInterface):
2107         (WebKitPartInterface::url):
2108         (WebKitPartInterface::closeURL):
2109         * WebKitPart/WebKitPartInterface.h: Added.
2110         * WebKitPart/org.kde.WebKitPart.xml: Added.
2111