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