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