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