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