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