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