350316069720a5239b18fd503f2f3a0493bdf221
[WebKit-https.git] / WebKitQt / ChangeLog
1 2007-06-11  Zack Rusin <zrusin@trolltech.com>
2
3         Reviewed by Lars
4
5         Forgot to export the plugin connector.
6
7         * Api/qwebobjectpluginconnector.h
8
9 2007-06-08  Lars Knoll <lars@trolltech.com>
10
11         Reviewed by Zack.
12
13         Add a QWebObjectPluginConnector class. The class will
14         facility communication between the plugin and WebKit.
15         Currently it's used to make the plugin network capable.
16
17         * Api/qwebnetworkinterface.cpp:
18         (QWebNetworkJobPrivate::setDefaults):
19         (QWebNetworkManager::add):
20         (QWebNetworkManager::started):
21         (QWebNetworkManager::data):
22         (QWebNetworkManager::finished):
23         * Api/qwebnetworkinterface.h:
24         * Api/qwebnetworkinterface_p.h:
25         (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
26         * Api/qwebobjectplugin.cpp:
27         (QWebFactoryLoader::create):
28         * Api/qwebobjectplugin.h:
29         * Api/qwebobjectplugin_p.h:
30         * Api/qwebobjectpluginconnector.cpp: Added.
31         (QWebObjectPluginConnector::QWebObjectPluginConnector):
32         (QWebObjectPluginConnector::frame):
33         (QWebObjectPluginConnector::pluginParentWidget):
34         (QWebObjectPluginConnector::requestUrl):
35         * Api/qwebobjectpluginconnector.h: Added.
36         (QWebObjectPluginConnector::):
37         * WebCoreSupport/FrameLoaderClientQt.cpp:
38         (WebCore::FrameLoaderClientQt::createPlugin):
39
40 2007-06-06  Lars Knoll <lars@trolltech.com>
41
42         Reviewed by Zack
43
44         Add an API to create and load plugins.
45         Don't include moc files by hand anymore, rather let
46         qmake handle them.
47
48         * Api/qcookiejar.cpp:
49         (QCookieJar::cookieJar):
50         * Api/qwebframe.cpp:
51         (QWebFrame::scrollContentsBy):
52         * Api/qwebnetworkinterface.cpp:
53         * Api/qwebobjectplugin.cpp: Added.
54         (QWebFactoryLoader::QWebFactoryLoader):
55         (QWebFactoryLoader::self):
56         (QWebFactoryLoader::mimeTypeForExtension):
57         (QWebFactoryLoader::create):
58         (QWebObjectPlugin::QWebObjectPlugin):
59         (QWebObjectPlugin::~QWebObjectPlugin):
60         (QWebObjectPlugin::extensionsForMimetype):
61         * Api/qwebobjectplugin.h: Added.
62         * Api/qwebobjectplugin_p.h: Added.
63         (QWebFactoryLoader::mimeTypes):
64         (QWebFactoryLoader::extensions):
65         (QWebFactoryLoader::supportsMimeType):
66         * Api/qwebpage.cpp:
67         (QWebPage::settings):
68         * WebCoreSupport/FrameLoaderClientQt.cpp:
69         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
70         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
71         (WebCore::FrameLoaderClientQt::objectContentType):
72         (WebCore::FrameLoaderClientQt::createPlugin):
73
74 2007-05-28  Zack Rusin  <zrusin@trolltech.com>
75
76         Reviewed by andersca and simon
77
78         Adding public settings Api to the Qt port.
79         QWebSetting's is a value based settings
80         object settable on the QWebPage.
81
82         * Api/qwebpage.cpp:
83         (QWebPagePrivate::QWebPagePrivate):
84         (QWebPage::QWebPage):
85         (QWebPage::setSettings):
86         (QWebPage::settings):
87         * Api/qwebpage.h:
88         * Api/qwebsettings.cpp: Added.
89         (QWebSettingsPrivate::QWebSettingsPrivate):
90         (QWebSettings::QWebSettings):
91         (QWebSettings::~QWebSettings):
92         (QWebSettings::setMinimumFontSize):
93         (QWebSettings::minimumFontSize):
94         (QWebSettings::setMinimumLogicalFontSize):
95         (QWebSettings::minimumLogicalFontSize):
96         (QWebSettings::setDefaultFontSize):
97         (QWebSettings::defaultFontSize):
98         (QWebSettings::setDefaultFixedFontSize):
99         (QWebSettings::defaultFixedFontSize):
100         (QWebSettings::setUserStyleSheetLocation):
101         (QWebSettings::userStyleSheetLocation):
102         (QWebSettings::setGlobal):
103         (QWebSettings::global):
104         (QWebSettings::setFontFamily):
105         (QWebSettings::fontFamily):
106         (QWebSettings::setAttribute):
107         (QWebSettings::testAttribute):
108         * Api/qwebsettings.h: Added.
109         * QtLauncher/main.cpp:
110         (main):
111 2007-05-27  Kevin Ollivier  <kevino@theolliviers.com>
112
113         Reviewed by Sam Weinig.
114         
115         Consolidate all notImplemented() macro definitions into
116         one header file for all platforms.
117
118         * WebCoreSupport/ChromeClientQt.cpp:
119         * WebCoreSupport/ContextMenuClientQt.cpp:
120         * WebCoreSupport/EditorClientQt.cpp:
121         * WebCoreSupport/FrameLoaderClientQt.cpp:
122
123 2007-05-25  George Staikos  <staikos@kde.org>
124
125         Reviewed by Simon.
126
127         The http loader should only ask for .... http cookies!
128
129         * Api/qwebnetworkinterface.cpp:
130         (QWebNetworkManager::add):
131
132 2007-05-24  Simon Hausmann  <hausmann@kde.org>
133
134         Reviewed by Zack.
135
136         Fix multipart/form-data HTTP POSTs. The content-type wasn't set
137         correctly. Fortunately WebCore does it already, so there's no need
138         for us to do it since we already transfer all HTTP header fields :)
139
140         * Api/qwebnetworkinterface.cpp:
141         (QWebNetworkManager::add):
142
143 2007-05-23  Simon Hausmann  <hausmann@kde.org>
144
145         Reviewed by Zack, idea from Lars.
146
147         Share WebCoreHttp and therefore HTTP connections among multiple
148         QWebNetworkInterface instances by moving the code into
149         QWebNetworkManager.
150
151         * Api/qwebnetworkinterface.cpp:
152         (QWebNetworkManager::addHttpJob):
153         (QWebNetworkManager::cancelHttpJob):
154         (QWebNetworkManager::httpConnectionClosed):
155         (QWebNetworkInterface::addJob):
156         (QWebNetworkInterface::cancelJob):
157         (WebCoreHttp::scheduleNextRequest):
158         (WebCoreHttp::onResponseHeaderReceived):
159         (WebCoreHttp::onReadyRead):
160         (WebCoreHttp::onRequestFinished):
161         (WebCoreHttp::cancel):
162         * Api/qwebnetworkinterface.h:
163         * Api/qwebnetworkinterface_p.h:
164
165 2007-05-23  Simon Hausmann  <hausmann@kde.org>
166
167         Reviewed by Zack, discussed also with Lars.
168
169         Make it possible to specify a per-QWebPage network interface (needed
170         for the KDE KIO integration).
171
172         Merged the file and the network loader into
173         QWebNetworkInterface(Private), which simplifies the loading code.
174
175         When receiving a redirection don't emit the data of the redirected job
176         to the document. (otherwise the kind of "This page has moved" text
177         appears right on top of the real page content)
178
179         * Api/qwebnetworkinterface.cpp:
180         (qHash):
181         (operator==):
182         (QWebNetworkJob::QWebNetworkJob):
183         (QWebNetworkJob::networkInterface):
184         (QWebNetworkManager::add):
185         (QWebNetworkManager::cancel):
186         (QWebNetworkManager::data):
187         (QWebNetworkManager::finished):
188         (QWebNetworkInterfacePrivate::sendFileData):
189         (QWebNetworkInterfacePrivate::parseDataUrl):
190         (QWebNetworkInterfacePrivate::addHttpJob):
191         (QWebNetworkInterfacePrivate::httpConnectionClosed):
192         (QWebNetworkInterface::setDefaultInterface):
193         (QWebNetworkInterface::QWebNetworkInterface):
194         (QWebNetworkInterface::addJob):
195         (QWebNetworkInterface::cancelJob):
196         (WebCoreHttp::scheduleNextRequest):
197         (WebCoreHttp::onResponseHeaderReceived):
198         (WebCoreHttp::onReadyRead):
199         (WebCoreHttp::onRequestFinished):
200         (WebCoreHttp::cancel):
201         * Api/qwebnetworkinterface.h:
202         * Api/qwebnetworkinterface_p.h:
203         * Api/qwebpage.cpp:
204         (QWebPagePrivate::QWebPagePrivate):
205         (QWebPage::setNetworkInterface):
206         * Api/qwebpage.h:
207         * Api/qwebpage_p.h:
208
209 2007-05-23  Lars Knoll <lars@trolltech.com>
210
211         Reviewed by Zack
212
213         Don't do HTTP downloads in a second thread. Simplifies
214         the code significantly and fixes crashes on some
215         Web pages.
216
217         * Api/qwebnetworkinterface.cpp:
218         (QWebNetworkManager::add):
219         (QWebNetworkInterface::QWebNetworkInterface):
220         (QWebNetworkInterface::addJob):
221         (QWebNetworkInterface::cancelJob):
222         (LoaderThread::LoaderThread):
223         (LoaderThread::run):
224         (WebCoreHttp::cancel):
225         (NetworkLoader::NetworkLoader):
226         (NetworkLoader::request):
227         (NetworkLoader::cancel):
228         * Api/qwebnetworkinterface_p.h:
229         * WebCoreSupport/FrameLoaderClientQt.cpp:
230         (WebCore::FrameLoaderClientQt::committedLoad):
231         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
232
233 2007-05-23  Lars Knoll <lars@trolltech.com>
234
235         Reviewed by Simon.
236
237         * Api/qwebnetworkinterface.cpp:
238         (QWebNetworkJobPrivate::setURL):
239         (QWebNetworkManager::started):
240             Fix Host: line in HTTP headers and resolving of relative URLs
241             when redirecting.
242         * Api/qwebnetworkinterface_p.h:
243             Clean up qHash forward declaration a bit.
244
245 2007-05-23  Simon Hausmann  <hausmann@kde.org>
246
247         Reviewed by Zack.
248
249         * QtLauncher/main.cpp:
250         (MainWindow::MainWindow): Fix loading progress signal/slot connection.
251
252 2007-05-22  Simon Hausmann  <hausmann@kde.org>
253
254         Reviewed by Lars.
255
256         * Api/qwebnetworkinterface.cpp:
257         (QWebNetworkManager::add): Fix http headers for POST.
258
259 2007-05-21  Lars Knoll <lars@trolltech.com>
260
261         Reviewed by Simon
262
263         Remove the userHandle methods from QWebnetworkJob again.
264         They don't really give us anything and just clutter the API.
265
266         * Api/qwebnetworkinterface.cpp:
267         * Api/qwebnetworkinterface.h:
268         * Api/qwebnetworkinterface_p.h:
269
270 2007-05-21  Simon Hausmann  <hausmann@kde.org>
271
272         Reviewed by Zack.
273
274         * Api/qwebnetworkinterface.h: Export the net API.
275
276 2007-05-21  Lars Knoll <lars@trolltech.com>
277
278         Reviewed by Zack.
279
280         Add an API layer for network downloads. Basically QWebnetworkInterface
281         is an interface class for downloading resources. QWebnetworkJob describes
282         the actual object to download.
283
284         QWebNetworkInterface has a default implementation that replaces the
285         old ResourceHandleManager class in the Qt port.
286
287         * Api/qwebnetworkinterface.cpp: Added.
288         (QWebNetworkJobPrivate::setURL):
289         (QWebNetworkJob::QWebNetworkJob):
290         (QWebNetworkJob::~QWebNetworkJob):
291         (QWebNetworkJob::url):
292         (QWebNetworkJob::postData):
293         (QWebNetworkJob::request):
294         (QWebNetworkJob::response):
295         (QWebNetworkJob::setResponse):
296         (QWebNetworkJob::cancelled):
297         (QWebNetworkJob::ref):
298         (QWebNetworkJob::deref):
299         (QWebNetworkJob::setUserHandle):
300         (QWebNetworkJob::userHandle):
301         (QWebNetworkManager::QWebNetworkManager):
302         (QWebNetworkManager::self):
303         (QWebNetworkManager::add):
304         (QWebNetworkManager::cancel):
305         (QWebNetworkManager::started):
306         (QWebNetworkManager::data):
307         (QWebNetworkManager::finished):
308         (QWebNetworkInterface::setDefaultInterface):
309         (QWebNetworkInterface::defaultInterface):
310         (QWebNetworkInterface::QWebNetworkInterface):
311         (QWebNetworkInterface::~QWebNetworkInterface):
312         (QWebNetworkInterface::addJob):
313         (QWebNetworkInterface::cancelJob):
314         (LoaderThread::LoaderThread):
315         (LoaderThread::run):
316         (FileLoader::FileLoader):
317         (FileLoader::request):
318         (FileLoader::sendData):
319         (FileLoader::parseDataUrl):
320         (WebCoreHttp::WebCoreHttp):
321         (WebCoreHttp::~WebCoreHttp):
322         (WebCoreHttp::request):
323         (WebCoreHttp::scheduleNextRequest):
324         (WebCoreHttp::getConnection):
325         (WebCoreHttp::onResponseHeaderReceived):
326         (WebCoreHttp::onReadyRead):
327         (WebCoreHttp::onRequestFinished):
328         (WebCoreHttp::onStateChanged):
329         (WebCoreHttp::cancel):
330         (HostInfo::HostInfo):
331         (qHash):
332         (operator==):
333         (NetworkLoader::NetworkLoader):
334         (NetworkLoader::~NetworkLoader):
335         (NetworkLoader::request):
336         (NetworkLoader::connectionClosed):
337         (NetworkLoader::cancel):
338         * Api/qwebnetworkinterface.h: Added.
339         (QWebNetworkJob::setHandle):
340         (QWebNetworkJob::handle):
341         * Api/qwebnetworkinterface_p.h: Added.
342         (WebCore::LoaderThread::):
343         (WebCore::LoaderThread::waitForSetup):
344         (WebCore::HostInfo::HostInfo):
345
346 2007-05-18  Simon Hausmann  <hausmann@kde.org>
347
348         Reviewed by Nikolas.
349
350         * Api/qwebpage.h: Changed the loadProgressChanged API to use an
351         percent integer instead of a double precision floating pointer number.
352         * WebCoreSupport/FrameLoaderClientQt.cpp:
353         (WebCore::FrameLoaderClientQt::setFrame):
354         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
355         * WebCoreSupport/FrameLoaderClientQt.h:
356
357 2007-05-18  Marius Bugge Monsen  <mbm@trolltech.com>
358
359         Reviewed by Zack Rusin.
360
361         The default constructed KeyboardEvent has
362         no PlatformKeyboardEvent.
363
364         * WebCoreSupport/EditorClientQt.cpp:
365         (WebCore::EditorClientQt::handleKeypress):
366
367 2007-05-17  Adam Treat <adam@staikos.net>
368
369         Reviewed by George Staikos.
370
371         - Implement frameLoadCompleted
372         - Fix build (by George)
373
374         * WebCoreSupport/FrameLoaderClientQt.cpp:
375         (WebCore::FrameLoaderClientQt::frameLoadCompleted):
376         (WebCore::FrameLoaderClientQt::createFrame):
377
378 2007-05-17  Adam Treat  <adam@staikos.net>
379
380         Reviewed by George Staikos.
381
382         Implement canShowMIMEType
383
384         * WebCoreSupport/FrameLoaderClientQt.cpp:
385         (WebCore::FrameLoaderClientQt::canShowMIMEType):
386
387 2007-05-16  Lars Knoll <lars@trolltech.com>
388
389         Reviewed by Zack
390
391         pass the mouse events to the event handler, not the frameview.
392
393         * Api/qwebframe.cpp:
394         (QWebFrame::mouseMoveEvent):
395         (QWebFrame::mouseReleaseEvent):
396
397 2007-05-14  Lars Knoll <lars@trolltech.com>
398
399         Reviewed by Zack
400
401         Updates after Maciej's frame change.
402
403         * Api/qwebpage.cpp:
404         (QWebPage::stop):
405               Call stopForUserCancel() instead of stopAllLoaders()
406         * WebCoreSupport/FrameLoaderClientQt.cpp:
407         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
408         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
409         (WebCore::FrameLoaderClientQt::didFinishLoad):
410         (WebCore::FrameLoaderClientQt::setMainDocumentError):
411         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
412         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
413         (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
414         (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
415               Call QWebFrame::loadDone() from the places it's supposed to be
416               called from.
417
418 2007-05-12  Maciej Stachowiak  <mjs@apple.com>
419
420         Reviewed by Rob Buis.
421         
422         - call Frame::init as needed - this prevents crashes but pages don't appear.
423
424         * Api/qwebframe.cpp:
425         (QWebFramePrivate::init):
426         * WebKitPart/WebKitPart.cpp:
427         (WebKitPart::initView):
428
429 2007-05-08  Steve Falkenburg  <sfalken@apple.com>
430
431         Reviewed by Ada.
432         
433         Slight modification to last editor method fix.
434
435         * WebCoreSupport/EditorClientQt.cpp:
436         (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
437         * WebCoreSupport/EditorClientQt.h:
438
439 2007-05-03  Steve Falkenburg  <sfalken@apple.com>
440
441         Reviewed by Oliver.
442
443         Add missing user description parameter to spelling-related editor client method.
444
445         * WebCoreSupport/EditorClientQt.cpp:
446         (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
447         * WebCoreSupport/EditorClientQt.h:
448
449 2007-04-29  Oliver Hunt  <oliver@apple.com>
450
451         Reviewed by Zack.
452
453         Tie QT drag events to the DragController logic
454         to allow drag and drop events to be handled by
455         webkit.
456
457         * Api/qwebframe.cpp:
458         * Api/qwebframe.h:
459         * Api/qwebpage.cpp:
460         (QWebPagePrivate::QWebPagePrivate):
461         (QWebPage::QWebPage):
462         (dropActionToDragOp):
463         (dragOpToDropAction):
464         (QWebPage::dragEnterEvent):
465         (QWebPage::dragLeaveEvent):
466         (QWebPage::dragMoveEvent):
467         (QWebPage::dropEvent):
468         * Api/qwebpage.h:
469         * WebCoreSupport/DragClientQt.cpp:
470         (WebCore::DragClientQt::startDrag):
471         * WebCoreSupport/DragClientQt.h:
472         (WebCore::DragClientQt::DragClientQt):
473
474 2007-04-27  Holger Freyther <freyther@kde.org>
475
476         Reviewed by Maciej.
477
478         Remove unmaintained CMake build system.
479
480         * QtLauncher/CMakeLists.txt: Removed.
481         * WebKitPart/CMakeLists.txt: Removed.
482
483 2007-04-25  Steve Falkenburg  <sfalken@apple.com>
484
485         Reviewed by Adam.
486         
487         Fix spelling error in spelling method name.
488
489         * WebCoreSupport/EditorClientQt.cpp:
490         (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
491         * WebCoreSupport/EditorClientQt.h:
492
493 2007-04-24  Steve Falkenburg  <sfalken@apple.com>
494
495         Reviewed by Oliver.
496         
497         Spelling and grammar stubs
498
499         * WebCoreSupport/EditorClientQt.cpp:
500         (WebCore::EditorClientQt::ignoreWordInSpellDocument):
501         (WebCore::EditorClientQt::learnWord):
502         (WebCore::EditorClientQt::checkSpellingOfString):
503         (WebCore::EditorClientQt::checkGrammarOfString):
504         (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
505         (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
506         (WebCore::EditorClientQt::showSpellingUI):
507         (WebCore::EditorClientQt::spellingUIIsShowing):
508         (WebCore::EditorClientQt::getGuessesForWord):
509         * WebCoreSupport/EditorClientQt.h:
510
511 2007-04-11  MorganL  <morganl.webkit@yahoo.com>
512
513         Reviewed by Maciej.
514
515         Add a Frame pointer to ChromeClient methods:
516         http://bugs.webkit.org/show_bug.cgi?id=13127
517
518         * WebCoreSupport/ChromeClientQt.cpp:
519         (WebCore::ChromeClientQt::createWindow):
520         (WebCore::ChromeClientQt::createModalDialog):
521         * WebCoreSupport/ChromeClientQt.h:
522
523 2007-04-12  Mark Rowe  <mrowe@apple.com>
524
525         Second part of Qt build fix.
526
527         * WebCoreSupport/FrameLoaderClientQt.cpp:
528         (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
529         (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
530         (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
531         * WebCoreSupport/FrameLoaderClientQt.h:
532
533 2007-03-27  Zack Rusin  <zrusin@trolltech.com>
534
535         Fix the rendering crashes due triggered
536         asserts. Improve a bit the layout
537         scheduling.
538
539         * Api/qwebframe.cpp:
540         (QWebFrame::resizeEvent):
541         (QWebFrame::paintEvent):
542         * WebCoreSupport/FrameLoaderClientQt.cpp:
543         (WebCore::FrameLoaderClientQt::forceLayout):
544
545 2007-03-16  Lars Knoll <lars@trolltech.com>
546
547         Fix the Qt build once again.
548
549         * WebCoreSupport/EditorClientQt.cpp:
550         (WebCore::EditorClientQt::handleKeypress):
551         * WebCoreSupport/FrameLoaderClientQt.cpp:
552         (WebCore::FrameLoaderClientQt::blockedError):
553         * WebCoreSupport/FrameLoaderClientQt.h:
554
555 2007-03-13  Lars Knoll <lars@trolltech.com>
556
557         Reviewed by George.
558
559         Don't try to load <object> tags with an invalid url.
560         Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
561         which hit an assertion in the frameloader.
562
563         * WebCoreSupport/FrameLoaderClientQt.cpp:
564         (WebCore::FrameLoaderClientQt::objectContentType):
565
566 2007-03-13  Lars Knoll <lars@trolltech.com>
567
568         Reviewed by Anders.
569
570         Fix some crashes in the Qt build.
571
572         * Api/qwebframe.cpp:
573         (QWebFrame::markup):
574             Check for null pointer
575         * WebCoreSupport/FrameLoaderClientQt.cpp:
576         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
577             Don't use an async callback into the FrameLoader.
578         (WebCore::FrameLoaderClientQt::createFrame):
579
580 2007-03-11  Oliver Hunt  <oliver@apple.com>
581
582         Reviewed by Adele.
583
584         Stub for EditorClientQt::respondToChangedSelection
585
586         * WebCoreSupport/EditorClientQt.cpp:
587         (WebCore::EditorClientQt::respondToChangedSelection):
588         * WebCoreSupport/EditorClientQt.h:
589
590 2007-03-07  Adele Peterson  <adele@apple.com>
591
592         Reviewed by Darin.
593
594         WebKitQT part of fix for:
595         http://bugs.webkit.org/show_bug.cgi?id=10871
596         http://bugs.webkit.org/show_bug.cgi?id=12677
597         <rdar://problem/4823129> REGRESSION: IME key events different in nightly
598         <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
599
600         * WebCoreSupport/EditorClientQt.cpp:
601         (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
602         (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
603         * WebCoreSupport/EditorClientQt.h:
604
605 2007-03-07  Darin Adler  <darin@apple.com>
606
607         * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
608
609 2007-03-07  Darin Adler  <darin@apple.com>
610
611         * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
612         Try to fix the build by correcting the parameter here.
613
614 2007-03-02  Sam Weinig  <sam@webkit.org>
615
616         Reviewed by Anders.
617
618         Try to fix the Qt build
619
620         * WebCoreSupport/DragClientQt.cpp:
621         (WebCore::DragClientQt::willPerformDragDestinationAction):
622         (WebCore::DragClientQt::dragControllerDestroyed):
623         (WebCore::DragClientQt::createDragImageForLink):
624
625 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
626
627         Reviewed by Kevin McCullough.
628
629         - fix Qt build for earlier SVG changes.
630
631         * WebCoreSupport/EditCommandQt.cpp:
632
633 2007-02-24  Zack Rusin  <zrusin@trolltech.com>
634
635         Adjust the animation a little bit to make it more natural.
636
637         * QtLauncher/main.cpp:
638         (HoverLabel::paintEvent):
639
640 2007-02-23  Zack Rusin  <zrusin@trolltech.com>
641
642         Adding a little bit of eye-candy to the last
643         commit (animations on hover events)
644
645         * QtLauncher/main.cpp:
646         (HoverLabel::HoverLabel):
647         (HoverLabel::setHoverLink):
648         (HoverLabel::sizeForFont):
649         (HoverLabel::sizeHint):
650         (HoverLabel::resetAnimation):
651         (HoverLabel::paintEvent):
652         (HoverLabel::interpolate):
653         (SearchEdit::resizeEvent):
654
655 2007-02-23  Zack Rusin  <zrusin@trolltech.com>
656
657         Reviewed by Lars
658
659         Adding API and code for notification of when the
660         mouse is hovering over a link and adding code to
661         the sample app to showcase it.
662
663         * Api/qwebframe.cpp:
664         (QWebFrame::mouseMoveEvent):
665         * Api/qwebframe.h:
666         * Api/qwebframe_p.h:
667         (QWebFramePrivate::QWebFramePrivate):
668         * Api/qwebpage.cpp:
669         (QWebPage::createFrame):
670         * Api/qwebpage.h:
671         * QtLauncher/main.cpp:
672         (HoverLabel::HoverLabel):
673         (HoverLabel::setHoverLink):
674         (HoverLabel::sizeHint):
675         (HoverLabel::updateSize):
676         (HoverLabel::paintEvent):
677         (ClearButton::ClearButton):
678         (ClearButton::paintEvent):
679         (SearchEdit::SearchEdit):
680         (SearchEdit::resizeEvent):
681         (SearchEdit::moveEvent):
682         (MainWindow::MainWindow):
683         (MainWindow::showLinkHover):
684         (MainWindow::resizeEvent):
685
686 2007-02-22  Zack Rusin  <zrusin@trolltech.com>
687
688         Reviewed by Lars
689
690         Fixing the default scroll offset, cleaning
691         up private methods and making the default
692         look not use any frames.
693
694         * Api/qwebframe.cpp:
695         (QWebFramePrivate::init):
696         (QWebFramePrivate::_q_handleKeyEvent):
697         (QWebFrame::QWebFrame):
698         (QWebFrame::wheelEvent):
699         (QWebFrame::keyPressEvent):
700         (QWebFrame::keyReleaseEvent):
701         * Api/qwebframe.h:
702         * Api/qwebframe_p.h:
703
704 2007-02-22  Zack Rusin  <zrusin@trolltech.com>
705
706         Reviewed by Lars
707
708         Make the qwebframe act as a proper canvas.
709         Implement it on top of QAbstractScrollArea.
710
711         * Api/qwebframe.cpp:
712         (QWebFramePrivate::init):
713         (QWebFramePrivate::_q_adjustScrollbars):
714         (QWebFrame::init):
715         (QWebFrame::QWebFrame):
716         (QWebFrame::resizeEvent):
717         (QWebFrame::childFrames):
718         (QWebFrame::paintEvent):
719         (QWebFrame::mouseMoveEvent):
720         (QWebFrame::mousePressEvent):
721         (QWebFrame::mouseReleaseEvent):
722         (QWebFrame::wheelEvent):
723         (QWebFrame::keyPressEvent):
724         (QWebFrame::keyReleaseEvent):
725         (QWebFrame::dragEnterEvent):
726         (QWebFrame::dragLeaveEvent):
727         (QWebFrame::dragMoveEvent):
728         (QWebFrame::handleKeyEvent):
729         (QWebFrame::scrollContentsBy):
730         * Api/qwebframe.h:
731         * Api/qwebframe_p.h:
732         (QWebFramePrivate::QWebFramePrivate):
733
734 2007-02-21  George Staikos  <staikos@kde.org>
735
736         Reviewed by Zack.
737
738         Add more editing support, and undo/redo.  Requires some nasty evil
739         hacks that have to be sorted out in WebCore/editor.
740
741         * Api/qwebpage.cpp:
742         (QWebPagePrivate::QWebPagePrivate):
743         (QWebPagePrivate::~QWebPagePrivate):
744         (QWebPage::undoStack):
745         * Api/qwebpage.h:
746         * Api/qwebpage_p.h:
747         * WebCoreSupport/EditorClientQt.cpp:
748         (WebCore::EditorClientQt::didBeginEditing):
749         (WebCore::EditorClientQt::didEndEditing):
750         (WebCore::EditorClientQt::isEditable):
751         (WebCore::EditorClientQt::registerCommandForUndo):
752         (WebCore::EditorClientQt::registerCommandForRedo):
753         (WebCore::EditorClientQt::clearUndoRedoOperations):
754         (WebCore::EditorClientQt::canUndo):
755         (WebCore::EditorClientQt::canRedo):
756         (WebCore::EditorClientQt::undo):
757         (WebCore::EditorClientQt::redo):
758         (WebCore::EditorClientQt::handleKeyPress):
759         (WebCore::EditorClientQt::EditorClientQt):
760         (WebCore::EditorClientQt::textFieldDidBeginEditing):
761         (WebCore::EditorClientQt::textFieldDidEndEditing):
762         (WebCore::EditorClientQt::isEditing):
763         * WebCoreSupport/EditorClientQt.h:
764
765 2007-02-21  Zack Rusin  <zrusin@trolltech.com>
766
767         Fix compilation.
768
769         * WebCoreSupport/ContextMenuClientQt.cpp:
770         * WebCoreSupport/ContextMenuClientQt.h:
771
772 2007-02-21  George Staikos  <staikos@kde.org>
773
774         Fix compile.
775
776         * Api/qwebpage.cpp:
777         (QWebPage::stop):
778
779 2007-02-20  Zack Rusin  <zrusin@trolltech.com>
780
781         Reviewed by Lars
782
783         Make editing of forms work plus make sure that non-void methods
784         always return something.
785
786         * WebCoreSupport/ChromeClientQt.cpp:
787         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
788         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
789         (WebCore::ChromeClientQt::runJavaScriptConfirm):
790         (WebCore::ChromeClientQt::runJavaScriptPrompt):
791         (WebCore::ChromeClientQt::shouldInterruptJavaScript):
792         * WebCoreSupport/EditorClientQt.cpp:
793         (WebCore::EditorClientQt::shouldDeleteRange):
794         (WebCore::EditorClientQt::shouldBeginEditing):
795         (WebCore::EditorClientQt::shouldEndEditing):
796         (WebCore::EditorClientQt::shouldInsertText):
797         (WebCore::EditorClientQt::shouldChangeSelectedRange):
798         (WebCore::EditorClientQt::shouldApplyStyle):
799         (WebCore::EditorClientQt::shouldInsertNode):
800         * WebCoreSupport/FrameLoaderClientQt.cpp:
801         (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
802         (WebCore::FrameLoaderClientQt::dispatchCreatePage):
803
804 2007-02-17  Lars Knoll <lars@trolltech.com>
805
806         Reviewed by Maciej.
807
808         Additional coding by Maciej, additional review by Oliver.
809
810         Add stubs for the new methods in ChormeClient and EditorClient,
811         remove all references to FrameQt.
812
813         * Api/qwebframe.cpp:
814         (QWebFrame::QWebFrame):
815         * Api/qwebframe_p.h:
816         * Api/qwebpage.cpp:
817         * WebCoreSupport/ChromeClientQt.cpp:
818         (WebCore::ChromeClientQt::shouldInterruptJavaScript):
819         * WebCoreSupport/ChromeClientQt.h:
820         * WebCoreSupport/EditorClientQt.cpp:
821         (WebCore::EditorClientQt::shouldChangeSelectedRange):
822         (WebCore::EditorClientQt::isEditable):
823         * WebCoreSupport/EditorClientQt.h:
824         * WebCoreSupport/FrameLoaderClientQt.cpp:
825         (WebCore::FrameLoaderClientQt::setFrame):
826         (WebCore::FrameLoaderClientQt::webFrame):
827         * WebCoreSupport/FrameLoaderClientQt.h:
828
829 2007-02-18  Oliver Hunt  <oliver@apple.com>
830
831         Reviewed by NOBODY (Buildfix).
832
833         Build fix -- adding DragClientQt method stubs
834
835         * WebCoreSupport/DragClientQt.cpp:
836         (WebCore::DragClientQt::willPerformDragSourceAction):
837         (WebCore::DragClientQt::startDrag):
838         (WebCore::DragClientQt::createDragImageForLink):
839         * WebCoreSupport/DragClientQt.h:
840
841 2007-02-15  Brady Eidson  <beidson@apple.com>
842
843         Reviewed by Adam
844
845         Moved scroll state down into the cross platform FrameLoader - 
846         Blind attempt at keeping Qt building
847
848         * WebCoreSupport/FrameLoaderClientQt.cpp:
849         (WebCore::FrameLoaderClientQt::restoreViewState):
850         (WebCore::FrameLoaderClientQt::saveViewStateToItem):
851         * WebCoreSupport/FrameLoaderClientQt.h:
852
853 2007-02-07  Anders Carlsson  <acarlsson@apple.com>
854
855         Try fixing the Qt build.
856
857         * WebCoreSupport/ChromeClientQt.cpp:
858         (WebCore::ChromeClientQt::shouldInterruptJavaScript):
859         * WebCoreSupport/ChromeClientQt.h:
860
861 2007-02-02  Zack Rusin  <zrusin@trolltech.com>
862
863         Compilation fix: forward declare d-ptr.
864
865         * Api/qcookiejar.h:
866
867 2007-02-02  Zack Rusin  <zrusin@trolltech.com>
868
869         Reviewed by Lars
870
871         Make the frames white by default and get the
872         files that WebCore can handle render inside
873         the frames.
874
875         * Api/qwebframe.cpp:
876         (QWebFrame::QWebFrame):
877         * WebCoreSupport/FrameLoaderClientQt.cpp:
878         (WebCore::FrameLoaderClientQt::createFrame):
879         (WebCore::FrameLoaderClientQt::objectContentType):
880
881 2007-02-01  George Staikos  <staikos@kde.org>
882
883         Reviewed by Zack and Lars.
884
885         Add a cookie interface for the Qt build.
886
887         * Api/qcookiejar.cpp: Added.
888         (QCookieJarPrivate::QCookieJarPrivate):
889         (qHash):
890         (QCookieJar::QCookieJar):
891         (QCookieJar::~QCookieJar):
892         (QCookieJar::setCookies):
893         (QCookieJar::cookies):
894         (QCookieJar::isEnabled):
895         (QCookieJar::setEnabled):
896         (gCleanupJar):
897         (QCookieJar::setCookieJar):
898         (QCookieJar::cookieJar):
899         * Api/qcookiejar.h: Added.
900
901 2007-02-01  Lars Knoll <lars@trolltech.com>
902
903         Reviewed by Adam.
904
905         Fix form loading for the Qt build.
906
907         * WebCoreSupport/FrameLoaderClientQt.cpp:
908         (WebCore::FrameLoaderClientQt::callPolicyFunction):
909         (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
910         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
911         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
912         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
913         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
914
915 2007-01-31  Zack Rusin  <zrusin@trolltech.com>
916
917         Expose the fact that the form has been edited
918         in the public api.
919
920         * Api/qwebpage.cpp:
921         (QWebPagePrivate::QWebPagePrivate):
922         (QWebPage::isModified):
923         * Api/qwebpage.h:
924         * Api/qwebpage_p.h:
925         * WebCoreSupport/EditorClientQt.cpp:
926         (WebCore::EditorClientQt::respondToChangedContents):
927         (WebCore::EditorClientQt::isEditable):
928
929 2007-01-31  Zack Rusin  <zrusin@trolltech.com>
930
931         Reviewed by Lars
932
933         Properly propagate key events.
934
935         * Api/qwebframe.cpp:
936         (QWebFrame::addToJSWindowObject):
937         (QWebFrame::innerText):
938         (QWebFrame::renderTreeDump):
939         * Api/qwebpage.cpp:
940         (QWebPagePrivate::QWebPagePrivate):
941         * Api/qwebpage.h:
942         * WebCoreSupport/EditorClientQt.cpp:
943         (WebCore::EditorClientQt::pageDestroyed):
944         (WebCore::EditorClientQt::handleKeyPress):
945         (WebCore::EditorClientQt::EditorClientQt):
946         * WebCoreSupport/EditorClientQt.h:
947
948 2007-01-31  George Staikos  <staikos@kde.org>
949
950         Remove focusFrame() - misguided - and add childFrames().  Fix a crash
951         on exit.
952
953         Reviewed by Zack.
954
955         * Api/qwebframe.cpp:
956         (QWebFrame::resizeEvent):
957         (QWebFrame::childFrames):
958         * Api/qwebframe.h:
959         * Api/qwebpage.cpp:
960         * Api/qwebpage.h:
961         * WebCoreSupport/FrameLoaderClientQt.cpp:
962         (WebCore::FrameLoaderClientQt::webFrame):
963         * WebCoreSupport/FrameLoaderClientQt.h:
964
965 2007-01-30  Zack Rusin  <zrusin@trolltech.com>
966
967         Improve QtLauncher to make it more useful as a testing tool.
968
969         * QtLauncher/main.cpp:
970         (ClearButton::ClearButton):
971         (ClearButton::paintEvent):
972         (SearchEdit::SearchEdit):
973         (SearchEdit::~SearchEdit):
974         (SearchEdit::paintEvent):
975         (SearchEdit::resizeEvent):
976         (SearchEdit::moveEvent):
977         (MainWindow::MainWindow):
978         (MainWindow::changeLocation):
979         (MainWindow::loadFinished):
980
981 2007-01-30  Simon Hausmann  <hausmann@kde.org>
982
983         Reviewed by Zack.
984
985         Added import/export macros needed for build with ELF visibility and
986         for a build on Windows (in the future).
987
988         * Api/qwebframe.h:
989         * Api/qwebkitglobal.h: Added.
990         * Api/qwebpage.h:
991         * Api/qwebpagehistory.h:
992
993 2007-01-30  Zack Rusin  <zack@kde.org>
994
995         Change the signature of handleKeyPress
996         (make it compile)
997
998         * WebCoreSupport/EditorClientQt.cpp:
999         (WebCore::EditorClientQt::handleKeyPress):
1000         * WebCoreSupport/EditorClientQt.h:
1001
1002 2007-01-29  Zack Rusin  <zack@kde.org>
1003
1004         Reviewed by Lars
1005
1006         Set the allows-scrolling property on the view.
1007
1008         * Api/qwebframe.cpp:
1009         (QWebFrame::QWebFrame):
1010
1011 2007-01-29  Oliver Hunt  <oliver@apple.com>
1012
1013         Reviewed by Adam.
1014
1015         Stub for new DragClient method
1016
1017         * WebCoreSupport/DragClientQt.cpp:
1018         (WebCore::DragClientQt::dragSourceActionMaskForPoint):
1019         * WebCoreSupport/DragClientQt.h:
1020
1021 2007-01-29  Maciej Stachowiak  <mjs@apple.com>
1022
1023         Reviewed by Mark.
1024
1025         - updated for cross-platform data loading support
1026
1027         * WebCoreSupport/FrameLoaderClientQt.cpp:
1028         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1029         * WebCoreSupport/FrameLoaderClientQt.h:
1030
1031 2007-01-29  George Staikos  <staikos@kde.org>
1032
1033         Make window resizing work.
1034
1035         * Api/qwebpage.cpp:
1036         (QWebPage::setWindowGeometry):
1037         * Api/qwebpage.h:
1038         * WebCoreSupport/ChromeClientQt.cpp:
1039         (WebCore::ChromeClientQt::setWindowRect):
1040
1041 2007-01-29  George Staikos  <staikos@kde.org>
1042
1043         Make popup windows work.
1044
1045         * Api/qwebpage.cpp:
1046         (QWebPage::createWindow):
1047         * Api/qwebpage.h:
1048         * WebCoreSupport/ChromeClientQt.cpp:
1049         (WebCore::ChromeClientQt::createWindow):
1050
1051 2007-01-29  Lars Knoll <lars@trolltech.com>
1052
1053         Reviewed by Zack
1054
1055         Fix the way we handle native widgets (QWidget) inside
1056         WebCore. Now WebCore::Widget owns the QWidget in all
1057         cases. This is the only way to get well defined semantics
1058         for all teh native widgets we have (currently ScrollView
1059         and ScrollBar, but plugins will follow).
1060
1061         This has the side effect that one cannot rely on a defined 
1062         lifetime of a QWebFrame when using the API. 
1063
1064         * Api/qwebframe.cpp:
1065         (QWebFrame::~QWebFrame):
1066         * Api/qwebpage.cpp:
1067         (QWebPage::~QWebPage):
1068         * Api/qwebpage_p.h:
1069         * WebCoreSupport/FrameLoaderClientQt.cpp:
1070         (WebCore::FrameLoaderClientQt::detachedFromParent3):
1071         (WebCore::FrameLoaderClientQt::detachedFromParent4):
1072         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1073         * WebCoreSupport/FrameLoaderClientQt.h:
1074
1075 2007-01-29  George Staikos  <staikos@kde.org>
1076
1077         Reviewed by Zack.
1078
1079         Implement more functions
1080
1081         * Api/qwebpage.cpp:
1082         (QWebPage::javaScriptConsoleMessage):
1083         (QWebPage::statusTextChanged):
1084         (QWebPage::runJavaScriptAlert):
1085         * Api/qwebpage.h:
1086         * Api/qwebpagehistory.cpp:
1087         (QWebPageHistory::canGoBack):
1088         (QWebPageHistory::canGoForward):
1089         * Api/qwebpagehistory.h:
1090         * WebCoreSupport/ChromeClientQt.cpp:
1091         (WebCore::ChromeClientQt::addMessageToConsole):
1092         (WebCore::ChromeClientQt::runJavaScriptAlert):
1093         * WebCoreSupport/FrameLoaderClientQt.cpp:
1094         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1095
1096 2007-01-26  George Staikos  <staikos@kde.org>
1097
1098         Reviewed by Zack.
1099
1100         Qt implementation.
1101
1102         * Api/qwebframe.cpp:
1103         (QWebFrame::QWebFrame):
1104         (QWebFrame::title):
1105         (QWebFrame::selectedText):
1106         * Api/qwebframe.h:
1107         * Api/qwebframe_p.h:
1108         * Api/qwebpage.cpp:
1109         (QWebPage::createFrame):
1110         (QWebPage::open):
1111         (QWebPage::url):
1112         (QWebPage::title):
1113         (QWebPage::focusFrame):
1114         (QWebPage::stop):
1115         * Api/qwebpage.h:
1116         * WebCoreSupport/FrameLoaderClientQt.cpp:
1117         (WebCore::FrameLoaderClientQt::setFrame):
1118         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1119         (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
1120         (WebCore::FrameLoaderClientQt::didChangeTitle):
1121         (WebCore::FrameLoaderClientQt::setTitle):
1122         * WebCoreSupport/FrameLoaderClientQt.h:
1123
1124 2007-01-26  Lars Knoll <lars@trolltech.com>
1125
1126         Make it compile again with Qt 4.2 and add the copyright
1127         headers where forgotten in the last submit.
1128
1129         * Api/qwebpagehistory.cpp:
1130         * Api/qwebpagehistory.h:
1131         (QExplicitlySharedDataPointer::operator*):
1132         (QExplicitlySharedDataPointer::operator->):
1133         (QExplicitlySharedDataPointer::operator T *):
1134         (QExplicitlySharedDataPointer::operator const T *):
1135         (QExplicitlySharedDataPointer::data):
1136         (QExplicitlySharedDataPointer::constData):
1137         (QExplicitlySharedDataPointer::operator==):
1138         (QExplicitlySharedDataPointer::operator!=):
1139         (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
1140         (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
1141         (QExplicitlySharedDataPointer::operator=):
1142         (QExplicitlySharedDataPointer::operator!):
1143         (::QExplicitlySharedDataPointer):
1144
1145 2007-01-26  Zack Rusin  <zrusin@trolltech.com>
1146
1147         Reviewed by Lars
1148
1149         Implement history support on platform Qt.
1150
1151         * Api/qwebpage.cpp:
1152         (QWebPage::history):
1153         (QWebPage::goBack):
1154         (QWebPage::goForward):
1155         (QWebPage::goToHistoryItem):
1156         * Api/qwebpage.h:
1157         * Api/qwebpagehistory.cpp: Added.
1158         (QWebHistoryItem::~QWebHistoryItem):
1159         (QWebHistoryItem::originalUrl):
1160         (QWebHistoryItem::currentUrl):
1161         (QWebHistoryItem::title):
1162         (QWebHistoryItem::lastVisited):
1163         (QWebHistoryItem::icon):
1164         (QWebHistoryItem::QWebHistoryItem):
1165         (QWebPageHistory::QWebPageHistory):
1166         (QWebPageHistory::itemAtIndex):
1167         (QWebPageHistory::~QWebPageHistory):
1168         (QWebPageHistory::items):
1169         (QWebPageHistory::backItems):
1170         (QWebPageHistory::forwardItems):
1171         (QWebPageHistory::goBack):
1172         (QWebPageHistory::goForward):
1173         (QWebPageHistory::goToItem):
1174         (QWebPageHistory::backItem):
1175         (QWebPageHistory::currentItem):
1176         (QWebPageHistory::forwardItem):
1177         * Api/qwebpagehistory.h: Added.
1178         * Api/qwebpagehistory_p.h: Added.
1179         (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1180         (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1181         (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
1182         (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
1183
1184 2007-01-26  Lars Knoll <lars@trolltech.com>
1185
1186         Get rid of FrameQtClient. It's unused since we moved over
1187         to the loader.
1188
1189         * Api/qwebframe.cpp:
1190         (QWebFrame::QWebFrame):
1191
1192 2007-01-26  Zack Rusin  <zack@kde.org>
1193
1194         Reviewed by Lars
1195
1196         Correctly position child frames within the 
1197         toplevel frame. We were placed it on the widget
1198         itself instead of the vieweport.
1199
1200         * Api/qwebframe.cpp:
1201         (QWebFrame::QWebFrame):
1202
1203 2007-01-26  Lars Knoll <lars@trolltech.com>
1204
1205         Reviewed by Zack
1206
1207         Make sure we resize the HTML when resizing a 
1208         QWebFrame. Also ensure that the render tree
1209         is up to date before dumping it.
1210
1211         * Api/qwebframe.cpp:
1212         (QWebFrame::innerText):
1213         (QWebFrame::renderTreeDump):
1214         (QWebFrame::resizeEvent):
1215         * Api/qwebframe.h:
1216         * Api/qwebpage.cpp:
1217         (QWebPagePrivate::createMainFrame):
1218
1219 2007-01-26  Zack Rusin  <zack@kde.org>
1220
1221         Reviewed by Lars
1222
1223         Display pages inside a mainwindow instead
1224         of a custom qwidget.
1225
1226         * QtLauncher/main.cpp:
1227         (MainWindow::MainWindow):
1228         (main):
1229
1230 2007-01-25  Lars Knoll <lars@trolltech.com>
1231
1232         Reviewed by Zack
1233
1234         Emit the loadDone() signal from teh onload event callback
1235         again. This hangs on one or two test cases, but removes
1236         hundreds of failures elsewhere.
1237
1238         * WebCoreSupport/FrameLoaderClientQt.cpp:
1239         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1240         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1241
1242 2007-01-24  Lars Knoll <lars@trolltech.com>
1243
1244         Reviewed by Zack
1245
1246         Implement some bits and pieces required by the loader.
1247         Fixes quite a few crashes and hangs in the lyout tests
1248
1249         * Api/qwebframe.h:
1250         * WebCoreSupport/FrameLoaderClientQt.cpp:
1251         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1252         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
1253         (WebCore::FrameLoaderClientQt::finishedLoading):
1254         (WebCore::FrameLoaderClientQt::setMainDocumentError):
1255         (WebCore::FrameLoaderClientQt::committedLoad):
1256         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1257         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1258         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1259         (WebCore::FrameLoaderClientQt::createFrame):
1260
1261 2007-01-24  Lars Knoll <lars@trolltech.com>
1262
1263         Fix compilation again.
1264
1265         * WebCoreSupport/EditorClientQt.cpp:
1266         (WebCore::EditorClientQt::handleKeyPress):
1267         * WebCoreSupport/EditorClientQt.h:
1268
1269 2007-01-23  Lars Knoll <lars@trolltech.com>
1270
1271         Reviewed by Zack
1272
1273         Fix refcounting of FrameViews (they get created with a
1274         refcount of 1) and add a few safety checks to the 
1275         FrameLoaderClientQt.
1276
1277         * Api/qwebframe.cpp:
1278         (QWebFrame::QWebFrame):
1279         (QWebFrame::~QWebFrame):
1280         * WebCoreSupport/FrameLoaderClientQt.cpp:
1281         (WebCore::FrameLoaderClientQt::detachedFromParent3):
1282         (WebCore::FrameLoaderClientQt::detachedFromParent4):
1283         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1284         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1285         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1286         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1287         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1288         (WebCore::FrameLoaderClientQt::windowObjectCleared):
1289
1290 2007-01-23  Zack Rusin  <zack@kde.org>
1291
1292         Adjust the DragClientQt to latest changes.
1293
1294         * Api/qwebpage.cpp:
1295         (QWebPagePrivate::QWebPagePrivate):
1296         * WebCoreSupport/DragClientQt.cpp:
1297         (WebCore::DragClientQt::dragControllerDestroyed):
1298         * WebCoreSupport/DragClientQt.h:
1299
1300 2007-01-23  Zack Rusin  <zack@kde.org>
1301
1302         Fix the Qt build
1303
1304         * WebCoreSupport/DragClientQt.cpp:
1305         (WebCore::DragClientQt::willPerformDragDestinationAction):
1306         * WebCoreSupport/DragClientQt.h:
1307
1308 2007-01-23  Lars Knoll <lars@trolltech.com>
1309
1310         Reviewed by Maciej
1311
1312         Add support for Frames to the Qt build and fix some issues
1313         in the API classes.
1314
1315         * Api/qwebframe.cpp:
1316         (QWebFrame::QWebFrame):
1317         (QWebFrame::~QWebFrame):
1318         * Api/qwebframe.h:
1319         * Api/qwebframe_p.h:
1320         * Api/qwebpage.cpp:
1321         (QWebPagePrivate::QWebPagePrivate):
1322         (QWebPagePrivate::createMainFrame):
1323         (QWebPage::createFrame):
1324         * Api/qwebpage.h:
1325         * WebCoreSupport/FrameLoaderClientQt.cpp:
1326         (WebCore::FrameLoaderClientQt::detachedFromParent3):
1327         (WebCore::FrameLoaderClientQt::detachedFromParent4):
1328         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1329         (WebCore::FrameLoaderClientQt::windowObjectCleared):
1330         (WebCore::FrameLoaderClientQt::createFrame):
1331         (WebCore::FrameLoaderClientQt::objectContentType):
1332         (WebCore::FrameLoaderClientQt::createPlugin):
1333         (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
1334         (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
1335         (WebCore::FrameLoaderClientQt::overrideMediaType):
1336         * WebCoreSupport/FrameLoaderClientQt.h:
1337
1338 2007-01-23  Oliver Hunt  <oliver@apple.com>
1339
1340         Reviewed by Adam.
1341
1342         Qt build stubs for Drop logic
1343
1344         * WebCoreSupport/DragClientQt.cpp: Added.
1345         (WebCore::DragClientQt::actionMaskForDrag):
1346         (WebCore::DragClientQt::willPerformDragDestinationAction):
1347         * WebCoreSupport/DragClientQt.h: Added.
1348         * WebKitPart/WebKitPart.cpp:
1349         (WebKitPart::initView):
1350
1351 2007-01-19  John Sullivan  <sullivan@apple.com>
1352
1353         Added stubs for new callbacks, to try to avoid breaking the Qt port.
1354
1355         * WebCoreSupport/FrameLoaderClientQt.cpp:
1356         (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
1357         * WebCoreSupport/FrameLoaderClientQt.h:
1358
1359 2007-01-19  Anders Carlsson  <acarlsson@apple.com>
1360
1361         Try fixing the QT build.
1362         
1363         * WebCoreSupport/ChromeClientQt.cpp:
1364         (WebCore::ChromeClientQt::runJavaScriptAlert):
1365         (WebCore::ChromeClientQt::runJavaScriptConfirm):
1366         (WebCore::ChromeClientQt::runJavaScriptPrompt):
1367         (WebCore::ChromeClientQt::setStatusbarText):
1368         * WebCoreSupport/ChromeClientQt.h:
1369
1370 2007-01-18  Zack Rusin  <zack@kde.org>
1371
1372         Reviewed by Lars.
1373
1374         Implementing a little bit of load progress tracking in the Qt port.
1375
1376         * Api/qwebframe.cpp:
1377         (QWebFrame::QWebFrame):
1378         (QWebFrame::page):
1379         * Api/qwebframe.h:
1380         * Api/qwebframe_p.h:
1381         (QWebFramePrivate::QWebFramePrivate):
1382         * Api/qwebpage.h:
1383         * QtLauncher/main.cpp:
1384         (main):
1385         * WebCoreSupport/FrameLoaderClientQt.cpp:
1386         (WebCore::FrameLoaderClientQt::setFrame):
1387         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1388         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1389         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1390         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1391         * WebCoreSupport/FrameLoaderClientQt.h:
1392
1393 2007-01-17  Alice Liu  <alice.liu@apple.com>
1394
1395         Added these stubs to keep the Qt build from failing.
1396
1397         * WebCoreSupport/EditorClientQt.cpp:
1398         (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
1399         * WebCoreSupport/EditorClientQt.h:
1400
1401 2007-01-17  Lars Knoll <lars@trolltech.com>
1402
1403         Reviewed by Zack
1404
1405         Remove the inheritance from Shared<XxxClient> in the
1406         client classes.
1407
1408         Answer asynchronously to most of the Policy checking methods
1409         in FrameLoaderClientQt to avoid some crashes in the loader.
1410
1411         * WebCoreSupport/ChromeClientQt.cpp:
1412         * WebCoreSupport/ChromeClientQt.h:
1413         * WebCoreSupport/ContextMenuClientQt.cpp:
1414         * WebCoreSupport/ContextMenuClientQt.h:
1415         * WebCoreSupport/EditorClientQt.cpp:
1416         * WebCoreSupport/EditorClientQt.h:
1417         * WebCoreSupport/FrameLoaderClientQt.cpp:
1418         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1419         (WebCore::FrameLoaderClientQt::callPolicyFunction):
1420         (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
1421         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1422         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1423         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1424         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1425         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1426         * WebCoreSupport/FrameLoaderClientQt.h:
1427
1428 2007-01-17  Lars Knoll <lars@trolltech.com>
1429
1430         Reviewed by Zack
1431
1432         change all notImplemented() macros to use qDebug
1433         instead of fprintf(stder, ...)
1434
1435         * WebCoreSupport/ChromeClientQt.cpp:
1436         * WebCoreSupport/ContextMenuClientQt.cpp:
1437         * WebCoreSupport/EditorClientQt.cpp:
1438         * WebCoreSupport/FrameLoaderClientQt.cpp:
1439
1440 2007-01-16  Alice Liu  <alice.liu@apple.com>
1441
1442         Added these stubs to keep the Qt build from failing.
1443
1444         * WebCoreSupport/EditorClientQt.cpp:
1445         (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
1446         * WebCoreSupport/EditorClientQt.h:
1447
1448 2007-01-16  Lars Knoll <lars@trolltech.com>
1449
1450         Reviewed by Zack
1451
1452         Added the start of a public API to the Qt build
1453         of WebKit. Currently we have QWebPage and QWebFrame
1454         with a few small methods.
1455
1456         Converted the QtLauncher to use the new public API.
1457
1458         * Api/qwebframe.cpp: Added.
1459         (QWebFrame::QWebFrame):
1460         (QWebFrame::~QWebFrame):
1461         (QWebFrame::addToJSWindowObject):
1462         (QWebFrame::markup):
1463         (QWebFrame::innerText):
1464         (QWebFrame::renderTreeDump):
1465         * Api/qwebframe.h: Added.
1466         * Api/qwebframe_p.h: Added.
1467         (QWebFramePrivate::QWebFramePrivate):
1468         * Api/qwebpage.cpp: Added.
1469         (QWebPagePrivate::QWebPagePrivate):
1470         (QWebPagePrivate::~QWebPagePrivate):
1471         (QWebPagePrivate::createMainFrame):
1472         (QWebPage::QWebPage):
1473         (QWebPage::~QWebPage):
1474         (QWebPage::createFrame):
1475         (QWebPage::open):
1476         (QWebPage::mainFrame):
1477         (QWebPage::sizeHint):
1478         * Api/qwebpage.h: Added.
1479         * Api/qwebpage_p.h: Added.
1480         * QtLauncher/main.cpp:
1481         (main):
1482         * WebCoreSupport/ChromeClientQt.cpp:
1483         (WebCore::ChromeClientQt::ChromeClientQt):
1484         (WebCore::ChromeClientQt::setWindowRect):
1485         (WebCore::ChromeClientQt::windowRect):
1486         (WebCore::ChromeClientQt::pageRect):
1487         (WebCore::ChromeClientQt::focus):
1488         (WebCore::ChromeClientQt::unfocus):
1489         (WebCore::ChromeClientQt::canTakeFocus):
1490         (WebCore::ChromeClientQt::takeFocus):
1491         (WebCore::ChromeClientQt::createWindow):
1492         (WebCore::ChromeClientQt::createModalDialog):
1493         (WebCore::ChromeClientQt::show):
1494         (WebCore::ChromeClientQt::addMessageToConsole):
1495         (WebCore::ChromeClientQt::chromeDestroyed):
1496         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1497         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1498         (WebCore::ChromeClientQt::closeWindowSoon):
1499         * WebCoreSupport/ChromeClientQt.h:
1500         * WebCoreSupport/FrameLoaderClientQt.cpp:
1501         (WebCore::FrameLoaderClientQt::setFrame):
1502         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1503         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1504         (WebCore::FrameLoaderClientQt::partClearedInBegin):
1505         * WebCoreSupport/FrameLoaderClientQt.h:
1506
1507 2007-01-15  Anders Carlsson  <acarlsson@apple.com>
1508
1509         Fix build.
1510         
1511         * WebCoreSupport/FrameLoaderClientQt.cpp:
1512         (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
1513         (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
1514         (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
1515         * WebCoreSupport/FrameLoaderClientQt.h:
1516
1517 2007-01-13  Lars Knoll <lars@trolltech.com>
1518
1519         Compile again after yesterdays changes.
1520
1521         * WebCoreSupport/FrameLoaderClientQt.cpp:
1522         (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
1523         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1524         (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1525         (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1526         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1527         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1528         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1529         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1530         (WebCore::FrameLoaderClientQt::incrementProgress):
1531         (WebCore::FrameLoaderClientQt::completeProgress):
1532         * WebCoreSupport/FrameLoaderClientQt.h:
1533
1534 2007-01-11  Brady Eidson  <beidson@apple.com>
1535
1536         Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore
1537         Yay for the loader on QT!
1538
1539         * WebCoreSupport/FrameLoaderClientQt.cpp:
1540         (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
1541         (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
1542         * WebCoreSupport/FrameLoaderClientQt.h:
1543
1544 2007-01-11  Lars Knoll <lars@trolltech.com>
1545
1546         Reviewed by Darin
1547
1548         Start using the loader in the Qt port.
1549
1550         * QtLauncher/main.cpp:
1551         (main):
1552         * WebCoreSupport/FrameLoaderClientQt.cpp:
1553         (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
1554         (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
1555         (WebCore::FrameLoaderClientQt::setFrame):
1556         (WebCore::FrameLoaderClientQt::detachFrameLoader):
1557         (WebCore::FrameLoaderClientQt::makeDocumentView):
1558         (WebCore::FrameLoaderClientQt::makeRepresentation):
1559         (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
1560         (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
1561         (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
1562         (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
1563         (WebCore::FrameLoaderClientQt::progressStarted):
1564         (WebCore::FrameLoaderClientQt::progressCompleted):
1565         (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
1566         (WebCore::FrameLoaderClientQt::clearArchivedResources):
1567         (WebCore::FrameLoaderClientQt::canShowMIMEType):
1568         (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
1569         (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
1570         (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
1571         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1572         (WebCore::FrameLoaderClientQt::canHandleRequest):
1573         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1574         (WebCore::FrameLoaderClientQt::canCachePage):
1575         (WebCore::FrameLoaderClientQt::committedLoad):
1576         (WebCore::FrameLoaderClientQt::cancelledError):
1577         (WebCore::FrameLoaderClientQt::cannotShowURLError):
1578         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1579         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1580         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1581         (WebCore::FrameLoaderClientQt::shouldFallBack):
1582         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1583         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1584         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1585         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1586         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1587         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1588         (WebCore::FrameLoaderClientQt::willUseArchive):
1589         * WebCoreSupport/FrameLoaderClientQt.h:
1590
1591 2007-01-11  George Staikos  <staikos@kde.org>
1592
1593         Fix Qt Build.
1594
1595         * WebCoreSupport/ContextMenuClientQt.cpp:
1596         (WebCore::ContextMenuClientQt::searchWithGoogle):
1597         * WebCoreSupport/ContextMenuClientQt.h:
1598
1599 2007-01-06  George Staikos  <staikos@kde.org>
1600
1601         Reviewed by Brady.
1602
1603         Make it link.
1604
1605         * WebCoreSupport/FrameLoaderClientQt.cpp:
1606         (WebCore::FrameLoaderClientQt::setMainDocumentError):
1607         (WebCore::FrameLoaderClientQt::committedLoad):
1608         (WebCore::FrameLoaderClientQt::cancelledError):
1609         (WebCore::FrameLoaderClientQt::cannotShowURLError):
1610         (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
1611         (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
1612         (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
1613         (WebCore::FrameLoaderClientQt::shouldFallBack):
1614         (WebCore::FrameLoaderClientQt::createDocumentLoader):
1615         (WebCore::FrameLoaderClientQt::download):
1616         (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
1617         (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
1618         (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
1619         (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
1620         (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
1621         (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
1622         (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
1623         (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
1624         (WebCore::FrameLoaderClientQt::dispatchCreatePage):
1625         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
1626         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
1627         (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
1628         (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
1629         (WebCore::FrameLoaderClientQt::incrementProgress):
1630         (WebCore::FrameLoaderClientQt::completeProgress):
1631         (WebCore::FrameLoaderClientQt::startDownload):
1632         (WebCore::FrameLoaderClientQt::willUseArchive):
1633         * WebCoreSupport/FrameLoaderClientQt.h:
1634
1635 2007-01-05  Lars Knoll <lars@trolltech.com>
1636
1637         Make the Qt build compile again
1638
1639         * WebCoreSupport/ChromeClientQt.cpp:
1640         (WebCore::ChromeClientQt::canTakeFocus):
1641         (WebCore::ChromeClientQt::takeFocus):
1642         * WebCoreSupport/ChromeClientQt.h:
1643         * WebCoreSupport/ContextMenuClientQt.cpp:
1644         (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
1645         * WebCoreSupport/ContextMenuClientQt.h:
1646
1647 2007-01-03  Lars Knoll <lars@trolltech.com>
1648
1649         Fix the Qt build
1650
1651         * WebCoreSupport/FrameLoaderClientQt.cpp:
1652         (WebCore::FrameLoaderClientQt::setDocumentViewFromPageCache):
1653         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
1654         (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
1655         (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
1656         (WebCore::FrameLoaderClientQt::saveScrollPositionAndViewStateToItem):
1657         (WebCore::FrameLoaderClientQt::saveDocumentViewToPageCache):
1658         (WebCore::FrameLoaderClientQt::canCachePage):
1659         * WebCoreSupport/FrameLoaderClientQt.h:
1660
1661 2006-12-29  George Staikos  <staikos@kde.org>
1662
1663         Add missing notimplemented.
1664
1665         * WebCoreSupport/FrameLoaderClientQt.cpp:
1666         (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
1667         (WebCore::FrameLoaderClientQt::canHandleRequest):
1668         (WebCore::FrameLoaderClientQt::partClearedInBegin):
1669
1670 2006-12-21  Lars Knoll <lars@trolltech.com>
1671
1672         Reviewed by Zack
1673
1674         * WebCoreSupport/FrameLoaderClientQt.cpp:
1675         (WebCore::FrameLoaderClientQt::hasWebView):
1676         (WebCore::FrameLoaderClientQt::hasFrameView):
1677         (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
1678         (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
1679         (WebCore::FrameLoaderClientQt::setTitle):
1680         (WebCore::FrameLoaderClientQt::partClearedInBegin):
1681         * WebCoreSupport/FrameLoaderClientQt.h:
1682                  Remove some runtimw warnings
1683                  Add partClearedInBegin forwarding call, so
1684                  I can catch this in the layout tests.
1685
1686 2006-12-19  Lars Knoll <lars@trolltech.com>
1687
1688         Reviewed by Rob.
1689
1690         * WebCoreSupport/ChromeClientQt.cpp:
1691         (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
1692         (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
1693         (WebCore::ChromeClientQt::closeWindowSoon):
1694         * WebCoreSupport/ChromeClientQt.h:
1695                 Make it compile.
1696
1697 2006-12-16  Zack Rusin  <zack@kde.org>
1698
1699         Adjust the client to the most recent interface.
1700
1701         * WebCoreSupport/ContextMenuClientQt.cpp:
1702         (WebCore::ContextMenuClientQt::contextMenuDestroyed):
1703         (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
1704         (WebCore::ContextMenuClientQt::contextMenuItemSelected):
1705         (WebCore::ContextMenuClientQt::downloadURL):
1706         (WebCore::ContextMenuClientQt::copyImageToClipboard):
1707         (WebCore::ContextMenuClientQt::lookUpInDictionary):
1708         * WebCoreSupport/ContextMenuClientQt.h:
1709
1710 2006-12-14  Simon Hausmann  <hausmann@kde.org>
1711
1712         Reviewed by Zack.
1713
1714         * QtLauncher/QtLauncher.pro: Link this little test program
1715         with rpath, for convenience. (This is never going to get installed
1716         anyway)
1717
1718 2006-12-12  George Staikos  <staikos@kde.org>
1719
1720         Reviewed by Alexey.
1721
1722         Fix the Qt build again.
1723
1724         * WebCoreSupport/ContextMenuClientQt.cpp:
1725         (WebCore::ContextMenuClientQt::speak):
1726         (WebCore::ContextMenuClientQt::stopSpeaking):
1727         * WebCoreSupport/ContextMenuClientQt.h:
1728         * WebCoreSupport/EditorClientQt.cpp:
1729         (WebCore::EditorClientQt::toggleContinuousSpellChecking):
1730         (WebCore::EditorClientQt::toggleGrammarChecking):
1731         * WebCoreSupport/EditorClientQt.h:
1732
1733 2006-12-10  George Staikos  <staikos@kde.org>
1734
1735         Reviewed by Zack.
1736
1737         Add a default user agent for now.
1738
1739         * WebCoreSupport/FrameLoaderClientQt.cpp:
1740         (WebCore::FrameLoaderClientQt::userAgent):
1741
1742 2006-12-10  Lars Knoll <lars@trolltech.com>
1743
1744         Reviewed by Zack
1745
1746         Comment out a notImplemented() warning
1747
1748         * WebCoreSupport/EditorClientQt.cpp:
1749         (WebCore::EditorClientQt::clearUndoRedoOperations):
1750
1751 2006-12-10  Zack Rusin  <zack@kde.org>
1752
1753         Print out the method name if it's unimplemented.
1754
1755         * WebCoreSupport/FrameLoaderClientQt.cpp:
1756
1757 2006-12-10  Zack Rusin  <zack@kde.org>
1758
1759         Moving the clients from platform to their final location.
1760
1761         * WebCoreSupport/FrameLoaderClientQt.cpp: Added.
1762         * WebCoreSupport/FrameLoaderClientQt.h: Added.
1763         * WebCoreSupport/ChromeClientQt.cpp: Added.
1764         * WebCoreSupport/ChromeClientQt.h: Added.
1765         * WebCoreSupport/ContextMenuClientQt.cpp: Added.
1766         * WebCoreSupport/ContextMenuClientQt.h: Added.
1767         * WebCoreSupport/EditorClientQt.cpp: Added.
1768         * WebCoreSupport/EditorClientQt.h: Added.
1769
1770 2006-12-10  Zack Rusin  <zack@kde.org>
1771
1772         Adjusting to the changes in platform/qt.
1773
1774         * QtLauncher/main.cpp:
1775         (main):
1776
1777 2006-12-09  Lars Knoll <lars@trolltech.com>
1778
1779         Reviewed by Zack
1780
1781         Make it possible to build WebKit with qmake.
1782
1783         * QtLauncher/QtLauncher.pro: Added.
1784         * QtLauncher/main.cpp:
1785
1786 2006-12-08  Zack Rusin  <zack@kde.org>
1787
1788         Reviewed by Maciej.
1789
1790         Fix the build after the recent changes.
1791
1792         * QtLauncher/main.cpp:
1793         (main):
1794         * WebKitPart/WebKitPart.cpp:
1795         (WebKitPart::initView):
1796
1797 2006-11-19  Simon Hausmann  <hausmann@kde.org>
1798
1799         Reviewed by Zack.
1800
1801         http://bugs.webkit.org/show_bug.cgi?id=11649
1802         Fix Qt-only build
1803
1804         * QtLauncher/CMakeLists.txt:
1805
1806 2006-11-17  Zack Rusin  <zack@kde.org>
1807
1808         Reviewed by Mitz. Landed by Niko.
1809
1810         Adjusting to the new api.
1811
1812         * QtLauncher/main.cpp:
1813         (main):
1814         * WebKitPart/WebKitPart.cpp:
1815         (WebKitPart::initView):
1816
1817 2006-11-10  Zack Rusin  <zack@kde.org>
1818
1819         Reviewed and landed by Anders.
1820
1821         Adjusting to the recent loader changes, making it compile
1822         and work.
1823
1824         * QtLauncher/main.cpp:
1825         (main):
1826         * WebKitPart/WebKitPart.cpp:
1827         (WebKitPart::closeUrl):
1828         (WebKitPart::initView):
1829
1830 2006-11-03  Zack Rusin  <zack@kde.org>
1831
1832         Reviewed by Maciej.
1833
1834         Fixing compile on both Qt and KDE platforms.
1835
1836         * QtLauncher/main.cpp:
1837         (main): url has already been defined
1838         * WebKitPart/WebKitPartBrowserExtension.cpp: removing
1839         duplicate implementation of this class
1840
1841 2006-10-31  Simon Hausmann  <hausmann@kde.org>
1842
1843         Reviewed by Maciej, landed by Anders.
1844
1845         * QtLauncher/CMakeLists.txt: Make linkage against kde libraries
1846           optional
1847         * QtLauncher/main.cpp: Make it compile without KDE.
1848         (main):
1849
1850 2006-11-02  Simon Hausmann  <hausmann@kde.org>
1851
1852         Reviewed by Maciej, landed by Anders.
1853
1854         * QtLauncher/main.cpp:
1855         (main): Declare our frame as main frame to the Page object.
1856         Fixes crashes on various web sites
1857
1858 2006-10-31  Zack Rusin  <zack@kde.org>
1859
1860         Reviewed by Mitz.
1861
1862         Fix the Qt build after last nights changes.
1863
1864         * QtLauncher/CMakeLists.txt:
1865         * WebKitPart/CMakeLists.txt:
1866
1867 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
1868
1869         Reviewed by Darin.
1870
1871         Fix Qt/Linux build.
1872
1873         * QtLauncher/main.cpp:
1874         (main):
1875         * WebKitPart/WebKitPart.cpp:
1876         (WebKitPart::openUrl):
1877
1878 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
1879
1880         Reviewed by Maciej.
1881
1882         Fix Qt/Linux build.
1883
1884         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
1885         - Fix CMakeLists.txt to include platform/network.
1886
1887         * QtLauncher/CMakeLists.txt:
1888         * WebKitPart/CMakeLists.txt:
1889
1890 2006-10-24  Simon Hausmann  <hausmann@kde.org>
1891
1892         Reviewed by Darin.
1893
1894         * QtLauncher/CMakeLists.txt, WebKitPart/CMakeLists.txt: Added project name to
1895           kde4_automoc macro, as required by the latest KDE4 cmake module.
1896
1897 2006-10-20  Nikolas Zimmermann  <zimmermann@kde.org>
1898
1899         Reviewed and landed by Anders.
1900
1901         Adapt to FrameQtClient changes, and provide some kind of status
1902         information to the KPart wheter we're loading or not (started/completed signaling).
1903
1904         * WebKitPart/CMakeLists.txt:
1905         * WebKitPart/WebKitPart.cpp:
1906         (WebKitPart::WebKitPart):
1907         (WebKitPart::~WebKitPart):
1908         (WebKitPart::openUrl):
1909         (WebKitPart::initView):
1910         * WebKitPart/WebKitPart.h:
1911         * WebKitPart/WebKitPartBrowserExtension.cpp: Added.
1912         (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
1913         (WebKitPartBrowserExtension::~WebKitPartBrowserExtension):
1914         * WebKitPart/WebKitPartBrowserExtension.h: Added.
1915         * WebKitPart/WebKitPartClient.cpp:
1916         (WebKitPartClient::WebKitPartClient):
1917         (WebKitPartClient::loadFinished):
1918         * WebKitPart/WebKitPartClient.h:
1919         * WebKitPart/WebKitPartInterface.h:
1920
1921 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
1922
1923         Reviewed by eseidel.  Landed by eseidel.
1924
1925         Fix last remaining issue Qt/Linux build with gcc3.
1926
1927         * WebKitPart/WebKitPart.h: Remove Q_PROPERTY usage, which is not needed and made problems.
1928
1929 2006-09-10  Nikolas Zimmermann  <zimmermann@kde.org>
1930
1931         Reviewed and landed by ap.
1932
1933         Fix QtLauncher - it is supposed to create a FrameView on its own nowadays.
1934
1935         * QtLauncher/main.cpp:
1936         (main):
1937
1938 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
1939
1940         Reviewed by Tim H.
1941
1942         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
1943         Move QtLauncher down to WebKitQt.
1944
1945         * QtLauncher/CMakeLists.txt: Added.
1946         * QtLauncher/main.cpp: Added.
1947         (main):
1948
1949 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
1950
1951         Reviewed by Darin. Final polish by Sam.
1952
1953         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
1954         Add WebKitPart, an embeddable KPart for the KDE platform.
1955
1956         * WebKitPart/CMakeLists.txt: Added.
1957         * WebKitPart/WebKitFactory.cpp: Added.
1958         (WebKitFactory::WebKitFactory):
1959         (WebKitFactory::~WebKitFactory):
1960         (WebKitFactory::createPartObject):
1961         (WebKitFactory::instance):
1962         (WebKitFactory::ref):
1963         (WebKitFactory::deref):
1964         (init_libWebKitPart):
1965         * WebKitPart/WebKitFactory.h: Added.
1966         * WebKitPart/WebKitPart.cpp: Added.
1967         (WebKitPart::WebKitPart):
1968         (WebKitPart::~WebKitPart):
1969         (WebKitPart::openFile):
1970         (WebKitPart::openUrl):
1971         (WebKitPart::closeUrl):
1972         (WebKitPart::parentPart):
1973         (WebKitPart::frame):
1974         (WebKitPart::initView):
1975         * WebKitPart/WebKitPart.desktop: Added.
1976         * WebKitPart/WebKitPart.h: Added.
1977         (WebKitPart::):
1978         * WebKitPart/WebKitPart.rc: Added.
1979         * WebKitPart/WebKitPartBrowser.rc: Added.
1980         * WebKitPart/WebKitPartClient.cpp: Added.
1981         (WebKitPartClient::WebKitPartClient):
1982         (WebKitPartClient::~WebKitPartClient):
1983         * WebKitPart/WebKitPartClient.h: Added.
1984         * WebKitPart/WebKitPartInterface.cpp: Added.
1985         (WebKitPartInterface::WebKitPartInterface):
1986         (WebKitPartInterface::~WebKitPartInterface):
1987         (WebKitPartInterface::url):
1988         (WebKitPartInterface::closeURL):
1989         * WebKitPart/WebKitPartInterface.h: Added.
1990         * WebKitPart/org.kde.WebKitPart.xml: Added.
1991