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