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