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