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