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