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