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