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