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