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