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