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