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