• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
12009-02-03  Mark Rowe  <mrowe@apple.com>
2
3        Merge r40508.
4
5    2009-02-02  Geoffrey Garen  <ggaren@apple.com>
6
7        Reviewed by Sam Weinig.
8
9        Track redirects in global history.
10
11        Keep Qt building.
12
13        * WebCoreSupport/FrameLoaderClientQt.cpp:
14        (WebCore::FrameLoaderClientQt::updateGlobalHistoryForRedirectWithoutHistoryItem):
15        (WebCore::FrameLoaderClientQt::createFrame):
16        * WebCoreSupport/FrameLoaderClientQt.h:
17
182009-02-03  Mark Rowe  <mrowe@apple.com>
19
20        Merge r40436.
21
22    2009-01-30  Geoffrey Garen  <ggaren@apple.com>
23
24        Build fix.
25
26        * WebCoreSupport/FrameLoaderClientQt.cpp:
27        (WebCore::FrameLoaderClientQt::createFrame):
28
292009-02-03  Mark Rowe  <mrowe@apple.com>
30
31        Merge r40432.
32
33    2009-01-30  Geoffrey Garen  <ggaren@apple.com>
34
35        Reviewed by Sam Weinig.
36
37        Split "lockHistory" into "lockHistory" and "lockBackForwardList" in
38        preparation for setting them differently during a redirect.
39
40        * Api/qwebpage.cpp:
41        (QWebPage::triggerAction):
42
432009-01-27  Brady Eidson  <beidson@apple.com>
44
45        Reviewed by Dan Bernstein
46
47        Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
48
49        * WebCoreSupport/FrameLoaderClientQt.cpp:
50        (WebCore::FrameLoaderClientQt::savePlatformDataToCachedFrame):
51        (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedFrame):
52        * WebCoreSupport/FrameLoaderClientQt.h:
53
542009-01-26  Simon Fraser  <simon.fraser@apple.com>
55
56        Reviewed by David Hyatt
57
58        Back out r40285, because it was checked in with no bug number, no
59        testcase, is rendering change that did not get thorough review,
60        and broke the Mac build.
61
62        * Api/qwebframe.cpp:
63        (QWebFrame::hitTestContent):
64
652009-01-26  Adam Treat  <adam.treat@torchmobile.com>
66
67        Reviewed by Nikolas Zimmermann.
68
69        Do not clip the QWebFrame::hitTestContent method to the visible viewport.
70
71        * Api/qwebframe.cpp:
72        (QWebFrame::hitTestContent):
73
742009-01-26  David Boddie  <dboddie@trolltech.com>
75
76        Reviewed by Simon Hausmann.
77
78        Doc: qdoc fix for a link to a property and added a basic description of the offline caching and storage features from HTML 5.
79
80        * Api/qwebpage.cpp:
81        * Api/qwebsettings.cpp:
82
832009-01-25  Urs Wolfer  <uwolfer@kde.org>
84
85        Reviewed by Simon Hausmann.
86
87        Add QWebPage::SelectAll to WebAction enum to select all content.
88
89        https://bugs.webkit.org/show_bug.cgi?id=22946
90
91        * Api/qwebpage.cpp:
92        (QWebPagePrivate::editorActionForKeyEvent):
93        * Api/qwebpage.h:
94
952009-01-25  David Boddie  <dboddie@trolltech.com>
96
97        Reviewed by Simon Hausmann.
98
99        Doc: Fixed the terminology used.
100
101        * Api/qwebpage.cpp:
102
1032009-01-25  Thiago Macieira  <thiago.macieira@nokia.com>
104
105        Reviewed by Simon Hausmann.
106
107        Rename links from trolltech.com to qtsoftware.com
108
109        * Api/qwebpluginfactory.cpp:
110
1112009-01-25  Tor Arne Vestbø  <tavestbo@trolltech.com>
112
113        Reviewed by Simon Hausmann.
114
115        Make QWebPage auto-test more robust by cleaning up generated files
116
117        Sometimes the auto-test may segfault, leaving behind files because the
118        call to cleanupTestCase() never happens, so we also clean up the files
119        at initTestCase() just to make sure we're running in a clean environment.
120
121        * tests/qwebpage/tst_qwebpage.cpp:
122        (tst_QWebPage::cleanupFiles):
123        (tst_QWebPage::initTestCase):
124        (tst_QWebPage::cleanupTestCase):
125
1262008-12-20  Urs Wolfer  <uwolfer@kde.org>
127
128        Reviewed by Simon Hausmann.
129
130        Fix: compile qwebhistory.h with pendantic comiler flag.
131
132        https://bugs.webkit.org/show_bug.cgi?id=22947
133
134        * Api/qwebhistory.h:
135
1362009-01-24  Adam Treat  <adam.treat@torchmobile.com>
137
138        Oops, fix the Qt build.
139
140        * Api/qwebframe.cpp:
141        (QWebFrame::render):
142
1432009-01-24  Adam Treat  <adam.treat@torchmobile.com>
144
145        Reviewed by Nikolas Zimmermann.
146
147        Add QWebFrame::renderContents() method which allows arbitary rendering
148        of any content region within the QWebFrame.  It also does not draw any
149        scrollbars.
150
151        * Api/qwebframe.cpp:
152        (QWebFrame::renderContents):
153        * Api/qwebframe.h:
154
1552009-01-23  Ariya Hidayat  <ariya.hidayat@trolltech.com>
156
157        Reviewed by Simon Hausmann.
158
159        Make the test more robust by taking into account the platform-specific
160        cursor flashing time.
161
162        * tests/qwebframe/tst_qwebframe.cpp:
163
1642009-01-20  Friedemann Kleint  <Friedemann.Kleint@nokia.com>
165
166        Reviewed by Simon Hausmann.
167
168        Fix spelling error in QWebPage
169
170        * Api/qwebpage.cpp:
171        (QWebPage::action):
172
1732009-01-19  Simon Hausmann  <simon.hausmann@nokia.com>
174
175        Reviewed by Tor Arne Vestbø.
176
177        Fix calling of onkeypress event handlers on input elements when pressing enter
178        and other text insertion commands in the Qt port.
179
180        Similar to the win and mac ports don't execute text inserting editor
181        commands on RawKeyDown but continue processing the event first in
182        WebCore, i.e. also get a keypress event sent. If unhandled it will
183        come back to EditorClientQt::handleKeyboardEvent later and we execute
184        it then.
185
186        This also fixes search by pressing enter on www.trafikanten.no.
187
188        * Api/qwebpage.cpp:
189        (QWebPagePrivate::editorCommandForWebActions): Make function
190        accessible from other files.
191        (QWebPage::triggerAction): Adjust to new function visibility.
192        * Api/qwebpage_p.h: Ditto.
193        * WebCoreSupport/EditorClientQt.cpp:
194        (WebCore::EditorClientQt::handleKeyboardEvent): Don't execute
195        text inserting commands on RawKeyPressDown.
196
1972009-01-16  Ariya Hidayat  <ariya.hidayat@trolltech.com>
198
199        Rubber-stamped by Simon Hausmann.
200
201        [Qt] Increase popup focus delay time to a sensible 500 ms.
202
203        * tests/qwebframe/tst_qwebframe.cpp:
204
2052009-01-16  Ariya Hidayat  <ariya.hidayat@trolltech.com>
206
207         Reviewed by Adam Roben.
208
209         [Qt] Prevent crash if plugin data is NULL.
210
211         * WebCoreSupport/FrameLoaderClientQt.cpp: NULL check.
212         (WebCore::FrameLoaderClientQt::objectContentType):
213
2142009-01-16  Ariya Hidayat  <ariya.hidayat@trolltech.com>
215
216        Rubber-stamped by Simon Hausmann.
217
218        [Qt] Per-line cursor movement tests depend on platform-specific font
219        metrics. Remove them to avoid test failures on different platforms.
220
221        * tests/qwebpage/tst_qwebpage.cpp:
222        (tst_QWebPage::cursorMovements):
223
2242009-01-16  Ariya Hidayat  <ariya.hidayat@trolltech.com>
225
226        Rubber-stamped by Simon Hausmann.
227
228        http://www.qtsoftware.com/developer/task-tracker/index_html?id=219344&method=entry
229
230        [Qt] API documentation for QWebPage::WebAction enum.
231
232        * Api/qwebpage.cpp:
233
2342009-01-16  Ariya Hidayat  <ariya.hidayat@trolltech.com>
235
236        Another attempt at fixing the Qt build.
237
238        * Api/qwebframe.cpp:
239        (QWebFrame::addToJavaScriptWindowObject):
240
2412009-01-14  Ariya Hidayat  <ariya.hidayat@trolltech.com>
242
243        Reviewed by Tor Arne Vestbø.
244
245        [Qt] Unit tests for text selection and editing actions of QWebPage.
246        The following are tested:
247            - the actions are not NULL
248            - the actions are disabled when contentEditable is false
249            - the actions are enabled when contentEditable is true
250
251        * tests/qwebpage/tst_qwebpage.cpp:
252        (tst_QWebPage::textSelection):
253        (tst_QWebPage::textEditing):
254
2552009-01-14  Simon Hausmann  <simon.hausmann@nokia.com>
256
257        Reviewed by Tor Arne Vestbø.
258
259        Fix failing assertion when pressing an extra mouse button on a
260        QWebView.
261
262        Mice with more than three buttons - for example with a dedicated
263        "back" button - can generate Qt::XButton1 or Button2.
264        WebCore::MouseButton contains only Left, Middle and Right, so in
265        Qt's PlatformMouseEvent we map to NoButton, resulting in a mouse
266        press or release even with no button set. That triggers an assertion
267        in EventTargetNode::dispatchMouseEvent requiring that either a button
268        is set or it is just a mouse move event, which is correct.
269
270        In QWebPage decide not to dispatch such mouse events where we cannot
271        map the mouse button to a WebCore::MouseButton.
272
273        * Api/qwebpage.cpp:
274        (QWebPagePrivate::mousePressEvent):
275        (QWebPagePrivate::mouseDoubleClickEvent):
276        (QWebPagePrivate::mouseTripleClickEvent):
277        (QWebPagePrivate::mouseReleaseEvent):
278
2792009-01-14  Ariya Hidayat  <ariya.hidayat@trolltech.com>
280
281        Reviewed by Simon Hausmann.
282
283        http://www.qtsoftware.com/developer/task-tracker/index_html?id=241144&method=entry
284
285        [Qt] Create actions for text selection and editing for QWebPage.
286        Also properly disable and enable them when contentEditable is toggled.
287
288        * Api/qwebpage.cpp:
289        (QWebPagePrivate::updateAction):
290        (QWebPagePrivate::updateEditorActions):
291        (QWebPage::action):
292
2932009-01-14  Ariya Hidayat  <ariya.hidayat@trolltech.com>
294
295        Reviewed by Simon Hausmann.
296
297        [Qt] Unit tests for cursor movements. The following are tested:
298            - the actions are not NULL
299            - the actions are disabled when contentEditable is false
300            - the actions are enabled when contentEditable is true
301            - the cursor moves properly when the actions are triggered
302
303        * tests/qwebpage/tst_qwebpage.cpp:
304        (CursorTrackedPage::CursorTrackedPage):
305        (CursorTrackedPage::selectedText):
306        (CursorTrackedPage::selectionStartOffset):
307        (CursorTrackedPage::selectionEndOffset):
308        (CursorTrackedPage::isSelectionCollapsed):
309        (tst_QWebPage::cursorMovements):
310
3112009-01-08  Yongjun Zhang  <yongjun.zhang@nokia.com>
312
313        Reviewed by Simon Hausmann.
314
315        https://bugs.webkit.org/show_bug.cgi?id=23187
316
317        Update webview with the intersected rect.
318
319        In ChromeClientQt::repaint, view should be updated with the
320        intersected rect, not the whole windowRect;
321
322        This generally is not a problem for normal viewport setup where
323        viewport size is the same as the qwebview widget size.  However, if we
324        set the viewport size smaller than qwebkit widget, we will see
325        unwanted painting outside the viewport.
326
327        * WebCoreSupport/ChromeClientQt.cpp:
328        (WebCore::ChromeClientQt::repaint):
329
3302009-01-13  Ariya Hidayat  <ariya.hidayat@trolltech.com>
331
332        Rubber-stamped by Tor Arne Vestbø.
333
334        [Qt] Missing piece from my previous commit:
335        Disable and enable the cursor navigation actions when contentEditable
336        is changed.
337
338        * Api/qwebpage.cpp:
339        (QWebPagePrivate::updateEditorActions):
340
3412009-01-13  Ariya Hidayat  <ariya.hidayat@trolltech.com>
342
343        Reviewed by Tor Arne Vestbø.
344
345        [Qt] Create actions for cursor navigation for QWebPage.
346        Also properly disable and enable them when contentEditable is toggled.
347
348        * Api/qwebpage.cpp:
349        (QWebPagePrivate::updateAction):
350        (QWebPage::action):
351
3522009-01-13  Simon Hausmann  <simon.hausmann@nokia.com>
353
354        Reviewed by Tor Arne Vestbø.
355
356        https://bugs.webkit.org/show_bug.cgi?id=23171
357
358        Based on patch by Yael Aharon  <yael.aharon@nokia.com>
359
360        Make the QWebSettings functions for setting the path for the local
361        storage database private QtWebkit API, including the ability to
362        associated a QWebPage with a named page group.
363
364        * Api/qwebpage.cpp:
365        (qt_webpage_setGroupName): Added.
366        (qt_webpage_groupName): Added.
367        * Api/qwebpage.h:
368        (ExtensionOption::handle): Added internal helper function.
369        * Api/qwebsettings.cpp:
370        (qt_websettings_setLocalStorageDatabasePath): Made private API.
371        (qt_websettings_localStorageDatabasePath): Made private API.
372        * Api/qwebsettings.h:
373        * tests/qwebpage/tst_qwebpage.cpp:
374        (tst_QWebPage::database): Small cleanup.
375        (tst_QWebPage::multiplePageGroupsAndLocalStorage): New test for the
376        page group handling, written by Yael.
377
3782009-01-12  Tor Arne Vestbø  <tavestbo@trolltech.com>
379
380        Reviewed by Simon Hausmann.
381
382        [Qt] Ensure that we're always notified of navigation actions for local anchors
383
384        FrameLoader::checkNavigationPolicy() does not notify us if the request has
385        been checked before (which happens for local anchors), but in the case of
386        our clients not accepting the navigation request we do want to be notified
387        again later on, so we clear the lastCheckedRequest flag.
388
389        * WebCoreSupport/FrameLoaderClientQt.cpp:
390        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
391        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
392
3932009-01-12  Ariya Hidayat  <ariya.hidayat@trolltech.com>
394
395        Rubber-stamped by Tor Arne Vestbø.
396
397        Build fix: use qobject_cast which does not rely on RTTI. This fixes the
398        unit test when building it with a version of Qt (e.g. Qt/Embedded)
399        configured without RTTI.
400
401        * tests/qwebframe/tst_qwebframe.cpp:
402
4032009-01-12  Simon Hausmann  <simon.hausmann@nokia.com>
404
405        Rubber-stamped by Tor Arne Vestbø.
406
407        When the QWebView is disabled context menus implemented in JavaScript should not pop up.
408
409        Just like in QWidget::event() we have to check for the disabled state and
410        ignore context menu events.
411
412        * Api/qwebview.cpp:
413
4142009-01-12  Simon Hausmann  <simon.hausmann@nokia.com
415
416        Reviewed by Tor Arne Vestbø.
417
418        Fix QWebView appearance when showed uninitialized without page.
419
420        Only set WA_OpaquePaintEvent if we have a page set that will actually
421        paint the entire contents, otherwise the optimization does not apply
422        as we do not have a paintEvent() implementation and Qt has to fill the
423        view with its default background instead.
424
425        * Api/qwebview.cpp:
426        (QWebView::QWebView):
427        (QWebView::setPage):
428
4292009-01-11  Ariya Hidayat  <ariya.hidayat@trolltech.com>
430
431        Rubber-stamped by Tor Arne Vestbø.
432
433        Do not create a QVariant from QObject* directly, use the
434        template-specialized function.
435
436        * tests/qwebframe/tst_qwebframe.cpp:
437        (MyQObject::myOverloadedSlot):
438
4392009-01-09  Simon Hausmann  <simon.hausmann@nokia.com>
440
441        Rubber-stamped by Tor Arne Vestbø.
442
443        Documentation fixes, remove duplicated docs, document missing
444        parameters and return values.
445
446        * Api/qwebdatabase.cpp:
447        * Api/qwebpage.cpp:
448
4492009-01-09  Simon Hausmann  <simon.hausmann@nokia.com>
450
451        Reviewed by Tor Arne Vestbø.
452
453        Fix linking against QtWebKit on Windows, by defining the EXPORT macros
454        _exactly_ the same way as in qglobal.h, depending on QT_NODLL,
455        QT_MAKEDLL and QT_SHARED.
456
457        * Api/qwebkitglobal.h:
458
4592009-01-09  Simon Hausmann  <simon.hausmann@nokia.com>
460
461        Reviewed by Tor Arne Vestbø.
462
463        Remove qwebnetworkinterface.h from WEBKIT_API_HEADERS as it's not
464        public Qt 4.4/4.5 API.
465
466        * Api/headers.pri:
467
4682009-01-09  Simon Hausmann  <simon.hausmann@nokia.com>
469
470        Unreviewed Qt build fix, remove qcookiejar.h from the API headers and
471        therefore HEADERS. It's not part of the API and it moc shouldn't be
472        called on it.
473
474        * Api/headers.pri:
475
4762009-01-09  Simon Hausmann  <simon.hausmann@nokia.com>
477
478        Rubber-stamped by Tor Arne Vestbø.
479
480        Remove files not present anymore from the WEBKIT_API_HEADERS variable.
481
482        * Api/headers.pri:
483
4842009-01-08  Adam Treat  <adam.treat@torchmobile.com>
485
486        Reviewed by Simon Hausmann.
487
488        Don't set the minimumFontSize and minimumLogicalFontSize as these are
489        just for accessibility and should be left up to the client application.
490
491        * Api/qwebsettings.cpp:
492        (QWebSettings::QWebSettings):
493
4942009-01-08  Kavindra Palaraja  <kdpalara@trolltech.com>
495
496        Reviewed by Simon Hausmann.
497
498        Small fixes to the API documentation, missing 4.5 tags and
499        undocumented parameters.
500
501        * Api/qwebhistory.cpp:
502        * Api/qwebpage.cpp:
503        * Api/qwebsettings.cpp:
504
5052009-01-07  Adam Treat  <adam.treat@torchmobile.com>
506
507        Reviewed by George Staikos.
508
509        Add Qt API to QWebHitTestResult::isScrollBar method
510
511        * Api/qwebframe.cpp:
512        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
513        (QWebHitTestResult::isScrollBar):
514        * Api/qwebframe.h:
515        * Api/qwebframe_p.h:
516        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
517
5182009-01-07  Adam Treat  <adam.treat@torchmobile.com>
519
520        Reviewed by George Staikos.
521
522        Add Qt API for QWebFrame::scrollBarGeometry method
523
524        * Api/qwebframe.cpp:
525        (QWebFrame::scrollBarGeometry):
526        * Api/qwebframe.h:
527
5282009-01-07  Adam Treat  <adam.treat@torchmobile.com>
529
530        Reviewed by George Staikos.
531
532        Fix unused variable warnings
533
534        * tests/qwebpage/tst_qwebpage.cpp:
535        (TestPage::createWindow):
536
5372009-01-07  Ariya Hidayat  <ariya.hidayat@trolltech.com>
538
539        Rubber-stamped by Simon Hausmann.
540
541        Qt build fix after r39670.
542
543        * Api/qwebframe.cpp:
544        (QWebFrame::evaluateJavaScript):
545
5462009-01-06  Ariya Hidayat  <ariya.hidayat@trolltech.com>
547
548        Reviewed by Holger Freyther.
549
550        Allow building QtWebKit statically (within Qt).
551
552        http://trolltech.com/developer/task-tracker/index_html?id=211273&method=entry
553
554        * Api/qwebkitglobal.h:
555
5562009-01-06  Adam Treat  <adam.treat@torchmobile.com>
557
558        Reviewed by Simon Hausmann.
559
560        Update the documentation to reflect when these API changes will land in
561        upstream Qt
562
563        * Api/qwebframe.cpp:
564        * Api/qwebpage.cpp:
565
5662009-01-05  Adam Treat  <adam.treat@torchmobile.com>
567
568        Reviewed by George Staikos.
569
570        Add Qt API for QWebFrame::contentsSizeChanged signal
571
572        * Api/qwebframe.cpp:
573        * Api/qwebframe.h:
574        * WebCoreSupport/ChromeClientQt.cpp:
575        (WebCore::ChromeClientQt::contentsSizeChanged):
576        * WebCoreSupport/ChromeClientQt.h:
577
5782009-01-05  Adam Treat  <adam.treat@torchmobile.com>
579
580        Reviewed by George Staikos.
581
582        Fixes QWebFrame::setScrollBarPolicy(..) to actually work.  Also happens
583        to fix 192 layout tests that were previously failing for Qt.
584
585        * Api/qwebframe.cpp:
586        (QWebFrame::setScrollBarPolicy):
587        * WebCoreSupport/FrameLoaderClientQt.cpp:
588        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
589
5902009-01-04  Adam Treat  <adam.treat@torchmobile.com>
591
592        Reviewed by George Staikos.
593
594        Add new API to QWebHitTestResult to return a rect for the smallest enclosing
595        block element of the hit test
596
597        * Api/qwebframe.cpp:
598        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
599        (QWebHitTestResult::enclosingBlock):
600        * Api/qwebframe.h:
601        * Api/qwebframe_p.h:
602
6032008-12-30  Adam Treat  <adam.treat@torchmobile.com>
604
605        Reviewed by George Staikos.
606
607        Make the qt port build and work with the new fixedLayoutSize feature
608
609        * Api/qwebpage.cpp:
610        (QWebPagePrivate::QWebPagePrivate):
611        (QWebPage::fixedLayoutSize):
612        (QWebPage::setFixedLayoutSize):
613        (QWebPage::useFixedLayout):
614        (QWebPage::setUseFixedLayout):
615        * Api/qwebpage.h:
616        * Api/qwebpage_p.h:
617        * WebCoreSupport/FrameLoaderClientQt.cpp:
618        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
619
6202008-12-19  Jade Han <jade.han@nokia.com>
621
622        Reviewed by Tor Arne Vestbø.
623
624        [Qt] Allow conversion of JavaScript Number and Boolean types to Qt types
625
626        https://bugs.webkit.org/show_bug.cgi?id=22880
627
628        * tests/qwebframe/tst_qwebframe.cpp:
629        (MyQObject::myInvokableWithBoolArg):
630
6312008-12-18  Yael Aharon  <yael.aharon@nokia.com>
632
633        Reviewed by Tor Arne Vestbø.
634
635        When Web Inspector is launched without an associated node,
636        call show() instead of inspect().
637
638        * Api/qwebpage.cpp:
639        (QWebPage::triggerAction):
640
6412008-12-18  Dan Bernstein  <mitz@apple.com>
642
643        Reviewed by Sam Weinig.
644
645        - stub out FrameLoaderClient::shouldUseCredentialStorage().
646
647        * WebCoreSupport/FrameLoaderClientQt.cpp:
648        (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
649        * WebCoreSupport/FrameLoaderClientQt.h:
650
6512008-12-18  Sam Weinig  <sam@webkit.org>
652
653        Reviewed by John Sullivan.
654
655        Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
656
657        * WebCoreSupport/FrameLoaderClientQt.cpp:
658        (WebCore::FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout):
659        * WebCoreSupport/FrameLoaderClientQt.h:
660
6612008-12-16  Simon Hausmann  <hausmann@webkit.org>
662
663        Reviewed by Holger Freyther.
664
665        Added support for unload event counting to the Qt DRT.
666
667        * Api/qwebpage.cpp:
668        (qt_drt_run): Moved function here.
669        * Api/qwebpage_p.h: Moved drt run boolean here.
670        * WebCoreSupport/EditorClientQt.cpp: Moved drt run boolean.
671        (WebCore::EditorClientQt::shouldShowDeleteInterface): Use the new drt
672        run variable.
673        * WebCoreSupport/FrameLoaderClientQt.cpp:
674        (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): Add DRT
675        output for unload event handler counting.
676
6772008-12-15  Holger Hans Peter Freyther  <zecke@selfish.org>
678
679        Reviewed by Simon Hausmann.
680
681        Change the order of sub frame initialisation to avoid crashes
682
683        Add the newly created frame to the FrameTree before calling
684        WebCore::Frame::init to not segfault on
685        LayoutTests/fast/loader/frame-creation-removal.html.
686
687        * Api/qwebframe.cpp:
688        (QWebFramePrivate::init):
689        * WebCoreSupport/FrameLoaderClientQt.cpp:
690        (WebCore::FrameLoaderClientQt::createFrame):
691
6922008-12-15  Simon Hausmann  <hausmann@webkit.org>
693
694        Reviewed by Holger Freyther.
695
696        Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
697
698        * Api/qwebframe.cpp:
699        (qt_drt_setJavaScriptProfilingEnabled):
700
7012008-12-12  Simon Hausmann  <hausmann@webkit.org>
702
703        Reviewed by Tor Arne Vestbø.
704
705        Fix pressing return/enter not triggering any action on web sites
706        that define event handlers, such as the JS console in the web
707        inspector.
708
709        Process the key events in the DOM first and if not handled map them
710        to editor actions.
711
712        * Api/qwebpage.cpp:
713        (QWebPagePrivate::editorActionForKeyEvent): Made a class method.
714        (QWebPagePrivate::keyPressEvent): Pass the key event first to the DOM.
715        * WebCoreSupport/EditorClientQt.cpp:
716        (WebCore::EditorClientQt::handleKeyboardEvent): Map the key event to
717        actions and trigger them.
718
7192008-12-12  Ariya Hidayat  <ariya.hidayat@trolltech.com>
720
721        Reviewed by Simon Hausmann.
722
723        Create the plugin widget even though the web page has no associated
724        view. This prevents the plugin to be uselessly constructed more than once.
725
726        * WebCoreSupport/FrameLoaderClientQt.cpp:
727        (WebCore::FrameLoaderClientQt::createPlugin):
728        * tests/qwebpage/tst_qwebpage.cpp:
729        (tst_QWebPage::createViewlessPlugin):
730
7312008-12-11  Enrico Ros  <enrico.ros@m31.com>
732
733        Reviewed by Simon Hausmann.
734
735        Fix the broken focus behavior that happened when QWebPage lost
736        focus to a popup menu.
737
738        The previous code didn't notify the QWebPage at all when the
739        focus was back in (breaking focus rects, caret blinking, ...).
740        By the way when a popup is show, 2 FocusOut events are delivered
741        to the QWebPage, but this doesn't seem to hurt.
742
743        Added a test to check popup opening, closing a lineedit blinks.
744
745        * Api/qwebpage.cpp:
746        (QWebPagePrivate::focusInEvent):
747        (QWebPagePrivate::focusOutEvent):
748        * tests/qwebframe/tst_qwebframe.cpp:
749        (tst_QWebFrame::):
750
7512008-12-11  Ariya Hidayat  <ariya.hidayat@trolltech.com>
752
753        Reviewed by Tor Arne Vestbø.
754
755        When the web page is navigated away, delete the instance
756        of the native plugin.
757
758        http://trolltech.com/developer/task-tracker/index_html?id=214946&method=entry
759
760        * WebCoreSupport/FrameLoaderClientQt.cpp:
761        (WebCore::):
762        * tests/qwebpage/tst_qwebpage.cpp:
763        (PluginTrackedPage::PluginTrackedPage):
764        (PluginTrackedPage::createPlugin):
765        (tst_QWebPage::destroyPlugin):
766
7672008-12-11  Yael Aharon  <yael.aharon@nokia.com>
768
769        Reviewed by Simon Hausmann.
770
771        Allow applications to save and restore their state between loads.
772
773        * Api/qwebframe.cpp:
774        * Api/qwebframe.h:
775        * WebCoreSupport/FrameLoaderClientQt.cpp:
776        (WebCore::FrameLoaderClientQt::restoreViewState):
777        (WebCore::FrameLoaderClientQt::saveViewStateToItem):
778        * tests/qwebpage/tst_qwebpage.cpp:
779        (tst_QWebPage::modified):
780
7812008-12-08  Tor Arne Vestbø  <tavestbo@trolltech.com>
782
783        Reviewed by Darin Adler and Holger Freyther.
784
785        Make Widget::frameRectsChanged() and overrides non-const
786
787        This will hopefully allow us to get rid of some of the mutables in
788        the classes that react to the callback by changing their own state.
789
790        * WebCoreSupport/FrameLoaderClientQt.cpp:
791        (WebCore::):
792
7932008-12-10  Holger Hans Peter Freyther  <zecke@selfish.org>
794
795        Reviewed by Simon Hausmann.
796
797        API changes discussed with Simon Hausmann, Tor Arne
798        Vestbø, Ariya Hidayat...
799
800        * Api/qwebdatabase.cpp:
801        (QWebDatabase::fileName):
802        (QWebDatabase::removeDatabase):
803        * Api/qwebdatabase.h:
804        * Api/qwebframe.cpp:
805        (QWebFrame::scroll):
806        (QWebFrame::scrollPosition):
807        (QWebFrame::setScrollPosition):
808        * Api/qwebframe.h:
809        * Api/qwebpage.cpp:
810        (QWebPage::setContentEditable):
811        (QWebPage::isContentEditable):
812        (QWebPage::extension):
813        * Api/qwebpage.h:
814        * Api/qwebsecurityorigin.cpp:
815        * Api/qwebsettings.cpp:
816        (QWebSettingsPrivate::apply):
817        (QWebSettings::QWebSettings):
818        * Api/qwebsettings.h:
819        * QtLauncher/main.cpp:
820        (MainWindow::setEditable):
821        * WebCoreSupport/ChromeClientQt.cpp:
822        (WebCore::ChromeClientQt::exceededDatabaseQuota):
823        (WebCore::ChromeClientQt::runOpenPanel):
824        * WebCoreSupport/EditorClientQt.cpp:
825        (WebCore::EditorClientQt::isEditable):
826        * tests/qwebpage/tst_qwebpage.cpp:
827        (tst_QWebPage::database):
828
8292008-12-09  Balazs Kelemen  <Kelemen.Balazs.3@stud.u-szeged.hu>
830
831        Reviewed by Simon Hausmann.
832
833        Extended QtLauncher so now it can load pages from an url list
834        one by one. This can be useful for testing purposes (eq. leak hunting).
835        The -r option activates this feature.
836
837        https://bugs.webkit.org/show_bug.cgi?id=20932
838
839        * QtLauncher/main.cpp:
840        (MainWindow::webPage):
841        Just a coding style repairing (* written with no space between the return type name)
842        (MainWindow::webView):
843        I need the webView to connect it with the URLLoader object.
844        (URLLoader::URLLoader):
845        (URLLoader::loadNext):
846        (URLLoader::init):
847        (URLLoader::getUrl):
848        (main):
849
8502008-12-10  Simon Hausmann  <hausmann@webkit.org>
851
852        Fix the Qt build, added const to Node* parameter after change
853        in signature.
854
855        * WebCoreSupport/ChromeClientQt.h:
856        (WebCore::ChromeClientQt::formStateDidChange):
857
8582008-12-09  Brett Wilson  <brettw@chromium.org>
859
860        Reviewed by Dave Hyatt.
861
862        https://bugs.webkit.org/show_bug.cgi?id=22177
863
864        Add a callback on ChromeClient that the state of form elements on
865        the page has changed. This is to allow clients implementing session
866        saving to know when the current state is dirty.
867
868        * WebCoreSupport/ChromeClientQt.h:
869        (WebCore::ChromeClientQt::formStateDidChange):
870
8712008-12-09  Ariya Hidayat  <ariya.hidayat@trolltech.com>
872
873        Reviewed by Simon Hausmann.
874
875        Fix the documentation of the localStorageDatabasePath setters/getters.
876
877        * Api/qwebsettings.cpp:
878
8792008-12-08  Ariya Hidayat  <ariya.hidayat@trolltech.com>
880
881        Reviewed by Simon Hausmann.
882
883        Multiple files support for the file chooser.
884
885        * Api/qwebpage.cpp:
886        (QWebPage::chooseFiles):
887        * Api/qwebpage.h:
888        * WebCoreSupport/ChromeClientQt.cpp:
889        (WebCore::ChromeClientQt::runOpenPanel):
890
8912008-12-06  Simon Fraser  <simon.fraser@apple.com>
892
893        Reviewed by Dave Hyatt
894
895        https://bugs.webkit.org/show_bug.cgi?id=15671
896
897        Renderer::caretRect() is now localCaretRect(), which needs
898        converting to absolute coordinates (taking transforms into account).
899
900        * Api/qwebpage.cpp:
901        (QWebPage::inputMethodQuery):
902
9032008-12-03  Tor Arne Vestbø  <tavestbo@trolltech.com>
904
905        Reviewed by Simon Hausmann.
906
907        Allow passing jsNull and jsUndefined to Qt plugins
908
909        Currently limited to functions with QString and QVariant arguments,
910        and properties of these types. Both jsNull and jsUndefined ends up
911        as default-constructed QStrings and QVariants, which means you can
912        check for isEmpty() and isValid() in the native plugin code.
913
914        Based on patches by Jade Han <jade.han@nokia.com>
915
916        * tests/qwebframe/tst_qwebframe.cpp:
917
9182008-12-02  Simon Hausmann  <hausmann@webkit.org>
919
920        Rubber-stamped by Tor Arne Vestbø.
921
922        Initial API documentation for QWebDatabase, QWebSecurityOrigin and
923        QWebFrame::securityOrigin().
924
925        * Api/qwebdatabase.cpp:
926        * Api/qwebframe.cpp:
927        * Api/qwebsecurityorigin.cpp:
928
9292008-11-27  Kent Hansen  <khansen@trolltech.com>
930
931        Reviewed by Simon Hausmann.
932
933        Added auto tests for making JavaScript bindings for Qt plugin widgets
934        work again.
935
936        * tests/qwebpage/tst_qwebpage.cpp:
937        (PluginPage::PluginPage):
938        (PluginPage::CallInfo::CallInfo):
939        (PluginPage::createPlugin):
940        (tst_QWebPage::createPlugin):
941
9422008-11-25  Holger Hans Peter Freyther  <zecke@selfish.org>
943
944        Build fix. Use WebCore::Frame::loader instead of QWebFrame
945
946        * WebCoreSupport/FrameLoaderClientQt.cpp:
947        (WebCore::FrameLoaderClientQt::updateGlobalHistory):
948
9492008-11-24  Darin Fisher  <darin@chromium.org>
950
951        Fix bustage.
952
953        http://bugs.webkit.org/show_bug.cgi?id=15643
954
955        * WebCoreSupport/EditorClientQt.cpp:
956        (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
957        * WebCoreSupport/EditorClientQt.h:
958
9592008-11-24  Darin Adler  <darin@apple.com>
960
961        Reviewed by Dan Bernstein.
962
963        - https://bugs.webkit.org/show_bug.cgi?id=22470
964          remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
965
966        * WebCoreSupport/FrameLoaderClientQt.cpp:
967        (WebCore::FrameLoaderClientQt::updateGlobalHistory): Get the URL from the
968        DocumentLoader.
969        * WebCoreSupport/FrameLoaderClientQt.h: Remove argument.
970
9712008-11-24  Darin Fisher  <darin@chromium.org>
972
973        Fix bustage.
974
975        https://bugs.webkit.org/show_bug.cgi?id=22448
976
977        * Api/qwebframe.cpp:
978        (QWebFrame::evaluateJavaScript):
979
9802008-11-20  Sam Weinig  <sam@webkit.org>
981
982        Fix Qt build.
983
984        * Api/qwebframe.cpp:
985        (QWebFrame::evaluateJavaScript):
986
9872008-11-19  Darin Fisher  <darin@chromium.org>
988
989        Fix bustage.
990
991        https://bugs.webkit.org/show_bug.cgi?id=22373
992        Ports busted by addition of ScriptValue.{h,cpp}
993
994        * Api/qwebframe.cpp:
995        (QWebFrame::evaluateJavaScript):
996
9972008-11-19  Darin Fisher  <darin@chromium.org>
998
999        Fix bustage.
1000
1001        https://bugs.webkit.org/show_bug.cgi?id=22373
1002        Ports busted by addition of ScriptValue.{h,cpp}
1003
1004        * Api/qwebframe.cpp:
1005
10062008-11-19  Simon Hausmann  <hausmann@webkit.org>
1007
1008        Fix the Qt build, remove file referenced in the qrc file that does not
1009        exist and is not needed.
1010
1011        * tests/qwebframe/qwebframe.qrc:
1012
10132008-11-18  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1014
1015        Rubber-stamped by Tor Arne Vestbø.
1016
1017        Missing file in new unit test for QWebFrame (r38493).
1018
1019        * tests/qwebframe/qwebframe.pro:
1020        * tests/qwebframe/qwebframe.qrc: Added.
1021
10222008-11-18  Tor Arne Vestbø  <tavestbo@trolltech.com>
1023
1024        Rubber-stamped by Simon Hausmann.
1025
1026        Make sure QWidget based plugins are invisible until placed into the layout
1027
1028        * WebCoreSupport/FrameLoaderClientQt.cpp:
1029        (WebCore::FrameLoaderClientQt::createPlugin):
1030
10312008-11-18  Tor Arne Vestbø  <tavestbo@trolltech.com>
1032
1033        Reviewed by Simon Hausmann.
1034
1035        React properly to frame rect changes for QWidget based plugins
1036
1037        We now set the geometry of the QWidget in frameRectsChanged,
1038        intead of setFrameRect, which means we pick up the changes to
1039        the frame rect when scrolling. We also set a mask on the
1040        widget to keep it from painting over scrollbars and the like
1041
1042        * WebCoreSupport/FrameLoaderClientQt.cpp:
1043        (WebCore::):
1044
10452008-11-18  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1046
1047        Reviewed by Tor Arne Vestbø.
1048
1049        Fix crash when trying to pick a file using the file chooser.
1050
1051        * WebCoreSupport/ChromeClientQt.cpp:
1052        (WebCore::ChromeClientQt::runOpenPanel):
1053
10542008-11-18  Holger Hans Peter Freyther  <zecke@selfish.org>
1055
1056        Reviewed by Simon Hausmann.
1057
1058        Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
1059
1060        After Hyatt's work on Widget and ScrollView there is little difference
1061        between the implementation of Qt, Gtk+ and Win. In fact any kind of
1062        difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
1063        port and the Qt port has at least one of them left.
1064
1065        The only difference between the implementations is in getting the the
1066        IntSize for the new FrameView, the background color to be applied and
1067        eventually some post processing.
1068
1069        Unify the implementations by providing a static helper function that
1070        takes a Frame, IntSize, color and transparency bit and calling it from
1071        the Gtk+, the Qt and the Windows port.
1072
1073        * Api/qwebframe.cpp:
1074        * Api/qwebframe_p.h:
1075        * Api/qwebpage.cpp:
1076        (QWebPage::setPalette):
1077        * WebCoreSupport/FrameLoaderClientQt.cpp:
1078        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1079
10802008-11-17  Geoffrey Garen  <ggaren@apple.com>
1081
1082        Not reviewed.
1083
1084        Try to fix qt build.
1085
1086        * Api/qwebframe.cpp:
1087
10882008-11-17  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1089
1090        Reviewed by Tor Arne Vestbø and Simon Hausmann.
1091
1092        Fix regression when loading resources from Qt resource system using qrc:/.
1093
1094        Added a unit test to catch future regression.
1095
1096        * Api/qwebpage.cpp:
1097        (QWebPagePrivate::QWebPagePrivate):
1098        * tests/qwebframe/image.png: Added.
1099        * tests/qwebframe/tst_qwebframe.cpp:
1100
11012008-11-16  Darin Adler  <darin@apple.com>
1102
1103        - try to fix build
1104
1105        * Api/qwebhistory.cpp: Added include of "KURL.h".
1106
11072008-10-24  Yael Aharon <yael.aharon@nokia.com>
1108
1109        Reviewed by Simon Hausmann.
1110
1111        Added some basic unit tests for the public database API.
1112
1113        * tests/qwebpage/tst_qwebpage.cpp:
1114        (tst_QWebPage::initTestCase):
1115        (tst_QWebPage::cleanupTestCase):
1116        (tst_QWebPage::database):
1117
11182008-11-14  Simon Hausmann  <hausmann@webkit.org>
1119
1120        Fix the Qt build, add missing export macros for the new classes.
1121
1122        * Api/qwebdatabase.h:
1123        * Api/qwebsecurityorigin.h:
1124
11252008-10-24  Yael Aharon <yael.aharon@nokia.com>
1126
1127        Reviewed by Simon Hausmann.
1128
1129        Adding public API to provide access to the security origin
1130        (QWebSecurityOrigin) and the databases used for the offline
1131        storage (QWebDatabase).
1132
1133        In addition QWebSettings gains configuration functions for
1134        enabling/disabling offline storage, web application cache
1135        and DOM local storage.
1136
1137        This commits lands the core feature(s), the unit tests and the
1138        documentation are going to follow in the comming days/weeks.
1139
1140        Note: The API is not frozen yet.
1141
1142        * Api/headers.pri:
1143        * Api/qwebdatabase.cpp: Added.
1144        (QWebDatabase::QWebDatabase):
1145        (QWebDatabase::operator=):
1146        (QWebDatabase::name):
1147        (QWebDatabase::displayName):
1148        (QWebDatabase::expectedSize):
1149        (QWebDatabase::size):
1150        (QWebDatabase::absoluteFilePath):
1151        (QWebDatabase::origin):
1152        (QWebDatabase::remove):
1153        (QWebDatabase::~QWebDatabase):
1154        * Api/qwebdatabase.h: Added.
1155        * Api/qwebdatabase_p.h: Added.
1156        * Api/qwebframe.cpp:
1157        (QWebFrame::securityOrigin):
1158        * Api/qwebframe.h:
1159        * Api/qwebpage.cpp:
1160        * Api/qwebpage.h:
1161        * Api/qwebsecurityorigin.cpp: Added.
1162        (QWebSecurityOrigin::QWebSecurityOrigin):
1163        (QWebSecurityOrigin::operator=):
1164        (QWebSecurityOrigin::scheme):
1165        (QWebSecurityOrigin::host):
1166        (QWebSecurityOrigin::port):
1167        (QWebSecurityOrigin::databaseUsage):
1168        (QWebSecurityOrigin::databaseQuota):
1169        (QWebSecurityOrigin::setDatabaseQuota):
1170        (QWebSecurityOrigin::~QWebSecurityOrigin):
1171        (QWebSecurityOrigin::allOrigins):
1172        (QWebSecurityOrigin::databases):
1173        * Api/qwebsecurityorigin.h: Added.
1174        * Api/qwebsecurityorigin_p.h: Added.
1175        (QWebSecurityOriginPrivate::QWebSecurityOriginPrivate):
1176        (QWebSecurityOriginPrivate::~QWebSecurityOriginPrivate):
1177        * Api/qwebsettings.cpp:
1178        (QWebSettingsPrivate::apply):
1179        (QWebSettings::QWebSettings):
1180        (QWebSettings::setOfflineStoragePath):
1181        (QWebSettings::offlineStoragePath):
1182        (QWebSettings::setOfflineStorageDefaultQuota):
1183        (QWebSettings::offlineStorageDefaultQuota):
1184        (QWebSettings::setOfflineWebApplicationCachePath):
1185        (QWebSettings::offlineWebApplicationCachePath):
1186        (QWebSettings::setLocalStorageDatabasePath):
1187        (QWebSettings::localStorageDatabasePath):
1188        * Api/qwebsettings.h:
1189        * WebCoreSupport/ChromeClientQt.cpp:
1190        (WebCore::ChromeClientQt::exceededDatabaseQuota):
1191
11922008-11-12  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1193
1194        Rubber-stamped by Tor Arne Vestbø.
1195
1196        Mention the color role change (r38331) in the API doc.
1197
1198        * Api/qwebpage.cpp:
1199
12002008-11-11  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1201
1202        Reviewed by Tor Arne Vestbø and Simon Hausmann.
1203
1204        Use QPalette::Base (instead of QPalette::Background) for the page
1205        background.
1206
1207        * Api/qwebframe.cpp:
1208        (QWebFramePrivate::updateBackground):
1209        * Api/qwebview.cpp:
1210        (QWebView::QWebView):
1211
12122008-11-11  Cameron Zwarich  <zwarich@apple.com>
1213
1214        Reviewed by Geoff Garen.
1215
1216        Remove pointless dependencies on the now-deleted kjs directory.
1217
1218        * WebKit_pch.h:
1219
12202008-11-10  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1221
1222        Rubber-stamped by Simon Hausmann.
1223
1224        To fit Qt API, scroll offset is a QPoint instead of a QSize.
1225
1226        * Api/qwebframe.cpp:
1227        (QWebFrame::scrollOffset):
1228        (QWebFrame::setScrollOffset):
1229        * Api/qwebframe.h:
1230
12312008-11-10  David Boddie  <dboddie@trolltech.com>
1232
1233        Reviewed by Simon Hausmann.
1234
1235        Doc: Fixed qdoc warnings by supplying function documentation.
1236
1237        * Api/qwebframe.cpp:
1238        * Api/qwebview.cpp:
1239
12402008-11-10  Tobias Koenig <tobias.koenig@trolltech.com>
1241
1242        Reviewed by Simon Hausmann.
1243
1244        Removed old and stale prf file that breaks the MingW build.
1245
1246        * Api/qtwebkit.prf: Removed.
1247
12482008-11-10  Kavindra Palaraja  <kdpalara@trolltech.com>
1249
1250        Reviewed by Simon Hausmann.
1251
1252        Clarify QWebFrame/View::setHTML docs with regards to relative URLs
1253
1254        * Api/qwebframe.cpp:
1255        * Api/qwebview.cpp:
1256
12572008-11-10  Joerg Bornemann  <joerg.bornemann@nokia.com>
1258
1259        Reviewed by Simon Hausmann
1260
1261        Don't define _CRT_RAND_S on Windows CE in the precompiled
1262        header, to fix the CE build.
1263
1264        * WebKit_pch.h:
1265
12662008-11-07  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1267
1268        Reviewed by Tor Arne Vestbø and Simon Hausmann.
1269
1270        Added an option to allow printing the background color and images.
1271        Mostly reworked from a patch by Holger.
1272        This setting is enabled by default.
1273
1274        * Api/qwebsettings.cpp:
1275        (QWebSettingsPrivate::apply):
1276        (QWebSettings::QWebSettings):
1277        * Api/qwebsettings.h:
1278
12792008-11-06  Simon Hausmann  <hausmann@webkit.org>
1280
1281        Reviewed by Tor Arne Vestbø.
1282
1283        Added a unit tests for QWebFrame::metaData().
1284
1285        * tests/qwebframe/tst_qwebframe.cpp:
1286
12872008-11-06  Simon Hausmann  <hausmann@webkit.org>
1288
1289        Reviewed by Tor Arne Vestbø.
1290
1291        Improved documentation for QWebFrame::metaData().
1292
1293        * Api/qwebframe.cpp:
1294
12952008-11-05  Sriram Yadavalli <sriram.yadavalli@nokia.com>
1296
1297        Reviewed by Simon Hausmann.
1298
1299        Added QWebFrame::metaData() to provide a way in the public API
1300        to retrieve the values of the <meta> tags.
1301
1302        See https://bugs.webkit.org/show_bug.cgi?id=22071
1303
1304        * Api/qwebframe.cpp:
1305        (QWebFrame::metaData):
1306        * Api/qwebframe.h:
1307
13082008-10-24  Yael Aharon <yael.aharon@nokia.com>
1309
1310        Reviewed by Simon Hausmann.
1311
1312        Add userData() and setUserData() to QWebHistoryItem.
1313        Add setMaximumItemCount() and maximumItemCount() to QWebHistory.
1314        Add currentItemIndex() to QWebHistory.
1315
1316        See also https://bugs.webkit.org/show_bug.cgi?id=21864
1317
1318        Small cleanup by Simon (docs and forward declaration of QWebHistoryItem in qwebframe.h)
1319
1320        * Api/qwebframe.h:
1321        * Api/qwebhistory.cpp:
1322        (QWebHistoryItem::userData):
1323        (QWebHistoryItem::setUserData):
1324        (QWebHistory::currentItemIndex):
1325        (QWebHistory::maximumItemCount):
1326        (QWebHistory::setMaximumItemCount):
1327        * Api/qwebhistory.h:
1328        * WebCoreSupport/FrameLoaderClientQt.cpp:
1329        (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1330        * tests/qwebpage/tst_qwebpage.cpp:
1331        (tst_QWebPage::modified):
1332
13332008-11-03  Cameron Zwarich  <zwarich@apple.com>
1334
1335        Rubber-stamped by Maciej Stachowiak.
1336
1337        Move more files into the runtime subdirectory of JavaScriptCore.
1338
1339        * Api/qwebpage.cpp:
1340
13412008-10-25  Jade Han  <jade.han@nokia.com>
1342
1343        Reviewed by Anders.
1344
1345        Enable custom properties for Qt runtime objects in QtWebKit
1346
1347        https://bugs.webkit.org/show_bug.cgi?id=21813
1348
1349        * tests/qwebframe/tst_qwebframe.cpp:
1350
13512008-10-24  Sam Weinig  <sam@webkit.org>
1352
1353        Another Qt build fix.
1354
1355        * WebCoreSupport/ChromeClientQt.cpp:
1356
13572008-10-24  Sam Weinig  <sam@webkit.org>
1358
1359        Reviewed by Dan Bernstein.
1360
1361        Fix https://bugs.webkit.org/show_bug.cgi?id=21759
1362        Layering violation: FileChooser should not depend on Document/Frame/Page
1363
1364        * WebCoreSupport/ChromeClientQt.cpp:
1365        (WebCore::ChromeClientQt::runOpenPanel):
1366        * WebCoreSupport/ChromeClientQt.h:
1367
13682008-10-24  Timothy Hatcher  <timothy@apple.com>
1369
1370        Stub out new InspectorClient methods.
1371
1372        https://bugs.webkit.org/show_bug.cgi?id=21856
1373
1374        Reviewed by Darin Adler.
1375
1376        * WebCoreSupport/InspectorClientQt.cpp:
1377        (WebCore::InspectorClientQt::populateSetting): Not implemented.
1378        (WebCore::InspectorClientQt::storeSetting): Ditto.
1379        (WebCore::InspectorClientQt::removeSetting): Ditto.
1380        * WebCoreSupport/InspectorClientQt.h:
1381
13822008-10-24  Darin Adler  <darin@apple.com>
1383
1384        - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
1385
1386        * Api/qwebframe.cpp:
1387        (QWebFrame::evaluateJavaScript): Use JSValue* instead of JSValuePtr.
1388
13892008-10-23  Yael Aharon <yael.aharon@nokia.com>
1390
1391        Reviewed by Simon Hausmann.
1392
1393        Invalid history entries could cause a crash in QT Webkit
1394
1395        * Api/qwebhistory.cpp:
1396        (QWebHistoryItem::originalUrl):
1397        (QWebHistoryItem::url):
1398        (QWebHistoryItem::title):
1399        (QWebHistoryItem::lastVisited):
1400        (QWebHistoryItem::icon):
1401        (QWebHistoryItem::isValid):
1402        * Api/qwebhistory.h:
1403        * Api/qwebhistory_p.h:
1404        (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1405        (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1406        * tests/qwebpage/tst_qwebpage.cpp:
1407        (tst_QWebPage::modified):
1408
14092008-10-22  Yael Aharon <yael.aharon@nokia.com>
1410
1411        Reviewed by Simon Hausmann.
1412
1413        emit scrollRequested unconditionally when scrolling.
1414
1415        See https://bugs.webkit.org/show_bug.cgi?id=21790
1416
1417        * WebCoreSupport/ChromeClientQt.cpp:
1418        (WebCore::ChromeClientQt::scroll):
1419
14202008-10-23  Simon Hausmann  <hausmann@webkit.org>
1421
1422        Reviewed by Tor Arne.
1423
1424        Fix handling of mouse events when embedding QWebView into the
1425        QGraphicsView.
1426
1427        QWebPage accepts or ignores events to indicate whether the web page
1428        handled the event. However for QWebView to behave like a good widget
1429        it should always accept the mouse events to indicate that it handled
1430        them and that they should not be subject to event propagation.
1431
1432        The graphics view relies on acceptance of the initial mouse click to
1433        make the embedded widget the focus item.
1434
1435        * Api/qwebview.cpp:
1436        (QWebView::mouseMoveEvent):
1437        (QWebView::mousePressEvent):
1438        (QWebView::mouseDoubleClickEvent):
1439        (QWebView::mouseReleaseEvent):
1440        (QWebView::contextMenuEvent):
1441        (QWebView::wheelEvent):
1442
14432008-10-22  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1444
1445        Reviewed by Simon Hausmann.
1446
1447        For public API, use the term boundingRect instead of boundingBox.
1448
1449        * Api/qwebframe.cpp:
1450        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
1451        (QWebHitTestResult::boundingRect):
1452        * Api/qwebframe.h:
1453        * Api/qwebframe_p.h:
1454
14552008-06-03  Siraj Razick  <siraj.razick@collabora.co.uk>
1456
1457        Reviewed by Simon Hausmann.
1458
1459        https://bugs.webkit.org/show_bug.cgi?id=19374
1460
1461        Expose boundingBox value in QWebHitTestResult
1462
1463        Add API function QRect QWebHitResult::boundingBox() const
1464
1465        API docs by Ariya.
1466
1467        * Api/qwebframe.cpp:
1468        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
1469        (QWebHitTestResult::boundingBox):
1470        * Api/qwebframe.h:
1471        * Api/qwebframe_p.h:
1472
14732008-10-21  Yael Aharon <yael.aharon@nokia.com>
1474
1475        Reviewed by Simon Hausmann.
1476
1477        emit repaintRequested unconditionally when repaint is requested.
1478
1479        * WebCoreSupport/ChromeClientQt.cpp:
1480        (WebCore::ChromeClientQt::repaint):
1481
14822008-10-20  Sam Weinig  <sam@webkit.org>
1483
1484        Reviewed by Anders Carlsson.
1485
1486        Remove FrameLoaderClient::detachedFromParent4.  It is no longer used by any port.
1487
1488        * WebCoreSupport/FrameLoaderClientQt.cpp:
1489        * WebCoreSupport/FrameLoaderClientQt.h:
1490
14912008-10-19  Darin Adler  <darin@apple.com>
1492
1493        Reviewed by Oliver Hunt.
1494
1495        - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
1496          improve performance by eliminating JSValue as a base class for JSCell
1497
1498        Remove most uses of JSValue, which will be removed in a future patch.
1499
1500        * Api/qwebframe.cpp:
1501        (QWebFrame::evaluateJavaScript): Use JSValuePtr.
1502
15032008-10-14  Tor Arne Vestbø  <tavestbo@trolltech.com>
1504
1505        Reviewed by Simon.
1506
1507        Clip painter to dirty rect before passing on to WebKit
1508
1509        This was previously done in ScrollViewQt, but after the
1510        refactoring of ScrollView we need to do it in QWebFrame
1511        instead, similar to Safari/Win.
1512
1513        * Api/qwebframe.cpp:
1514        (QWebFrame::render):
1515
15162008-10-08  Matthias Ettrich <ettrich@nokia.com>
1517
1518        Reviewed by Simon.
1519
1520        Make QWebView ignore focus changes with PopupFocusReason to avoid
1521        massive updates when menus open and close.
1522
1523        * Api/qwebview.cpp:
1524        (QWebView::focusInEvent):
1525        (QWebView::focusOutEvent):
1526
15272008-10-08  Kavindra Palaraja  <kdpalara@trolltech.com>
1528
1529        Reviewed by Simon.
1530
1531        Fixed a qdoc warning and adjusted some spacing
1532
1533        * Api/qwebframe.cpp:
1534
15352008-10-08  Rhys Weatherley  <rhys.weatherley@nokia.com>
1536
1537        Reviewed by Simon.
1538
1539        Compile for platforms without context menus.
1540
1541        * Api/qwebpage.cpp:
1542        (QWebPage::createStandardContextMenu):
1543
15442008-10-08  André Pönitz  <apoenitz@trolltech.com>
1545
1546        Reviewed by Simon.
1547
1548        Fix compilation with Qt namespaces.
1549
1550        * WebCoreSupport/EditCommandQt.h:
1551
15522008-10-07  Tor Arne Vestbø  <tavestbo@trolltech.com>
1553
1554        QtWebKit build fix after changes to FrameLoaderClient.h in r37371
1555
1556        * WebCoreSupport/FrameLoaderClientQt.h:
1557
15582008-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
1559
1560        [qt] Build fix after Scrollbar.h and Widget.h changes.
1561
1562        * Api/qwebpage.cpp:
1563        (QWebPage::swallowContextMenuEvent):
1564
15652008-10-06  David Hyatt  <hyatt@apple.com>
1566
1567        Enable viewless Mac WebKit to paint some basic pages.
1568
1569        Reviewed by Sam Weinig
1570
1571        * WebCoreSupport/FrameLoaderClientQt.cpp:
1572        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1573
15742008-10-03  David Hyatt  <hyatt@apple.com>
1575
1576        Fix scroll method on Qt.  The delta was supposed to use .width()/.height() and not .x()/.y().
1577
1578        Fix the QtPluginWidget to do an invalidate properly.
1579
1580        Reviewed by ggaren
1581
1582        * WebCoreSupport/ChromeClientQt.cpp:
1583        (WebCore::ChromeClientQt::scroll):
1584        * WebCoreSupport/FrameLoaderClientQt.cpp:
1585        (WebCore::):
1586
15872008-10-03  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1588
1589        Build fix. Remove addToDirtyRegion from the header file.
1590
1591        * WebCoreSupport/ChromeClientQt.h:
1592
15932008-10-03  Ariya Hidayat  <ariya.hidayat@trolltech.com>
1594
1595        Build fix.
1596
1597        * WebCoreSupport/ChromeClientQt.cpp:
1598        (WebCore::ChromeClientQt::scroll):
1599        * WebCoreSupport/FrameLoaderClientQt.cpp:
1600        (WebCore::):
1601        (WebCore::FrameLoaderClientQt::createPlugin):
1602
16032008-10-03  David Hyatt  <hyatt@apple.com>
1604
1605        Remove addToDirtyRegion.
1606
1607        Reviewed by Oliver Hunt
1608
1609        * WebCoreSupport/ChromeClientQt.cpp:
1610
16112008-10-02  David Hyatt  <hyatt@apple.com>
1612
1613        https://bugs.webkit.org/show_bug.cgi?id=21314
1614
1615        Make scrollBackingStore cross-platform.
1616
1617        Reviewed by Sam Weinig
1618
1619        * WebCoreSupport/ChromeClientQt.cpp:
1620        (WebCore::ChromeClientQt::repaint):
1621        (WebCore::ChromeClientQt::scroll):
1622        * WebCoreSupport/ChromeClientQt.h:
1623
16242008-10-01  David Hyatt  <hyatt@apple.com>
1625
1626        https://bugs.webkit.org/show_bug.cgi?id=21282
1627
1628        Make contentsToScreen/screenToContents cross-platform.  Only implemented by Mac/Win right now.
1629
1630        Reviewed by Adam Roben
1631
1632        * WebCoreSupport/ChromeClientQt.cpp:
1633        (WebCore::ChromeClientQt::windowToScreen):
1634        (WebCore::ChromeClientQt::screenToWindow):
1635        * WebCoreSupport/ChromeClientQt.h:
1636
16372008-09-30  Dave Hyatt  <hyatt@apple.com>
1638
1639        http://bugs.webkit.org/show_bug.cgi?id=21250
1640
1641        Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
1642        repaints up through the ChromeClient.
1643
1644        Reviewed by Darin Adler
1645
1646        * WebCoreSupport/ChromeClientQt.cpp:
1647        (WebCore::ChromeClientQt::repaint):
1648        * WebCoreSupport/ChromeClientQt.h:
1649
16502008-09-29  Gunnar Sletta  <gunnar@trolltech.com>
1651
1652        Reviewed by Simon
1653
1654        Compile on windows using MSVC 2005
1655
1656        For the PCH We need to define _WIN32_WINNT and include windows.h early on,
1657        otherwise we'll miss several functions.
1658
1659        * WebKit_pch.h:
1660
16612008-09-29  Thiago Macieira  <thiago.macieira@nokia.com>
1662
1663        Reviewed by Simon.
1664
1665        Changed copyright from Trolltech ASA to Nokia.
1666
1667        Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
1668
1669
1670        * Api/qwebframe.cpp:
1671        * Api/qwebframe.h:
1672        * Api/qwebframe_p.h:
1673        * Api/qwebhistory.cpp:
1674        * Api/qwebhistory.h:
1675        * Api/qwebhistory_p.h:
1676        * Api/qwebkitglobal.h:
1677        * Api/qwebnetworkinterface.cpp:
1678        * Api/qwebnetworkinterface.h:
1679        * Api/qwebnetworkinterface_p.h:
1680        * Api/qwebpage.cpp:
1681        * Api/qwebpage.h:
1682        * Api/qwebpage_p.h:
1683        * Api/qwebpluginfactory.cpp:
1684        * Api/qwebpluginfactory.h:
1685        * Api/qwebsettings.cpp:
1686        * Api/qwebsettings.h:
1687        * Api/qwebview.cpp:
1688        * Api/qwebview.h:
1689        * Plugins/ICOHandler.cpp:
1690        * QtLauncher/main.cpp:
1691        * WebCoreSupport/FrameLoaderClientQt.cpp:
1692        * WebCoreSupport/FrameLoaderClientQt.h:
1693        * WebCoreSupport/InspectorClientQt.cpp:
1694        * WebCoreSupport/InspectorClientQt.h:
1695        * tests/qwebframe/tst_qwebframe.cpp:
1696        * tests/qwebpage/tst_qwebpage.cpp:
1697
16982008-09-28  Simon Hausmann  <hausmann@webkit.org>
1699
1700        Reviewed by David Hyatt.
1701
1702        Ensure the mainThreadIdentifier is set as well as other bits and pieces of
1703        the threading machinery, by calling JSC::initializeThreading().
1704
1705        * Api/qwebpage.cpp:
1706        (QWebPagePrivate::QWebPagePrivate):
1707
17082008-09-27  David Hyatt  <hyatt@apple.com>
1709
1710        Forgot to land renaming changes in WebKit.
1711
1712        * Api/qwebframe.cpp:
1713        (QWebFrame::render):
1714        (QWebFrame::pos):
1715        (QWebFrame::geometry):
1716        * Api/qwebpage.cpp:
1717        (QWebPage::viewportSize):
1718        (QWebPage::setViewportSize):
1719
17202008-09-27  Simon Hausmann  <hausmann@webkit.org>
1721
1722        Qt build fix - use frameRect instead of frameGeometry, adapt
1723        to renamed scrollbar frameview methods.
1724
1725        * Api/qwebpage.cpp:
1726        (QWebPage::viewportSize):
1727        (QWebPage::setViewportSize):
1728        * WebCoreSupport/FrameLoaderClientQt.cpp:
1729        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1730
17312008-09-27  Jan Michael Alonzo  <jmalonzo@webkit.org>
1732
1733        Qt build fix - rename frameGeometry to frameRect per r36995.
1734
1735        * Api/qwebframe.cpp:
1736        (QWebFrame::render):
1737        (QWebFrame::pos):
1738        (QWebFrame::geometry):
1739
17402008-09-26  Ariya Hidayat  <ahidayat@trolltech.com>
1741
1742        Reviewed by Simon.
1743
1744        Fixed potential crash when deleting QWebView instance.
1745
1746        When deleting the view, sets the page's view to NULL.
1747        The reason is that the page is smart and its destructor might lead to a call
1748        that operates on a view (which is in the process of being deleted).
1749
1750        * Api/qwebpage.h:
1751        * Api/qwebview.cpp:
1752        (QWebView::~QWebView):
1753
17542008-09-26  Ariya Hidayat  <ahidayat@trolltech.com>
1755
1756        Reviewed by Simon.
1757
1758        Fixed using modifiers to type special symbols (e.g '@','$') does not work on Mac OS X.
1759
1760        * WebCoreSupport/EditorClientQt.cpp:
1761        (WebCore::EditorClientQt::handleKeyboardEvent):
1762
17632008-09-26  Håvard Wall  <hwall@trolltech.com>
1764
1765        Reviewed by Simon.
1766
1767        Fix compilation with QT_NO_MESSAGEBOX
1768
1769        * Api/qwebpage.cpp:
1770        (QWebPage::javaScriptAlert):
1771        (QWebPage::javaScriptConfirm):
1772
17732008-09-23  Tor Arne Vestbø  <tavestbo@trolltech.com>
1774
1775        Reviewed by Simon.
1776
1777        Remove deprecated JS Qt bindings object call/construct code and fix autotests
1778
1779        * tests/qwebframe/tst_qwebframe.cpp:
1780
17812008-09-16  Alp Toker  <alp@nuanti.com>
1782
1783        Prospective Qt build fix. ScrollBar.h -> Scrollbar.h
1784
1785        * Api/qwebframe.cpp:
1786        * Api/qwebpage.cpp:
1787
17882008-09-15  Eli Fidler  <eli@staikos.net>
1789
1790        Reviewed by Simon.
1791
1792        Yahoo assumes non-RFC compliant HTTP redirect behaviour. QtWebKit is (more)
1793        compliant, so broken. I think the Yahoo-assumed behaviour is real-world standard.
1794
1795        Basically, Yahoo's login procedure for flickr looks like this:
1796        1. load flickr.com, click "sign in"
1797        2. this is a Yahoo page with a form
1798        (https://login.yahoo.com/config/login?.src=flickr...)
1799        when you click the "Sign In" button, the form submits to a yahoo.com POST URL
1800        3. The POST returns with a 302 (redirect) to another yahoo.com URL
1801        4. If you POST the redirected Location:, it all breaks. Yahoo assumes you will
1802        convert the method to GET, which works fine but is definitely not
1803        RFC-compliant. It would be compliant for 303, and the RFC says that many
1804        implementations treat 302 and 303 the same way (for HTTP/1.0 compliance), but
1805        converting to GET is explicitly wrong for 302.
1806
1807        * Api/qwebnetworkinterface.cpp:
1808        (QWebNetworkManager::started):
1809
18102008-09-15  Tor Arne Vestbø  <tavestbo@trolltech.com>
1811
1812        Reviewed by Simon.
1813
1814        Make QtInstance::create() private and fix caching
1815
1816        * Api/qwebframe.cpp:
1817        (QWebFrame::addToJavaScriptWindowObject):
1818
18192008-09-11  Tor Arne Vestbø  <tavestbo@trolltech.com>
1820
1821        Rubber-stamped by Simon.
1822
1823        Prevent leaking pages and frames in QWebKit autotest
1824
1825        * tests/qwebpage/tst_qwebpage.cpp:
1826
18272008-09-11  Tor Arne Vestbø  <tavestbo@trolltech.com>
1828
1829        Reviewed by Simon
1830
1831        Fix QtWebKit autotest
1832
1833        * tests/qwebpage/tst_qwebpage.cpp:
1834        (tst_QWebPage::userStyleSheet):
1835
18362008-09-09  Joerg Bornemann  <joerg.bornemann@trolltech.com>
1837
1838        Reviewed by Simon.
1839
1840        Added missing WebCore prefix to ResourceRequest
1841
1842        This is needed for Windows/CE compilation where there is a conflict
1843        with a global ResourceRequest type. Elsewhere in this file ResourceRequest
1844        is also prefixed with WebCore::
1845
1846        * Api/qwebframe.cpp:
1847        (QWebFrame::QWebFrame):
1848
18492008-09-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
1850
1851        Reviewed by Maciej Stachowiak.
1852
1853        Bug 20704: Replace the KJS namespace
1854        <https://bugs.webkit.org/show_bug.cgi?id=20704>
1855
1856        Rename the KJS namespace to JSC.
1857
1858        * Api/qwebframe.cpp:
1859        (QWebFrame::addToJavaScriptWindowObject):
1860        (QWebFrame::evaluateJavaScript):
1861
18622008-09-04  Tor Arne Vestbø  <tavestbo@trolltech.com>
1863
1864        Reviewed by Simon
1865
1866        Fix the QtWebKit build to match changes in r36016
1867
1868        * Api/qwebframe.cpp:
1869        (QWebFrame::addToJavaScriptWindowObject):
1870
18712008-09-04  Tor Arne Vestbø  <tavestbo@trolltech.com>
1872
1873        Reviewed by Simon.
1874
1875        Re-enable support for user stylesheets in QtWebKit
1876
1877        QtWebKit now follows the FRAME_LOADS_USER_STYLESHEET
1878        code path, which allows us to keep API support for
1879        loading user style sheets from remote URLs.
1880
1881        As part of the change UserStyleSheetLoader.cpp/h was
1882        moved from WebCore/loader/mac to WebCore/loader.
1883
1884        * tests/qwebpage/tst_qwebpage.cpp:
1885        (tst_QWebPage::userStyleSheet):
1886
18872008-08-29  Holger Hans Peter Freyther  <zecke@selfish.org>
1888
1889        Reviewed by Eric Seidel.
1890
1891        [janitor/qt] Start replacing port specific getters with the generic native getter
1892        To get the native presentation of an image we currently have platform
1893        specific #ifdef's and a generic getter using NativeImagePtr. This patch
1894        extends this to the ImageBuffer and updates the Qt platform to get rid
1895        of the special #ifdefs.
1896
1897        https://bugs.webkit.org/attachment.cgi?id=22861
1898
1899        * Api/qwebframe.cpp:
1900        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
1901        * Api/qwebhistory.cpp:
1902        * Api/qwebsettings.cpp:
1903        (QWebSettings::iconForUrl):
1904
19052008-08-29  Holger Hans Peter Freyther  <zecke@selfish.org>
1906
1907        Reviewed by Simon.
1908
1909        Catch up with the introduction of PageGroup in r30840. Enable tracking of
1910        visited links, enable this in QWebPage next to the other WebCore init call.
1911        Calling this more than once is no issue and a cheap operation, we also do not
1912        reset the state. When clearing the history of a page, clear the link state.
1913
1914        * Api/qwebhistory.cpp:
1915        (QWebHistory::clear):
1916        * Api/qwebhistoryinterface.cpp:
1917        (QWebHistoryInterface::setDefaultInterface):
1918        * Api/qwebpage.cpp:
1919        (QWebPagePrivate::QWebPagePrivate):
1920
19212008-08-29  Holger Hans Peter Freyther  <zecke@selfish.org>
1922
1923        Reviewed by Simon.
1924
1925        Revert revision 34348 which removed the global historyContains() function.
1926
1927        This function was needed to implement the public API of QWebHistoryInterface
1928        and will be used again in the near future.
1929
1930        * Api/qwebhistoryinterface.cpp:
1931        (WebCore::historyContains):
1932
19332008-08-27  Erik Bunce  <elbunce@thehive.com>
1934
1935        Reviewed by Eric Seidel.
1936
1937        https://bugs.webkit.org/show_bug.cgi?id=20223
1938
1939        Add QWebPage::contentsChanged() signal to notify of content changes.
1940
1941        * Api/qwebpage.cpp:
1942        * Api/qwebpage.h:
1943        * WebCoreSupport/EditorClientQt.cpp:
1944        (WebCore::EditorClientQt::respondToChangedContents):
1945
19462008-08-27  Brady Eidson  <beidson@apple.com>
1947
1948        Reviewed by Anders
1949
1950        <rdar://problem/6134133> - Crash when loading large movie as a standalone document
1951
1952        * WebCoreSupport/FrameLoaderClientQt.cpp:
1953        (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError): Stubbed for now
1954        * WebCoreSupport/FrameLoaderClientQt.h:
1955
19562008-08-25  Holger Hans Peter Freyther  <zecke@selfish.org>
1957
1958        Reviewed by Simon.
1959
1960        [inspector] Emit signals from attachWindow and detachWindow in the Qt platform
1961        Allow the user of the API to honor the attachWindow and detachWindow
1962        requests and attach the QWebPage/QWebView wherever it is wanted. This needs
1963        some more API in QWebPage to be properly exposed.
1964
1965        * WebCoreSupport/InspectorClientQt.cpp:
1966        (WebCore::InspectorClientQt::createPage):
1967        (WebCore::InspectorClientQt::attachWindow):
1968        (WebCore::InspectorClientQt::detachWindow):
1969        * WebCoreSupport/InspectorClientQt.h:
1970
19712008-08-19  Alexey Proskuryakov  <ap@webkit.org>
1972
1973        Reviewed by Geoff Garen.
1974
1975        Bring back shared JSGlobalData and implicit locking, because too many clients rely on it.
1976
1977        * Api/qwebframe.cpp:
1978        (QWebFrame::addToJavaScriptWindowObject):
1979
19802008-08-15  Håvard Wall  <hwall@trolltech.com>
1981
1982        Reviewed by Simon.
1983
1984        Fixes: compile with QT_NO_UNDOCOMMAND/STACK
1985
1986
1987        * Api/qwebpage.cpp:
1988        (SetCursorEvent::SetCursorEvent):
1989        (QWebPagePrivate::createContextMenu):
1990        (QWebPage::action):
1991        * Api/qwebpage.h:
1992        * Api/qwebpage_p.h:
1993        * WebCoreSupport/EditCommandQt.cpp:
1994        (EditCommandQt::EditCommandQt):
1995        * WebCoreSupport/EditCommandQt.h:
1996        * WebCoreSupport/EditorClientQt.cpp:
1997        (dumpPath):
1998        (WebCore::EditorClientQt::shouldInsertText):
1999        (WebCore::EditorClientQt::shouldChangeSelectedRange):
2000        (WebCore::EditorClientQt::isEditable):
2001        (WebCore::EditorClientQt::registerCommandForUndo):
2002        (WebCore::EditorClientQt::clearUndoRedoOperations):
2003        (WebCore::EditorClientQt::canUndo):
2004        (WebCore::EditorClientQt::canRedo):
2005        (WebCore::EditorClientQt::undo):
2006        (WebCore::EditorClientQt::redo):
2007        (WebCore::EditorClientQt::shouldInsertNode):
2008
20092008-08-15  Håvard Wall  <hwall@trolltech.com>
2010
2011        Reviewed by Simon.
2012
2013        Fixes: compile with QT_NO_STYLE_STYLESHEET
2014
2015
2016        * WebCoreSupport/FrameLoaderClientQt.cpp:
2017        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2018        (WebCore::FrameLoaderClientQt::createPlugin):
2019
20202008-08-15  Håvard Wall  <hwall@trolltech.com>
2021
2022        Reviewed by Simon.
2023
2024        Fixes: compile with QT_NO_SHORTCUT
2025
2026
2027        * Api/qwebpage.cpp:
2028        (QWebPagePrivate::mouseMoveEvent):
2029        (QWebPagePrivate::mouseReleaseEvent):
2030        (QWebPagePrivate::dragMoveEvent):
2031
20322008-08-15  Håvard Wall  <hwall@trolltech.com>
2033
2034        Reviewed by Simon.
2035
2036        Fixes:    compile with QT_NO_CONTEXTMENU
2037
2038
2039        * Api/qwebpage.cpp:
2040        (editorCommandForWebActions):
2041        (QWebPagePrivate::QWebPagePrivate):
2042        (QWebPagePrivate::createMainFrame):
2043        (QWebPagePrivate::updateEditorActions):
2044        (QWebPage::setEditable):
2045        * Api/qwebpage.h:
2046        * Api/qwebpage_p.h:
2047        * Api/qwebview.cpp:
2048        * Api/qwebview.h:
2049
20502008-08-15  Håvard Wall  <hwall@trolltech.com>
2051
2052        Reviewed by Simon.
2053
2054        Fixes: compile with QT_NO_WHEELEVENT
2055
2056
2057        * Api/qwebpage.cpp:
2058        (QWebPagePrivate::updateEditorActions):
2059        (QWebPage::event):
2060        * Api/qwebpage_p.h:
2061        * Api/qwebview.cpp:
2062        * Api/qwebview.h:
2063
20642008-08-15  Håvard Wall  <hwall@trolltech.com>
2065
2066        Reviewed by Simon.
2067
2068        Fixes: compile with QT_NO_PRINTER
2069
2070
2071        * Api/qwebframe.cpp:
2072        (QWebFrame::print):
2073        * Api/qwebframe.h:
2074
20752008-08-15  David Boddie  <dboddie@trolltech.com>
2076
2077        Reviewed by Simon.
2078
2079        Doc: Added documentation for default property values.
2080
2081
2082        * Api/qwebpage.cpp:
2083        (QWebPagePrivate::keyPressEvent):
2084        (QWebPage::triggerAction):
2085        (QWebPage::acceptNavigationRequest):
2086        (QWebPage::action):
2087        * Api/qwebview.cpp:
2088
20892008-08-15  David Boddie  <dboddie@trolltech.com>
2090
2091        Reviewed by Simon.
2092
2093        Doc: Renamed snippets that appear in the code directory.
2094
2095
2096        * Api/qwebview.cpp:
2097        (QWebView::event):
2098        (QWebView::print):
2099
21002008-08-12  Timothy Hatcher  <timothy@apple.com>
2101
2102        Add a stub for InspectorClient::setAttachedWindowHeight.
2103
2104        * WebCoreSupport/InspectorClientQt.cpp:
2105        (WebCore::InspectorClientQt::setAttachedWindowHeight):
2106        Call notImplemented().
2107        * WebCoreSupport/InspectorClientQt.h:
2108
21092008-08-13  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2110
2111        Reviewed by Simon.
2112
2113        Use full-page zoom in QtLauncher.
2114
2115        * QtLauncher/main.cpp:
2116        (MainWindow::zoomIn):
2117        (MainWindow::zoomOut):
2118        (MainWindow::resetZoom):
2119        (MainWindow::setupUI):
2120
21212008-08-13  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2122
2123        Reviewed by Simon.
2124
2125        Fix linking with QtWebKit.
2126
2127        * Api/qwebframe.h: remove non-existing function/property.
2128
21292008-08-13  Simon Hausmann  <hausmann@webkit.org>
2130
2131        Reviewed by Holger.
2132
2133        Based on patch by Siraj razick <siraj.razick@collabora.co.uk>
2134
2135        https://bugs.webkit.org/show_bug.cgi?id=19125
2136
2137        Added functions to get/set the zoom factor.
2138
2139        Added a QWebFrame/QWebView::zoomFactor as well as a boolean
2140        ZoomTextOnly attribute in QWebSettings.
2141
2142        * Api/qwebframe.cpp:
2143        (QWebFrame::setZoomFactor):
2144        (QWebFrame::zoomFactor):
2145        * Api/qwebframe.h:
2146        * Api/qwebsettings.cpp:
2147        (QWebSettingsPrivate::apply):
2148        (QWebSettings::QWebSettings):
2149        * Api/qwebsettings.h:
2150        * Api/qwebview.cpp:
2151        (QWebView::setZoomFactor):
2152        (QWebView::zoomFactor):
2153        * Api/qwebview.h:
2154
21552008-08-13  Simon Hausmann  <hausmann@webkit.org>
2156
2157        Reviewed by Lars.
2158
2159        Fix QWebFrame::setHtml() not setting the new contents immediately.
2160
2161        Added a setter to the DocumentLoader to toggle the deferred loading of the main
2162        resource when it comes from substitute data.
2163
2164        Disable deferred loading of the main resource when we have valid substitute data,
2165        as used by QWebFrame::setHtml.
2166
2167        * WebCoreSupport/FrameLoaderClientQt.cpp:
2168        (WebCore::FrameLoaderClientQt::download):
2169
21702008-08-13  Simon Hausmann  <hausmann@webkit.org>
2171
2172        Rubber-stamped by Holger.
2173
2174        Fix QWebPage::isModified().
2175
2176        isModified() would return true after loading a new page or it would continue to
2177        return true after undoing modifications. Fix this by eliminating the
2178        QWebPagePrivate::modified variable and use the undoStack's canUndo() property
2179        instead.
2180
2181        https://bugs.webkit.org/show_bug.cgi?id=19252
2182
2183        * Api/qwebpage.cpp:
2184        (QWebPage::action):
2185        * Api/qwebpage_p.h:
2186        * WebCoreSupport/EditorClientQt.cpp:
2187        (WebCore::EditorClientQt::respondToChangedContents):
2188
21892008-08-13  David Boddie  <dboddie@trolltech.com>
2190
2191        Reviewed by Simon.
2192
2193        Updated docs with the signal emission behavior of urlChanged()
2194
2195        * Api/qwebframe.cpp:
2196
21972008-08-13  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2198
2199        Reviewed by Simon.
2200
2201        Fix Ctrl+Y to work again when editing text in contextEditable mode.
2202
2203        This fixes regression in LayoutTests/editing/pasteboard/emacs-cntl-y-001.html
2204
2205        * WebCoreSupport/EditorClientQt.cpp:
2206        (WebCore::EditorClientQt::handleKeyboardEvent):
2207
22082008-08-13  Thiago Macieira  <tjmaciei@trolltech.com>
2209
2210        Reviewed by Simon.
2211
2212        Fix encoding of [ and ] in the host part of the URL
2213
2214        Until QUrl is fixed (making QUrl's tolerant parser more tolerant), we have to
2215        add this workaround to the QUrl <> WebCore::KURL conversion operator so that it
2216        doesn't encode [ and ] when they are found in the host part. That is, the
2217        following URL:
2218        http://[::1]/
2219        is valid and should not be reencoded to:
2220        http://%5b::1%5d/
2221
2222        This change adds the automatic test for it.
2223
2224        * tests/qwebframe/tst_qwebframe.cpp:
2225
22262008-08-12  Urs Wolfer  <uwolfer@kde.org>
2227
2228        Reviewed by Simon.
2229
2230        https://bugs.webkit.org/show_bug.cgi?id=20357
2231
2232        Fix crash in QWebPage in case contextMenuEvent has been overwritten
2233        because context menu has the view as parent and thus is deleted too early.
2234
2235        Add testcase for this crash.
2236
2237        * Api/qwebpage_p.h:
2238        * tests/qwebpage/tst_qwebpage.cpp:
2239        (tst_QWebPage::contextMenuCrash):
2240
22412008-08-07  Simon Hausmann  <hausmann@webkit.org>
2242
2243        Rubber-stamped by Lars.
2244
2245        Added API tests for QWebPage/QWebFrame based on QTestLib.
2246
2247        * tests/qwebframe/qwebframe.pro: Added.
2248        * tests/qwebframe/tst_qwebframe.cpp: Added.
2249        * tests/qwebpage/qwebpage.pro: Added.
2250        * tests/qwebpage/tst_qwebpage.cpp: Added.
2251        * tests/tests.pro: Added.
2252
22532008-08-06  Benjamin C Meyer  <ben@meyerhome.net>
2254
2255        Reviewed by Simon.
2256
2257        During the drag operation only accept the event if the action is not ignore action.
2258
2259        * Api/qwebpage.cpp:
2260        (QWebPagePrivate::dragEnterEvent):
2261        (QWebPagePrivate::dragMoveEvent):
2262        (QWebPagePrivate::dropEvent):
2263
22642008-08-06  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2265
2266        Fix the Qt build due to recent ScriptController refactoring.
2267
2268        * Api/qwebframe.cpp:
2269        (QWebFrame::addToJavaScriptWindowObject):
2270
22712008-08-05  Tor Arne Vestbø  <tavestbo@trolltech.com>
2272
2273        Reviewed by Simon.
2274
2275        Move event handling of the return-key from EditorClientQt to QWebPage.
2276
2277        https://bugs.webkit.org/show_bug.cgi?id=20191
2278
2279        This is a first step in refactoring the big switch block
2280        in EditorClientQt::handleKeyboardEvent to using WebActions
2281        instead.
2282
2283        The new logic uses two new StandardKeys from QKeySequence:
2284
2285        - InsertParagraphSeparator
2286        - InsertLineSeparator
2287
2288        Which translate to the commands InsertNewline and InsertLineBreak
2289        respectivly. On Windows/X11 pressing the shift modifier will invoke
2290        the latter action. For Mac this is triggered by pressing the meta
2291        modifier (Ctrl).
2292
2293        Initial patch by: Erik Bunce
2294
2295        * Api/qwebpage.cpp:
2296        (editorActionForKeyEvent):
2297        * Api/qwebpage.h:
2298        * WebCoreSupport/EditorClientQt.cpp:
2299        (WebCore::EditorClientQt::handleKeyboardEvent):
2300
23012008-08-04  Erik Bunce  <elbunce@thehive.com>
2302
2303        Reviewed by Simon.
2304
2305        https://bugs.webkit.org/show_bug.cgi?id=20221
2306
2307        Add updateAction() support to ToggleBold, ToggleItalic, and ToggleUnderline.
2308        Add lookup table for mapping web actions to editor commands.
2309
2310        * Api/qwebpage.cpp:
2311        (editorCommandForWebActions):
2312        (QWebPagePrivate::updateAction):
2313        (QWebPagePrivate::updateEditorActions):
2314        (QWebPage::triggerAction):
2315        (QWebPage::setEditable):
2316
23172008-08-03  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2318
2319        Reviewed by Simon.
2320
2321        A bunch of improvements to the QtLauncher.
2322
2323        Among others:
2324        - Unify and unclutter the toolbar, use menu for addition actions
2325        - Simplify URL edit, just use QLineEdit (no fancy close button etc)
2326        - Guess the URL from the command line so now we can run ./QtLauncher www.google.com
2327        - Shortcut keys for most actions
2328        - Simple autocomplete for the URL edit
2329        - Actions for zooming, New Window and Close Window
2330        - Show Format menu only when the content is set to editable
2331
2332        * QtLauncher/main.cpp:
2333        (MainWindow::MainWindow):
2334        (MainWindow::webPage):
2335        (MainWindow::changeLocation):
2336        (MainWindow::loadFinished):
2337        (MainWindow::showLinkHover):
2338        (MainWindow::newWindow):
2339        (MainWindow::zoomIn):
2340        (MainWindow::zoomOut):
2341        (MainWindow::resetZoom):
2342        (MainWindow::print):
2343        (MainWindow::setEditable):
2344        (MainWindow::dumpHtml):
2345        (MainWindow::setupUI):
2346        (main):
2347
23482008-08-04  Erik Bunce  <elbunce@thehive.com>
2349
2350        Reviewed by Simon.
2351
2352        https://bugs.webkit.org/show_bug.cgi?id=20198
2353
2354        Allow Copy key sequence to work in non-editable areas.
2355
2356        * Api/qwebpage.cpp:
2357        (QWebPagePrivate::keyPressEvent):
2358
23592008-07-31  Erik Bunce  <elbunce@thehive.com>
2360
2361        Reviewed by Simon.
2362
2363        Make sure edit actions get updated when the contents change.
2364
2365        * WebCoreSupport/EditorClientQt.cpp:
2366        (WebCore::EditorClientQt::respondToChangedContents):
2367
23682008-07-31  Erik Bunce  <elbunce@thehive.com>
2369
2370        Reviewed by Simon.
2371
2372        Add simple edit test abilities to QtLauncher.
2373
2374        * QtLauncher/main.cpp:
2375        (MainWindow::MainWindow):
2376        (MainWindow::setEditable):
2377        (MainWindow::dumpHtml):
2378
23792008-07-31  Alexey Proskuryakov  <ap@webkit.org>
2380
2381        Rubber-stamped by Maciej.
2382
2383        Eliminate JSLock (it was already disabled, removing the stub implementaion and all
2384        call sites now).
2385
2386        * Api/qwebframe.cpp:
2387        (QWebFrame::addToJavaScriptWindowObject):
2388
23892008-07-27  David Kilzer  <ddkilzer@apple.com>
2390
2391        Fix Qt build failure.
2392
2393        * Api/qwebframe.h:
2394        (QWebFrame::setScrollOffset): Make argument const.
2395
23962008-07-26  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
2397
2398        Reviewed by Simon Hausmann.
2399
2400        https://bugs.webkit.org/show_bug.cgi?id=20010
2401        [Qt] Add API access to scrolling
2402
2403        * Api/qwebframe.cpp: Added access to a frame scroll offset.
2404        (QWebFrame::scroll):
2405        (QWebFrame::scrollOffset):
2406        (QWebFrame::setScrollOffset):
2407        * Api/qwebframe.h:
2408
24092008-07-26  Daniel Jalkut  <jalkut@red-sweater.com>
2410
2411        Build fix.  Adjust to updated WebCore FrameLoader method names & signatures.
2412
2413        * Api/qwebpage.cpp:
2414        (QWebPage::triggerAction):
2415        * WebCoreSupport/FrameLoaderClientQt.cpp:
2416        (WebCore::FrameLoaderClientQt::createFrame):
2417
24182008-07-25  Joerg Bornemann  <joerg.bornemann@trolltech.com>
2419
2420        Reviewed by Simon.
2421
2422        Compile with QT_NO_PRINTER.
2423
2424        * QtLauncher/main.cpp:
2425        (MainWindow::MainWindow):
2426
24272008-07-24  Tor Arne Vestbø  <tavestbo@trolltech.com>
2428
2429        Reviewed by Simon
2430
2431        Don't insert text on keyDown event in EditorClientQt.
2432
2433        * WebCoreSupport/EditorClientQt.cpp:
2434        (WebCore::EditorClientQt::handleKeyboardEvent):
2435
24362008-07-04  Benjamin C Meyer  <ben@meyerhome.net>
2437
2438        Reviewed by Simon.
2439
2440        Update the webkit version in the QtWebKit useragent string to match trunk
2441
2442        * Api/qwebpage.cpp:
2443
24442008-07-02  Simon Hausmann  <hausmann@webkit.org>
2445
2446        Build fix.
2447
2448        * Api/qwebpage.cpp:
2449        (QWebPage::triggerAction): The signature of setBaseWritingDirection
2450        changed to take an enum instead of a string.
2451
24522008-07-01  Alexey Proskuryakov  <ap@webkit.org>
2453
2454        Reviewed by Darin Adler.
2455
2456        Disable JSLock for per-thread contexts.
2457
2458        * Api/qwebframe.cpp:
2459        (QWebFrame::addToJavaScriptWindowObject):
2460        Pass a parameter (false) to JSLock to indicate that WebKit doesn't need locking.
2461        Include JSLock.h, as it is no longer brought in implicitly.
2462
24632008-07-01  Tor Arne Vestbø  <tavestbo@trolltech.com>
2464
2465        Reviewed by Simon.
2466
2467        Don't show the tooltip instantly in the QtLauncher.
2468
2469        Let the QWebView handle tooltips by itself, so we get
2470        the expected delay as everywhere else.
2471
2472        * QtLauncher/main.cpp:
2473
24742008-06-30  Simon Hausmann  <hausmann@webkit.org>
2475
2476        Rubber-stamped by Niko.
2477
2478        Removed the obsolete and unmaintained WebKitPart. The integration of
2479        QtWebKit into KDE is now done in the webkitkde component inside KDE.
2480
2481        * WebKitPart/WebKitFactory.cpp: Removed.
2482        * WebKitPart/WebKitFactory.h: Removed.
2483        * WebKitPart/WebKitPart.cpp: Removed.
2484        * WebKitPart/WebKitPart.desktop: Removed.
2485        * WebKitPart/WebKitPart.h: Removed.
2486        * WebKitPart/WebKitPart.rc: Removed.
2487        * WebKitPart/WebKitPartBrowser.rc: Removed.
2488        * WebKitPart/WebKitPartBrowserExtension.cpp: Removed.
2489        * WebKitPart/WebKitPartBrowserExtension.h: Removed.
2490        * WebKitPart/WebKitPartClient.cpp: Removed.
2491        * WebKitPart/WebKitPartClient.h: Removed.
2492        * WebKitPart/WebKitPartInterface.cpp: Removed.
2493        * WebKitPart/WebKitPartInterface.h: Removed.
2494        * WebKitPart/org.kde.WebKitPart.xml: Removed.
2495
24962008-06-24  Simon Hausmann  <hausmann@webkit.org>
2497
2498        Fix the Qt build, added missing include for RuntimeObjectImp.
2499
2500        * Api/qwebframe.cpp:
2501
25022008-06-23  Benjamin C Meyer  <ben@meyerhome.net>
2503
2504        Reviewed by Simon.
2505
2506        Add function to retrieve the standard context menu
2507
25082008-06-20  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
2509
2510        Reviewed by Simon.
2511
2512        https://bugs.webkit.org/show_bug.cgi?id=19082
2513        [Qt] Full-page plugins not activated
2514
2515        * WebCoreSupport/FrameLoaderClientQt.cpp:
2516        (WebCore::FrameLoaderClientQt::committedLoad): Re-check if there's a
2517        plugin present, as it can be created during the function.
2518
25192008-06-20  Marco Barisione  <marco.barisione@collabora.co.uk>
2520
2521        Reviewed by Simon.
2522
2523        https://bugs.webkit.org/show_bug.cgi?id=19082
2524        [Qt] Full-page plugins not activated
2525
2526        * WebCoreSupport/FrameLoaderClientQt.cpp:
2527        (WebCore::FrameLoaderClientQt::canShowMIMEType): Return true if the
2528        MIME type is supported by a plugin.
2529
25302008-06-18  Alexey Proskuryakov  <ap@webkit.org>
2531
2532        Reviewed by Darin Adler.
2533
2534        Prepare JavaScript heap for being per-thread.
2535
2536        * Api/qwebframe.cpp:
2537        (QWebFrame::addToJavaScriptWindowObject): Trying not to break the build.
2538
25392008-06-18  Julien Chaffraix  <jchaffraix@webkit.org>
2540
2541        Qt Build fix after r34627.
2542
2543        * WebCoreSupport/FrameLoaderClientQt.cpp:
2544        (WebCore::FrameLoaderClientQt::createPlugin):
2545
25462008-06-15  Darin Adler  <darin@apple.com>
2547
2548        - give Frame object functions shorter names: scriptProxy() -> script(),
2549          selectionController() -> selection(), animationController() -> animation()
2550
2551        * Api/qwebframe.cpp:
2552        (QWebFrame::evaluateJavaScript):
2553        * Api/qwebpage.cpp:
2554        (QWebPagePrivate::focusInEvent):
2555        (QWebPagePrivate::focusOutEvent):
2556        (QWebPage::inputMethodQuery):
2557        * WebCoreSupport/EditorClientQt.cpp:
2558        (WebCore::EditorClientQt::handleKeyboardEvent):
2559
25602008-06-15  Darin Adler  <darin@apple.com>
2561
2562        - new names for more JavaScriptCore files
2563
2564        * WebKit_pch.h:
2565
25662008-06-15  Darin Adler  <darin@apple.com>
2567
2568        - new names for a few key JavaScriptCore files
2569
2570        * Api/qwebframe.cpp:
2571
25722008-06-14  Darin Adler  <darin@apple.com>
2573
2574        Rubber stamped by Sam.
2575
2576        - new names for kjs_binding.h and kjs_proxy.h
2577
2578        * Api/qwebframe.cpp:
2579        (QWebFrame::evaluateJavaScript):
2580        * WebKit_pch.h:
2581
25822008-06-14  Darin Adler  <darin@apple.com>
2583
2584        - fix build
2585
2586        * Api/qwebframe.cpp:
2587        (QWebFramePrivate::init): Added a missing semicolon.
2588
25892008-06-14  Darin Adler  <darin@apple.com>
2590
2591        Reviewed by Sam.
2592
2593        - more https://bugs.webkit.org/show_bug.cgi?id=17257
2594          start ref counts at 1 instead of 0 for speed
2595
2596        * Api/qwebframe.cpp:
2597        (QWebFramePrivate::init): Use create instead of new.
2598        * WebCoreSupport/FrameLoaderClientQt.cpp:
2599        (WebCore::FrameLoaderClientQt::createDocumentLoader): Ditto.
2600
26012008-06-13  Darin Adler  <darin@apple.com>
2602
2603        - try to fix build
2604
2605        * WebCoreSupport/FrameLoaderClientQt.h: Add missing argument.
2606
26072008-06-13  Darin Adler  <darin@apple.com>
2608
2609        Reviewed by John Sullivan.
2610
2611        - updated for addition of FormState argument to action policy functions
2612
2613        * WebCoreSupport/FrameLoaderClientQt.cpp:
2614        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2615        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2616
26172008-06-11  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2618
2619        Reviewed by Simon.
2620
2621        Fix left-click and middle-click mouse event are not properly accepted.
2622
2623        When copying or pasting text using left or middle-click, the event must be
2624        accepted so that it will not be potentially processed further by the parent
2625        and/or sub-classed widget.
2626
2627
2628        * Api/qwebpage.cpp:
2629        (QWebPagePrivate::mouseReleaseEvent):
2630
26312008-06-11  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2632
2633        Reviewed by Simon.
2634
2635        Fix input element does not accept character typed in using AltGr.
2636
2637        EditorClient is modified to catch AltGr and Ctrl+Alt key combination.
2638        This fixes http://trolltech.com/developer/task-tracker/index_html?id=207050&method=entry
2639
2640        * WebCoreSupport/EditorClientQt.cpp:
2641        (WebCore::EditorClientQt::handleKeyboardEvent):
2642
26432008-05-26  Jonathon Jongsma  <jonathon.jongsma@collabora.co.uk>
2644
2645        Reviewed by Simon.
2646
2647        https://bugs.webkit.org/show_bug.cgi?id=19323
2648
2649        Implemented the QWebPage::editable property.
2650
2651        Small documentation fixes by Simon.
2652
2653        * Api/qwebpage.cpp:
2654        (QWebPagePrivate::QWebPagePrivate):
2655        (QWebPage::setEditable):
2656        (QWebPage::isEditable):
2657        * Api/qwebpage.h:
2658        * Api/qwebpage_p.h: implement the editable property and add API so that
2659        applications can switch edit mode on and off for a particular QWebPage
2660        * WebCoreSupport/EditorClientQt.cpp: retrieve editable property from the
2661        QWebPage instead of always returning false
2662
26632008-06-09  Tor Arne Vestbø  <tavestbo@trolltech.com>
2664
2665        Reviewed by Simon
2666
2667        Make sure web action in context menus have the right enablement,
2668        while not messing up other web actions not included in the menu.
2669
2670        * Api/qwebpage.cpp:
2671        (QWebPagePrivate::createContextMenu):
2672        (QWebPage::updatePositionDependentActions):
2673        * Api/qwebpage_p.h:
2674
26752008-06-09  Benjamin C Meyer  <ben@meyerhome.net>
2676
2677        Reviewed by Simon
2678
2679        Add Shift-Space shortcut to go up one screen, the opposite of Space
2680        which goes down one screen.
2681
2682        * Api/qwebpage.cpp:
2683        (QWebPagePrivate::handleScrolling):
2684
26852008-06-04  Tor Arne Vestbø  <tavestbo@trolltech.com>
2686
2687        Reviewed by Simon.
2688
2689        Fix a failing assertion when calling QWebFrame::evaluateJavaScript.
2690
2691        The starting line number has to be 1 instead of 0.
2692
2693        * Api/qwebframe.cpp:
2694        (QWebFrame::evaluateJavaScript):
2695
26962008-06-03  Jonathon Jongsma  <jonathon.jongsma@collabora.co.uk>
2697
2698        Reviewed by Darin Adler.
2699
2700        * Api/qwebhistoryinterface.cpp: Remove WebCore::historyContains().  This
2701        function is not used anywhere internally and is only a convenience
2702        function that can still be accomplished using
2703        QWebHistoryInterface::historyContains();
2704
27052008-05-29  Kavindra Devi Palaraja  <kdpalara@trolltech.com>
2706
2707        Reviewed by Simon.
2708
2709        Doc: Mention the requirement of a QApplication with QtWebKit
2710
2711
2712        * Api/qwebview.cpp:
2713
27142008-05-29  David Boddie  <dboddie@trolltech.com>
2715
2716        Reviewed by Simon.
2717
2718        Some clarifications for the documentation.
2719
2720
2721        * Api/qwebpage.cpp:
2722        * Api/qwebpluginfactory.cpp:
2723
27242008-05-27  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2725
2726        Reviewed by Simon.
2727
2728        Fix web inspector does not returns its state properly after its window is minimized.
2729
2730        As hinted by Holger, InspectorClientView::hideEvent is not needed.
2731        This fixes bug https://bugs.webkit.org/show_bug.cgi?id=18967
2732
2733        * WebCoreSupport/InspectorClientQt.cpp:
2734
27352008-05-21  Siraj Razick  <siraj.razick@collabora.co.uk>
2736
2737        Reviewed by Simon.
2738
2739        Add <param name="classid"/> support for application/x-qt-object plugins
2740
2741        * WebCoreSupport/FrameLoaderClientQt.cpp:
2742        (WebCore::FrameLoaderClientQt::createPlugin):
2743
27442008-05-13  Andy Shaw  <andy@trolltech.com>
2745
2746        Reviewed by Simon.
2747
2748        Fixes: QWebHistory::forward() should go forwards and not back
2749
2750        * Api/qwebhistory.cpp:
2751
27522008-05-12  Alexey Proskuryakov  <ap@webkit.org>
2753
2754        Roll out recent  threading changes (r32807, r32810, r32819, r32822) to simplify
2755        SquirrelFish merging.
2756
2757        * Api/qwebframe.cpp:
2758        (QWebFrame::addToJavaScriptWindowObject):
2759
27602008-05-09  Thiago Macieira  <tjmaciei@trolltech.com>
2761
2762        Reviewed by Simon.
2763
2764        Fix bad includes in QtWebKit public headers.
2765
2766        Make sure to include qglobal.h using the QtCore prefix so that an explicit
2767        include/QtCore is not needed in the application's build system. Also make sure
2768        that qwebsettings.h includes the local qwebkitglobal.h.
2769
2770
2771        * Api/qwebkitglobal.h:
2772        * Api/qwebsettings.h:
2773
27742008-05-08  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
2775
2776        Reviewed by Simon.
2777
2778        https://bugs.webkit.org/show_bug.cgi?id=18935
2779
2780        Based on work by Sriram Neelakandan for the Gtk port.
2781
2782        * WebCoreSupport/FrameLoaderClientQt.cpp: Initialize
2783        m_hasSentResponseToPlugin.
2784        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2785        (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2786
27872008-05-08  Warwick Allison  <warwick@trolltech.com>
2788
2789        Reviewed by Simon.
2790
2791        Fixes: WebKit expects initial input method state to be *disabled*.
2792
2793        At least QWS does not need the initial input method state to be forced to
2794        enabled, but other platforms (esp. X11) do. Until fixed/tested on those
2795        platforms, this is specific to QWS.
2796
2797
2798        * Api/qwebview.cpp:
2799        (QWebView::QWebView):
2800
28012008-05-06  Simon Hausmann  <hausmann@webkit.org>
2802
2803        Reviewed by Holger.
2804
2805        Fix logic error in QWebHitTestResult::isNull().
2806
2807        * Api/qwebframe.cpp:
2808
28092008-05-02  Benjamin Meyer  <bmeyer@trolltech.com>
2810
2811        Reviewed by Simon.
2812
2813        Doc: Mention that you have to enable plugins in QWebSettings for them to work.
2814
2815        * Api/qwebpage.cpp:
2816
28172008-05-02  Simon Hausmann  <hausmann@webkit.org>
2818
2819        Fix the Qt build, ExecState is required here.
2820
2821        * Api/qwebframe.cpp:
2822        (QWebFrame::addToJavaScriptWindowObject):
2823
28242008-05-01  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
2825
2826        Reviewed by Alp Toker.
2827        Qt parts OK'ed by Simon Hausmann.
2828
2829        https://bugs.webkit.org/show_bug.cgi?id=14750
2830        Added support for NPAPI plugins on Gtk and Qt-x11 ports.
2831
2832        * WebCoreSupport/FrameLoaderClientQt.cpp:
2833        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2834        (WebCore::FrameLoaderClientQt::finishedLoading):
2835        (WebCore::FrameLoaderClientQt::setMainDocumentError):
2836        (WebCore::FrameLoaderClientQt::committedLoad):
2837        (WebCore::FrameLoaderClientQt::objectContentType):
2838        (WebCore::FrameLoaderClientQt::createPlugin):
2839        (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2840        * WebCoreSupport/FrameLoaderClientQt.h:
2841
28422008-04-30  Julien Chaffraix  <jchaffraix@webkit.org>
2843
2844        Qt 4.3 build fix.
2845
2846        Fixes a brace error that made Qt 4.4 build but not Qt 4.3.
2847
2848        * Api/qwebview.cpp:
2849        (QWebView::event):
2850
28512008-04-30  Tor Arne Vestbø  <tavestbo@trolltech.com>
2852
2853        Reviewed by Simon.
2854
2855        In focusIn and focusOut event always update the active state of the
2856        focus controller. Fixes ~400 failing layout tests due to missing
2857        editing callbacks that relied on the correct focus.
2858
2859        * Api/qwebpage.cpp:
2860        (QWebPagePrivate::focusInEvent):
2861        (QWebPagePrivate::focusOutEvent):
2862
28632008-04-29  Lincoln Ramsay  <lincoln.ramsay@trolltech.com>
2864
2865        Reviewed by Simon.
2866
2867        Fix compilation with QT_NO_PRINTER
2868
2869
2870        * Api/qwebview.cpp:
2871        (QWebView::print):
2872
28732008-04-29  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2874
2875        Reviewed by Simon.
2876
2877        Ensure that relative URL is converted to absolute URL.
2878
2879        This is necessary because loading a relative URL is not really supported
2880        (the web page may load, but the subsequent URLs for images and links will
2881        not be resolved properly).
2882        This also fixes https://bugs.webkit.org/show_bug.cgi?id=18484
2883
2884
2885        * Api/qwebframe.cpp:
2886        (ensureAbsoluteUrl):
2887        (QWebFrame::setUrl):
2888        (QWebFrame::load):
2889
28902008-04-29  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2891
2892        Reviewed by Simon.
2893
2894        Simplification of Qt Launcher (no animation and use standard progress bar widget)
2895
2896        Status bar shows the hovered link without any animation. Progress bar just uses the standard QProgressBar (no custom widget). The launcher is leaner and faster to use under the debugger and/or valgrind.
2897
2898
2899        * QtLauncher/main.cpp:
2900        (MainWindow::MainWindow):
2901
29022008-04-29  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2903
2904        Reviewed by Simon.
2905
2906        Update the cursor when the frame/page loading is finished.
2907
2908        This fixes https://bugs.webkit.org/show_bug.cgi?id=18712
2909
2910
2911        * WebCoreSupport/FrameLoaderClientQt.cpp:
2912        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2913        (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
2914
29152008-04-29  Simon Hausmann  <shausman@trolltech.com>
2916
2917        Reviewed by Holger.
2918
2919        Fixes: QWebPage::acceptNavigationRequest not being called / linkClicked() not being emitted when clicking on <a href="..." target="_blank"> kind of links.
2920
2921        Call QWebPage::acceptNavigationRequest when the creation of a new window with
2922        URL is requested. The frame pointer is set to null in this case.
2923
2924
2925        * Api/qwebpage.cpp:
2926        (QWebPage::setViewportSize):
2927        * WebCoreSupport/FrameLoaderClientQt.cpp:
2928        (WebCore::FrameLoaderClientQt::startDownload):
2929        (WebCore::FrameLoaderClientQt::createFrame):
2930
29312008-04-29  Holger Hans Peter Freyther  <zecke@selfish.org>
2932
2933        Reviewed by Simon.
2934
2935        Use the WebCore facility to do the scrolling. Move some code around.
2936
2937        * Api/qwebpage.cpp:
2938        (QWebPagePrivate::keyPressEvent):
2939        (QWebPagePrivate::shortcutOverrideEvent):
2940        (QWebPagePrivate::handleScrolling):
2941        * Api/qwebpage_p.h:
2942
29432008-04-29  Ariya Hidayat  <ariya.hidayat@trolltech.com>
2944
2945        Reviewed by Simon.
2946
2947        fix potential crash when loading image(s)
2948
2949        Crash may occur. If compiled with 4.3, the variable is not initialized.
2950
2951        * Api/qwebpage.cpp:
2952        (QWebPagePrivate::QWebPagePrivate):
2953
29542008-04-29  Holger Hans Peter Freyther  <zecke@selfish.org>
2955
2956        Reviewed by Simon.
2957
2958        Calling QWebView::setCursor will override the WebCore Cursor.
2959        Calling QWebView::setCursor will override the WebCore Cursor using
2960        QWidget::unsetCursor will revert to the WebCore Cursor.
2961
2962        For detecting the unset we have to compare the shape of the
2963        cursor to the default arrow. Qt::WA_SetCursor can not be used
2964        as it is set unconditionally but conditionally removed.
2965
2966        Calling QWidget::setCursor will immediately send the CursorChange
2967        event. We listen to this event to decide if we currently use a
2968        WebCore cursor, got a cursor from outside, or revert to the default.
2969
2970        This should be race free and work reliable, the manual test for this
2971        is WebCore/manual-tests/cursor.html
2972
2973        * Api/qwebpage.cpp:
2974        (SetCursorEvent::SetCursorEvent):
2975        * Api/qwebpage_p.h:
2976        * Api/qwebview.cpp:
2977        (QWebViewPrivate::QWebViewPrivate):
2978        (QWebViewPrivate::setCursor):
2979        (QWebView::QWebView):
2980        (QWebView::event):
2981
29822008-04-29  Kavindra Devi Palaraja  <kdpalara@trolltech.com>
2983
2984        Reviewed by Simon.
2985
2986        Documentation fixes:
2987
2988        - Fixed a qdoc warning
2989        - Mention that fav icons can be of arbitrary size
2990        - Fix signature of QWebPage::acceptNavigationRequest show in the documentation
2991
2992        * Api/qwebframe.cpp:
2993        * Api/qwebpage.cpp:
2994        * Api/qwebpage.h:
2995        * Api/qwebsettings.cpp:
2996        * Api/qwebview.cpp:
2997
29982008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
2999
3000        Reviewed by Simon.
3001
3002        Fix QWebView::loadFinished isn't always emitted
3003
3004        Replaced loadDone() with loadFinished(bool) and moved the signals for progress
3005        tracking (start, progres, and finish) to the page instead of the frame. This
3006        ensures that we emit loadFinished even when a subframe started the actual load.
3007
3008        This causes a few regressions in the layout tests that we for now accept for
3009        the sake of the correct API. Layout tests we can fix any time though, including
3010        patch release, the API however we can't change anymore in patch releases.
3011
3012        * Api/qwebframe.cpp:
3013        * Api/qwebframe.h:
3014        * Api/qwebpage.cpp:
3015        (QWebPage::totalBytes):
3016        * Api/qwebpage.h:
3017        * Api/qwebview.cpp:
3018        (QWebView::setPage):
3019        * Api/qwebview.h:
3020        * QtLauncher/main.cpp:
3021        (MainWindow::MainWindow):
3022        * WebCoreSupport/FrameLoaderClientQt.cpp:
3023        (drtDescriptionSuitableForTestResult):
3024        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3025        (WebCore::FrameLoaderClientQt::setFrame):
3026        (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
3027        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
3028        (WebCore::FrameLoaderClientQt::willChangeTitle):
3029        (WebCore::FrameLoaderClientQt::createDocumentLoader):
3030        (WebCore::FrameLoaderClientQt::download):
3031        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3032        * WebCoreSupport/FrameLoaderClientQt.h:
3033
30342008-04-28  Kavindra Devi Palaraja  <kdpalara@trolltech.com>
3035
3036        Reviewed by Simon.
3037
3038        Added more documentation for QWebSettings, QWebPluginFactory and QWebFrame
3039
3040        * Api/qwebframe.cpp:
3041        * Api/qwebpluginfactory.cpp:
3042        * Api/qwebsettings.cpp:
3043        (QWebSettings::QWebSettings):
3044        (QWebSettings::setUserStyleSheetUrl):
3045        (QWebSettings::iconForUrl):
3046        (QWebSettings::webGraphic):
3047        (QWebSettings::maximumPagesInCache):
3048        (QWebSettings::setFontFamily):
3049        (QWebSettings::resetFontFamily):
3050        (QWebSettings::testAttribute):
3051        (QWebSettings::resetAttribute):
3052
30532008-04-28  Ariya Hidayat  <ahidayat@trolltech.com>
3054
3055        Reviewed by Simon.
3056
3057        Fix document/frame title not reset when loading a new URI
3058
3059        We should assume first the frame has no title. If it has, then the dispatchDidReceiveTitle()
3060        will be called very soon with the correct title.
3061        This properly resets the title when we navigate to a URI without a title.
3062
3063
3064        * WebCoreSupport/FrameLoaderClientQt.cpp:
3065
30662008-04-28  David Boddie  <dboddie@trolltech.com>
3067
3068        Reviewed by Simon.
3069
3070        Minor documentation changes.
3071
3072        * Api/qwebview.cpp:
3073
30742008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
3075
3076        Reviewed by Simon.
3077
3078        Prevent middle-click from triggering open URL from clipboard when the event has already been accepted.
3079
3080
3081        * Api/qwebpage.cpp:
3082        (QWebPagePrivate::mouseMoveEvent):
3083        (QWebPagePrivate::mousePressEvent):
3084        (QWebPagePrivate::mouseDoubleClickEvent):
3085        (QWebPagePrivate::mouseTripleClickEvent):
3086        (QWebPagePrivate::mouseReleaseEvent):
3087
30882008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
3089
3090        Reviewed by Simon.
3091
3092        Fix scrollbar behavior in QtWebKit to match QScrollBar.
3093
3094        Right click context menu is now supported, along with
3095        middle click to center slider thumb over mouse cursor.
3096
3097
3098        * Api/qwebpage.cpp:
3099        (QWebPage::linkDelegationPolicy):
3100
31012008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
3102
3103        Reviewed by Simon.
3104
3105        Implemented channel-based logging for QtWebKit.
3106
3107        Comma-separated log channels are read from the QT_WEBKIT_LOG environment variable.
3108        Warnings for notImplemented() is still output by default, but can be disabled
3109        by setting DISABLE_NI_WARNINGS=1.
3110
3111        * Api/qwebpage.cpp:
3112        (QWebPagePrivate::QWebPagePrivate):
3113
31142008-04-28  Simon Hausmann  <shausman@trolltech.com>
3115
3116        Rubber-stamped by Lars
3117
3118        Removed setHtml(const QByteArray &) overload as it breaks the common use of the setHtml() API.
3119
3120        * Api/qwebframe.cpp:
3121        * Api/qwebframe.h:
3122        * Api/qwebview.cpp:
3123        * Api/qwebview.h:
3124
31252008-04-28  Kavindra Devi Palaraja  <kdpalara@trolltech.com>
3126
3127        Reviewed by Simon.
3128
3129        Doc - adding more documentation to QWebFrame, QWebPage and QWebView
3130
3131
3132        * Api/qwebframe.cpp:
3133        * Api/qwebpage.cpp:
3134        * Api/qwebview.cpp:
3135        (QWebView::stop):
3136        (QWebView::back):
3137        (QWebView::changeEvent):
3138
31392008-04-28  Simon Hausmann  <shausman@trolltech.com>
3140
3141        Reviewed by Holger.
3142
3143        Fixes: Popups/Context menu in WebKit appearing at the wrong location when embedded in the graphics view or using multiple screens
3144
3145        Give the popups the right parent widget and the right coordinates relative within the parent.
3146
3147
3148        * Api/qwebpage.cpp:
3149
31502008-04-28  Benjamin Meyer  <bmeyer@trolltech.com>
3151
3152        Reviewed by Simon.
3153
3154        Doc: Add see also's (and a few minor whitespace/typo corrections)
3155
3156
3157        * Api/qwebframe.cpp:
3158        (QWebFrame::~QWebFrame):
3159        (QWebFrame::setHtml):
3160        (QWebFrame::setContent):
3161        (QWebFrame::parentFrame):
3162        (QWebFrame::childFrames):
3163        (QWebFrame::setScrollBarValue):
3164        (QWebFrame::scrollBarValue):
3165        (QWebFrame::scrollBarMaximum):
3166        (QWebFrame::scrollBarMinimum):
3167        (QWebFrame::render):
3168        (QWebFrame::pos):
3169        (QWebFrame::geometry):
3170        (QWebFrame::print):
3171        (QWebFrame::evaluateJavaScript):
3172        * Api/qwebpage.cpp:
3173        (QWebPagePrivate::mousePressEvent):
3174        (QWebPagePrivate::mouseDoubleClickEvent):
3175        (QWebPage::~QWebPage):
3176        (QWebPage::javaScriptPrompt):
3177        (openNewWindow):
3178        (QWebPage::setViewportSize):
3179        (QWebPage::acceptNavigationRequest):
3180        (QWebPage::action):
3181        (QWebPage::userAgentForUrl):
3182        (QWebPagePrivate::_q_onLoadProgressChanged):
3183        * Api/qwebview.cpp:
3184        (QWebView::event):
3185
31862008-04-28  Kavindra Devi Palaraja  <kdpalara@trolltech.com>
3187
3188        Reviewed by Simon.
3189
3190        Submitting more documentation for QWebPage
3191
3192
3193        * Api/qwebpage.cpp:
3194
31952008-04-28  Lincoln Ramsay  <lincoln.ramsay@trolltech.com>
3196
3197        Reviewed by Simon.
3198
3199        Compile when QT_NO_CLIPBOARD is defined.
3200
3201
3202        * Api/qwebpage.cpp:
3203        (QWebPage::triggerAction):
3204
32052008-04-28  David Boddie  <dboddie@trolltech.com>
3206
3207        Reviewed by Simon.
3208
3209        Minor documentation fix.
3210
3211
3212        * Api/qwebhistory.cpp:
3213
32142008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
3215
3216        Reviewed by Simon.
3217
3218        Implement QWebPage::createPlugin
3219
3220        The code is coming from the demo browser and needed here
3221        for some manual tests.
3222
3223
3224        * QtLauncher/QtLauncher.pro:
3225        * QtLauncher/main.cpp:
3226        (WebPage::createPlugin):
3227
32282008-04-28  Simon Hausmann  <hausmann@webkit.org>
3229
3230        Qt/Win build fix. Include config.h to get the implicit MathExtras.h
3231        inclusion correct with regards to rand_s.
3232
3233        * Api/qwebhistory.cpp:
3234
32352008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
3236
3237        Reviewed by Simon.
3238
3239        https://bugs.webkit.org/show_bug.cgi?id=18713
3240
3241        Fix scrollbar painting issues in QtWebKit.
3242
3243        Hovering and click-draging outside of the scrollbar would
3244        produce unexpected and inconcistent results. We also didn't
3245        pass on leave-events to the underlying WebKit code, which
3246        was nessecary to implement the paint fix.
3247
3248        Note: The event handling of the Leave event should be moved
3249        out of QWebView::event() and into a proper override for 4.5.
3250
3251        * Api/qwebpage.cpp:
3252        (QWebPagePrivate::leaveEvent):
3253        * Api/qwebpage_p.h:
3254        * Api/qwebview.cpp:
3255        (QWebView::event):
3256
32572008-04-25  Benjamin Meyer  <bmeyer@trolltech.com>
3258
3259        Reviewed by Simon, Holger.
3260
3261        Fixed focus handling when a node is focused while the corresponding QWebPage does not have the focus.
3262
3263        * Correctly de- and reactivate the focused frame in focusOut/focusInEvent
3264        without telling the focus controller. We don't want to change the focused frame
3265        - the controller has to remember it in fact - but instead just deactivate the
3266        frame for correct painting as RenderTheme::isFocused() uses the activation
3267        state of the frame.
3268
3269        * Api/qwebpage.cpp:
3270        (QWebPagePrivate::focusInEvent):
3271        (QWebPagePrivate::focusOutEvent):
3272
32732008-04-25  Kavindra Devi Palaraja  <kdpalara@trolltech.com>
3274
3275        Reviewed by Simon.
3276
3277        completed documentation for the Detailed Description section for QWebView
3278
3279
3280        * Api/qwebview.cpp:
3281
32822008-04-25  Denis Dzyubenko  <denis.dzyubenko@trolltech.com>
3283
3284        Reviewed by Simon.
3285
3286        Fixed the way QWebHistory works - when you call back(), forward() or goToItem() functions it changes the current item in history *and* loads the corresponding page.
3287
3288
3289        * Api/qwebhistory.cpp:
3290        (QWebHistory::back):
3291        (QWebHistory::forward):
3292        (QWebHistory::goToItem):
3293
32942008-04-25  Tor Arne Vestbø  <tavestbo@trolltech.com>
3295
3296        Reviewed by Simon.
3297
3298        Fix resubmit of HTML forms when initially denied by QWebPage::acceptNavigationRequest().
3299
3300
3301        * WebCoreSupport/FrameLoaderClientQt.cpp:
3302        (WebCore::FrameLoaderClientQt::createFrame):
3303
33042008-04-25  Simon Hausmann  <hausmann@webkit.org>
3305
3306        Reviewed by Holger.
3307
3308        When pressing backspace in a line edit in a webpage we should not go back to the previous page.
3309
3310        The shortcut for back on Windows is backspace. Implemented shortcut override
3311        handling in QWebView/QWebPage to prevent this.
3312
3313
3314        * Api/qwebpage.cpp:
3315        (QWebPagePrivate::wheelEvent):
3316        (editorActionForKeyEvent):
3317        (QWebPagePrivate::keyPressEvent):
3318        (QWebPagePrivate::inputMethodEvent):
3319        (QWebPagePrivate::shortcutOverrideEvent):
3320        (QWebPage::event):
3321        * Api/qwebpage_p.h:
3322        * Api/qwebview.cpp:
3323        (QWebView::event):
3324
33252008-04-25  Ariya Hidayat  <ariya.hidayat@trolltech.com>
3326
3327        Reviewed by Simon.
3328
3329        Fix triple-clicking does not work in a web page
3330
3331
3332        * Api/qwebpage.cpp:
3333        (QWebPagePrivate::updateEditorActions):
3334        (QWebPagePrivate::timerEvent):
3335        (QWebPagePrivate::mousePressEvent):
3336        (QWebPagePrivate::mouseDoubleClickEvent):
3337        (QWebPage::undoStack):
3338        * Api/qwebpage_p.h:
3339
33402008-04-25  Benjamin Meyer  <bmeyer@trolltech.com>
3341
3342        Reviewed by Simon.
3343
3344        When pressing Ctrl-Up the keyboard modifiers could include other modifiers
3345
3346
3347        * Api/qwebpage.cpp:
3348        (QWebPagePrivate::keyPressEvent):
3349
33502008-04-25  Tor Arne Vestbø  <tavestbo@trolltech.com>
3351
3352        Reviewed by Simon.
3353
3354        Fix handling of Javascript's confirm() function in QtWebKit.
3355
3356
3357        * Api/qwebpage.cpp:
3358
33592008-04-25  Kavindra Devi Palaraja  <kdpalara@trolltech.com>
3360
3361        Reviewed by Simon.
3362
3363        Doc - added a screenshot, flowchart, and a snippet to the QWebView documentation to improve clarity
3364
3365
3366        * Api/qwebview.cpp:
3367
33682008-04-25  Benjamin Meyer  <bmeyer@trolltech.com>
3369
3370        Reviewed by Simon.
3371
3372        QWebPage: missing signal when window.print() is requested from javascript
3373
3374
3375        * Api/qwebpage.cpp:
3376        * Api/qwebpage.h:
3377        * WebCoreSupport/ChromeClientQt.cpp:
3378
33792008-04-25  Benjamin Meyer  <bmeyer@trolltech.com>
3380
3381        Reviewed by Simon.
3382
3383        Fixes: "Save Image" action wasn't doing anything.
3384
3385
3386        * Api/qwebpage.cpp:
3387        (QWebPage::triggerAction):
3388
33892008-04-25  Benjamin Meyer  <bmeyer@trolltech.com>
3390
3391        Reviewed by Simon.
3392
3393        Apply key event changes to the current frame, not the main frame.
3394
3395        Example: hitting space bar should scroll current frame, not the main frame
3396        which doesn't even have a scrollbar.
3397
3398
3399        * Api/qwebpage.cpp:
3400        (QWebPagePrivate::keyPressEvent):
3401
34022008-04-25  Benjamin Meyer  <bmeyer@trolltech.com>
3403
3404        Reviewed by Simon.
3405
3406        Fixes: QWebFrame crash when fetching the icon
3407
3408        Just call QWebSettings::iconForUrl to not duplicate code and obey the mutex lock.
3409
3410        * Api/qwebframe.cpp:
3411
34122008-04-25  Warwick Allison  <warwick@trolltech.com>
3413
3414        Reviewed by Simon.
3415
3416        Fixes: Scrollbars did not report correct maximum.
3417
3418        * Api/qwebframe.cpp:
3419
34202008-04-25  David Boddie <dboddie@trolltech.com>
3421
3422        Reviewed by Simon.
3423
3424        Documentation updates for some of the QWeb classes
3425
3426        * Api/qwebframe.cpp:
3427        * Api/qwebhistory.cpp:
3428        * Api/qwebsettings.cpp:
3429        * Api/qwebview.cpp:
3430
34312008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
3432
3433        Reviewed by Simon.
3434
3435        Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
3436
3437        Similar to Editing and Frameloading we do the dumping within WebCore
3438
3439
3440        * WebCoreSupport/FrameLoaderClientQt.cpp:
3441        (qt_dump_frame_loader):
3442        (qt_dump_resource_load_callbacks):
3443        (drtDescriptionSuitableForTestResult):
3444        (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3445        (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3446        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3447
34482008-04-24  Anders Carlsson  <andersca@apple.com>
3449
3450        Reviewed by Sam.
3451
3452        Change some String arguments to be const references instead.
3453
3454        * WebCoreSupport/EditorClientQt.cpp:
3455        (WebCore::EditorClientQt::shouldInsertText):
3456        * WebCoreSupport/EditorClientQt.h:
3457
34582008-04-24  Holger Hans Peter Freyther  <zecke@selfish.org>
3459
3460        Reviewed by Simon.
3461
3462        Cosmetic changes to make the code more readable.
3463        -Early exit if we don't have a webview
3464        -handle the empty tooltip and non-empty tooltip case separately
3465
3466
3467        * WebCoreSupport/ChromeClientQt.cpp:
3468        (WebCore::ChromeClientQt::setToolTip):
3469        (WebCore::ChromeClientQt::print):
3470
34712008-04-24  Paul Olav Tvete  <paul@trolltech.com>
3472
3473        Reviewed by Simon.
3474
3475        Automatically wrap tooltip text and hide a shown tooltip when it is empty.
3476
3477        QWidget::setTooltip("") will still show the old tooltip for up to 10 seconds.
3478        Workaround as discussed with Matthias.
3479
3480        * WebCoreSupport/ChromeClientQt.cpp:
3481        (WebCore::ChromeClientQt::setToolTip):
3482
34832008-04-24  Holger Hans Peter Freyther  <zecke@selfish.org>
3484
3485        Reviewed by Simon.
3486
3487        Allow to disable caching completeley by calling setObjectCacheCapacities(0, 0, 0)
3488
3489        * Api/qwebsettings.cpp:
3490        (QWebSettings::setObjectCacheCapacities):
3491
34922008-04-24  Benjamin Meyer  <bmeyer@trolltech.com>
3493
3494        Reviewed by Simon.
3495
3496        Improve keyboard scrolling
3497
3498        Match Down/Up keys scroll distance with Safari (i.e. faster) and add Home and End shortcuts to scroll to the top/botom.
3499
3500
3501        * Api/qwebpage.cpp:
3502        (QWebPagePrivate::keyPressEvent):
3503
35042008-04-24  Olivier Goffart  <ogoffart@trolltech.com>
3505
3506        Reviewed by Simon.
3507
3508        Fix various compiler warnings in the Qt port.
3509
3510        * Api/qwebframe.cpp:
3511        (QWebFrame::print):
3512        * Api/qwebsettings.cpp:
3513        (graphics):
3514        * WebCoreSupport/FrameLoaderClientQt.cpp:
3515        (WebCore::FrameLoaderClientQt::createPlugin):
3516
35172008-04-24  Tor Arne Vestbø  <tavestbo@trolltech.com>
3518
3519        Reviewed by Simon.
3520
3521        Cleaned up copyright headers (removed misplaced class descriptions and
3522        fixed inconsistent whitespace and indentation).
3523
3524        * Api/qwebframe.cpp:
3525        * Api/qwebframe.h:
3526        * Api/qwebframe_p.h:
3527        * Api/qwebhistory.cpp:
3528        * Api/qwebhistory.h:
3529        * Api/qwebhistory_p.h:
3530        * Api/qwebhistoryinterface.cpp:
3531        * Api/qwebhistoryinterface.h:
3532        * Api/qwebkitglobal.h:
3533        * Api/qwebnetworkinterface.cpp:
3534        * Api/qwebnetworkinterface.h:
3535        * Api/qwebnetworkinterface_p.h:
3536        * Api/qwebpage.cpp:
3537        * Api/qwebpage.h:
3538        * Api/qwebpage_p.h:
3539        * Api/qwebpluginfactory.cpp:
3540        * Api/qwebpluginfactory.h:
3541        * Api/qwebsettings.cpp:
3542        * Api/qwebsettings.h:
3543        * Api/qwebview.h:
3544        * QtLauncher/main.cpp:
3545
35462008-04-24  Tor Arne Vestbø  <tavestbo@trolltech.com>
3547
3548        Reviewed by Simon.
3549
3550        Added basic URL guessing to QtLauncher (same as in the demo browser).
3551
3552
3553        * QtLauncher/main.cpp:
3554        (MainWindow::changeLocation):
3555        (MainWindow::guessUrlFromString):
3556
35572008-04-24  Benjamin Meyer  <bmeyer@trolltech.com>
3558
3559        Reviewed by Simon Hausmann <hausmann@webkit.org>.
3560
3561        Prevent double deletions of the default web interface.
3562
3563
3564        * Api/qwebhistoryinterface.cpp:
3565        (gCleanupInterface):
3566        (QWebHistoryInterface::QWebHistoryInterface):
3567
35682008-04-23  Simon Hausmann  <hausmann@webkit.org>
3569
3570        Fix compilation against Qt 4.3
3571
3572        * Api/qwebpage.cpp:
3573        (QWebPage::userAgentForUrl):
3574        * QtLauncher/main.cpp:
3575        (main):
3576
35772008-04-23  Holger Hans Peter Freyther  <zecke@selfish.org>
3578
3579        Reviewed by Simon.
3580
3581        * Make sure the "Inspect Element" item gets added to the ContextMenu, a call
3582        to ContextMenu::populate() is not adding it, the ContextMenuController does
3583        add it after the call to populate(). Do that as well.
3584
3585
3586        * Api/qwebpage.cpp:
3587        (QWebPage::updatePositionDependentActions):
3588
35892008-04-23  Simon Hausmann  <hausmann@webkit.org>
3590
3591        Reviewed by Holger.
3592
3593        Fix crashes on window.close().
3594
3595        We should not delete the QWebPage object in the ChromeClient but leave it up to
3596        the application when and whether to delete a browser window. For this we now
3597        emit the windowCloseRequested() signal.
3598
3599        Done with Tor Arne.
3600
3601        * Api/qwebpage.cpp:
3602        * Api/qwebpage.h:
3603        * QtLauncher/main.cpp:
3604        (MainWindow::MainWindow):
3605        * WebCoreSupport/ChromeClientQt.cpp:
3606
36072008-04-23  Simon Hausmann  <hausmann@webkit.org>
3608
3609        Reviewed by Holger.
3610
3611        Fix parsing of external scripts/stylesheets when using setHtml(const QString &html).
3612
3613        We used to pass the html string to the frameloader in utf-16, which also meant that the default
3614        encoding of external scripts/stylesheets became utf-16. That doesn't make sense, so assume utf-8
3615        by default. This is now also documented.
3616
3617        * Api/qwebframe.cpp:
3618        (QWebFrame::setHtml):
3619        * Api/qwebview.cpp:
3620
36212008-04-23  Benjamin Meyer  <bmeyer@trolltech.com>
3622
3623        Reviewed by Simon.
3624
3625        Fixes background color propagation when using a custom QWebPage
3626
3627        Set the palette in setPage(), not during the creation on-demand.
3628
3629
3630        * Api/qwebview.cpp:
3631        (QWebView::page):
3632        (QWebView::setPage):
3633
36342008-04-23  Benjamin Meyer  <bmeyer@trolltech.com>
3635
3636        Reviewed by Simon.
3637
3638        Fix the user agent on the mac to be BSD4
3639
3640        Put Q_OS_DARWIN before Q_OS_BSD4 sense they are both defined on the mac
3641
3642
3643        * Api/qwebpage.cpp:
3644        (QWebPage::userAgentForUrl):
3645
36462008-04-23  Simon Hausmann  <shausman@trolltech.com>
3647
3648        Reviewed by Holger.
3649
3650        Added missing copyright notice.
3651        Small fixes to the documentation.
3652
3653        * Api/qwebpluginfactory.cpp:
3654
36552008-04-23  Zack Rusin  <zack@tungstengraphics.com>
3656
3657        Reviewed by Simon.
3658
3659        Added a contentsSize() property.
3660
3661        * Api/qwebframe.cpp:
3662        (QWebFrame::contentsSize):
3663        (QWebFrame::hitTestContent):
3664        * Api/qwebframe.h:
3665
36662008-04-22  Benjamin Meyer  <bmeyer@trolltech.com>
3667
3668        Reviewed by Simon.
3669
3670        Fixes: QWebPage's QNetworkManager's can be shared among webpages.
3671
3672        Don't force the deletion of the object, but let QObject take care of it.
3673
3674        * Api/qwebpage.cpp:
3675
36762008-04-22  Simon Hausmann  <hausmann@webkit.org>
3677
3678        Reviewed by Holger.
3679
3680        Documentation for QWebPluginFactory and documentation updates for QWebPage.
3681
3682        * Api/qwebpage.cpp:
3683        (QWebPage::setLinkDelegationPolicy):
3684        (QWebPage::linkDelegationPolicy):
3685        (QWebPage::swallowContextMenuEvent):
3686        (QWebPage::updatePositionDependentActions):
3687        (QWebPage::extension):
3688        (QWebPage::networkAccessManager):
3689        * Api/qwebpluginfactory.cpp:
3690        (QWebPluginFactory::QWebPluginFactory):
3691        (QWebPluginFactory::~QWebPluginFactory):
3692        (QWebPluginFactory::refreshPlugins):
3693
36942008-04-22  Simon Hausmann  <hausmann@webkit.org>
3695
3696        Reviewed by Holger.
3697
3698        Added QWebPage::swallowContextMenuEvent and QWebPage::updatePositionDependentActions.
3699
3700
3701        * Api/qwebpage.cpp:
3702        (QWebPagePrivate::QWebPagePrivate):
3703        (QWebPagePrivate::mouseReleaseEvent):
3704        (QWebPage::setLinkDelegationPolicy):
3705        (QWebPage::linkDelegationPolicy):
3706        (QWebPage::swallowContextMenuEvent):
3707        (QWebPage::updatePositionDependentActions):
3708        * Api/qwebpage.h:
3709        * Api/qwebpage_p.h:
3710        * Api/qwebview.cpp:
3711        (QWebView::event):
3712
37132008-04-22  Simon Hausmann  <hausmann@webkit.org>
3714
3715        Reviewed by Holger.
3716
3717        Added Extension APIs for QWebPage.
3718
3719        * Api/qwebpage.cpp:
3720        (QWebPage::setLinkDelegationPolicy):
3721        (QWebPage::linkDelegationPolicy):
3722        (QWebPage::extension):
3723        * Api/qwebpage.h:
3724        * Api/qwebpluginfactory.cpp:
3725        (QWebPluginFactory::extension):
3726
37272008-04-22  Tor Arne Vestbø  <tavestbo@trolltech.com>
3728
3729        Reviewed by Simon.
3730
3731        Emit loadProgress() signal on loadStarted().
3732
3733
3734        * WebCoreSupport/FrameLoaderClientQt.cpp:
3735        (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3736
37372008-04-22  Zack Rusin  <zack@kde.org>
3738
3739        Reviewed by Simon.
3740
3741        Fix background propagation from the QWebView's palette.
3742
3743        The background brush of the palette needs to be propagated to the WebCore::FrameView.
3744
3745        * Api/qwebframe.cpp:
3746        (QWebFramePrivate::updateBackground):
3747        * Api/qwebframe_p.h:
3748        * Api/qwebpage.cpp:
3749        (QWebPagePrivate::dropEvent):
3750        (QWebPage::setPalette):
3751        * Api/qwebpage.h:
3752        * Api/qwebpage_p.h:
3753        * Api/qwebview.cpp:
3754        (QWebView::page):
3755        (QWebView::changeEvent):
3756        * Api/qwebview.h:
3757        * WebCoreSupport/FrameLoaderClientQt.cpp:
3758
37592008-04-22  Benjamin Meyer  <bmeyer@trolltech.com>
3760
3761        Reviewed by Simon.
3762
3763        Fix maps.google.com
3764
3765        We have to include a version in the Safari tag in the user-agent.
3766
3767        * Api/qwebpage.cpp:
3768        (QWebPage::userAgentForUrl):
3769
37702008-04-22  Tor Arne Vestbø  <tavestbo@trolltech.com>
3771
3772        Reviewed by Simon.
3773
3774        Add visual focusing hint for clear button and
3775        change focus to web page after user enters new URL.
3776
3777        * QtLauncher/main.cpp:
3778        (ClearButton::paintEvent):
3779        (MainWindow::changeLocation):
3780
37812008-04-22  Simon Hausmann  <hausmann@webkit.org>
3782
3783        Reviewed by Holger.
3784
3785        Added QWebFrame::hitTestContent() and QWebHitTestResult.
3786
3787        * Api/qwebframe.cpp:
3788        (QWebFrame::hitTestContent):
3789        (QWebFrame::event):
3790        (QWebHitTestResult::QWebHitTestResult):
3791        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
3792        (QWebHitTestResult::operator=):
3793        (QWebHitTestResult::~QWebHitTestResult):
3794        (QWebHitTestResult::isNull):
3795        (QWebHitTestResult::pos):
3796        (QWebHitTestResult::title):
3797        (QWebHitTestResult::linkText):
3798        (QWebHitTestResult::linkUrl):
3799        (QWebHitTestResult::linkTitle):
3800        (QWebHitTestResult::linkTargetFrame):
3801        (QWebHitTestResult::alternateText):
3802        (QWebHitTestResult::imageUrl):
3803        (QWebHitTestResult::pixmap):
3804        (QWebHitTestResult::isContentEditable):
3805        (QWebHitTestResult::isContentSelected):
3806        (QWebHitTestResult::frame):
3807        * Api/qwebframe.h:
3808        * Api/qwebframe_p.h:
3809        (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
3810        * Api/qwebpage.cpp:
3811        (QWebPagePrivate::contextMenuEvent):
3812        (QWebPage::triggerAction):
3813        * Api/qwebpage.h:
3814        * Api/qwebpage_p.h:
3815
38162008-04-22  Simon Hausmann  <hausmann@webkit.org>
3817
3818        Reviewed by Holger.
3819
3820        Don't crash if an input method query is done without a page.
3821
3822
3823        * Api/qwebview.cpp:
3824        (QWebView::inputMethodQuery):
3825
38262008-04-22  Simon Hausmann  <hausmann@webkit.org>
3827
3828        Reviewed by Holger.
3829
3830        Added re-implementations of QObject::event for future safety.
3831
3832        This makes it easier to fix bugs with the event handling even in patch releases
3833        and is a general style we follow in Qt.
3834
3835
3836        * Api/qwebframe.cpp:
3837        * Api/qwebframe.h:
3838        * Api/qwebview.cpp:
3839        (QWebView::event):
3840        * Api/qwebview.h:
3841
38422008-04-22  Benjamin Meyer  <bmeyer@trolltech.com>
3843
3844        Reviewed by Simon.
3845
3846        Fix construction of the user agent.
3847
3848        The user-agent is now composed of
3849        * the platform and subplatform
3850        * the Qt version or application name and version (if set)
3851        * the locale
3852        * the SSL settings
3853
3854
3855        * Api/qwebpage.cpp:
3856        (QWebPage::networkAccessManager):
3857        (QWebPage::setPluginFactory):
3858        (QWebPage::pluginFactory):
3859        (QWebPage::userAgentForUrl):
3860        * QtLauncher/main.cpp:
3861
38622008-04-22  Thiago Macieira  <tjmaciei@trolltech.com>
3863
3864        Reviewed by Simon.
3865
3866        Fixes: Pedantic compilation fix
3867
3868        Don't put semi-colons after braces closing namespaces.
3869
3870        * Api/qwebsettings.h:
3871
38722008-04-21  Simon Hausmann  <hausmann@webkit.org>
3873
3874        Reviewed by Lars.
3875
3876        Changed the return type of QWebFrame::evaluateJavaScript from a QString to a QVariant.
3877
3878        * Api/qwebframe.cpp:
3879        (QWebFrame::evaluateJavaScript):
3880        * Api/qwebframe.h:
3881
38822008-04-21  Simon Hausmann  <hausmann@webkit.org>
3883
3884        Reviewed by Holger.
3885
3886        Fixes redundant "Fonts" submenu in default lineedits that has only disabled items.
3887
3888        Don't show sub-menus that have only actions that are disabled.
3889
3890        * Api/qwebpage.cpp:
3891        (QWebPagePrivate::createContextMenu):
3892
38932008-04-21  Kavindra Devi Palaraja <kdpalara@trolltech.com>.
3894
3895        Reviewed by Simon.
3896
3897        Lots of documentation fixes, fixed all qdoc warnings.
3898
3899        * Api/qwebframe.cpp:
3900        (QWebFrame::setTextSizeMultiplier):
3901        * Api/qwebhistoryinterface.cpp:
3902        (gCleanupInterface):
3903        (QWebHistoryInterface::QWebHistoryInterface):
3904        (QWebHistoryInterface::~QWebHistoryInterface):
3905        * Api/qwebpage.cpp:
3906        (QWebPage::inputMethodQuery):
3907        (QWebPage::view):
3908        (QWebPage::javaScriptConsoleMessage):
3909        (QWebPage::javaScriptAlert):
3910        (QWebPage::javaScriptConfirm):
3911        (QWebPage::javaScriptPrompt):
3912        (QWebPage::viewportSize):
3913        (QWebPage::acceptNavigationRequest):
3914        (QWebPage::action):
3915        (QWebPage::event):
3916        (QWebPage::focusNextPrevChild):
3917        (QWebPage::setForwardUnsupportedContent):
3918        (QWebPage::setLinkDelegationPolicy):
3919        (QWebPage::findText):
3920        (QWebPage::settings):
3921        (QWebPage::networkProxy):
3922        (QWebPage::setNetworkAccessManager):
3923        * Api/qwebpage.h:
3924        * Api/qwebsettings.cpp:
3925        (QWebSettings::QWebSettings):
3926        (QWebSettings::setIconDatabasePath):
3927        (QWebSettings::iconForUrl):
3928        (QWebSettings::fontFamily):
3929        * Api/qwebview.cpp:
3930        (QWebView::load):
3931        * Api/qwebview.h:
3932
39332008-04-21  Marius Bugge Monsen  <mmonsen@trolltech.com>
3934
3935        Reviewed by Simon.
3936
3937        Fix compile failure on solaris-cc
3938
3939        * Api/qwebpage.h: Removed trailing semicolons and moved the private
3940        d-pointer to not confuse the compiler
3941
39422008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
3943
3944        Reviewed by Simon.
3945
3946        Build fix for Qt 4.3
3947
3948        * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
3949        always defined. Do this by adding defines to the compiler line
3950        * For users of our API this is not feasible. Every public header file should
3951        include qwebkitglobal.h. Define the QT_BEGIN_NAMESPACE and QT_END_NAMESPACE
3952        when we are building everything < 4.4.0 and don't have them defined.
3953
3954        * Api/qwebkitglobal.h:
3955
39562008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
3957
3958        Reviewed by Simon.
3959
3960        * Initialize the WebGraphics with the one found in WebCore
3961
3962
3963        * Api/qwebsettings.cpp:
3964        (QWebSettingsPrivate::apply):
3965
39662008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
3967
3968        Reviewed by Simon.
3969
3970        * Allow TextAreas to be resized.
3971        * No QWebSettings for this is introduced.
3972
3973
3974        * Api/qwebsettings.cpp:
3975        (QWebSettingsPrivate::apply):
3976
39772008-04-21  Simon Hausmann  <shausman@trolltech.com>
3978
3979        Reviewed by Holger.
3980
3981        Fixes: QWebView::url property behaviour strange in designer
3982
3983        Added QWebView/QWebFrame::setUrl, which unlike load() clears the view immediately, schedules a load of the url but also makes sure url() returns the set url. This setter is now also used for the url property.
3984
3985        * Api/qwebframe.cpp:
3986        (QWebFrame::setUrl):
3987        * Api/qwebframe.h:
3988        * Api/qwebview.cpp:
3989        (QWebView::setUrl):
3990        * Api/qwebview.h:
3991
39922008-04-21  Andre Poenitz  <andre.poenitz@trolltech.com>
3993
3994        Reviewed by Simon Hausmann <hausmann@webkit.org>.
3995
3996        Fix compilation with Qt namespaces
3997
3998        * Api/qwebframe.cpp:
3999        (QWebFrame::print):
4000        * Api/qwebview.h:
4001
40022008-04-21  Simon Hausmann  <hausmann@webkit.org>
4003
4004        Reviewed by Holger.
4005
4006        When printing on high resolution printers we need to scale the painter accordingly (for now).
4007
4008        * Api/qwebframe.cpp:
4009        (QWebFrame::print):
4010
40112008-04-21  Simon Hausmann  <hausmann@webkit.org>
4012
4013        Reviewed by Holger.
4014
4015        Provide a print preview in the QtLauncher
4016
4017        * QtLauncher/main.cpp:
4018        (MainWindow::MainWindow):
4019        (MainWindow::showLinkHover):
4020        (MainWindow::print):
4021
40222008-04-20  Simon Hausmann  <hausmann@webkit.org>
4023
4024        Reviewed by Alp Toker.
4025
4026        Share the printing code between the Gtk and the Qt port
4027        and added printing to the Qt WebKit API.
4028
4029        * Api/qwebframe.cpp:
4030        (QWebFrame::print):
4031        * Api/qwebframe.h:
4032        * Api/qwebview.cpp:
4033        (QWebView::print):
4034        * Api/qwebview.h:
4035
40362008-04-19  Julien Chaffraix  <jchaffraix@webkit.org>
4037
4038        Qt build fix (renderer() -> contentRenderer()).
4039
4040        * Api/qwebframe.cpp:
4041        (QWebFrame::renderTreeDump):
4042        (QWebFrame::render):
4043
40442008-04-18  Simon Hausmann  <hausmann@webkit.org>
4045
4046        Reviewed by Holger.
4047
4048        Many API changes and additions after a full review with Jasmin Blanchette <jasmin@trolltech.com>
4049
4050        The diff is too big to mention the changes individually, but most of the changes were of cosmetic
4051        nature where methods or enums have been renamed or prefixed/suffixed according to the consistency
4052        rules of the Qt API.
4053
4054        * Api/qwebframe.cpp:
4055        (QWebFrame::addToJavaScriptWindowObject):
4056        (QWebFrame::toHtml):
4057        (QWebFrame::toPlainText):
4058        (QWebFrame::icon):
4059        (QWebFrame::setContent):
4060        (QWebFrame::setScrollBarPolicy):
4061        (QWebFrame::render):
4062        (QWebFrame::setTextSizeMultiplier):
4063        (QWebFrame::textSizeMultiplier):
4064        (QWebFrame::pos):
4065        * Api/qwebframe.h:
4066        * Api/qwebhistory.cpp:
4067        * Api/qwebhistory.h:
4068        * Api/qwebpage.cpp:
4069        (QWebPagePrivate::QWebPagePrivate):
4070        (QWebPagePrivate::~QWebPagePrivate):
4071        (QWebPagePrivate::acceptNavigationRequest):
4072        (webActionForContextMenuAction):
4073        (QWebPagePrivate::updateAction):
4074        (QWebPagePrivate::keyPressEvent):
4075        (QWebPage::view):
4076        (QWebPage::javaScriptPrompt):
4077        (QWebPage::createWindow):
4078        (QWebPage::triggerAction):
4079        (QWebPage::setViewportSize):
4080        (QWebPage::acceptNavigationRequest):
4081        (QWebPage::action):
4082        (QWebPage::focusNextPrevChild):
4083        (QWebPage::setForwardUnsupportedContent):
4084        (QWebPage::forwardUnsupportedContent):
4085        (QWebPage::setLinkDelegationPolicy):
4086        (QWebPage::findText):
4087        (QWebPage::networkAccessManager):
4088        (QWebPageContext::imageUrl):
4089        (QWebPageContext::image):
4090        * Api/qwebpage.h:
4091        * Api/qwebpage_p.h:
4092        * Api/qwebsettings.cpp:
4093        (QWebSettingsPrivate::apply):
4094        (QWebSettings::QWebSettings):
4095        (QWebSettings::setIconDatabasePath):
4096        (QWebSettings::iconDatabasePath):
4097        (QWebSettings::clearIconDatabase):
4098        (QWebSettings::iconForUrl):
4099        (QWebSettings::setWebGraphic):
4100        (QWebSettings::fontFamily):
4101        (QWebSettings::setAttribute):
4102        (QWebSettings::testAttribute):
4103        (QWebSettings::resetAttribute):
4104        * Api/qwebsettings.h:
4105        * Api/qwebview.cpp:
4106        (QWebView::setPage):
4107        (QWebView::icon):
4108        (QWebView::setTextSizeMultiplier):
4109        (QWebView::textSizeMultiplier):
4110        (QWebView::findText):
4111        (QWebView::reload):
4112        (QWebView::mouseMoveEvent):
4113        * Api/qwebview.h:
4114        * QtLauncher/main.cpp:
4115        (MainWindow::MainWindow):
4116        (main):
4117        * WebCoreSupport/ChromeClientQt.cpp:
4118        (WebCore::ChromeClientQt::ChromeClientQt):
4119        (WebCore::ChromeClientQt::setWindowRect):
4120        (WebCore::ChromeClientQt::toolbarsVisible):
4121        (WebCore::ChromeClientQt::setStatusbarVisible):
4122        (WebCore::ChromeClientQt::statusbarVisible):
4123        (WebCore::ChromeClientQt::setScrollbarsVisible):
4124        (WebCore::ChromeClientQt::setResizable):
4125        (WebCore::ChromeClientQt::scrollBackingStore):
4126        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4127        (WebCore::ChromeClientQt::setToolTip):
4128        * WebCoreSupport/ChromeClientQt.h:
4129        * WebCoreSupport/FrameLoaderClientQt.cpp:
4130        (WebCore::FrameLoaderClientQt::setFrame):
4131        (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
4132        (WebCore::FrameLoaderClientQt::setMainDocumentError):
4133        (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
4134        (WebCore::FrameLoaderClientQt::createFrame):
4135        (WebCore::FrameLoaderClientQt::objectContentType):
4136        * WebCoreSupport/FrameLoaderClientQt.h:
4137        * WebCoreSupport/InspectorClientQt.cpp:
4138
41392008-04-18  Simon Hausmann  <hausmann@webkit.org>
4140
4141        Reviewed by Holger.
4142
4143        Added QWebView::find/QWebFrame::find.
4144
4145        * Api/qwebpage.cpp:
4146        (QWebPage::focusNextPrevChild):
4147        (QWebPage::find):
4148        * Api/qwebpage.h:
4149        * Api/qwebview.cpp:
4150        (QWebView::find):
4151        * Api/qwebview.h:
4152
41532008-04-15  Ariya Hidayat  <ariya.hidayat@trolltech.com>
4154
4155        Reviewed by Simon.
4156
4157        fix potential crash when loading image(s)
4158
4159        Crash may occur. If compiled with 4.3, the variable is not initialized.
4160        This fix solves https://bugs.webkit.org/show_bug.cgi?id=17174
4161
4162        * Api/qwebpage.cpp:
4163        (QWebPagePrivate::QWebPagePrivate):
4164
41652008-04-15  Simon Hausmann  <hausmann@webkit.org>
4166
4167        Reviewed by Holger.
4168
4169        Update the micro focus for input methods as soon as the composition mode changes
4170        or the caret/selection changes.
4171
4172
4173        * Api/qwebpage.cpp:
4174        * Api/qwebpage.h:
4175        * Api/qwebview.cpp:
4176        (QWebView::setPage):
4177        * WebCoreSupport/EditorClientQt.cpp:
4178        (WebCore::EditorClientQt::respondToChangedSelection):
4179        (WebCore::EditorClientQt::setInputMethodState):
4180
41812008-04-15  Simon Hausmann  <hausmann@webkit.org>
4182
4183        Reviewed by Holger.
4184
4185        Don't use QDir, QString or any locale sensitive function before constructing Q(Core)Application,
4186        it yields undefined behaviour or wrong default codec initialization.
4187
4188
4189        * QtLauncher/main.cpp:
4190        (WebPage::createWindow):
4191
41922008-04-15  Olivier Goffart  <ogoffart@trolltech.com>
4193
4194        Reviewed by Simon.
4195
4196        Fixes: copy to clipboard when selecting, and paste when clicking with the middle button
4197
4198        * Api/qwebpage.cpp:
4199        (QWebPagePrivate::mouseReleaseEvent): If the clipboard supports
4200        selections then we support copy & paste into the selection.
4201
42022008-04-15  Michael Brasser  <michael.brasser@trolltech.com>
4203
4204        Reviewed by Simon.
4205
4206        Add basic input method support.
4207
4208
4209        * Api/qwebpage.cpp:
4210        (QWebPagePrivate::dropEvent):
4211        (QWebPagePrivate::inputMethodEvent):
4212        (QWebPage::inputMethodQuery):
4213        (QWebPage::event):
4214        * Api/qwebpage.h:
4215        * Api/qwebpage_p.h:
4216        * Api/qwebview.cpp:
4217        (QWebView::QWebView):
4218        (QWebView::inputMethodQuery):
4219        (QWebView::inputMethodEvent):
4220        * Api/qwebview.h:
4221        * WebCoreSupport/EditorClientQt.cpp:
4222        (WebCore::EditorClientQt::setInputMethodState):
4223
42242008-04-15  Simon Hausmann  <hausmann@webkit.org>
4225
4226        Reviewed by Holger.
4227
4228        Added (QWebFrame|QWebView)::textZoomFactor.
4229
4230
4231        * Api/qwebframe.cpp:
4232        (QWebFrame::setTextZoomFactor):
4233        (QWebFrame::textZoomFactor):
4234        * Api/qwebframe.h:
4235        * Api/qwebview.cpp:
4236        (QWebView::setTextZoomFactor):
4237        (QWebView::textZoomFactor):
4238        * Api/qwebview.h:
4239
42402008-04-15  Michael Brasser  <michael.brasser@trolltech.com>
4241
4242        Reviewed by Simon.
4243
4244        Added simple scrolling API to QWebFrame.
4245
4246        The intent is that it works similar to QAbstractScrollArea.
4247
4248
4249        * Api/qwebframe.cpp:
4250        (QWebFrame::setScrollBarValue):
4251        (QWebFrame::scrollBarValue):
4252        (QWebFrame::scrollBarMaximum):
4253        (QWebFrame::scrollBarMinimum):
4254        * Api/qwebframe.h:
4255
42562008-04-15  Olivier Goffart  <ogoffart@trolltech.com>
4257
4258        Reviewed by Holger.
4259
4260        Fixes: implement the OpenFrameInNewWindow action.
4261
4262
4263        * Api/qwebpage.cpp:
4264        (QWebPage::triggerAction):
4265
42662008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
4267
4268        Reviewed by Simon.
4269
4270        Fix compilation with Qt namespaces
4271
4272        Qt can be configured to have all of its classes inside a specified namespaces.
4273        This is for example used in plugin/component environments like Eclipse.
4274
4275        This change makes it possible to let the Qt port compile against a namespaced
4276        Qt by the use of macros Qt provides to properly forward declare Qt classes in
4277        the namespace.
4278
4279        * Api/qwebframe.h:
4280        * Api/qwebpage.h:
4281        * Api/qwebpage_p.h:
4282        * Api/qwebpluginfactory.h:
4283        * Api/qwebsettings.h:
4284        * Api/qwebview.h:
4285
42862008-04-05  Olivier Goffart  <ogoffart@trolltech.com>
4287
4288        Reviewed by Holger.
4289
4290        Fixes: Right clicking an image and choosing "copy image" doesnt put anything in the clipboard.
4291
4292
4293        * Api/qwebpage.cpp:
4294        (QWebPage::triggerAction):
4295
42962008-04-05  Olivier Goffart  <ogoffart@trolltech.com>
4297
4298        Reviewed by Simon.
4299
4300        Fixes: Right click, and "Open image" open the link instead of the image.
4301
4302
4303        * Api/qwebpage.cpp:
4304
43052008-04-05  Benjamin Meyer  <bmeyer@trolltech.com>
4306
4307        Reviewed by Simon.
4308
4309        Added doc stub for QWebSettings so class docs are generated
4310
4311
4312        * Api/qwebsettings.cpp:
4313        (QWebSettings::QWebSettings):
4314
43152008-04-05  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4316
4317        Reviewed by Simon.
4318
4319        * Propose the addition of updateRequest and scrollRequest to the QWebPage.
4320
4321        * The question is if these signals belong to QWebPage or  QWebFrame.
4322        -It is more easy to have them in QWebPage because ScrollView is invoking
4323        the ChromeClient with the right coordinates
4324        -On the other hand someone wants to render frames separately. But this is partly
4325        doomed as you can have overlapping frames and what you paint would not relate to
4326        what you normally see on webpages.
4327
4328
4329        * Api/qwebpage.cpp:
4330        * Api/qwebpage.h:
4331        * WebCoreSupport/ChromeClientQt.cpp:
4332        (WebCore::ChromeClientQt::scrollBackingStore):
4333        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4334
43352008-04-03  Simon Hausmann  <hausmann@webkit.org>
4336
4337        Reviewed by Mark Rowe.
4338
4339        Roll out r31599 and r31605 again after discussion with Mark Rowe.
4340
4341        * Api/qwebframe.cpp:
4342        (QWebFrame::icon):
4343        * Api/qwebsettings.cpp:
4344        (QWebSettings::iconForUrl):
4345
43462008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4347
4348        Reviewed by Simon.
4349
4350        * Change IconDatabase::iconForPageURL to return more information. E.g. if
4351        an image has been found, or if the loading of an image has been scheduled.
4352        * Update FrameLoader to use another method to trigger reading from disk
4353        * Update the QWebFrame and QWebSettings
4354
4355        * Api/qwebframe.cpp:
4356        (QWebFrame::icon):
4357        * Api/qwebsettings.cpp:
4358        (QWebSettings::iconForUrl):
4359
43602008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4361
4362        Reviewed by Simon.
4363
4364        * Safari is using the IconDatabase the following way (assumption). Before they
4365        call iconDatabase()->open they "retain" all URLs they are interested in, these
4366        could come from the history.
4367        * When opening the iconDatabase() a thread will be started that is going to import
4368        the URLs, all none manually retained URLs are scheduled for removal. The removal
4369        is going to happen when the next icon gets stored in the database.
4370        * We do not have any IconDatabase code, we can not retain the URLs before opening the
4371        database. To disable the automatic pruning of the icons we will ask the IconDatabase
4372        to delay this operation. This means our IconDatabase, when used, will grow, so we should
4373        try to have a IconDatabase class in 4.4.
4374        * The only way to counter the growth is a call to QWebSettings::clearIconDatabase
4375
4376
4377        * Api/qwebsettings.cpp:
4378        (QWebSettings::clearIconDatabase):
4379        * Api/qwebsettings.h:
4380
43812008-04-03  Benjamin Meyer  <bmeyer@trolltech.com>
4382
4383        Reviewed by Simon.
4384
4385        Add a way to get the site icon for a url
4386        static QPixmap iconForUrl(const QUrl &url);
4387
4388
4389        * Api/qwebsettings.cpp:
4390        (QWebSettings::iconForUrl):
4391        * Api/qwebsettings.h:
4392
43932008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4394
4395        Reviewed by Simon.
4396
4397        * Update the Copyright info in QWebSettings
4398
4399
4400        * Api/qwebsettings.cpp:
4401        * Api/qwebsettings.h:
4402
44032008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4404
4405        Reviewed by Simon.
4406
4407        * The isEmpty check is not needed anymore with the earlier backport
4408
4409
4410        * Api/qwebframe.cpp:
4411        (QWebFrame::icon):
4412
44132008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4414
4415        Reviewed by Simon.
4416
4417        * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
4418        is not exporting enough to create the output in DRT itself. Settle with the approach
4419        Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
4420        * run-webkit-tests http/tests(/loading) can now be executed.
4421        * For tests in loading/ directories we are going to throw away the dirty
4422        QWebPage to start with something clean.
4423
4424
4425        * WebCoreSupport/FrameLoaderClientQt.cpp:
4426        (qt_dump_frame_loader):
4427        (drtDescriptionSuitableForTestResult):
4428        (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
4429        (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
4430        (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
4431        (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
4432        (WebCore::FrameLoaderClientQt::dispatchWillClose):
4433        (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
4434        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
4435        (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
4436        (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
4437        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
4438        (WebCore::FrameLoaderClientQt::registerForIconNotification):
4439        (WebCore::FrameLoaderClientQt::setMainDocumentError):
4440        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
4441
44422008-04-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4443
4444        Reviewed by Simon.
4445
4446        * Export the PageCache and Cache capacity call one to one. This is only there
4447        to allow the QtLauncher to play with caching.
4448        * TODO: make API decisions and consider following the windows Api to set a WebCacheModel
4449        and determine certain values automatically.
4450
4451
4452        * Api/qwebsettings.cpp:
4453        (QWebSettings::setPageCacheCapacity):
4454        (QWebSettings::setObjectCacheCapacities):
4455        * Api/qwebsettings.h:
4456        * QtLauncher/main.cpp:
4457
44582008-04-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4459
4460        Reviewed by Simon.
4461
4462        Prepapre everything for enabling the PageCache for the Qt Platform:
4463        * Claim that we can cache pages
4464        * Create the FrameView FrameLoaderClientQt::transitionToCommittedForNewPage using
4465        the initial size of the viewport and stop creating it in the QWebFramePrivate::init
4466
4467        Differences to the Windows port:
4468        * attachToWindow/detachFromWindow is not called and is not (yet) part
4469        of Widget/ScrollView of the Qt platform. We might need that for plugin
4470        support in the future.
4471        * We store the margin's and scrolling flag inside QWebFrame and use it when
4472        creating the FrameView.
4473
4474        What is missing:
4475        * API to call pageCache()->setCapacity(XYZ);
4476
4477
4478        * Api/qwebframe.cpp:
4479        (QWebFramePrivate::init):
4480        * Api/qwebframe_p.h:
4481        (QWebFramePrivate::QWebFramePrivate):
4482        * Api/qwebpage.cpp:
4483        (QWebPagePrivate::createMainFrame):
4484        * WebCoreSupport/FrameLoaderClientQt.cpp:
4485        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
4486        (WebCore::FrameLoaderClientQt::blockedError):
4487
44882008-04-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4489
4490        Reviewed by Simon.
4491
4492        * For the PageCache support we do not want to create a FrameView in the constructor
4493        of QWebFrame. In QWegPage::viewportSize() we currently call mainFrame() and that will
4494        create a QWebFrame if no mainFrame is present and this gets called when we try to
4495        create a FrameView...
4496        * Keep a copy of the initial viewportSize around and use it if we do not have a Frame
4497        or FrameView.
4498
4499
4500        * Api/qwebpage.cpp:
4501        (QWebPagePrivate::QWebPagePrivate):
4502        (QWebPage::triggerAction):
4503        * Api/qwebpage_p.h:
4504
45052008-04-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4506
4507        Reviewed by Simon.
4508
4509        * Always return true in FrameLoaderClientQt::shouldGoToHistoryItem, like the windows port
4510
4511        * WebCoreSupport/FrameLoaderClientQt.cpp:
4512        (WebCore::):
4513
45142008-04-02  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4515
4516        Reviewed by Simon.
4517
4518        * Attempt to make the m_webFrame null pointer checking consistent. Always check for
4519        m_webFrame. It should get set by the QWebFrame with the FramerLoaderClientQt::setFrame
4520        call and should stay valid until the destruction of the QWebFrame.
4521        * Currently the same checking is not needed for m_frame as it will only set to 0 in
4522        FrameLoaderClientQt::frameLoaderDestroyed and should be not 0 because of the setFrame
4523        initialisation.
4524
4525
4526        * WebCoreSupport/FrameLoaderClientQt.cpp:
4527        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
4528        (WebCore::FrameLoaderClientQt::setMainDocumentError):
4529        (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
4530        (WebCore::FrameLoaderClientQt::objectContentType):
4531        (WebCore::FrameLoaderClientQt::createPlugin):
4532
45332008-04-01  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4534
4535        Reviewed by Simon.
4536
4537        * Get the RefCounting of WebCore::Frame right and make sure that both QWebFrame
4538        and WebCore::Frame get destroyed if we leave site with subframes and on the
4539        end of the application.
4540        * Use adoptRef in FrameLoaderClientQt::createFrame to get the refs right for subframes. We
4541        do not want to add an extra reference. Without this we are leaking subframes.
4542        * Assume that the lifetime of a Frame and FrameLoader are the same, when the Frame is gone
4543        we want to destroy the QWebFrame (e.g. on a page with subframes). Add delete m_webFrame
4544        in the frameLoaderDestroyed method to do that.
4545        * If we happen to delete the QWebFrame before the FrameLoaderClientQt we set m_webFrame to
4546        zero in the FrameLoaderClientQt to avoid bad things.
4547
4548
4549        * Api/qwebframe.cpp:
4550        (QWebFrame::~QWebFrame):
4551        * WebCoreSupport/FrameLoaderClientQt.cpp:
4552        (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
4553        (WebCore::FrameLoaderClientQt::objectContentType):
4554        * WebCoreSupport/FrameLoaderClientQt.h:
4555
45562008-04-01  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4557
4558        Reviewed by Simon.
4559
4560        * Do not save a RefPtr to the frame. The FrameLoaderClient, Frame and
4561        QWebFrame should have the same lifetime everything else is a leak
4562        or issue.
4563
4564        * Api/qwebframe.cpp:
4565        (QWebFramePrivate::init):
4566        * Api/qwebframe_p.h:
4567        * WebCoreSupport/FrameLoaderClientQt.cpp:
4568
45692008-04-01  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4570
4571        Reviewed by Simon.
4572
4573        * Do not store the QWebFrame associated with a ScrollView/FrameView
4574        in the WebCore::Widget.
4575        * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core
4576        and QWebFramePrivate::kit function to convert from and to QWebFrame.
4577
4578
4579        * Api/qwebframe.cpp:
4580        (QWebFramePrivate::init):
4581        * Api/qwebpage.cpp:
4582        (QWebPagePrivate::createMainFrame):
4583
45842008-04-01  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4585
4586        Reviewed by Simon.
4587
4588        * Do not store the FrameView in the QWebFrame and cope with the situation when
4589        a WebCore::Frame has no WebCore::FrameView.
4590
4591
4592        * Api/qwebframe.cpp:
4593        (QWebFramePrivate::init):
4594        (QWebFramePrivate::horizontalScrollBar):
4595        (QWebFramePrivate::verticalScrollBar):
4596        (QWebFrame::innerText):
4597        (QWebFrame::renderTreeDump):
4598        (QWebFrame::setVerticalScrollBarPolicy):
4599        (QWebFrame::setHorizontalScrollBarPolicy):
4600        (QWebFrame::render):
4601        (QWebFrame::layout):
4602        (QWebFrame::pos):
4603        * Api/qwebframe_p.h:
4604        (QWebFramePrivate::QWebFramePrivate):
4605        * Api/qwebpage.cpp:
4606        (QWebPagePrivate::updateEditorActions):
4607        (QWebPagePrivate::mouseMoveEvent):
4608        (QWebPagePrivate::mousePressEvent):
4609        (QWebPagePrivate::mouseDoubleClickEvent):
4610        (QWebPagePrivate::contextMenuEvent):
4611        (QWebPagePrivate::wheelEvent):
4612        (QWebPage::triggerAction):
4613        * WebCoreSupport/FrameLoaderClientQt.cpp:
4614
46152008-04-01  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4616
4617        Reviewed by Simon.
4618
4619        * Change the order of the methods to match with the FrameLoaderClient.h to ease
4620        removing methods in the future.
4621
4622        * WebCoreSupport/FrameLoaderClientQt.h:
4623
46242008-04-01  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4625
4626        Reviewed by Simon.
4627
4628        * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
4629
4630        * WebCoreSupport/FrameLoaderClientQt.cpp:
4631        (WebCore::FrameLoaderClientQt::detachedFromParent4):
4632        * WebCoreSupport/FrameLoaderClientQt.h:
4633
46342008-03-25  Brady Eidson  <beidson@apple.com>
4635
4636        Reviewed by Darin
4637
4638        Remove newly obsolete FrameLoaderClient methods
4639
4640        * WebCoreSupport/FrameLoaderClientQt.cpp:
4641        * WebCoreSupport/FrameLoaderClientQt.h:
4642
46432008-03-22  Mark Rowe  <mrowe@apple.com>
4644
4645        Qt build fix.
4646
4647        * WebCoreSupport/FrameLoaderClientQt.cpp:
4648        (WebCore::):
4649
46502008-03-18  Simon Hausmann  <hausmann@webkit.org>
4651
4652        Reviewed by Holger.
4653
4654        Fix the Qt build. Don't return void in non-void functions.
4655
4656        * Api/qwebpluginfactory.cpp:
4657        (QWebPluginFactory::extension):
4658
46592008-03-16  Thiago Macieira  <thiago.macieira@trolltech.com>
4660
4661        Reviewed by Simon.
4662
4663        Don't use RefPtr in classes you haven't seen the implementation of.
4664
4665        Forward-declaration and declaration of RefPtr<Foo> is ok. But you
4666        cannot *use* said objects until Foo is defined. This is true even for
4667        initialisation with a 0.
4668
4669        Seems the HP aCC compiler is more strict here than gcc.
4670
4671        * Api/qwebframe_p.h:
4672
46732008-03-14  Simon Hausmann  <hausmann@webkit.org>
4674
4675        Fix the Qt build.
4676
4677        * Api/qwebframe.cpp:
4678        (QWebFrame::setHtml):
4679        (QWebFrame::setContent):
4680
46812008-03-13  Simon Hausmann  <hausmann@webkit.org>
4682
4683        Fix the Qt build.
4684
4685        * Api/qwebframe.cpp:
4686        (QWebFrame::addToJSWindowObject):
4687
46882008-03-12  Simon Hausmann  <hausmann@webkit.org>
4689
4690        Fix compilation against Qt 4.3
4691
4692        * Api/qwebpage.cpp:
4693        * Api/qwebpage.h:
4694        * Api/qwebpage_p.h:
4695
46962008-03-11  Rodney Dawes  <dobey@wayofthemonkey.com>
4697
4698        Fix the Qt build.
4699
4700        * WebCoreSupport/FrameLoaderClientQt.cpp:
4701        (FrameLoaderClientQt::CreatePlugin):
4702
47032008-03-11  Simon Hausmann  <hausmann@webkit.org>
4704
4705        Fix the Qt build (silly typo).
4706
4707        * QtLauncher/main.cpp:
4708        (MainWindow::MainWindow):
4709
47102008-03-11  Tor Arne Vestbø  <tavestbo@trolltech.com>
4711
4712        Reviewed by Simon.
4713
4714        Moved obscuring progress bar to the lower right corner.
4715
4716        * QtLauncher/main.cpp:
4717        (MainWindow::MainWindow):
4718        (MainWindow::resizeEvent):
4719
47202008-03-11  Tor Arne Vestbø  <tavestbo@trolltech.com>
4721
4722        Reviewed by Simon.
4723
4724        Added reload action and grouped stop and reload actions together.
4725
4726        * QtLauncher/main.cpp:
4727        (MainWindow::MainWindow):
4728
47292008-03-11  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4730
4731        Reviewed by Simon.
4732
4733        * Set a Icon on the QAction if we have one.
4734
4735        * Api/qwebpage.cpp:
4736        (QWebPage::action):
4737
47382008-03-11  Simon Hausmann  <hausmann@webkit.org>
4739
4740        Fix the Qt build.
4741
4742        * Api/qwebframe.cpp:
4743        (QWebFrame::addToJSWindowObject):
4744
47452008-03-07  Simon Hausmann  <hausmann@webkit.org>
4746
4747        Reviewed by Darin Adler.
4748
4749        Done with Lars.
4750
4751        Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
4752
4753        * Api/qwebnetworkinterface.cpp:
4754        (QWebNetworkManager::add):
4755        (QWebNetworkManager::cancel):
4756        (QWebNetworkManager::started):
4757        (QWebNetworkManager::data):
4758        (QWebNetworkManager::finished):
4759        * Api/qwebnetworkinterface_p.h:
4760        (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
4761        * Api/qwebobjectplugin.cpp: Removed.
4762        * Api/qwebobjectplugin.h: Removed.
4763        * Api/qwebobjectplugin_p.h: Removed.
4764        * Api/qwebobjectpluginconnector.cpp: Removed.
4765        * Api/qwebobjectpluginconnector.h: Removed.
4766        * Api/qwebpage.cpp:
4767        (QWebPagePrivate::QWebPagePrivate):
4768        (QWebPage::setPluginFactory):
4769        (QWebPage::pluginFactory):
4770        * Api/qwebpage.h:
4771        * Api/qwebpage_p.h:
4772        * Api/qwebpluginfactory.cpp: Added.
4773        (QWebPluginFactory::QWebPluginFactory):
4774        (QWebPluginFactory::~QWebPluginFactory):
4775        (QWebPluginFactory::refreshPlugins):
4776        (QWebPluginFactory::extension):
4777        * Api/qwebpluginfactory.h: Added.
4778        (MimeType::):
4779        * WebCoreSupport/FrameLoaderClientQt.cpp:
4780        (WebCore::FrameLoaderClientQt::objectContentType):
4781        (WebCore::FrameLoaderClientQt::createPlugin):
4782
47832008-03-07  Simon Hausmann  <hausmann@webkit.org>
4784
4785        Fix the Qt build.
4786
4787        * Api/qwebframe.cpp:
4788
47892008-03-04  Sam Weinig  <sam@webkit.org>
4790
4791        Reviewed by Mark Rowe.
4792
4793        - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
4794          JSDOMWindow.h
4795
4796        * Api/qwebframe.cpp:
4797        (QWebFrame::addToJSWindowObject):
4798
47992008-03-04  Mark Rowe  <mrowe@apple.com>
4800
4801        Another go at fixing the Qt build.
4802
4803        * Api/qwebframe.cpp:
4804        (QWebFrame::addToJSWindowObject):
4805
48062008-02-24  Darin Adler  <darin@apple.com>
4807
4808        Reviewed by Sam.
4809
4810        - remove separate client calls for "standard" and "reload' history
4811
4812        * WebCoreSupport/FrameLoaderClientQt.cpp:
4813        (WebCore::FrameLoaderClientQt::updateGlobalHistory):
4814        * WebCoreSupport/FrameLoaderClientQt.h:
4815
48162008-02-24  Darin Adler  <darin@apple.com>
4817
4818        - another try at fixing the build
4819
4820        * Api/qwebframe.cpp:
4821        (QWebFrame::load): Replace new FormData with FormData::create.
4822
48232008-02-22  Sam Weinig  <sam@webkit.org>
4824
4825        Fix Qt build.
4826
4827        * Api/qwebhistoryinterface.cpp:
4828
48292008-02-22  Sam Weinig  <sam@webkit.org>
4830
4831        Rubber-stamped by Adam Roben.
4832
4833        Rid the project of the Devil known as DeprecatedString!
4834
4835        * Api/qwebhistory.cpp:
4836        * Api/qwebhistoryinterface.cpp:
4837
48382008-02-18  Darin Adler  <darin@apple.com>
4839
4840        Reviewed by Sam.
4841
4842        * Api/qwebnetworkinterface.cpp:
4843        (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
4844
48452008-01-24  David Boddie  <dboddie@trolltech.com>
4846
4847        Reviewed by Simon.
4848
4849        Documentation tidying.
4850
4851
4852        * Api/qwebframe.cpp:
4853        * Api/qwebhistoryinterface.cpp:
4854        * Api/qwebview.cpp:
4855
48562008-01-24  Jarek Kobus  <jkobus@trolltech.com>
4857
4858        Reviewed by Simon.
4859
4860        Text for translations were used wrongly as comments
4861
4862
4863        * WebCoreSupport/FrameLoaderClientQt.cpp:
4864        (WebCore::):
4865        (WebCore::FrameLoaderClientQt::cannotShowURLError):
4866        (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
4867        (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
4868        (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
4869        (WebCore::FrameLoaderClientQt::shouldFallBack):
4870
48712008-01-24  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4872
4873        Reviewed by Simon.
4874
4875        * We have a KURL->QUrl conversion on KURL itself, make use of it.
4876        * This conversion is supposed to be loss-free
4877
4878
4879        * Api/qwebframe.cpp:
4880
48812008-01-23  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
4882
4883        * Rubber stamped by Simon
4884
4885        * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
4886        This was found while working on the page-cache, other ports are not affected.
4887
4888        * WebCoreSupport/FrameLoaderClientQt.cpp:
4889        (WebCore::FrameLoaderClientQt::createFrame):
4890
48912008-01-23  Rohan McGovern  <rohan.mcgovern@trolltech.com>
4892
4893        Reviewed by Simon Hausmann <hausmann@webkit.org>.
4894
4895        Fix Qtopia compilation with QT_NO_TOOLTIP
4896
4897
4898        * WebCoreSupport/ChromeClientQt.cpp:
4899        (WebCore::ChromeClientQt::print):
4900
49012008-01-23  Geir Vattekar  <gvatteka@trolltech.com>
4902
4903        Reviewed by Simon.
4904
4905        Doc: Replaced \code with snippets in the docs
4906
4907
4908        * Api/qwebview.cpp:
4909
49102008-01-23  Benjamin Meyer  <bmeyer@trolltech.com>
4911
4912        Reviewed by Simon.
4913
4914        Tweak key presses even to match commonly expected behavior
4915        - space key == page down
4916        - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
4917        - Use font height rather then a hard coded "10" for left, right, up, down
4918        - Ctrl-Up moves to the top of the page
4919        - Ctrl-Down move to the bottom of the page
4920        - Backspace == GoBack
4921        - Shift-Backspace == GoForward
4922
4923
4924        * Api/qwebpage.cpp:
4925        (dropActionToDragOp):
4926        (dragOpToDropAction):
4927        (QWebPagePrivate::keyPressEvent):
4928
49292008-01-23  Simon Hausmann  <hausmann@webkit.org>
4930
4931        Reviewed by Lars.
4932
4933        Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
4934
4935        Added two signals to QWebPage to handle downloading of links and handling of
4936        unsupported content.
4937
4938
4939        * Api/qwebpage.cpp:
4940        (QWebPage::triggerAction):
4941        * Api/qwebpage.h:
4942        * WebCoreSupport/FrameLoaderClientQt.cpp:
4943        (WebCore::FrameLoaderClientQt::download):
4944        (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
4945        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
4946        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
4947        (WebCore::FrameLoaderClientQt::willUseArchive):
4948
49492008-01-22  Lars Knoll  <lars@trolltech.com>
4950
4951        Reviewed by Simon.
4952
4953        setup a family for cursive and fantasy fonts as well.
4954
4955
4956        * Api/qwebsettings.cpp:
4957        (QWebSettings::QWebSettings):
4958
49592008-01-22  Benjamin Meyer  <bmeyer@trolltech.com>
4960
4961        Reviewed by Simon.
4962
4963        Implement ChromeClientQt::setToolTip
4964        Implement ChromeClientQt::mouseDidMoveOverElement
4965
4966
4967        * Api/qwebpage.cpp:
4968        * Api/qwebpage_p.h:
4969        * WebCoreSupport/ChromeClientQt.cpp:
4970        (WebCore::ChromeClientQt::ChromeClientQt):
4971        (WebCore::ChromeClientQt::focus):
4972        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4973        (WebCore::ChromeClientQt::setToolTip):
4974        (WebCore::ChromeClientQt::print):
4975        * WebCoreSupport/ChromeClientQt.h:
4976
49772008-01-21  Darin Adler  <darin@apple.com>
4978
4979        Reviewed by John Sullivan.
4980
4981        - updated for changes to ChromeClient database functions
4982
4983        * WebCoreSupport/ChromeClientQt.cpp:
4984        (WebCore::ChromeClientQt::exceededDatabaseQuota):
4985        * WebCoreSupport/ChromeClientQt.h:
4986
49872008-01-21  Benjamin Meyer  <bmeyer@trolltech.com>
4988
4989        Reviewed by Simon.
4990
4991        Change QWebHistoryInterface::addHistoryEntry() from const to non-const
4992
4993
4994        * Api/qwebhistoryinterface.h:
4995
49962008-01-21  Adam Treat  <adam.treat@torchmobile.com>
4997
4998        Reviewed by Simon.
4999
5000        * Don't leak the d-pointer in QWebSettings.
5001
5002
5003        * Api/qwebsettings.cpp:
5004        (QWebSettings::~QWebSettings):
5005
50062008-01-21  Simon Hausmann  <hausmann@webkit.org>
5007
5008        Reviewed by Holger.
5009
5010        Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
5011
5012        This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
5013
5014
5015        * Api/qwebpage.cpp:
5016
50172008-01-21  Simon Hausmann  <hausmann@webkit.org>
5018
5019        Reviewed by Holger.
5020
5021        Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
5022
5023        * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
5024        * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
5025        and make the return value depend on whether we successfully determined a focusable
5026        node or not.
5027        * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
5028        if we could not handle the focus chain ourselves.
5029        * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
5030        * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
5031        used to control the situation of stepping out of the focus chain inside the page.
5032        * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
5033        The layout tests expect this to be disabled but for the user it seems sensible to have it
5034        on by default, hence the default in qwebsettings.cpp
5035
5036
5037        * Api/qwebpage.cpp:
5038        (QWebPage::focusNextPrevChild):
5039        * Api/qwebsettings.cpp:
5040        (QWebSettings::QWebSettings):
5041        * Api/qwebsettings.h:
5042        * Api/qwebview.cpp:
5043        (QWebView::QWebView):
5044        (QWebView::focusNextPrevChild):
5045        * WebCoreSupport/ChromeClientQt.cpp:
5046        (WebCore::ChromeClientQt::canTakeFocus):
5047        (WebCore::ChromeClientQt::takeFocus):
5048
50492008-01-18  Simon Hausmann  <hausmann@webkit.org>
5050
5051        Reviewed by Holger.
5052
5053        Coding style fixes and added a comment about the include order.
5054
5055        * WebKit_pch.h:
5056
50572008-01-18  Marius Storm-Olsen  <marius@trolltech.com>
5058
5059        Reviewed by Simon Hausmann <hausmann@webkit.org>.
5060
5061        Add use of precompiled header, when building inside Qt.
5062
5063        Compiling WebKit was taking forever; 17 minutes on my machine for _one_ build! Adding the PCH at least brings it down to 12 minutes for one build, for me.
5064
5065
5066        * WebKit_pch.h: Added.
5067
50682008-01-18  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5069
5070        Reviewed by Simon.
5071
5072        * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
5073        we will see a crash in a HashSet.
5074        * It is crashing there because the StringImpl of an empty String is 0.
5075        * We avoid this crash by checking for isEmpty() in WebKit as there is no
5076        use to ask the iconDatabase for an empty string. We will fallback to the
5077        defaultIcon.
5078
5079
5080        * Api/qwebframe.cpp:
5081        (QWebFrame::icon):
5082
50832008-01-17  Simon Hausmann  <hausmann@webkit.org>
5084
5085        Reviewed by Holger.
5086
5087        Minor documentation fixes
5088
5089
5090        * Api/qwebframe.cpp:
5091        * Api/qwebview.cpp:
5092
50932008-01-17  Simon Hausmann  <shausman@trolltech.com>
5094
5095        Reviewed by Lars.
5096
5097        Fix form elements not focusing correctly after the qt widget lost its focus.
5098
5099        When receiving a focus out event notify the focus controller. Otherwise its
5100        m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
5101        event shortcuts and doesn't call setActive(true).
5102
5103
5104        * Api/qwebpage.cpp:
5105
51062008-01-17  Simon Hausmann  <shausman@trolltech.com>
5107
5108        Reviewed by Holger.
5109
5110        Lots of updates to the documentation.
5111
5112
5113        * Api/qwebframe.cpp:
5114        * Api/qwebhistory.cpp:
5115        * Api/qwebpage.cpp:
5116        (QWebPagePrivate::dropEvent):
5117        (QWebPage::history):
5118        (openNewWindow):
5119        (QWebPage::triggerAction):
5120        (QWebPage::viewportSize):
5121        (QWebPage::navigationRequested):
5122        (QWebPage::action):
5123        (QWebPage::event):
5124        (QWebPageContext::targetFrame):
5125        * Api/qwebpage.h:
5126        * Api/qwebview.cpp:
5127
51282008-01-17  Simon Hausmann  <shausman@trolltech.com>
5129
5130        Reviewed by Lars.
5131
5132        Added a urlChanged signals to QWebFrame and QWebView.
5133
5134
5135        * Api/qwebframe.cpp:
5136        * Api/qwebframe.h:
5137        * Api/qwebview.cpp:
5138        (QWebView::setPage):
5139        * Api/qwebview.h:
5140        * WebCoreSupport/FrameLoaderClientQt.cpp:
5141
51422008-01-17  Simon Hausmann  <shausman@trolltech.com>
5143
5144        Reviewed by Lars.
5145
5146        Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
5147
5148
5149        * Api/qwebsettings.cpp:
5150        (QWebSettings::setIconDatabaseEnabled):
5151
51522008-01-17  Simon Hausmann  <shausman@trolltech.com>
5153
5154        Reviewed by Lars.
5155
5156        Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
5157
5158
5159        * Api/qwebpage.cpp:
5160        (QWebPage::createWindow):
5161        * Api/qwebview.cpp:
5162        (QWebView::createWindow):
5163        * Api/qwebview.h:
5164
51652008-01-17  Lars Knoll  <lars@trolltech.com>
5166
5167        Reviewed by Lars.
5168
5169        add a 0 pointer check.
5170
5171        Fixes a crash in the demo web browser.
5172
5173        * WebCoreSupport/FrameLoaderClientQt.cpp:
5174        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
5175
51762008-01-17  Simon Hausmann  <hausmann@webkit.org>
5177
5178        Reviewed by Holger.
5179
5180        Fix QWebFrame::title().
5181
5182        For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
5183        instead of Document::title() as the latter is not trimmed and not suited for a window caption.
5184
5185
5186        * Api/qwebframe.cpp:
5187        (QWebFrame::title):
5188
51892008-01-17  Simon Hausmann  <hausmann@webkit.org>
5190
5191        Reviewed by Maciej, Lars, Holger.
5192
5193        http://bugs.webkit.org/show_bug.cgi?id=16589
5194
5195        Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
5196
5197        * Api/qwebnetworkinterface.cpp:
5198        (QWebNetworkRequestPrivate::init):
5199        (QWebNetworkManager::started):
5200
52012008-01-17  Warwick Allison  <warwick@trolltech.com>
5202
5203        Reviewed by Simon Hausmann <hausmann@webkit.org>.
5204
5205        Follow QWidget::keyPressEvent advice and call parents.
5206
5207        Without this, Back does not work in Qtopia, for example.
5208
5209
5210        * Api/qwebview.cpp:
5211        (QWebView::keyPressEvent):
5212        (QWebView::keyReleaseEvent):
5213
52142008-01-17  Simon Hausmann  <hausmann@webkit.org>
5215
5216        Reviewed by Lars.
5217
5218        Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
5219
5220        * Api/qwebnetworkinterface.cpp:
5221        (QWebNetworkManager::started):
5222
52232008-01-17  Simon Hausmann  <shausman@trolltech.com>
5224
5225        Reviewed by Holger.
5226
5227        Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
5228
5229
5230        * Api/qwebframe.cpp:
5231        * Api/qwebpage.cpp:
5232        * WebCoreSupport/FrameLoaderClientQt.cpp:
5233
52342008-01-17  Lincoln Ramsay  <lincoln.ramsay@trolltech.com>
5235
5236        Reviewed by Simon Hausmann <hausmann@webkit.org>.
5237
5238        Fixes compilation with QT_NO_DRAGANDDROP
5239
5240
5241        * Api/qwebpage.cpp:
5242        (QWebPage::event):
5243        * Api/qwebview.cpp:
5244        (QWebView::dragEnterEvent):
5245        (QWebView::dragLeaveEvent):
5246        (QWebView::dragMoveEvent):
5247        (QWebView::dropEvent):
5248
52492008-01-17  Simon Hausmann  <hausmann@webkit.org>
5250
5251        Reviewed by Lars.
5252
5253        Fix compilation, removed obsolete privateBrowsingEnabled() method.
5254
5255        * WebCoreSupport/FrameLoaderClientQt.cpp:
5256
52572008-01-16  Lars Knoll  <lars@trolltech.com>
5258
5259        Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
5260
5261        Removed a whole bunch of notImplemented() warnings.
5262
5263        I don't want to hide the real warnings in lots of things that
5264        I am by now pretty certain we won't need.
5265
5266
5267        * WebCoreSupport/FrameLoaderClientQt.cpp:
5268        (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
5269        (WebCore::FrameLoaderClientQt::canShowMIMEType):
5270
52712008-01-16  Simon Hausmann  <hausmann@webkit.org>
5272
5273        Reviewed by Holger.
5274
5275        Fix crash when bringing up the context menu on maps.google.com.
5276
5277        If the website provides its own context menu then we don't have a ContextMenu pointer.
5278
5279
5280        * Api/qwebpage.cpp:
5281        (QWebPagePrivate::contextMenuEvent):
5282
52832008-01-16  Simon Hausmann  <hausmann@webkit.org>
5284
5285        Reviewed by Holger.
5286
5287        Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
5288
5289        * Api/qwebview.cpp:
5290        (QWebView::mouseMoveEvent):
5291        (QWebView::mousePressEvent):
5292        (QWebView::mouseDoubleClickEvent):
5293        (QWebView::mouseReleaseEvent):
5294        (QWebView::contextMenuEvent):
5295        (QWebView::wheelEvent):
5296        (QWebView::keyPressEvent):
5297        (QWebView::keyReleaseEvent):
5298        (QWebView::focusInEvent):
5299        (QWebView::focusOutEvent):
5300        (QWebView::dragEnterEvent):
5301        (QWebView::dragLeaveEvent):
5302        (QWebView::dragMoveEvent):
5303        (QWebView::dropEvent):
5304        (QWebView::focusNextPrevChild):
5305
53062008-01-16  Simon Hausmann  <hausmann@webkit.org>
5307
5308        Reviewed by Lars.
5309
5310        Made the url property read-write.
5311
5312        * Api/qwebview.h:
5313
53142008-01-16  Simon Hausmann  <hausmann@webkit.org>
5315
5316        Reviewed by Lars.
5317
5318        Don't crash when showing a default initialized QWebView that has no page/frame yet.
5319
5320        * Api/qwebview.cpp:
5321        (QWebView::paintEvent):
5322
53232008-01-16  Holger Freyther  <holger.freyther@trolltech.com>
5324
5325        Reviewed by Simon.
5326
5327        Change hoveringOverLink implementation to have less issues.
5328
5329        * Currently we only compare a pointer. In the worst case we
5330        could delete the Element we have pointed to and a new one
5331        gets the same address. But even if that doesn't happen the
5332        WebCore::Element is mutable and JavaScript could change the
5333        URL, Title or Content. So we have to compare all these three
5334        attributes.
5335        * This does not seem to be a performance impact.
5336
5337
5338        * Api/qwebpage.cpp:
5339        (QWebPagePrivate::mouseMoveEvent):
5340        * Api/qwebpage_p.h:
5341
53422008-01-16  Holger Freyther  <holger.freyther@trolltech.com>
5343
5344        Reviewed by Simon.
5345
5346        * Move the hoverElement from QWebFrame to QWebPage. As it is
5347        only used there.
5348
5349
5350        * Api/qwebframe_p.h:
5351        (QWebFramePrivate::QWebFramePrivate):
5352        * Api/qwebpage.cpp:
5353        (QWebPagePrivate::mouseMoveEvent):
5354        * Api/qwebpage_p.h:
5355
53562008-01-16  Holger Freyther  <holger.freyther@trolltech.com>
5357
5358        Reviewed by Simon.
5359
5360        EventHandler changes/fixes in QWebPage:
5361        -mouse{Press,Move,Release}Event:
5362        Send the event always to the mainFrame of the QWebPage.
5363
5364        -contextMenuEvent, key{Press,Release}Event:
5365        Send the event to the focused frame.
5366
5367        This is following the Windows port and fixes a issue with the
5368        Web Inspector where we were sending the events to a wrong frame.
5369
5370        It is guaranteed that the mainFrame will always have an eventHandler
5371        and frameView set. There is no need to check for this in QWebPage.
5372
5373
5374        * Api/qwebframe.cpp:
5375        (QWebFramePrivate::init):
5376        * Api/qwebframe_p.h:
5377        (QWebFramePrivate::QWebFramePrivate):
5378        * Api/qwebpage.cpp:
5379        (QWebPagePrivate::updateEditorActions):
5380        (QWebPagePrivate::mouseMoveEvent):
5381        (QWebPagePrivate::mousePressEvent):
5382        (QWebPagePrivate::mouseDoubleClickEvent):
5383        (QWebPagePrivate::mouseReleaseEvent):
5384        (QWebPagePrivate::contextMenuEvent):
5385        (QWebPagePrivate::wheelEvent):
5386        (QWebPagePrivate::keyPressEvent):
5387        (QWebPagePrivate::keyReleaseEvent):
5388        (QWebPagePrivate::focusInEvent):
5389        * Api/qwebpage_p.h:
5390
53912008-01-16  Holger Freyther  <holger.freyther@trolltech.com>
5392
5393        Reviewed by Simon.
5394
5395        * Add core and kit functions to QWebFramePrivate to convert from
5396        QWebFrame to WebCore::Frame and vice versa.
5397
5398
5399        * Api/qwebframe.cpp:
5400        (QWebFramePrivate::core):
5401        (QWebFramePrivate::kit):
5402        * Api/qwebframe.h:
5403        * Api/qwebframe_p.h:
5404
54052008-01-16  Lars Knoll  <lars@trolltech.com>
5406
5407        Reviewed by Simon.
5408
5409        add conversion methods from and to QUrl to KURL.
5410
5411        Use them in the places I found at the moment. Fixes a bug
5412        where form data was encoded twice.
5413        Also fix QWebSettings to take a QUrl for the user style sheet
5414        location.
5415
5416
5417        * Api/qwebframe.cpp:
5418        (QWebFrame::load):
5419        * Api/qwebpage.cpp:
5420        (QWebPage::createPlugin):
5421        (frameLoadRequest):
5422        (QWebPage::triggerAction):
5423        * Api/qwebsettings.cpp:
5424        (QWebSettingsPrivate::apply):
5425        * Api/qwebsettings.h:
5426        * WebCoreSupport/ChromeClientQt.cpp:
5427        (WebCore::ChromeClientQt::createWindow):
5428        (WebCore::ChromeClientQt::show):
5429
54302008-01-16  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5431
5432        Reviewed by Lars.
5433
5434        * Make the InspectorClientView inherit from QWebView instead of QWidget. This
5435        way paintEvent, mouse{Press,Release}Event and other events get forwarded to
5436        the QWebPage/WebInspector automatically.
5437
5438
5439        * WebCoreSupport/InspectorClientQt.cpp:
5440        (WebCore::InspectorClientWebPage::createWindow):
5441        (WebCore::InspectorClientView::InspectorClientView):
5442
54432008-01-10  Maciej Stachowiak  <mjs@apple.com>
5444
5445        Reviewed by Sam.
5446
5447        - remove SecurityOriginData and fold its functionality into SecurityOrigin
5448
5449        * WebCoreSupport/ChromeClientQt.cpp:
5450        (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
5451        (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
5452        * WebCoreSupport/ChromeClientQt.h:
5453
54542008-01-10  Lars Knoll  <lars@trolltech.com>
5455
5456        Reviewed by Simon.
5457
5458        document QWebHistory
5459
5460
5461        * Api/qwebhistory.cpp:
5462        (QWebHistoryItem::QWebHistoryItem):
5463        (QWebHistoryItem::operator=):
5464        (QWebHistoryItem::~QWebHistoryItem):
5465        (QWebHistoryItem::originalUrl):
5466        (QWebHistoryItem::currentUrl):
5467        (QWebHistoryItem::title):
5468        (QWebHistoryItem::icon):
5469        (QWebHistory::canGoBack):
5470        (QWebHistory::canGoForward):
5471        (QWebHistory::goBack):
5472        (QWebHistory::goForward):
5473        (QWebHistory::goToItem):
5474        * Api/qwebhistory.h:
5475
54762008-01-10  Simon Hausmann  <hausmann@webkit.org>
5477
5478        Reviewed by Lars.
5479
5480        Make the reset() functions not do anything on the default QWebSettings object.
5481
5482
5483        * Api/qwebsettings.cpp:
5484        (QWebSettings::resetFontSize):
5485        (QWebSettings::resetFontFamily):
5486        (QWebSettings::clearAttribute):
5487
54882008-01-10  Lars Knoll  <lars@trolltech.com>
5489
5490        Reviewed by Simon.
5491
5492        rename QWebPageHistory to QWebHistory.
5493
5494
5495        * Api/qwebhistory.cpp: Added.
5496        (QWebHistoryItem::QWebHistoryItem):
5497        (QWebHistoryItem::operator=):
5498        (QWebHistoryItem::~QWebHistoryItem):
5499        (QWebHistoryItem::originalUrl):
5500        (QWebHistoryItem::currentUrl):
5501        (QWebHistoryItem::title):
5502        (QWebHistoryItem::lastVisited):
5503        (QWebHistoryItem::icon):
5504        (QWebHistory::QWebHistory):
5505        (QWebHistory::~QWebHistory):
5506        (QWebHistory::clear):
5507        (QWebHistory::items):
5508        (QWebHistory::backItems):
5509        (QWebHistory::forwardItems):
5510        (QWebHistory::canGoBack):
5511        (QWebHistory::canGoForward):
5512        (QWebHistory::goBack):
5513        (QWebHistory::goForward):
5514        (QWebHistory::goToItem):
5515        (QWebHistory::backItem):
5516        (QWebHistory::currentItem):
5517        (QWebHistory::forwardItem):
5518        (QWebHistory::itemAtIndex):
5519        * Api/qwebhistory.h: Added.
5520        * Api/qwebhistory_p.h: Added.
5521        (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
5522        (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
5523        (QWebHistoryPrivate::QWebHistoryPrivate):
5524        (QWebHistoryPrivate::~QWebHistoryPrivate):
5525        * Api/qwebpage.cpp:
5526        (QWebPagePrivate::QWebPagePrivate):
5527        * Api/qwebpage.h:
5528        * Api/qwebpage_p.h:
5529        * Api/qwebpagehistory.cpp: Removed.
5530        * Api/qwebpagehistory.h: Removed.
5531        * Api/qwebpagehistory_p.h: Removed.
5532        * Api/qwebview.cpp:
5533        * Api/qwebview.h:
5534
55352008-01-10  Simon Hausmann  <hausmann@webkit.org>
5536
5537        Reviewed by Lars.
5538
5539        Documentation for QWebSettings
5540
5541
5542        * Api/qwebsettings.cpp:
5543        (QWebSettings::~QWebSettings):
5544        (QWebSettings::setFontSize):
5545        (QWebSettings::resetFontSize):
5546        (QWebSettings::setUserStyleSheetLocation):
5547        (QWebSettings::userStyleSheetLocation):
5548        (QWebSettings::iconDatabaseEnabled):
5549        (QWebSettings::webGraphic):
5550        (QWebSettings::setFontFamily):
5551        (QWebSettings::resetFontFamily):
5552        (QWebSettings::setAttribute):
5553
55542008-01-10  Lars Knoll  <lars@trolltech.com>
5555
5556        Reviewed by Simon.
5557
5558        Document QWebHistoryInterface.
5559
5560
5561        * Api/qwebhistoryinterface.cpp:
5562        (QWebHistoryInterface::defaultInterface):
5563        (QWebHistoryInterface::~QWebHistoryInterface):
5564
55652008-01-10  Lars Knoll  <lars@trolltech.com>
5566
5567        Reviewed by Simon.
5568
5569        Documentation for QWebFrame.
5570
5571
5572        * Api/qwebframe.cpp:
5573        (QWebFrame::url):
5574        (QWebFrame::name):
5575        (QWebFrame::page):
5576        (QWebFrame::setHtml):
5577        (QWebFrame::parentFrame):
5578        (QWebFrame::render):
5579        (QWebFrame::pos):
5580        (QWebFrame::geometry):
5581        * Api/qwebframe.h:
5582        * Api/qwebframe_p.h:
5583
55842008-01-10  Lars Knoll  <lars@trolltech.com>
5585
5586        Reviewed by Simon.
5587
5588        fix the drawing errors that where introduced due to refactoring.
5589
5590        Correctly clip to the rectangle we want to draw in ScrollView::paint().
5591
5592
5593        * Api/qwebframe.cpp:
5594        (QWebFrame::render):
5595        * Api/qwebframe.h:
5596        * Api/qwebview.cpp:
5597        (QWebView::paintEvent):
5598        * WebCoreSupport/ChromeClientQt.cpp:
5599        (WebCore::ChromeClientQt::scrollBackingStore):
5600
56012008-01-10  Simon Hausmann  <hausmann@webkit.org>
5602
5603        Reviewed by Lars.
5604
5605        Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
5606
5607
5608        * Api/qwebpage.cpp:
5609        (QWebPagePrivate::dropEvent):
5610        (QWebPage::QWebPage):
5611        (QWebPage::~QWebPage):
5612        (QWebPage::mainFrame):
5613        (QWebPage::currentFrame):
5614        (QWebPage::history):
5615        (QWebPage::setView):
5616        (QWebPage::view):
5617        (QWebPage::javaScriptConsoleMessage):
5618        (QWebPage::javaScriptAlert):
5619        (QWebPage::javaScriptConfirm):
5620        (QWebPage::javaScriptPrompt):
5621        (QWebPage::createWindow):
5622        (QWebPage::createModalDialog):
5623        (openNewWindow):
5624        (QWebPage::triggerAction):
5625        (QWebPage::viewportSize):
5626        (QWebPage::navigationRequested):
5627        (QWebPage::selectedText):
5628        (QWebPage::isModified):
5629        (QWebPage::focusNextPrevChild):
5630        (QWebPage::settings):
5631        (QWebPage::networkProxy):
5632        (QWebPage::setNetworkAccessManager):
5633        (QWebPage::networkAccessManager):
5634        (QWebPagePrivate::_q_onLoadProgressChanged):
5635        * Api/qwebview.cpp:
5636
56372008-01-07  Holger Freyther  <zecke@selfish.org>
5638
5639        Reviewed by Alp Toker.
5640
5641        * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
5642        actions.
5643        * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
5644        * Update the ContextMenuController to accept CheckableActionTypes as well.
5645        * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
5646        was extracted from ContextMenu::checkOrEnableIfNeeded.
5647        * Update the Qt and Windows port.
5648
5649        * Api/qwebpage.cpp:
5650        (QWebPagePrivate::createContextMenu):
5651
56522008-01-07  Simon Hausmann  <hausmann@webkit.org>
5653
5654        Build fix for the Windows build. MSVC wants to see the full
5655        declaration of arguments even when just passing them through.
5656
5657        * Api/qwebpage.cpp:
5658
56592008-01-07  Simon Hausmann  <hausmann@webkit.org>
5660
5661        Reviewed by Lars.
5662
5663        Added the missing parameters to make it possible to do POST operations from the public API.
5664
5665        This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
5666        two extra arguments were in QNetworkRequest :-/
5667
5668
5669        * Api/qwebframe.cpp:
5670        (QWebFrame::load):
5671        * Api/qwebframe.h:
5672        * Api/qwebview.cpp:
5673        (QWebView::load):
5674        * Api/qwebview.h:
5675
56762008-01-07  Simon Hausmann  <hausmann@webkit.org>
5677
5678        Reviewed by Lars.
5679
5680        Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
5681
5682
5683        * Api/qwebframe.cpp:
5684        (QWebFrame::load):
5685        * Api/qwebframe.h:
5686        * Api/qwebnetworkinterface.cpp:
5687        * Api/qwebnetworkinterface.h:
5688        * Api/qwebnetworkinterface_p.h:
5689        * Api/qwebobjectplugin.cpp:
5690        * Api/qwebobjectplugin.h:
5691        * Api/qwebobjectplugin_p.h:
5692        * Api/qwebobjectpluginconnector.cpp:
5693        * Api/qwebobjectpluginconnector.h:
5694        * Api/qwebpage.cpp:
5695        (QWebPagePrivate::QWebPagePrivate):
5696        (QWebPagePrivate::~QWebPagePrivate):
5697        (QWebPagePrivate::navigationRequested):
5698        (QWebPage::setNetworkInterface):
5699        (QWebPage::networkInterface):
5700        (QWebPage::setNetworkAccessManager):
5701        (QWebPage::networkAccessManager):
5702        * Api/qwebpage.h:
5703        * Api/qwebpage_p.h:
5704        * Api/qwebview.cpp:
5705        * Api/qwebview.h:
5706        * WebCoreSupport/FrameLoaderClientQt.cpp:
5707        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
5708        (WebCore::FrameLoaderClientQt::objectContentType):
5709        (WebCore::FrameLoaderClientQt::createPlugin):
5710
57112008-01-07  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5712
5713        Reviewed by Simon.
5714
5715        * Move the QWebPagePrivate methods up to the other private ones
5716
5717        * Api/qwebpage.cpp:
5718        (dropActionToDragOp):
5719        (dragOpToDropAction):
5720        (QWebPagePrivate::mouseMoveEvent):
5721        (QWebPagePrivate::mousePressEvent):
5722        (QWebPagePrivate::mouseDoubleClickEvent):
5723        (QWebPagePrivate::mouseReleaseEvent):
5724        (QWebPagePrivate::contextMenuEvent):
5725        (QWebPagePrivate::wheelEvent):
5726        (QWebPagePrivate::keyPressEvent):
5727        (QWebPagePrivate::keyReleaseEvent):
5728        (QWebPagePrivate::focusInEvent):
5729        (QWebPagePrivate::focusOutEvent):
5730        (QWebPagePrivate::dragEnterEvent):
5731        (QWebPagePrivate::dragLeaveEvent):
5732        (QWebPagePrivate::dragMoveEvent):
5733        (QWebPagePrivate::dropEvent):
5734        (QWebPage::focusNextPrevChild):
5735
57362008-01-07  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5737
5738        Reviewed by Simon.
5739
5740        * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
5741
5742
5743        * Api/qwebpage.cpp:
5744        (dragOpToDropAction):
5745        * Api/qwebview.cpp:
5746        (QWebView::mouseMoveEvent):
5747        (QWebView::mousePressEvent):
5748        (QWebView::mouseDoubleClickEvent):
5749        (QWebView::mouseReleaseEvent):
5750        (QWebView::contextMenuEvent):
5751        (QWebView::keyPressEvent):
5752        (QWebView::keyReleaseEvent):
5753        (QWebView::focusInEvent):
5754        (QWebView::focusOutEvent):
5755        (QWebView::dragEnterEvent):
5756        (QWebView::dragLeaveEvent):
5757        (QWebView::dragMoveEvent):
5758        (QWebView::dropEvent):
5759
57602008-01-07  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5761
5762        Reviewed by Lars.
5763
5764        * This layout is not needed anymore as Widget::invalidateRect will not
5765        draw anymore.
5766
5767
5768        * Api/qwebview.cpp:
5769        (QWebView::paintEvent):
5770
57712008-01-04  Lars Knoll  <lars@trolltech.com>
5772
5773        Reviewed by Simon.
5774
5775        Remove most dependencies of Widget/ScrollView onto native QWidgets.
5776
5777        This also brings the code closer in line with the Windows code. Seems
5778        to work nicely on first try :)
5779
5780
5781        * WebCoreSupport/ChromeClientQt.cpp:
5782        (WebCore::ChromeClientQt::updateBackingStore):
5783        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
5784        (WebCore::ChromeClientQt::setToolTip):
5785        * WebCoreSupport/FrameLoaderClientQt.cpp:
5786        (WebCore::FrameLoaderClientQt::createPlugin):
5787
57882008-01-04  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5789
5790        Reviewed by Simon.
5791
5792        * Remove the todo from QWebPage and move the code to QWebView.
5793
5794
5795        * Api/qwebpage.cpp:
5796        (QWebPagePrivate::wheelEvent):
5797        (QWebPagePrivate::focusInEvent):
5798        * Api/qwebview.cpp:
5799        (QWebView::wheelEvent):
5800        (QWebView::focusInEvent):
5801
58022008-01-04  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5803
5804        Reviewed by Simon.
5805
5806        * Move the various event methods to QWebPagePrivate. This is similar to
5807        QTextControl as well.
5808
5809
5810        * Api/qwebpage.cpp:
5811        (QWebPage::event):
5812        (QWebPagePrivate::mouseMoveEvent):
5813        (QWebPagePrivate::mousePressEvent):
5814        (QWebPagePrivate::mouseDoubleClickEvent):
5815        (QWebPagePrivate::mouseReleaseEvent):
5816        (QWebPagePrivate::contextMenuEvent):
5817        (QWebPagePrivate::wheelEvent):
5818        (QWebPagePrivate::keyPressEvent):
5819        (QWebPagePrivate::keyReleaseEvent):
5820        (QWebPagePrivate::focusInEvent):
5821        (QWebPagePrivate::focusOutEvent):
5822        (QWebPage::focusNextPrevChild):
5823        (QWebPagePrivate::dragEnterEvent):
5824        (QWebPagePrivate::dragLeaveEvent):
5825        (QWebPagePrivate::dragMoveEvent):
5826        (QWebPagePrivate::dropEvent):
5827        * Api/qwebpage.h:
5828        * Api/qwebpage_p.h:
5829
58302008-01-04  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5831
5832        Reviewed by Simon.
5833
5834        * Forward the event from QWebView to QWebPage through QObject::event. This
5835        is similar to the way QTextControl is working.
5836
5837
5838        * Api/qwebpage.cpp:
5839        (dragOpToDropAction):
5840        (QWebPage::event):
5841        * Api/qwebpage.h:
5842        * Api/qwebview.cpp:
5843        (QWebView::mouseMoveEvent):
5844        (QWebView::mousePressEvent):
5845        (QWebView::mouseDoubleClickEvent):
5846        (QWebView::mouseReleaseEvent):
5847        (QWebView::contextMenuEvent):
5848        (QWebView::wheelEvent):
5849        (QWebView::keyPressEvent):
5850        (QWebView::keyReleaseEvent):
5851        (QWebView::focusInEvent):
5852        (QWebView::focusOutEvent):
5853        (QWebView::dragEnterEvent):
5854        (QWebView::dragLeaveEvent):
5855        (QWebView::dragMoveEvent):
5856        (QWebView::dropEvent):
5857        * Api/qwebview.h:
5858
58592008-01-04  Lars Knoll  <lars@trolltech.com>
5860
5861        Reviewed by Simon.
5862
5863        make QWebPage a QObject and get things to compile.
5864
5865        Nothing works currently though.
5866
5867
5868        * Api/qwebobjectpluginconnector.cpp:
5869        * Api/qwebpage.cpp:
5870        (QWebPagePrivate::QWebPagePrivate):
5871        (QWebPagePrivate::createMainFrame):
5872        (QWebPage::QWebPage):
5873        (QWebPage::setView):
5874        (QWebPage::view):
5875        (QWebPage::javaScriptAlert):
5876        (QWebPage::javaScriptPrompt):
5877        (dragOpToDropAction):
5878        (QWebPage::mousePressEvent):
5879        (QWebPage::mouseDoubleClickEvent):
5880        (QWebPage::mouseReleaseEvent):
5881        (QWebPage::wheelEvent):
5882        (QWebPage::keyPressEvent):
5883        (QWebPage::focusInEvent):
5884        * Api/qwebpage.h:
5885        * Api/qwebpage_p.h:
5886        * Api/qwebview.cpp:
5887        (QWebView::QWebView):
5888        (QWebView::setPage):
5889        (QWebView::resizeEvent):
5890        (QWebView::paintEvent):
5891        * Api/qwebview.h:
5892        * WebCoreSupport/ChromeClientQt.cpp:
5893        (WebCore::ChromeClientQt::windowRect):
5894        (WebCore::ChromeClientQt::pageRect):
5895        (WebCore::ChromeClientQt::focus):
5896        (WebCore::ChromeClientQt::unfocus):
5897        (WebCore::ChromeClientQt::canTakeFocus):
5898        (WebCore::ChromeClientQt::takeFocus):
5899        (WebCore::ChromeClientQt::canRunModal):
5900        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
5901        * WebCoreSupport/DragClientQt.cpp:
5902        (WebCore::DragClientQt::startDrag):
5903        * WebCoreSupport/FrameLoaderClientQt.cpp:
5904        (WebCore::FrameLoaderClientQt::createPlugin):
5905        * WebCoreSupport/InspectorClientQt.cpp:
5906        (WebCore::InspectorClientWebPage::createWindow):
5907        (WebCore::InspectorClientView::InspectorClientView):
5908        (WebCore::InspectorClientView::page):
5909        (WebCore::InspectorClientView::hideEvent):
5910        (WebCore::InspectorClientView::closeEvent):
5911        (WebCore::InspectorClientQt::createPage):
5912        (WebCore::InspectorClientQt::closeWindow):
5913
59142008-01-04  Simon Hausmann  <hausmann@webkit.org>
5915
5916        Reviewed by Lars.
5917
5918        Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
5919
5920
5921        * Api/qwebview.cpp:
5922        (QWebView::setHtml):
5923        (QWebView::setContent):
5924        (QWebView::history):
5925        (QWebView::settings):
5926        (QWebView::action):
5927        (QWebView::triggerAction):
5928        (QWebView::stop):
5929        (QWebView::backward):
5930        (QWebView::forward):
5931        (QWebView::reload):
5932        * Api/qwebview.h:
5933
59342008-01-04  Lars Knoll  <lars@trolltech.com>
5935
5936        Reviewed by Simon.
5937
5938        add a viewportSize to QWebPage.
5939
5940        This is required to eventually make it a QObject only.
5941
5942
5943        * Api/qwebpage.cpp:
5944        (QWebPage::triggerAction):
5945        (QWebPage::viewportSize):
5946        (QWebPage::setViewportSize):
5947        * Api/qwebpage.h:
5948
59492008-01-04  Lars Knoll  <lars@trolltech.com>
5950
5951        Reviewed by Simon.
5952
5953        take a QString as identifier in QWebFrame::addToJSWindowObject.
5954
5955        * Api/qwebframe.cpp:
5956        (QWebFrame::addToJSWindowObject):
5957        * Api/qwebframe.h:
5958
59592008-01-04  Simon Hausmann  <hausmann@webkit.org>
5960
5961        Reviewed by Lars.
5962
5963        Call the frame arguments for the javascript callbacks "originatingFrame"
5964
5965
5966        * Api/qwebpage.h:
5967
59682008-01-04  Simon Hausmann  <hausmann@webkit.org>
5969
5970        Reviewed by Lars.
5971
5972        Moved the QWebPage::addToHistory signal into QWebHistoryInterface
5973
5974
5975        * Api/qwebhistoryinterface.h:
5976        * Api/qwebpage.h:
5977        * WebCoreSupport/FrameLoaderClientQt.cpp:
5978        (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
5979
59802008-01-04  Lars Knoll  <lars@trolltech.com>
5981
5982        Reviewed by Simon.
5983
5984        moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
5985
5986        * Api/qwebframe.cpp:
5987        (QWebFrame::url):
5988        (QWebFrame::icon):
5989        (QWebFrame::setVerticalScrollBarPolicy):
5990        * Api/qwebframe.h:
5991        * Api/qwebpage.cpp:
5992        (QWebPage::javaScriptAlert):
5993        (QWebPage::javaScriptPrompt):
5994        (QWebPage::networkInterface):
5995        * Api/qwebpage.h:
5996        * Api/qwebview.cpp:
5997        (QWebView::title):
5998        (QWebView::url):
5999        (QWebView::icon):
6000        * WebCoreSupport/FrameLoaderClientQt.cpp:
6001
60022008-01-03  Simon Hausmann  <hausmann@webkit.org>
6003
6004        Reviewed by Lars.
6005
6006        Moved QWebPage::open to QWebFrame::load and added setHtml.
6007
6008
6009        * Api/qwebframe.cpp:
6010        (QWebFrame::load):
6011        (QWebFrame::setHtml):
6012        (QWebFrame::setContent):
6013        * Api/qwebframe.h:
6014        * Api/qwebpage.cpp:
6015        * Api/qwebpage.h:
6016        * Api/qwebview.cpp:
6017        (QWebView::load):
6018        (QWebView::setHtml):
6019        * Api/qwebview.h:
6020        * WebCoreSupport/ChromeClientQt.cpp:
6021        (WebCore::ChromeClientQt::createWindow):
6022        * WebCoreSupport/InspectorClientQt.cpp:
6023        (WebCore::InspectorClientQt::createPage):
6024
60252008-01-03  Simon Hausmann  <hausmann@webkit.org>
6026
6027        Reviewed by Lars.
6028
6029        Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
6030
6031
6032        * Api/headers.pri:
6033        * Api/qwebframe.h:
6034        * Api/qwebpage.cpp:
6035        (QWebPagePrivate::createMainFrame):
6036        * Api/qwebpage.h:
6037        * Api/qwebpagehistory.h:
6038        * Api/qwebview.cpp: Added.
6039        (QWebView::QWebView):
6040        (QWebView::~QWebView):
6041        (QWebView::page):
6042        (QWebView::setPage):
6043        (QWebView::load):
6044        (QWebView::setHtml):
6045        (QWebView::history):
6046        (QWebView::settings):
6047        (QWebView::title):
6048        (QWebView::url):
6049        (QWebView::icon):
6050        (QWebView::selectedText):
6051        (QWebView::action):
6052        (QWebView::triggerAction):
6053        (QWebView::isModified):
6054        (QWebView::textInteractionFlags):
6055        (QWebView::setTextInteractionFlags):
6056        (QWebView::sizeHint):
6057        (QWebView::stop):
6058        (QWebView::backward):
6059        (QWebView::forward):
6060        (QWebView::reload):
6061        * Api/qwebview.h: Added.
6062        * QtLauncher/main.cpp:
6063        (MainWindow::MainWindow):
6064        (MainWindow::webPage):
6065        (MainWindow::changeLocation):
6066        * WebCoreSupport/FrameLoaderClientQt.cpp:
6067        (WebCore::FrameLoaderClientQt::setFrame):
6068        * WebCoreSupport/FrameLoaderClientQt.h:
6069
60702007-12-14  Darin Adler  <darin@apple.com>
6071
6072        Reviewed by Alexey.
6073
6074        * Api/qwebpage.cpp:
6075        (QWebPage::triggerAction): Removed some use of Editor member functions we plan
6076        to eventually eliminate. Switch from Editor::execCommand to Editor::command.
6077        * WebCoreSupport/EditorClientQt.cpp:
6078        (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
6079        MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
6080        to MovePageDown.
6081
60822007-12-12  Brady Eidson  <beidson@apple.com>
6083
6084        Reviewed by Sam Weinig
6085
6086        As part of doing some CachedPage and client cleanup, keep Qt building
6087
6088        * WebCoreSupport/FrameLoaderClientQt.cpp:
6089        (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
6090        (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
6091        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
6092        * WebCoreSupport/FrameLoaderClientQt.h:
6093
60942007-12-12  Sam Weinig  <sam@webkit.org>
6095
6096        Build fix.
6097
6098        * WebCoreSupport/FrameLoaderClientQt.cpp:
6099        (WebCore::FrameLoaderClientQt::userAgent):
6100
61012007-12-12  Sam Weinig  <sam@webkit.org>
6102
6103        Build fix.
6104
6105        * Api/qwebnetworkinterface.cpp:
6106        (QWebNetworkRequestPrivate::init):
6107        * Api/qwebpage.cpp:
6108        (QWebPage::url):
6109        (QWebPageContext::QWebPageContext):
6110        * Api/qwebpagehistory.cpp:
6111        (QWebHistoryItem::originalUrl):
6112        (QWebHistoryItem::currentUrl):
6113        * WebCoreSupport/FrameLoaderClientQt.cpp:
6114        (WebCore::FrameLoaderClientQt::cannotShowURLError):
6115        (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
6116        (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
6117        (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
6118        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
6119        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
6120        (WebCore::FrameLoaderClientQt::createPlugin):
6121
61222007-12-07  Alexey Proskuryakov  <ap@webkit.org>
6123
6124        Reviewed by Darin Adler.
6125
6126        <rdar://problem/5535636>
6127        Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
6128
6129        http://bugs.webkit.org/show_bug.cgi?id=13916
6130        JavaScript detects Tab as a character input on a textfield validation
6131
6132        * WebCoreSupport/EditorClientQt.cpp:
6133        (WebCore::EditorClientQt::handleKeyboardEvent):
6134        (WebCore::EditorClientQt::handleInputMethodKeydown):
6135        * WebCoreSupport/EditorClientQt.h:
6136        Updated for cross-platform changes as much as it was possible without a Qt build environment.
6137
61382007-12-07  Darin Adler  <darin@apple.com>
6139
6140        - try to fix build
6141
6142        * Api/qwebhistoryinterface.cpp:
6143        (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
6144        be updated, since WebCore changed, but this should not be here.
6145
61462007-12-04  Darin Adler  <darin@apple.com>
6147
6148        Reviewed by Kevin Decker.
6149
6150        * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
6151        * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
6152
61532007-12-04  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6154
6155        Reviewed by Simon.
6156
6157        * Implement the InspectorClient for the Qt port
6158        * It does not support highlighting of nodes yet
6159        * Use QRC to open the internal page. The important thing is the
6160        '/' in the URL to make WebCore::Document::completeURL behave the
6161        way we want.
6162        * To make the InspectorClient work we will have to mark qrc as secure.
6163
6164        * Api/qwebpage.cpp:
6165        (QWebPagePrivate::QWebPagePrivate):
6166        * Api/qwebpage.h:
6167        * WebCoreSupport/InspectorClientQt.cpp:
6168        (WebCore::InspectorClientWebPage::hideEvent):
6169        (WebCore::InspectorClientQt::InspectorClientQt):
6170        (WebCore::InspectorClientQt::inspectorDestroyed):
6171        (WebCore::InspectorClientQt::createPage):
6172        (WebCore::InspectorClientQt::localizedStringsURL):
6173        (WebCore::InspectorClientQt::showWindow):
6174        (WebCore::InspectorClientQt::closeWindow):
6175        (WebCore::InspectorClientQt::attachWindow):
6176        (WebCore::InspectorClientQt::detachWindow):
6177        * WebCoreSupport/InspectorClientQt.h:
6178
61792007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6180
6181        Rubber stamped by Mark.
6182
6183        Always include config.h at the beginning of the file.
6184
6185        * Api/qwebsettings.cpp:
6186
61872007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6188
6189        Reviewed by Simon.
6190
6191        * Avoid crashes by making sure everything is layouted before
6192        we start painting. This avoids a crash in Widget::invalidateRect
6193        because QPainter::begin would fail
6194        * The QWebFrame::layout() methods and calls are left untouched because
6195        this would be an API decision.
6196
6197
6198        * Api/qwebframe.cpp:
6199        (QWebFrame::layout):
6200        * Api/qwebpage.cpp:
6201        (QWebPage::paintEvent):
6202
62032007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6204
6205        Reviewed by Simon.
6206
6207        * SubClass QWebPage to handle hide and close events.
6208        * Forward these events to the InspectorController
6209        * The other options would have been using an eventFilter
6210        on the webpage and making InspectorClient a QObject or
6211        creating a QObject Observer.
6212        * Provide a simple QWebPage* createWindow implementation. This is needed
6213        to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
6214        of the inspector client.
6215
6216
6217        * WebCoreSupport/InspectorClientQt.cpp:
6218        (WebCore::InspectorClientWebPage::InspectorClientWebPage):
6219        (WebCore::InspectorClientWebPage::createWindow):
6220        (WebCore::InspectorClientWebPage::hideEvent):
6221        (WebCore::InspectorClientWebPage::closeEvent):
6222        (WebCore::InspectorClientQt::createPage):
6223
62242007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6225
6226        Reviewed by Simon.
6227
6228        * Allow adding the Inspect ContextMenuItem to our Menu
6229        * Open the Inspector when Inspect was activated. This requires
6230        that we keep the innerNonSharedNode from the HitTest around. This
6231        forces us to include <wtf/RefPtr.h> in the private header. It is
6232        the first non Qt header but should be okay.
6233
6234
6235        * Api/qwebpage.cpp:
6236        (webActionForContextMenuAction):
6237        (QWebPage::triggerAction):
6238        (QWebPage::action):
6239        (QWebPageContext::QWebPageContext):
6240        * Api/qwebpage.h:
6241        * Api/qwebpage_p.h:
6242
62432007-12-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6244
6245        Reviewed by Simon.
6246
6247        * Add the Developer Extras to the WebAttribute and propagate it
6248        to WebCore::Settings. This will enable the Inspect Element menu item
6249        * CodingStyle fixes in QWebSettings
6250        * Enable the Developer Extras in the QtLauncher
6251
6252
6253        * Api/qwebsettings.cpp:
6254        (QWebSettingsPrivate::apply):
6255        * Api/qwebsettings.h:
6256        * QtLauncher/main.cpp:
6257        (main):
6258
62592007-12-03  Geoffrey Garen  <ggaren@apple.com>
6260
6261        Removed unnecessary and possibly incorrect #include from my last
6262        check-in.
6263
6264        * Api/qwebframe.cpp:
6265
62662007-12-03  Geoffrey Garen  <ggaren@apple.com>
6267
6268        Qt build fix: Get globalExec() from the right place.
6269
62702007-11-30  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6271
6272        Reviewed by Simon.
6273
6274        * Self destruct the clients like the ohter ports do
6275
6276
6277        * WebCoreSupport/ChromeClientQt.cpp:
6278        (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
6279        * WebCoreSupport/ContextMenuClientQt.cpp:
6280        * WebCoreSupport/DragClientQt.cpp:
6281        * WebCoreSupport/EditorClientQt.cpp:
6282        * WebCoreSupport/InspectorClientQt.cpp:
6283
62842007-11-29  Brady Eidson  <beidson@apple.com>
6285
6286        Keep it building with new client method
6287
6288        * WebCoreSupport/ChromeClientQt.cpp:
6289        (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
6290        (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
6291        * WebCoreSupport/ChromeClientQt.h:
6292
62932007-11-22  Simon Hausmann  <hausmann@webkit.org>
6294
6295        Reviewed by Adam Treat.
6296
6297        Fix compilation (don't define notImplemented twice)
6298
6299        * Api/qwebnetworkinterface.cpp:
6300
63012007-11-22  Simon Hausmann  <hausmann@kde.org>
6302
6303        Reviewed by George.
6304
6305        Use Q_SIGNALS/Q_SLOTS in the public API
6306
6307        * Api/qwebframe.h:
6308        * Api/qwebpage.h:
6309
63102007-11-22  Simon Hausmann  <hausmann@kde.org>
6311
6312        Reviewed by George.
6313
6314        Fixed the signature of the QWebPage constructor to follow Qt guidelines.
6315
6316        * Api/qwebpage.h:
6317
63182007-11-22  Simon Hausmann  <hausmann@kde.org>
6319
6320        Reviewed by George.
6321
6322        Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
6323
6324        * Api/qcookiejar.h:
6325        * Api/qwebframe.h:
6326        * Api/qwebhistoryinterface.h:
6327        * Api/qwebnetworkinterface.h:
6328        * Api/qwebobjectplugin.h:
6329        * Api/qwebobjectplugin_p.h:
6330        * Api/qwebobjectpluginconnector.h:
6331        * Api/qwebpage.h:
6332        * Api/qwebpagehistory.h:
6333        * Api/qwebsettings.h:
6334
63352007-11-22  Simon Hausmann  <hausmann@kde.org>
6336
6337        Reviewed by George.
6338
6339        Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
6340
6341        * Api/qwebpagehistory.h:
6342
63432007-11-22  George Staikos  <staikos@kde.org>
6344
6345        Reviewed by Simon Hausmann <hausmann@kde.org>.
6346
6347        Fix license headers
6348
6349
6350        * Api/qwebobjectplugin.cpp:
6351        * Api/qwebobjectplugin.h:
6352        * Api/qwebobjectpluginconnector.cpp:
6353        * Api/qwebobjectpluginconnector.h:
6354
63552007-11-22  Simon Hausmann  <hausmann@kde.org>
6356
6357        Reviewed by George Staikos <staikos@kde.org>.
6358
6359        Fix shadowing of "page" variable that is passed as argument as well as a member variable.
6360
6361        This also fixes compilation with gcc 4.3.
6362
6363
6364        * Api/qwebframe.cpp:
6365        (QWebFramePrivate::init):
6366
63672007-11-21  Adam Treat  <adam.treat@torchmobile.com>
6368
6369        Reviewed by Simon.
6370
6371        * Connect up the signal for all subframes too.
6372
6373        * Api/qwebframe.cpp:
6374        (QWebFramePrivate::init):
6375        * Api/qwebpage.cpp:
6376        (QWebPagePrivate::createMainFrame):
6377
63782007-11-20  Simon Hausmann  <hausmann@kde.org>
6379
6380        Reviewed by Adam Treat <adam.treat@torchmobile.com>.
6381
6382        Remove static linkage of QtWebKit against the ICO image format plugin.
6383
6384        Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
6385
6386
6387        * Plugins/Plugins.pro:
6388
63892007-11-20  Simon Hausmann  <hausmann@kde.org>
6390
6391        Reviewed by George Staikos <staikos@kde.org>.
6392
6393        Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
6394
6395
6396        * Api/qwebpage.h:
6397
63982007-11-20  George Staikos  <staikos@kde.org>
6399
6400        Reviewed by Simon Hausmann <hausmann@kde.org>.
6401
6402        Add an argument to pass the link text in the hovering signal
6403
6404
6405        * Api/qwebframe.h:
6406        * Api/qwebpage.cpp:
6407        (QWebPagePrivate::createMainFrame):
6408        (QWebPage::mouseMoveEvent):
6409        * Api/qwebpage.h:
6410
64112007-11-20  Adam Treat  <adam.treat@torchmobile.com>
6412
6413        Reviewed by Simon and George.
6414
6415        * Be quiet and allow suppression of NotImplemented calls at runtime.
6416
6417        * WebCoreSupport/FrameLoaderClientQt.cpp:
6418        (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
6419
64202007-11-19  Adam Treat  <adam.treat@torchmobile.com>
6421
6422        Reviewed by Simon.
6423
6424        * Don't segfault when event pos is outside of the widget.
6425
6426        * Api/qwebpage.cpp:
6427        (QWebPage::mouseMoveEvent):
6428        (QWebPage::mousePressEvent):
6429        (QWebPage::mouseDoubleClickEvent):
6430        (QWebPage::mouseReleaseEvent):
6431        (QWebPage::contextMenuEvent):
6432
64332007-11-17  Timothy Hatcher  <timothy@apple.com>
6434
6435        Reviewed by Mark Rowe.
6436
6437        Bug 13470: i18n: The Web Inspector is not localizable
6438        http://bugs.webkit.org/show_bug.cgi?id=13470
6439
6440        * WebCoreSupport/InspectorClientQt.cpp:
6441        (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
6442        * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
6443
64442007-11-13  Geoffrey Garen  <ggaren@apple.com>
6445
6446        Build fix: changed Shared to RefCounted.
6447
6448        * WebCoreSupport/ChromeClientQt.h:
6449        * WebCoreSupport/ContextMenuClientQt.cpp:
6450        * WebCoreSupport/ContextMenuClientQt.h:
6451        * WebCoreSupport/EditorClientQt.h:
6452        * WebCoreSupport/FrameLoaderClientQt.h:
6453
64542007-11-10  Simon Hausmann  <hausmann@kde.org>
6455
6456        Reviewed by Nikolas.
6457
6458        When populating the context menu with sub-menus don't add sub-menus if they're empty.
6459
6460
6461        * Api/qwebpage.cpp:
6462        (QWebPagePrivate::createContextMenu):
6463
64642007-11-10  Simon Hausmann  <hausmann@kde.org>
6465
6466        Reviewed by Nikolas.
6467
6468        Added support for the Bold/Italic/Underline toggle actions.
6469
6470
6471        * Api/qwebpage.cpp:
6472        (webActionForContextMenuAction):
6473        (QWebPage::triggerAction):
6474        (QWebPage::action):
6475        * Api/qwebpage.h:
6476
64772007-11-10  Simon Hausmann  <hausmann@kde.org>
6478
6479        Reviewed by Nikolas.
6480
6481        Before adding an action to the context menu call checkOrEnableIfNeeded for each action
6482        to update the enable/checked state correctly.
6483
6484
6485        * Api/qwebpage.cpp:
6486        (QWebPagePrivate::createContextMenu):
6487        (QWebPage::contextMenuEvent):
6488        * Api/qwebpage_p.h:
6489
64902007-11-10  Simon Hausmann  <hausmann@kde.org>
6491
6492        Reviewed by Nikolas.
6493
6494        Mark the text direction actions as checkable actions.
6495
6496
6497        * Api/qwebpage.cpp:
6498        (QWebPage::action):
6499
65002007-11-09  Simon Hausmann  <hausmann@kde.org>
6501
6502        Reviewed by Holger.
6503
6504        Implemented the webcore actions for changing the text direction.
6505
6506
6507        * Api/qwebpage.cpp:
6508        (webActionForContextMenuAction):
6509        (QWebPage::triggerAction):
6510        (QWebPage::action):
6511        * Api/qwebpage.h:
6512
65132007-11-09  Simon Hausmann  <hausmann@kde.org>
6514
6515        Reviewed by Holger.
6516
6517        Fix ContextMenu allocation in the Qt port.
6518
6519        Store all items and submenus value based in ContextMenu and ContextMenuItem.
6520        That fixes the crashes when the context menu was populated with sub-menus because
6521        of the use of temporary ContextMenu objects like this:
6522
6523        ContextMenu subMenu(...);
6524        subMenu.appendItem(...);
6525        subMenu.appendItem(...);
6526
6527        subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
6528
6529
6530        * Api/qwebpage.cpp:
6531        (QWebPage::contextMenuEvent):
6532        * Api/qwebpage_p.h:
6533
65342007-11-09  Simon Hausmann  <hausmann@kde.org>
6535
6536        Reviewed by Holger.
6537
6538        Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
6539
6540
6541        * Api/qwebpage.h:
6542        * Api/qwebpage_p.h:
6543
65442007-11-08  Kevin McCullough  <kmccullough@apple.com>
6545
6546        Reviewed by Sam.
6547
6548        - windowObjectCleared() is no longer const.  It needs to setup the
6549        script debugger and cannot be const to do so.
6550
6551        * WebCoreSupport/FrameLoaderClientQt.cpp:
6552        (WebCore::FrameLoaderClientQt::windowObjectCleared):
6553        * WebCoreSupport/FrameLoaderClientQt.h:
6554
65552007-11-08  Simon Hausmann  <hausmann@kde.org>
6556
6557        Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
6558
6559        The buildbots use Qt 4.4 which has the function in question, but Qt
6560        4.3 doesn't have it. Use removeAll() as replacement instead, it
6561        shouldn't make a difference in performance.
6562
6563        * Api/qwebsettings.cpp:
6564        (QWebSettings::~QWebSettings):
6565
65662007-11-08  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6567
6568        Reviewed by Lars Knoll <lars@trolltech.com>.
6569
6570        Cleanup checking for the request method.
6571
6572        * Check the request method only in QWebNetworkManager::add.
6573        * Currently HEAD, GET, POST are allowed and for everything else
6574        QWebNetworkManager::add returns false.
6575        * Returning false is compatible with ResourceHandle::start and it
6576        can be used in ResourceHandle::loadResourceSynchronously to generate
6577        a ResourceError
6578
6579
6580        * Api/qwebnetworkinterface.cpp:
6581        (QWebNetworkManager::add):
6582
65832007-11-08  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
6584
6585        Reviewed by Lars Knoll <lars@trolltech.com>.
6586
6587        Fix bug in the implementation of synchronous network jobs.
6588
6589        * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
6590        -    if (jobMode == AsynchronousJob) {
6591        +    if (jobMode == SynchronousJob) {
6592        add job to synchronous list/hash
6593
6594        * Just applying the above change will lead to crashes because we can finish
6595        jobs before we started them.
6596
6597        * Avoid these issues by saving all work (starting a job, sending data and
6598        finishing it) inside one list. JobWork will contain any
6599        of the above three work types and doWork will just work on this list
6600        (m_pendingWork). As foreach takes a copy of the list calling started, data
6601        and finished will not add new work and we gurantee that if we have JobStarted
6602        it will be in the list before JobData and JobFinished.
6603
6604        * Observation: We might just kill the code to handle sync jobs.
6605
6606
6607        * Api/qwebnetworkinterface.cpp:
6608        (QWebNetworkManager::add):
6609        (QWebNetworkManager::queueStart):
6610        (QWebNetworkManager::queueData):
6611        (QWebNetworkManager::queueFinished):
6612        (QWebNetworkManager::doWork):
6613        * Api/qwebnetworkinterface_p.h:
6614        (QWebNetworkManager::JobWork::):
6615        (QWebNetworkManager::JobWork::JobWork):
6616
66172007-11-07  Simon Hausmann  <hausmann@kde.org>
6618
6619        Fix the Qt build by setting up WindowFeatures before calling
6620        createWindow on the Chrome. This is similar to openNewWindow in
6621        page/ContextMenuController.cpp
6622
6623        * Api/qwebpage.cpp:
6624        (openNewWindow):
6625
66262007-11-07  Simon Hausmann  <hausmann@kde.org>
6627
6628        Reviewed by Lars.
6629
6630        Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
6631
6632        * Api/qwebpage.cpp:
6633        (QWebPagePrivate::QWebPagePrivate):
6634        * Api/qwebsettings.cpp:
6635        (QWebSettingsPrivate::apply):
6636        * Api/qwebsettings.h:
6637
66382007-11-07  Simon Hausmann  <hausmann@kde.org>
6639
6640        Reviewed by Lars.
6641
6642        Changed QWebPageHistory::goToItem to take a value instead of a pointer.
6643
6644        * Api/qwebpagehistory.cpp:
6645        * Api/qwebpagehistory.h:
6646
66472007-11-07  Simon Hausmann  <hausmann@kde.org>
6648
6649        Reviewed by Lars.
6650
6651        Removed unimplemented QWebHistoryItem::children() function
6652
6653        * Api/qwebpagehistory.h:
6654
66552007-11-07  Simon Hausmann  <hausmann@kde.org>
6656
6657        Reviewed by Lars.
6658
6659        Changed the getter functions in QWebSettings to transparently resolve against the default settings.
6660
6661        * Api/qwebsettings.cpp:
6662        (QWebSettings::fontSize):
6663        (QWebSettings::fontFamily):
6664        (QWebSettings::testAttribute):
6665
66662007-11-07  Simon Hausmann  <hausmann@kde.org>
6667
6668        Reviewed by Lars.
6669
6670        Added explicit functions for resetting the font sizes and font families.
6671
6672        * Api/qwebsettings.cpp:
6673        (QWebSettings::resetFontSize):
6674        (QWebSettings::resetFontFamily):
6675        * Api/qwebsettings.h:
6676
66772007-11-07  Simon Hausmann  <hausmann@kde.org>
6678
6679        Reviewed by Lars.
6680
6681        Combined the font sizes accessors/setters under one setter/getter with an enum.
6682
6683        * Api/qwebsettings.cpp:
6684        (QWebSettingsPrivate::QWebSettingsPrivate):
6685        (QWebSettingsPrivate::apply):
6686        (QWebSettings::QWebSettings):
6687        (QWebSettings::setFontSize):
6688        * Api/qwebsettings.h:
6689
66902007-11-07  Simon Hausmann  <hausmann@kde.org>
6691
6692        Reviewed by Lars.
6693
6694        Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
6695
6696        * Api/qwebpage.cpp:
6697        * Api/qwebpage.h:
6698        * WebCoreSupport/FrameLoaderClientQt.cpp:
6699        (WebCore::FrameLoaderClientQt::userAgent):
6700
67012007-11-07  Simon Hausmann  <hausmann@kde.org>
6702
6703        Reviewed by Lars.
6704
6705        Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
6706
6707        * Api/qwebpage.cpp:
6708        (QWebPagePrivate::_q_webActionTriggered):
6709        (QWebPage::keyPressEvent):
6710        * Api/qwebpage.h:
6711
67122007-11-07  Simon Hausmann  <hausmann@kde.org>
6713
6714        Reviewed by Lars.
6715
6716        Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
6717
6718        * Api/qwebpage.cpp:
6719        * Api/qwebpage.h:
6720        * WebCoreSupport/ChromeClientQt.cpp:
6721        (WebCore::ChromeClientQt::setWindowRect):
6722
67232007-11-07  Simon Hausmann  <hausmann@kde.org>
6724
6725        Reviewed by Lars.
6726
6727        Renamed QWebPage::webAction() to QWebPage::action()
6728
6729        * Api/qwebpage.cpp:
6730        (QWebPagePrivate::createContextMenu):
6731        * Api/qwebpage.h:
6732        * QtLauncher/main.cpp:
6733        (MainWindow::MainWindow):
6734
67352007-11-07  Simon Hausmann  <hausmann@kde.org>
6736
6737        Reviewed by Lars.
6738
6739        Removed a bunch of slots/functions that are now available through the new actions API.
6740
6741        * Api/qwebpage.cpp:
6742        * Api/qwebpage.h:
6743
67442007-11-07  Simon Hausmann  <hausmann@kde.org>
6745
6746        Reviewed by Lars.
6747
6748        Added some more comments to the API after another round of API review with Lars.
6749
6750        * Api/qwebpage.h:
6751
67522007-11-07  Simon Hausmann  <hausmann@kde.org>
6753
6754        Reviewed by Lars.
6755
6756        Moved QWebFrame::selectedText() to QWebPage::selectedText().
6757
6758        The currently selected text is a property of the page as a whole.
6759
6760        * Api/qwebframe.cpp:
6761        * Api/qwebframe.h:
6762        * Api/qwebpage.cpp:
6763        (QWebPage::selectedText):
6764        * Api/qwebpage.h:
6765
67662007-11-07  Simon Hausmann  <hausmann@kde.org>
6767
6768        Reviewed by Lars.
6769
6770        Implemented support for settings propagation.
6771
6772        If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
6773
6774        * Api/qwebsettings.cpp:
6775        (QWebSettingsPrivate::QWebSettingsPrivate):
6776        (QWebSettingsPrivate::apply):
6777        (QWebSettings::QWebSettings):
6778        (QWebSettings::~QWebSettings):
6779        (QWebSettings::setFontFamily):
6780        * Api/qwebsettings.h:
6781
67822007-11-07  Simon Hausmann  <hausmann@kde.org>
6783
6784        Reviewed by Lars.
6785
6786        Reworked the QWebSettings API.
6787        QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
6788
6789        * Api/qwebpage.cpp:
6790        (QWebPagePrivate::QWebPagePrivate):
6791        (QWebPagePrivate::~QWebPagePrivate):
6792        (QWebPage::QWebPage):
6793        * Api/qwebpage.h:
6794        * Api/qwebpage_p.h:
6795        * Api/qwebsettings.cpp:
6796        (QWebSettingsPrivate::QWebSettingsPrivate):
6797        (QWebSettingsPrivate::apply):
6798        (QWebSettings::defaultSettings):
6799        (QWebSettings::QWebSettings):
6800        (QWebSettings::setMinimumFontSize):
6801        (QWebSettings::setMinimumLogicalFontSize):
6802        (QWebSettings::setDefaultFontSize):
6803        (QWebSettings::setDefaultFixedFontSize):
6804        (QWebSettings::setUserStyleSheetLocation):
6805        (QWebSettings::setFontFamily):
6806        (QWebSettings::fontFamily):
6807        (QWebSettings::setAttribute):
6808        * Api/qwebsettings.h:
6809        * QtLauncher/main.cpp:
6810        (main):
6811
68122007-11-07  Simon Hausmann  <hausmann@kde.org>
6813
6814        Reviewed by Lars.
6815
6816        Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
6817
6818        * Api/qwebsettings.cpp:
6819        (QWebSettings::setWebGraphic):
6820        * Api/qwebsettings.h:
6821
68222007-11-07  Simon Hausmann  <hausmann@kde.org>
6823
6824        Reviewed by Lars.
6825
6826        Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
6827
6828        * Api/qwebsettings.cpp:
6829
68302007-11-07  Simon Hausmann  <hausmann@kde.org>
6831
6832        Reviewed by Lars.
6833
6834        Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
6835
6836        * Api/qwebsettings.cpp:
6837        * Api/qwebsettings.h:
6838
68392007-11-07  Simon Hausmann  <hausmann@kde.org>
6840
6841        Reviewed by Lars.
6842
6843        Changed the webAction() accessor to not be a slot but just a public function.
6844
6845        * Api/qwebpage.h:
6846
68472007-11-07  Simon Hausmann  <hausmann@kde.org>
6848
6849        Reviewed by Lars.
6850
6851        Implemented createWindow() in QtLauncher.
6852
6853        * QtLauncher/main.cpp:
6854        (WebPage::WebPage):
6855        (MainWindow::MainWindow):
6856        (WebPage::createWindow):
6857
68582007-11-07  Simon Hausmann  <hausmann@kde.org>
6859
6860        Reviewed by Lars.
6861
6862        Implemented opening links in new windows
6863
6864        * Api/qwebpage.cpp:
6865        (frameLoadRequest):
6866        (openNewWindow):
6867        (QWebPage::webActionTriggered):
6868
68692007-11-07  Simon Hausmann  <hausmann@kde.org>
6870
6871        Reviewed by Lars.
6872
6873        Added and implemented the "OpenLink" action.
6874
6875        * Api/qwebpage.cpp:
6876        (webActionForContextMenuAction):
6877        (QWebPage::webActionTriggered):
6878        (QWebPage::webAction):
6879        * Api/qwebpage.h:
6880
68812007-11-07  Simon Hausmann  <hausmann@kde.org>
6882
6883        Reviewed by Lars.
6884
6885        Adjust the state of the reload action correctly.
6886
6887        * Api/qwebpage.cpp:
6888        (QWebPagePrivate::updateAction):
6889        (QWebPagePrivate::updateNavigationActions):
6890
68912007-11-07  Simon Hausmann  <hausmann@kde.org>
6892
6893        Reviewed by Lars.
6894
6895        Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
6896
6897        * Api/qwebpage.cpp:
6898        (QWebPagePrivate::updateAction):
6899        (QWebPage::webAction):
6900        (QWebPage::undoStack):
6901        * Api/qwebpage.h:
6902
69032007-11-07  Simon Hausmann  <hausmann@kde.org>
6904
6905        Reviewed by Lars.
6906
6907        Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
6908
6909        * QtLauncher/main.cpp:
6910        (MainWindow::MainWindow):
6911
69122007-11-07  Simon Hausmann  <hausmann@kde.org>
6913
6914        Reviewed by Lars.
6915
6916        Update the editor actions when the selection changes.
6917
6918        * Api/qwebpage.cpp:
6919        (QWebPagePrivate::updateAction):
6920        (QWebPagePrivate::updateEditorActions):
6921        * Api/qwebpage_p.h:
6922        * WebCoreSupport/EditorClientQt.cpp:
6923        (WebCore::EditorClientQt::respondToChangedSelection):
6924
69252007-11-07  Simon Hausmann  <hausmann@kde.org>
6926
6927        Reviewed by Lars.
6928
6929        Added cut/copy/paste actions to the toolbar of QtLauncher
6930
6931        * QtLauncher/main.cpp:
6932        (MainWindow::MainWindow):
6933
69342007-11-07  Simon Hausmann  <hausmann@kde.org>
6935
6936        Reviewed by Lars.
6937
6938        Started working on keeping the state of the navigation actions up-to-date.
6939
6940        * Api/qwebpage.cpp:
6941        (QWebPagePrivate::updateAction):
6942        (QWebPagePrivate::updateNavigationActions):
6943        (QWebPage::webAction):
6944        * Api/qwebpage_p.h:
6945        * WebCoreSupport/FrameLoaderClientQt.cpp:
6946        (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
6947        (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
6948        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
6949        (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
6950        (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
6951
69522007-11-07  Simon Hausmann  <hausmann@kde.org>
6953
6954        Reviewed by Lars.
6955
6956        Use the navigational web actions in the toolbar
6957
6958        * QtLauncher/main.cpp:
6959        (MainWindow::MainWindow):
6960
69612007-11-07  Simon Hausmann  <hausmann@kde.org>
6962
6963        Reviewed by Lars.
6964
6965        Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
6966        Added QWebPageContext to hold context sensitive information (for example used by the context menu).
6967
6968        * Api/qwebpage.cpp:
6969        (QWebPagePrivate::QWebPagePrivate):
6970        (webActionForContextMenuAction):
6971        (QWebPagePrivate::createContextMenu):
6972        (QWebPagePrivate::_q_webActionTriggered):
6973        (QWebPage::webActionTriggered):
6974        (QWebPage::webAction):
6975        (QWebPage::contextMenuEvent):
6976        (QWebPageContext::QWebPageContext):
6977        (QWebPageContext::operator=):
6978        (QWebPageContext::~QWebPageContext):
6979        (QWebPageContext::pos):
6980        (QWebPageContext::text):
6981        (QWebPageContext::linkUrl):
6982        (QWebPageContext::imageUrl):
6983        (QWebPageContext::image):
6984        (QWebPageContext::targetFrame):
6985        * Api/qwebpage.h:
6986        * Api/qwebpage_p.h:
6987
69882007-11-07  Simon Hausmann  <hausmann@kde.org>
6989
6990        Reviewed by Lars.
6991
6992        Moved the editing actions implemented in keyPressEvent into webActionTriggered.
6993
6994        * Api/qwebpage.cpp:
6995        (QWebPage::webActionTriggered):
6996        (QWebPage::keyPressEvent):
6997        * Api/qwebpage.h:
6998
69992007-11-07  Simon Hausmann  <hausmann@kde.org>
7000
7001        Reviewed by Lars.
7002
7003        Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
7004        convenience methods such as cut()/copy()/paste().
7005
7006        * Api/qwebpage.cpp:
7007        (QWebPage::goBack):
7008        (QWebPage::webActionTriggered):
7009        (QWebPage::cut):
7010        (QWebPage::copy):
7011        * Api/qwebpage.h:
7012
70132007-11-07  Simon Hausmann  <hausmann@kde.org>
7014
7015        Reviewed by Lars.
7016
7017        Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
7018        QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
7019        in ContextMenu::populate().
7020        For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
7021        out of it. That menu is currently not functional anymore though.
7022
7023        * Api/qwebpage.cpp:
7024        (QWebPagePrivate::createContextMenu):
7025        (QWebPage::contextMenuEvent):
7026        * Api/qwebpage_p.h:
7027
70282007-11-07  Simon Hausmann  <hausmann@kde.org>
7029
7030        Reviewed by Lars.
7031
7032        Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
7033        but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
7034        Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
7035        on it.
7036
7037        * Api/qwebpage.cpp:
7038        (QWebPage::contextMenuEvent):
7039        * WebCoreSupport/ContextMenuClientQt.cpp:
7040        (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
7041
70422007-11-07  Simon Hausmann  <hausmann@kde.org>
7043
7044        Reviewed by Lars.
7045
7046        Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
7047        Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
7048
7049        * Api/qwebpage.cpp:
7050        (QWebPage::mousePressEvent):
7051        (QWebPage::contextMenuEvent):
7052        * Api/qwebpage.h:
7053
70542007-11-07  Simon Hausmann  <hausmann@kde.org>
7055
7056        Reviewed by Lars.
7057
7058        Turned onLoadProgressChanged into a real private slot.
7059
7060        * Api/qwebpage.cpp:
7061        (QWebPage::QWebPage):
7062        * Api/qwebpage.h:
7063        * Api/qwebpage_p.h:
7064
70652007-11-07  Simon Hausmann  <hausmann@kde.org>
7066
7067        Reviewed by Lars.
7068
7069        Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
7070
7071        * Api/qwebpage.cpp:
7072        (QWebPagePrivate::QWebPagePrivate):
7073        * Api/qwebpage.h:
7074        * Api/qwebpage_p.h:
7075        * Api/qwebpagehistory.cpp:
7076        (QWebPageHistory::QWebPageHistory):
7077        * Api/qwebpagehistory.h:
7078
70792007-11-07  Lars Knoll  <lars@trolltech.com>
7080
7081        Reviewed by Simon.
7082
7083        comments on API changes that we'd like to do.
7084
7085        * Api/qwebpage.h:
7086
70872007-11-07  Simon Hausmann  <hausmann@kde.org>
7088
7089        Reviewed by Lars Knoll <lars@trolltech.com>.
7090
7091        Add a QWebPage::frameCreated() signal and fix DRT
7092
7093        The removal of createFrame in QWebPage broke the re-implementation
7094        in DumpRenderTree. Instead emit a frameCreated() signal and
7095        connect to it in DumpRenderTree.
7096
7097
7098        * Api/qwebpage.cpp:
7099        (QWebPagePrivate::createMainFrame):
7100        * Api/qwebpage.h:
7101        * WebCoreSupport/FrameLoaderClientQt.cpp:
7102        (WebCore::FrameLoaderClientQt::createFrame):
7103
71042007-11-07  Lars Knoll  <lars@trolltech.com>
7105
7106        Reviewed by Simon.
7107
7108        Remove QWebPage::createFrame()
7109
7110        now that QWebFrame doesn't have virtual methods anymore, there
7111        is no need for a createFrame() factory method in QWebpage.
7112
7113        * Api/qwebpage.cpp:
7114        (QWebPagePrivate::createMainFrame):
7115        * Api/qwebpage.h:
7116        * WebCoreSupport/FrameLoaderClientQt.cpp:
7117        (WebCore::FrameLoaderClientQt::createFrame):
7118
71192007-11-07  Simon Hausmann  <hausmann@kde.org>
7120
7121        Reviewed by Lars Knoll <lars@trolltech.com>.
7122
7123        Moved all the event handlers from QWebFrame into QWebPage.
7124
7125        This cleans up the public API and allows us to remove the
7126        HackWebFrame hack in DumpRenderTree.
7127
7128
7129        * Api/qwebframe.cpp:
7130        (QWebFrame::pos):
7131        * Api/qwebframe.h:
7132        * Api/qwebframe_p.h:
7133        * Api/qwebpage.cpp:
7134        (QWebPagePrivate::frameAt):
7135        (QWebPage::mouseMoveEvent):
7136        (QWebPage::mousePressEvent):
7137        (QWebPage::mouseDoubleClickEvent):
7138        (QWebPage::mouseReleaseEvent):
7139        (QWebPage::wheelEvent):
7140        * Api/qwebpage_p.h:
7141
71422007-11-07  Holger Freyther  <holger.freyther@trolltech.com>
7143
7144        Reviewed by Lars Knoll <lars@trolltech.com>.
7145
7146        Use correct UserAgent string.
7147
7148        * Only have one User Agent String and this place is QWebPage
7149        * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
7150        ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
7151        * ResourceRequest is != 0 when getting called from WebCore, we
7152        will only do requests when coming from WebCore and then we can
7153        use the User-Agent set with the help of the FrameLoaderClient
7154        * We might want to change QWebNetworkRequest a bit
7155
7156
7157        * Api/qwebnetworkinterface.cpp:
7158        (QWebNetworkRequestPrivate::init):
7159
71602007-11-07  Lars Knoll  <lars@trolltech.com>
7161
7162        Reviewed by Simon.
7163
7164        remove two notImplemented() warnings, as I believe we don't
7165        have to implement these methods. Add some (commented out)
7166        debug code in one place.
7167
7168        * WebCoreSupport/EditorClientQt.cpp:
7169        (WebCore::EditorClientQt::respondToChangedSelection):
7170        (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
7171
71722007-11-05  Tristan O'Tierney  <tristan@apple.com>
7173
7174        Reviewed by Darin Adler.
7175
7176        * WebCoreSupport/ChromeClientQt.cpp:
7177        (WebCore::ChromeClientQt::createWindow):
7178        * WebCoreSupport/ChromeClientQt.h:
7179        Revised to use new WebCore ChromeClient createWindow API.
7180
71812007-10-31  Lars Knoll  <lars@trolltech.com>
7182
7183        Reviewed by Simon.
7184
7185        fix most of the issues I found with Clipboard and DnD.
7186
7187        * Api/qwebpage.cpp:
7188        (QWebPage::dragLeaveEvent):
7189
71902007-10-31  Lars Knoll  <lars@trolltech.com>
7191
7192        Reviewed by Simon.
7193
7194        QDrag objects need to be created on the heap.
7195
7196        * WebCoreSupport/DragClientQt.cpp:
7197        (WebCore::DragClientQt::startDrag):
7198
71992007-10-31  Lars Knoll  <lars@trolltech.com>
7200
7201        Reviewed by Simon.
7202
7203        a dragLeave event is not the same as cancelling a drag.
7204
7205        * Api/qwebpage.cpp:
7206
72072007-10-26  Mark Rowe  <mrowe@apple.com>
7208
7209        Build fix.  Add missing #include of Platform.h.
7210
7211        * Api/qwebhistoryinterface.cpp:
7212
72132007-10-25  Holger Freyther  <zecke@selfish.org>
7214
7215        Reviewed by Simon Hausmann <hausmann@kde.org>.
7216
7217        * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
7218        * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
7219        * This is causing some regressions...
7220
7221
7222        * Api/qwebnetworkinterface.cpp:
7223        (QWebNetworkManager::started):
7224        (QWebNetworkInterface::addJob):
7225
72262007-10-25  Holger Freyther  <zecke@selfish.org>
7227
7228        Reviewed by Simon Hausmann <hausmann@kde.org>.
7229
7230        * 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.
7231        * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
7232
7233
7234        * Api/qwebnetworkinterface.cpp:
7235        (QWebNetworkManager::started):
7236
72372007-10-25  Holger Freyther  <zecke@selfish.org>
7238
7239        Reviewed by Simon Hausmann <hausmann@kde.org>.
7240
7241        * 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.
7242        * Use the error message from Qt. It might or might not be translated.
7243
7244
7245        * Api/qwebnetworkinterface.cpp:
7246        (QWebNetworkJob::errorString):
7247        (QWebNetworkJob::setErrorString):
7248        (QWebNetworkManager::finished):
7249        (QWebNetworkManager::doWork):
7250        (WebCoreHttp::onRequestFinished):
7251        * Api/qwebnetworkinterface.h:
7252        * Api/qwebnetworkinterface_p.h:
7253
72542007-10-25  Holger Freyther  <zecke@selfish.org>
7255
7256        Reviewed by Simon Hausmann <hausmann@kde.org>.
7257
7258        * 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.
7259        * 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.
7260
7261
7262        * Api/qwebnetworkinterface.cpp:
7263        (QWebNetworkManager::doWork):
7264
72652007-10-25  Holger Freyther  <zecke@selfish.org>
7266
7267        Reviewed by Simon Hausmann <hausmann@kde.org>.
7268
7269        * No need to initialize values in the QWebNetworkJob c'tor
7270        * 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.
7271
7272
7273        * Api/qwebnetworkinterface.cpp:
7274        (QWebNetworkJob::status):
7275        (QWebNetworkJob::setStatus):
7276        (QWebNetworkManager::started):
7277        (QWebNetworkManager::data):
7278        (QWebNetworkManager::finished):
7279        * Api/qwebnetworkinterface.h:
7280        * Api/qwebnetworkinterface_p.h:
7281        (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
7282
72832007-10-25  Holger Freyther  <zecke@selfish.org>
7284
7285        Reviewed by Simon Hausmann <hausmann@kde.org>.
7286
7287        * Consistency: Always name the jobs job.
7288
7289
7290        * Api/qwebnetworkinterface.cpp:
7291        (WebCoreHttp::onReadyRead):
7292        (WebCoreHttp::onRequestFinished):
7293        (WebCoreHttp::onSslErrors):
7294        (WebCoreHttp::onAuthenticationRequired):
7295        (WebCoreHttp::onProxyAuthenticationRequired):
7296
72972007-10-25  Holger Freyther  <zecke@selfish.org>
7298
7299        Reviewed by Simon Hausmann <hausmann@kde.org>.
7300
7301        * 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.
7302        * This should be thread-safe besides QWebNetworkJob::{ref,deref}
7303
7304
7305        * Api/qwebnetworkinterface.cpp:
7306        (QWebNetworkJob::~QWebNetworkJob):
7307        (QWebNetworkManager::QWebNetworkManager):
7308        (QWebNetworkManager::self):
7309        (QWebNetworkManager::add):
7310        (QWebNetworkManager::started):
7311        (QWebNetworkManager::finished):
7312        (QWebNetworkInterfacePrivate::sendFileData):
7313        (QWebNetworkInterfacePrivate::parseDataUrl):
7314        (QWebNetworkManager::queueStart):
7315        (QWebNetworkManager::queueData):
7316        (QWebNetworkManager::queueFinished):
7317        (QWebNetworkManager::doScheduleWork):
7318        (QWebNetworkManager::doWork):
7319        (gCleanupInterface):
7320        (QWebNetworkInterface::setDefaultInterface):
7321        (QWebNetworkInterface::defaultInterface):
7322        (QWebNetworkInterface::QWebNetworkInterface):
7323        (QWebNetworkInterface::started):
7324        (QWebNetworkInterface::data):
7325        (QWebNetworkInterface::finished):
7326        (WebCoreHttp::scheduleNextRequest):
7327        (WebCoreHttp::onResponseHeaderReceived):
7328        (WebCoreHttp::onReadyRead):
7329        (WebCoreHttp::onRequestFinished):
7330        (WebCoreHttp::cancel):
7331        * Api/qwebnetworkinterface.h:
7332        * Api/qwebnetworkinterface_p.h:
7333        (QWebNetworkManager::):
7334        (QWebNetworkManager::JobData::JobData):
7335        (QWebNetworkManager::JobFinished::JobFinished):
7336
73372007-10-25  Holger Freyther  <zecke@selfish.org>
7338
7339        Reviewed by Simon Hausmann <hausmann@kde.org>.
7340
7341        * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
7342        * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
7343        * We pass the char-decoding.html test now
7344
7345
7346        * Api/qwebnetworkinterface.cpp:
7347        (decodePercentEncoding):
7348        (QWebNetworkInterfacePrivate::parseDataUrl):
7349
73502007-10-24  Holger Hans Peter Freyther  <zecke@selfish.org>
7351
7352        Reviewed by Lars Knoll <lars@trolltech.com>.
7353
7354        * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
7355
7356
7357        * WebCoreSupport/EditorClientQt.cpp:
7358        (WebCore::EditorClientQt::handleKeypress):
7359
73602007-10-24  Lars Knoll  <lars@trolltech.com>
7361
7362        Reviewed by Simon.
7363
7364        remove some notImplemented() warnings.
7365
7366        * WebCoreSupport/EditorClientQt.cpp:
7367        (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
7368        (WebCore::EditorClientQt::isGrammarCheckingEnabled):
7369        (WebCore::EditorClientQt::respondToChangedSelection):
7370
73712007-10-24  Lars Knoll  <lars@trolltech.com>
7372
7373        Reviewed by Simon.
7374
7375        allow paste from DOM so we pass more test cases.
7376
7377        * Api/qwebpage.cpp:
7378        (QWebPage::setSettings):
7379
73802007-10-24  Lars Knoll  <lars@trolltech.com>
7381
7382        Reviewed by Simon.
7383
7384        Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
7385
7386        * Api/qwebpage.cpp:
7387        (QWebPage::keyPressEvent):
7388        (QWebPage::keyReleaseEvent):
7389
73902007-10-24  Lars Knoll  <lars@trolltech.com>
7391
7392        Reviewed by Simon.
7393
7394        some smaller fixes to the editing support in DRT. Makes another few tests pass.
7395
7396        * WebCoreSupport/EditorClientQt.cpp:
7397        (qt_dump_editing_callbacks):
7398        (qt_drt_run):
7399
74002007-10-24  Lars Knoll  <lars@trolltech.com>
7401
7402        Reviewed by Simon.
7403
7404        implemented support for most editing shortcuts to make contentEditable usable.
7405
7406        * Api/qwebpage.cpp:
7407        (QWebPage::keyPressEvent):
7408
74092007-10-24  Lars Knoll  <lars@trolltech.com>
7410
7411        Reviewed by Simon.
7412
7413        no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
7414
7415        * Api/qwebpage.cpp:
7416        (QWebPage::focusInEvent):
7417
74182007-10-24  Lars Knoll  <lars@trolltech.com>
7419
7420        Reviewed by Simon.
7421
7422        Implement support for testing editing.
7423
7424        * WebCoreSupport/EditorClientQt.cpp:
7425        (qt_dump_editing_callbacks):
7426        (qt_dump_set_accepts_editing):
7427        (dumpPath):
7428        (dumpRange):
7429        (WebCore::EditorClientQt::shouldDeleteRange):
7430        (WebCore::EditorClientQt::shouldShowDeleteInterface):
7431        (WebCore::EditorClientQt::shouldBeginEditing):
7432        (WebCore::EditorClientQt::shouldEndEditing):
7433        (WebCore::EditorClientQt::shouldInsertText):
7434        (WebCore::EditorClientQt::shouldChangeSelectedRange):
7435        (WebCore::EditorClientQt::shouldApplyStyle):
7436        (WebCore::EditorClientQt::didBeginEditing):
7437        (WebCore::EditorClientQt::respondToChangedContents):
7438        (WebCore::EditorClientQt::respondToChangedSelection):
7439        (WebCore::EditorClientQt::didEndEditing):
7440        (WebCore::EditorClientQt::shouldInsertNode):
7441
74422007-10-19  Alp Toker  <alp@atoker.com>
7443
7444        Reviewed by Oliver.
7445
7446        GTK+ build fix enabling the new local database storage feature.
7447        There is also a prospective Qt build fix.
7448
7449        * WebCoreSupport/ChromeClientQt.cpp:
7450        (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
7451        * WebCoreSupport/ChromeClientQt.h:
7452
74532007-10-19  Simon Hausmann  <hausmann@kde.org>
7454
7455        Fix the Qt/Windows build: Include the moc file from the .cpp file so
7456        that config.h is included before wtf/MathExtras. The former defines
7457        the MSVC defines for rand_s.
7458
7459        * WebCoreSupport/FrameLoaderClientQt.cpp:
7460
74612007-10-19  Simon Hausmann  <shausman@trolltech.com>
7462
7463        Reviewed by Lars.
7464
7465        Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
7466
7467        * Api/qwebframe.cpp:
7468        * Api/qwebpage.cpp:
7469
74702007-10-10  Alice Liu  <alice.liu@apple.com>
7471
7472        Reviewed by Geoff Garen.
7473
7474        changes to keep the build from breaking
7475
7476        * WebCoreSupport/FrameLoaderClientQt.cpp:
7477        (WebCore::FrameLoaderClientQt::createFrame):
7478        * WebCoreSupport/FrameLoaderClientQt.h:
7479
74802007-10-09  Lars Knoll  <lars@trolltech.com>
7481
7482        Reviewed by Simon.
7483
7484        set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
7485
7486        * Api/qwebpage.cpp:
7487        (QWebPage::setSettings):
7488
74892007-10-09  Lars Knoll  <lars@trolltech.com>
7490
7491        Reviewed by Simon.
7492
7493        Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
7494
7495        * Api/qwebnetworkinterface.cpp:
7496        (QWebNetworkManager::add):
7497        (QWebNetworkManager::cancel):
7498        (QWebNetworkManager::started):
7499        (QWebNetworkManager::data):
7500        (QWebNetworkInterfacePrivate::parseDataUrl):
7501
75022007-10-09  Lars Knoll  <lars@trolltech.com>
7503
7504        Reviewed by Simon.
7505
7506        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.
7507
7508        * Api/qwebpage.cpp:
7509        (QWebPagePrivate::createMainFrame):
7510        (QWebPage::createFrame):
7511        * WebCoreSupport/FrameLoaderClientQt.cpp:
7512        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
7513        * WebCoreSupport/FrameLoaderClientQt.h:
7514
75152007-10-09  Lars Knoll  <lars@trolltech.com>
7516
7517        Reviewed by Simon.
7518
7519        add a clear() method to QWebPageHistory.
7520
7521        * Api/qwebpagehistory.cpp:
7522        (QWebPageHistory::clear):
7523        (QWebPageHistory::itemAtIndex):
7524        * Api/qwebpagehistory.h:
7525
75262007-10-05  Lars Knoll  <lars@trolltech.com>
7527
7528        add proper error messages to the FrameLoaderClient.
7529        Implement ChromeClientQt::closeWindowSoon and
7530        FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
7531        Some fixes in DRT to make it work correctly with multiple windows.
7532
7533        Reviewed by Maciej.
7534
7535        * Api/qwebframe.h:
7536        * Api/qwebnetworkinterface.cpp:
7537        (QWebNetworkManager::cancel):
7538        (QWebNetworkInterface::addJob):
7539        * WebCoreSupport/ChromeClientQt.cpp:
7540        (WebCore::ChromeClientQt::closeWindowSoon):
7541        * WebCoreSupport/FrameLoaderClientQt.cpp:
7542        (WebCore::FrameLoaderClientQt::cancelledError):
7543        (WebCore::):
7544        (WebCore::FrameLoaderClientQt::blockedError):
7545        (WebCore::FrameLoaderClientQt::cannotShowURLError):
7546        (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
7547        (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
7548        (WebCore::FrameLoaderClientQt::dispatchCreatePage):
7549
75502007-10-03  Lars Knoll  <lars@trolltech.com>
7551
7552        Signed off by Olliej.
7553
7554        move WebKitQt to WebKit/qt for consistency with the other ports.
7555
7556        * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
7557        * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
7558        (QCookieJarPrivate::QCookieJarPrivate):
7559        (qHash):
7560        (QCookieJar::QCookieJar):
7561        (QCookieJar::~QCookieJar):
7562        (QCookieJar::setCookies):
7563        (QCookieJar::cookies):
7564        (QCookieJar::isEnabled):
7565        (QCookieJar::setEnabled):
7566        (gCleanupJar):
7567        (QCookieJar::setCookieJar):
7568        (QCookieJar::cookieJar):
7569        * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
7570        * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
7571        * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
7572        (QWebFramePrivate::init):
7573        (QWebFramePrivate::parentFrame):
7574        (QWebFramePrivate::horizontalScrollBar):
7575        (QWebFramePrivate::verticalScrollBar):
7576        (QWebFrame::QWebFrame):
7577        (QWebFrame::~QWebFrame):
7578        (QWebFrame::addToJSWindowObject):
7579        (QWebFrame::markup):
7580        (QWebFrame::innerText):
7581        (QWebFrame::renderTreeDump):
7582        (QWebFrame::title):
7583        (QWebFrame::name):
7584        (QWebFrame::page):
7585        (QWebFrame::selectedText):
7586        (QWebFrame::childFrames):
7587        (QWebFrame::verticalScrollBarPolicy):
7588        (QWebFrame::setVerticalScrollBarPolicy):
7589        (QWebFrame::horizontalScrollBarPolicy):
7590        (QWebFrame::setHorizontalScrollBarPolicy):
7591        (QWebFrame::render):
7592        (QWebFrame::layout):
7593        (QWebFrame::pos):
7594        (QWebFrame::geometry):
7595        (QWebFrame::evaluateJavaScript):
7596        (QWebFrame::mouseMoveEvent):
7597        (QWebFrame::mousePressEvent):
7598        (QWebFrame::mouseDoubleClickEvent):
7599        (QWebFrame::mouseReleaseEvent):
7600        (QWebFrame::wheelEvent):
7601        * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
7602        * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
7603        (QWebFramePrivate::QWebFramePrivate):
7604        * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
7605        (WebCore::historyContains):
7606        (gCleanupInterface):
7607        (QWebHistoryInterface::setDefaultInterface):
7608        (QWebHistoryInterface::defaultInterface):
7609        (QWebHistoryInterface::QWebHistoryInterface):
7610        * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
7611        * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
7612        * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
7613        (qHash):
7614        (operator==):
7615        (QWebNetworkRequestPrivate::init):
7616        (QWebNetworkRequestPrivate::setURL):
7617        (QWebNetworkRequest::QWebNetworkRequest):
7618        (QWebNetworkRequest::operator=):
7619        (QWebNetworkRequest::~QWebNetworkRequest):
7620        (QWebNetworkRequest::url):
7621        (QWebNetworkRequest::setUrl):
7622        (QWebNetworkRequest::httpHeader):
7623        (QWebNetworkRequest::setHttpHeader):
7624        (QWebNetworkRequest::httpHeaderField):
7625        (QWebNetworkRequest::setHttpHeaderField):
7626        (QWebNetworkRequest::postData):
7627        (QWebNetworkRequest::setPostData):
7628        (QWebNetworkJob::QWebNetworkJob):
7629        (QWebNetworkJob::~QWebNetworkJob):
7630        (QWebNetworkJob::url):
7631        (QWebNetworkJob::postData):
7632        (QWebNetworkJob::httpHeader):
7633        (QWebNetworkJob::request):
7634        (QWebNetworkJob::response):
7635        (QWebNetworkJob::setResponse):
7636        (QWebNetworkJob::cancelled):
7637        (QWebNetworkJob::ref):
7638        (QWebNetworkJob::deref):
7639        (QWebNetworkJob::networkInterface):
7640        (QWebNetworkJob::frame):
7641        (QWebNetworkManager::QWebNetworkManager):
7642        (QWebNetworkManager::self):
7643        (QWebNetworkManager::add):
7644        (QWebNetworkManager::cancel):
7645        (QWebNetworkManager::started):
7646        (QWebNetworkManager::data):
7647        (QWebNetworkManager::finished):
7648        (QWebNetworkManager::addHttpJob):
7649        (QWebNetworkManager::cancelHttpJob):
7650        (QWebNetworkManager::httpConnectionClosed):
7651        (QWebNetworkInterfacePrivate::sendFileData):
7652        (QWebNetworkInterfacePrivate::parseDataUrl):
7653        (gCleanupInterface):
7654        (QWebNetworkInterface::setDefaultInterface):
7655        (QWebNetworkInterface::defaultInterface):
7656        (QWebNetworkInterface::QWebNetworkInterface):
7657        (QWebNetworkInterface::~QWebNetworkInterface):
7658        (QWebNetworkInterface::addJob):
7659        (QWebNetworkInterface::cancelJob):
7660        (WebCoreHttp::WebCoreHttp):
7661        (WebCoreHttp::~WebCoreHttp):
7662        (WebCoreHttp::request):
7663        (WebCoreHttp::scheduleNextRequest):
7664        (WebCoreHttp::getConnection):
7665        (WebCoreHttp::onResponseHeaderReceived):
7666        (WebCoreHttp::onReadyRead):
7667        (WebCoreHttp::onRequestFinished):
7668        (WebCoreHttp::onDone):
7669        (WebCoreHttp::onStateChanged):
7670        (WebCoreHttp::cancel):
7671        (WebCoreHttp::onSslErrors):
7672        (WebCoreHttp::onAuthenticationRequired):
7673        (WebCoreHttp::onProxyAuthenticationRequired):
7674        (HostInfo::HostInfo):
7675        * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
7676        * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
7677        (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
7678        (WebCore::HostInfo::HostInfo):
7679        (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
7680        * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
7681        (QWebFactoryLoader::QWebFactoryLoader):
7682        (QWebFactoryLoader::self):
7683        (QWebFactoryLoader::descriptionForName):
7684        (QWebFactoryLoader::mimetypesForName):
7685        (QWebFactoryLoader::mimeTypeForExtension):
7686        (QWebFactoryLoader::extensions):
7687        (QWebFactoryLoader::nameForMimetype):
7688        (QWebFactoryLoader::create):
7689        (QWebObjectPlugin::QWebObjectPlugin):
7690        (QWebObjectPlugin::~QWebObjectPlugin):
7691        (QWebObjectPlugin::descriptionForKey):
7692        (QWebObjectPlugin::mimetypesForKey):
7693        (QWebObjectPlugin::extensionsForMimetype):
7694        * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
7695        * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
7696        (QWebFactoryLoader::names):
7697        (QWebFactoryLoader::supportsMimeType):
7698        * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
7699        (QWebObjectPluginConnector::QWebObjectPluginConnector):
7700        (QWebObjectPluginConnector::frame):
7701        (QWebObjectPluginConnector::pluginParentWidget):
7702        (QWebObjectPluginConnector::requestUrl):
7703        * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
7704        * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
7705        (QWebPagePrivate::QWebPagePrivate):
7706        (QWebPagePrivate::~QWebPagePrivate):
7707        (QWebPagePrivate::navigationRequested):
7708        (QWebPagePrivate::createMainFrame):
7709        (QWebPage::QWebPage):
7710        (QWebPage::~QWebPage):
7711        (QWebPage::createFrame):
7712        (QWebPage::open):
7713        (QWebPage::url):
7714        (QWebPage::title):
7715        (QWebPage::mainFrame):
7716        (QWebPage::sizeHint):
7717        (QWebPage::stop):
7718        (QWebPage::history):
7719        (QWebPage::goBack):
7720        (QWebPage::goForward):
7721        (QWebPage::goToHistoryItem):
7722        (QWebPage::javaScriptConsoleMessage):
7723        (QWebPage::javaScriptAlert):
7724        (QWebPage::javaScriptConfirm):
7725        (QWebPage::javaScriptPrompt):
7726        (QWebPage::createWindow):
7727        (QWebPage::createModalDialog):
7728        (QWebPage::createPlugin):
7729        (QWebPage::navigationRequested):
7730        (QWebPage::setWindowGeometry):
7731        (QWebPage::canCut):
7732        (QWebPage::canCopy):
7733        (QWebPage::canPaste):
7734        (QWebPage::cut):
7735        (QWebPage::copy):
7736        (QWebPage::paste):
7737        (QWebPage::isModified):
7738        (QWebPage::undoStack):
7739        (dropActionToDragOp):
7740        (dragOpToDropAction):
7741        (QWebPage::resizeEvent):
7742        (QWebPage::paintEvent):
7743        (QWebPage::mouseMoveEvent):
7744        (QWebPage::mousePressEvent):
7745        (QWebPage::mouseDoubleClickEvent):
7746        (QWebPage::mouseReleaseEvent):
7747        (QWebPage::wheelEvent):
7748        (QWebPage::keyPressEvent):
7749        (QWebPage::keyReleaseEvent):
7750        (QWebPage::focusInEvent):
7751        (QWebPage::focusOutEvent):
7752        (QWebPage::focusNextPrevChild):
7753        (QWebPage::dragEnterEvent):
7754        (QWebPage::dragLeaveEvent):
7755        (QWebPage::dragMoveEvent):
7756        (QWebPage::dropEvent):
7757        (QWebPage::setNetworkInterface):
7758        (QWebPage::networkInterface):
7759        (QWebPage::icon):
7760        (QWebPage::setSettings):
7761        (QWebPage::settings):
7762        (QWebPage::chooseFile):
7763        (QWebPage::setNetworkProxy):
7764        (QWebPage::networkProxy):
7765        (QWebPage::userAgentStringForUrl):
7766        (QWebPage::onLoadProgressChanged):
7767        (QWebPage::totalBytes):
7768        * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
7769        * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
7770        * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
7771        (QWebHistoryItem::QWebHistoryItem):
7772        (QWebHistoryItem::operator=):
7773        (QWebHistoryItem::~QWebHistoryItem):
7774        (QWebHistoryItem::originalUrl):
7775        (QWebHistoryItem::currentUrl):
7776        (QWebHistoryItem::title):
7777        (QWebHistoryItem::lastVisited):
7778        (QWebHistoryItem::icon):
7779        (QWebPageHistory::QWebPageHistory):
7780        (QWebPageHistory::itemAtIndex):
7781        (QWebPageHistory::operator=):
7782        (QWebPageHistory::~QWebPageHistory):
7783        (QWebPageHistory::items):
7784        (QWebPageHistory::backItems):
7785        (QWebPageHistory::forwardItems):
7786        (QWebPageHistory::canGoBack):
7787        (QWebPageHistory::canGoForward):
7788        (QWebPageHistory::goBack):
7789        (QWebPageHistory::goForward):
7790        (QWebPageHistory::goToItem):
7791        (QWebPageHistory::backItem):
7792        (QWebPageHistory::currentItem):
7793        (QWebPageHistory::forwardItem):
7794        * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
7795        (QExplicitlySharedDataPointer::operator*):
7796        (QExplicitlySharedDataPointer::operator->):
7797        (QExplicitlySharedDataPointer::operator T *):
7798        (QExplicitlySharedDataPointer::operator const T *):
7799        (QExplicitlySharedDataPointer::data):
7800        (QExplicitlySharedDataPointer::constData):
7801        (QExplicitlySharedDataPointer::operator==):
7802        (QExplicitlySharedDataPointer::operator!=):
7803        (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
7804        (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
7805        (QExplicitlySharedDataPointer::operator=):
7806        (QExplicitlySharedDataPointer::operator!):
7807        (::QExplicitlySharedDataPointer):
7808        * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
7809        (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
7810        (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
7811        (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
7812        (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
7813        * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
7814        (QWebSettingsPrivate::QWebSettingsPrivate):
7815        (QWebSettings::QWebSettings):
7816        (QWebSettings::~QWebSettings):
7817        (QWebSettings::setMinimumFontSize):
7818        (QWebSettings::minimumFontSize):
7819        (QWebSettings::setMinimumLogicalFontSize):
7820        (QWebSettings::minimumLogicalFontSize):
7821        (QWebSettings::setDefaultFontSize):
7822        (QWebSettings::defaultFontSize):
7823        (QWebSettings::setDefaultFixedFontSize):
7824        (QWebSettings::defaultFixedFontSize):
7825        (QWebSettings::setUserStyleSheetLocation):
7826        (QWebSettings::userStyleSheetLocation):
7827        (QWebSettings::setIconDatabaseEnabled):
7828        (QWebSettings::iconDatabaseEnabled):
7829        (QWebSettings::setWebGraphic):
7830        (QWebSettings::webGraphic):
7831        (QWebSettings::operator=):
7832        (QWebSettings::setGlobal):
7833        (QWebSettings::global):
7834        (QWebSettings::setFontFamily):
7835        (QWebSettings::fontFamily):
7836        (QWebSettings::setAttribute):
7837        (QWebSettings::testAttribute):
7838        (loadResourcePixmap):
7839        * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
7840        * ChangeLog: Renamed from WebKitQt/ChangeLog.
7841        * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
7842        (IcoHeader::operator >>):
7843        (IcoHeader::BMP_INFOHDR::):
7844        (IcoHeader::operator<<):
7845        (IcoHeader::LessDifference::LessDifference):
7846        (IcoHeader::LessDifference::operator ()):
7847        (IcoHeader::loadFromDIB):
7848        (ICOHandler::ICOHandler):
7849        (ICOHandler::canRead):
7850        (ICOHandler::read):
7851        (ICOHandler::write):
7852        (ICOHandler::name):
7853        (ICOPlugin::keys):
7854        (ICOPlugin::capabilities):
7855        (ICOPlugin::create):
7856        * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
7857        * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
7858        * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
7859        * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
7860        (HoverLabel::HoverLabel):
7861        (HoverLabel::setHoverLink):
7862        (HoverLabel::sizeForFont):
7863        (HoverLabel::sizeHint):
7864        (HoverLabel::updateSize):
7865        (HoverLabel::resetAnimation):
7866        (HoverLabel::paintEvent):
7867        (HoverLabel::interpolate):
7868        (ClearButton::ClearButton):
7869        (ClearButton::paintEvent):
7870        (SearchEdit::SearchEdit):
7871        (SearchEdit::~SearchEdit):
7872        (SearchEdit::paintEvent):
7873        (SearchEdit::resizeEvent):
7874        (SearchEdit::moveEvent):
7875        (MainWindow::MainWindow):
7876        (MainWindow::changeLocation):
7877        (MainWindow::loadFinished):
7878        (MainWindow::showLinkHover):
7879        (MainWindow::resizeEvent):
7880        (main):
7881        * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
7882        (WebCore::ChromeClientQt::ChromeClientQt):
7883        (WebCore::ChromeClientQt::~ChromeClientQt):
7884        (WebCore::ChromeClientQt::setWindowRect):
7885        (WebCore::ChromeClientQt::windowRect):
7886        (WebCore::ChromeClientQt::pageRect):
7887        (WebCore::ChromeClientQt::scaleFactor):
7888        (WebCore::ChromeClientQt::focus):
7889        (WebCore::ChromeClientQt::unfocus):
7890        (WebCore::ChromeClientQt::canTakeFocus):
7891        (WebCore::ChromeClientQt::takeFocus):
7892        (WebCore::ChromeClientQt::createWindow):
7893        (WebCore::ChromeClientQt::createModalDialog):
7894        (WebCore::ChromeClientQt::show):
7895        (WebCore::ChromeClientQt::canRunModal):
7896        (WebCore::ChromeClientQt::runModal):
7897        (WebCore::ChromeClientQt::setToolbarsVisible):
7898        (WebCore::ChromeClientQt::toolbarsVisible):
7899        (WebCore::ChromeClientQt::setStatusbarVisible):
7900        (WebCore::ChromeClientQt::statusbarVisible):
7901        (WebCore::ChromeClientQt::setScrollbarsVisible):
7902        (WebCore::ChromeClientQt::scrollbarsVisible):
7903        (WebCore::ChromeClientQt::setMenubarVisible):
7904        (WebCore::ChromeClientQt::menubarVisible):
7905        (WebCore::ChromeClientQt::setResizable):
7906        (WebCore::ChromeClientQt::addMessageToConsole):
7907        (WebCore::ChromeClientQt::chromeDestroyed):
7908        (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
7909        (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
7910        (WebCore::ChromeClientQt::closeWindowSoon):
7911        (WebCore::ChromeClientQt::runJavaScriptAlert):
7912        (WebCore::ChromeClientQt::runJavaScriptConfirm):
7913        (WebCore::ChromeClientQt::runJavaScriptPrompt):
7914        (WebCore::ChromeClientQt::setStatusbarText):
7915        (WebCore::ChromeClientQt::shouldInterruptJavaScript):
7916        (WebCore::ChromeClientQt::tabsToLinks):
7917        (WebCore::ChromeClientQt::windowResizerRect):
7918        (WebCore::ChromeClientQt::addToDirtyRegion):
7919        (WebCore::ChromeClientQt::scrollBackingStore):
7920        (WebCore::ChromeClientQt::updateBackingStore):
7921        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
7922        (WebCore::ChromeClientQt::setToolTip):
7923        (WebCore::ChromeClientQt::print):
7924        * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
7925        * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
7926        (WebCore::ContextMenuClientQt::contextMenuDestroyed):
7927        (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
7928        (WebCore::ContextMenuClientQt::contextMenuItemSelected):
7929        (WebCore::ContextMenuClientQt::downloadURL):
7930        (WebCore::ContextMenuClientQt::lookUpInDictionary):
7931        (WebCore::ContextMenuClientQt::speak):
7932        (WebCore::ContextMenuClientQt::stopSpeaking):
7933        (WebCore::ContextMenuClientQt::searchWithGoogle):
7934        * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
7935        * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
7936        (WebCore::DragClientQt::actionMaskForDrag):
7937        (WebCore::DragClientQt::willPerformDragDestinationAction):
7938        (WebCore::DragClientQt::dragControllerDestroyed):
7939        (WebCore::DragClientQt::dragSourceActionMaskForPoint):
7940        (WebCore::DragClientQt::willPerformDragSourceAction):
7941        (WebCore::DragClientQt::startDrag):
7942        * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
7943        (WebCore::DragClientQt::DragClientQt):
7944        * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
7945        (EditCommandQt::EditCommandQt):
7946        (EditCommandQt::~EditCommandQt):
7947        (EditCommandQt::redo):
7948        (EditCommandQt::undo):
7949        * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
7950        * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
7951        (WebCore::EditorClientQt::shouldDeleteRange):
7952        (WebCore::EditorClientQt::shouldShowDeleteInterface):
7953        (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
7954        (WebCore::EditorClientQt::isGrammarCheckingEnabled):
7955        (WebCore::EditorClientQt::spellCheckerDocumentTag):
7956        (WebCore::EditorClientQt::shouldBeginEditing):
7957        (WebCore::EditorClientQt::shouldEndEditing):
7958        (WebCore::EditorClientQt::shouldInsertText):
7959        (WebCore::EditorClientQt::shouldChangeSelectedRange):
7960        (WebCore::EditorClientQt::shouldApplyStyle):
7961        (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
7962        (WebCore::EditorClientQt::didBeginEditing):
7963        (WebCore::EditorClientQt::respondToChangedContents):
7964        (WebCore::EditorClientQt::respondToChangedSelection):
7965        (WebCore::EditorClientQt::didEndEditing):
7966        (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
7967        (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
7968        (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
7969        (WebCore::EditorClientQt::isEditable):
7970        (WebCore::EditorClientQt::registerCommandForUndo):
7971        (WebCore::EditorClientQt::registerCommandForRedo):
7972        (WebCore::EditorClientQt::clearUndoRedoOperations):
7973        (WebCore::EditorClientQt::canUndo):
7974        (WebCore::EditorClientQt::canRedo):
7975        (WebCore::EditorClientQt::undo):
7976        (WebCore::EditorClientQt::redo):
7977        (WebCore::EditorClientQt::shouldInsertNode):
7978        (WebCore::EditorClientQt::pageDestroyed):
7979        (WebCore::EditorClientQt::smartInsertDeleteEnabled):
7980        (WebCore::EditorClientQt::toggleContinuousSpellChecking):
7981        (WebCore::EditorClientQt::toggleGrammarChecking):
7982        (WebCore::EditorClientQt::handleKeypress):
7983        (WebCore::EditorClientQt::handleInputMethodKeypress):
7984        (WebCore::EditorClientQt::EditorClientQt):
7985        (WebCore::EditorClientQt::textFieldDidBeginEditing):
7986        (WebCore::EditorClientQt::textFieldDidEndEditing):
7987        (WebCore::EditorClientQt::textDidChangeInTextField):
7988        (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
7989        (WebCore::EditorClientQt::textWillBeDeletedInTextField):
7990        (WebCore::EditorClientQt::textDidChangeInTextArea):
7991        (WebCore::EditorClientQt::ignoreWordInSpellDocument):
7992        (WebCore::EditorClientQt::learnWord):
7993        (WebCore::EditorClientQt::checkSpellingOfString):
7994        (WebCore::EditorClientQt::checkGrammarOfString):
7995        (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
7996        (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
7997        (WebCore::EditorClientQt::showSpellingUI):
7998        (WebCore::EditorClientQt::spellingUIIsShowing):
7999        (WebCore::EditorClientQt::getGuessesForWord):
8000        (WebCore::EditorClientQt::isEditing):
8001        (WebCore::EditorClientQt::setInputMethodState):
8002        * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
8003        * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
8004        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
8005        (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
8006        (WebCore::FrameLoaderClientQt::setFrame):
8007        (WebCore::FrameLoaderClientQt::webFrame):
8008        (WebCore::FrameLoaderClientQt::callPolicyFunction):
8009        (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
8010        (WebCore::FrameLoaderClientQt::hasWebView):
8011        (WebCore::FrameLoaderClientQt::hasFrameView):
8012        (WebCore::FrameLoaderClientQt::hasBackForwardList):
8013        (WebCore::FrameLoaderClientQt::resetBackForwardList):
8014        (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
8015        (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
8016        (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
8017        (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
8018        (WebCore::FrameLoaderClientQt::makeDocumentView):
8019        (WebCore::FrameLoaderClientQt::makeRepresentation):
8020        (WebCore::FrameLoaderClientQt::forceLayout):
8021        (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
8022        (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
8023        (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
8024        (WebCore::FrameLoaderClientQt::resetAfterLoadError):
8025        (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
8026        (WebCore::FrameLoaderClientQt::willCloseDocument):
8027        (WebCore::FrameLoaderClientQt::detachedFromParent2):
8028        (WebCore::FrameLoaderClientQt::detachedFromParent3):
8029        (WebCore::FrameLoaderClientQt::detachedFromParent4):
8030        (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
8031        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
8032        (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
8033        (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
8034        (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
8035        (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
8036        (WebCore::FrameLoaderClientQt::dispatchWillClose):
8037        (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
8038        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
8039        (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
8040        (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
8041        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
8042        (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
8043        (WebCore::FrameLoaderClientQt::dispatchShow):
8044        (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
8045        (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
8046        (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
8047        (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
8048        (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
8049        (WebCore::FrameLoaderClientQt::revertToProvisionalState):
8050        (WebCore::FrameLoaderClientQt::clearUnarchivingState):
8051        (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
8052        (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
8053        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
8054        (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
8055        (WebCore::FrameLoaderClientQt::willChangeTitle):
8056        (WebCore::FrameLoaderClientQt::didChangeTitle):
8057        (WebCore::FrameLoaderClientQt::finishedLoading):
8058        (WebCore::FrameLoaderClientQt::finalSetupForReplace):
8059        (WebCore::FrameLoaderClientQt::setDefersLoading):
8060        (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
8061        (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
8062        (WebCore::FrameLoaderClientQt::clearArchivedResources):
8063        (WebCore::FrameLoaderClientQt::canShowMIMEType):
8064        (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
8065        (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
8066        (WebCore::FrameLoaderClientQt::frameLoadCompleted):
8067        (WebCore::FrameLoaderClientQt::restoreViewState):
8068        (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
8069        (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
8070        (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
8071        (WebCore::FrameLoaderClientQt::didFinishLoad):
8072        (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
8073        (WebCore::FrameLoaderClientQt::setTitle):
8074        (WebCore::FrameLoaderClientQt::userAgent):
8075        (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
8076        (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
8077        (WebCore::FrameLoaderClientQt::canHandleRequest):
8078        (WebCore::FrameLoaderClientQt::windowObjectCleared):
8079        (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
8080        (WebCore::FrameLoaderClientQt::registerForIconNotification):
8081        (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
8082        (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
8083        (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
8084        (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
8085        (WebCore::FrameLoaderClientQt::saveViewStateToItem):
8086        (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
8087        (WebCore::FrameLoaderClientQt::canCachePage):
8088        (WebCore::FrameLoaderClientQt::setMainDocumentError):
8089        (WebCore::FrameLoaderClientQt::committedLoad):
8090        (WebCore::FrameLoaderClientQt::cancelledError):
8091        (WebCore::FrameLoaderClientQt::blockedError):
8092        (WebCore::FrameLoaderClientQt::cannotShowURLError):
8093        (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
8094        (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
8095        (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
8096        (WebCore::FrameLoaderClientQt::shouldFallBack):
8097        (WebCore::FrameLoaderClientQt::createDocumentLoader):
8098        (WebCore::FrameLoaderClientQt::download):
8099        (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
8100        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
8101        (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
8102        (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
8103        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
8104        (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
8105        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
8106        (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
8107        (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
8108        (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
8109        (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
8110        (WebCore::FrameLoaderClientQt::dispatchCreatePage):
8111        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
8112        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
8113        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
8114        (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
8115        (WebCore::FrameLoaderClientQt::startDownload):
8116        (WebCore::FrameLoaderClientQt::willUseArchive):
8117        (WebCore::FrameLoaderClientQt::createFrame):
8118        (WebCore::FrameLoaderClientQt::objectContentType):
8119        (WebCore::):
8120        (WebCore::FrameLoaderClientQt::createPlugin):
8121        (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
8122        (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
8123        (WebCore::FrameLoaderClientQt::overrideMediaType):
8124        * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
8125        * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
8126        (WebCore::InspectorClientQt::inspectorDestroyed):
8127        (WebCore::InspectorClientQt::createPage):
8128        (WebCore::InspectorClientQt::showWindow):
8129        (WebCore::InspectorClientQt::closeWindow):
8130        (WebCore::InspectorClientQt::attachWindow):
8131        (WebCore::InspectorClientQt::detachWindow):
8132        (WebCore::InspectorClientQt::highlight):
8133        (WebCore::InspectorClientQt::hideHighlight):
8134        * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
8135        * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
8136        (WebKitFactory::WebKitFactory):
8137        (WebKitFactory::~WebKitFactory):
8138        (WebKitFactory::createPartObject):
8139        (WebKitFactory::instance):
8140        (WebKitFactory::ref):
8141        (WebKitFactory::deref):
8142        * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
8143        * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
8144        (WebKitPart::WebKitPart):
8145        (WebKitPart::~WebKitPart):
8146        (WebKitPart::openFile):
8147        (WebKitPart::openUrl):
8148        (WebKitPart::closeUrl):
8149        (WebKitPart::parentPart):
8150        (WebKitPart::frame):
8151        (WebKitPart::initView):
8152        * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
8153        * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
8154        (WebKitPart::):
8155        * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
8156        * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
8157        * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
8158        (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
8159        * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
8160        * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
8161        (WebKitPartClient::WebKitPartClient):
8162        (WebKitPartClient::~WebKitPartClient):
8163        * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
8164        * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
8165        (WebKitPartInterface::WebKitPartInterface):
8166        (WebKitPartInterface::~WebKitPartInterface):
8167        (WebKitPartInterface::url):
8168        * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
8169        * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
8170
81712007-10-02  Adam Treat  <adam.treat@torchmobile.com>
8172
8173        Reviewed by Eric Seidel.
8174
8175        Open the requested url on the newly created window.
8176        Implement createModalDialog and provide new API for this.
8177        Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
8178
8179        * Api/qwebpage.cpp:
8180        (QWebPage::createModalDialog):
8181        * Api/qwebpage.h:
8182        * WebCoreSupport/ChromeClientQt.cpp:
8183        (WebCore::ChromeClientQt::createWindow):
8184        (WebCore::ChromeClientQt::createModalDialog):
8185
81862007-10-02  Lars Knoll  <lars@trolltech.com>
8187
8188        Reviewed by bdash.
8189
8190        Add API to retrieve the frame name from QWebFrame.
8191        Implement support for DRT::dumpChildrenAsText.
8192
8193        * Api/qwebframe.cpp:
8194        (QWebFrame::name):
8195        * Api/qwebframe.h:
8196
81972007-10-02  Lars Knoll  <lars@trolltech.com>
8198
8199        Reviewed by bdash.
8200
8201        Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
8202
8203        * Api/qwebnetworkinterface.cpp:
8204        (QWebNetworkManager::started):
8205        (QWebNetworkManager::data):
8206        (QWebNetworkManager::finished):
8207        (QWebNetworkInterfacePrivate::sendFileData):
8208        (QWebNetworkInterfacePrivate::parseDataUrl):
8209        (WebCoreHttp::scheduleNextRequest):
8210        (WebCoreHttp::onSslErrors):
8211        * QtLauncher/main.cpp:
8212        (main):
8213
82142007-10-01  Lars Knoll  <lars@trolltech.com>
8215
8216        Reviewed by Eric.
8217
8218        Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
8219
8220        * WebCoreSupport/FrameLoaderClientQt.cpp:
8221        (WebCore::FrameLoaderClientQt::makeDocumentView):
8222        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
8223        (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
8224        (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
8225        (WebCore::FrameLoaderClientQt::objectContentType):
8226        (WebCore::FrameLoaderClientQt::createPlugin):
8227
82282007-09-30  George Staikos  <staikos@kde.org>
8229
8230        Qt build fix (OS X specific).
8231
8232        * QtLauncher/QtLauncher.pro:
8233
82342007-09-26  Mark Rowe  <mrowe@apple.com>
8235
8236        Qt build fix.
8237
8238        * WebCoreSupport/FrameLoaderClientQt.cpp:
8239        (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
8240
82412007-09-25  David Kilzer  <ddkilzer@webkit.org>
8242
8243        Reviewed by Adam.
8244
8245        - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
8246          LGPL'ed files contain incorrect FSF address
8247
8248        * Api/qcookiejar.cpp:
8249        * Api/qcookiejar.h:
8250        * Api/qwebframe.cpp:
8251        * Api/qwebframe.h:
8252        * Api/qwebframe_p.h:
8253        * Api/qwebhistoryinterface.cpp:
8254        * Api/qwebhistoryinterface.h:
8255        * Api/qwebkitglobal.h:
8256        * Api/qwebnetworkinterface.cpp:
8257        * Api/qwebnetworkinterface.h:
8258        * Api/qwebnetworkinterface_p.h:
8259        * Api/qwebobjectplugin.cpp:
8260        * Api/qwebobjectplugin.h:
8261        * Api/qwebobjectpluginconnector.cpp:
8262        * Api/qwebobjectpluginconnector.h:
8263        * Api/qwebpage.cpp:
8264        * Api/qwebpage.h:
8265        * Api/qwebpage_p.h:
8266        * Api/qwebpagehistory.cpp:
8267        * Api/qwebpagehistory.h:
8268        * Api/qwebsettings.cpp:
8269        * Api/qwebsettings.h:
8270        * WebCoreSupport/EditCommandQt.cpp:
8271        * WebCoreSupport/EditCommandQt.h:
8272
82732007-09-25  Adam Treat  <adam.treat@torchmobile.com>
8274
8275        Reviewed by Simon and Lars.
8276
8277        Modifies the addToJSWindowObject to bind js objects using the built-in
8278        kjs_window class.  Make sure to protect the created runtime object from
8279        garbage collection.
8280
8281        Adds a signal to QWebFrame to notify clients of the beginning of a
8282        provisional load.  DRT needs this.
8283
8284        * Api/qwebframe.cpp:
8285        (QWebFrame::addToJSWindowObject):
8286        * Api/qwebframe.h:
8287        * WebCoreSupport/FrameLoaderClientQt.cpp:
8288        (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
8289
82902007-09-10  Qing Zhao  <qing@staikos.net>
8291
8292        Reviewed by George Staikos.
8293
8294        Don't re-encode urls, resulting in double encoding.  Fixes login to
8295        GMail.
8296
8297        * Api/qwebnetworkinterface.cpp:
8298        (QWebNetworkRequestPrivate::init):
8299        (QWebNetworkManager::started):
8300
83012007-09-08  Mark Rowe  <mrowe@apple.com>
8302
8303        Qt build fix.  Move stub method implementations to the right class.
8304
8305        * WebCoreSupport/FrameLoaderClientQt.cpp:
8306        (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
8307
83082007-09-08  Brady Eidson  <beidson@apple.com>
8309
8310        YABF (Yet Another Build Fix)
8311
8312        * Api/qwebsettings.cpp:
8313        (QWebSettings::iconDatabaseEnabled):
8314
83152007-09-08  Brady Eidson  <beidson@apple.com>
8316
8317        Better build fix
8318
8319        * WebCoreSupport/FrameLoaderClientQt.cpp:
8320        (WebCore::FrameLoaderClient::registerForIconNotification):
8321        * WebCoreSupport/FrameLoaderClientQt.h:
8322
83232007-09-08  Brady Eidson  <beidson@apple.com>
8324
8325        Build fix
8326
8327        * WebCoreSupport/FrameLoaderClientQt.cpp:
8328        (WebCore::FrameLoaderClient::registerForIconNotification):
8329        * WebCoreSupport/FrameLoaderClientQt.h:
8330
83312007-09-05  Geoffrey Garen  <ggaren@apple.com>
8332
8333        Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
8334
8335        Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
8336        memory cache, or a very tiny one
8337
8338        Keep the Qt build working with an empty stub.
8339
8340        * WebCoreSupport/FrameLoaderClientQt.cpp:
8341        (WebCore::FrameLoaderClient::didPerformFirstNavigation):
8342        * WebCoreSupport/FrameLoaderClientQt.h:
8343
83442007-09-07  George Staikos  <staikos@kde.org>
8345
8346        Fix typo.
8347
8348        * Api/qwebpage.cpp:
8349        (QWebPage::onLoadProgressChanged):
8350
83512007-09-07  Qing Zhao  <qing@staikos.net>
8352
8353        Reviewed by Anders and George.
8354
8355        Export page size and load progress in bytes.
8356
8357        * Api/qwebpage.cpp:
8358        (QWebPage::QWebPage):
8359        (QWebPage::onLoadProgressChanged):
8360        (QWebPage::totalBytes):
8361        (QWebPage::bytesReceived):
8362        * Api/qwebpage.h:
8363        * Api/qwebpage_p.h:
8364
83652007-09-06  George Staikos  <staikos@kde.org>
8366
8367        Reviewed by Anders.
8368
8369        Make popup windows work again.
8370
8371        * WebCoreSupport/FrameLoaderClientQt.cpp:
8372        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
8373
83742007-09-01  Oliver Hunt  <oliver@apple.com>
8375
8376        Reviewed by Sam.
8377
8378        <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
8379
8380        EditorClient::setInputMethodState stub
8381
8382        * WebCoreSupport/EditorClientQt.cpp:
8383        (WebCore::EditorClientQt::setInputMethodState):
8384        * WebCoreSupport/EditorClientQt.h:
8385
83862007-08-30  Simon Hausmann  <hausmann@kde.org>
8387
8388        Reviewed by Zack.
8389
8390        Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
8391
8392        * Api/qwebpage.cpp:
8393        (QWebPage::keyPressEvent):
8394
83952007-08-30  Simon Hausmann  <hausmann@kde.org>
8396
8397        Reviewed by Zack.
8398
8399        When scrolling with the keyboard don't call update() on the entire widget.
8400        The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
8401        on a value change.
8402
8403        * Api/qwebpage.cpp:
8404        (QWebPage::keyPressEvent):
8405
84062007-08-30  Simon Hausmann  <hausmann@kde.org>
8407
8408        Reviewed by Zack.
8409
8410        Fix scrolling with the keyboard if only one of the two scrollbars is visible.
8411
8412        * Api/qwebpage.cpp:
8413        (QWebPage::keyPressEvent):
8414
84152007-08-29  Simon Hausmann  <hausmann@kde.org>
8416
8417        Reviewed by Zack.
8418
8419        Fix compilation.
8420
8421        * WebCoreSupport/FrameLoaderClientQt.cpp:
8422        (WebCore::FrameLoaderClientQt::objectContentType):
8423
84242007-08-19  Mike Hommey  <mh+webkit@glandium.org>
8425
8426        Reviewed by George Staikos.
8427
8428        Don't export ICO symbols.
8429
8430        * Plugins/Plugins.pro:
8431
84322007-08-19  George Staikos  <staikos@kde.org>
8433
8434        Fix compilation.
8435
8436        * WebCoreSupport/FrameLoaderClientQt.cpp:
8437        (WebCore::FrameLoaderClientQt::createPlugin):
8438        * WebCoreSupport/FrameLoaderClientQt.h:
8439
84402007-08-10  Lars Knoll  <lars@trolltech.com>
8441
8442        Reviewed and landed by Simon.
8443
8444        Limit the set of properties from the computed style to apply to Qt
8445        plugin widgets, as only a few of them make sense.
8446
8447        * WebCoreSupport/FrameLoaderClientQt.cpp:
8448        (WebCore::):
8449
84502007-08-10  Lars Knoll  <lars@trolltech.com>
8451
8452        Reviewed by Simon.
8453
8454        Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
8455
8456        * Api/qwebpage.cpp:
8457        (QWebPage::createPlugin):
8458        * Api/qwebpage.h:
8459        * WebCoreSupport/FrameLoaderClientQt.cpp:
8460        (WebCore::FrameLoaderClientQt::objectContentType):
8461        (WebCore::FrameLoaderClientQt::createPlugin):
8462
84632007-08-10  Simon Hausmann  <hausmann@kde.org>
8464
8465        Reviewed by Lars.
8466
8467        Added support for network jobs from Qt resources using the qrc protocol.
8468
8469        * Api/qwebnetworkinterface.cpp:
8470        (QWebNetworkInterface::addJob):
8471
84722007-08-10  Simon Hausmann  <hausmann@kde.org>
8473
8474        Reviewed by Lars.
8475
8476        Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
8477        gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
8478
8479        * WebCoreSupport/FrameLoaderClientQt.cpp:
8480        (WebCore::FrameLoaderClientQt::objectContentType):
8481        (WebCore::):
8482        (WebCore::FrameLoaderClientQt::createPlugin):
8483
84842007-08-10  Simon Hausmann  <hausmann@kde.org>
8485
8486        Reviewed by Lars.
8487
8488        Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
8489        and fixed widget embedding by setting the right QWidget parent.
8490
8491        * Api/qwebpage.cpp:
8492        (QWebPage::createPlugin):
8493        * Api/qwebpage.h:
8494        * WebCoreSupport/FrameLoaderClientQt.cpp:
8495        (WebCore::FrameLoaderClientQt::objectContentType):
8496        (WebCore::FrameLoaderClientQt::createPlugin):
8497
84982007-08-02  George Staikos  <staikos@kde.org>
8499
8500        Reviewed by Simon.
8501
8502        Add an interface for the useragent string.
8503
8504        * Api/qwebpage.cpp:
8505        (QWebPage::userAgentStringForUrl):
8506        * Api/qwebpage.h:
8507        * WebCoreSupport/FrameLoaderClientQt.cpp:
8508        (WebCore::FrameLoaderClientQt::userAgent):
8509
85102007-08-01  Adam Treat  <adam.treat@torchmobile.com>
8511
8512        Reviewed by George Staikos.
8513
8514        Add an interface to manage global history for clients
8515
8516        * Api/headers.pri:
8517        * Api/qwebhistoryinterface.cpp: Added.
8518        (WebCore::historyContains):
8519        (gCleanupInterface):
8520        (QWebHistoryInterface::setDefaultInterface):
8521        (QWebHistoryInterface::defaultInterface):
8522        (QWebHistoryInterface::QWebHistoryInterface):
8523        * Api/qwebhistoryinterface.h: Added.
8524
85252007-07-30  Adam Treat  <adam.treat@torchmobile.com>
8526
8527        Fix build.
8528
8529        * WebCoreSupport/EditorClientQt.cpp:
8530        (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
8531        * WebCoreSupport/EditorClientQt.h:
8532
85332007-07-30  Simon Hausmann  <hausmann@kde.org>
8534
8535        Reviewed by Lars.
8536
8537        Link QtLauncher into $$OUTPUT_DIR/bin
8538
8539        * QtLauncher/QtLauncher.pro:
8540
85412007-07-29  Adam Treat  <adam.treat@torchmobile.com>
8542
8543        Reviewed by George Staikos.
8544
8545        Change QWebPage::paintEvent to draw using the individual rects provided
8546        via the QRegion and set the widget to use opaque paint events.
8547
8548        These changes greatly reduce the cpu load as we are no longer painting the
8549        entire page for each 1px scroll :P
8550
8551        * Api/qwebframe.cpp:
8552        (QWebFrame::render):
8553        * Api/qwebpage.cpp:
8554        (QWebPage::QWebPage):
8555        (QWebPage::paintEvent):
8556        * WebCoreSupport/ChromeClientQt.cpp:
8557        (WebCore::ChromeClientQt::addToDirtyRegion):
8558
85592007-07-29  Adam Treat  <adam.treat@torchmobile.com>
8560
8561        Reviewed by Alexey Proskuryakov.
8562
8563        Respect the margins when creating frames.
8564        Set the scroll mode to always off like we did before the rendered
8565        frames patch and the other ports do now.
8566
8567        * Api/qwebframe.cpp:
8568        (QWebFramePrivate::init):
8569
85702007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
8571
8572        Reviewed by Mark.
8573
8574        Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
8575
8576        * QtLauncher/QtLauncher.pro:
8577
85782007-07-27  Simon Hausmann  <hausmann@kde.org>
8579
8580        Reviewed by Lars.
8581
8582        Fix compilation with MSVC.
8583
8584        * Api/qwebpagehistory.cpp:
8585        (QWebPageHistory::operator=):
8586        * Api/qwebpagehistory.h:
8587        * Api/qwebsettings.cpp:
8588        (QWebSettings::operator=):
8589        * Api/qwebsettings.h:
8590
85912007-07-26  Qing Zhao  <qing@staikos.net>
8592
8593        Reviewed by George Staikos.
8594
8595        Add a signal for history notification.
8596
8597        * Api/qwebpage.h:
8598        * WebCoreSupport/FrameLoaderClientQt.cpp:
8599
86002007-07-24  Adam Treat  <adam.treat@torchmobile.com>
8601
8602        Reviewed by Niko and Lars.
8603
8604        These are no longer necessary or used.
8605
8606        * WebCoreSupport/FrameLoaderClientQt.cpp:
8607        * WebCoreSupport/FrameLoaderClientQt.h:
8608
86092007-07-20  Adam Treat  <adam@staikos.net>
8610
8611        Reviewed by George Staikos.
8612
8613        Add a signal for first layout and add the action type for the policy
8614        function.
8615
8616        * Api/qwebpage.cpp:
8617        (QWebPagePrivate::navigationRequested):
8618        (QWebPage::navigationRequested):
8619        * Api/qwebpage.h:
8620        * Api/qwebpage_p.h:
8621        * WebCoreSupport/FrameLoaderClientQt.cpp:
8622        (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
8623        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
8624
86252007-07-19  Adam Treat  <adam.treat@torchmobile.com>
8626
8627        Reviewed by George.
8628
8629        Do a recursive layout on the frame's children.  This fixes a
8630        segfault found when rendering some framesets.
8631
8632        * Api/qwebframe.cpp:
8633        (QWebFrame::render):
8634        (QWebFrame::layout):
8635        * Api/qwebframe.h:
8636
86372007-07-18  Timothy Hatcher  <timothy@apple.com>
8638
8639        Reviewed by Adam.
8640
8641        Make the Page with the now required InspectorClient.
8642
8643        * Api/qwebpage.cpp:
8644        (QWebPagePrivate::QWebPagePrivate):
8645        * WebKitPart/WebKitPart.cpp:
8646        (WebKitPart::initView):
8647
86482007-07-18  Sam Weinig  <sam@webkit.org>
8649
8650        Build fix.
8651
8652        * Api/qwebnetworkinterface.cpp:
8653        (QWebNetworkManager::started):
8654        * WebCoreSupport/FrameLoaderClientQt.cpp:
8655        (WebCore::FrameLoaderClientQt::canShowMIMEType):
8656        (WebCore::FrameLoaderClientQt::objectContentType):
8657
86582007-07-18  Lars Knoll <lars@trolltech.com>
8659
8660        Reviewed by Zack & Simon
8661
8662        Reallow setting of scrollbar policies on QWebFrame.
8663
8664        * Api/qwebframe.cpp:
8665        (QWebFrame::verticalScrollBarPolicy):
8666        (QWebFrame::setVerticalScrollBarPolicy):
8667        (QWebFrame::horizontalScrollBarPolicy):
8668        * Api/qwebframe.h:
8669
86702007-07-17  Adam Treat <adam.treat@torchmobile.com>
8671
8672        Build fix.
8673
8674        * WebCoreSupport/FrameLoaderClientQt.cpp:
8675        (WebCore::FrameLoaderClientQt::createFrame):
8676
86772007-07-17  Holger Hans Peter Freyther  <zecke@selfish.org>
8678
8679        Blind build fix for Qt after r24366 by adding the additional
8680        WebCore::ResourceRequest& parameter to the download method.
8681
8682        * WebCoreSupport/FrameLoaderClientQt.cpp:
8683        (WebCore::FrameLoaderClientQt::download):
8684        * WebCoreSupport/FrameLoaderClientQt.h:
8685
86862007-07-17  Adam Roben  <aroben@apple.com>
8687
8688        Remove ContextMenuClientQt::shouldIncludeInspectElementItem
8689
8690        Reviewed by Tim.
8691
8692        * WebCoreSupport/ContextMenuClientQt.cpp:
8693        * WebCoreSupport/ContextMenuClientQt.h:
8694
86952007-07-16  Adam Roben  <aroben@apple.com>
8696
8697        Updated ChromeClientQt for ChromeClient changes.
8698
8699        Reviewed by Darin Adler.
8700
8701        * WebCoreSupport/ChromeClientQt.cpp:
8702        (WebCore::ChromeClientQt::print): Added a Frame* parameter.
8703        * WebCoreSupport/ChromeClientQt.h: Ditto.
8704
87052007-07-13  Mark Rowe  <mrowe@apple.com>
8706
8707        Reviewed by Mitz.
8708
8709        Build fix.  Stub out ChromeClientQt::print.
8710
8711        * WebCoreSupport/ChromeClientQt.cpp:
8712        (WebCore::ChromeClientQt::print):
8713        * WebCoreSupport/ChromeClientQt.h:
8714
87152007-07-12  George Staikos  <staikos@kde.org>
8716
8717        Qt build fix for assertions.
8718
8719        * Api/qwebnetworkinterface.cpp:
8720        (QWebNetworkManager::add):
8721
87222007-07-12  George Staikos  <staikos@kde.org>
8723
8724        Qt build fix.
8725
8726        * Api/qwebnetworkinterface.cpp:
8727        (QWebNetworkManager::add):
8728
87292007-07-10  Mark Rowe  <mrowe@apple.com>
8730
8731        Qt build fix after r24126.
8732
8733        * Api/qwebframe.cpp:
8734        (QWebFrame::evaluateJavaScript):
8735
87362007-07-10  Eli Fidler  <eli@staikos.net>
8737
8738        Reviewed by George Staikos.
8739
8740        Properly url-decode data urls.
8741
8742        * Api/qwebnetworkinterface.cpp:
8743        (QWebNetworkInterfacePrivate::parseDataUrl):
8744
87452007-07-09  Adam Treat  <adam@staikos.net>
8746
8747        Reviewed by George Staikos.
8748
8749        Convert QWebFrame from a QFrame to a pure QObject to eliminate all
8750        traces of widgets.
8751
8752        * Api/qwebframe.cpp:
8753        (QWebFramePrivate::init):
8754        (QWebFramePrivate::parentFrame):
8755        (QWebFrame::QWebFrame):
8756        (QWebFrame::render):
8757        (QWebFrame::pos):
8758        (QWebFrame::geometry):
8759        (QWebFrame::evaluateJavaScript):
8760        (QWebFrame::mouseMoveEvent):
8761        (QWebFrame::mousePressEvent):
8762        (QWebFrame::mouseDoubleClickEvent):
8763        (QWebFrame::mouseReleaseEvent):
8764        (QWebFrame::wheelEvent):
8765        * Api/qwebframe.h:
8766        * Api/qwebobjectpluginconnector.cpp:
8767        (QWebObjectPluginConnector::pluginParentWidget):
8768        * Api/qwebpage.cpp:
8769        (QWebPagePrivate::QWebPagePrivate):
8770        (QWebPagePrivate::createMainFrame):
8771        (QWebPage::QWebPage):
8772        (QWebPage::javaScriptAlert):
8773        (QWebPage::javaScriptConfirm):
8774        (QWebPage::javaScriptPrompt):
8775        (QWebPage::resizeEvent):
8776        (QWebPage::paintEvent):
8777        (QWebPage::mouseMoveEvent):
8778        (QWebPage::mousePressEvent):
8779        (QWebPage::mouseDoubleClickEvent):
8780        (QWebPage::mouseReleaseEvent):
8781        (QWebPage::wheelEvent):
8782        (QWebPage::keyPressEvent):
8783        (QWebPage::keyReleaseEvent):
8784        (QWebPage::focusInEvent):
8785        (QWebPage::focusOutEvent):
8786        (QWebPage::focusNextPrevChild):
8787        (QWebPage::chooseFile):
8788        * Api/qwebpage.h:
8789        * Api/qwebpage_p.h:
8790        * WebCoreSupport/ChromeClientQt.cpp:
8791        (WebCore::ChromeClientQt::addToDirtyRegion):
8792
87932007-07-09  George Staikos  <staikos@kde.org>
8794
8795        Fix a minor memory leak in the loader.
8796
8797        * Api/qwebnetworkinterface.cpp:
8798        (gCleanupInterface):
8799        (QWebNetworkInterface::setDefaultInterface):
8800        (QWebNetworkInterface::defaultInterface):
8801
88022007-07-09  George Staikos  <staikos@kde.org>
8803
8804        Fix a massive memory leak in the loader.
8805
8806        * Api/qwebnetworkinterface.cpp:
8807        (QWebNetworkManager::httpConnectionClosed):
8808        (WebCoreHttp::~WebCoreHttp):
8809
88102007-07-09  George Staikos  <staikos@kde.org>
8811
8812        Reviewed by Simon.
8813
8814        Rework much of the HTTP stuff to make it more stable, and add SSL and
8815        proxy support.  Major memory leak also discovered but it needs more
8816        research as the obvious fix causes crashes.
8817
8818        * Api/qwebnetworkinterface.cpp:
8819        (QWebNetworkManager::add):
8820        (QWebNetworkManager::started):
8821        (QWebNetworkManager::data):
8822        (WebCoreHttp::WebCoreHttp):
8823        (WebCoreHttp::~WebCoreHttp):
8824        (WebCoreHttp::request):
8825        (WebCoreHttp::scheduleNextRequest):
8826        (WebCoreHttp::getConnection):
8827        (WebCoreHttp::onResponseHeaderReceived):
8828        (WebCoreHttp::onReadyRead):
8829        (WebCoreHttp::onRequestFinished):
8830        (WebCoreHttp::onDone):
8831        (WebCoreHttp::onStateChanged):
8832        (WebCoreHttp::onSslErrors):
8833        (WebCoreHttp::onAuthenticationRequired):
8834        (WebCoreHttp::onProxyAuthenticationRequired):
8835        * Api/qwebnetworkinterface.h:
8836        * Api/qwebnetworkinterface_p.h:
8837        (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
8838
88392007-07-06  Adam Treat  <adam@staikos.net>
8840
8841        Reviewed by George Staikos.
8842
8843        Convert QWebFrame to a QFrame from a scroll area.
8844
8845        * Api/qwebframe.cpp:
8846        (QWebFramePrivate::init):
8847        (QWebFramePrivate::parentFrame):
8848        (QWebFramePrivate::horizontalScrollBar):
8849        (QWebFramePrivate::verticalScrollBar):
8850        (QWebFrame::QWebFrame):
8851        (QWebFrame::resizeEvent):
8852        (QWebFrame::suppressScrollbars):
8853        (QWebFrame::paintEvent):
8854        (QWebFrame::mouseMoveEvent):
8855        (QWebFrame::mousePressEvent):
8856        (QWebFrame::mouseDoubleClickEvent):
8857        (QWebFrame::mouseReleaseEvent):
8858        (QWebFrame::wheelEvent):
8859        (QWebFrame::keyPressEvent):
8860        (QWebFrame::focusInEvent):
8861        (QWebFrame::focusOutEvent):
8862        (QWebFrame::evaluateJavaScript):
8863        * Api/qwebframe.h:
8864        * Api/qwebframe_p.h:
8865        * Api/qwebobjectpluginconnector.cpp:
8866        (QWebObjectPluginConnector::pluginParentWidget):
8867
88682007-07-04  Adam Roben  <aroben@apple.com>
8869
8870        Added a stub for ChromeClientQt::setToolTip
8871
8872        Reviewed by Sam.
8873
8874        * WebCoreSupport/ChromeClientQt.cpp:
8875        (WebCore::ChromeClientQt::setToolTip):
8876        * WebCoreSupport/ChromeClientQt.h:
8877
88782007-07-04  Adam Roben  <aroben@apple.com>
8879
8880        Added a stub for ChromeClientQt::mouseDidMoveOverElement
8881
8882        Reviewed by Sam.
8883
8884        * WebCoreSupport/ChromeClientQt.cpp:
8885        (WebCore::ChromeClientQt::mouseDidMoveOverElement):
8886        * WebCoreSupport/ChromeClientQt.h:
8887
88882007-06-28  Simon Hausmann  <hausmann@kde.org>
8889
8890        Reviewed by Zack.
8891
8892        Propagate mouse double click events from Qt to WebCore.
8893
8894        * Api/qwebframe.cpp:
8895        (QWebFrame::mouseDoubleClickEvent):
8896        * Api/qwebframe.h:
8897
88982007-06-28  Simon Hausmann  <hausmann@kde.org>
8899
8900        Reviewed by Zack.
8901
8902        Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
8903
8904        * Api/qwebpage.cpp:
8905        (QWebPage::canCut):
8906        (QWebPage::canCopy):
8907        (QWebPage::canPaste):
8908        (QWebPage::cut):
8909        (QWebPage::copy):
8910        (QWebPage::paste):
8911        * Api/qwebpage.h:
8912        * WebCoreSupport/EditorClientQt.cpp:
8913
89142007-06-27  George Staikos  <staikos@kde.org>
8915
8916        Compile with various Qt configurations.
8917
8918        * Api/qwebnetworkinterface.cpp:
8919        (WebCoreHttp::scheduleNextRequest):
8920        * Api/qwebpage.cpp:
8921        (QWebPage::javaScriptPrompt):
8922        (QWebPage::dragEnterEvent):
8923        (QWebPage::dragLeaveEvent):
8924        (QWebPage::dragMoveEvent):
8925        (QWebPage::dropEvent):
8926        (QWebPage::chooseFile):
8927        * Api/qwebpage.h:
8928        * Api/qwebpage_p.h:
8929        * WebCoreSupport/DragClientQt.cpp:
8930        (WebCore::DragClientQt::startDrag):
8931
89322007-06-27  Eli Fidler  <eli@staikos.net>
8933
8934        Reviewed by George Staikos.
8935
8936        Check for QT_NO_IMAGE_TEXT and compile either way.
8937
8938        * Plugins/ICOHandler.cpp:
8939        (ICOHandler::read):
8940
89412007-06-27  Eli Fidler  <eli@staikos.net>
8942
8943        Reviewed by George Staikos.
8944
8945        Remove QT3_SUPPORT dependency in the ICO plugin.
8946
8947        * Plugins/ICOHandler.cpp:
8948        (IcoHeader::loadFromDIB):
8949
89502007-06-25  George Staikos  <staikos@kde.org>
8951
8952        Reviewed by Zack.
8953
8954        Start to add proxy and SSL support to WebKit Qt.  Proxy works
8955        unauthenticated.  Added hooks to be able to add authentication.
8956        Also fixes some network errors.
8957
8958        * Api/qwebnetworkinterface.cpp:
8959        (QWebNetworkRequestPrivate::setURL):
8960        (QWebNetworkJob::frame):
8961        (WebCoreHttp::WebCoreHttp):
8962        (WebCoreHttp::scheduleNextRequest):
8963        (WebCoreHttp::onRequestFinished):
8964        (WebCoreHttp::onDone):
8965        (WebCoreHttp::onSslErrors):
8966        (WebCoreHttp::onAuthenticationRequired):
8967        (WebCoreHttp::onProxyAuthenticationRequired):
8968        * Api/qwebnetworkinterface.h:
8969        * Api/qwebnetworkinterface_p.h:
8970        * Api/qwebpage.cpp:
8971        (QWebPage::setNetworkProxy):
8972        (QWebPage::networkProxy):
8973        * Api/qwebpage.h:
8974        * Api/qwebpage_p.h:
8975
89762007-06-21  Adam Treat  <adam@staikos.net>
8977
8978        Reviewed by George Staikos.
8979
8980        Implement the default resources on Qt.
8981
8982        * Api/qwebpage.cpp:
8983        (QWebPage::icon):
8984        * Api/qwebsettings.cpp:
8985        (QWebSettings::setWebGraphic):
8986        (QWebSettings::webGraphic):
8987        (loadResourcePixmap):
8988        * Api/qwebsettings.h:
8989
89902007-06-15  Adam Treat  <adam@staikos.net>
8991
8992        Reviewed by George Staikos.
8993
8994        Add ICO support to the Qt build.
8995
8996        * Api/qwebpage.cpp:
8997        (QWebPage::icon):
8998        * Api/qwebpage.h:
8999        * Api/qwebsettings.cpp:
9000        (QWebSettings::setIconDatabaseEnabled):
9001        (QWebSettings::iconDatabaseEnabled):
9002        * Api/qwebsettings.h:
9003        * Plugins: Added.
9004        * Plugins/ICOHandler.cpp: Added.
9005        (IcoHeader::operator >>):
9006        (IcoHeader::BMP_INFOHDR::):
9007        (IcoHeader::operator<<):
9008        (IcoHeader::LessDifference::LessDifference):
9009        (IcoHeader::LessDifference::operator ()):
9010        (IcoHeader::loadFromDIB):
9011        (ICOHandler::ICOHandler):
9012        (ICOHandler::canRead):
9013        (ICOHandler::read):
9014        (ICOHandler::write):
9015        (ICOHandler::name):
9016        (ICOPlugin::keys):
9017        (ICOPlugin::capabilities):
9018        (ICOPlugin::create):
9019        * Plugins/ICOHandler.h: Added.
9020        * Plugins/Plugins.pro: Added.
9021        * WebCoreSupport/FrameLoaderClientQt.cpp:
9022        (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
9023
90242007-06-15  George Staikos  <staikos@kde.org>
9025
9026        Fixing the Qt build.
9027
9028        * WebCoreSupport/ContextMenuClientQt.cpp:
9029        (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
9030        * WebCoreSupport/ContextMenuClientQt.h:
9031
90322007-06-20  Adam Roben  <aroben@apple.com>
9033
9034        More speculative Qt build fixes.
9035
9036        Add a stub implementation of InspectorClientQt.
9037
9038        * WebCoreSupport/InspectorClientQt.cpp: Added.
9039        (WebCore::InspectorClientQt::inspectorDestroyed):
9040        (WebCore::InspectorClientQt::createPage):
9041        (WebCore::InspectorClientQt::showWindow):
9042        (WebCore::InspectorClientQt::closeWindow):
9043        (WebCore::InspectorClientQt::attachWindow):
9044        (WebCore::InspectorClientQt::detachWindow):
9045        (WebCore::InspectorClientQt::highlight):
9046        (WebCore::InspectorClientQt::hideHighlight):
9047        * WebCoreSupport/InspectorClientQt.h: Added.
9048
90492007-06-19  George Staikos  <staikos@kde.org>
9050
9051        Reviewed by Tim Hatcher.
9052
9053        Add https support.
9054
9055        * Api/qwebnetworkinterface.cpp:
9056        (QWebNetworkInterface::addJob):
9057        (QWebNetworkInterface::cancelJob):
9058        (WebCoreHttp::WebCoreHttp):
9059
90602007-06-14  George Staikos  <staikos@kde.org>
9061
9062        Reviewed by Lars.
9063
9064        Add evaluateJavaScript() method.
9065
9066        * Api/qwebframe.cpp:
9067        (QWebFrame::evaluateJavaScript):
9068        * Api/qwebframe.h:
9069
90702007-06-14  George Staikos  <staikos@kde.org>
9071
9072        Reviewed by Lars.
9073
9074        Implement most of the editing commands, better focus handling, fix some
9075        keyboard and mouse handling, and add keyboard navigation.  May be
9076        refactored later as the key switches are ugly.
9077
9078        * Api/qwebframe.cpp:
9079        (QWebFramePrivate::init):
9080        (QWebFrame::mousePressEvent):
9081        (QWebFrame::mouseReleaseEvent):
9082        (QWebFrame::wheelEvent):
9083        (QWebFrame::keyPressEvent):
9084        (QWebFrame::keyReleaseEvent):
9085        (QWebFrame::focusInEvent):
9086        (QWebFrame::focusOutEvent):
9087        (QWebFrame::focusNextPrevChild):
9088        * Api/qwebframe.h:
9089        * Api/qwebframe_p.h:
9090        * WebCoreSupport/EditorClientQt.cpp:
9091        (WebCore::EditorClientQt::handleKeypress):
9092
90932007-06-14  George Staikos  <staikos@kde.org>
9094
9095        Reviewed by Lars.
9096
9097        Implement all of the Javascript dialogs and file chooser.
9098        Also makes the statusbar virtual into a signal and shuffles some
9099        virtuals around a bit.  The helper in FrameLoaderClientQt may go away
9100        shortly.
9101
9102        * Api/qwebpage.cpp:
9103        (QWebPagePrivate::QWebPagePrivate):
9104        (QWebPage::javaScriptAlert):
9105        (QWebPage::javaScriptConfirm):
9106        (QWebPage::javaScriptPrompt):
9107        (QWebPage::chooseFile):
9108        * Api/qwebpage.h:
9109        * WebCoreSupport/ChromeClientQt.cpp:
9110        (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
9111        (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
9112        (WebCore::ChromeClientQt::runJavaScriptAlert):
9113        (WebCore::ChromeClientQt::runJavaScriptConfirm):
9114        (WebCore::ChromeClientQt::runJavaScriptPrompt):
9115        (WebCore::ChromeClientQt::setStatusbarText):
9116        * WebCoreSupport/FrameLoaderClientQt.cpp:
9117        (WebCore::FrameLoaderClientQt::chooseFile):
9118        * WebCoreSupport/FrameLoaderClientQt.h:
9119
91202007-06-14  Simon Hausmann  <hausmann@kde.org>
9121
9122        Reviewed by Zack.
9123
9124        Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
9125
9126        HistoryItem itself doesn't seem to have a parent pointer either.
9127
9128        * Api/qwebpagehistory.h:
9129
91302007-06-14  Simon Hausmann  <hausmann@kde.org>
9131
9132        Reviewed by Zack.
9133
9134        Make it possible to copy QWebHistoryItem objects.
9135
9136        * Api/qwebpagehistory.cpp:
9137        * Api/qwebpagehistory.h:
9138
91392007-06-14  Lars Knoll <lars@trolltech.com>
9140
9141        Reviewed by George
9142
9143        Fix a crash when a request from the plugin resulted
9144        in a HTTP redirect.
9145
9146        * Api/qwebnetworkinterface.cpp:
9147        (QWebNetworkManager::started):
9148
91492007-06-14  Lars Knoll <lars@trolltech.com>
9150
9151        Reviewed by George.
9152
9153        Work around a bug in Qt's QHttp implementation and
9154        get web pages to load again.
9155
9156        * Api/qwebpage.cpp:
9157        (QWebPage::open):
9158
91592007-06-13  Simon Hausmann  <hausmann@kde.org>
9160
9161        Reviewed by Lars.
9162
9163        Added a make install target that installs the Qt port and renamed
9164        WebKitQt to QtWebKit
9165
9166        * Api/headers.pri: Added.
9167        * Api/qtwebkit.prf: Added.
9168
91692007-06-13  Simon Hausmann  <hausmann@kde.org>
9170
9171        Reviewed by Lars.
9172
9173        Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
9174
9175        * Api/qwebnetworkinterface.cpp:
9176        * Api/qwebnetworkinterface.h:
9177
91782007-06-13  Simon Hausmann  <hausmann@kde.org>
9179
9180        Reviewed by Lars.
9181
9182        Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
9183
9184        * Api/qwebnetworkinterface.h:
9185        * Api/qwebobjectpluginconnector.cpp:
9186        (QWebObjectPluginConnector::requestUrl):
9187        * Api/qwebobjectpluginconnector.h:
9188
91892007-06-13  Simon Hausmann  <hausmann@kde.org>
9190
9191        Reviewed by Lars.
9192
9193        Added a QWebNetworkRequest convenience constructor.
9194
9195        * Api/qwebnetworkinterface.cpp:
9196        * Api/qwebnetworkinterface.h:
9197        * Api/qwebpage.cpp:
9198        (QWebPage::open):
9199
92002007-06-13  Simon Hausmann  <hausmann@kde.org>
9201
9202        Reviewed by Lars.
9203
9204        Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
9205        overload to take a QWebNetworkRequest instead.
9206
9207        * Api/qwebpage.cpp:
9208        (QWebPage::open):
9209        * Api/qwebpage.h:
9210
92112007-06-13  Simon Hausmann  <hausmann@kde.org>
9212
9213        Reviewed by Lars.
9214
9215        In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
9216        of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
9217        pick the individual fields if we can use them.
9218
9219        * Api/qwebpage.cpp:
9220        (QWebPage::open):
9221
92222007-06-13  Simon Hausmann  <hausmann@kde.org>
9223
9224        Reviewed by Lars.
9225
9226        Minor QWebNetworkRequet API fixlet
9227
9228        * Api/qwebnetworkinterface.cpp:
9229        * Api/qwebnetworkinterface.h:
9230
92312007-06-13  Simon Hausmann  <hausmann@kde.org>
9232
9233        Reviewed by Lars.
9234
9235        Use QWebNetworkRequest for QWebPage::navigationRequested.
9236
9237        * Api/qwebnetworkinterface.cpp:
9238        * Api/qwebnetworkinterface.h:
9239        * Api/qwebpage.cpp:
9240        (QWebPagePrivate::navigationRequested):
9241        (QWebPage::navigationRequested):
9242        * Api/qwebpage.h:
9243        * Api/qwebpage_p.h:
9244        * WebCoreSupport/FrameLoaderClientQt.cpp:
9245        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
9246
92472007-06-13  Simon Hausmann  <hausmann@kde.org>
9248
9249        Reviewed by Lars.
9250
9251        Some docs for QWebNetworkRequest
9252
9253        * Api/qwebnetworkinterface.cpp:
9254        (QWebNetworkRequest::QWebNetworkRequest):
9255        (QWebNetworkRequest::~QWebNetworkRequest):
9256
92572007-06-13  Simon Hausmann  <hausmann@kde.org>
9258
9259        Reviewed by Lars.
9260
9261        Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
9262
9263        * Api/qwebnetworkinterface.h:
9264        * Api/qwebobjectpluginconnector.cpp:
9265        (QWebObjectPluginConnector::requestUrl):
9266        * Api/qwebobjectpluginconnector.h:
9267
92682007-06-13  Simon Hausmann  <hausmann@kde.org>
9269
9270        Reviewed by Lars.
9271
9272        Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
9273
9274        * Api/qwebnetworkinterface.cpp:
9275        (QWebNetworkJob::postData):
9276        (WebCoreHttp::WebCoreHttp):
9277        (WebCoreHttp::scheduleNextRequest):
9278        * Api/qwebnetworkinterface.h:
9279
92802007-06-13  Simon Hausmann  <hausmann@kde.org>
9281
9282        Reviewed by Lars.
9283
9284        Introduce QWebNetworkRequest in the public API.
9285
9286        * Api/qwebnetworkinterface.cpp:
9287        (QWebNetworkRequestPrivate::init):
9288        * Api/qwebnetworkinterface.h:
9289        * Api/qwebnetworkinterface_p.h:
9290        * WebCoreSupport/FrameLoaderClientQt.cpp:
9291        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
9292
92932007-06-13  Simon Hausmann  <hausmann@kde.org>
9294
9295        Reviewed by Lars.
9296
9297        Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
9298
9299        * Api/qwebnetworkinterface.cpp:
9300        (QWebNetworkManager::add):
9301        (QWebNetworkManager::started):
9302        (QWebNetworkManager::data):
9303        (QWebNetworkManager::finished):
9304        * Api/qwebnetworkinterface_p.h:
9305        * Api/qwebobjectpluginconnector.cpp:
9306        (QWebObjectPluginConnector::requestUrl):
9307
93082007-06-13  Simon Hausmann  <hausmann@kde.org>
9309
9310        Reviewed by Lars.
9311
9312        Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
9313
9314        * Api/qwebnetworkinterface.cpp:
9315        (QWebNetworkRequest::init):
9316        (QWebNetworkRequest::setURL):
9317        (QWebNetworkManager::add):
9318        (QWebNetworkManager::started):
9319        * Api/qwebnetworkinterface_p.h:
9320        * WebCoreSupport/FrameLoaderClientQt.cpp:
9321        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
9322
93232007-06-12  Lars Knoll <lars@trolltech.com>
9324
9325        Reviewed by George Staikos.
9326
9327        Remove duplicate symbols.
9328
9329        * Api/qwebobjectplugin_p.h:
9330
93312007-06-13  Lars Knoll <lars@trolltech.com>
9332
9333        Reviewed by Niko.
9334
9335        Fix compilation, and remove dependency on Qt
9336        private header.
9337
9338        * Api/qwebobjectplugin_p.h:
9339        (QWebFactoryLoader::supportsMimeType):
9340
93412007-06-13  Lars Knoll <lars@trolltech.com>
9342
9343        Reviewed by Niko.
9344
9345        Parts of the patch done by Zack.
9346        Fix up some parts in the implementation of QWebNetworkInterface
9347        so it can be used by plugins.
9348        Change the plugin API so we can actually get all the information
9349        required by the JS bridge from them as well.
9350
9351        * Api/qwebnetworkinterface.cpp:
9352        (QWebNetworkJob::cancelled):
9353        (QWebNetworkManager::cancel):
9354        (QWebNetworkManager::started):
9355        (QWebNetworkManager::finished):
9356        * Api/qwebobjectplugin.cpp:
9357        (QWebFactoryLoader::QWebFactoryLoader):
9358        (QWebFactoryLoader::descriptionForName):
9359        (QWebFactoryLoader::mimetypesForName):
9360        (QWebFactoryLoader::mimeTypeForExtension):
9361        (QWebFactoryLoader::extensions):
9362        (QWebFactoryLoader::nameForMimetype):
9363        (QWebFactoryLoader::create):
9364        (QWebObjectPlugin::descriptionForKey):
9365        (QWebObjectPlugin::mimetypesForKey):
9366        * Api/qwebobjectplugin.h:
9367        * Api/qwebobjectplugin_p.h:
9368        (QWebFactoryLoader::names):
9369        * Api/qwebobjectpluginconnector.cpp:
9370        (QWebObjectPluginConnector::requestUrl):
9371        * Api/qwebpage.cpp:
9372        (QWebPage::networkInterface):
9373
93742007-06-11  Simon Hausmann  <hausmann@kde.org>
9375
9376        Reviewed by Lars.
9377
9378        Added a QWebPage::open overload to allow specifying the http header and post data.
9379        (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
9380        which would imply that one has to have QT += network in the .pro file for using WebKitQt)
9381
9382        * Api/qwebpage.cpp:
9383        * Api/qwebpage.h:
9384
93852007-06-11  Simon Hausmann  <hausmann@kde.org>
9386
9387        Reviewed by Lars.
9388
9389        Added the possibility to intercept url requests through QWebPage::navigationRequested.
9390
9391        * Api/qwebpage.cpp:
9392        (QWebPagePrivate::QWebPagePrivate):
9393        (QWebPage::createFrame):
9394        * Api/qwebpage.h:
9395        * Api/qwebpage_p.h:
9396        * WebCoreSupport/FrameLoaderClientQt.cpp:
9397
93982007-06-11  Simon Hausmann  <hausmann@kde.org>
9399
9400        Reviewed by Lars.
9401
9402        Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
9403        to be called from FrameLoaderClientQt in the near future.
9404
9405        * Api/qwebnetworkinterface.cpp:
9406        (QWebNetworkManager::add):
9407        * Api/qwebnetworkinterface_p.h:
9408
94092007-06-11  Simon Hausmann  <hausmann@kde.org>
9410
9411        Reviewed by Lars.
9412
9413        Moved the postData setup into QWebNetworkRequest::init.
9414
9415        * Api/qwebnetworkinterface.cpp:
9416        (QWebNetworkRequest::init):
9417        (QWebNetworkManager::add):
9418
94192007-06-11  Simon Hausmann  <hausmann@kde.org>
9420
9421        Reviewed by Lars.
9422
9423        Moved HTTP header field propagation to QWebNetworkRequest::init.
9424
9425        * Api/qwebnetworkinterface.cpp:
9426        (QWebNetworkRequest::init):
9427        (QWebNetworkManager::add):
9428
94292007-06-11  Simon Hausmann  <hausmann@kde.org>
9430
9431        Reviewed by Lars.
9432
9433        Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
9434        and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
9435
9436        * Api/qwebnetworkinterface.cpp:
9437        (QWebNetworkRequest::init):
9438        (QWebNetworkManager::add):
9439        * Api/qwebnetworkinterface_p.h:
9440        * Api/qwebobjectpluginconnector.cpp:
9441        (QWebObjectPluginConnector::requestUrl):
9442
94432007-06-11  Zack Rusin <zrusin@trolltech.com>
9444
9445        Reviewed by Lars
9446
9447        Forgot to export the plugin connector.
9448
9449        * Api/qwebobjectpluginconnector.h
9450
94512007-06-08  Lars Knoll <lars@trolltech.com>
9452
9453        Reviewed by Zack.
9454
9455        Add a QWebObjectPluginConnector class. The class will
9456        facility communication between the plugin and WebKit.
9457        Currently it's used to make the plugin network capable.
9458
9459        * Api/qwebnetworkinterface.cpp:
9460        (QWebNetworkJobPrivate::setDefaults):
9461        (QWebNetworkManager::add):
9462        (QWebNetworkManager::started):
9463        (QWebNetworkManager::data):
9464        (QWebNetworkManager::finished):
9465        * Api/qwebnetworkinterface.h:
9466        * Api/qwebnetworkinterface_p.h:
9467        (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
9468        * Api/qwebobjectplugin.cpp:
9469        (QWebFactoryLoader::create):
9470        * Api/qwebobjectplugin.h:
9471        * Api/qwebobjectplugin_p.h:
9472        * Api/qwebobjectpluginconnector.cpp: Added.
9473        (QWebObjectPluginConnector::QWebObjectPluginConnector):
9474        (QWebObjectPluginConnector::frame):
9475        (QWebObjectPluginConnector::pluginParentWidget):
9476        (QWebObjectPluginConnector::requestUrl):
9477        * Api/qwebobjectpluginconnector.h: Added.
9478        (QWebObjectPluginConnector::):
9479        * WebCoreSupport/FrameLoaderClientQt.cpp:
9480        (WebCore::FrameLoaderClientQt::createPlugin):
9481
94822007-06-06  Lars Knoll <lars@trolltech.com>
9483
9484        Reviewed by Zack
9485
9486        Add an API to create and load plugins.
9487        Don't include moc files by hand anymore, rather let
9488        qmake handle them.
9489
9490        * Api/qcookiejar.cpp:
9491        (QCookieJar::cookieJar):
9492        * Api/qwebframe.cpp:
9493        (QWebFrame::scrollContentsBy):
9494        * Api/qwebnetworkinterface.cpp:
9495        * Api/qwebobjectplugin.cpp: Added.
9496        (QWebFactoryLoader::QWebFactoryLoader):
9497        (QWebFactoryLoader::self):
9498        (QWebFactoryLoader::mimeTypeForExtension):
9499        (QWebFactoryLoader::create):
9500        (QWebObjectPlugin::QWebObjectPlugin):
9501        (QWebObjectPlugin::~QWebObjectPlugin):
9502        (QWebObjectPlugin::extensionsForMimetype):
9503        * Api/qwebobjectplugin.h: Added.
9504        * Api/qwebobjectplugin_p.h: Added.
9505        (QWebFactoryLoader::mimeTypes):
9506        (QWebFactoryLoader::extensions):
9507        (QWebFactoryLoader::supportsMimeType):
9508        * Api/qwebpage.cpp:
9509        (QWebPage::settings):
9510        * WebCoreSupport/FrameLoaderClientQt.cpp:
9511        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
9512        (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
9513        (WebCore::FrameLoaderClientQt::objectContentType):
9514        (WebCore::FrameLoaderClientQt::createPlugin):
9515
95162007-05-28  Zack Rusin  <zrusin@trolltech.com>
9517
9518        Reviewed by andersca and simon
9519
9520        Adding public settings Api to the Qt port.
9521        QWebSetting's is a value based settings
9522        object settable on the QWebPage.
9523
9524        * Api/qwebpage.cpp:
9525        (QWebPagePrivate::QWebPagePrivate):
9526        (QWebPage::QWebPage):
9527        (QWebPage::setSettings):
9528        (QWebPage::settings):
9529        * Api/qwebpage.h:
9530        * Api/qwebsettings.cpp: Added.
9531        (QWebSettingsPrivate::QWebSettingsPrivate):
9532        (QWebSettings::QWebSettings):
9533        (QWebSettings::~QWebSettings):
9534        (QWebSettings::setMinimumFontSize):
9535        (QWebSettings::minimumFontSize):
9536        (QWebSettings::setMinimumLogicalFontSize):
9537        (QWebSettings::minimumLogicalFontSize):
9538        (QWebSettings::setDefaultFontSize):
9539        (QWebSettings::defaultFontSize):
9540        (QWebSettings::setDefaultFixedFontSize):
9541        (QWebSettings::defaultFixedFontSize):
9542        (QWebSettings::setUserStyleSheetLocation):
9543        (QWebSettings::userStyleSheetLocation):
9544        (QWebSettings::setGlobal):
9545        (QWebSettings::global):
9546        (QWebSettings::setFontFamily):
9547        (QWebSettings::fontFamily):
9548        (QWebSettings::setAttribute):
9549        (QWebSettings::testAttribute):
9550        * Api/qwebsettings.h: Added.
9551        * QtLauncher/main.cpp:
9552        (main):
95532007-05-27  Kevin Ollivier  <kevino@theolliviers.com>
9554
9555        Reviewed by Sam Weinig.
9556
9557        Consolidate all notImplemented() macro definitions into
9558        one header file for all platforms.
9559
9560        * WebCoreSupport/ChromeClientQt.cpp:
9561        * WebCoreSupport/ContextMenuClientQt.cpp:
9562        * WebCoreSupport/EditorClientQt.cpp:
9563        * WebCoreSupport/FrameLoaderClientQt.cpp:
9564
95652007-05-25  George Staikos  <staikos@kde.org>
9566
9567        Reviewed by Simon.
9568
9569        The http loader should only ask for .... http cookies!
9570
9571        * Api/qwebnetworkinterface.cpp:
9572        (QWebNetworkManager::add):
9573
95742007-05-24  Simon Hausmann  <hausmann@kde.org>
9575
9576        Reviewed by Zack.
9577
9578        Fix multipart/form-data HTTP POSTs. The content-type wasn't set
9579        correctly. Fortunately WebCore does it already, so there's no need
9580        for us to do it since we already transfer all HTTP header fields :)
9581
9582        * Api/qwebnetworkinterface.cpp:
9583        (QWebNetworkManager::add):
9584
95852007-05-23  Simon Hausmann  <hausmann@kde.org>
9586
9587        Reviewed by Zack, idea from Lars.
9588
9589        Share WebCoreHttp and therefore HTTP connections among multiple
9590        QWebNetworkInterface instances by moving the code into
9591        QWebNetworkManager.
9592
9593        * Api/qwebnetworkinterface.cpp:
9594        (QWebNetworkManager::addHttpJob):
9595        (QWebNetworkManager::cancelHttpJob):
9596        (QWebNetworkManager::httpConnectionClosed):
9597        (QWebNetworkInterface::addJob):
9598        (QWebNetworkInterface::cancelJob):
9599        (WebCoreHttp::scheduleNextRequest):
9600        (WebCoreHttp::onResponseHeaderReceived):
9601        (WebCoreHttp::onReadyRead):
9602        (WebCoreHttp::onRequestFinished):
9603        (WebCoreHttp::cancel):
9604        * Api/qwebnetworkinterface.h:
9605        * Api/qwebnetworkinterface_p.h:
9606
96072007-05-23  Simon Hausmann  <hausmann@kde.org>
9608
9609        Reviewed by Zack, discussed also with Lars.
9610
9611        Make it possible to specify a per-QWebPage network interface (needed
9612        for the KDE KIO integration).
9613
9614        Merged the file and the network loader into
9615        QWebNetworkInterface(Private), which simplifies the loading code.
9616
9617        When receiving a redirection don't emit the data of the redirected job
9618        to the document. (otherwise the kind of "This page has moved" text
9619        appears right on top of the real page content)
9620
9621        * Api/qwebnetworkinterface.cpp:
9622        (qHash):
9623        (operator==):
9624        (QWebNetworkJob::QWebNetworkJob):
9625        (QWebNetworkJob::networkInterface):
9626        (QWebNetworkManager::add):
9627        (QWebNetworkManager::cancel):
9628        (QWebNetworkManager::data):
9629        (QWebNetworkManager::finished):
9630        (QWebNetworkInterfacePrivate::sendFileData):
9631        (QWebNetworkInterfacePrivate::parseDataUrl):
9632        (QWebNetworkInterfacePrivate::addHttpJob):
9633        (QWebNetworkInterfacePrivate::httpConnectionClosed):
9634        (QWebNetworkInterface::setDefaultInterface):
9635        (QWebNetworkInterface::QWebNetworkInterface):
9636        (QWebNetworkInterface::addJob):
9637        (QWebNetworkInterface::cancelJob):
9638        (WebCoreHttp::scheduleNextRequest):
9639        (WebCoreHttp::onResponseHeaderReceived):
9640        (WebCoreHttp::onReadyRead):
9641        (WebCoreHttp::onRequestFinished):
9642        (WebCoreHttp::cancel):
9643        * Api/qwebnetworkinterface.h:
9644        * Api/qwebnetworkinterface_p.h:
9645        * Api/qwebpage.cpp:
9646        (QWebPagePrivate::QWebPagePrivate):
9647        (QWebPage::setNetworkInterface):
9648        * Api/qwebpage.h:
9649        * Api/qwebpage_p.h:
9650
96512007-05-23  Lars Knoll <lars@trolltech.com>
9652
9653        Reviewed by Zack
9654
9655        Don't do HTTP downloads in a second thread. Simplifies
9656        the code significantly and fixes crashes on some
9657        Web pages.
9658
9659        * Api/qwebnetworkinterface.cpp:
9660        (QWebNetworkManager::add):
9661        (QWebNetworkInterface::QWebNetworkInterface):
9662        (QWebNetworkInterface::addJob):
9663        (QWebNetworkInterface::cancelJob):
9664        (LoaderThread::LoaderThread):
9665        (LoaderThread::run):
9666        (WebCoreHttp::cancel):
9667        (NetworkLoader::NetworkLoader):
9668        (NetworkLoader::request):
9669        (NetworkLoader::cancel):
9670        * Api/qwebnetworkinterface_p.h:
9671        * WebCoreSupport/FrameLoaderClientQt.cpp:
9672        (WebCore::FrameLoaderClientQt::committedLoad):
9673        (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
9674
96752007-05-23  Lars Knoll <lars@trolltech.com>
9676
9677        Reviewed by Simon.
9678
9679        * Api/qwebnetworkinterface.cpp:
9680        (QWebNetworkJobPrivate::setURL):
9681        (QWebNetworkManager::started):
9682            Fix Host: line in HTTP headers and resolving of relative URLs
9683            when redirecting.
9684        * Api/qwebnetworkinterface_p.h:
9685            Clean up qHash forward declaration a bit.
9686
96872007-05-23  Simon Hausmann  <hausmann@kde.org>
9688
9689        Reviewed by Zack.
9690
9691        * QtLauncher/main.cpp:
9692        (MainWindow::MainWindow): Fix loading progress signal/slot connection.
9693
96942007-05-22  Simon Hausmann  <hausmann@kde.org>
9695
9696        Reviewed by Lars.
9697
9698        * Api/qwebnetworkinterface.cpp:
9699        (QWebNetworkManager::add): Fix http headers for POST.
9700
97012007-05-21  Lars Knoll <lars@trolltech.com>
9702
9703        Reviewed by Simon
9704
9705        Remove the userHandle methods from QWebnetworkJob again.
9706        They don't really give us anything and just clutter the API.
9707
9708        * Api/qwebnetworkinterface.cpp:
9709        * Api/qwebnetworkinterface.h:
9710        * Api/qwebnetworkinterface_p.h:
9711
97122007-05-21  Simon Hausmann  <hausmann@kde.org>
9713
9714        Reviewed by Zack.
9715
9716        * Api/qwebnetworkinterface.h: Export the net API.
9717
97182007-05-21  Lars Knoll <lars@trolltech.com>
9719
9720        Reviewed by Zack.
9721
9722        Add an API layer for network downloads. Basically QWebnetworkInterface
9723        is an interface class for downloading resources. QWebnetworkJob describes
9724        the actual object to download.
9725
9726        QWebNetworkInterface has a default implementation that replaces the
9727        old ResourceHandleManager class in the Qt port.
9728
9729        * Api/qwebnetworkinterface.cpp: Added.
9730        (QWebNetworkJobPrivate::setURL):
9731        (QWebNetworkJob::QWebNetworkJob):
9732        (QWebNetworkJob::~QWebNetworkJob):
9733        (QWebNetworkJob::url):
9734        (QWebNetworkJob::postData):
9735        (QWebNetworkJob::request):
9736        (QWebNetworkJob::response):
9737        (QWebNetworkJob::setResponse):
9738        (QWebNetworkJob::cancelled):
9739        (QWebNetworkJob::ref):
9740        (QWebNetworkJob::deref):
9741        (QWebNetworkJob::setUserHandle):
9742        (QWebNetworkJob::userHandle):
9743        (QWebNetworkManager::QWebNetworkManager):
9744        (QWebNetworkManager::self):
9745        (QWebNetworkManager::add):
9746        (QWebNetworkManager::cancel):
9747        (QWebNetworkManager::started):
9748        (QWebNetworkManager::data):
9749        (QWebNetworkManager::finished):
9750        (QWebNetworkInterface::setDefaultInterface):
9751        (QWebNetworkInterface::defaultInterface):
9752        (QWebNetworkInterface::QWebNetworkInterface):
9753        (QWebNetworkInterface::~QWebNetworkInterface):
9754        (QWebNetworkInterface::addJob):
9755        (QWebNetworkInterface::cancelJob):
9756        (LoaderThread::LoaderThread):
9757        (LoaderThread::run):
9758        (FileLoader::FileLoader):
9759        (FileLoader::request):
9760        (FileLoader::sendData):
9761        (FileLoader::parseDataUrl):
9762        (WebCoreHttp::WebCoreHttp):
9763        (WebCoreHttp::~WebCoreHttp):
9764        (WebCoreHttp::request):
9765        (WebCoreHttp::scheduleNextRequest):
9766        (WebCoreHttp::getConnection):
9767        (WebCoreHttp::onResponseHeaderReceived):
9768        (WebCoreHttp::onReadyRead):
9769        (WebCoreHttp::onRequestFinished):
9770        (WebCoreHttp::onStateChanged):
9771        (WebCoreHttp::cancel):
9772        (HostInfo::HostInfo):
9773        (qHash):
9774        (operator==):
9775        (NetworkLoader::NetworkLoader):
9776        (NetworkLoader::~NetworkLoader):
9777        (NetworkLoader::request):
9778        (NetworkLoader::connectionClosed):
9779        (NetworkLoader::cancel):
9780        * Api/qwebnetworkinterface.h: Added.
9781        (QWebNetworkJob::setHandle):
9782        (QWebNetworkJob::handle):
9783        * Api/qwebnetworkinterface_p.h: Added.
9784        (WebCore::LoaderThread::):
9785        (WebCore::LoaderThread::waitForSetup):
9786        (WebCore::HostInfo::HostInfo):
9787
97882007-05-18  Simon Hausmann  <hausmann@kde.org>
9789
9790        Reviewed by Nikolas.
9791
9792        * Api/qwebpage.h: Changed the loadProgressChanged API to use an
9793        percent integer instead of a double precision floating pointer number.
9794        * WebCoreSupport/FrameLoaderClientQt.cpp:
9795        (WebCore::FrameLoaderClientQt::setFrame):
9796        (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
9797        * WebCoreSupport/FrameLoaderClientQt.h:
9798
97992007-05-18  Marius Bugge Monsen  <mbm@trolltech.com>
9800
9801        Reviewed by Zack Rusin.
9802
9803        The default constructed KeyboardEvent has
9804        no PlatformKeyboardEvent.
9805
9806        * WebCoreSupport/EditorClientQt.cpp:
9807        (WebCore::EditorClientQt::handleKeypress):
9808
98092007-05-17  Adam Treat <adam@staikos.net>
9810
9811        Reviewed by George Staikos.
9812
9813        - Implement frameLoadCompleted
9814        - Fix build (by George)
9815
9816        * WebCoreSupport/FrameLoaderClientQt.cpp:
9817        (WebCore::FrameLoaderClientQt::frameLoadCompleted):
9818        (WebCore::FrameLoaderClientQt::createFrame):
9819
98202007-05-17  Adam Treat  <adam@staikos.net>
9821
9822        Reviewed by George Staikos.
9823
9824        Implement canShowMIMEType
9825
9826        * WebCoreSupport/FrameLoaderClientQt.cpp:
9827        (WebCore::FrameLoaderClientQt::canShowMIMEType):
9828
98292007-05-16  Lars Knoll <lars@trolltech.com>
9830
9831        Reviewed by Zack
9832
9833        pass the mouse events to the event handler, not the frameview.
9834
9835        * Api/qwebframe.cpp:
9836        (QWebFrame::mouseMoveEvent):
9837        (QWebFrame::mouseReleaseEvent):
9838
98392007-05-14  Lars Knoll <lars@trolltech.com>
9840
9841        Reviewed by Zack
9842
9843        Updates after Maciej's frame change.
9844
9845        * Api/qwebpage.cpp:
9846        (QWebPage::stop):
9847              Call stopForUserCancel() instead of stopAllLoaders()
9848        * WebCoreSupport/FrameLoaderClientQt.cpp:
9849        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
9850        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
9851        (WebCore::FrameLoaderClientQt::didFinishLoad):
9852        (WebCore::FrameLoaderClientQt::setMainDocumentError):
9853        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
9854        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
9855        (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
9856        (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
9857              Call QWebFrame::loadDone() from the places it's supposed to be
9858              called from.
9859
98602007-05-12  Maciej Stachowiak  <mjs@apple.com>
9861
9862        Reviewed by Rob Buis.
9863
9864        - call Frame::init as needed - this prevents crashes but pages don't appear.
9865
9866        * Api/qwebframe.cpp:
9867        (QWebFramePrivate::init):
9868        * WebKitPart/WebKitPart.cpp:
9869        (WebKitPart::initView):
9870
98712007-05-08  Steve Falkenburg  <sfalken@apple.com>
9872
9873        Reviewed by Ada.
9874
9875        Slight modification to last editor method fix.
9876
9877        * WebCoreSupport/EditorClientQt.cpp:
9878        (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
9879        * WebCoreSupport/EditorClientQt.h:
9880
98812007-05-03  Steve Falkenburg  <sfalken@apple.com>
9882
9883        Reviewed by Oliver.
9884
9885        Add missing user description parameter to spelling-related editor client method.
9886
9887        * WebCoreSupport/EditorClientQt.cpp:
9888        (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
9889        * WebCoreSupport/EditorClientQt.h:
9890
98912007-04-29  Oliver Hunt  <oliver@apple.com>
9892
9893        Reviewed by Zack.
9894
9895        Tie QT drag events to the DragController logic
9896        to allow drag and drop events to be handled by
9897        webkit.
9898
9899        * Api/qwebframe.cpp:
9900        * Api/qwebframe.h:
9901        * Api/qwebpage.cpp:
9902        (QWebPagePrivate::QWebPagePrivate):
9903        (QWebPage::QWebPage):
9904        (dropActionToDragOp):
9905        (dragOpToDropAction):
9906        (QWebPage::dragEnterEvent):
9907        (QWebPage::dragLeaveEvent):
9908        (QWebPage::dragMoveEvent):
9909        (QWebPage::dropEvent):
9910        * Api/qwebpage.h:
9911        * WebCoreSupport/DragClientQt.cpp:
9912        (WebCore::DragClientQt::startDrag):
9913        * WebCoreSupport/DragClientQt.h:
9914        (WebCore::DragClientQt::DragClientQt):
9915
99162007-04-27  Holger Freyther <freyther@kde.org>
9917
9918        Reviewed by Maciej.
9919
9920        Remove unmaintained CMake build system.
9921
9922        * QtLauncher/CMakeLists.txt: Removed.
9923        * WebKitPart/CMakeLists.txt: Removed.
9924
99252007-04-25  Steve Falkenburg  <sfalken@apple.com>
9926
9927        Reviewed by Adam.
9928
9929        Fix spelling error in spelling method name.
9930
9931        * WebCoreSupport/EditorClientQt.cpp:
9932        (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
9933        * WebCoreSupport/EditorClientQt.h:
9934
99352007-04-24  Steve Falkenburg  <sfalken@apple.com>
9936
9937        Reviewed by Oliver.
9938
9939        Spelling and grammar stubs
9940
9941        * WebCoreSupport/EditorClientQt.cpp:
9942        (WebCore::EditorClientQt::ignoreWordInSpellDocument):
9943        (WebCore::EditorClientQt::learnWord):
9944        (WebCore::EditorClientQt::checkSpellingOfString):
9945        (WebCore::EditorClientQt::checkGrammarOfString):
9946        (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
9947        (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
9948        (WebCore::EditorClientQt::showSpellingUI):
9949        (WebCore::EditorClientQt::spellingUIIsShowing):
9950        (WebCore::EditorClientQt::getGuessesForWord):
9951        * WebCoreSupport/EditorClientQt.h:
9952
99532007-04-11  MorganL  <morganl.webkit@yahoo.com>
9954
9955        Reviewed by Maciej.
9956
9957        Add a Frame pointer to ChromeClient methods:
9958        http://bugs.webkit.org/show_bug.cgi?id=13127
9959
9960        * WebCoreSupport/ChromeClientQt.cpp:
9961        (WebCore::ChromeClientQt::createWindow):
9962        (WebCore::ChromeClientQt::createModalDialog):
9963        * WebCoreSupport/ChromeClientQt.h:
9964
99652007-04-12  Mark Rowe  <mrowe@apple.com>
9966
9967        Second part of Qt build fix.
9968
9969        * WebCoreSupport/FrameLoaderClientQt.cpp:
9970        (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
9971        (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
9972        (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
9973        * WebCoreSupport/FrameLoaderClientQt.h:
9974
99752007-03-27  Zack Rusin  <zrusin@trolltech.com>
9976
9977        Fix the rendering crashes due triggered
9978        asserts. Improve a bit the layout
9979        scheduling.
9980
9981        * Api/qwebframe.cpp:
9982        (QWebFrame::resizeEvent):
9983        (QWebFrame::paintEvent):
9984        * WebCoreSupport/FrameLoaderClientQt.cpp:
9985        (WebCore::FrameLoaderClientQt::forceLayout):
9986
99872007-03-16  Lars Knoll <lars@trolltech.com>
9988
9989        Fix the Qt build once again.
9990
9991        * WebCoreSupport/EditorClientQt.cpp:
9992        (WebCore::EditorClientQt::handleKeypress):
9993        * WebCoreSupport/FrameLoaderClientQt.cpp:
9994        (WebCore::FrameLoaderClientQt::blockedError):
9995        * WebCoreSupport/FrameLoaderClientQt.h:
9996
99972007-03-13  Lars Knoll <lars@trolltech.com>
9998
9999        Reviewed by George.
10000
10001        Don't try to load <object> tags with an invalid url.
10002        Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
10003        which hit an assertion in the frameloader.
10004
10005        * WebCoreSupport/FrameLoaderClientQt.cpp:
10006        (WebCore::FrameLoaderClientQt::objectContentType):
10007
100082007-03-13  Lars Knoll <lars@trolltech.com>
10009
10010        Reviewed by Anders.
10011
10012        Fix some crashes in the Qt build.
10013
10014        * Api/qwebframe.cpp:
10015        (QWebFrame::markup):
10016            Check for null pointer
10017        * WebCoreSupport/FrameLoaderClientQt.cpp:
10018        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10019            Don't use an async callback into the FrameLoader.
10020        (WebCore::FrameLoaderClientQt::createFrame):
10021
100222007-03-11  Oliver Hunt  <oliver@apple.com>
10023
10024        Reviewed by Adele.
10025
10026        Stub for EditorClientQt::respondToChangedSelection
10027
10028        * WebCoreSupport/EditorClientQt.cpp:
10029        (WebCore::EditorClientQt::respondToChangedSelection):
10030        * WebCoreSupport/EditorClientQt.h:
10031
100322007-03-07  Adele Peterson  <adele@apple.com>
10033
10034        Reviewed by Darin Adler.
10035
10036        WebKitQT part of fix for:
10037        http://bugs.webkit.org/show_bug.cgi?id=10871
10038        http://bugs.webkit.org/show_bug.cgi?id=12677
10039        <rdar://problem/4823129> REGRESSION: IME key events different in nightly
10040        <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
10041
10042        * WebCoreSupport/EditorClientQt.cpp:
10043        (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
10044        (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
10045        * WebCoreSupport/EditorClientQt.h:
10046
100472007-03-07  Darin Adler  <darin@apple.com>
10048
10049        * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
10050
100512007-03-07  Darin Adler  <darin@apple.com>
10052
10053        * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
10054        Try to fix the build by correcting the parameter here.
10055
100562007-03-02  Sam Weinig  <sam@webkit.org>
10057
10058        Reviewed by Anders.
10059
10060        Try to fix the Qt build
10061
10062        * WebCoreSupport/DragClientQt.cpp:
10063        (WebCore::DragClientQt::willPerformDragDestinationAction):
10064        (WebCore::DragClientQt::dragControllerDestroyed):
10065        (WebCore::DragClientQt::createDragImageForLink):
10066
100672007-02-26  Maciej Stachowiak  <mjs@apple.com>
10068
10069        Reviewed by Kevin McCullough.
10070
10071        - fix Qt build for earlier SVG changes.
10072
10073        * WebCoreSupport/EditCommandQt.cpp:
10074
100752007-02-24  Zack Rusin  <zrusin@trolltech.com>
10076
10077        Adjust the animation a little bit to make it more natural.
10078
10079        * QtLauncher/main.cpp:
10080        (HoverLabel::paintEvent):
10081
100822007-02-23  Zack Rusin  <zrusin@trolltech.com>
10083
10084        Adding a little bit of eye-candy to the last
10085        commit (animations on hover events)
10086
10087        * QtLauncher/main.cpp:
10088        (HoverLabel::HoverLabel):
10089        (HoverLabel::setHoverLink):
10090        (HoverLabel::sizeForFont):
10091        (HoverLabel::sizeHint):
10092        (HoverLabel::resetAnimation):
10093        (HoverLabel::paintEvent):
10094        (HoverLabel::interpolate):
10095        (SearchEdit::resizeEvent):
10096
100972007-02-23  Zack Rusin  <zrusin@trolltech.com>
10098
10099        Reviewed by Lars
10100
10101        Adding API and code for notification of when the
10102        mouse is hovering over a link and adding code to
10103        the sample app to showcase it.
10104
10105        * Api/qwebframe.cpp:
10106        (QWebFrame::mouseMoveEvent):
10107        * Api/qwebframe.h:
10108        * Api/qwebframe_p.h:
10109        (QWebFramePrivate::QWebFramePrivate):
10110        * Api/qwebpage.cpp:
10111        (QWebPage::createFrame):
10112        * Api/qwebpage.h:
10113        * QtLauncher/main.cpp:
10114        (HoverLabel::HoverLabel):
10115        (HoverLabel::setHoverLink):
10116        (HoverLabel::sizeHint):
10117        (HoverLabel::updateSize):
10118        (HoverLabel::paintEvent):
10119        (ClearButton::ClearButton):
10120        (ClearButton::paintEvent):
10121        (SearchEdit::SearchEdit):
10122        (SearchEdit::resizeEvent):
10123        (SearchEdit::moveEvent):
10124        (MainWindow::MainWindow):
10125        (MainWindow::showLinkHover):
10126        (MainWindow::resizeEvent):
10127
101282007-02-22  Zack Rusin  <zrusin@trolltech.com>
10129
10130        Reviewed by Lars
10131
10132        Fixing the default scroll offset, cleaning
10133        up private methods and making the default
10134        look not use any frames.
10135
10136        * Api/qwebframe.cpp:
10137        (QWebFramePrivate::init):
10138        (QWebFramePrivate::_q_handleKeyEvent):
10139        (QWebFrame::QWebFrame):
10140        (QWebFrame::wheelEvent):
10141        (QWebFrame::keyPressEvent):
10142        (QWebFrame::keyReleaseEvent):
10143        * Api/qwebframe.h:
10144        * Api/qwebframe_p.h:
10145
101462007-02-22  Zack Rusin  <zrusin@trolltech.com>
10147
10148        Reviewed by Lars
10149
10150        Make the qwebframe act as a proper canvas.
10151        Implement it on top of QAbstractScrollArea.
10152
10153        * Api/qwebframe.cpp:
10154        (QWebFramePrivate::init):
10155        (QWebFramePrivate::_q_adjustScrollbars):
10156        (QWebFrame::init):
10157        (QWebFrame::QWebFrame):
10158        (QWebFrame::resizeEvent):
10159        (QWebFrame::childFrames):
10160        (QWebFrame::paintEvent):
10161        (QWebFrame::mouseMoveEvent):
10162        (QWebFrame::mousePressEvent):
10163        (QWebFrame::mouseReleaseEvent):
10164        (QWebFrame::wheelEvent):
10165        (QWebFrame::keyPressEvent):
10166        (QWebFrame::keyReleaseEvent):
10167        (QWebFrame::dragEnterEvent):
10168        (QWebFrame::dragLeaveEvent):
10169        (QWebFrame::dragMoveEvent):
10170        (QWebFrame::handleKeyEvent):
10171        (QWebFrame::scrollContentsBy):
10172        * Api/qwebframe.h:
10173        * Api/qwebframe_p.h:
10174        (QWebFramePrivate::QWebFramePrivate):
10175
101762007-02-21  George Staikos  <staikos@kde.org>
10177
10178        Reviewed by Zack.
10179
10180        Add more editing support, and undo/redo.  Requires some nasty evil
10181        hacks that have to be sorted out in WebCore/editor.
10182
10183        * Api/qwebpage.cpp:
10184        (QWebPagePrivate::QWebPagePrivate):
10185        (QWebPagePrivate::~QWebPagePrivate):
10186        (QWebPage::undoStack):
10187        * Api/qwebpage.h:
10188        * Api/qwebpage_p.h:
10189        * WebCoreSupport/EditorClientQt.cpp:
10190        (WebCore::EditorClientQt::didBeginEditing):
10191        (WebCore::EditorClientQt::didEndEditing):
10192        (WebCore::EditorClientQt::isEditable):
10193        (WebCore::EditorClientQt::registerCommandForUndo):
10194        (WebCore::EditorClientQt::registerCommandForRedo):
10195        (WebCore::EditorClientQt::clearUndoRedoOperations):
10196        (WebCore::EditorClientQt::canUndo):
10197        (WebCore::EditorClientQt::canRedo):
10198        (WebCore::EditorClientQt::undo):
10199        (WebCore::EditorClientQt::redo):
10200        (WebCore::EditorClientQt::handleKeyPress):
10201        (WebCore::EditorClientQt::EditorClientQt):
10202        (WebCore::EditorClientQt::textFieldDidBeginEditing):
10203        (WebCore::EditorClientQt::textFieldDidEndEditing):
10204        (WebCore::EditorClientQt::isEditing):
10205        * WebCoreSupport/EditorClientQt.h:
10206
102072007-02-21  Zack Rusin  <zrusin@trolltech.com>
10208
10209        Fix compilation.
10210
10211        * WebCoreSupport/ContextMenuClientQt.cpp:
10212        * WebCoreSupport/ContextMenuClientQt.h:
10213
102142007-02-21  George Staikos  <staikos@kde.org>
10215
10216        Fix compile.
10217
10218        * Api/qwebpage.cpp:
10219        (QWebPage::stop):
10220
102212007-02-20  Zack Rusin  <zrusin@trolltech.com>
10222
10223        Reviewed by Lars
10224
10225        Make editing of forms work plus make sure that non-void methods
10226        always return something.
10227
10228        * WebCoreSupport/ChromeClientQt.cpp:
10229        (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
10230        (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
10231        (WebCore::ChromeClientQt::runJavaScriptConfirm):
10232        (WebCore::ChromeClientQt::runJavaScriptPrompt):
10233        (WebCore::ChromeClientQt::shouldInterruptJavaScript):
10234        * WebCoreSupport/EditorClientQt.cpp:
10235        (WebCore::EditorClientQt::shouldDeleteRange):
10236        (WebCore::EditorClientQt::shouldBeginEditing):
10237        (WebCore::EditorClientQt::shouldEndEditing):
10238        (WebCore::EditorClientQt::shouldInsertText):
10239        (WebCore::EditorClientQt::shouldChangeSelectedRange):
10240        (WebCore::EditorClientQt::shouldApplyStyle):
10241        (WebCore::EditorClientQt::shouldInsertNode):
10242        * WebCoreSupport/FrameLoaderClientQt.cpp:
10243        (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
10244        (WebCore::FrameLoaderClientQt::dispatchCreatePage):
10245
102462007-02-17  Lars Knoll <lars@trolltech.com>
10247
10248        Reviewed by Maciej.
10249
10250        Additional coding by Maciej, additional review by Oliver.
10251
10252        Add stubs for the new methods in ChormeClient and EditorClient,
10253        remove all references to FrameQt.
10254
10255        * Api/qwebframe.cpp:
10256        (QWebFrame::QWebFrame):
10257        * Api/qwebframe_p.h:
10258        * Api/qwebpage.cpp:
10259        * WebCoreSupport/ChromeClientQt.cpp:
10260        (WebCore::ChromeClientQt::shouldInterruptJavaScript):
10261        * WebCoreSupport/ChromeClientQt.h:
10262        * WebCoreSupport/EditorClientQt.cpp:
10263        (WebCore::EditorClientQt::shouldChangeSelectedRange):
10264        (WebCore::EditorClientQt::isEditable):
10265        * WebCoreSupport/EditorClientQt.h:
10266        * WebCoreSupport/FrameLoaderClientQt.cpp:
10267        (WebCore::FrameLoaderClientQt::setFrame):
10268        (WebCore::FrameLoaderClientQt::webFrame):
10269        * WebCoreSupport/FrameLoaderClientQt.h:
10270
102712007-02-18  Oliver Hunt  <oliver@apple.com>
10272
10273        Build fix -- adding DragClientQt method stubs
10274
10275        * WebCoreSupport/DragClientQt.cpp:
10276        (WebCore::DragClientQt::willPerformDragSourceAction):
10277        (WebCore::DragClientQt::startDrag):
10278        (WebCore::DragClientQt::createDragImageForLink):
10279        * WebCoreSupport/DragClientQt.h:
10280
102812007-02-15  Brady Eidson  <beidson@apple.com>
10282
10283        Reviewed by Adam
10284
10285        Moved scroll state down into the cross platform FrameLoader -
10286        Blind attempt at keeping Qt building
10287
10288        * WebCoreSupport/FrameLoaderClientQt.cpp:
10289        (WebCore::FrameLoaderClientQt::restoreViewState):
10290        (WebCore::FrameLoaderClientQt::saveViewStateToItem):
10291        * WebCoreSupport/FrameLoaderClientQt.h:
10292
102932007-02-07  Anders Carlsson  <acarlsson@apple.com>
10294
10295        Try fixing the Qt build.
10296
10297        * WebCoreSupport/ChromeClientQt.cpp:
10298        (WebCore::ChromeClientQt::shouldInterruptJavaScript):
10299        * WebCoreSupport/ChromeClientQt.h:
10300
103012007-02-02  Zack Rusin  <zrusin@trolltech.com>
10302
10303        Compilation fix: forward declare d-ptr.
10304
10305        * Api/qcookiejar.h:
10306
103072007-02-02  Zack Rusin  <zrusin@trolltech.com>
10308
10309        Reviewed by Lars
10310
10311        Make the frames white by default and get the
10312        files that WebCore can handle render inside
10313        the frames.
10314
10315        * Api/qwebframe.cpp:
10316        (QWebFrame::QWebFrame):
10317        * WebCoreSupport/FrameLoaderClientQt.cpp:
10318        (WebCore::FrameLoaderClientQt::createFrame):
10319        (WebCore::FrameLoaderClientQt::objectContentType):
10320
103212007-02-01  George Staikos  <staikos@kde.org>
10322
10323        Reviewed by Zack and Lars.
10324
10325        Add a cookie interface for the Qt build.
10326
10327        * Api/qcookiejar.cpp: Added.
10328        (QCookieJarPrivate::QCookieJarPrivate):
10329        (qHash):
10330        (QCookieJar::QCookieJar):
10331        (QCookieJar::~QCookieJar):
10332        (QCookieJar::setCookies):
10333        (QCookieJar::cookies):
10334        (QCookieJar::isEnabled):
10335        (QCookieJar::setEnabled):
10336        (gCleanupJar):
10337        (QCookieJar::setCookieJar):
10338        (QCookieJar::cookieJar):
10339        * Api/qcookiejar.h: Added.
10340
103412007-02-01  Lars Knoll <lars@trolltech.com>
10342
10343        Reviewed by Adam.
10344
10345        Fix form loading for the Qt build.
10346
10347        * WebCoreSupport/FrameLoaderClientQt.cpp:
10348        (WebCore::FrameLoaderClientQt::callPolicyFunction):
10349        (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
10350        (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
10351        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
10352        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
10353        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10354
103552007-01-31  Zack Rusin  <zrusin@trolltech.com>
10356
10357        Expose the fact that the form has been edited
10358        in the public api.
10359
10360        * Api/qwebpage.cpp:
10361        (QWebPagePrivate::QWebPagePrivate):
10362        (QWebPage::isModified):
10363        * Api/qwebpage.h:
10364        * Api/qwebpage_p.h:
10365        * WebCoreSupport/EditorClientQt.cpp:
10366        (WebCore::EditorClientQt::respondToChangedContents):
10367        (WebCore::EditorClientQt::isEditable):
10368
103692007-01-31  Zack Rusin  <zrusin@trolltech.com>
10370
10371        Reviewed by Lars
10372
10373        Properly propagate key events.
10374
10375        * Api/qwebframe.cpp:
10376        (QWebFrame::addToJSWindowObject):
10377        (QWebFrame::innerText):
10378        (QWebFrame::renderTreeDump):
10379        * Api/qwebpage.cpp:
10380        (QWebPagePrivate::QWebPagePrivate):
10381        * Api/qwebpage.h:
10382        * WebCoreSupport/EditorClientQt.cpp:
10383        (WebCore::EditorClientQt::pageDestroyed):
10384        (WebCore::EditorClientQt::handleKeyPress):
10385        (WebCore::EditorClientQt::EditorClientQt):
10386        * WebCoreSupport/EditorClientQt.h:
10387
103882007-01-31  George Staikos  <staikos@kde.org>
10389
10390        Remove focusFrame() - misguided - and add childFrames().  Fix a crash
10391        on exit.
10392
10393        Reviewed by Zack.
10394
10395        * Api/qwebframe.cpp:
10396        (QWebFrame::resizeEvent):
10397        (QWebFrame::childFrames):
10398        * Api/qwebframe.h:
10399        * Api/qwebpage.cpp:
10400        * Api/qwebpage.h:
10401        * WebCoreSupport/FrameLoaderClientQt.cpp:
10402        (WebCore::FrameLoaderClientQt::webFrame):
10403        * WebCoreSupport/FrameLoaderClientQt.h:
10404
104052007-01-30  Zack Rusin  <zrusin@trolltech.com>
10406
10407        Improve QtLauncher to make it more useful as a testing tool.
10408
10409        * QtLauncher/main.cpp:
10410        (ClearButton::ClearButton):
10411        (ClearButton::paintEvent):
10412        (SearchEdit::SearchEdit):
10413        (SearchEdit::~SearchEdit):
10414        (SearchEdit::paintEvent):
10415        (SearchEdit::resizeEvent):
10416        (SearchEdit::moveEvent):
10417        (MainWindow::MainWindow):
10418        (MainWindow::changeLocation):
10419        (MainWindow::loadFinished):
10420
104212007-01-30  Simon Hausmann  <hausmann@kde.org>
10422
10423        Reviewed by Zack.
10424
10425        Added import/export macros needed for build with ELF visibility and
10426        for a build on Windows (in the future).
10427
10428        * Api/qwebframe.h:
10429        * Api/qwebkitglobal.h: Added.
10430        * Api/qwebpage.h:
10431        * Api/qwebpagehistory.h:
10432
104332007-01-30  Zack Rusin  <zack@kde.org>
10434
10435        Change the signature of handleKeyPress
10436        (make it compile)
10437
10438        * WebCoreSupport/EditorClientQt.cpp:
10439        (WebCore::EditorClientQt::handleKeyPress):
10440        * WebCoreSupport/EditorClientQt.h:
10441
104422007-01-29  Zack Rusin  <zack@kde.org>
10443
10444        Reviewed by Lars
10445
10446        Set the allows-scrolling property on the view.
10447
10448        * Api/qwebframe.cpp:
10449        (QWebFrame::QWebFrame):
10450
104512007-01-29  Oliver Hunt  <oliver@apple.com>
10452
10453        Reviewed by Adam.
10454
10455        Stub for new DragClient method
10456
10457        * WebCoreSupport/DragClientQt.cpp:
10458        (WebCore::DragClientQt::dragSourceActionMaskForPoint):
10459        * WebCoreSupport/DragClientQt.h:
10460
104612007-01-29  Maciej Stachowiak  <mjs@apple.com>
10462
10463        Reviewed by Mark.
10464
10465        - updated for cross-platform data loading support
10466
10467        * WebCoreSupport/FrameLoaderClientQt.cpp:
10468        (WebCore::FrameLoaderClientQt::createDocumentLoader):
10469        * WebCoreSupport/FrameLoaderClientQt.h:
10470
104712007-01-29  George Staikos  <staikos@kde.org>
10472
10473        Make window resizing work.
10474
10475        * Api/qwebpage.cpp:
10476        (QWebPage::setWindowGeometry):
10477        * Api/qwebpage.h:
10478        * WebCoreSupport/ChromeClientQt.cpp:
10479        (WebCore::ChromeClientQt::setWindowRect):
10480
104812007-01-29  George Staikos  <staikos@kde.org>
10482
10483        Make popup windows work.
10484
10485        * Api/qwebpage.cpp:
10486        (QWebPage::createWindow):
10487        * Api/qwebpage.h:
10488        * WebCoreSupport/ChromeClientQt.cpp:
10489        (WebCore::ChromeClientQt::createWindow):
10490
104912007-01-29  Lars Knoll <lars@trolltech.com>
10492
10493        Reviewed by Zack
10494
10495        Fix the way we handle native widgets (QWidget) inside
10496        WebCore. Now WebCore::Widget owns the QWidget in all
10497        cases. This is the only way to get well defined semantics
10498        for all teh native widgets we have (currently ScrollView
10499        and ScrollBar, but plugins will follow).
10500
10501        This has the side effect that one cannot rely on a defined
10502        lifetime of a QWebFrame when using the API.
10503
10504        * Api/qwebframe.cpp:
10505        (QWebFrame::~QWebFrame):
10506        * Api/qwebpage.cpp:
10507        (QWebPage::~QWebPage):
10508        * Api/qwebpage_p.h:
10509        * WebCoreSupport/FrameLoaderClientQt.cpp:
10510        (WebCore::FrameLoaderClientQt::detachedFromParent3):
10511        (WebCore::FrameLoaderClientQt::detachedFromParent4):
10512        (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
10513        * WebCoreSupport/FrameLoaderClientQt.h:
10514
105152007-01-29  George Staikos  <staikos@kde.org>
10516
10517        Reviewed by Zack.
10518
10519        Implement more functions
10520
10521        * Api/qwebpage.cpp:
10522        (QWebPage::javaScriptConsoleMessage):
10523        (QWebPage::statusTextChanged):
10524        (QWebPage::runJavaScriptAlert):
10525        * Api/qwebpage.h:
10526        * Api/qwebpagehistory.cpp:
10527        (QWebPageHistory::canGoBack):
10528        (QWebPageHistory::canGoForward):
10529        * Api/qwebpagehistory.h:
10530        * WebCoreSupport/ChromeClientQt.cpp:
10531        (WebCore::ChromeClientQt::addMessageToConsole):
10532        (WebCore::ChromeClientQt::runJavaScriptAlert):
10533        * WebCoreSupport/FrameLoaderClientQt.cpp:
10534        (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
10535
105362007-01-26  George Staikos  <staikos@kde.org>
10537
10538        Reviewed by Zack.
10539
10540        Qt implementation.
10541
10542        * Api/qwebframe.cpp:
10543        (QWebFrame::QWebFrame):
10544        (QWebFrame::title):
10545        (QWebFrame::selectedText):
10546        * Api/qwebframe.h:
10547        * Api/qwebframe_p.h:
10548        * Api/qwebpage.cpp:
10549        (QWebPage::createFrame):
10550        (QWebPage::open):
10551        (QWebPage::url):
10552        (QWebPage::title):
10553        (QWebPage::focusFrame):
10554        (QWebPage::stop):
10555        * Api/qwebpage.h:
10556        * WebCoreSupport/FrameLoaderClientQt.cpp:
10557        (WebCore::FrameLoaderClientQt::setFrame):
10558        (WebCore::FrameLoaderClientQt::detachFrameLoader):
10559        (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
10560        (WebCore::FrameLoaderClientQt::didChangeTitle):
10561        (WebCore::FrameLoaderClientQt::setTitle):
10562        * WebCoreSupport/FrameLoaderClientQt.h:
10563
105642007-01-26  Lars Knoll <lars@trolltech.com>
10565
10566        Make it compile again with Qt 4.2 and add the copyright
10567        headers where forgotten in the last submit.
10568
10569        * Api/qwebpagehistory.cpp:
10570        * Api/qwebpagehistory.h:
10571        (QExplicitlySharedDataPointer::operator*):
10572        (QExplicitlySharedDataPointer::operator->):
10573        (QExplicitlySharedDataPointer::operator T *):
10574        (QExplicitlySharedDataPointer::operator const T *):
10575        (QExplicitlySharedDataPointer::data):
10576        (QExplicitlySharedDataPointer::constData):
10577        (QExplicitlySharedDataPointer::operator==):
10578        (QExplicitlySharedDataPointer::operator!=):
10579        (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
10580        (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
10581        (QExplicitlySharedDataPointer::operator=):
10582        (QExplicitlySharedDataPointer::operator!):
10583        (::QExplicitlySharedDataPointer):
10584
105852007-01-26  Zack Rusin  <zrusin@trolltech.com>
10586
10587        Reviewed by Lars
10588
10589        Implement history support on platform Qt.
10590
10591        * Api/qwebpage.cpp:
10592        (QWebPage::history):
10593        (QWebPage::goBack):
10594        (QWebPage::goForward):
10595        (QWebPage::goToHistoryItem):
10596        * Api/qwebpage.h:
10597        * Api/qwebpagehistory.cpp: Added.
10598        (QWebHistoryItem::~QWebHistoryItem):
10599        (QWebHistoryItem::originalUrl):
10600        (QWebHistoryItem::currentUrl):
10601        (QWebHistoryItem::title):
10602        (QWebHistoryItem::lastVisited):
10603        (QWebHistoryItem::icon):
10604        (QWebHistoryItem::QWebHistoryItem):
10605        (QWebPageHistory::QWebPageHistory):
10606        (QWebPageHistory::itemAtIndex):
10607        (QWebPageHistory::~QWebPageHistory):
10608        (QWebPageHistory::items):
10609        (QWebPageHistory::backItems):
10610        (QWebPageHistory::forwardItems):
10611        (QWebPageHistory::goBack):
10612        (QWebPageHistory::goForward):
10613        (QWebPageHistory::goToItem):
10614        (QWebPageHistory::backItem):
10615        (QWebPageHistory::currentItem):
10616        (QWebPageHistory::forwardItem):
10617        * Api/qwebpagehistory.h: Added.
10618        * Api/qwebpagehistory_p.h: Added.
10619        (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
10620        (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
10621        (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
10622        (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
10623
106242007-01-26  Lars Knoll <lars@trolltech.com>
10625
10626        Get rid of FrameQtClient. It's unused since we moved over
10627        to the loader.
10628
10629        * Api/qwebframe.cpp:
10630        (QWebFrame::QWebFrame):
10631
106322007-01-26  Zack Rusin  <zack@kde.org>
10633
10634        Reviewed by Lars
10635
10636        Correctly position child frames within the
10637        toplevel frame. We were placed it on the widget
10638        itself instead of the vieweport.
10639
10640        * Api/qwebframe.cpp:
10641        (QWebFrame::QWebFrame):
10642
106432007-01-26  Lars Knoll <lars@trolltech.com>
10644
10645        Reviewed by Zack
10646
10647        Make sure we resize the HTML when resizing a
10648        QWebFrame. Also ensure that the render tree
10649        is up to date before dumping it.
10650
10651        * Api/qwebframe.cpp:
10652        (QWebFrame::innerText):
10653        (QWebFrame::renderTreeDump):
10654        (QWebFrame::resizeEvent):
10655        * Api/qwebframe.h:
10656        * Api/qwebpage.cpp:
10657        (QWebPagePrivate::createMainFrame):
10658
106592007-01-26  Zack Rusin  <zack@kde.org>
10660
10661        Reviewed by Lars
10662
10663        Display pages inside a mainwindow instead
10664        of a custom qwidget.
10665
10666        * QtLauncher/main.cpp:
10667        (MainWindow::MainWindow):
10668        (main):
10669
106702007-01-25  Lars Knoll <lars@trolltech.com>
10671
10672        Reviewed by Zack
10673
10674        Emit the loadDone() signal from teh onload event callback
10675        again. This hangs on one or two test cases, but removes
10676        hundreds of failures elsewhere.
10677
10678        * WebCoreSupport/FrameLoaderClientQt.cpp:
10679        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
10680        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
10681
106822007-01-24  Lars Knoll <lars@trolltech.com>
10683
10684        Reviewed by Zack
10685
10686        Implement some bits and pieces required by the loader.
10687        Fixes quite a few crashes and hangs in the lyout tests
10688
10689        * Api/qwebframe.h:
10690        * WebCoreSupport/FrameLoaderClientQt.cpp:
10691        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
10692        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
10693        (WebCore::FrameLoaderClientQt::finishedLoading):
10694        (WebCore::FrameLoaderClientQt::setMainDocumentError):
10695        (WebCore::FrameLoaderClientQt::committedLoad):
10696        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
10697        (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
10698        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10699        (WebCore::FrameLoaderClientQt::createFrame):
10700
107012007-01-24  Lars Knoll <lars@trolltech.com>
10702
10703        Fix compilation again.
10704
10705        * WebCoreSupport/EditorClientQt.cpp:
10706        (WebCore::EditorClientQt::handleKeyPress):
10707        * WebCoreSupport/EditorClientQt.h:
10708
107092007-01-23  Lars Knoll <lars@trolltech.com>
10710
10711        Reviewed by Zack
10712
10713        Fix refcounting of FrameViews (they get created with a
10714        refcount of 1) and add a few safety checks to the
10715        FrameLoaderClientQt.
10716
10717        * Api/qwebframe.cpp:
10718        (QWebFrame::QWebFrame):
10719        (QWebFrame::~QWebFrame):
10720        * WebCoreSupport/FrameLoaderClientQt.cpp:
10721        (WebCore::FrameLoaderClientQt::detachedFromParent3):
10722        (WebCore::FrameLoaderClientQt::detachedFromParent4):
10723        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
10724        (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
10725        (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
10726        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
10727        (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
10728        (WebCore::FrameLoaderClientQt::windowObjectCleared):
10729
107302007-01-23  Zack Rusin  <zack@kde.org>
10731
10732        Adjust the DragClientQt to latest changes.
10733
10734        * Api/qwebpage.cpp:
10735        (QWebPagePrivate::QWebPagePrivate):
10736        * WebCoreSupport/DragClientQt.cpp:
10737        (WebCore::DragClientQt::dragControllerDestroyed):
10738        * WebCoreSupport/DragClientQt.h:
10739
107402007-01-23  Zack Rusin  <zack@kde.org>
10741
10742        Fix the Qt build
10743
10744        * WebCoreSupport/DragClientQt.cpp:
10745        (WebCore::DragClientQt::willPerformDragDestinationAction):
10746        * WebCoreSupport/DragClientQt.h:
10747
107482007-01-23  Lars Knoll <lars@trolltech.com>
10749
10750        Reviewed by Maciej
10751
10752        Add support for Frames to the Qt build and fix some issues
10753        in the API classes.
10754
10755        * Api/qwebframe.cpp:
10756        (QWebFrame::QWebFrame):
10757        (QWebFrame::~QWebFrame):
10758        * Api/qwebframe.h:
10759        * Api/qwebframe_p.h:
10760        * Api/qwebpage.cpp:
10761        (QWebPagePrivate::QWebPagePrivate):
10762        (QWebPagePrivate::createMainFrame):
10763        (QWebPage::createFrame):
10764        * Api/qwebpage.h:
10765        * WebCoreSupport/FrameLoaderClientQt.cpp:
10766        (WebCore::FrameLoaderClientQt::detachedFromParent3):
10767        (WebCore::FrameLoaderClientQt::detachedFromParent4):
10768        (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
10769        (WebCore::FrameLoaderClientQt::windowObjectCleared):
10770        (WebCore::FrameLoaderClientQt::createFrame):
10771        (WebCore::FrameLoaderClientQt::objectContentType):
10772        (WebCore::FrameLoaderClientQt::createPlugin):
10773        (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
10774        (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
10775        (WebCore::FrameLoaderClientQt::overrideMediaType):
10776        * WebCoreSupport/FrameLoaderClientQt.h:
10777
107782007-01-23  Oliver Hunt  <oliver@apple.com>
10779
10780        Reviewed by Adam.
10781
10782        Qt build stubs for Drop logic
10783
10784        * WebCoreSupport/DragClientQt.cpp: Added.
10785        (WebCore::DragClientQt::actionMaskForDrag):
10786        (WebCore::DragClientQt::willPerformDragDestinationAction):
10787        * WebCoreSupport/DragClientQt.h: Added.
10788        * WebKitPart/WebKitPart.cpp:
10789        (WebKitPart::initView):
10790
107912007-01-19  John Sullivan  <sullivan@apple.com>
10792
10793        Added stubs for new callbacks, to try to avoid breaking the Qt port.
10794
10795        * WebCoreSupport/FrameLoaderClientQt.cpp:
10796        (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
10797        * WebCoreSupport/FrameLoaderClientQt.h:
10798
107992007-01-19  Anders Carlsson  <acarlsson@apple.com>
10800
10801        Try fixing the QT build.
10802
10803        * WebCoreSupport/ChromeClientQt.cpp:
10804        (WebCore::ChromeClientQt::runJavaScriptAlert):
10805        (WebCore::ChromeClientQt::runJavaScriptConfirm):
10806        (WebCore::ChromeClientQt::runJavaScriptPrompt):
10807        (WebCore::ChromeClientQt::setStatusbarText):
10808        * WebCoreSupport/ChromeClientQt.h:
10809
108102007-01-18  Zack Rusin  <zack@kde.org>
10811
10812        Reviewed by Lars.
10813
10814        Implementing a little bit of load progress tracking in the Qt port.
10815
10816        * Api/qwebframe.cpp:
10817        (QWebFrame::QWebFrame):
10818        (QWebFrame::page):
10819        * Api/qwebframe.h:
10820        * Api/qwebframe_p.h:
10821        (QWebFramePrivate::QWebFramePrivate):
10822        * Api/qwebpage.h:
10823        * QtLauncher/main.cpp:
10824        (main):
10825        * WebCoreSupport/FrameLoaderClientQt.cpp:
10826        (WebCore::FrameLoaderClientQt::setFrame):
10827        (WebCore::FrameLoaderClientQt::detachFrameLoader):
10828        (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
10829        (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
10830        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
10831        * WebCoreSupport/FrameLoaderClientQt.h:
10832
108332007-01-17  Alice Liu  <alice.liu@apple.com>
10834
10835        Added these stubs to keep the Qt build from failing.
10836
10837        * WebCoreSupport/EditorClientQt.cpp:
10838        (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
10839        * WebCoreSupport/EditorClientQt.h:
10840
108412007-01-17  Lars Knoll <lars@trolltech.com>
10842
10843        Reviewed by Zack
10844
10845        Remove the inheritance from Shared<XxxClient> in the
10846        client classes.
10847
10848        Answer asynchronously to most of the Policy checking methods
10849        in FrameLoaderClientQt to avoid some crashes in the loader.
10850
10851        * WebCoreSupport/ChromeClientQt.cpp:
10852        * WebCoreSupport/ChromeClientQt.h:
10853        * WebCoreSupport/ContextMenuClientQt.cpp:
10854        * WebCoreSupport/ContextMenuClientQt.h:
10855        * WebCoreSupport/EditorClientQt.cpp:
10856        * WebCoreSupport/EditorClientQt.h:
10857        * WebCoreSupport/FrameLoaderClientQt.cpp:
10858        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
10859        (WebCore::FrameLoaderClientQt::callPolicyFunction):
10860        (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
10861        (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
10862        (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
10863        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
10864        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
10865        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10866        * WebCoreSupport/FrameLoaderClientQt.h:
10867
108682007-01-17  Lars Knoll <lars@trolltech.com>
10869
10870        Reviewed by Zack
10871
10872        change all notImplemented() macros to use qDebug
10873        instead of fprintf(stder, ...)
10874
10875        * WebCoreSupport/ChromeClientQt.cpp:
10876        * WebCoreSupport/ContextMenuClientQt.cpp:
10877        * WebCoreSupport/EditorClientQt.cpp:
10878        * WebCoreSupport/FrameLoaderClientQt.cpp:
10879
108802007-01-16  Alice Liu  <alice.liu@apple.com>
10881
10882        Added these stubs to keep the Qt build from failing.
10883
10884        * WebCoreSupport/EditorClientQt.cpp:
10885        (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
10886        * WebCoreSupport/EditorClientQt.h:
10887
108882007-01-16  Lars Knoll <lars@trolltech.com>
10889
10890        Reviewed by Zack
10891
10892        Added the start of a public API to the Qt build
10893        of WebKit. Currently we have QWebPage and QWebFrame
10894        with a few small methods.
10895
10896        Converted the QtLauncher to use the new public API.
10897
10898        * Api/qwebframe.cpp: Added.
10899        (QWebFrame::QWebFrame):
10900        (QWebFrame::~QWebFrame):
10901        (QWebFrame::addToJSWindowObject):
10902        (QWebFrame::markup):
10903        (QWebFrame::innerText):
10904        (QWebFrame::renderTreeDump):
10905        * Api/qwebframe.h: Added.
10906        * Api/qwebframe_p.h: Added.
10907        (QWebFramePrivate::QWebFramePrivate):
10908        * Api/qwebpage.cpp: Added.
10909        (QWebPagePrivate::QWebPagePrivate):
10910        (QWebPagePrivate::~QWebPagePrivate):
10911        (QWebPagePrivate::createMainFrame):
10912        (QWebPage::QWebPage):
10913        (QWebPage::~QWebPage):
10914        (QWebPage::createFrame):
10915        (QWebPage::open):
10916        (QWebPage::mainFrame):
10917        (QWebPage::sizeHint):
10918        * Api/qwebpage.h: Added.
10919        * Api/qwebpage_p.h: Added.
10920        * QtLauncher/main.cpp:
10921        (main):
10922        * WebCoreSupport/ChromeClientQt.cpp:
10923        (WebCore::ChromeClientQt::ChromeClientQt):
10924        (WebCore::ChromeClientQt::setWindowRect):
10925        (WebCore::ChromeClientQt::windowRect):
10926        (WebCore::ChromeClientQt::pageRect):
10927        (WebCore::ChromeClientQt::focus):
10928        (WebCore::ChromeClientQt::unfocus):
10929        (WebCore::ChromeClientQt::canTakeFocus):
10930        (WebCore::ChromeClientQt::takeFocus):
10931        (WebCore::ChromeClientQt::createWindow):
10932        (WebCore::ChromeClientQt::createModalDialog):
10933        (WebCore::ChromeClientQt::show):
10934        (WebCore::ChromeClientQt::addMessageToConsole):
10935        (WebCore::ChromeClientQt::chromeDestroyed):
10936        (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
10937        (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
10938        (WebCore::ChromeClientQt::closeWindowSoon):
10939        * WebCoreSupport/ChromeClientQt.h:
10940        * WebCoreSupport/FrameLoaderClientQt.cpp:
10941        (WebCore::FrameLoaderClientQt::setFrame):
10942        (WebCore::FrameLoaderClientQt::detachFrameLoader):
10943        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
10944        (WebCore::FrameLoaderClientQt::partClearedInBegin):
10945        * WebCoreSupport/FrameLoaderClientQt.h:
10946
109472007-01-15  Anders Carlsson  <acarlsson@apple.com>
10948
10949        Fix build.
10950
10951        * WebCoreSupport/FrameLoaderClientQt.cpp:
10952        (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
10953        (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
10954        (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
10955        * WebCoreSupport/FrameLoaderClientQt.h:
10956
109572007-01-13  Lars Knoll <lars@trolltech.com>
10958
10959        Compile again after yesterdays changes.
10960
10961        * WebCoreSupport/FrameLoaderClientQt.cpp:
10962        (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
10963        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
10964        (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
10965        (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
10966        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
10967        (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
10968        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
10969        (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
10970        (WebCore::FrameLoaderClientQt::incrementProgress):
10971        (WebCore::FrameLoaderClientQt::completeProgress):
10972        * WebCoreSupport/FrameLoaderClientQt.h:
10973
109742007-01-11  Brady Eidson  <beidson@apple.com>
10975
10976        Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore
10977        Yay for the loader on QT!
10978
10979        * WebCoreSupport/FrameLoaderClientQt.cpp:
10980        (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
10981        (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
10982        * WebCoreSupport/FrameLoaderClientQt.h:
10983
109842007-01-11  Lars Knoll <lars@trolltech.com>
10985
10986        Reviewed by Darin
10987
10988        Start using the loader in the Qt port.
10989
10990        * QtLauncher/main.cpp:
10991        (main):
10992        * WebCoreSupport/FrameLoaderClientQt.cpp:
10993        (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
10994        (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
10995        (WebCore::FrameLoaderClientQt::setFrame):
10996        (WebCore::FrameLoaderClientQt::detachFrameLoader):
10997        (WebCore::FrameLoaderClientQt::makeDocumentView):
10998        (WebCore::FrameLoaderClientQt::makeRepresentation):
10999        (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
11000        (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
11001        (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
11002        (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
11003        (WebCore::FrameLoaderClientQt::progressStarted):
11004        (WebCore::FrameLoaderClientQt::progressCompleted):
11005        (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
11006        (WebCore::FrameLoaderClientQt::clearArchivedResources):
11007        (WebCore::FrameLoaderClientQt::canShowMIMEType):
11008        (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
11009        (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
11010        (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
11011        (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
11012        (WebCore::FrameLoaderClientQt::canHandleRequest):
11013        (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
11014        (WebCore::FrameLoaderClientQt::canCachePage):
11015        (WebCore::FrameLoaderClientQt::committedLoad):
11016        (WebCore::FrameLoaderClientQt::cancelledError):
11017        (WebCore::FrameLoaderClientQt::cannotShowURLError):
11018        (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
11019        (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
11020        (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
11021        (WebCore::FrameLoaderClientQt::shouldFallBack):
11022        (WebCore::FrameLoaderClientQt::createDocumentLoader):
11023        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
11024        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
11025        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
11026        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
11027        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
11028        (WebCore::FrameLoaderClientQt::willUseArchive):
11029        * WebCoreSupport/FrameLoaderClientQt.h:
11030
110312007-01-11  George Staikos  <staikos@kde.org>
11032
11033        Fix Qt Build.
11034
11035        * WebCoreSupport/ContextMenuClientQt.cpp:
11036        (WebCore::ContextMenuClientQt::searchWithGoogle):
11037        * WebCoreSupport/ContextMenuClientQt.h:
11038
110392007-01-06  George Staikos  <staikos@kde.org>
11040
11041        Reviewed by Brady.
11042
11043        Make it link.
11044
11045        * WebCoreSupport/FrameLoaderClientQt.cpp:
11046        (WebCore::FrameLoaderClientQt::setMainDocumentError):
11047        (WebCore::FrameLoaderClientQt::committedLoad):
11048        (WebCore::FrameLoaderClientQt::cancelledError):
11049        (WebCore::FrameLoaderClientQt::cannotShowURLError):
11050        (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
11051        (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
11052        (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
11053        (WebCore::FrameLoaderClientQt::shouldFallBack):
11054        (WebCore::FrameLoaderClientQt::createDocumentLoader):
11055        (WebCore::FrameLoaderClientQt::download):
11056        (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
11057        (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
11058        (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
11059        (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
11060        (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
11061        (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
11062        (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
11063        (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
11064        (WebCore::FrameLoaderClientQt::dispatchCreatePage):
11065        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
11066        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
11067        (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
11068        (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
11069        (WebCore::FrameLoaderClientQt::incrementProgress):
11070        (WebCore::FrameLoaderClientQt::completeProgress):
11071        (WebCore::FrameLoaderClientQt::startDownload):
11072        (WebCore::FrameLoaderClientQt::willUseArchive):
11073        * WebCoreSupport/FrameLoaderClientQt.h:
11074
110752007-01-05  Lars Knoll <lars@trolltech.com>
11076
11077        Make the Qt build compile again
11078
11079        * WebCoreSupport/ChromeClientQt.cpp:
11080        (WebCore::ChromeClientQt::canTakeFocus):
11081        (WebCore::ChromeClientQt::takeFocus):
11082        * WebCoreSupport/ChromeClientQt.h:
11083        * WebCoreSupport/ContextMenuClientQt.cpp:
11084        (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
11085        * WebCoreSupport/ContextMenuClientQt.h:
11086
110872007-01-03  Lars Knoll <lars@trolltech.com>
11088
11089        Fix the Qt build
11090
11091        * WebCoreSupport/FrameLoaderClientQt.cpp:
11092        (WebCore::FrameLoaderClientQt::setDocumentViewFromPageCache):
11093        (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
11094        (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
11095        (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
11096        (WebCore::FrameLoaderClientQt::saveScrollPositionAndViewStateToItem):
11097        (WebCore::FrameLoaderClientQt::saveDocumentViewToPageCache):
11098        (WebCore::FrameLoaderClientQt::canCachePage):
11099        * WebCoreSupport/FrameLoaderClientQt.h:
11100
111012006-12-29  George Staikos  <staikos@kde.org>
11102
11103        Add missing notimplemented.
11104
11105        * WebCoreSupport/FrameLoaderClientQt.cpp:
11106        (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
11107        (WebCore::FrameLoaderClientQt::canHandleRequest):
11108        (WebCore::FrameLoaderClientQt::partClearedInBegin):
11109
111102006-12-21  Lars Knoll <lars@trolltech.com>
11111
11112        Reviewed by Zack
11113
11114        * WebCoreSupport/FrameLoaderClientQt.cpp:
11115        (WebCore::FrameLoaderClientQt::hasWebView):
11116        (WebCore::FrameLoaderClientQt::hasFrameView):
11117        (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
11118        (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
11119        (WebCore::FrameLoaderClientQt::setTitle):
11120        (WebCore::FrameLoaderClientQt::partClearedInBegin):
11121        * WebCoreSupport/FrameLoaderClientQt.h:
11122                 Remove some runtimw warnings
11123                 Add partClearedInBegin forwarding call, so
11124                 I can catch this in the layout tests.
11125
111262006-12-19  Lars Knoll <lars@trolltech.com>
11127
11128        Reviewed by Rob.
11129
11130        * WebCoreSupport/ChromeClientQt.cpp:
11131        (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
11132        (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
11133        (WebCore::ChromeClientQt::closeWindowSoon):
11134        * WebCoreSupport/ChromeClientQt.h:
11135                Make it compile.
11136
111372006-12-16  Zack Rusin  <zack@kde.org>
11138
11139        Adjust the client to the most recent interface.
11140
11141        * WebCoreSupport/ContextMenuClientQt.cpp:
11142        (WebCore::ContextMenuClientQt::contextMenuDestroyed):
11143        (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
11144        (WebCore::ContextMenuClientQt::contextMenuItemSelected):
11145        (WebCore::ContextMenuClientQt::downloadURL):
11146        (WebCore::ContextMenuClientQt::copyImageToClipboard):
11147        (WebCore::ContextMenuClientQt::lookUpInDictionary):
11148        * WebCoreSupport/ContextMenuClientQt.h:
11149
111502006-12-14  Simon Hausmann  <hausmann@kde.org>
11151
11152        Reviewed by Zack.
11153
11154        * QtLauncher/QtLauncher.pro: Link this little test program
11155        with rpath, for convenience. (This is never going to get installed
11156        anyway)
11157
111582006-12-12  George Staikos  <staikos@kde.org>
11159
11160        Reviewed by Alexey.
11161
11162        Fix the Qt build again.
11163
11164        * WebCoreSupport/ContextMenuClientQt.cpp:
11165        (WebCore::ContextMenuClientQt::speak):
11166        (WebCore::ContextMenuClientQt::stopSpeaking):
11167        * WebCoreSupport/ContextMenuClientQt.h:
11168        * WebCoreSupport/EditorClientQt.cpp:
11169        (WebCore::EditorClientQt::toggleContinuousSpellChecking):
11170        (WebCore::EditorClientQt::toggleGrammarChecking):
11171        * WebCoreSupport/EditorClientQt.h:
11172
111732006-12-10  George Staikos  <staikos@kde.org>
11174
11175        Reviewed by Zack.
11176
11177        Add a default user agent for now.
11178
11179        * WebCoreSupport/FrameLoaderClientQt.cpp:
11180        (WebCore::FrameLoaderClientQt::userAgent):
11181
111822006-12-10  Lars Knoll <lars@trolltech.com>
11183
11184        Reviewed by Zack
11185
11186        Comment out a notImplemented() warning
11187
11188        * WebCoreSupport/EditorClientQt.cpp:
11189        (WebCore::EditorClientQt::clearUndoRedoOperations):
11190
111912006-12-10  Zack Rusin  <zack@kde.org>
11192
11193        Print out the method name if it's unimplemented.
11194
11195        * WebCoreSupport/FrameLoaderClientQt.cpp:
11196
111972006-12-10  Zack Rusin  <zack@kde.org>
11198
11199        Moving the clients from platform to their final location.
11200
11201        * WebCoreSupport/FrameLoaderClientQt.cpp: Added.
11202        * WebCoreSupport/FrameLoaderClientQt.h: Added.
11203        * WebCoreSupport/ChromeClientQt.cpp: Added.
11204        * WebCoreSupport/ChromeClientQt.h: Added.
11205        * WebCoreSupport/ContextMenuClientQt.cpp: Added.
11206        * WebCoreSupport/ContextMenuClientQt.h: Added.
11207        * WebCoreSupport/EditorClientQt.cpp: Added.
11208        * WebCoreSupport/EditorClientQt.h: Added.
11209
112102006-12-10  Zack Rusin  <zack@kde.org>
11211
11212        Adjusting to the changes in platform/qt.
11213
11214        * QtLauncher/main.cpp:
11215        (main):
11216
112172006-12-09  Lars Knoll <lars@trolltech.com>
11218
11219        Reviewed by Zack
11220
11221        Make it possible to build WebKit with qmake.
11222
11223        * QtLauncher/QtLauncher.pro: Added.
11224        * QtLauncher/main.cpp:
11225
112262006-12-08  Zack Rusin  <zack@kde.org>
11227
11228        Reviewed by Maciej.
11229
11230        Fix the build after the recent changes.
11231
11232        * QtLauncher/main.cpp:
11233        (main):
11234        * WebKitPart/WebKitPart.cpp:
11235        (WebKitPart::initView):
11236
112372006-11-19  Simon Hausmann  <hausmann@kde.org>
11238
11239        Reviewed by Zack.
11240
11241        http://bugs.webkit.org/show_bug.cgi?id=11649
11242        Fix Qt-only build
11243
11244        * QtLauncher/CMakeLists.txt:
11245
112462006-11-17  Zack Rusin  <zack@kde.org>
11247
11248        Reviewed by Mitz. Landed by Niko.
11249
11250        Adjusting to the new api.
11251
11252        * QtLauncher/main.cpp:
11253        (main):
11254        * WebKitPart/WebKitPart.cpp:
11255        (WebKitPart::initView):
11256
112572006-11-10  Zack Rusin  <zack@kde.org>
11258
11259        Reviewed and landed by Anders.
11260
11261        Adjusting to the recent loader changes, making it compile
11262        and work.
11263
11264        * QtLauncher/main.cpp:
11265        (main):
11266        * WebKitPart/WebKitPart.cpp:
11267        (WebKitPart::closeUrl):
11268        (WebKitPart::initView):
11269
112702006-11-03  Zack Rusin  <zack@kde.org>
11271
11272        Reviewed by Maciej.
11273
11274        Fixing compile on both Qt and KDE platforms.
11275
11276        * QtLauncher/main.cpp:
11277        (main): url has already been defined
11278        * WebKitPart/WebKitPartBrowserExtension.cpp: removing
11279        duplicate implementation of this class
11280
112812006-10-31  Simon Hausmann  <hausmann@kde.org>
11282
11283        Reviewed by Maciej, landed by Anders.
11284
11285        * QtLauncher/CMakeLists.txt: Make linkage against kde libraries
11286          optional
11287        * QtLauncher/main.cpp: Make it compile without KDE.
11288        (main):
11289
112902006-11-02  Simon Hausmann  <hausmann@kde.org>
11291
11292        Reviewed by Maciej, landed by Anders.
11293
11294        * QtLauncher/main.cpp:
11295        (main): Declare our frame as main frame to the Page object.
11296        Fixes crashes on various web sites
11297
112982006-10-31  Zack Rusin  <zack@kde.org>
11299
11300        Reviewed by Mitz.
11301
11302        Fix the Qt build after last nights changes.
11303
11304        * QtLauncher/CMakeLists.txt:
11305        * WebKitPart/CMakeLists.txt:
11306
113072006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
11308
11309        Reviewed by Darin Adler.
11310
11311        Fix Qt/Linux build.
11312
11313        * QtLauncher/main.cpp:
11314        (main):
11315        * WebKitPart/WebKitPart.cpp:
11316        (WebKitPart::openUrl):
11317
113182006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
11319
11320        Reviewed by Maciej.
11321
11322        Fix Qt/Linux build.
11323
11324        - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
11325        - Fix CMakeLists.txt to include platform/network.
11326
11327        * QtLauncher/CMakeLists.txt:
11328        * WebKitPart/CMakeLists.txt:
11329
113302006-10-24  Simon Hausmann  <hausmann@kde.org>
11331
11332        Reviewed by Darin Adler.
11333
11334        * QtLauncher/CMakeLists.txt, WebKitPart/CMakeLists.txt: Added project name to
11335          kde4_automoc macro, as required by the latest KDE4 cmake module.
11336
113372006-10-20  Nikolas Zimmermann  <zimmermann@kde.org>
11338
11339        Reviewed and landed by Anders.
11340
11341        Adapt to FrameQtClient changes, and provide some kind of status
11342        information to the KPart wheter we're loading or not (started/completed signaling).
11343
11344        * WebKitPart/CMakeLists.txt:
11345        * WebKitPart/WebKitPart.cpp:
11346        (WebKitPart::WebKitPart):
11347        (WebKitPart::~WebKitPart):
11348        (WebKitPart::openUrl):
11349        (WebKitPart::initView):
11350        * WebKitPart/WebKitPart.h:
11351        * WebKitPart/WebKitPartBrowserExtension.cpp: Added.
11352        (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
11353        (WebKitPartBrowserExtension::~WebKitPartBrowserExtension):
11354        * WebKitPart/WebKitPartBrowserExtension.h: Added.
11355        * WebKitPart/WebKitPartClient.cpp:
11356        (WebKitPartClient::WebKitPartClient):
11357        (WebKitPartClient::loadFinished):
11358        * WebKitPart/WebKitPartClient.h:
11359        * WebKitPart/WebKitPartInterface.h:
11360
113612006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
11362
11363        Reviewed by eseidel.  Landed by eseidel.
11364
11365        Fix last remaining issue Qt/Linux build with gcc3.
11366
11367        * WebKitPart/WebKitPart.h: Remove Q_PROPERTY usage, which is not needed and made problems.
11368
113692006-09-10  Nikolas Zimmermann  <zimmermann@kde.org>
11370
11371        Reviewed and landed by ap.
11372
11373        Fix QtLauncher - it is supposed to create a FrameView on its own nowadays.
11374
11375        * QtLauncher/main.cpp:
11376        (main):
11377
113782006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
11379
11380        Reviewed by Tim H.
11381
11382        Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
11383        Move QtLauncher down to WebKitQt.
11384
11385        * QtLauncher/CMakeLists.txt: Added.
11386        * QtLauncher/main.cpp: Added.
11387        (main):
11388
113892006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
11390
11391        Reviewed by Darin Adler. Final polish by Sam.
11392
11393        Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
11394        Add WebKitPart, an embeddable KPart for the KDE platform.
11395
11396        * WebKitPart/CMakeLists.txt: Added.
11397        * WebKitPart/WebKitFactory.cpp: Added.
11398        (WebKitFactory::WebKitFactory):
11399        (WebKitFactory::~WebKitFactory):
11400        (WebKitFactory::createPartObject):
11401        (WebKitFactory::instance):
11402        (WebKitFactory::ref):
11403        (WebKitFactory::deref):
11404        (init_libWebKitPart):
11405        * WebKitPart/WebKitFactory.h: Added.
11406        * WebKitPart/WebKitPart.cpp: Added.
11407        (WebKitPart::WebKitPart):
11408        (WebKitPart::~WebKitPart):
11409        (WebKitPart::openFile):
11410        (WebKitPart::openUrl):
11411        (WebKitPart::closeUrl):
11412        (WebKitPart::parentPart):
11413        (WebKitPart::frame):
11414        (WebKitPart::initView):
11415        * WebKitPart/WebKitPart.desktop: Added.
11416        * WebKitPart/WebKitPart.h: Added.
11417        (WebKitPart::):
11418        * WebKitPart/WebKitPart.rc: Added.
11419        * WebKitPart/WebKitPartBrowser.rc: Added.
11420        * WebKitPart/WebKitPartClient.cpp: Added.
11421        (WebKitPartClient::WebKitPartClient):
11422        (WebKitPartClient::~WebKitPartClient):
11423        * WebKitPart/WebKitPartClient.h: Added.
11424        * WebKitPart/WebKitPartInterface.cpp: Added.
11425        (WebKitPartInterface::WebKitPartInterface):
11426        (WebKitPartInterface::~WebKitPartInterface):
11427        (WebKitPartInterface::url):
11428        (WebKitPartInterface::closeURL):
11429        * WebKitPart/WebKitPartInterface.h: Added.
11430        * WebKitPart/org.kde.WebKitPart.xml: Added.
11431
11432