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