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