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