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