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