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