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