* Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
[WebKit-https.git] / WebKit / qt / ChangeLog
1 2008-01-07  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2
3         Reviewed by Simon.
4
5         * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
6         
7
8         * Api/qwebpage.cpp:
9         (dragOpToDropAction):
10         * Api/qwebview.cpp:
11         (QWebView::mouseMoveEvent):
12         (QWebView::mousePressEvent):
13         (QWebView::mouseDoubleClickEvent):
14         (QWebView::mouseReleaseEvent):
15         (QWebView::contextMenuEvent):
16         (QWebView::keyPressEvent):
17         (QWebView::keyReleaseEvent):
18         (QWebView::focusInEvent):
19         (QWebView::focusOutEvent):
20         (QWebView::dragEnterEvent):
21         (QWebView::dragLeaveEvent):
22         (QWebView::dragMoveEvent):
23         (QWebView::dropEvent):
24
25 2008-01-07  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
26
27         Reviewed by Lars.
28
29         * This layout is not needed anymore as Widget::invalidateRect will not
30         draw anymore.
31         
32
33         * Api/qwebview.cpp:
34         (QWebView::paintEvent):
35
36 2008-01-04  Lars Knoll  <lars@trolltech.com>
37
38         Reviewed by Simon.
39
40         Remove most dependencies of Widget/ScrollView onto native QWidgets.
41         
42         This also brings the code closer in line with the Windows code. Seems
43         to work nicely on first try :)
44         
45
46         * WebCoreSupport/ChromeClientQt.cpp:
47         (WebCore::ChromeClientQt::updateBackingStore):
48         (WebCore::ChromeClientQt::mouseDidMoveOverElement):
49         (WebCore::ChromeClientQt::setToolTip):
50         * WebCoreSupport/FrameLoaderClientQt.cpp:
51         (WebCore::FrameLoaderClientQt::createPlugin):
52
53 2008-01-04  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
54
55         Reviewed by Simon.
56
57         * Remove the todo from QWebPage and move the code to QWebView.
58         
59
60         * Api/qwebpage.cpp:
61         (QWebPagePrivate::wheelEvent):
62         (QWebPagePrivate::focusInEvent):
63         * Api/qwebview.cpp:
64         (QWebView::wheelEvent):
65         (QWebView::focusInEvent):
66
67 2008-01-04  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
68
69         Reviewed by Simon.
70
71         * Move the various event methods to QWebPagePrivate. This is similar to
72         QTextControl as well.
73         
74
75         * Api/qwebpage.cpp:
76         (QWebPage::event):
77         (QWebPagePrivate::mouseMoveEvent):
78         (QWebPagePrivate::mousePressEvent):
79         (QWebPagePrivate::mouseDoubleClickEvent):
80         (QWebPagePrivate::mouseReleaseEvent):
81         (QWebPagePrivate::contextMenuEvent):
82         (QWebPagePrivate::wheelEvent):
83         (QWebPagePrivate::keyPressEvent):
84         (QWebPagePrivate::keyReleaseEvent):
85         (QWebPagePrivate::focusInEvent):
86         (QWebPagePrivate::focusOutEvent):
87         (QWebPage::focusNextPrevChild):
88         (QWebPagePrivate::dragEnterEvent):
89         (QWebPagePrivate::dragLeaveEvent):
90         (QWebPagePrivate::dragMoveEvent):
91         (QWebPagePrivate::dropEvent):
92         * Api/qwebpage.h:
93         * Api/qwebpage_p.h:
94
95 2008-01-04  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
96
97         Reviewed by Simon.
98
99         * Forward the event from QWebView to QWebPage through QObject::event. This
100         is similar to the way QTextControl is working.
101         
102
103         * Api/qwebpage.cpp:
104         (dragOpToDropAction):
105         (QWebPage::event):
106         * Api/qwebpage.h:
107         * Api/qwebview.cpp:
108         (QWebView::mouseMoveEvent):
109         (QWebView::mousePressEvent):
110         (QWebView::mouseDoubleClickEvent):
111         (QWebView::mouseReleaseEvent):
112         (QWebView::contextMenuEvent):
113         (QWebView::wheelEvent):
114         (QWebView::keyPressEvent):
115         (QWebView::keyReleaseEvent):
116         (QWebView::focusInEvent):
117         (QWebView::focusOutEvent):
118         (QWebView::dragEnterEvent):
119         (QWebView::dragLeaveEvent):
120         (QWebView::dragMoveEvent):
121         (QWebView::dropEvent):
122         * Api/qwebview.h:
123
124 2008-01-04  Lars Knoll  <lars@trolltech.com>
125
126         Reviewed by Simon.
127
128         make QWebPage a QObject and get things to compile.
129         
130         Nothing works currently though.
131         
132
133         * Api/qwebobjectpluginconnector.cpp:
134         * Api/qwebpage.cpp:
135         (QWebPagePrivate::QWebPagePrivate):
136         (QWebPagePrivate::createMainFrame):
137         (QWebPage::QWebPage):
138         (QWebPage::setView):
139         (QWebPage::view):
140         (QWebPage::javaScriptAlert):
141         (QWebPage::javaScriptPrompt):
142         (dragOpToDropAction):
143         (QWebPage::mousePressEvent):
144         (QWebPage::mouseDoubleClickEvent):
145         (QWebPage::mouseReleaseEvent):
146         (QWebPage::wheelEvent):
147         (QWebPage::keyPressEvent):
148         (QWebPage::focusInEvent):
149         * Api/qwebpage.h:
150         * Api/qwebpage_p.h:
151         * Api/qwebview.cpp:
152         (QWebView::QWebView):
153         (QWebView::setPage):
154         (QWebView::resizeEvent):
155         (QWebView::paintEvent):
156         * Api/qwebview.h:
157         * WebCoreSupport/ChromeClientQt.cpp:
158         (WebCore::ChromeClientQt::windowRect):
159         (WebCore::ChromeClientQt::pageRect):
160         (WebCore::ChromeClientQt::focus):
161         (WebCore::ChromeClientQt::unfocus):
162         (WebCore::ChromeClientQt::canTakeFocus):
163         (WebCore::ChromeClientQt::takeFocus):
164         (WebCore::ChromeClientQt::canRunModal):
165         (WebCore::ChromeClientQt::mouseDidMoveOverElement):
166         * WebCoreSupport/DragClientQt.cpp:
167         (WebCore::DragClientQt::startDrag):
168         * WebCoreSupport/FrameLoaderClientQt.cpp:
169         (WebCore::FrameLoaderClientQt::createPlugin):
170         * WebCoreSupport/InspectorClientQt.cpp:
171         (WebCore::InspectorClientWebPage::createWindow):
172         (WebCore::InspectorClientView::InspectorClientView):
173         (WebCore::InspectorClientView::page):
174         (WebCore::InspectorClientView::hideEvent):
175         (WebCore::InspectorClientView::closeEvent):
176         (WebCore::InspectorClientQt::createPage):
177         (WebCore::InspectorClientQt::closeWindow):
178
179 2008-01-04  Simon Hausmann  <hausmann@webkit.org>
180
181         Reviewed by Lars.
182
183         Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
184         
185
186         * Api/qwebview.cpp:
187         (QWebView::setHtml):
188         (QWebView::setContent):
189         (QWebView::history):
190         (QWebView::settings):
191         (QWebView::action):
192         (QWebView::triggerAction):
193         (QWebView::stop):
194         (QWebView::backward):
195         (QWebView::forward):
196         (QWebView::reload):
197         * Api/qwebview.h:
198
199 2008-01-04  Lars Knoll  <lars@trolltech.com>
200
201         Reviewed by Simon.
202
203         add a viewportSize to QWebPage.
204         
205         This is required to eventually make it a QObject only.
206         
207
208         * Api/qwebpage.cpp:
209         (QWebPage::triggerAction):
210         (QWebPage::viewportSize):
211         (QWebPage::setViewportSize):
212         * Api/qwebpage.h:
213
214 2008-01-04  Lars Knoll  <lars@trolltech.com>
215
216         Reviewed by Simon.
217
218         take a QString as identifier in QWebFrame::addToJSWindowObject.
219
220         * Api/qwebframe.cpp:
221         (QWebFrame::addToJSWindowObject):
222         * Api/qwebframe.h:
223
224 2008-01-04  Simon Hausmann  <hausmann@webkit.org>
225
226         Reviewed by Lars.
227
228         Call the frame arguments for the javascript callbacks "originatingFrame"
229         
230
231         * Api/qwebpage.h:
232
233 2008-01-04  Simon Hausmann  <hausmann@webkit.org>
234
235         Reviewed by Lars.
236
237         Moved the QWebPage::addToHistory signal into QWebHistoryInterface
238         
239
240         * Api/qwebhistoryinterface.h:
241         * Api/qwebpage.h:
242         * WebCoreSupport/FrameLoaderClientQt.cpp:
243         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
244
245 2008-01-04  Lars Knoll  <lars@trolltech.com>
246
247         Reviewed by Simon.
248
249         moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
250
251         * Api/qwebframe.cpp:
252         (QWebFrame::url):
253         (QWebFrame::icon):
254         (QWebFrame::setVerticalScrollBarPolicy):
255         * Api/qwebframe.h:
256         * Api/qwebpage.cpp:
257         (QWebPage::javaScriptAlert):
258         (QWebPage::javaScriptPrompt):
259         (QWebPage::networkInterface):
260         * Api/qwebpage.h:
261         * Api/qwebview.cpp:
262         (QWebView::title):
263         (QWebView::url):
264         (QWebView::icon):
265         * WebCoreSupport/FrameLoaderClientQt.cpp:
266
267 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
268
269         Reviewed by Lars.
270
271         Moved QWebPage::open to QWebFrame::load and added setHtml.
272         
273
274         * Api/qwebframe.cpp:
275         (QWebFrame::load):
276         (QWebFrame::setHtml):
277         (QWebFrame::setContent):
278         * Api/qwebframe.h:
279         * Api/qwebpage.cpp:
280         * Api/qwebpage.h:
281         * Api/qwebview.cpp:
282         (QWebView::load):
283         (QWebView::setHtml):
284         * Api/qwebview.h:
285         * WebCoreSupport/ChromeClientQt.cpp:
286         (WebCore::ChromeClientQt::createWindow):
287         * WebCoreSupport/InspectorClientQt.cpp:
288         (WebCore::InspectorClientQt::createPage):
289
290 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
291
292         Reviewed by Lars.
293
294         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
295         
296
297         * Api/headers.pri:
298         * Api/qwebframe.h:
299         * Api/qwebpage.cpp:
300         (QWebPagePrivate::createMainFrame):
301         * Api/qwebpage.h:
302         * Api/qwebpagehistory.h:
303         * Api/qwebview.cpp: Added.
304         (QWebView::QWebView):
305         (QWebView::~QWebView):
306         (QWebView::page):
307         (QWebView::setPage):
308         (QWebView::load):
309         (QWebView::setHtml):
310         (QWebView::history):
311         (QWebView::settings):
312         (QWebView::title):
313         (QWebView::url):
314         (QWebView::icon):
315         (QWebView::selectedText):
316         (QWebView::action):
317         (QWebView::triggerAction):
318         (QWebView::isModified):
319         (QWebView::textInteractionFlags):
320         (QWebView::setTextInteractionFlags):
321         (QWebView::sizeHint):
322         (QWebView::stop):
323         (QWebView::backward):
324         (QWebView::forward):
325         (QWebView::reload):
326         * Api/qwebview.h: Added.
327         * QtLauncher/main.cpp:
328         (MainWindow::MainWindow):
329         (MainWindow::webPage):
330         (MainWindow::changeLocation):
331         * WebCoreSupport/FrameLoaderClientQt.cpp:
332         (WebCore::FrameLoaderClientQt::setFrame):
333         * WebCoreSupport/FrameLoaderClientQt.h:
334
335 2007-12-14  Darin Adler  <darin@apple.com>
336
337         Reviewed by Alexey.
338
339         * Api/qwebpage.cpp:
340         (QWebPage::triggerAction): Removed some use of Editor member functions we plan
341         to eventually eliminate. Switch from Editor::execCommand to Editor::command.
342         * WebCoreSupport/EditorClientQt.cpp:
343         (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
344         MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
345         to MovePageDown.
346
347 2007-12-12  Brady Eidson  <beidson@apple.com>
348
349         Reviewed by Sam Weinig
350
351         As part of doing some CachedPage and client cleanup, keep Qt building
352
353         * WebCoreSupport/FrameLoaderClientQt.cpp:
354         (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
355         (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
356         (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
357         * WebCoreSupport/FrameLoaderClientQt.h:
358
359 2007-12-12  Sam Weinig  <sam@webkit.org>
360
361         Build fix.
362
363         * WebCoreSupport/FrameLoaderClientQt.cpp:
364         (WebCore::FrameLoaderClientQt::userAgent):
365
366 2007-12-12  Sam Weinig  <sam@webkit.org>
367
368         Build fix.
369
370         * Api/qwebnetworkinterface.cpp:
371         (QWebNetworkRequestPrivate::init):
372         * Api/qwebpage.cpp:
373         (QWebPage::url):
374         (QWebPageContext::QWebPageContext):
375         * Api/qwebpagehistory.cpp:
376         (QWebHistoryItem::originalUrl):
377         (QWebHistoryItem::currentUrl):
378         * WebCoreSupport/FrameLoaderClientQt.cpp:
379         (WebCore::FrameLoaderClientQt::cannotShowURLError):
380         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
381         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
382         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
383         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
384         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
385         (WebCore::FrameLoaderClientQt::createPlugin):
386
387 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
388
389         Reviewed by Darin.
390
391         <rdar://problem/5535636>
392         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
393
394         http://bugs.webkit.org/show_bug.cgi?id=13916
395         JavaScript detects Tab as a character input on a textfield validation
396
397         * WebCoreSupport/EditorClientQt.cpp:
398         (WebCore::EditorClientQt::handleKeyboardEvent):
399         (WebCore::EditorClientQt::handleInputMethodKeydown):
400         * WebCoreSupport/EditorClientQt.h:
401         Updated for cross-platform changes as much as it was possible without a Qt build environment.
402
403 2007-12-07  Darin Adler  <darin@apple.com>
404
405         - try to fix build
406
407         * Api/qwebhistoryinterface.cpp:
408         (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
409         be updated, since WebCore changed, but this should not be here.
410
411 2007-12-04  Darin Adler  <darin@apple.com>
412
413         Reviewed by Kevin Decker.
414
415         * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
416         * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
417
418 2007-12-04  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
419
420         Reviewed by Simon.
421
422         * Implement the InspectorClient for the Qt port
423         * It does not support highlighting of nodes yet
424         * Use QRC to open the internal page. The important thing is the
425         '/' in the URL to make WebCore::Document::completeURL behave the
426         way we want.
427         * To make the InspectorClient work we will have to mark qrc as secure.
428
429         * Api/qwebpage.cpp:
430         (QWebPagePrivate::QWebPagePrivate):
431         * Api/qwebpage.h:
432         * WebCoreSupport/InspectorClientQt.cpp:
433         (WebCore::InspectorClientWebPage::hideEvent):
434         (WebCore::InspectorClientQt::InspectorClientQt):
435         (WebCore::InspectorClientQt::inspectorDestroyed):
436         (WebCore::InspectorClientQt::createPage):
437         (WebCore::InspectorClientQt::localizedStringsURL):
438         (WebCore::InspectorClientQt::showWindow):
439         (WebCore::InspectorClientQt::closeWindow):
440         (WebCore::InspectorClientQt::attachWindow):
441         (WebCore::InspectorClientQt::detachWindow):
442         * WebCoreSupport/InspectorClientQt.h:
443
444 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
445
446         Rubber stamped by Mark.
447
448         Always include config.h at the beginning of the file.
449
450         * Api/qwebsettings.cpp:
451
452 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
453
454         Reviewed by Simon.
455
456         * Avoid crashes by making sure everything is layouted before
457         we start painting. This avoids a crash in Widget::invalidateRect
458         because QPainter::begin would fail
459         * The QWebFrame::layout() methods and calls are left untouched because
460         this would be an API decision.
461         
462
463         * Api/qwebframe.cpp:
464         (QWebFrame::layout):
465         * Api/qwebpage.cpp:
466         (QWebPage::paintEvent):
467
468 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
469
470         Reviewed by Simon.
471
472         * SubClass QWebPage to handle hide and close events.
473         * Forward these events to the InspectorController
474         * The other options would have been using an eventFilter
475         on the webpage and making InspectorClient a QObject or
476         creating a QObject Observer.
477         * Provide a simple QWebPage* createWindow implementation. This is needed
478         to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
479         of the inspector client.
480         
481
482         * WebCoreSupport/InspectorClientQt.cpp:
483         (WebCore::InspectorClientWebPage::InspectorClientWebPage):
484         (WebCore::InspectorClientWebPage::createWindow):
485         (WebCore::InspectorClientWebPage::hideEvent):
486         (WebCore::InspectorClientWebPage::closeEvent):
487         (WebCore::InspectorClientQt::createPage):
488
489 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
490
491         Reviewed by Simon.
492
493         * Allow adding the Inspect ContextMenuItem to our Menu
494         * Open the Inspector when Inspect was activated. This requires
495         that we keep the innerNonSharedNode from the HitTest around. This
496         forces us to include <wtf/RefPtr.h> in the private header. It is
497         the first non Qt header but should be okay.
498         
499
500         * Api/qwebpage.cpp:
501         (webActionForContextMenuAction):
502         (QWebPage::triggerAction):
503         (QWebPage::action):
504         (QWebPageContext::QWebPageContext):
505         * Api/qwebpage.h:
506         * Api/qwebpage_p.h:
507
508 2007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
509
510         Reviewed by Simon.
511
512         * Add the Developer Extras to the WebAttribute and propagate it
513         to WebCore::Settings. This will enable the Inspect Element menu item
514         * CodingStyle fixes in QWebSettings
515         * Enable the Developer Extras in the QtLauncher
516         
517
518         * Api/qwebsettings.cpp:
519         (QWebSettingsPrivate::apply):
520         * Api/qwebsettings.h:
521         * QtLauncher/main.cpp:
522         (main):
523
524 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
525
526         Removed unnecessary and possibly incorrect #include from my last 
527         check-in.
528
529         * Api/qwebframe.cpp:
530
531 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
532
533         Qt build fix: Get globalExec() from the right place.
534
535 2007-11-30  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
536
537         Reviewed by Simon.
538
539         * Self destruct the clients like the ohter ports do
540         
541
542         * WebCoreSupport/ChromeClientQt.cpp:
543         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
544         * WebCoreSupport/ContextMenuClientQt.cpp:
545         * WebCoreSupport/DragClientQt.cpp:
546         * WebCoreSupport/EditorClientQt.cpp:
547         * WebCoreSupport/InspectorClientQt.cpp:
548
549 2007-11-29  Brady Eidson  <beidson@apple.com>
550
551         Keep it building with new client method
552
553         * WebCoreSupport/ChromeClientQt.cpp:
554         (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
555         (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
556         * WebCoreSupport/ChromeClientQt.h:
557
558 2007-11-22  Simon Hausmann  <hausmann@webkit.org>
559
560         Reviewed by Adam Treat.
561
562         Fix compilation (don't define notImplemented twice)
563
564         * Api/qwebnetworkinterface.cpp:
565
566 2007-11-22  Simon Hausmann  <hausmann@kde.org>
567
568         Reviewed by George.
569
570         Use Q_SIGNALS/Q_SLOTS in the public API
571
572         * Api/qwebframe.h:
573         * Api/qwebpage.h:
574
575 2007-11-22  Simon Hausmann  <hausmann@kde.org>
576
577         Reviewed by George.
578
579         Fixed the signature of the QWebPage constructor to follow Qt guidelines.
580
581         * Api/qwebpage.h:
582
583 2007-11-22  Simon Hausmann  <hausmann@kde.org>
584
585         Reviewed by George.
586
587         Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
588
589         * Api/qcookiejar.h:
590         * Api/qwebframe.h:
591         * Api/qwebhistoryinterface.h:
592         * Api/qwebnetworkinterface.h:
593         * Api/qwebobjectplugin.h:
594         * Api/qwebobjectplugin_p.h:
595         * Api/qwebobjectpluginconnector.h:
596         * Api/qwebpage.h:
597         * Api/qwebpagehistory.h:
598         * Api/qwebsettings.h:
599
600 2007-11-22  Simon Hausmann  <hausmann@kde.org>
601
602         Reviewed by George.
603
604         Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
605
606         * Api/qwebpagehistory.h:
607
608 2007-11-22  George Staikos  <staikos@kde.org>
609
610         Reviewed by Simon Hausmann <hausmann@kde.org>.
611
612         Fix license headers
613         
614
615         * Api/qwebobjectplugin.cpp:
616         * Api/qwebobjectplugin.h:
617         * Api/qwebobjectpluginconnector.cpp:
618         * Api/qwebobjectpluginconnector.h:
619
620 2007-11-22  Simon Hausmann  <hausmann@kde.org>
621
622         Reviewed by George Staikos <staikos@kde.org>.
623
624         Fix shadowing of "page" variable that is passed as argument as well as a member variable.
625         
626         This also fixes compilation with gcc 4.3.
627         
628
629         * Api/qwebframe.cpp:
630         (QWebFramePrivate::init):
631
632 2007-11-21  Adam Treat  <treat@kde.org>
633
634         Reviewed by Simon.
635
636         * Connect up the signal for all subframes too.
637
638         * Api/qwebframe.cpp:
639         (QWebFramePrivate::init):
640         * Api/qwebpage.cpp:
641         (QWebPagePrivate::createMainFrame):
642
643 2007-11-20  Simon Hausmann  <hausmann@kde.org>
644
645         Reviewed by Adam Treat <treat@kde.org>.
646
647         Remove static linkage of QtWebKit against the ICO image format plugin.
648         
649         Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
650         
651
652         * Plugins/Plugins.pro:
653
654 2007-11-20  Simon Hausmann  <hausmann@kde.org>
655
656         Reviewed by George Staikos <staikos@kde.org>.
657
658         Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
659         
660
661         * Api/qwebpage.h:
662
663 2007-11-20  George Staikos  <staikos@kde.org>
664
665         Reviewed by Simon Hausmann <hausmann@kde.org>.
666
667         Add an argument to pass the link text in the hovering signal
668         
669
670         * Api/qwebframe.h:
671         * Api/qwebpage.cpp:
672         (QWebPagePrivate::createMainFrame):
673         (QWebPage::mouseMoveEvent):
674         * Api/qwebpage.h:
675
676 2007-11-20  Adam Treat  <treat@kde.org>
677
678         Reviewed by Simon and George.
679
680         * Be quiet and allow suppression of NotImplemented calls at runtime.
681
682         * WebCoreSupport/FrameLoaderClientQt.cpp:
683         (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
684
685 2007-11-19  Adam Treat  <treat@kde.org>
686
687         Reviewed by Simon.
688
689         * Don't segfault when event pos is outside of the widget.
690
691         * Api/qwebpage.cpp:
692         (QWebPage::mouseMoveEvent):
693         (QWebPage::mousePressEvent):
694         (QWebPage::mouseDoubleClickEvent):
695         (QWebPage::mouseReleaseEvent):
696         (QWebPage::contextMenuEvent):
697
698 2007-11-17  Timothy Hatcher  <timothy@apple.com>
699
700         Reviewed by Mark Rowe.
701
702         Bug 13470: i18n: The Web Inspector is not localizable
703         http://bugs.webkit.org/show_bug.cgi?id=13470
704
705         * WebCoreSupport/InspectorClientQt.cpp:
706         (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
707         * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
708
709 2007-11-13  Geoffrey Garen  <ggaren@apple.com>
710
711         Build fix: changed Shared to RefCounted.
712
713         * WebCoreSupport/ChromeClientQt.h:
714         * WebCoreSupport/ContextMenuClientQt.cpp:
715         * WebCoreSupport/ContextMenuClientQt.h:
716         * WebCoreSupport/EditorClientQt.h:
717         * WebCoreSupport/FrameLoaderClientQt.h:
718
719 2007-11-10  Simon Hausmann  <hausmann@kde.org>
720
721         Reviewed by Nikolas.
722
723         When populating the context menu with sub-menus don't add sub-menus if they're empty.
724         
725
726         * Api/qwebpage.cpp:
727         (QWebPagePrivate::createContextMenu):
728
729 2007-11-10  Simon Hausmann  <hausmann@kde.org>
730
731         Reviewed by Nikolas.
732
733         Added support for the Bold/Italic/Underline toggle actions.
734         
735
736         * Api/qwebpage.cpp:
737         (webActionForContextMenuAction):
738         (QWebPage::triggerAction):
739         (QWebPage::action):
740         * Api/qwebpage.h:
741
742 2007-11-10  Simon Hausmann  <hausmann@kde.org>
743
744         Reviewed by Nikolas.
745
746         Before adding an action to the context menu call checkOrEnableIfNeeded for each action
747         to update the enable/checked state correctly.
748         
749
750         * Api/qwebpage.cpp:
751         (QWebPagePrivate::createContextMenu):
752         (QWebPage::contextMenuEvent):
753         * Api/qwebpage_p.h:
754
755 2007-11-10  Simon Hausmann  <hausmann@kde.org>
756
757         Reviewed by Nikolas.
758
759         Mark the text direction actions as checkable actions.
760         
761
762         * Api/qwebpage.cpp:
763         (QWebPage::action):
764
765 2007-11-09  Simon Hausmann  <hausmann@kde.org>
766
767         Reviewed by Holger.
768
769         Implemented the webcore actions for changing the text direction.
770         
771
772         * Api/qwebpage.cpp:
773         (webActionForContextMenuAction):
774         (QWebPage::triggerAction):
775         (QWebPage::action):
776         * Api/qwebpage.h:
777
778 2007-11-09  Simon Hausmann  <hausmann@kde.org>
779
780         Reviewed by Holger.
781
782         Fix ContextMenu allocation in the Qt port.
783         
784         Store all items and submenus value based in ContextMenu and ContextMenuItem.
785         That fixes the crashes when the context menu was populated with sub-menus because
786         of the use of temporary ContextMenu objects like this:
787         
788         ContextMenu subMenu(...);
789         subMenu.appendItem(...);
790         subMenu.appendItem(...);
791         
792         subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
793         
794
795         * Api/qwebpage.cpp:
796         (QWebPage::contextMenuEvent):
797         * Api/qwebpage_p.h:
798
799 2007-11-09  Simon Hausmann  <hausmann@kde.org>
800
801         Reviewed by Holger.
802
803         Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
804         
805
806         * Api/qwebpage.h:
807         * Api/qwebpage_p.h:
808
809 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
810
811         Reviewed by Sam.
812
813         - windowObjectCleared() is no longer const.  It needs to setup the
814         script debugger and cannot be const to do so.
815
816         * WebCoreSupport/FrameLoaderClientQt.cpp:
817         (WebCore::FrameLoaderClientQt::windowObjectCleared):
818         * WebCoreSupport/FrameLoaderClientQt.h:
819
820 2007-11-08  Simon Hausmann  <hausmann@kde.org>
821
822         Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
823
824         The buildbots use Qt 4.4 which has the function in question, but Qt
825         4.3 doesn't have it. Use removeAll() as replacement instead, it
826         shouldn't make a difference in performance.
827
828         * Api/qwebsettings.cpp:
829         (QWebSettings::~QWebSettings):
830
831 2007-11-08  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
832
833         Reviewed by Lars Knoll <lars@trolltech.com>.
834
835         Cleanup checking for the request method.
836         
837         * Check the request method only in QWebNetworkManager::add.
838         * Currently HEAD, GET, POST are allowed and for everything else
839         QWebNetworkManager::add returns false.
840         * Returning false is compatible with ResourceHandle::start and it
841         can be used in ResourceHandle::loadResourceSynchronously to generate
842         a ResourceError
843         
844
845         * Api/qwebnetworkinterface.cpp:
846         (QWebNetworkManager::add):
847
848 2007-11-08  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
849
850         Reviewed by Lars Knoll <lars@trolltech.com>.
851
852         Fix bug in the implementation of synchronous network jobs.
853         
854         * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
855         -    if (jobMode == AsynchronousJob) {
856         +    if (jobMode == SynchronousJob) {
857         add job to synchronous list/hash
858         
859         * Just applying the above change will lead to crashes because we can finish
860         jobs before we started them.
861         
862         * Avoid these issues by saving all work (starting a job, sending data and
863         finishing it) inside one list. JobWork will contain any
864         of the above three work types and doWork will just work on this list
865         (m_pendingWork). As foreach takes a copy of the list calling started, data
866         and finished will not add new work and we gurantee that if we have JobStarted
867         it will be in the list before JobData and JobFinished.
868         
869         * Observation: We might just kill the code to handle sync jobs.
870         
871
872         * Api/qwebnetworkinterface.cpp:
873         (QWebNetworkManager::add):
874         (QWebNetworkManager::queueStart):
875         (QWebNetworkManager::queueData):
876         (QWebNetworkManager::queueFinished):
877         (QWebNetworkManager::doWork):
878         * Api/qwebnetworkinterface_p.h:
879         (QWebNetworkManager::JobWork::):
880         (QWebNetworkManager::JobWork::JobWork):
881
882 2007-11-07  Simon Hausmann  <hausmann@kde.org>
883
884         Build fix, reviewed by nobody.
885
886         Fix the Qt build by setting up WindowFeatures before calling
887         createWindow on the Chrome. This is similar to openNewWindow in
888         page/ContextMenuController.cpp
889
890         * Api/qwebpage.cpp:
891         (openNewWindow):
892
893 2007-11-07  Simon Hausmann  <hausmann@kde.org>
894
895         Reviewed by Lars.
896
897         Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
898
899         * Api/qwebpage.cpp:
900         (QWebPagePrivate::QWebPagePrivate):
901         * Api/qwebsettings.cpp:
902         (QWebSettingsPrivate::apply):
903         * Api/qwebsettings.h:
904
905 2007-11-07  Simon Hausmann  <hausmann@kde.org>
906
907         Reviewed by Lars.
908
909         Changed QWebPageHistory::goToItem to take a value instead of a pointer.
910
911         * Api/qwebpagehistory.cpp:
912         * Api/qwebpagehistory.h:
913
914 2007-11-07  Simon Hausmann  <hausmann@kde.org>
915
916         Reviewed by Lars.
917
918         Removed unimplemented QWebHistoryItem::children() function
919
920         * Api/qwebpagehistory.h:
921
922 2007-11-07  Simon Hausmann  <hausmann@kde.org>
923
924         Reviewed by Lars.
925
926         Changed the getter functions in QWebSettings to transparently resolve against the default settings.
927
928         * Api/qwebsettings.cpp:
929         (QWebSettings::fontSize):
930         (QWebSettings::fontFamily):
931         (QWebSettings::testAttribute):
932
933 2007-11-07  Simon Hausmann  <hausmann@kde.org>
934
935         Reviewed by Lars.
936
937         Added explicit functions for resetting the font sizes and font families.
938
939         * Api/qwebsettings.cpp:
940         (QWebSettings::resetFontSize):
941         (QWebSettings::resetFontFamily):
942         * Api/qwebsettings.h:
943
944 2007-11-07  Simon Hausmann  <hausmann@kde.org>
945
946         Reviewed by Lars.
947
948         Combined the font sizes accessors/setters under one setter/getter with an enum.
949
950         * Api/qwebsettings.cpp:
951         (QWebSettingsPrivate::QWebSettingsPrivate):
952         (QWebSettingsPrivate::apply):
953         (QWebSettings::QWebSettings):
954         (QWebSettings::setFontSize):
955         * Api/qwebsettings.h:
956
957 2007-11-07  Simon Hausmann  <hausmann@kde.org>
958
959         Reviewed by Lars.
960
961         Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
962
963         * Api/qwebpage.cpp:
964         * Api/qwebpage.h:
965         * WebCoreSupport/FrameLoaderClientQt.cpp:
966         (WebCore::FrameLoaderClientQt::userAgent):
967
968 2007-11-07  Simon Hausmann  <hausmann@kde.org>
969
970         Reviewed by Lars.
971
972         Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
973
974         * Api/qwebpage.cpp:
975         (QWebPagePrivate::_q_webActionTriggered):
976         (QWebPage::keyPressEvent):
977         * Api/qwebpage.h:
978
979 2007-11-07  Simon Hausmann  <hausmann@kde.org>
980
981         Reviewed by Lars.
982
983         Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
984
985         * Api/qwebpage.cpp:
986         * Api/qwebpage.h:
987         * WebCoreSupport/ChromeClientQt.cpp:
988         (WebCore::ChromeClientQt::setWindowRect):
989
990 2007-11-07  Simon Hausmann  <hausmann@kde.org>
991
992         Reviewed by Lars.
993
994         Renamed QWebPage::webAction() to QWebPage::action()
995
996         * Api/qwebpage.cpp:
997         (QWebPagePrivate::createContextMenu):
998         * Api/qwebpage.h:
999         * QtLauncher/main.cpp:
1000         (MainWindow::MainWindow):
1001
1002 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1003
1004         Reviewed by Lars.
1005
1006         Removed a bunch of slots/functions that are now available through the new actions API.
1007
1008         * Api/qwebpage.cpp:
1009         * Api/qwebpage.h:
1010
1011 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1012
1013         Reviewed by Lars.
1014
1015         Added some more comments to the API after another round of API review with Lars.
1016
1017         * Api/qwebpage.h:
1018
1019 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1020
1021         Reviewed by Lars.
1022
1023         Moved QWebFrame::selectedText() to QWebPage::selectedText().
1024         
1025         The currently selected text is a property of the page as a whole.
1026
1027         * Api/qwebframe.cpp:
1028         * Api/qwebframe.h:
1029         * Api/qwebpage.cpp:
1030         (QWebPage::selectedText):
1031         * Api/qwebpage.h:
1032
1033 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1034
1035         Reviewed by Lars.
1036
1037         Implemented support for settings propagation.
1038         
1039         If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
1040
1041         * Api/qwebsettings.cpp:
1042         (QWebSettingsPrivate::QWebSettingsPrivate):
1043         (QWebSettingsPrivate::apply):
1044         (QWebSettings::QWebSettings):
1045         (QWebSettings::~QWebSettings):
1046         (QWebSettings::setFontFamily):
1047         * Api/qwebsettings.h:
1048
1049 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1050
1051         Reviewed by Lars.
1052
1053         Reworked the QWebSettings API.
1054         QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
1055
1056         * Api/qwebpage.cpp:
1057         (QWebPagePrivate::QWebPagePrivate):
1058         (QWebPagePrivate::~QWebPagePrivate):
1059         (QWebPage::QWebPage):
1060         * Api/qwebpage.h:
1061         * Api/qwebpage_p.h:
1062         * Api/qwebsettings.cpp:
1063         (QWebSettingsPrivate::QWebSettingsPrivate):
1064         (QWebSettingsPrivate::apply):
1065         (QWebSettings::defaultSettings):
1066         (QWebSettings::QWebSettings):
1067         (QWebSettings::setMinimumFontSize):
1068         (QWebSettings::setMinimumLogicalFontSize):
1069         (QWebSettings::setDefaultFontSize):
1070         (QWebSettings::setDefaultFixedFontSize):
1071         (QWebSettings::setUserStyleSheetLocation):
1072         (QWebSettings::setFontFamily):
1073         (QWebSettings::fontFamily):
1074         (QWebSettings::setAttribute):
1075         * Api/qwebsettings.h:
1076         * QtLauncher/main.cpp:
1077         (main):
1078
1079 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1080
1081         Reviewed by Lars.
1082
1083         Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
1084
1085         * Api/qwebsettings.cpp:
1086         (QWebSettings::setWebGraphic):
1087         * Api/qwebsettings.h:
1088
1089 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1090
1091         Reviewed by Lars.
1092
1093         Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
1094
1095         * Api/qwebsettings.cpp:
1096
1097 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1098
1099         Reviewed by Lars.
1100
1101         Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
1102
1103         * Api/qwebsettings.cpp:
1104         * Api/qwebsettings.h:
1105
1106 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1107
1108         Reviewed by Lars.
1109
1110         Changed the webAction() accessor to not be a slot but just a public function.
1111
1112         * Api/qwebpage.h:
1113
1114 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1115
1116         Reviewed by Lars.
1117
1118         Implemented createWindow() in QtLauncher.
1119
1120         * QtLauncher/main.cpp:
1121         (WebPage::WebPage):
1122         (MainWindow::MainWindow):
1123         (WebPage::createWindow):
1124
1125 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1126
1127         Reviewed by Lars.
1128
1129         Implemented opening links in new windows
1130
1131         * Api/qwebpage.cpp:
1132         (frameLoadRequest):
1133         (openNewWindow):
1134         (QWebPage::webActionTriggered):
1135
1136 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1137
1138         Reviewed by Lars.
1139
1140         Added and implemented the "OpenLink" action.
1141
1142         * Api/qwebpage.cpp:
1143         (webActionForContextMenuAction):
1144         (QWebPage::webActionTriggered):
1145         (QWebPage::webAction):
1146         * Api/qwebpage.h:
1147
1148 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1149
1150         Reviewed by Lars.
1151
1152         Adjust the state of the reload action correctly.
1153
1154         * Api/qwebpage.cpp:
1155         (QWebPagePrivate::updateAction):
1156         (QWebPagePrivate::updateNavigationActions):
1157
1158 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1159
1160         Reviewed by Lars.
1161
1162         Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
1163
1164         * Api/qwebpage.cpp:
1165         (QWebPagePrivate::updateAction):
1166         (QWebPage::webAction):
1167         (QWebPage::undoStack):
1168         * Api/qwebpage.h:
1169
1170 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1171
1172         Reviewed by Lars.
1173
1174         Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
1175
1176         * QtLauncher/main.cpp:
1177         (MainWindow::MainWindow):
1178
1179 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1180
1181         Reviewed by Lars.
1182
1183         Update the editor actions when the selection changes.
1184
1185         * Api/qwebpage.cpp:
1186         (QWebPagePrivate::updateAction):
1187         (QWebPagePrivate::updateEditorActions):
1188         * Api/qwebpage_p.h:
1189         * WebCoreSupport/EditorClientQt.cpp:
1190         (WebCore::EditorClientQt::respondToChangedSelection):
1191
1192 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1193
1194         Reviewed by Lars.
1195
1196         Added cut/copy/paste actions to the toolbar of QtLauncher
1197
1198         * QtLauncher/main.cpp:
1199         (MainWindow::MainWindow):
1200
1201 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1202
1203         Reviewed by Lars.
1204
1205         Started working on keeping the state of the navigation actions up-to-date.
1206
1207         * Api/qwebpage.cpp:
1208         (QWebPagePrivate::updateAction):
1209         (QWebPagePrivate::updateNavigationActions):
1210         (QWebPage::webAction):
1211         * Api/qwebpage_p.h:
1212         * WebCoreSupport/FrameLoaderClientQt.cpp:
1213         (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
1214         (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1215         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1216         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1217         (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
1218
1219 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1220
1221         Reviewed by Lars.
1222
1223         Use the navigational web actions in the toolbar
1224
1225         * QtLauncher/main.cpp:
1226         (MainWindow::MainWindow):
1227
1228 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1229
1230         Reviewed by Lars.
1231
1232         Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
1233         Added QWebPageContext to hold context sensitive information (for example used by the context menu).
1234
1235         * Api/qwebpage.cpp:
1236         (QWebPagePrivate::QWebPagePrivate):
1237         (webActionForContextMenuAction):
1238         (QWebPagePrivate::createContextMenu):
1239         (QWebPagePrivate::_q_webActionTriggered):
1240         (QWebPage::webActionTriggered):
1241         (QWebPage::webAction):
1242         (QWebPage::contextMenuEvent):
1243         (QWebPageContext::QWebPageContext):
1244         (QWebPageContext::operator=):
1245         (QWebPageContext::~QWebPageContext):
1246         (QWebPageContext::pos):
1247         (QWebPageContext::text):
1248         (QWebPageContext::linkUrl):
1249         (QWebPageContext::imageUrl):
1250         (QWebPageContext::image):
1251         (QWebPageContext::targetFrame):
1252         * Api/qwebpage.h:
1253         * Api/qwebpage_p.h:
1254
1255 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1256
1257         Reviewed by Lars.
1258
1259         Moved the editing actions implemented in keyPressEvent into webActionTriggered.
1260
1261         * Api/qwebpage.cpp:
1262         (QWebPage::webActionTriggered):
1263         (QWebPage::keyPressEvent):
1264         * Api/qwebpage.h:
1265
1266 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1267
1268         Reviewed by Lars.
1269
1270         Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
1271         convenience methods such as cut()/copy()/paste().
1272
1273         * Api/qwebpage.cpp:
1274         (QWebPage::goBack):
1275         (QWebPage::webActionTriggered):
1276         (QWebPage::cut):
1277         (QWebPage::copy):
1278         * Api/qwebpage.h:
1279
1280 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1281
1282         Reviewed by Lars.
1283
1284         Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
1285         QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
1286         in ContextMenu::populate().
1287         For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
1288         out of it. That menu is currently not functional anymore though.
1289
1290         * Api/qwebpage.cpp:
1291         (QWebPagePrivate::createContextMenu):
1292         (QWebPage::contextMenuEvent):
1293         * Api/qwebpage_p.h:
1294
1295 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1296
1297         Reviewed by Lars.
1298
1299         Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
1300         but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
1301         Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
1302         on it.
1303
1304         * Api/qwebpage.cpp:
1305         (QWebPage::contextMenuEvent):
1306         * WebCoreSupport/ContextMenuClientQt.cpp:
1307         (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1308
1309 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1310
1311         Reviewed by Lars.
1312
1313         Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
1314         Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
1315
1316         * Api/qwebpage.cpp:
1317         (QWebPage::mousePressEvent):
1318         (QWebPage::contextMenuEvent):
1319         * Api/qwebpage.h:
1320
1321 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1322
1323         Reviewed by Lars.
1324
1325         Turned onLoadProgressChanged into a real private slot.
1326
1327         * Api/qwebpage.cpp:
1328         (QWebPage::QWebPage):
1329         * Api/qwebpage.h:
1330         * Api/qwebpage_p.h:
1331
1332 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1333
1334         Reviewed by Lars.
1335
1336         Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
1337
1338         * Api/qwebpage.cpp:
1339         (QWebPagePrivate::QWebPagePrivate):
1340         * Api/qwebpage.h:
1341         * Api/qwebpage_p.h:
1342         * Api/qwebpagehistory.cpp:
1343         (QWebPageHistory::QWebPageHistory):
1344         * Api/qwebpagehistory.h:
1345
1346 2007-11-07  Lars Knoll  <lars@trolltech.com>
1347
1348         Reviewed by Simon.
1349
1350         comments on API changes that we'd like to do.
1351
1352         * Api/qwebpage.h:
1353
1354 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1355
1356         Reviewed by Lars Knoll <lars@trolltech.com>.
1357
1358         Add a QWebPage::frameCreated() signal and fix DRT
1359         
1360         The removal of createFrame in QWebPage broke the re-implementation
1361         in DumpRenderTree. Instead emit a frameCreated() signal and
1362         connect to it in DumpRenderTree.
1363         
1364
1365         * Api/qwebpage.cpp:
1366         (QWebPagePrivate::createMainFrame):
1367         * Api/qwebpage.h:
1368         * WebCoreSupport/FrameLoaderClientQt.cpp:
1369         (WebCore::FrameLoaderClientQt::createFrame):
1370
1371 2007-11-07  Lars Knoll  <lars@trolltech.com>
1372
1373         Reviewed by Simon.
1374
1375         Remove QWebPage::createFrame()
1376         
1377         now that QWebFrame doesn't have virtual methods anymore, there
1378         is no need for a createFrame() factory method in QWebpage.
1379
1380         * Api/qwebpage.cpp:
1381         (QWebPagePrivate::createMainFrame):
1382         * Api/qwebpage.h:
1383         * WebCoreSupport/FrameLoaderClientQt.cpp:
1384         (WebCore::FrameLoaderClientQt::createFrame):
1385
1386 2007-11-07  Simon Hausmann  <hausmann@kde.org>
1387
1388         Reviewed by Lars Knoll <lars@trolltech.com>.
1389
1390         Moved all the event handlers from QWebFrame into QWebPage.
1391         
1392         This cleans up the public API and allows us to remove the
1393         HackWebFrame hack in DumpRenderTree.
1394         
1395
1396         * Api/qwebframe.cpp:
1397         (QWebFrame::pos):
1398         * Api/qwebframe.h:
1399         * Api/qwebframe_p.h:
1400         * Api/qwebpage.cpp:
1401         (QWebPagePrivate::frameAt):
1402         (QWebPage::mouseMoveEvent):
1403         (QWebPage::mousePressEvent):
1404         (QWebPage::mouseDoubleClickEvent):
1405         (QWebPage::mouseReleaseEvent):
1406         (QWebPage::wheelEvent):
1407         * Api/qwebpage_p.h:
1408
1409 2007-11-07  Holger Freyther  <holger.freyther@trolltech.com>
1410
1411         Reviewed by Lars Knoll <lars@trolltech.com>.
1412
1413         Use correct UserAgent string.
1414         
1415         * Only have one User Agent String and this place is QWebPage
1416         * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
1417         ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
1418         * ResourceRequest is != 0 when getting called from WebCore, we
1419         will only do requests when coming from WebCore and then we can
1420         use the User-Agent set with the help of the FrameLoaderClient
1421         * We might want to change QWebNetworkRequest a bit
1422         
1423
1424         * Api/qwebnetworkinterface.cpp:
1425         (QWebNetworkRequestPrivate::init):
1426
1427 2007-11-07  Lars Knoll  <lars@trolltech.com>
1428
1429         Reviewed by Simon.
1430
1431         remove two notImplemented() warnings, as I believe we don't
1432         have to implement these methods. Add some (commented out)
1433         debug code in one place.
1434
1435         * WebCoreSupport/EditorClientQt.cpp:
1436         (WebCore::EditorClientQt::respondToChangedSelection):
1437         (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1438
1439 2007-11-05  Tristan O'Tierney  <tristan@apple.com>
1440
1441         Reviewed by Darin Adler.
1442
1443         * WebCoreSupport/ChromeClientQt.cpp:
1444         (WebCore::ChromeClientQt::createWindow):
1445         * WebCoreSupport/ChromeClientQt.h:
1446         Revised to use new WebCore ChromeClient createWindow API.
1447
1448 2007-10-31  Lars Knoll  <lars@trolltech.com>
1449
1450         Reviewed by Simon.
1451
1452         fix most of the issues I found with Clipboard and DnD.
1453
1454         * Api/qwebpage.cpp:
1455         (QWebPage::dragLeaveEvent):
1456
1457 2007-10-31  Lars Knoll  <lars@trolltech.com>
1458
1459         Reviewed by Simon.
1460
1461         QDrag objects need to be created on the heap.
1462
1463         * WebCoreSupport/DragClientQt.cpp:
1464         (WebCore::DragClientQt::startDrag):
1465
1466 2007-10-31  Lars Knoll  <lars@trolltech.com>
1467
1468         Reviewed by Simon.
1469
1470         a dragLeave event is not the same as cancelling a drag.
1471
1472         * Api/qwebpage.cpp:
1473
1474 2007-10-26  Mark Rowe  <mrowe@apple.com>
1475
1476         Build fix.  Add missing #include of Platform.h.
1477
1478         * Api/qwebhistoryinterface.cpp:
1479
1480 2007-10-25  Holger Freyther  <zecke@selfish.org>
1481
1482         Reviewed by Simon Hausmann <hausmann@kde.org>.
1483
1484         * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
1485         * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
1486         * This is causing some regressions...
1487         
1488
1489         * Api/qwebnetworkinterface.cpp:
1490         (QWebNetworkManager::started):
1491         (QWebNetworkInterface::addJob):
1492
1493 2007-10-25  Holger Freyther  <zecke@selfish.org>
1494
1495         Reviewed by Simon Hausmann <hausmann@kde.org>.
1496
1497         * Make fast/loader/xmlhttprequest-bad-mimetype.html pass. We use QHttp to download local files but we may not set the HTTP result code on the ResourceResponse.
1498         * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
1499         
1500
1501         * Api/qwebnetworkinterface.cpp:
1502         (QWebNetworkManager::started):
1503
1504 2007-10-25  Holger Freyther  <zecke@selfish.org>
1505
1506         Reviewed by Simon Hausmann <hausmann@kde.org>.
1507
1508         * fast/dom/onerror-img.html regressed due checking the JobStates because in case of error (e.g. not being able to connect) the job will no be started.
1509         * Use the error message from Qt. It might or might not be translated.
1510         
1511
1512         * Api/qwebnetworkinterface.cpp:
1513         (QWebNetworkJob::errorString):
1514         (QWebNetworkJob::setErrorString):
1515         (QWebNetworkManager::finished):
1516         (QWebNetworkManager::doWork):
1517         (WebCoreHttp::onRequestFinished):
1518         * Api/qwebnetworkinterface.h:
1519         * Api/qwebnetworkinterface_p.h:
1520
1521 2007-10-25  Holger Freyther  <zecke@selfish.org>
1522
1523         Reviewed by Simon Hausmann <hausmann@kde.org>.
1524
1525         * Use the JobStatus to make sure to not deliver finished/data before the job has started. This is the case with the fast/dom/onerror-img.html test case.
1526         * We have no idea if any data will come so we can still finish and then get pending data. This luckily can't happen for the local file case.
1527         
1528
1529         * Api/qwebnetworkinterface.cpp:
1530         (QWebNetworkManager::doWork):
1531
1532 2007-10-25  Holger Freyther  <zecke@selfish.org>
1533
1534         Reviewed by Simon Hausmann <hausmann@kde.org>.
1535
1536         * No need to initialize values in the QWebNetworkJob c'tor
1537         * Add a JobStatus to QWebNetworkJob and verify that the jobs are handled in the way we expect them to be handled. This means no data after the job has finished, not finishing a job before it has been started.
1538         
1539
1540         * Api/qwebnetworkinterface.cpp:
1541         (QWebNetworkJob::status):
1542         (QWebNetworkJob::setStatus):
1543         (QWebNetworkManager::started):
1544         (QWebNetworkManager::data):
1545         (QWebNetworkManager::finished):
1546         * Api/qwebnetworkinterface.h:
1547         * Api/qwebnetworkinterface_p.h:
1548         (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1549
1550 2007-10-25  Holger Freyther  <zecke@selfish.org>
1551
1552         Reviewed by Simon Hausmann <hausmann@kde.org>.
1553
1554         * Consistency: Always name the jobs job.
1555         
1556
1557         * Api/qwebnetworkinterface.cpp:
1558         (WebCoreHttp::onReadyRead):
1559         (WebCoreHttp::onRequestFinished):
1560         (WebCoreHttp::onSslErrors):
1561         (WebCoreHttp::onAuthenticationRequired):
1562         (WebCoreHttp::onProxyAuthenticationRequired):
1563
1564 2007-10-25  Holger Freyther  <zecke@selfish.org>
1565
1566         Reviewed by Simon Hausmann <hausmann@kde.org>.
1567
1568         * Implement our own queuing of network jobs to allow special handling of synchronous jobs. This makes us pass the fast/dom/xmlhttprequest-html-response-encoding.html test without a crash. Sync jobs will get a special treatment over the normals ones and in theory more than one sync job is supported.
1569         * This should be thread-safe besides QWebNetworkJob::{ref,deref}
1570         
1571
1572         * Api/qwebnetworkinterface.cpp:
1573         (QWebNetworkJob::~QWebNetworkJob):
1574         (QWebNetworkManager::QWebNetworkManager):
1575         (QWebNetworkManager::self):
1576         (QWebNetworkManager::add):
1577         (QWebNetworkManager::started):
1578         (QWebNetworkManager::finished):
1579         (QWebNetworkInterfacePrivate::sendFileData):
1580         (QWebNetworkInterfacePrivate::parseDataUrl):
1581         (QWebNetworkManager::queueStart):
1582         (QWebNetworkManager::queueData):
1583         (QWebNetworkManager::queueFinished):
1584         (QWebNetworkManager::doScheduleWork):
1585         (QWebNetworkManager::doWork):
1586         (gCleanupInterface):
1587         (QWebNetworkInterface::setDefaultInterface):
1588         (QWebNetworkInterface::defaultInterface):
1589         (QWebNetworkInterface::QWebNetworkInterface):
1590         (QWebNetworkInterface::started):
1591         (QWebNetworkInterface::data):
1592         (QWebNetworkInterface::finished):
1593         (WebCoreHttp::scheduleNextRequest):
1594         (WebCoreHttp::onResponseHeaderReceived):
1595         (WebCoreHttp::onReadyRead):
1596         (WebCoreHttp::onRequestFinished):
1597         (WebCoreHttp::cancel):
1598         * Api/qwebnetworkinterface.h:
1599         * Api/qwebnetworkinterface_p.h:
1600         (QWebNetworkManager::):
1601         (QWebNetworkManager::JobData::JobData):
1602         (QWebNetworkManager::JobFinished::JobFinished):
1603
1604 2007-10-25  Holger Freyther  <zecke@selfish.org>
1605
1606         Reviewed by Simon Hausmann <hausmann@kde.org>.
1607
1608         * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
1609         * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
1610         * We pass the char-decoding.html test now
1611         
1612
1613         * Api/qwebnetworkinterface.cpp:
1614         (decodePercentEncoding):
1615         (QWebNetworkInterfacePrivate::parseDataUrl):
1616
1617 2007-10-24  Holger Hans Peter Freyther  <zecke@selfish.org>
1618
1619         Reviewed by Lars Knoll <lars@trolltech.com>.
1620
1621         * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
1622         
1623
1624         * WebCoreSupport/EditorClientQt.cpp:
1625         (WebCore::EditorClientQt::handleKeypress):
1626
1627 2007-10-24  Lars Knoll  <lars@trolltech.com>
1628
1629         Reviewed by Simon.
1630
1631         remove some notImplemented() warnings.
1632
1633         * WebCoreSupport/EditorClientQt.cpp:
1634         (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
1635         (WebCore::EditorClientQt::isGrammarCheckingEnabled):
1636         (WebCore::EditorClientQt::respondToChangedSelection):
1637
1638 2007-10-24  Lars Knoll  <lars@trolltech.com>
1639
1640         Reviewed by Simon.
1641
1642         allow paste from DOM so we pass more test cases.
1643
1644         * Api/qwebpage.cpp:
1645         (QWebPage::setSettings):
1646
1647 2007-10-24  Lars Knoll  <lars@trolltech.com>
1648
1649         Reviewed by Simon.
1650
1651         Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
1652
1653         * Api/qwebpage.cpp:
1654         (QWebPage::keyPressEvent):
1655         (QWebPage::keyReleaseEvent):
1656
1657 2007-10-24  Lars Knoll  <lars@trolltech.com>
1658
1659         Reviewed by Simon.
1660
1661         some smaller fixes to the editing support in DRT. Makes another few tests pass.
1662
1663         * WebCoreSupport/EditorClientQt.cpp:
1664         (qt_dump_editing_callbacks):
1665         (qt_drt_run):
1666
1667 2007-10-24  Lars Knoll  <lars@trolltech.com>
1668
1669         Reviewed by Simon.
1670
1671         implemented support for most editing shortcuts to make contentEditable usable.
1672
1673         * Api/qwebpage.cpp:
1674         (QWebPage::keyPressEvent):
1675
1676 2007-10-24  Lars Knoll  <lars@trolltech.com>
1677
1678         Reviewed by Simon.
1679
1680         no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
1681
1682         * Api/qwebpage.cpp:
1683         (QWebPage::focusInEvent):
1684
1685 2007-10-24  Lars Knoll  <lars@trolltech.com>
1686
1687         Reviewed by Simon.
1688
1689         Implement support for testing editing.
1690
1691         * WebCoreSupport/EditorClientQt.cpp:
1692         (qt_dump_editing_callbacks):
1693         (qt_dump_set_accepts_editing):
1694         (dumpPath):
1695         (dumpRange):
1696         (WebCore::EditorClientQt::shouldDeleteRange):
1697         (WebCore::EditorClientQt::shouldShowDeleteInterface):
1698         (WebCore::EditorClientQt::shouldBeginEditing):
1699         (WebCore::EditorClientQt::shouldEndEditing):
1700         (WebCore::EditorClientQt::shouldInsertText):
1701         (WebCore::EditorClientQt::shouldChangeSelectedRange):
1702         (WebCore::EditorClientQt::shouldApplyStyle):
1703         (WebCore::EditorClientQt::didBeginEditing):
1704         (WebCore::EditorClientQt::respondToChangedContents):
1705         (WebCore::EditorClientQt::respondToChangedSelection):
1706         (WebCore::EditorClientQt::didEndEditing):
1707         (WebCore::EditorClientQt::shouldInsertNode):
1708
1709 2007-10-19  Alp Toker  <alp@atoker.com>
1710
1711         Reviewed by Oliver.
1712
1713         GTK+ build fix enabling the new local database storage feature.
1714         There is also a prospective Qt build fix.
1715
1716         * WebCoreSupport/ChromeClientQt.cpp:
1717         (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
1718         * WebCoreSupport/ChromeClientQt.h:
1719
1720 2007-10-19  Simon Hausmann  <hausmann@kde.org>
1721
1722         Fix the Qt/Windows build: Include the moc file from the .cpp file so
1723         that config.h is included before wtf/MathExtras. The former defines
1724         the MSVC defines for rand_s.
1725
1726         * WebCoreSupport/FrameLoaderClientQt.cpp:
1727
1728 2007-10-19  Simon Hausmann  <shausman@trolltech.com>
1729
1730         Reviewed by Lars.
1731
1732         Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
1733
1734         * Api/qwebframe.cpp:
1735         * Api/qwebpage.cpp:
1736
1737 2007-10-10  Alice Liu  <alice.liu@apple.com>
1738
1739         Reviewed by Geoff Garen.
1740
1741         changes to keep the build from breaking
1742
1743         * WebCoreSupport/FrameLoaderClientQt.cpp:
1744         (WebCore::FrameLoaderClientQt::createFrame):
1745         * WebCoreSupport/FrameLoaderClientQt.h:
1746
1747 2007-10-09  Lars Knoll  <lars@trolltech.com>
1748
1749         Reviewed by Simon.
1750
1751         set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
1752
1753         * Api/qwebpage.cpp:
1754         (QWebPage::setSettings):
1755
1756 2007-10-09  Lars Knoll  <lars@trolltech.com>
1757
1758         Reviewed by Simon.
1759
1760         Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
1761
1762         * Api/qwebnetworkinterface.cpp:
1763         (QWebNetworkManager::add):
1764         (QWebNetworkManager::cancel):
1765         (QWebNetworkManager::started):
1766         (QWebNetworkManager::data):
1767         (QWebNetworkInterfacePrivate::parseDataUrl):
1768
1769 2007-10-09  Lars Knoll  <lars@trolltech.com>
1770
1771         Reviewed by Simon.
1772
1773         Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
1774
1775         * Api/qwebpage.cpp:
1776         (QWebPagePrivate::createMainFrame):
1777         (QWebPage::createFrame):
1778         * WebCoreSupport/FrameLoaderClientQt.cpp:
1779         (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1780         * WebCoreSupport/FrameLoaderClientQt.h:
1781
1782 2007-10-09  Lars Knoll  <lars@trolltech.com>
1783
1784         Reviewed by Simon.
1785
1786         add a clear() method to QWebPageHistory.
1787
1788         * Api/qwebpagehistory.cpp:
1789         (QWebPageHistory::clear):
1790         (QWebPageHistory::itemAtIndex):
1791         * Api/qwebpagehistory.h:
1792
1793 2007-10-05  Lars Knoll  <lars@trolltech.com>
1794
1795         add proper error messages to the FrameLoaderClient.
1796         Implement ChromeClientQt::closeWindowSoon and
1797         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
1798         Some fixes in DRT to make it work correctly with multiple windows.
1799
1800         Reviewed by Maciej.
1801
1802         * Api/qwebframe.h:
1803         * Api/qwebnetworkinterface.cpp:
1804         (QWebNetworkManager::cancel):
1805         (QWebNetworkInterface::addJob):
1806         * WebCoreSupport/ChromeClientQt.cpp:
1807         (WebCore::ChromeClientQt::closeWindowSoon):
1808         * WebCoreSupport/FrameLoaderClientQt.cpp:
1809         (WebCore::FrameLoaderClientQt::cancelledError):
1810         (WebCore::):
1811         (WebCore::FrameLoaderClientQt::blockedError):
1812         (WebCore::FrameLoaderClientQt::cannotShowURLError):
1813         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1814         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1815         (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1816
1817 2007-10-03  Lars Knoll  <lars@trolltech.com>
1818
1819         Signed off by Olliej.
1820
1821         move WebKitQt to WebKit/qt for consistency with the other ports.
1822
1823         * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
1824         * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
1825         (QCookieJarPrivate::QCookieJarPrivate):
1826         (qHash):
1827         (QCookieJar::QCookieJar):
1828         (QCookieJar::~QCookieJar):
1829         (QCookieJar::setCookies):
1830         (QCookieJar::cookies):
1831         (QCookieJar::isEnabled):
1832         (QCookieJar::setEnabled):
1833         (gCleanupJar):
1834         (QCookieJar::setCookieJar):
1835         (QCookieJar::cookieJar):
1836         * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
1837         * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
1838         * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
1839         (QWebFramePrivate::init):
1840         (QWebFramePrivate::parentFrame):
1841         (QWebFramePrivate::horizontalScrollBar):
1842         (QWebFramePrivate::verticalScrollBar):
1843         (QWebFrame::QWebFrame):
1844         (QWebFrame::~QWebFrame):
1845         (QWebFrame::addToJSWindowObject):
1846         (QWebFrame::markup):
1847         (QWebFrame::innerText):
1848         (QWebFrame::renderTreeDump):
1849         (QWebFrame::title):
1850         (QWebFrame::name):
1851         (QWebFrame::page):
1852         (QWebFrame::selectedText):
1853         (QWebFrame::childFrames):
1854         (QWebFrame::verticalScrollBarPolicy):
1855         (QWebFrame::setVerticalScrollBarPolicy):
1856         (QWebFrame::horizontalScrollBarPolicy):
1857         (QWebFrame::setHorizontalScrollBarPolicy):
1858         (QWebFrame::render):
1859         (QWebFrame::layout):
1860         (QWebFrame::pos):
1861         (QWebFrame::geometry):
1862         (QWebFrame::evaluateJavaScript):
1863         (QWebFrame::mouseMoveEvent):
1864         (QWebFrame::mousePressEvent):
1865         (QWebFrame::mouseDoubleClickEvent):
1866         (QWebFrame::mouseReleaseEvent):
1867         (QWebFrame::wheelEvent):
1868         * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
1869         * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
1870         (QWebFramePrivate::QWebFramePrivate):
1871         * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
1872         (WebCore::historyContains):
1873         (gCleanupInterface):
1874         (QWebHistoryInterface::setDefaultInterface):
1875         (QWebHistoryInterface::defaultInterface):
1876         (QWebHistoryInterface::QWebHistoryInterface):
1877         * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
1878         * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
1879         * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
1880         (qHash):
1881         (operator==):
1882         (QWebNetworkRequestPrivate::init):
1883         (QWebNetworkRequestPrivate::setURL):
1884         (QWebNetworkRequest::QWebNetworkRequest):
1885         (QWebNetworkRequest::operator=):
1886         (QWebNetworkRequest::~QWebNetworkRequest):
1887         (QWebNetworkRequest::url):
1888         (QWebNetworkRequest::setUrl):
1889         (QWebNetworkRequest::httpHeader):
1890         (QWebNetworkRequest::setHttpHeader):
1891         (QWebNetworkRequest::httpHeaderField):
1892         (QWebNetworkRequest::setHttpHeaderField):
1893         (QWebNetworkRequest::postData):
1894         (QWebNetworkRequest::setPostData):
1895         (QWebNetworkJob::QWebNetworkJob):
1896         (QWebNetworkJob::~QWebNetworkJob):
1897         (QWebNetworkJob::url):
1898         (QWebNetworkJob::postData):
1899         (QWebNetworkJob::httpHeader):
1900         (QWebNetworkJob::request):
1901         (QWebNetworkJob::response):
1902         (QWebNetworkJob::setResponse):
1903         (QWebNetworkJob::cancelled):
1904         (QWebNetworkJob::ref):
1905         (QWebNetworkJob::deref):
1906         (QWebNetworkJob::networkInterface):
1907         (QWebNetworkJob::frame):
1908         (QWebNetworkManager::QWebNetworkManager):
1909         (QWebNetworkManager::self):
1910         (QWebNetworkManager::add):
1911         (QWebNetworkManager::cancel):
1912         (QWebNetworkManager::started):
1913         (QWebNetworkManager::data):
1914         (QWebNetworkManager::finished):
1915         (QWebNetworkManager::addHttpJob):
1916         (QWebNetworkManager::cancelHttpJob):
1917         (QWebNetworkManager::httpConnectionClosed):
1918         (QWebNetworkInterfacePrivate::sendFileData):
1919         (QWebNetworkInterfacePrivate::parseDataUrl):
1920         (gCleanupInterface):
1921         (QWebNetworkInterface::setDefaultInterface):
1922         (QWebNetworkInterface::defaultInterface):
1923         (QWebNetworkInterface::QWebNetworkInterface):
1924         (QWebNetworkInterface::~QWebNetworkInterface):
1925         (QWebNetworkInterface::addJob):
1926         (QWebNetworkInterface::cancelJob):
1927         (WebCoreHttp::WebCoreHttp):
1928         (WebCoreHttp::~WebCoreHttp):
1929         (WebCoreHttp::request):
1930         (WebCoreHttp::scheduleNextRequest):
1931         (WebCoreHttp::getConnection):
1932         (WebCoreHttp::onResponseHeaderReceived):
1933         (WebCoreHttp::onReadyRead):
1934         (WebCoreHttp::onRequestFinished):
1935         (WebCoreHttp::onDone):
1936         (WebCoreHttp::onStateChanged):
1937         (WebCoreHttp::cancel):
1938         (WebCoreHttp::onSslErrors):
1939         (WebCoreHttp::onAuthenticationRequired):
1940         (WebCoreHttp::onProxyAuthenticationRequired):
1941         (HostInfo::HostInfo):
1942         * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
1943         * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
1944         (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
1945         (WebCore::HostInfo::HostInfo):
1946         (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
1947         * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
1948         (QWebFactoryLoader::QWebFactoryLoader):
1949         (QWebFactoryLoader::self):
1950         (QWebFactoryLoader::descriptionForName):
1951         (QWebFactoryLoader::mimetypesForName):
1952         (QWebFactoryLoader::mimeTypeForExtension):
1953         (QWebFactoryLoader::extensions):
1954         (QWebFactoryLoader::nameForMimetype):
1955         (QWebFactoryLoader::create):
1956         (QWebObjectPlugin::QWebObjectPlugin):
1957         (QWebObjectPlugin::~QWebObjectPlugin):
1958         (QWebObjectPlugin::descriptionForKey):
1959         (QWebObjectPlugin::mimetypesForKey):
1960         (QWebObjectPlugin::extensionsForMimetype):
1961         * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
1962         * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
1963         (QWebFactoryLoader::names):
1964         (QWebFactoryLoader::supportsMimeType):
1965         * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
1966         (QWebObjectPluginConnector::QWebObjectPluginConnector):
1967         (QWebObjectPluginConnector::frame):
1968         (QWebObjectPluginConnector::pluginParentWidget):
1969         (QWebObjectPluginConnector::requestUrl):
1970         * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
1971         * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
1972         (QWebPagePrivate::QWebPagePrivate):
1973         (QWebPagePrivate::~QWebPagePrivate):
1974         (QWebPagePrivate::navigationRequested):
1975         (QWebPagePrivate::createMainFrame):
1976         (QWebPage::QWebPage):
1977         (QWebPage::~QWebPage):
1978         (QWebPage::createFrame):
1979         (QWebPage::open):
1980         (QWebPage::url):
1981         (QWebPage::title):
1982         (QWebPage::mainFrame):
1983         (QWebPage::sizeHint):
1984         (QWebPage::stop):
1985         (QWebPage::history):
1986         (QWebPage::goBack):
1987         (QWebPage::goForward):
1988         (QWebPage::goToHistoryItem):
1989         (QWebPage::javaScriptConsoleMessage):
1990         (QWebPage::javaScriptAlert):
1991         (QWebPage::javaScriptConfirm):
1992         (QWebPage::javaScriptPrompt):
1993         (QWebPage::createWindow):
1994         (QWebPage::createModalDialog):
1995         (QWebPage::createPlugin):
1996         (QWebPage::navigationRequested):
1997         (QWebPage::setWindowGeometry):
1998         (QWebPage::canCut):
1999         (QWebPage::canCopy):
2000         (QWebPage::canPaste):
2001         (QWebPage::cut):
2002         (QWebPage::copy):
2003         (QWebPage::paste):
2004         (QWebPage::isModified):
2005         (QWebPage::undoStack):
2006         (dropActionToDragOp):
2007         (dragOpToDropAction):
2008         (QWebPage::resizeEvent):
2009         (QWebPage::paintEvent):
2010         (QWebPage::mouseMoveEvent):
2011         (QWebPage::mousePressEvent):
2012         (QWebPage::mouseDoubleClickEvent):
2013         (QWebPage::mouseReleaseEvent):
2014         (QWebPage::wheelEvent):
2015         (QWebPage::keyPressEvent):
2016         (QWebPage::keyReleaseEvent):
2017         (QWebPage::focusInEvent):
2018         (QWebPage::focusOutEvent):
2019         (QWebPage::focusNextPrevChild):
2020         (QWebPage::dragEnterEvent):
2021         (QWebPage::dragLeaveEvent):
2022         (QWebPage::dragMoveEvent):
2023         (QWebPage::dropEvent):
2024         (QWebPage::setNetworkInterface):
2025         (QWebPage::networkInterface):
2026         (QWebPage::icon):
2027         (QWebPage::setSettings):
2028         (QWebPage::settings):
2029         (QWebPage::chooseFile):
2030         (QWebPage::setNetworkProxy):
2031         (QWebPage::networkProxy):
2032         (QWebPage::userAgentStringForUrl):
2033         (QWebPage::onLoadProgressChanged):
2034         (QWebPage::totalBytes):
2035         * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
2036         * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
2037         * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
2038         (QWebHistoryItem::QWebHistoryItem):
2039         (QWebHistoryItem::operator=):
2040         (QWebHistoryItem::~QWebHistoryItem):
2041         (QWebHistoryItem::originalUrl):
2042         (QWebHistoryItem::currentUrl):
2043         (QWebHistoryItem::title):
2044         (QWebHistoryItem::lastVisited):
2045         (QWebHistoryItem::icon):
2046         (QWebPageHistory::QWebPageHistory):
2047         (QWebPageHistory::itemAtIndex):
2048         (QWebPageHistory::operator=):
2049         (QWebPageHistory::~QWebPageHistory):
2050         (QWebPageHistory::items):
2051         (QWebPageHistory::backItems):
2052         (QWebPageHistory::forwardItems):
2053         (QWebPageHistory::canGoBack):
2054         (QWebPageHistory::canGoForward):
2055         (QWebPageHistory::goBack):
2056         (QWebPageHistory::goForward):
2057         (QWebPageHistory::goToItem):
2058         (QWebPageHistory::backItem):
2059         (QWebPageHistory::currentItem):
2060         (QWebPageHistory::forwardItem):
2061         * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
2062         (QExplicitlySharedDataPointer::operator*):
2063         (QExplicitlySharedDataPointer::operator->):
2064         (QExplicitlySharedDataPointer::operator T *):
2065         (QExplicitlySharedDataPointer::operator const T *):
2066         (QExplicitlySharedDataPointer::data):
2067         (QExplicitlySharedDataPointer::constData):
2068         (QExplicitlySharedDataPointer::operator==):
2069         (QExplicitlySharedDataPointer::operator!=):
2070         (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
2071         (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
2072         (QExplicitlySharedDataPointer::operator=):
2073         (QExplicitlySharedDataPointer::operator!):
2074         (::QExplicitlySharedDataPointer):
2075         * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
2076         (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
2077         (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
2078         (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
2079         (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
2080         * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
2081         (QWebSettingsPrivate::QWebSettingsPrivate):
2082         (QWebSettings::QWebSettings):
2083         (QWebSettings::~QWebSettings):
2084         (QWebSettings::setMinimumFontSize):
2085         (QWebSettings::minimumFontSize):
2086         (QWebSettings::setMinimumLogicalFontSize):
2087         (QWebSettings::minimumLogicalFontSize):
2088         (QWebSettings::setDefaultFontSize):
2089         (QWebSettings::defaultFontSize):
2090         (QWebSettings::setDefaultFixedFontSize):
2091         (QWebSettings::defaultFixedFontSize):
2092         (QWebSettings::setUserStyleSheetLocation):
2093         (QWebSettings::userStyleSheetLocation):
2094         (QWebSettings::setIconDatabaseEnabled):
2095         (QWebSettings::iconDatabaseEnabled):
2096         (QWebSettings::setWebGraphic):
2097         (QWebSettings::webGraphic):
2098         (QWebSettings::operator=):
2099         (QWebSettings::setGlobal):
2100         (QWebSettings::global):
2101         (QWebSettings::setFontFamily):
2102         (QWebSettings::fontFamily):
2103         (QWebSettings::setAttribute):
2104         (QWebSettings::testAttribute):
2105         (loadResourcePixmap):
2106         * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
2107         * ChangeLog: Renamed from WebKitQt/ChangeLog.
2108         * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
2109         (IcoHeader::operator >>):
2110         (IcoHeader::BMP_INFOHDR::):
2111         (IcoHeader::operator<<):
2112         (IcoHeader::LessDifference::LessDifference):
2113         (IcoHeader::LessDifference::operator ()):
2114         (IcoHeader::loadFromDIB):
2115         (ICOHandler::ICOHandler):
2116         (ICOHandler::canRead):
2117         (ICOHandler::read):
2118         (ICOHandler::write):
2119         (ICOHandler::name):
2120         (ICOPlugin::keys):
2121         (ICOPlugin::capabilities):
2122         (ICOPlugin::create):
2123         * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
2124         * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
2125         * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
2126         * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
2127         (HoverLabel::HoverLabel):
2128         (HoverLabel::setHoverLink):
2129         (HoverLabel::sizeForFont):
2130         (HoverLabel::sizeHint):
2131         (HoverLabel::updateSize):
2132         (HoverLabel::resetAnimation):
2133         (HoverLabel::paintEvent):
2134         (HoverLabel::interpolate):
2135         (ClearButton::ClearButton):
2136         (ClearButton::paintEvent):
2137         (SearchEdit::SearchEdit):
2138         (SearchEdit::~SearchEdit):
2139         (SearchEdit::paintEvent):
2140         (SearchEdit::resizeEvent):
2141         (SearchEdit::moveEvent):
2142         (MainWindow::MainWindow):
2143         (MainWindow::changeLocation):
2144         (MainWindow::loadFinished):
2145         (MainWindow::showLinkHover):
2146         (MainWindow::resizeEvent):
2147         (main):
2148         * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
2149         (WebCore::ChromeClientQt::ChromeClientQt):
2150         (WebCore::ChromeClientQt::~ChromeClientQt):
2151         (WebCore::ChromeClientQt::setWindowRect):
2152         (WebCore::ChromeClientQt::windowRect):
2153         (WebCore::ChromeClientQt::pageRect):
2154         (WebCore::ChromeClientQt::scaleFactor):
2155         (WebCore::ChromeClientQt::focus):
2156         (WebCore::ChromeClientQt::unfocus):
2157         (WebCore::ChromeClientQt::canTakeFocus):
2158         (WebCore::ChromeClientQt::takeFocus):
2159         (WebCore::ChromeClientQt::createWindow):
2160         (WebCore::ChromeClientQt::createModalDialog):
2161         (WebCore::ChromeClientQt::show):
2162         (WebCore::ChromeClientQt::canRunModal):
2163         (WebCore::ChromeClientQt::runModal):
2164         (WebCore::ChromeClientQt::setToolbarsVisible):
2165         (WebCore::ChromeClientQt::toolbarsVisible):
2166         (WebCore::ChromeClientQt::setStatusbarVisible):
2167         (WebCore::ChromeClientQt::statusbarVisible):
2168         (WebCore::ChromeClientQt::setScrollbarsVisible):
2169         (WebCore::ChromeClientQt::scrollbarsVisible):
2170         (WebCore::ChromeClientQt::setMenubarVisible):
2171         (WebCore::ChromeClientQt::menubarVisible):
2172         (WebCore::ChromeClientQt::setResizable):
2173         (WebCore::ChromeClientQt::addMessageToConsole):
2174         (WebCore::ChromeClientQt::chromeDestroyed):
2175         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
2176         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
2177         (WebCore::ChromeClientQt::closeWindowSoon):
2178         (WebCore::ChromeClientQt::runJavaScriptAlert):
2179         (WebCore::ChromeClientQt::runJavaScriptConfirm):
2180         (WebCore::ChromeClientQt::runJavaScriptPrompt):
2181         (WebCore::ChromeClientQt::setStatusbarText):
2182         (WebCore::ChromeClientQt::shouldInterruptJavaScript):
2183         (WebCore::ChromeClientQt::tabsToLinks):
2184         (WebCore::ChromeClientQt::windowResizerRect):
2185         (WebCore::ChromeClientQt::addToDirtyRegion):
2186         (WebCore::ChromeClientQt::scrollBackingStore):
2187         (WebCore::ChromeClientQt::updateBackingStore):
2188         (WebCore::ChromeClientQt::mouseDidMoveOverElement):
2189         (WebCore::ChromeClientQt::setToolTip):
2190         (WebCore::ChromeClientQt::print):
2191         * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
2192         * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
2193         (WebCore::ContextMenuClientQt::contextMenuDestroyed):
2194         (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
2195         (WebCore::ContextMenuClientQt::contextMenuItemSelected):
2196         (WebCore::ContextMenuClientQt::downloadURL):
2197         (WebCore::ContextMenuClientQt::lookUpInDictionary):
2198         (WebCore::ContextMenuClientQt::speak):
2199         (WebCore::ContextMenuClientQt::stopSpeaking):
2200         (WebCore::ContextMenuClientQt::searchWithGoogle):
2201         * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
2202         * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
2203         (WebCore::DragClientQt::actionMaskForDrag):
2204         (WebCore::DragClientQt::willPerformDragDestinationAction):
2205         (WebCore::DragClientQt::dragControllerDestroyed):
2206         (WebCore::DragClientQt::dragSourceActionMaskForPoint):
2207         (WebCore::DragClientQt::willPerformDragSourceAction):
2208         (WebCore::DragClientQt::startDrag):
2209         * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
2210         (WebCore::DragClientQt::DragClientQt):
2211         * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
2212         (EditCommandQt::EditCommandQt):
2213         (EditCommandQt::~EditCommandQt):
2214         (EditCommandQt::redo):
2215         (EditCommandQt::undo):
2216         * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
2217         * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
2218         (WebCore::EditorClientQt::shouldDeleteRange):
2219         (WebCore::EditorClientQt::shouldShowDeleteInterface):
2220         (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
2221         (WebCore::EditorClientQt::isGrammarCheckingEnabled):
2222         (WebCore::EditorClientQt::spellCheckerDocumentTag):
2223         (WebCore::EditorClientQt::shouldBeginEditing):
2224         (WebCore::EditorClientQt::shouldEndEditing):
2225         (WebCore::EditorClientQt::shouldInsertText):
2226         (WebCore::EditorClientQt::shouldChangeSelectedRange):
2227         (WebCore::EditorClientQt::shouldApplyStyle):
2228         (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2229         (WebCore::EditorClientQt::didBeginEditing):
2230         (WebCore::EditorClientQt::respondToChangedContents):
2231         (WebCore::EditorClientQt::respondToChangedSelection):
2232         (WebCore::EditorClientQt::didEndEditing):
2233         (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
2234         (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
2235         (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
2236         (WebCore::EditorClientQt::isEditable):
2237         (WebCore::EditorClientQt::registerCommandForUndo):
2238         (WebCore::EditorClientQt::registerCommandForRedo):
2239         (WebCore::EditorClientQt::clearUndoRedoOperations):
2240         (WebCore::EditorClientQt::canUndo):
2241         (WebCore::EditorClientQt::canRedo):
2242         (WebCore::EditorClientQt::undo):
2243         (WebCore::EditorClientQt::redo):
2244         (WebCore::EditorClientQt::shouldInsertNode):
2245         (WebCore::EditorClientQt::pageDestroyed):
2246         (WebCore::EditorClientQt::smartInsertDeleteEnabled):
2247         (WebCore::EditorClientQt::toggleContinuousSpellChecking):
2248         (WebCore::EditorClientQt::toggleGrammarChecking):
2249         (WebCore::EditorClientQt::handleKeypress):
2250         (WebCore::EditorClientQt::handleInputMethodKeypress):
2251         (WebCore::EditorClientQt::EditorClientQt):
2252         (WebCore::EditorClientQt::textFieldDidBeginEditing):
2253         (WebCore::EditorClientQt::textFieldDidEndEditing):
2254         (WebCore::EditorClientQt::textDidChangeInTextField):
2255         (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
2256         (WebCore::EditorClientQt::textWillBeDeletedInTextField):
2257         (WebCore::EditorClientQt::textDidChangeInTextArea):
2258         (WebCore::EditorClientQt::ignoreWordInSpellDocument):
2259         (WebCore::EditorClientQt::learnWord):
2260         (WebCore::EditorClientQt::checkSpellingOfString):
2261         (WebCore::EditorClientQt::checkGrammarOfString):
2262         (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
2263         (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
2264         (WebCore::EditorClientQt::showSpellingUI):
2265         (WebCore::EditorClientQt::spellingUIIsShowing):
2266         (WebCore::EditorClientQt::getGuessesForWord):
2267         (WebCore::EditorClientQt::isEditing):
2268         (WebCore::EditorClientQt::setInputMethodState):
2269         * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
2270         * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
2271         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2272         (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
2273         (WebCore::FrameLoaderClientQt::setFrame):
2274         (WebCore::FrameLoaderClientQt::webFrame):
2275         (WebCore::FrameLoaderClientQt::callPolicyFunction):
2276         (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
2277         (WebCore::FrameLoaderClientQt::hasWebView):
2278         (WebCore::FrameLoaderClientQt::hasFrameView):
2279         (WebCore::FrameLoaderClientQt::hasBackForwardList):
2280         (WebCore::FrameLoaderClientQt::resetBackForwardList):
2281         (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
2282         (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
2283         (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
2284         (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
2285         (WebCore::FrameLoaderClientQt::makeDocumentView):
2286         (WebCore::FrameLoaderClientQt::makeRepresentation):
2287         (WebCore::FrameLoaderClientQt::forceLayout):
2288         (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
2289         (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
2290         (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
2291         (WebCore::FrameLoaderClientQt::resetAfterLoadError):
2292         (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
2293         (WebCore::FrameLoaderClientQt::willCloseDocument):
2294         (WebCore::FrameLoaderClientQt::detachedFromParent2):
2295         (WebCore::FrameLoaderClientQt::detachedFromParent3):
2296         (WebCore::FrameLoaderClientQt::detachedFromParent4):
2297         (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
2298         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
2299         (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
2300         (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
2301         (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
2302         (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
2303         (WebCore::FrameLoaderClientQt::dispatchWillClose):
2304         (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2305         (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
2306         (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
2307         (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
2308         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2309         (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2310         (WebCore::FrameLoaderClientQt::dispatchShow):
2311         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
2312         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
2313         (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
2314         (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
2315         (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
2316         (WebCore::FrameLoaderClientQt::revertToProvisionalState):
2317         (WebCore::FrameLoaderClientQt::clearUnarchivingState):
2318         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
2319         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
2320         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2321         (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2322         (WebCore::FrameLoaderClientQt::willChangeTitle):
2323         (WebCore::FrameLoaderClientQt::didChangeTitle):
2324         (WebCore::FrameLoaderClientQt::finishedLoading):
2325         (WebCore::FrameLoaderClientQt::finalSetupForReplace):
2326         (WebCore::FrameLoaderClientQt::setDefersLoading):
2327         (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
2328         (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
2329         (WebCore::FrameLoaderClientQt::clearArchivedResources):
2330         (WebCore::FrameLoaderClientQt::canShowMIMEType):
2331         (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
2332         (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
2333         (WebCore::FrameLoaderClientQt::frameLoadCompleted):
2334         (WebCore::FrameLoaderClientQt::restoreViewState):
2335         (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
2336         (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
2337         (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
2338         (WebCore::FrameLoaderClientQt::didFinishLoad):
2339         (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
2340         (WebCore::FrameLoaderClientQt::setTitle):
2341         (WebCore::FrameLoaderClientQt::userAgent):
2342         (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
2343         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
2344         (WebCore::FrameLoaderClientQt::canHandleRequest):
2345         (WebCore::FrameLoaderClientQt::windowObjectCleared):
2346         (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2347         (WebCore::FrameLoaderClientQt::registerForIconNotification):
2348         (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
2349         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
2350         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
2351         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
2352         (WebCore::FrameLoaderClientQt::saveViewStateToItem):
2353         (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
2354         (WebCore::FrameLoaderClientQt::canCachePage):
2355         (WebCore::FrameLoaderClientQt::setMainDocumentError):
2356         (WebCore::FrameLoaderClientQt::committedLoad):
2357         (WebCore::FrameLoaderClientQt::cancelledError):
2358         (WebCore::FrameLoaderClientQt::blockedError):
2359         (WebCore::FrameLoaderClientQt::cannotShowURLError):
2360         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
2361         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
2362         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
2363         (WebCore::FrameLoaderClientQt::shouldFallBack):
2364         (WebCore::FrameLoaderClientQt::createDocumentLoader):
2365         (WebCore::FrameLoaderClientQt::download):
2366         (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
2367         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
2368         (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
2369         (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
2370         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
2371         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
2372         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
2373         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
2374         (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
2375         (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2376         (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2377         (WebCore::FrameLoaderClientQt::dispatchCreatePage):
2378         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
2379         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2380         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2381         (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
2382         (WebCore::FrameLoaderClientQt::startDownload):
2383         (WebCore::FrameLoaderClientQt::willUseArchive):
2384         (WebCore::FrameLoaderClientQt::createFrame):
2385         (WebCore::FrameLoaderClientQt::objectContentType):
2386         (WebCore::):
2387         (WebCore::FrameLoaderClientQt::createPlugin):
2388         (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2389         (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
2390         (WebCore::FrameLoaderClientQt::overrideMediaType):
2391         * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
2392         * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
2393         (WebCore::InspectorClientQt::inspectorDestroyed):
2394         (WebCore::InspectorClientQt::createPage):
2395         (WebCore::InspectorClientQt::showWindow):
2396         (WebCore::InspectorClientQt::closeWindow):
2397         (WebCore::InspectorClientQt::attachWindow):
2398         (WebCore::InspectorClientQt::detachWindow):
2399         (WebCore::InspectorClientQt::highlight):
2400         (WebCore::InspectorClientQt::hideHighlight):
2401         * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
2402         * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
2403         (WebKitFactory::WebKitFactory):
2404         (WebKitFactory::~WebKitFactory):
2405         (WebKitFactory::createPartObject):
2406         (WebKitFactory::instance):
2407         (WebKitFactory::ref):
2408         (WebKitFactory::deref):
2409         * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
2410         * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
2411         (WebKitPart::WebKitPart):
2412         (WebKitPart::~WebKitPart):
2413         (WebKitPart::openFile):
2414         (WebKitPart::openUrl):
2415         (WebKitPart::closeUrl):
2416         (WebKitPart::parentPart):
2417         (WebKitPart::frame):
2418         (WebKitPart::initView):
2419         * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
2420         * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
2421         (WebKitPart::):
2422         * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
2423         * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
2424         * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
2425         (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
2426         * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
2427         * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
2428         (WebKitPartClient::WebKitPartClient):
2429         (WebKitPartClient::~WebKitPartClient):
2430         * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
2431         * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
2432         (WebKitPartInterface::WebKitPartInterface):
2433         (WebKitPartInterface::~WebKitPartInterface):
2434         (WebKitPartInterface::url):
2435         * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
2436         * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
2437
2438 2007-10-02  Adam Treat  <treat@kde.org>
2439
2440         Reviewed by Eric Seidel.
2441
2442         Open the requested url on the newly created window.
2443         Implement createModalDialog and provide new API for this.
2444         Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
2445
2446         * Api/qwebpage.cpp:
2447         (QWebPage::createModalDialog):
2448         * Api/qwebpage.h:
2449         * WebCoreSupport/ChromeClientQt.cpp:
2450         (WebCore::ChromeClientQt::createWindow):
2451         (WebCore::ChromeClientQt::createModalDialog):
2452
2453 2007-10-02  Lars Knoll  <lars@trolltech.com>
2454
2455         Reviewed by bdash.
2456
2457         Add API to retrieve the frame name from QWebFrame.
2458         Implement support for DRT::dumpChildrenAsText.
2459
2460         * Api/qwebframe.cpp:
2461         (QWebFrame::name):
2462         * Api/qwebframe.h:
2463
2464 2007-10-02  Lars Knoll  <lars@trolltech.com>
2465
2466         Reviewed by bdash.
2467
2468         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
2469
2470         * Api/qwebnetworkinterface.cpp:
2471         (QWebNetworkManager::started):
2472         (QWebNetworkManager::data):
2473         (QWebNetworkManager::finished):
2474         (QWebNetworkInterfacePrivate::sendFileData):
2475         (QWebNetworkInterfacePrivate::parseDataUrl):
2476         (WebCoreHttp::scheduleNextRequest):
2477         (WebCoreHttp::onSslErrors):
2478         * QtLauncher/main.cpp:
2479         (main):
2480
2481 2007-10-01  Lars Knoll  <lars@trolltech.com>
2482
2483         Reviewed by Eric.
2484
2485         Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
2486
2487         * WebCoreSupport/FrameLoaderClientQt.cpp:
2488         (WebCore::FrameLoaderClientQt::makeDocumentView):
2489         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
2490         (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
2491         (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
2492         (WebCore::FrameLoaderClientQt::objectContentType):
2493         (WebCore::FrameLoaderClientQt::createPlugin):
2494
2495 2007-09-30  George Staikos  <staikos@kde.org>
2496
2497         Qt build fix (OS X specific).
2498
2499         * QtLauncher/QtLauncher.pro:
2500
2501 2007-09-26  Mark Rowe  <mrowe@apple.com>
2502
2503         Qt build fix.
2504
2505         * WebCoreSupport/FrameLoaderClientQt.cpp:
2506         (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
2507
2508 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
2509
2510         Reviewed by Adam.
2511
2512         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
2513           LGPL'ed files contain incorrect FSF address
2514
2515         * Api/qcookiejar.cpp:
2516         * Api/qcookiejar.h:
2517         * Api/qwebframe.cpp:
2518         * Api/qwebframe.h:
2519         * Api/qwebframe_p.h:
2520         * Api/qwebhistoryinterface.cpp:
2521         * Api/qwebhistoryinterface.h:
2522         * Api/qwebkitglobal.h:
2523         * Api/qwebnetworkinterface.cpp:
2524         * Api/qwebnetworkinterface.h:
2525         * Api/qwebnetworkinterface_p.h:
2526         * Api/qwebobjectplugin.cpp:
2527         * Api/qwebobjectplugin.h:
2528         * Api/qwebobjectpluginconnector.cpp:
2529         * Api/qwebobjectpluginconnector.h:
2530         * Api/qwebpage.cpp:
2531         * Api/qwebpage.h:
2532         * Api/qwebpage_p.h:
2533         * Api/qwebpagehistory.cpp:
2534         * Api/qwebpagehistory.h:
2535         * Api/qwebsettings.cpp:
2536         * Api/qwebsettings.h:
2537         * WebCoreSupport/EditCommandQt.cpp:
2538         * WebCoreSupport/EditCommandQt.h:
2539
2540 2007-09-25  Adam Treat  <treat@kde.org>
2541
2542         Reviewed by Simon and Lars.
2543
2544         Modifies the addToJSWindowObject to bind js objects using the built-in
2545         kjs_window class.  Make sure to protect the created runtime object from
2546         garbage collection.
2547
2548         Adds a signal to QWebFrame to notify clients of the beginning of a
2549         provisional load.  DRT needs this.
2550
2551         * Api/qwebframe.cpp:
2552         (QWebFrame::addToJSWindowObject):
2553         * Api/qwebframe.h:
2554         * WebCoreSupport/FrameLoaderClientQt.cpp:
2555         (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
2556
2557 2007-09-10  Qing Zhao  <qing@staikos.net>
2558
2559         Reviewed by George Staikos.
2560
2561         Don't re-encode urls, resulting in double encoding.  Fixes login to
2562         GMail.
2563
2564         * Api/qwebnetworkinterface.cpp:
2565         (QWebNetworkRequestPrivate::init):
2566         (QWebNetworkManager::started):
2567
2568 2007-09-08  Mark Rowe  <mrowe@apple.com>
2569
2570         Qt build fix.  Move stub method implementations to the right class.
2571
2572         * WebCoreSupport/FrameLoaderClientQt.cpp:
2573         (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
2574
2575 2007-09-08  Brady Eidson  <beidson@apple.com>
2576
2577         YABF (Yet Another Build Fix)
2578
2579         * Api/qwebsettings.cpp:
2580         (QWebSettings::iconDatabaseEnabled):
2581
2582 2007-09-08  Brady Eidson  <beidson@apple.com>
2583
2584         Better build fix
2585
2586         * WebCoreSupport/FrameLoaderClientQt.cpp:
2587         (WebCore::FrameLoaderClient::registerForIconNotification):
2588         * WebCoreSupport/FrameLoaderClientQt.h:
2589
2590 2007-09-08  Brady Eidson  <beidson@apple.com>
2591
2592         Build fix
2593
2594         * WebCoreSupport/FrameLoaderClientQt.cpp:
2595         (WebCore::FrameLoaderClient::registerForIconNotification):
2596         * WebCoreSupport/FrameLoaderClientQt.h:
2597
2598 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
2599
2600         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2601         
2602         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
2603         memory cache, or a very tiny one
2604         
2605         Keep the Qt build working with an empty stub.
2606         
2607         * WebCoreSupport/FrameLoaderClientQt.cpp:
2608         (WebCore::FrameLoaderClient::didPerformFirstNavigation):
2609         * WebCoreSupport/FrameLoaderClientQt.h:
2610
2611 2007-09-07  George Staikos  <staikos@kde.org>
2612
2613         Fix typo.
2614
2615         * Api/qwebpage.cpp:
2616         (QWebPage::onLoadProgressChanged):
2617
2618 2007-09-07  Qing Zhao  <qing@staikos.net>
2619
2620         Reviewed by Anders and George.
2621
2622         Export page size and load progress in bytes.
2623
2624         * Api/qwebpage.cpp:
2625         (QWebPage::QWebPage):
2626         (QWebPage::onLoadProgressChanged):
2627         (QWebPage::totalBytes):
2628         (QWebPage::bytesReceived):
2629         * Api/qwebpage.h:
2630         * Api/qwebpage_p.h:
2631
2632 2007-09-06  George Staikos  <staikos@kde.org>
2633
2634         Reviewed by Anders.
2635
2636         Make popup windows work again.
2637
2638         * WebCoreSupport/FrameLoaderClientQt.cpp:
2639         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2640
2641 2007-09-01  Oliver Hunt  <oliver@apple.com>
2642
2643         Reviewed by Sam.
2644
2645         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2646  
2647         EditorClient::setInputMethodState stub
2648
2649         * WebCoreSupport/EditorClientQt.cpp:
2650         (WebCore::EditorClientQt::setInputMethodState):
2651         * WebCoreSupport/EditorClientQt.h:
2652
2653 2007-08-30  Simon Hausmann  <hausmann@kde.org>
2654
2655         Reviewed by Zack.
2656
2657         Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
2658
2659         * Api/qwebpage.cpp:
2660         (QWebPage::keyPressEvent):
2661
2662 2007-08-30  Simon Hausmann  <hausmann@kde.org>
2663
2664         Reviewed by Zack.
2665
2666         When scrolling with the keyboard don't call update() on the entire widget.
2667         The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
2668         on a value change.
2669
2670         * Api/qwebpage.cpp:
2671         (QWebPage::keyPressEvent):
2672
2673 2007-08-30  Simon Hausmann  <hausmann@kde.org>
2674
2675         Reviewed by Zack.
2676
2677         Fix scrolling with the keyboard if only one of the two scrollbars is visible.
2678
2679         * Api/qwebpage.cpp:
2680         (QWebPage::keyPressEvent):
2681
2682 2007-08-29  Simon Hausmann  <hausmann@kde.org>
2683
2684         Reviewed by Zack.
2685
2686         Fix compilation.
2687
2688         * WebCoreSupport/FrameLoaderClientQt.cpp:
2689         (WebCore::FrameLoaderClientQt::objectContentType):
2690
2691 2007-08-19  Mike Hommey  <mh+webkit@glandium.org>
2692
2693         Reviewed by George Staikos.
2694
2695         Don't export ICO symbols.
2696
2697         * Plugins/Plugins.pro:
2698
2699 2007-08-19  George Staikos  <staikos@kde.org>
2700
2701         Fix compilation.
2702
2703         * WebCoreSupport/FrameLoaderClientQt.cpp:
2704         (WebCore::FrameLoaderClientQt::createPlugin):
2705         * WebCoreSupport/FrameLoaderClientQt.h:
2706
2707 2007-08-10  Lars Knoll  <lars@trolltech.com>
2708
2709         Reviewed and landed by Simon.
2710
2711         Limit the set of properties from the computed style to apply to Qt
2712         plugin widgets, as only a few of them make sense.
2713
2714         * WebCoreSupport/FrameLoaderClientQt.cpp:
2715         (WebCore::):
2716
2717 2007-08-10  Lars Knoll  <lars@trolltech.com>
2718
2719         Reviewed by Simon.
2720
2721         Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
2722
2723         * Api/qwebpage.cpp:
2724         (QWebPage::createPlugin):
2725         * Api/qwebpage.h:
2726         * WebCoreSupport/FrameLoaderClientQt.cpp:
2727         (WebCore::FrameLoaderClientQt::objectContentType):
2728         (WebCore::FrameLoaderClientQt::createPlugin):
2729
2730 2007-08-10  Simon Hausmann  <hausmann@kde.org>
2731
2732         Reviewed by Lars.
2733
2734         Added support for network jobs from Qt resources using the qrc protocol.
2735
2736         * Api/qwebnetworkinterface.cpp:
2737         (QWebNetworkInterface::addJob):
2738
2739 2007-08-10  Simon Hausmann  <hausmann@kde.org>
2740
2741         Reviewed by Lars.
2742
2743         Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
2744         gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
2745
2746         * WebCoreSupport/FrameLoaderClientQt.cpp:
2747         (WebCore::FrameLoaderClientQt::objectContentType):
2748         (WebCore::):
2749         (WebCore::FrameLoaderClientQt::createPlugin):
2750
2751 2007-08-10  Simon Hausmann  <hausmann@kde.org>
2752
2753         Reviewed by Lars.
2754
2755         Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
2756         and fixed widget embedding by setting the right QWidget parent.
2757
2758         * Api/qwebpage.cpp:
2759         (QWebPage::createPlugin):
2760         * Api/qwebpage.h:
2761         * WebCoreSupport/FrameLoaderClientQt.cpp:
2762         (WebCore::FrameLoaderClientQt::objectContentType):
2763         (WebCore::FrameLoaderClientQt::createPlugin):
2764
2765 2007-08-02  George Staikos  <staikos@kde.org>
2766
2767         Reviewed by Simon.
2768
2769         Add an interface for the useragent string.
2770
2771         * Api/qwebpage.cpp:
2772         (QWebPage::userAgentStringForUrl):
2773         * Api/qwebpage.h:
2774         * WebCoreSupport/FrameLoaderClientQt.cpp:
2775         (WebCore::FrameLoaderClientQt::userAgent):
2776
2777 2007-08-01  Adam Treat  <treat@kde.org>
2778
2779         Reviewed by George Staikos.
2780
2781         Add an interface to manage global history for clients
2782
2783         * Api/headers.pri:
2784         * Api/qwebhistoryinterface.cpp: Added.
2785         (WebCore::historyContains):
2786         (gCleanupInterface):
2787         (QWebHistoryInterface::setDefaultInterface):
2788         (QWebHistoryInterface::defaultInterface):
2789         (QWebHistoryInterface::QWebHistoryInterface):
2790         * Api/qwebhistoryinterface.h: Added.
2791
2792 2007-07-30  Adam Treat  <treat@kde.org>
2793
2794         Fix build.
2795
2796         * WebCoreSupport/EditorClientQt.cpp:
2797         (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
2798         * WebCoreSupport/EditorClientQt.h:
2799
2800 2007-07-30  Simon Hausmann  <hausmann@kde.org>
2801
2802         Reviewed by Lars.
2803
2804         Link QtLauncher into $$OUTPUT_DIR/bin
2805
2806         * QtLauncher/QtLauncher.pro:
2807
2808 2007-07-29  Adam Treat  <treat@kde.org>
2809
2810         Reviewed by George Staikos.
2811
2812         Change QWebPage::paintEvent to draw using the individual rects provided
2813         via the QRegion and set the widget to use opaque paint events.
2814
2815         These changes greatly reduce the cpu load as we are no longer painting the
2816         entire page for each 1px scroll :P
2817
2818         * Api/qwebframe.cpp:
2819         (QWebFrame::render):
2820         * Api/qwebpage.cpp:
2821         (QWebPage::QWebPage):
2822         (QWebPage::paintEvent):
2823         * WebCoreSupport/ChromeClientQt.cpp:
2824         (WebCore::ChromeClientQt::addToDirtyRegion):
2825
2826 2007-07-29  Adam Treat  <treat@kde.org>
2827
2828         Reviewed by Alexey Proskuryakov.
2829
2830         Respect the margins when creating frames.
2831         Set the scroll mode to always off like we did before the rendered
2832         frames patch and the other ports do now.
2833
2834         * Api/qwebframe.cpp:
2835         (QWebFramePrivate::init):
2836
2837 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
2838
2839         Reviewed by Mark.
2840
2841         Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
2842
2843         * QtLauncher/QtLauncher.pro:
2844
2845 2007-07-27  Simon Hausmann  <hausmann@kde.org>
2846
2847         Reviewed by Lars.
2848
2849         Fix compilation with MSVC.
2850
2851         * Api/qwebpagehistory.cpp:
2852         (QWebPageHistory::operator=):
2853         * Api/qwebpagehistory.h:
2854         * Api/qwebsettings.cpp:
2855         (QWebSettings::operator=):
2856         * Api/qwebsettings.h:
2857
2858 2007-07-26  Qing Zhao  <qing@staikos.net>
2859
2860         Reviewed by George Staikos.
2861
2862         Add a signal for history notification.
2863
2864         * Api/qwebpage.h:
2865         * WebCoreSupport/FrameLoaderClientQt.cpp:
2866
2867 2007-07-24  Adam Treat  <treat@kde.org>
2868
2869         Reviewed by Niko and Lars.
2870
2871         These are no longer necessary or used.
2872
2873         * WebCoreSupport/FrameLoaderClientQt.cpp:
2874         * WebCoreSupport/FrameLoaderClientQt.h:
2875
2876 2007-07-20  Adam Treat  <adam@staikos.net>
2877
2878         Reviewed by George Staikos.
2879
2880         Add a signal for first layout and add the action type for the policy
2881         function.
2882
2883         * Api/qwebpage.cpp:
2884         (QWebPagePrivate::navigationRequested):
2885         (QWebPage::navigationRequested):
2886         * Api/qwebpage.h:
2887         * Api/qwebpage_p.h:
2888         * WebCoreSupport/FrameLoaderClientQt.cpp:
2889         (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
2890         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2891
2892 2007-07-19  Adam Treat  <treat@kde.org>
2893
2894         Reviewed by George.
2895
2896         Do a recursive layout on the frame's children.  This fixes a
2897         segfault found when rendering some framesets.
2898
2899         * Api/qwebframe.cpp:
2900         (QWebFrame::render):
2901         (QWebFrame::layout):
2902         * Api/qwebframe.h:
2903
2904 2007-07-18  Timothy Hatcher  <timothy@apple.com>
2905
2906         Reviewed by Adam.
2907
2908         Make the Page with the now required InspectorClient.
2909
2910         * Api/qwebpage.cpp:
2911         (QWebPagePrivate::QWebPagePrivate):
2912         * WebKitPart/WebKitPart.cpp:
2913         (WebKitPart::initView):
2914
2915 2007-07-18  Sam Weinig  <sam@webkit.org>
2916
2917         Build fix.
2918
2919         * Api/qwebnetworkinterface.cpp:
2920         (QWebNetworkManager::started):
2921         * WebCoreSupport/FrameLoaderClientQt.cpp:
2922         (WebCore::FrameLoaderClientQt::canShowMIMEType):
2923         (WebCore::FrameLoaderClientQt::objectContentType):
2924
2925 2007-07-18  Lars Knoll <lars@trolltech.com>
2926
2927         Reviewed by Zack & Simon
2928
2929         Reallow setting of scrollbar policies on QWebFrame.
2930
2931         * Api/qwebframe.cpp:
2932         (QWebFrame::verticalScrollBarPolicy):
2933         (QWebFrame::setVerticalScrollBarPolicy):
2934         (QWebFrame::horizontalScrollBarPolicy):
2935         * Api/qwebframe.h:
2936
2937 2007-07-17  Adam Treat <treat@kde.org>
2938
2939         Build fix.
2940
2941         * WebCoreSupport/FrameLoaderClientQt.cpp:
2942         (WebCore::FrameLoaderClientQt::createFrame):
2943
2944 2007-07-17  Holger Hans Peter Freyther  <zecke@selfish.org>
2945
2946         Blind build fix for Qt after r24366 by adding the additional
2947         WebCore::ResourceRequest& parameter to the download method.
2948
2949         * WebCoreSupport/FrameLoaderClientQt.cpp:
2950         (WebCore::FrameLoaderClientQt::download):
2951         * WebCoreSupport/FrameLoaderClientQt.h:
2952
2953 2007-07-17  Adam Roben  <aroben@apple.com>
2954
2955         Remove ContextMenuClientQt::shouldIncludeInspectElementItem
2956
2957         Reviewed by Tim.
2958
2959         * WebCoreSupport/ContextMenuClientQt.cpp:
2960         * WebCoreSupport/ContextMenuClientQt.h:
2961
2962 2007-07-16  Adam Roben  <aroben@apple.com>
2963
2964         Updated ChromeClientQt for ChromeClient changes.
2965
2966         Reviewed by Darin.
2967
2968         * WebCoreSupport/ChromeClientQt.cpp:
2969         (WebCore::ChromeClientQt::print): Added a Frame* parameter.
2970         * WebCoreSupport/ChromeClientQt.h: Ditto.
2971
2972 2007-07-13  Mark Rowe  <mrowe@apple.com>
2973
2974         Reviewed by Mitz.
2975
2976         Build fix.  Stub out ChromeClientQt::print.
2977
2978         * WebCoreSupport/ChromeClientQt.cpp:
2979         (WebCore::ChromeClientQt::print):
2980         * WebCoreSupport/ChromeClientQt.h:
2981
2982 2007-07-12  George Staikos  <staikos@kde.org>
2983
2984         Qt build fix for assertions.
2985
2986         * Api/qwebnetworkinterface.cpp:
2987         (QWebNetworkManager::add):
2988
2989 2007-07-12  George Staikos  <staikos@kde.org>
2990
2991         Qt build fix.
2992
2993         * Api/qwebnetworkinterface.cpp:
2994         (QWebNetworkManager::add):
2995
2996 2007-07-10  Mark Rowe  <mrowe@apple.com>
2997
2998         Qt build fix after r24126.
2999
3000         * Api/qwebframe.cpp:
3001         (QWebFrame::evaluateJavaScript):
3002
3003 2007-07-10  Eli Fidler  <eli@staikos.net>
3004
3005         Reviewed by George Staikos.
3006
3007         Properly url-decode data urls.
3008
3009         * Api/qwebnetworkinterface.cpp:
3010         (QWebNetworkInterfacePrivate::parseDataUrl):
3011
3012 2007-07-09  Adam Treat  <adam@staikos.net>
3013
3014         Reviewed by George Staikos.
3015
3016         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
3017         traces of widgets.
3018
3019         * Api/qwebframe.cpp:
3020         (QWebFramePrivate::init):
3021         (QWebFramePrivate::parentFrame):
3022         (QWebFrame::QWebFrame):
3023         (QWebFrame::render):
3024         (QWebFrame::pos):
3025         (QWebFrame::geometry):
3026         (QWebFrame::evaluateJavaScript):
3027         (QWebFrame::mouseMoveEvent):
3028         (QWebFrame::mousePressEvent):
3029         (QWebFrame::mouseDoubleClickEvent):
3030         (QWebFrame::mouseReleaseEvent):
3031         (QWebFrame::wheelEvent):
3032         * Api/qwebframe.h:
3033         * Api/qwebobjectpluginconnector.cpp:
3034         (QWebObjectPluginConnector::pluginParentWidget):
3035         * Api/qwebpage.cpp:
3036         (QWebPagePrivate::QWebPagePrivate):
3037         (QWebPagePrivate::createMainFrame):
3038         (QWebPage::QWebPage):
3039         (QWebPage::javaScriptAlert):
3040         (QWebPage::javaScriptConfirm):
3041         (QWebPage::javaScriptPrompt):
3042         (QWebPage::resizeEvent):
3043         (QWebPage::paintEvent):
3044         (QWebPage::mouseMoveEvent):
3045         (QWebPage::mousePressEvent):
3046         (QWebPage::mouseDoubleClickEvent):
3047         (QWebPage::mouseReleaseEvent):
3048         (QWebPage::wheelEvent):
3049         (QWebPage::keyPressEvent):
3050         (QWebPage::keyReleaseEvent):
3051         (QWebPage::focusInEvent):
3052         (QWebPage::focusOutEvent):
3053         (QWebPage::focusNextPrevChild):
3054         (QWebPage::chooseFile):
3055         * Api/qwebpage.h:
3056         * Api/qwebpage_p.h:
3057         * WebCoreSupport/ChromeClientQt.cpp:
3058         (WebCore::ChromeClientQt::addToDirtyRegion):
3059
3060 2007-07-09  George Staikos  <staikos@kde.org>
3061
3062         Fix a minor memory leak in the loader.
3063
3064         * Api/qwebnetworkinterface.cpp:
3065         (gCleanupInterface):
3066         (QWebNetworkInterface::setDefaultInterface):
3067         (QWebNetworkInterface::defaultInterface):
3068
3069 2007-07-09  George Staikos  <staikos@kde.org>
3070
3071         Fix a massive memory leak in the loader.
3072
3073         * Api/qwebnetworkinterface.cpp:
3074         (QWebNetworkManager::httpConnectionClosed):
3075         (WebCoreHttp::~WebCoreHttp):
3076
3077 2007-07-09  George Staikos  <staikos@kde.org>
3078
3079         Reviewed by Simon.
3080
3081         Rework much of the HTTP stuff to make it more stable, and add SSL and
3082         proxy support.  Major memory leak also discovered but it needs more
3083         research as the obvious fix causes crashes.
3084
3085         * Api/qwebnetworkinterface.cpp:
3086         (QWebNetworkManager::add):
3087         (QWebNetworkManager::started):
3088         (QWebNetworkManager::data):
3089         (WebCoreHttp::WebCoreHttp):
3090         (WebCoreHttp::~WebCoreHttp):
3091         (WebCoreHttp::request):
3092         (WebCoreHttp::scheduleNextRequest):
3093         (WebCoreHttp::getConnection):
3094         (WebCoreHttp::onResponseHeaderReceived):
3095         (WebCoreHttp::onReadyRead):
3096         (WebCoreHttp::onRequestFinished):
3097         (WebCoreHttp::onDone):
3098         (WebCoreHttp::onStateChanged):
3099         (WebCoreHttp::onSslErrors):
3100         (WebCoreHttp::onAuthenticationRequired):
3101         (WebCoreHttp::onProxyAuthenticationRequired):
3102         * Api/qwebnetworkinterface.h:
3103         * Api/qwebnetworkinterface_p.h:
3104         (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
3105
3106 2007-07-06  Adam Treat  <adam@staikos.net>
3107
3108         Reviewed by George Staikos.
3109
3110         Convert QWebFrame to a QFrame from a scroll area.
3111
3112         * Api/qwebframe.cpp:
3113         (QWebFramePrivate::init):
3114         (QWebFramePrivate::parentFrame):
3115         (QWebFramePrivate::horizontalScrollBar):
3116         (QWebFramePrivate::verticalScrollBar):
3117         (QWebFrame::QWebFrame):
3118         (QWebFrame::resizeEvent):
3119         (QWebFrame::suppressScrollbars):
3120         (QWebFrame::paintEvent):
3121         (QWebFrame::mouseMoveEvent):
3122         (QWebFrame::mousePressEvent):
3123         (QWebFrame::mouseDoubleClickEvent):
3124         (QWebFrame::mouseReleaseEvent):
3125         (QWebFrame::wheelEvent):
3126         (QWebFrame::keyPressEvent):
3127         (QWebFrame::focusInEvent):
3128         (QWebFrame::focusOutEvent):
3129         (QWebFrame::evaluateJavaScript):
3130         * Api/qwebframe.h:
3131         * Api/qwebframe_p.h:
3132         * Api/qwebobjectpluginconnector.cpp:
3133         (QWebObjectPluginConnector::pluginParentWidget):
3134
3135 2007-07-04  Adam Roben  <aroben@apple.com>
3136
3137         Added a stub for ChromeClientQt::setToolTip
3138
3139         Reviewed by Sam.
3140
3141         * WebCoreSupport/ChromeClientQt.cpp:
3142         (WebCore::ChromeClientQt::setToolTip):
3143         * WebCoreSupport/ChromeClientQt.h:
3144
3145 2007-07-04  Adam Roben  <aroben@apple.com>
3146
3147         Added a stub for ChromeClientQt::mouseDidMoveOverElement
3148
3149         Reviewed by Sam.
3150
3151         * WebCoreSupport/ChromeClientQt.cpp:
3152         (WebCore::ChromeClientQt::mouseDidMoveOverElement):
3153         * WebCoreSupport/ChromeClientQt.h:
3154
3155 2007-06-28  Simon Hausmann  <hausmann@kde.org>
3156
3157         Reviewed by Zack.
3158
3159         Propagate mouse double click events from Qt to WebCore.
3160
3161         * Api/qwebframe.cpp:
3162         (QWebFrame::mouseDoubleClickEvent):
3163         * Api/qwebframe.h:
3164
3165 2007-06-28  Simon Hausmann  <hausmann@kde.org>
3166
3167         Reviewed by Zack.
3168
3169         Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
3170
3171         * Api/qwebpage.cpp:
3172         (QWebPage::canCut):
3173         (QWebPage::canCopy):
3174         (QWebPage::canPaste):
3175         (QWebPage::cut):
3176         (QWebPage::copy):
3177         (QWebPage::paste):
3178         * Api/qwebpage.h:
3179         * WebCoreSupport/EditorClientQt.cpp:
3180
3181 2007-06-27  George Staikos  <staikos@kde.org>
3182
3183         Compile with various Qt configurations.
3184
3185         * Api/qwebnetworkinterface.cpp:
3186         (WebCoreHttp::scheduleNextRequest):
3187         * Api/qwebpage.cpp:
3188         (QWebPage::javaScriptPrompt):
3189         (QWebPage::dragEnterEvent):
3190         (QWebPage::dragLeaveEvent):
3191         (QWebPage::dragMoveEvent):
3192         (QWebPage::dropEvent):
3193         (QWebPage::chooseFile):
3194         * Api/qwebpage.h:
3195         * Api/qwebpage_p.h:
3196         * WebCoreSupport/DragClientQt.cpp:
3197         (WebCore::DragClientQt::startDrag):
3198
3199 2007-06-27  Eli Fidler  <eli@staikos.net>
3200
3201         Reviewed by George Staikos.
3202
3203         Check for QT_NO_IMAGE_TEXT and compile either way.
3204
3205         * Plugins/ICOHandler.cpp:
3206         (ICOHandler::read):
3207
3208 2007-06-27  Eli Fidler  <eli@staikos.net>
3209
3210         Reviewed by George Staikos.
3211
3212         Remove QT3_SUPPORT dependency in the ICO plugin.
3213
3214         * Plugins/ICOHandler.cpp:
3215         (IcoHeader::loadFromDIB):
3216
3217 2007-06-25  George Staikos  <staikos@kde.org>
3218
3219         Reviewed by Zack.
3220
3221         Start to add proxy and SSL support to WebKit Qt.  Proxy works
3222         unauthenticated.  Added hooks to be able to add authentication.
3223         Also fixes some network errors.
3224
3225         * Api/qwebnetworkinterface.cpp:
3226         (QWebNetworkRequestPrivate::setURL):
3227         (QWebNetworkJob::frame):
3228         (WebCoreHttp::WebCoreHttp):
3229         (WebCoreHttp::scheduleNextRequest):
3230         (WebCoreHttp::onRequestFinished):
3231         (WebCoreHttp::onDone):
3232         (WebCoreHttp::onSslErrors):
3233         (WebCoreHttp::onAuthenticationRequired):
3234         (WebCoreHttp::onProxyAuthenticationRequired):
3235         * Api/qwebnetworkinterface.h:
3236         * Api/qwebnetworkinterface_p.h:
3237         * Api/qwebpage.cpp:
3238         (QWebPage::setNetworkProxy):
3239         (QWebPage::networkProxy):
3240         * Api/qwebpage.h:
3241         * Api/qwebpage_p.h:
3242
3243 2007-06-21  Adam Treat  <adam@staikos.net>
3244
3245         Reviewed by George Staikos.
3246
3247         Implement the default resources on Qt.
3248
3249         * Api/qwebpage.cpp:
3250         (QWebPage::icon):
3251         * Api/qwebsettings.cpp:
3252         (QWebSettings::setWebGraphic):
3253         (QWebSettings::webGraphic):
3254         (loadResourcePixmap):
3255         * Api/qwebsettings.h:
3256
3257 2007-06-15  Adam Treat  <adam@staikos.net>
3258
3259         Reviewed by George Staikos.
3260
3261         Add ICO support to the Qt build.
3262
3263         * Api/qwebpage.cpp:
3264         (QWebPage::icon):
3265         * Api/qwebpage.h:
3266         * Api/qwebsettings.cpp:
3267         (QWebSettings::setIconDatabaseEnabled):
3268         (QWebSettings::iconDatabaseEnabled):
3269         * Api/qwebsettings.h:
3270         * Plugins: Added.
3271         * Plugins/ICOHandler.cpp: Added.
3272         (IcoHeader::operator >>):
3273         (IcoHeader::BMP_INFOHDR::):
3274         (IcoHeader::operator<<):
3275         (IcoHeader::LessDifference::LessDifference):
3276         (IcoHeader::LessDifference::operator ()):
3277         (IcoHeader::loadFromDIB):
3278         (ICOHandler::ICOHandler):
3279         (ICOHandler::canRead):
3280         (ICOHandler::read):
3281         (ICOHandler::write):
3282         (ICOHandler::name):
3283         (ICOPlugin::keys):
3284         (ICOPlugin::capabilities):
3285         (ICOPlugin::create):
3286         * Plugins/ICOHandler.h: Added.
3287         * Plugins/Plugins.pro: Added.
3288         * WebCoreSupport/FrameLoaderClientQt.cpp:
3289         (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
3290
3291 2007-06-15  George Staikos  <staikos@kde.org>
3292
3293         Fixing the Qt build.
3294
3295         * WebCoreSupport/ContextMenuClientQt.cpp:
3296         (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
3297         * WebCoreSupport/ContextMenuClientQt.h:
3298
3299 2007-06-20  Adam Roben  <aroben@apple.com>
3300
3301         More speculative Qt build fixes.
3302
3303         Add a stub implementation of InspectorClientQt.
3304
3305         * WebCoreSupport/InspectorClientQt.cpp: Added.
3306         (WebCore::InspectorClientQt::inspectorDestroyed):
3307         (WebCore::InspectorClientQt::createPage):
3308         (WebCore::InspectorClientQt::showWindow):
3309         (WebCore::InspectorClientQt::closeWindow):
3310         (WebCore::InspectorClientQt::attachWindow):
3311         (WebCore::InspectorClientQt::detachWindow):
3312         (WebCore::InspectorClientQt::highlight):
3313         (WebCore::InspectorClientQt::hideHighlight):
3314         * WebCoreSupport/InspectorClientQt.h: Added.
3315
3316 2007-06-19  George Staikos  <staikos@kde.org>
3317
3318         Reviewed by Tim Hatcher.
3319
3320         Add https support.
3321
3322         * Api/qwebnetworkinterface.cpp:
3323         (QWebNetworkInterface::addJob):
3324         (QWebNetworkInterface::cancelJob):
3325         (WebCoreHttp::WebCoreHttp):
3326
3327 2007-06-14  George Staikos  <staikos@kde.org>
3328
3329         Reviewed by Lars.
3330
3331         Add evaluateJavaScript() method.
3332
3333         * Api/qwebframe.cpp:
3334         (QWebFrame::evaluateJavaScript):
3335         * Api/qwebframe.h:
3336
3337 2007-06-14  George Staikos  <staikos@kde.org>
3338
3339         Reviewed by Lars.
3340
3341         Implement most of the editing commands, better focus handling, fix some
3342         keyboard and mouse handling, and add keyboard navigation.  May be
3343         refactored later as the key switches are ugly.
3344
3345         * Api/qwebframe.cpp:
3346         (QWebFramePrivate::init):
3347         (QWebFrame::mousePressEvent):
3348         (QWebFrame::mouseReleaseEvent):
3349         (QWebFrame::wheelEvent):
3350         (QWebFrame::keyPressEvent):
3351         (QWebFrame::keyReleaseEvent):
3352         (QWebFrame::focusInEvent):
3353         (QWebFrame::focusOutEvent):
3354         (QWebFrame::focusNextPrevChild):
3355         * Api/qwebframe.h:
3356         * Api/qwebframe_p.h:
3357         * WebCoreSupport/EditorClientQt.cpp:
3358         (WebCore::EditorClientQt::handleKeypress):
3359
3360 2007-06-14  George Staikos  <staikos@kde.org>
3361
3362         Reviewed by Lars.
3363
3364         Implement all of the Javascript dialogs and file chooser.
3365         Also makes the statusbar virtual into a signal and shuffles some
3366         virtuals around a bit.  The helper in FrameLoaderClientQt may go away
3367         shortly.
3368
3369         * Api/qwebpage.cpp:
3370         (QWebPagePrivate::QWebPagePrivate):
3371         (QWebPage::javaScriptAlert):
3372         (QWebPage::javaScriptConfirm):
3373         (QWebPage::javaScriptPrompt):
3374         (QWebPage::chooseFile):
3375         * Api/qwebpage.h:
3376         * WebCoreSupport/ChromeClientQt.cpp:
3377         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
3378         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
3379         (WebCore::ChromeClientQt::runJavaScriptAlert):
3380         (WebCore::ChromeClientQt::runJavaScriptConfirm):
3381         (WebCore::ChromeClientQt::runJavaScriptPrompt):
3382         (WebCore::ChromeClientQt::setStatusbarText):
3383         * WebCoreSupport/FrameLoaderClientQt.cpp:
3384         (WebCore::FrameLoaderClientQt::chooseFile):
3385         * WebCoreSupport/FrameLoaderClientQt.h:
3386
3387 2007-06-14  Simon Hausmann  <hausmann@kde.org>
3388
3389         Reviewed by Zack.
3390
3391         Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
3392
3393         HistoryItem itself doesn't seem to have a parent pointer either.
3394
3395         * Api/qwebpagehistory.h:
3396
3397 2007-06-14  Simon Hausmann  <hausmann@kde.org>
3398
3399         Reviewed by Zack.
3400
3401         Make it possible to copy QWebHistoryItem objects.
3402
3403         * Api/qwebpagehistory.cpp:
3404         * Api/qwebpagehistory.h:
3405
3406 2007-06-14  Lars Knoll <lars@trolltech.com>
3407
3408         Reviewed by George
3409
3410         Fix a crash when a request from the plugin resulted
3411         in a HTTP redirect.
3412
3413         * Api/qwebnetworkinterface.cpp:
3414         (QWebNetworkManager::started):
3415
3416 2007-06-14  Lars Knoll <lars@trolltech.com>
3417
3418         Reviewed by George.
3419
3420         Work around a bug in Qt's QHttp implementation and
3421         get web pages to load again.
3422
3423         * Api/qwebpage.cpp:
3424         (QWebPage::open):
3425
3426 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3427
3428         Reviewed by Lars.
3429
3430         Added a make install target that installs the Qt port and renamed
3431         WebKitQt to QtWebKit
3432
3433         * Api/headers.pri: Added.
3434         * Api/qtwebkit.prf: Added.
3435
3436 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3437
3438         Reviewed by Lars.
3439
3440         Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
3441
3442         * Api/qwebnetworkinterface.cpp:
3443         * Api/qwebnetworkinterface.h:
3444
3445 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3446
3447         Reviewed by Lars.
3448
3449         Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
3450
3451         * Api/qwebnetworkinterface.h:
3452         * Api/qwebobjectpluginconnector.cpp:
3453         (QWebObjectPluginConnector::requestUrl):
3454         * Api/qwebobjectpluginconnector.h:
3455
3456 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3457
3458         Reviewed by Lars.
3459
3460         Added a QWebNetworkRequest convenience constructor.
3461
3462         * Api/qwebnetworkinterface.cpp:
3463         * Api/qwebnetworkinterface.h:
3464         * Api/qwebpage.cpp:
3465         (QWebPage::open):
3466
3467 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3468
3469         Reviewed by Lars.
3470
3471         Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
3472         overload to take a QWebNetworkRequest instead.
3473
3474         * Api/qwebpage.cpp:
3475         (QWebPage::open):
3476         * Api/qwebpage.h:
3477
3478 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3479
3480         Reviewed by Lars.
3481
3482         In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
3483         of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
3484         pick the individual fields if we can use them.
3485
3486         * Api/qwebpage.cpp:
3487         (QWebPage::open):
3488
3489 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3490
3491         Reviewed by Lars.
3492
3493         Minor QWebNetworkRequet API fixlet
3494
3495         * Api/qwebnetworkinterface.cpp:
3496         * Api/qwebnetworkinterface.h:
3497
3498 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3499
3500         Reviewed by Lars.
3501
3502         Use QWebNetworkRequest for QWebPage::navigationRequested.
3503
3504         * Api/qwebnetworkinterface.cpp:
3505         * Api/qwebnetworkinterface.h:
3506         * Api/qwebpage.cpp:
3507         (QWebPagePrivate::navigationRequested):
3508         (QWebPage::navigationRequested):
3509         * Api/qwebpage.h:
3510         * Api/qwebpage_p.h:
3511         * WebCoreSupport/FrameLoaderClientQt.cpp:
3512         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3513
3514 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3515
3516         Reviewed by Lars.
3517
3518         Some docs for QWebNetworkRequest
3519
3520         * Api/qwebnetworkinterface.cpp:
3521         (QWebNetworkRequest::QWebNetworkRequest):
3522         (QWebNetworkRequest::~QWebNetworkRequest):
3523
3524 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3525
3526         Reviewed by Lars.
3527
3528         Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
3529
3530         * Api/qwebnetworkinterface.h:
3531         * Api/qwebobjectpluginconnector.cpp:
3532         (QWebObjectPluginConnector::requestUrl):
3533         * Api/qwebobjectpluginconnector.h:
3534
3535 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3536
3537         Reviewed by Lars.
3538
3539         Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
3540
3541         * Api/qwebnetworkinterface.cpp:
3542         (QWebNetworkJob::postData):
3543         (WebCoreHttp::WebCoreHttp):
3544         (WebCoreHttp::scheduleNextRequest):
3545         * Api/qwebnetworkinterface.h:
3546
3547 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3548
3549         Reviewed by Lars.
3550
3551         Introduce QWebNetworkRequest in the public API.
3552
3553         * Api/qwebnetworkinterface.cpp:
3554         (QWebNetworkRequestPrivate::init):
3555         * Api/qwebnetworkinterface.h:
3556         * Api/qwebnetworkinterface_p.h:
3557         * WebCoreSupport/FrameLoaderClientQt.cpp:
3558         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3559
3560 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3561
3562         Reviewed by Lars.
3563
3564         Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
3565
3566         * Api/qwebnetworkinterface.cpp:
3567         (QWebNetworkManager::add):
3568         (QWebNetworkManager::started):
3569         (QWebNetworkManager::data):
3570         (QWebNetworkManager::finished):
3571         * Api/qwebnetworkinterface_p.h:
3572         * Api/qwebobjectpluginconnector.cpp:
3573         (QWebObjectPluginConnector::requestUrl):
3574
3575 2007-06-13  Simon Hausmann  <hausmann@kde.org>
3576
3577         Reviewed by Lars.
3578
3579         Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
3580
3581         * Api/qwebnetworkinterface.cpp:
3582         (QWebNetworkRequest::init):
3583         (QWebNetworkRequest::setURL):
3584         (QWebNetworkManager::add):
3585         (QWebNetworkManager::started):
3586         * Api/qwebnetworkinterface_p.h:
3587         * WebCoreSupport/FrameLoaderClientQt.cpp:
3588         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3589
3590 2007-06-12  Lars Knoll <lars@trolltech.com>
3591
3592         Reviewed by George Staikos.
3593
3594         Remove duplicate symbols.
3595
3596         * Api/qwebobjectplugin_p.h:
3597
3598 2007-06-13  Lars Knoll <lars@trolltech.com>
3599
3600         Reviewed by Niko.
3601
3602         Fix compilation, and remove dependency on Qt
3603         private header.
3604
3605         * Api/qwebobjectplugin_p.h:
3606         (QWebFactoryLoader::supportsMimeType):
3607
3608 2007-06-13  Lars Knoll <lars@trolltech.com>
3609
3610         Reviewed by Niko.
3611
3612         Parts of the patch done by Zack.
3613         Fix up some parts in the implementation of QWebNetworkInterface
3614         so it can be used by plugins.
3615         Change the plugin API so we can actually get all the information
3616         required by the JS bridge from them as well.
3617
3618         * Api/qwebnetworkinterface.cpp:
3619         (QWebNetworkJob::cancelled):
3620         (QWebNetworkManager::cancel):
3621         (QWebNetworkManager::started):
3622         (QWebNetworkManager::finished):
3623         * Api/qwebobjectplugin.cpp:
3624         (QWebFactoryLoader::QWebFactoryLoader):
3625         (QWebFactoryLoader::descriptionForName):
3626         (QWebFactoryLoader::mimetypesForName):
3627         (QWebFactoryLoader::mimeTypeForExtension):
3628         (QWebFactoryLoader::extensions):
3629         (QWebFactoryLoader::nameForMimetype):
3630         (QWebFactoryLoader::create):
3631         (QWebObjectPlugin::descriptionForKey):
3632         (QWebObjectPlugin::mimetypesForKey):
3633         * Api/qwebobjectplugin.h:
3634         * Api/qwebobjectplugin_p.h:
3635         (QWebFactoryLoader::names):
3636         * Api/qwebobjectpluginconnector.cpp:
3637         (QWebObjectPluginConnector::requestUrl):
3638         * Api/qwebpage.cpp:
3639         (QWebPage::networkInterface):
3640
3641 2007-06-11  Simon Hausmann  <hausmann@kde.org>
3642
3643         Reviewed by Lars.
3644
3645         Added a QWebPage::open overload to allow specifying the http header and post data.
3646         (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
3647         which would imply that one has to have QT += network in the .pro file for using WebKitQt)
3648
3649         * Api/qwebpage.cpp:
3650         * Api/qwebpage.h:
3651
3652 2007-06-11  Simon Hausmann  <hausmann@kde.org>
3653
3654         Reviewed by Lars.
3655
3656         Added the possibility to intercept url requests through QWebPage::navigationRequested.
3657
3658         * Api/qwebpage.cpp:
3659         (QWebPagePrivate::QWebPagePrivate):
3660         (QWebPage::createFrame):
3661         * Api/qwebpage.h:
3662         * Api/qwebpage_p.h:
3663         * WebCoreSupport/FrameLoaderClientQt.cpp:
3664
3665 2007-06-11  Simon Hausmann  <hausmann@kde.org>
3666
3667         Reviewed by Lars.
3668
3669         Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
3670         to be called from FrameLoaderClientQt in the near future.
3671
3672         * Api/qwebnetworkinterface.cpp:
3673         (QWebNetworkManager::add):
3674         * Api/qwebnetworkinterface_p.h:
3675
3676 2007-06-11  Simon Hausmann  <hausmann@kde.org>
3677
3678         Reviewed by Lars.
3679
3680         Moved the postData setup into QWebNetworkRequest::init.
3681
3682         * Api/qwebnetworkinterface.cpp:
3683         (QWebNetworkRequest::init):
3684         (QWebNetworkManager::add):
3685
3686 2007-06-11  Simon Hausmann  <hausmann@kde.org>
3687
3688         Reviewed by Lars.
3689
3690         Moved HTTP header field propagation to QWebNetworkRequest::init.
3691
3692         * Api/qwebnetworkinterface.cpp:
3693         (QWebNetworkRequest::init):
3694         (QWebNetworkManager::add):
3695
3696 2007-06-11  Simon Hausmann  <hausmann@kde.org>
3697
3698         Reviewed by Lars.
3699
3700         Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
3701         and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
3702
3703         * Api/qwebnetworkinterface.cpp:
3704         (QWebNetworkRequest::init):
3705         (QWebNetworkManager::add):
3706         * Api/qwebnetworkinterface_p.h:
3707         * Api/qwebobjectpluginconnector.cpp:
3708         (QWebObjectPluginConnector::requestUrl):
3709
3710 2007-06-11  Zack Rusin <zrusin@trolltech.com>
3711
3712         Reviewed by Lars