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