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