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