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