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