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