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