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