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