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