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