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