Fix redirects with the Qt resource implementation.
[WebKit-https.git] / WebKitQt / ChangeLog
1 2007-01-26  George Staikos  <staikos@kde.org>
2
3         Reviewed by Zack.
4
5         Qt implementation.
6
7         * Api/qwebframe.cpp:
8         (QWebFrame::QWebFrame):
9         (QWebFrame::title):
10         (QWebFrame::selectedText):
11         * Api/qwebframe.h:
12         * Api/qwebframe_p.h:
13         * Api/qwebpage.cpp:
14         (QWebPage::createFrame):
15         (QWebPage::open):
16         (QWebPage::url):
17         (QWebPage::title):
18         (QWebPage::focusFrame):
19         (QWebPage::stop):
20         * Api/qwebpage.h:
21         * WebCoreSupport/FrameLoaderClientQt.cpp:
22         (WebCore::FrameLoaderClientQt::setFrame):
23         (WebCore::FrameLoaderClientQt::detachFrameLoader):
24         (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
25         (WebCore::FrameLoaderClientQt::didChangeTitle):
26         (WebCore::FrameLoaderClientQt::setTitle):
27         * WebCoreSupport/FrameLoaderClientQt.h:
28
29 2007-01-26  Lars Knoll <lars@trolltech.com>
30
31         Make it compile again with Qt 4.2 and add the copyright
32         headers where forgotten in the last submit.
33
34         * Api/qwebpagehistory.cpp:
35         * Api/qwebpagehistory.h:
36         (QExplicitlySharedDataPointer::operator*):
37         (QExplicitlySharedDataPointer::operator->):
38         (QExplicitlySharedDataPointer::operator T *):
39         (QExplicitlySharedDataPointer::operator const T *):
40         (QExplicitlySharedDataPointer::data):
41         (QExplicitlySharedDataPointer::constData):
42         (QExplicitlySharedDataPointer::operator==):
43         (QExplicitlySharedDataPointer::operator!=):
44         (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
45         (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
46         (QExplicitlySharedDataPointer::operator=):
47         (QExplicitlySharedDataPointer::operator!):
48         (::QExplicitlySharedDataPointer):
49
50 2007-01-26  Zack Rusin  <zrusin@trolltech.com>
51
52         Reviewed by Lars
53
54         Implement history support on platform Qt.
55
56         * Api/qwebpage.cpp:
57         (QWebPage::history):
58         (QWebPage::goBack):
59         (QWebPage::goForward):
60         (QWebPage::goToHistoryItem):
61         * Api/qwebpage.h:
62         * Api/qwebpagehistory.cpp: Added.
63         (QWebHistoryItem::~QWebHistoryItem):
64         (QWebHistoryItem::originalUrl):
65         (QWebHistoryItem::currentUrl):
66         (QWebHistoryItem::title):
67         (QWebHistoryItem::lastVisited):
68         (QWebHistoryItem::icon):
69         (QWebHistoryItem::QWebHistoryItem):
70         (QWebPageHistory::QWebPageHistory):
71         (QWebPageHistory::itemAtIndex):
72         (QWebPageHistory::~QWebPageHistory):
73         (QWebPageHistory::items):
74         (QWebPageHistory::backItems):
75         (QWebPageHistory::forwardItems):
76         (QWebPageHistory::goBack):
77         (QWebPageHistory::goForward):
78         (QWebPageHistory::goToItem):
79         (QWebPageHistory::backItem):
80         (QWebPageHistory::currentItem):
81         (QWebPageHistory::forwardItem):
82         * Api/qwebpagehistory.h: Added.
83         * Api/qwebpagehistory_p.h: Added.
84         (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
85         (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
86         (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
87         (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
88
89 2007-01-26  Lars Knoll <lars@trolltech.com>
90
91         Get rid of FrameQtClient. It's unused since we moved over
92         to the loader.
93
94         * Api/qwebframe.cpp:
95         (QWebFrame::QWebFrame):
96
97 2007-01-26  Zack Rusin  <zack@kde.org>
98
99         Reviewed by Lars
100
101         Correctly position child frames within the 
102         toplevel frame. We were placed it on the widget
103         itself instead of the vieweport.
104
105         * Api/qwebframe.cpp:
106         (QWebFrame::QWebFrame):
107
108 2007-01-26  Lars Knoll <lars@trolltech.com>
109
110         Reviewed by Zack
111
112         Make sure we resize the HTML when resizing a 
113         QWebFrame. Also ensure that the render tree
114         is up to date before dumping it.
115
116         * Api/qwebframe.cpp:
117         (QWebFrame::innerText):
118         (QWebFrame::renderTreeDump):
119         (QWebFrame::resizeEvent):
120         * Api/qwebframe.h:
121         * Api/qwebpage.cpp:
122         (QWebPagePrivate::createMainFrame):
123
124 2007-01-26  Zack Rusin  <zack@kde.org>
125
126         Reviewed by Lars
127
128         Display pages inside a mainwindow instead
129         of a custom qwidget.
130
131         * QtLauncher/main.cpp:
132         (MainWindow::MainWindow):
133         (main):
134
135 2007-01-25  Lars Knoll <lars@trolltech.com>
136
137         Reviewed by Zack
138
139         Emit the loadDone() signal from teh onload event callback
140         again. This hangs on one or two test cases, but removes
141         hundreds of failures elsewhere.
142
143         * WebCoreSupport/FrameLoaderClientQt.cpp:
144         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
145         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
146
147 2007-01-24  Lars Knoll <lars@trolltech.com>
148
149         Reviewed by Zack
150
151         Implement some bits and pieces required by the loader.
152         Fixes quite a few crashes and hangs in the lyout tests
153
154         * Api/qwebframe.h:
155         * WebCoreSupport/FrameLoaderClientQt.cpp:
156         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
157         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
158         (WebCore::FrameLoaderClientQt::finishedLoading):
159         (WebCore::FrameLoaderClientQt::setMainDocumentError):
160         (WebCore::FrameLoaderClientQt::committedLoad):
161         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
162         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
163         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
164         (WebCore::FrameLoaderClientQt::createFrame):
165
166 2007-01-24  Lars Knoll <lars@trolltech.com>
167
168         Fix compilation again.
169
170         * WebCoreSupport/EditorClientQt.cpp:
171         (WebCore::EditorClientQt::handleKeyPress):
172         * WebCoreSupport/EditorClientQt.h:
173
174 2007-01-23  Lars Knoll <lars@trolltech.com>
175
176         Reviewed by Zack
177
178         Fix refcounting of FrameViews (they get created with a
179         refcount of 1) and add a few safety checks to the 
180         FrameLoaderClientQt.
181
182         * Api/qwebframe.cpp:
183         (QWebFrame::QWebFrame):
184         (QWebFrame::~QWebFrame):
185         * WebCoreSupport/FrameLoaderClientQt.cpp:
186         (WebCore::FrameLoaderClientQt::detachedFromParent3):
187         (WebCore::FrameLoaderClientQt::detachedFromParent4):
188         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
189         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
190         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
191         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
192         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
193         (WebCore::FrameLoaderClientQt::windowObjectCleared):
194
195 2007-01-23  Zack Rusin  <zack@kde.org>
196
197         Adjust the DragClientQt to latest changes.
198
199         * Api/qwebpage.cpp:
200         (QWebPagePrivate::QWebPagePrivate):
201         * WebCoreSupport/DragClientQt.cpp:
202         (WebCore::DragClientQt::dragControllerDestroyed):
203         * WebCoreSupport/DragClientQt.h:
204
205 2007-01-23  Zack Rusin  <zack@kde.org>
206
207         Fix the Qt build
208
209         * WebCoreSupport/DragClientQt.cpp:
210         (WebCore::DragClientQt::willPerformDragDestinationAction):
211         * WebCoreSupport/DragClientQt.h:
212
213 2007-01-23  Lars Knoll <lars@trolltech.com>
214
215         Reviewed by Maciej
216
217         Add support for Frames to the Qt build and fix some issues
218         in the API classes.
219
220         * Api/qwebframe.cpp:
221         (QWebFrame::QWebFrame):
222         (QWebFrame::~QWebFrame):
223         * Api/qwebframe.h:
224         * Api/qwebframe_p.h:
225         * Api/qwebpage.cpp:
226         (QWebPagePrivate::QWebPagePrivate):
227         (QWebPagePrivate::createMainFrame):
228         (QWebPage::createFrame):
229         * Api/qwebpage.h:
230         * WebCoreSupport/FrameLoaderClientQt.cpp:
231         (WebCore::FrameLoaderClientQt::detachedFromParent3):
232         (WebCore::FrameLoaderClientQt::detachedFromParent4):
233         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
234         (WebCore::FrameLoaderClientQt::windowObjectCleared):
235         (WebCore::FrameLoaderClientQt::createFrame):
236         (WebCore::FrameLoaderClientQt::objectContentType):
237         (WebCore::FrameLoaderClientQt::createPlugin):
238         (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
239         (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
240         (WebCore::FrameLoaderClientQt::overrideMediaType):
241         * WebCoreSupport/FrameLoaderClientQt.h:
242
243 2007-01-23  Oliver Hunt  <oliver@apple.com>
244
245         Reviewed by Adam.
246
247         Qt build stubs for Drop logic
248
249         * WebCoreSupport/DragClientQt.cpp: Added.
250         (WebCore::DragClientQt::actionMaskForDrag):
251         (WebCore::DragClientQt::willPerformDragDestinationAction):
252         * WebCoreSupport/DragClientQt.h: Added.
253         * WebKitPart/WebKitPart.cpp:
254         (WebKitPart::initView):
255
256 2007-01-19  John Sullivan  <sullivan@apple.com>
257
258         Added stubs for new callbacks, to try to avoid breaking the Qt port.
259
260         * WebCoreSupport/FrameLoaderClientQt.cpp:
261         (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
262         * WebCoreSupport/FrameLoaderClientQt.h:
263
264 2007-01-19  Anders Carlsson  <acarlsson@apple.com>
265
266         Try fixing the QT build.
267         
268         * WebCoreSupport/ChromeClientQt.cpp:
269         (WebCore::ChromeClientQt::runJavaScriptAlert):
270         (WebCore::ChromeClientQt::runJavaScriptConfirm):
271         (WebCore::ChromeClientQt::runJavaScriptPrompt):
272         (WebCore::ChromeClientQt::setStatusbarText):
273         * WebCoreSupport/ChromeClientQt.h:
274
275 2007-01-18  Zack Rusin  <zack@kde.org>
276
277         Reviewed by Lars.
278
279         Implementing a little bit of load progress tracking in the Qt port.
280
281         * Api/qwebframe.cpp:
282         (QWebFrame::QWebFrame):
283         (QWebFrame::page):
284         * Api/qwebframe.h:
285         * Api/qwebframe_p.h:
286         (QWebFramePrivate::QWebFramePrivate):
287         * Api/qwebpage.h:
288         * QtLauncher/main.cpp:
289         (main):
290         * WebCoreSupport/FrameLoaderClientQt.cpp:
291         (WebCore::FrameLoaderClientQt::setFrame):
292         (WebCore::FrameLoaderClientQt::detachFrameLoader):
293         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
294         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
295         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
296         * WebCoreSupport/FrameLoaderClientQt.h:
297
298 2007-01-17  Alice Liu  <alice.liu@apple.com>
299
300         Added these stubs to keep the Qt build from failing.
301
302         * WebCoreSupport/EditorClientQt.cpp:
303         (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
304         * WebCoreSupport/EditorClientQt.h:
305
306 2007-01-17  Lars Knoll <lars@trolltech.com>
307
308         Reviewed by Zack
309
310         Remove the inheritance from Shared<XxxClient> in the
311         client classes.
312
313         Answer asynchronously to most of the Policy checking methods
314         in FrameLoaderClientQt to avoid some crashes in the loader.
315
316         * WebCoreSupport/ChromeClientQt.cpp:
317         * WebCoreSupport/ChromeClientQt.h:
318         * WebCoreSupport/ContextMenuClientQt.cpp:
319         * WebCoreSupport/ContextMenuClientQt.h:
320         * WebCoreSupport/EditorClientQt.cpp:
321         * WebCoreSupport/EditorClientQt.h:
322         * WebCoreSupport/FrameLoaderClientQt.cpp:
323         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
324         (WebCore::FrameLoaderClientQt::callPolicyFunction):
325         (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
326         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
327         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
328         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
329         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
330         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
331         * WebCoreSupport/FrameLoaderClientQt.h:
332
333 2007-01-17  Lars Knoll <lars@trolltech.com>
334
335         Reviewed by Zack
336
337         change all notImplemented() macros to use qDebug
338         instead of fprintf(stder, ...)
339
340         * WebCoreSupport/ChromeClientQt.cpp:
341         * WebCoreSupport/ContextMenuClientQt.cpp:
342         * WebCoreSupport/EditorClientQt.cpp:
343         * WebCoreSupport/FrameLoaderClientQt.cpp:
344
345 2007-01-16  Alice Liu  <alice.liu@apple.com>
346
347         Added these stubs to keep the Qt build from failing.
348
349         * WebCoreSupport/EditorClientQt.cpp:
350         (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
351         * WebCoreSupport/EditorClientQt.h:
352
353 2007-01-16  Lars Knoll <lars@trolltech.com>
354
355         Reviewed by Zack
356
357         Added the start of a public API to the Qt build
358         of WebKit. Currently we have QWebPage and QWebFrame
359         with a few small methods.
360
361         Converted the QtLauncher to use the new public API.
362
363         * Api/qwebframe.cpp: Added.
364         (QWebFrame::QWebFrame):
365         (QWebFrame::~QWebFrame):
366         (QWebFrame::addToJSWindowObject):
367         (QWebFrame::markup):
368         (QWebFrame::innerText):
369         (QWebFrame::renderTreeDump):
370         * Api/qwebframe.h: Added.
371         * Api/qwebframe_p.h: Added.
372         (QWebFramePrivate::QWebFramePrivate):
373         * Api/qwebpage.cpp: Added.
374         (QWebPagePrivate::QWebPagePrivate):
375         (QWebPagePrivate::~QWebPagePrivate):
376         (QWebPagePrivate::createMainFrame):
377         (QWebPage::QWebPage):
378         (QWebPage::~QWebPage):
379         (QWebPage::createFrame):
380         (QWebPage::open):
381         (QWebPage::mainFrame):
382         (QWebPage::sizeHint):
383         * Api/qwebpage.h: Added.
384         * Api/qwebpage_p.h: Added.
385         * QtLauncher/main.cpp:
386         (main):
387         * WebCoreSupport/ChromeClientQt.cpp:
388         (WebCore::ChromeClientQt::ChromeClientQt):
389         (WebCore::ChromeClientQt::setWindowRect):
390         (WebCore::ChromeClientQt::windowRect):
391         (WebCore::ChromeClientQt::pageRect):
392         (WebCore::ChromeClientQt::focus):
393         (WebCore::ChromeClientQt::unfocus):
394         (WebCore::ChromeClientQt::canTakeFocus):
395         (WebCore::ChromeClientQt::takeFocus):
396         (WebCore::ChromeClientQt::createWindow):
397         (WebCore::ChromeClientQt::createModalDialog):
398         (WebCore::ChromeClientQt::show):
399         (WebCore::ChromeClientQt::addMessageToConsole):
400         (WebCore::ChromeClientQt::chromeDestroyed):
401         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
402         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
403         (WebCore::ChromeClientQt::closeWindowSoon):
404         * WebCoreSupport/ChromeClientQt.h:
405         * WebCoreSupport/FrameLoaderClientQt.cpp:
406         (WebCore::FrameLoaderClientQt::setFrame):
407         (WebCore::FrameLoaderClientQt::detachFrameLoader):
408         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
409         (WebCore::FrameLoaderClientQt::partClearedInBegin):
410         * WebCoreSupport/FrameLoaderClientQt.h:
411
412 2007-01-15  Anders Carlsson  <acarlsson@apple.com>
413
414         Fix build.
415         
416         * WebCoreSupport/FrameLoaderClientQt.cpp:
417         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
418         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
419         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
420         * WebCoreSupport/FrameLoaderClientQt.h:
421
422 2007-01-13  Lars Knoll <lars@trolltech.com>
423
424         Compile again after yesterdays changes.
425
426         * WebCoreSupport/FrameLoaderClientQt.cpp:
427         (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
428         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
429         (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
430         (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
431         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
432         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
433         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
434         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
435         (WebCore::FrameLoaderClientQt::incrementProgress):
436         (WebCore::FrameLoaderClientQt::completeProgress):
437         * WebCoreSupport/FrameLoaderClientQt.h:
438
439 2007-01-11  Brady Eidson  <beidson@apple.com>
440
441         Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore
442         Yay for the loader on QT!
443
444         * WebCoreSupport/FrameLoaderClientQt.cpp:
445         (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
446         (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
447         * WebCoreSupport/FrameLoaderClientQt.h:
448
449 2007-01-11  Lars Knoll <lars@trolltech.com>
450
451         Reviewed by Darin
452
453         Start using the loader in the Qt port.
454
455         * QtLauncher/main.cpp:
456         (main):
457         * WebCoreSupport/FrameLoaderClientQt.cpp:
458         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
459         (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
460         (WebCore::FrameLoaderClientQt::setFrame):
461         (WebCore::FrameLoaderClientQt::detachFrameLoader):
462         (WebCore::FrameLoaderClientQt::makeDocumentView):
463         (WebCore::FrameLoaderClientQt::makeRepresentation):
464         (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
465         (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
466         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
467         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
468         (WebCore::FrameLoaderClientQt::progressStarted):
469         (WebCore::FrameLoaderClientQt::progressCompleted):
470         (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
471         (WebCore::FrameLoaderClientQt::clearArchivedResources):
472         (WebCore::FrameLoaderClientQt::canShowMIMEType):
473         (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
474         (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
475         (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
476         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
477         (WebCore::FrameLoaderClientQt::canHandleRequest):
478         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
479         (WebCore::FrameLoaderClientQt::canCachePage):
480         (WebCore::FrameLoaderClientQt::committedLoad):
481         (WebCore::FrameLoaderClientQt::cancelledError):
482         (WebCore::FrameLoaderClientQt::cannotShowURLError):
483         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
484         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
485         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
486         (WebCore::FrameLoaderClientQt::shouldFallBack):
487         (WebCore::FrameLoaderClientQt::createDocumentLoader):
488         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
489         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
490         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
491         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
492         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
493         (WebCore::FrameLoaderClientQt::willUseArchive):
494         * WebCoreSupport/FrameLoaderClientQt.h:
495
496 2007-01-11  George Staikos  <staikos@kde.org>
497
498         Fix Qt Build.
499
500         * WebCoreSupport/ContextMenuClientQt.cpp:
501         (WebCore::ContextMenuClientQt::searchWithGoogle):
502         * WebCoreSupport/ContextMenuClientQt.h:
503
504 2007-01-06  George Staikos  <staikos@kde.org>
505
506         Reviewed by Brady.
507
508         Make it link.
509
510         * WebCoreSupport/FrameLoaderClientQt.cpp:
511         (WebCore::FrameLoaderClientQt::setMainDocumentError):
512         (WebCore::FrameLoaderClientQt::committedLoad):
513         (WebCore::FrameLoaderClientQt::cancelledError):
514         (WebCore::FrameLoaderClientQt::cannotShowURLError):
515         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
516         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
517         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
518         (WebCore::FrameLoaderClientQt::shouldFallBack):
519         (WebCore::FrameLoaderClientQt::createDocumentLoader):
520         (WebCore::FrameLoaderClientQt::download):
521         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
522         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
523         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
524         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
525         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
526         (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
527         (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
528         (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
529         (WebCore::FrameLoaderClientQt::dispatchCreatePage):
530         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
531         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
532         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
533         (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
534         (WebCore::FrameLoaderClientQt::incrementProgress):
535         (WebCore::FrameLoaderClientQt::completeProgress):
536         (WebCore::FrameLoaderClientQt::startDownload):
537         (WebCore::FrameLoaderClientQt::willUseArchive):
538         * WebCoreSupport/FrameLoaderClientQt.h:
539
540 2007-01-05  Lars Knoll <lars@trolltech.com>
541
542         Make the Qt build compile again
543
544         * WebCoreSupport/ChromeClientQt.cpp:
545         (WebCore::ChromeClientQt::canTakeFocus):
546         (WebCore::ChromeClientQt::takeFocus):
547         * WebCoreSupport/ChromeClientQt.h:
548         * WebCoreSupport/ContextMenuClientQt.cpp:
549         (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
550         * WebCoreSupport/ContextMenuClientQt.h:
551
552 2007-01-03  Lars Knoll <lars@trolltech.com>
553
554         Fix the Qt build
555
556         * WebCoreSupport/FrameLoaderClientQt.cpp:
557         (WebCore::FrameLoaderClientQt::setDocumentViewFromPageCache):
558         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
559         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
560         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
561         (WebCore::FrameLoaderClientQt::saveScrollPositionAndViewStateToItem):
562         (WebCore::FrameLoaderClientQt::saveDocumentViewToPageCache):
563         (WebCore::FrameLoaderClientQt::canCachePage):
564         * WebCoreSupport/FrameLoaderClientQt.h:
565
566 2006-12-29  George Staikos  <staikos@kde.org>
567
568         Add missing notimplemented.
569
570         * WebCoreSupport/FrameLoaderClientQt.cpp:
571         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
572         (WebCore::FrameLoaderClientQt::canHandleRequest):
573         (WebCore::FrameLoaderClientQt::partClearedInBegin):
574
575 2006-12-21  Lars Knoll <lars@trolltech.com>
576
577         Reviewed by Zack
578
579         * WebCoreSupport/FrameLoaderClientQt.cpp:
580         (WebCore::FrameLoaderClientQt::hasWebView):
581         (WebCore::FrameLoaderClientQt::hasFrameView):
582         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
583         (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
584         (WebCore::FrameLoaderClientQt::setTitle):
585         (WebCore::FrameLoaderClientQt::partClearedInBegin):
586         * WebCoreSupport/FrameLoaderClientQt.h:
587                  Remove some runtimw warnings
588                  Add partClearedInBegin forwarding call, so
589                  I can catch this in the layout tests.
590
591 2006-12-19  Lars Knoll <lars@trolltech.com>
592
593         Reviewed by Rob.
594
595         * WebCoreSupport/ChromeClientQt.cpp:
596         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
597         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
598         (WebCore::ChromeClientQt::closeWindowSoon):
599         * WebCoreSupport/ChromeClientQt.h:
600                 Make it compile.
601
602 2006-12-16  Zack Rusin  <zack@kde.org>
603
604         Adjust the client to the most recent interface.
605
606         * WebCoreSupport/ContextMenuClientQt.cpp:
607         (WebCore::ContextMenuClientQt::contextMenuDestroyed):
608         (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
609         (WebCore::ContextMenuClientQt::contextMenuItemSelected):
610         (WebCore::ContextMenuClientQt::downloadURL):
611         (WebCore::ContextMenuClientQt::copyImageToClipboard):
612         (WebCore::ContextMenuClientQt::lookUpInDictionary):
613         * WebCoreSupport/ContextMenuClientQt.h:
614
615 2006-12-14  Simon Hausmann  <hausmann@kde.org>
616
617         Reviewed by Zack.
618
619         * QtLauncher/QtLauncher.pro: Link this little test program
620         with rpath, for convenience. (This is never going to get installed
621         anyway)
622
623 2006-12-12  George Staikos  <staikos@kde.org>
624
625         Reviewed by Alexey.
626
627         Fix the Qt build again.
628
629         * WebCoreSupport/ContextMenuClientQt.cpp:
630         (WebCore::ContextMenuClientQt::speak):
631         (WebCore::ContextMenuClientQt::stopSpeaking):
632         * WebCoreSupport/ContextMenuClientQt.h:
633         * WebCoreSupport/EditorClientQt.cpp:
634         (WebCore::EditorClientQt::toggleContinuousSpellChecking):
635         (WebCore::EditorClientQt::toggleGrammarChecking):
636         * WebCoreSupport/EditorClientQt.h:
637
638 2006-12-10  George Staikos  <staikos@kde.org>
639
640         Reviewed by Zack.
641
642         Add a default user agent for now.
643
644         * WebCoreSupport/FrameLoaderClientQt.cpp:
645         (WebCore::FrameLoaderClientQt::userAgent):
646
647 2006-12-10  Lars Knoll <lars@trolltech.com>
648
649         Reviewed by Zack
650
651         Comment out a notImplemented() warning
652
653         * WebCoreSupport/EditorClientQt.cpp:
654         (WebCore::EditorClientQt::clearUndoRedoOperations):
655
656 2006-12-10  Zack Rusin  <zack@kde.org>
657
658         Print out the method name if it's unimplemented.
659
660         * WebCoreSupport/FrameLoaderClientQt.cpp:
661
662 2006-12-10  Zack Rusin  <zack@kde.org>
663
664         Moving the clients from platform to their final location.
665
666         * WebCoreSupport/FrameLoaderClientQt.cpp: Added.
667         * WebCoreSupport/FrameLoaderClientQt.h: Added.
668         * WebCoreSupport/ChromeClientQt.cpp: Added.
669         * WebCoreSupport/ChromeClientQt.h: Added.
670         * WebCoreSupport/ContextMenuClientQt.cpp: Added.
671         * WebCoreSupport/ContextMenuClientQt.h: Added.
672         * WebCoreSupport/EditorClientQt.cpp: Added.
673         * WebCoreSupport/EditorClientQt.h: Added.
674
675 2006-12-10  Zack Rusin  <zack@kde.org>
676
677         Adjusting to the changes in platform/qt.
678
679         * QtLauncher/main.cpp:
680         (main):
681
682 2006-12-09  Lars Knoll <lars@trolltech.com>
683
684         Reviewed by Zack
685
686         Make it possible to build WebKit with qmake.
687
688         * QtLauncher/QtLauncher.pro: Added.
689         * QtLauncher/main.cpp:
690
691 2006-12-08  Zack Rusin  <zack@kde.org>
692
693         Reviewed by Maciej.
694
695         Fix the build after the recent changes.
696
697         * QtLauncher/main.cpp:
698         (main):
699         * WebKitPart/WebKitPart.cpp:
700         (WebKitPart::initView):
701
702 2006-11-19  Simon Hausmann  <hausmann@kde.org>
703
704         Reviewed by Zack.
705
706         http://bugs.webkit.org/show_bug.cgi?id=11649
707         Fix Qt-only build
708
709         * QtLauncher/CMakeLists.txt:
710
711 2006-11-17  Zack Rusin  <zack@kde.org>
712
713         Reviewed by Mitz. Landed by Niko.
714
715         Adjusting to the new api.
716
717         * QtLauncher/main.cpp:
718         (main):
719         * WebKitPart/WebKitPart.cpp:
720         (WebKitPart::initView):
721
722 2006-11-10  Zack Rusin  <zack@kde.org>
723
724         Reviewed and landed by Anders.
725
726         Adjusting to the recent loader changes, making it compile
727         and work.
728
729         * QtLauncher/main.cpp:
730         (main):
731         * WebKitPart/WebKitPart.cpp:
732         (WebKitPart::closeUrl):
733         (WebKitPart::initView):
734
735 2006-11-03  Zack Rusin  <zack@kde.org>
736
737         Reviewed by Maciej.
738
739         Fixing compile on both Qt and KDE platforms.
740
741         * QtLauncher/main.cpp:
742         (main): url has already been defined
743         * WebKitPart/WebKitPartBrowserExtension.cpp: removing
744         duplicate implementation of this class
745
746 2006-10-31  Simon Hausmann  <hausmann@kde.org>
747
748         Reviewed by Maciej, landed by Anders.
749
750         * QtLauncher/CMakeLists.txt: Make linkage against kde libraries
751           optional
752         * QtLauncher/main.cpp: Make it compile without KDE.
753         (main):
754
755 2006-11-02  Simon Hausmann  <hausmann@kde.org>
756
757         Reviewed by Maciej, landed by Anders.
758
759         * QtLauncher/main.cpp:
760         (main): Declare our frame as main frame to the Page object.
761         Fixes crashes on various web sites
762
763 2006-10-31  Zack Rusin  <zack@kde.org>
764
765         Reviewed by Mitz.
766
767         Fix the Qt build after last nights changes.
768
769         * QtLauncher/CMakeLists.txt:
770         * WebKitPart/CMakeLists.txt:
771
772 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
773
774         Reviewed by Darin.
775
776         Fix Qt/Linux build.
777
778         * QtLauncher/main.cpp:
779         (main):
780         * WebKitPart/WebKitPart.cpp:
781         (WebKitPart::openUrl):
782
783 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
784
785         Reviewed by Maciej.
786
787         Fix Qt/Linux build.
788
789         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
790         - Fix CMakeLists.txt to include platform/network.
791
792         * QtLauncher/CMakeLists.txt:
793         * WebKitPart/CMakeLists.txt:
794
795 2006-10-24  Simon Hausmann  <hausmann@kde.org>
796
797         Reviewed by Darin.
798
799         * QtLauncher/CMakeLists.txt, WebKitPart/CMakeLists.txt: Added project name to
800           kde4_automoc macro, as required by the latest KDE4 cmake module.
801
802 2006-10-20  Nikolas Zimmermann  <zimmermann@kde.org>
803
804         Reviewed and landed by Anders.
805
806         Adapt to FrameQtClient changes, and provide some kind of status
807         information to the KPart wheter we're loading or not (started/completed signaling).
808
809         * WebKitPart/CMakeLists.txt:
810         * WebKitPart/WebKitPart.cpp:
811         (WebKitPart::WebKitPart):
812         (WebKitPart::~WebKitPart):
813         (WebKitPart::openUrl):
814         (WebKitPart::initView):
815         * WebKitPart/WebKitPart.h:
816         * WebKitPart/WebKitPartBrowserExtension.cpp: Added.
817         (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
818         (WebKitPartBrowserExtension::~WebKitPartBrowserExtension):
819         * WebKitPart/WebKitPartBrowserExtension.h: Added.
820         * WebKitPart/WebKitPartClient.cpp:
821         (WebKitPartClient::WebKitPartClient):
822         (WebKitPartClient::loadFinished):
823         * WebKitPart/WebKitPartClient.h:
824         * WebKitPart/WebKitPartInterface.h:
825
826 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
827
828         Reviewed by eseidel.  Landed by eseidel.
829
830         Fix last remaining issue Qt/Linux build with gcc3.
831
832         * WebKitPart/WebKitPart.h: Remove Q_PROPERTY usage, which is not needed and made problems.
833
834 2006-09-10  Nikolas Zimmermann  <zimmermann@kde.org>
835
836         Reviewed and landed by ap.
837
838         Fix QtLauncher - it is supposed to create a FrameView on its own nowadays.
839
840         * QtLauncher/main.cpp:
841         (main):
842
843 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
844
845         Reviewed by Tim H.
846
847         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
848         Move QtLauncher down to WebKitQt.
849
850         * QtLauncher/CMakeLists.txt: Added.
851         * QtLauncher/main.cpp: Added.
852         (main):
853
854 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
855
856         Reviewed by Darin. Final polish by Sam.
857
858         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
859         Add WebKitPart, an embeddable KPart for the KDE platform.
860
861         * WebKitPart/CMakeLists.txt: Added.
862         * WebKitPart/WebKitFactory.cpp: Added.
863         (WebKitFactory::WebKitFactory):
864         (WebKitFactory::~WebKitFactory):
865         (WebKitFactory::createPartObject):
866         (WebKitFactory::instance):
867         (WebKitFactory::ref):
868         (WebKitFactory::deref):
869         (init_libWebKitPart):
870         * WebKitPart/WebKitFactory.h: Added.
871         * WebKitPart/WebKitPart.cpp: Added.
872         (WebKitPart::WebKitPart):
873         (WebKitPart::~WebKitPart):
874         (WebKitPart::openFile):
875         (WebKitPart::openUrl):
876         (WebKitPart::closeUrl):
877         (WebKitPart::parentPart):
878         (WebKitPart::frame):
879         (WebKitPart::initView):
880         * WebKitPart/WebKitPart.desktop: Added.
881         * WebKitPart/WebKitPart.h: Added.
882         (WebKitPart::):
883         * WebKitPart/WebKitPart.rc: Added.
884         * WebKitPart/WebKitPartBrowser.rc: Added.
885         * WebKitPart/WebKitPartClient.cpp: Added.
886         (WebKitPartClient::WebKitPartClient):
887         (WebKitPartClient::~WebKitPartClient):
888         * WebKitPart/WebKitPartClient.h: Added.
889         * WebKitPart/WebKitPartInterface.cpp: Added.
890         (WebKitPartInterface::WebKitPartInterface):
891         (WebKitPartInterface::~WebKitPartInterface):
892         (WebKitPartInterface::url):
893         (WebKitPartInterface::closeURL):
894         * WebKitPart/WebKitPartInterface.h: Added.
895         * WebKitPart/org.kde.WebKitPart.xml: Added.
896