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