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