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