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