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