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