1 2009-03-02 Benjamin C Meyer <benjamin.meyer@torchmobile.com>
3 Reviewed by George Staikos.
5 https://bugs.webkit.org/show_bug.cgi?id=21230
6 On X11 match the behavior of Firefox and also copy the url to the
7 clipboard selection when the action Copy Link Location is executed.
10 (QWebPage::triggerAction):
12 2009-03-07 Adam Treat <adam.treat@torchmobile.com>
14 Reviewed by Cameron Zwarich.
16 These methods are clearly returning the wrong values as the two were
17 returning swapped information.
20 (QWebPage::totalBytes):
21 (QWebPage::bytesReceived):
23 2009-04-02 Takumi Asaki <takumi.asaki@nokia.com>
25 Reviewed by Simon Hausmann.
27 Fix pre-edit handling of text fields with input methods.
29 The input method sends an empty preeditString() if all characters of
30 the preedit should be deleted. So inputMethodEvent() has to use
31 preeditString() if it's empty.
34 (QWebPagePrivate::inputMethodEvent):
36 2009-03-30 Simon Hausmann <simon.hausmann@nokia.com>
38 Rubber-stamped by Tor Arne Vestbø.
40 Document that setHtml/setContent loads only the html/data immediately, not external objects.
45 2009-03-26 Simon Hausmann <simon.hausmann@nokia.com>
47 Rubber-stamped by Tor Arne Vestbø.
49 Fix the documentation of the QLocale usage in userAgentForUrl.
53 2009-03-20 Erik L. Bunce <elbunce@xendom.com>
55 Reviewed by Simon Hausmann.
57 Fix for InsertParagraphSeparator and InsertLineSeparator so that
58 QWebPage::action() creates QActions for them. Also make sure they get
59 updated appropriately.
62 (QWebPagePrivate::updateEditorActions):
64 * tests/qwebpage/tst_qwebpage.cpp:
65 (tst_QWebPage::textEditing):
67 2009-03-20 Erik L. Bunce <elbunce@xendom.com>
69 Reviewed by Tor Arne Vestbø.
71 Fix QWebPage::WebActions action states to more closely match when they are
72 actually applicable and remove erroneous documentation.
74 * Most WebActions implemented using editor commands now use the
75 Editor::Command::isEnabled() to control their availability.
76 * SelectAll is always enabled (since it's editor command is).
77 * SetTextDirection{} family of WebActions are available when canEdit() is true
78 and not just canEditRichly().
80 Fix and clarify documentation about the availability of various web actions.
83 (QWebPagePrivate::updateAction):
84 (QWebPagePrivate::updateEditorActions):
85 * tests/qwebpage/tst_qwebpage.cpp:
86 (tst_QWebPage::textSelection):
88 2009-03-19 Ariya Hidayat <ariya.hidayat@trolltech.com>
90 Reviewed by Simon Hausmann.
92 Fixes pedantic compilation in QtWebKit.
94 There are no semi-colons after namespace declarations.
97 * Api/qwebsecurityorigin.h:
99 2009-03-19 David Boddie <dboddie@trolltech.com>
101 Reviewed by Simon Hausmann.
103 Doc: Removed obsolete warning about Flash and other plugins.
105 * Api/qwebsettings.cpp:
107 2009-03-19 Paul Olav Tvete <paul.tvete@nokia.com>
109 Reviewed by Simon Hausmann.
111 Properly escape tooltip text
113 ManualTest: http://xkcd.com/554/
115 * WebCoreSupport/ChromeClientQt.cpp:
116 (WebCore::ChromeClientQt::setToolTip):
118 2009-03-03 Ariya Hidayat <ariya.hidayat@trolltech.com>
120 Rubber-stamped by Simon Hausmann.
122 [Qt] Create and update the action for SelectAll.
125 (QWebPagePrivate::updateAction):
126 (QWebPagePrivate::updateEditorActions):
128 * tests/qwebpage/tst_qwebpage.cpp:
129 (tst_QWebPage::textSelection):
131 2009-02-25 Kavindra Palaraja <kavindra.palaraja@nokia.com>
133 Reviewed by Simon Hausmann.
135 Fix the documentation for the linkHovered signal.
139 2009-02-23 Thiago Macieira <thiago.macieira@nokia.com>
141 Reviewed by Simon Hausmann.
143 Fix the Copyright notices in a few files
147 2008-12-13 Holger Hans Peter Freyther <zecke@selfish.org>
149 Reviewed by NOBODY (OOPS!).
151 The Qt API exposes a global history patch CSSStyleSelector to make API consumers work again
153 https://bugs.webkit.org/show_bug.cgi?id=20952
155 The QtWebKit port made the mistake of exposing a global history. This broke
156 with the addition of PageGroup and LinkHash. This needs to be repaired
159 Add a function to LinkHash.cpp that is resolving a URL. Use this
160 function from within CSSStyleSelector to forward the url to the
161 QWebHistoryInterface API.
163 It is sad that there is a path within visitedLinkHash which is now
164 doing a memcpy, it is sad to add a PLATFORM(QT) define to CSSStyleSelector
165 and using QtWebKit types within WebCore is a layering violation as well.
167 PageGroup::setShouldTrackVisitedLinks is currently not enabled. For
168 Qt4.6 a second version of the QWebHistoryInterface is going to be
169 added which will fix things up.
171 * Api/qwebhistoryinterface.cpp:
172 (QWebHistoryInterface::setDefaultInterface): Add note for Qt4.6
173 * Api/qwebpage.cpp: Remove PageGroup::setShouldTrackVisitedLinks(true)
174 (QWebPagePrivate::QWebPagePrivate):
175 * tests/qwebhistoryinterface/qwebhistoryinterface.pro: Added unit test.
176 * tests/qwebhistoryinterface/tst_qwebhistoryinterface.cpp: Added unit test.
177 (tst_QWebHistoryInterface::tst_QWebHistoryInterface):
178 (tst_QWebHistoryInterface::~tst_QWebHistoryInterface):
179 (tst_QWebHistoryInterface::init):
180 (tst_QWebHistoryInterface::cleanup):
181 (FakeHistoryImplementation::addHistoryEntry):
182 (FakeHistoryImplementation::historyContains):
183 (tst_QWebHistoryInterface::visitedLinks): Check the Qt4.4 behaviour.
186 2009-02-16 Simon Hausmann <simon.hausmann@nokia.com>
188 Reviewed by Tor Arne Vestbø.
190 Avoid loading plugins when they're disabled in the settings.
192 * WebCoreSupport/FrameLoaderClientQt.cpp:
193 (WebCore::FrameLoaderClientQt::canShowMIMEType): Don't call into the
194 PluginDatabase if plugins are disabled in the settings.
196 2009-02-13 David Boddie <dboddie@trolltech.com>
198 Reviewed by Simon Hausmann.
200 Removed documentation for internal functions.
202 * Api/qwebsettings.cpp:
204 2009-02-13 Martin Smith <msmith@trolltech.com>
206 Reviewed by Simon Hausmann.
208 Corrected some minor qdoc errors.
210 * Api/qwebsettings.cpp:
212 2009-02-10 Karsten Heimrich <kheimric@trolltech.com>
214 Reviewed by Simon Hausmann.
216 Fixes missing navigation/url update while clicking on anchor inside
219 * WebCoreSupport/FrameLoaderClientQt.cpp:
220 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
221 update and emit in case we navigate inside a webpage
223 2009-02-06 Kavindra Palaraja <kavindra.palaraja@nokia.com>
225 Reviewed by Simon Hausmann.
227 Doc - made 2 functions internal as they are not part of the API anymore (and this fixes 2 qdoc warnings)
229 * Api/qwebsettings.cpp:
231 2009-02-06 Simon Hausmann <simon.hausmann@nokia.com>
233 Reviewed by Tor Arne Vestbø.
235 Added an overload of QWebFrame::addToJavaScriptWindowObject that takes a QScriptEngine::ValueOwnership parameter.
238 (QWebFrame::addToJavaScriptWindowObject): New overload.
240 * tests/qwebframe/tst_qwebframe.cpp: Added unit tests for ownership
243 2009-02-04 David Boddie <dboddie@trolltech.com>
245 Reviewed by Simon Hausmann.
247 Doc: Documented the return value of the evaluateJavaScript() function.
251 2009-02-03 Simon Hausmann <simon.hausmann@nokia.com>
253 Reviewed by Tor Arne Vestbø.
255 Added a unit test to verify the succesful conversion from QByteArray to
256 JSByteArray and back to QByteArray.
258 * tests/qwebframe/tst_qwebframe.cpp:
260 2009-01-30 Simon Hausmann <simon.hausmann@nokia.com>
262 Reviewed by Tor Arne Vestbø.
264 Hide the Offline Web Application Cache path API from the public API
267 * Api/qwebsettings.cpp:
268 (qt_websettings_setOfflineWebApplicationCachePath):
269 (qt_websettings_offlineWebApplicationCachePath):
270 * Api/qwebsettings.h:
272 2009-01-28 Ariya Hidayat <ariya.hidayat@trolltech.com>
274 Rubber-stamped by Simon Hausmann.
276 Provide default implementations of JavaScript dialog boxes like in
277 most web browsers, i.e. indicate that is from JavaScript and show the
281 (QWebPage::javaScriptAlert):
282 (QWebPage::javaScriptConfirm):
283 (QWebPage::javaScriptPrompt):
285 2009-01-27 Ariya Hidayat <ariya.hidayat@trolltech.com>
287 Reviewed by Simon Hausmann.
289 http://www.qtsoftware.com/developer/task-tracker/index_html?id=238391&method=entry
291 [Qt] If QPainter fails to start on a QPrinter instance, do not
297 2009-01-26 David Boddie <dboddie@trolltech.com>
299 Reviewed by Simon Hausmann.
301 Doc: qdoc fix for a link to a property and added a basic description of the offline caching and storage features from HTML 5.
304 * Api/qwebsettings.cpp:
306 2009-01-25 Urs Wolfer <uwolfer@kde.org>
308 Reviewed by Simon Hausmann.
310 Add QWebPage::SelectAll to WebAction enum to select all content.
312 https://bugs.webkit.org/show_bug.cgi?id=22946
315 (QWebPagePrivate::editorActionForKeyEvent):
318 2009-01-25 David Boddie <dboddie@trolltech.com>
320 Reviewed by Simon Hausmann.
322 Doc: Fixed the terminology used.
326 2009-01-25 Thiago Macieira <thiago.macieira@nokia.com>
328 Reviewed by Simon Hausmann.
330 Rename links from trolltech.com to qtsoftware.com
332 * Api/qwebpluginfactory.cpp:
334 2009-01-25 Tor Arne Vestbø <tavestbo@trolltech.com>
336 Reviewed by Simon Hausmann.
338 Make QWebPage auto-test more robust by cleaning up generated files
340 Sometimes the auto-test may segfault, leaving behind files because the
341 call to cleanupTestCase() never happens, so we also clean up the files
342 at initTestCase() just to make sure we're running in a clean environment.
344 * tests/qwebpage/tst_qwebpage.cpp:
345 (tst_QWebPage::cleanupFiles):
346 (tst_QWebPage::initTestCase):
347 (tst_QWebPage::cleanupTestCase):
349 2008-12-20 Urs Wolfer <uwolfer@kde.org>
351 Reviewed by Simon Hausmann.
353 Fix: compile qwebhistory.h with pendantic comiler flag.
355 https://bugs.webkit.org/show_bug.cgi?id=22947
359 2009-01-23 Ariya Hidayat <ariya.hidayat@trolltech.com>
361 Reviewed by Simon Hausmann.
363 Make the test more robust by taking into account the platform-specific
364 cursor flashing time.
366 * tests/qwebframe/tst_qwebframe.cpp:
368 2009-01-20 Friedemann Kleint <Friedemann.Kleint@nokia.com>
370 Reviewed by Simon Hausmann.
372 Fix spelling error in QWebPage
377 2009-01-19 Simon Hausmann <simon.hausmann@nokia.com>
379 Reviewed by Tor Arne Vestbø.
381 Fix calling of onkeypress event handlers on input elements when pressing enter
382 and other text insertion commands in the Qt port.
384 Similar to the win and mac ports don't execute text inserting editor
385 commands on RawKeyDown but continue processing the event first in
386 WebCore, i.e. also get a keypress event sent. If unhandled it will
387 come back to EditorClientQt::handleKeyboardEvent later and we execute
390 This also fixes search by pressing enter on www.trafikanten.no.
393 (QWebPagePrivate::editorCommandForWebActions): Make function
394 accessible from other files.
395 (QWebPage::triggerAction): Adjust to new function visibility.
396 * Api/qwebpage_p.h: Ditto.
397 * WebCoreSupport/EditorClientQt.cpp:
398 (WebCore::EditorClientQt::handleKeyboardEvent): Don't execute
399 text inserting commands on RawKeyPressDown.
401 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
403 Rubber-stamped by Simon Hausmann.
405 [Qt] Increase popup focus delay time to a sensible 500 ms.
407 * tests/qwebframe/tst_qwebframe.cpp:
409 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
411 Reviewed by Adam Roben.
413 [Qt] Prevent crash if plugin data is NULL.
415 * WebCoreSupport/FrameLoaderClientQt.cpp: NULL check.
416 (WebCore::FrameLoaderClientQt::objectContentType):
418 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
420 Rubber-stamped by Simon Hausmann.
422 [Qt] Per-line cursor movement tests depend on platform-specific font
423 metrics. Remove them to avoid test failures on different platforms.
425 * tests/qwebpage/tst_qwebpage.cpp:
426 (tst_QWebPage::cursorMovements):
428 2009-01-16 Ariya Hidayat <ariya.hidayat@trolltech.com>
430 Rubber-stamped by Simon Hausmann.
432 http://www.qtsoftware.com/developer/task-tracker/index_html?id=219344&method=entry
434 [Qt] API documentation for QWebPage::WebAction enum.
438 2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com>
440 Reviewed by Tor Arne Vestbø.
442 [Qt] Unit tests for text selection and editing actions of QWebPage.
443 The following are tested:
444 - the actions are not NULL
445 - the actions are disabled when contentEditable is false
446 - the actions are enabled when contentEditable is true
448 * tests/qwebpage/tst_qwebpage.cpp:
449 (tst_QWebPage::textSelection):
450 (tst_QWebPage::textEditing):
452 2009-01-14 Simon Hausmann <simon.hausmann@nokia.com>
454 Reviewed by Tor Arne Vestbø.
456 Fix failing assertion when pressing an extra mouse button on a
459 Mice with more than three buttons - for example with a dedicated
460 "back" button - can generate Qt::XButton1 or Button2.
461 WebCore::MouseButton contains only Left, Middle and Right, so in
462 Qt's PlatformMouseEvent we map to NoButton, resulting in a mouse
463 press or release even with no button set. That triggers an assertion
464 in EventTargetNode::dispatchMouseEvent requiring that either a button
465 is set or it is just a mouse move event, which is correct.
467 In QWebPage decide not to dispatch such mouse events where we cannot
468 map the mouse button to a WebCore::MouseButton.
471 (QWebPagePrivate::mousePressEvent):
472 (QWebPagePrivate::mouseDoubleClickEvent):
473 (QWebPagePrivate::mouseTripleClickEvent):
474 (QWebPagePrivate::mouseReleaseEvent):
476 2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com>
478 Reviewed by Simon Hausmann.
480 http://www.qtsoftware.com/developer/task-tracker/index_html?id=241144&method=entry
482 [Qt] Create actions for text selection and editing for QWebPage.
483 Also properly disable and enable them when contentEditable is toggled.
486 (QWebPagePrivate::updateAction):
487 (QWebPagePrivate::updateEditorActions):
490 2009-01-14 Ariya Hidayat <ariya.hidayat@trolltech.com>
492 Reviewed by Simon Hausmann.
494 [Qt] Unit tests for cursor movements. The following are tested:
495 - the actions are not NULL
496 - the actions are disabled when contentEditable is false
497 - the actions are enabled when contentEditable is true
498 - the cursor moves properly when the actions are triggered
500 * tests/qwebpage/tst_qwebpage.cpp:
501 (CursorTrackedPage::CursorTrackedPage):
502 (CursorTrackedPage::selectedText):
503 (CursorTrackedPage::selectionStartOffset):
504 (CursorTrackedPage::selectionEndOffset):
505 (CursorTrackedPage::isSelectionCollapsed):
506 (tst_QWebPage::cursorMovements):
508 2009-01-13 Ariya Hidayat <ariya.hidayat@trolltech.com>
510 Rubber-stamped by Tor Arne Vestbø.
512 [Qt] Missing piece from my previous commit:
513 Disable and enable the cursor navigation actions when contentEditable
517 (QWebPagePrivate::updateEditorActions):
519 2009-01-13 Ariya Hidayat <ariya.hidayat@trolltech.com>
521 Reviewed by Tor Arne Vestbø.
523 [Qt] Create actions for cursor navigation for QWebPage.
524 Also properly disable and enable them when contentEditable is toggled.
527 (QWebPagePrivate::updateAction):
530 2009-01-08 Yongjun Zhang <yongjun.zhang@nokia.com>
532 Reviewed by Simon Hausmann.
534 https://bugs.webkit.org/show_bug.cgi?id=23187
536 Update webview with the intersected rect.
538 In ChromeClientQt::repaint, view should be updated with the
539 intersected rect, not the whole windowRect;
541 This generally is not a problem for normal viewport setup where
542 viewport size is the same as the qwebview widget size. However, if we
543 set the viewport size smaller than qwebkit widget, we will see
544 unwanted painting outside the viewport.
546 * WebCoreSupport/ChromeClientQt.cpp:
547 (WebCore::ChromeClientQt::repaint):
549 2009-01-13 Simon Hausmann <simon.hausmann@nokia.com>
551 Reviewed by Tor Arne Vestbø.
553 https://bugs.webkit.org/show_bug.cgi?id=23171
555 Based on patch by Yael Aharon <yael.aharon@nokia.com>
557 Make the QWebSettings functions for setting the path for the local
558 storage database private QtWebkit API, including the ability to
559 associated a QWebPage with a named page group.
562 (qt_webpage_setGroupName): Added.
563 (qt_webpage_groupName): Added.
565 (ExtensionOption::handle): Added internal helper function.
566 * Api/qwebsettings.cpp:
567 (qt_websettings_setLocalStorageDatabasePath): Made private API.
568 (qt_websettings_localStorageDatabasePath): Made private API.
569 * Api/qwebsettings.h:
570 * tests/qwebpage/tst_qwebpage.cpp:
571 (tst_QWebPage::database): Small cleanup.
572 (tst_QWebPage::multiplePageGroupsAndLocalStorage): New test for the
573 page group handling, written by Yael.
575 2009-01-12 Tor Arne Vestbø <tavestbo@trolltech.com>
577 Reviewed by Simon Hausmann.
579 [Qt] Ensure that we're always notified of navigation actions for local anchors
581 FrameLoader::checkNavigationPolicy() does not notify us if the request has
582 been checked before (which happens for local anchors), but in the case of
583 our clients not accepting the navigation request we do want to be notified
584 again later on, so we clear the lastCheckedRequest flag.
586 * WebCoreSupport/FrameLoaderClientQt.cpp:
587 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
588 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
590 2009-01-12 Ariya Hidayat <ariya.hidayat@trolltech.com>
592 Rubber-stamped by Tor Arne Vestbø.
594 Build fix: use qobject_cast which does not rely on RTTI. This fixes the
595 unit test when building it with a version of Qt (e.g. Qt/Embedded)
596 configured without RTTI.
598 * tests/qwebframe/tst_qwebframe.cpp:
600 2009-01-12 Simon Hausmann <simon.hausmann@nokia.com>
602 Rubber-stamped by Tor Arne Vestbø.
604 When the QWebView is disabled context menus implemented in JavaScript should not pop up.
606 Just like in QWidget::event() we have to check for the disabled state and
607 ignore context menu events.
611 2009-01-12 Simon Hausmann <simon.hausmann@nokia.com
613 Reviewed by Tor Arne Vestbø.
615 Fix QWebView appearance when showed uninitialized without page.
617 Only set WA_OpaquePaintEvent if we have a page set that will actually
618 paint the entire contents, otherwise the optimization does not apply
619 as we do not have a paintEvent() implementation and Qt has to fill the
620 view with its default background instead.
623 (QWebView::QWebView):
626 2009-01-11 Ariya Hidayat <ariya.hidayat@trolltech.com>
628 Rubber-stamped by Tor Arne Vestbø.
630 Do not create a QVariant from QObject* directly, use the
631 template-specialized function.
633 * tests/qwebframe/tst_qwebframe.cpp:
634 (MyQObject::myOverloadedSlot):
636 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com>
638 Rubber-stamped by Tor Arne Vestbø.
640 Documentation fixes, remove duplicated docs, document missing
641 parameters and return values.
643 * Api/qwebdatabase.cpp:
646 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com>
648 Reviewed by Tor Arne Vestbø.
650 Fix linking against QtWebKit on Windows, by defining the EXPORT macros
651 _exactly_ the same way as in qglobal.h, depending on QT_NODLL,
652 QT_MAKEDLL and QT_SHARED.
654 * Api/qwebkitglobal.h:
656 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com>
658 Reviewed by Tor Arne Vestbø.
660 Remove qwebnetworkinterface.h from WEBKIT_API_HEADERS as it's not
661 public Qt 4.4/4.5 API.
665 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com>
667 Unreviewed Qt build fix, remove qcookiejar.h from the API headers and
668 therefore HEADERS. It's not part of the API and it moc shouldn't be
673 2009-01-09 Simon Hausmann <simon.hausmann@nokia.com>
675 Rubber-stamped by Tor Arne Vestbø.
677 Remove files not present anymore from the WEBKIT_API_HEADERS variable.
681 2009-01-08 Adam Treat <adam.treat@torchmobile.com>
683 Reviewed by Simon Hausmann.
685 Don't set the minimumFontSize and minimumLogicalFontSize as these are
686 just for accessibility and should be left up to the client application.
688 * Api/qwebsettings.cpp:
689 (QWebSettings::QWebSettings):
691 2009-01-08 Kavindra Palaraja <kdpalara@trolltech.com>
693 Reviewed by Simon Hausmann.
695 Small fixes to the API documentation, missing 4.5 tags and
696 undocumented parameters.
698 * Api/qwebhistory.cpp:
700 * Api/qwebsettings.cpp:
702 2009-01-07 Adam Treat <adam.treat@torchmobile.com>
704 Reviewed by George Staikos.
706 Fix unused variable warnings
708 * tests/qwebpage/tst_qwebpage.cpp:
709 (TestPage::createWindow):
711 2009-01-07 Ariya Hidayat <ariya.hidayat@trolltech.com>
713 Rubber-stamped by Simon Hausmann.
715 Qt build fix after r39670.
718 (QWebFrame::evaluateJavaScript):
720 2009-01-06 Ariya Hidayat <ariya.hidayat@trolltech.com>
722 Reviewed by Holger Freyther.
724 Allow building QtWebKit statically (within Qt).
726 http://trolltech.com/developer/task-tracker/index_html?id=211273&method=entry
728 * Api/qwebkitglobal.h:
730 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
732 Reviewed by George Staikos.
734 Fixes QWebFrame::setScrollBarPolicy(..) to actually work. Also happens
735 to fix 192 layout tests that were previously failing for Qt.
738 (QWebFrame::setScrollBarPolicy):
739 * WebCoreSupport/FrameLoaderClientQt.cpp:
740 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
742 2008-12-19 Jade Han <jade.han@nokia.com>
744 Reviewed by Tor Arne Vestbø.
746 [Qt] Allow conversion of JavaScript Number and Boolean types to Qt types
748 https://bugs.webkit.org/show_bug.cgi?id=22880
750 * tests/qwebframe/tst_qwebframe.cpp:
751 (MyQObject::myInvokableWithBoolArg):
753 2008-12-18 Yael Aharon <yael.aharon@nokia.com>
755 Reviewed by Tor Arne Vestbø.
757 When Web Inspector is launched without an associated node,
758 call show() instead of inspect().
761 (QWebPage::triggerAction):
763 2008-12-18 Dan Bernstein <mitz@apple.com>
765 Reviewed by Sam Weinig.
767 - stub out FrameLoaderClient::shouldUseCredentialStorage().
769 * WebCoreSupport/FrameLoaderClientQt.cpp:
770 (WebCore::FrameLoaderClientQt::shouldUseCredentialStorage):
771 * WebCoreSupport/FrameLoaderClientQt.h:
773 2008-12-18 Sam Weinig <sam@webkit.org>
775 Reviewed by John Sullivan.
777 Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
779 * WebCoreSupport/FrameLoaderClientQt.cpp:
780 (WebCore::FrameLoaderClientQt::dispatchDidFirstVisuallyNonEmptyLayout):
781 * WebCoreSupport/FrameLoaderClientQt.h:
783 2008-12-16 Simon Hausmann <hausmann@webkit.org>
785 Reviewed by Holger Freyther.
787 Added support for unload event counting to the Qt DRT.
790 (qt_drt_run): Moved function here.
791 * Api/qwebpage_p.h: Moved drt run boolean here.
792 * WebCoreSupport/EditorClientQt.cpp: Moved drt run boolean.
793 (WebCore::EditorClientQt::shouldShowDeleteInterface): Use the new drt
795 * WebCoreSupport/FrameLoaderClientQt.cpp:
796 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad): Add DRT
797 output for unload event handler counting.
799 2008-12-15 Holger Hans Peter Freyther <zecke@selfish.org>
801 Reviewed by Simon Hausmann.
803 Change the order of sub frame initialisation to avoid crashes
805 Add the newly created frame to the FrameTree before calling
806 WebCore::Frame::init to not segfault on
807 LayoutTests/fast/loader/frame-creation-removal.html.
810 (QWebFramePrivate::init):
811 * WebCoreSupport/FrameLoaderClientQt.cpp:
812 (WebCore::FrameLoaderClientQt::createFrame):
814 2008-12-15 Simon Hausmann <hausmann@webkit.org>
816 Reviewed by Holger Freyther.
818 Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
821 (qt_drt_setJavaScriptProfilingEnabled):
823 2008-12-12 Simon Hausmann <hausmann@webkit.org>
825 Reviewed by Tor Arne Vestbø.
827 Fix pressing return/enter not triggering any action on web sites
828 that define event handlers, such as the JS console in the web
831 Process the key events in the DOM first and if not handled map them
835 (QWebPagePrivate::editorActionForKeyEvent): Made a class method.
836 (QWebPagePrivate::keyPressEvent): Pass the key event first to the DOM.
837 * WebCoreSupport/EditorClientQt.cpp:
838 (WebCore::EditorClientQt::handleKeyboardEvent): Map the key event to
839 actions and trigger them.
841 2008-12-12 Ariya Hidayat <ariya.hidayat@trolltech.com>
843 Reviewed by Simon Hausmann.
845 Create the plugin widget even though the web page has no associated
846 view. This prevents the plugin to be uselessly constructed more than once.
848 * WebCoreSupport/FrameLoaderClientQt.cpp:
849 (WebCore::FrameLoaderClientQt::createPlugin):
850 * tests/qwebpage/tst_qwebpage.cpp:
851 (tst_QWebPage::createViewlessPlugin):
853 2008-12-11 Enrico Ros <enrico.ros@m31.com>
855 Reviewed by Simon Hausmann.
857 Fix the broken focus behavior that happened when QWebPage lost
858 focus to a popup menu.
860 The previous code didn't notify the QWebPage at all when the
861 focus was back in (breaking focus rects, caret blinking, ...).
862 By the way when a popup is show, 2 FocusOut events are delivered
863 to the QWebPage, but this doesn't seem to hurt.
865 Added a test to check popup opening, closing a lineedit blinks.
868 (QWebPagePrivate::focusInEvent):
869 (QWebPagePrivate::focusOutEvent):
870 * tests/qwebframe/tst_qwebframe.cpp:
873 2008-12-11 Ariya Hidayat <ariya.hidayat@trolltech.com>
875 Reviewed by Tor Arne Vestbø.
877 When the web page is navigated away, delete the instance
878 of the native plugin.
880 http://trolltech.com/developer/task-tracker/index_html?id=214946&method=entry
882 * WebCoreSupport/FrameLoaderClientQt.cpp:
884 * tests/qwebpage/tst_qwebpage.cpp:
885 (PluginTrackedPage::PluginTrackedPage):
886 (PluginTrackedPage::createPlugin):
887 (tst_QWebPage::destroyPlugin):
889 2008-12-11 Yael Aharon <yael.aharon@nokia.com>
891 Reviewed by Simon Hausmann.
893 Allow applications to save and restore their state between loads.
897 * WebCoreSupport/FrameLoaderClientQt.cpp:
898 (WebCore::FrameLoaderClientQt::restoreViewState):
899 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
900 * tests/qwebpage/tst_qwebpage.cpp:
901 (tst_QWebPage::modified):
903 2008-12-08 Tor Arne Vestbø <tavestbo@trolltech.com>
905 Reviewed by Darin Adler and Holger Freyther.
907 Make Widget::frameRectsChanged() and overrides non-const
909 This will hopefully allow us to get rid of some of the mutables in
910 the classes that react to the callback by changing their own state.
912 * WebCoreSupport/FrameLoaderClientQt.cpp:
915 2008-12-10 Holger Hans Peter Freyther <zecke@selfish.org>
917 Reviewed by Simon Hausmann.
919 API changes discussed with Simon Hausmann, Tor Arne
920 Vestbø, Ariya Hidayat...
922 * Api/qwebdatabase.cpp:
923 (QWebDatabase::fileName):
924 (QWebDatabase::removeDatabase):
925 * Api/qwebdatabase.h:
928 (QWebFrame::scrollPosition):
929 (QWebFrame::setScrollPosition):
932 (QWebPage::setContentEditable):
933 (QWebPage::isContentEditable):
934 (QWebPage::extension):
936 * Api/qwebsecurityorigin.cpp:
937 * Api/qwebsettings.cpp:
938 (QWebSettingsPrivate::apply):
939 (QWebSettings::QWebSettings):
940 * Api/qwebsettings.h:
941 * QtLauncher/main.cpp:
942 (MainWindow::setEditable):
943 * WebCoreSupport/ChromeClientQt.cpp:
944 (WebCore::ChromeClientQt::exceededDatabaseQuota):
945 (WebCore::ChromeClientQt::runOpenPanel):
946 * WebCoreSupport/EditorClientQt.cpp:
947 (WebCore::EditorClientQt::isEditable):
948 * tests/qwebpage/tst_qwebpage.cpp:
949 (tst_QWebPage::database):
951 2008-12-09 Balazs Kelemen <Kelemen.Balazs.3@stud.u-szeged.hu>
953 Reviewed by Simon Hausmann.
955 Extended QtLauncher so now it can load pages from an url list
956 one by one. This can be useful for testing purposes (eq. leak hunting).
957 The -r option activates this feature.
959 https://bugs.webkit.org/show_bug.cgi?id=20932
961 * QtLauncher/main.cpp:
962 (MainWindow::webPage):
963 Just a coding style repairing (* written with no space between the return type name)
964 (MainWindow::webView):
965 I need the webView to connect it with the URLLoader object.
966 (URLLoader::URLLoader):
967 (URLLoader::loadNext):
972 2008-12-10 Simon Hausmann <hausmann@webkit.org>
974 Fix the Qt build, added const to Node* parameter after change
977 * WebCoreSupport/ChromeClientQt.h:
978 (WebCore::ChromeClientQt::formStateDidChange):
980 2008-12-09 Brett Wilson <brettw@chromium.org>
982 Reviewed by Dave Hyatt.
984 https://bugs.webkit.org/show_bug.cgi?id=22177
986 Add a callback on ChromeClient that the state of form elements on
987 the page has changed. This is to allow clients implementing session
988 saving to know when the current state is dirty.
990 * WebCoreSupport/ChromeClientQt.h:
991 (WebCore::ChromeClientQt::formStateDidChange):
993 2008-12-09 Ariya Hidayat <ariya.hidayat@trolltech.com>
995 Reviewed by Simon Hausmann.
997 Fix the documentation of the localStorageDatabasePath setters/getters.
999 * Api/qwebsettings.cpp:
1001 2008-12-08 Ariya Hidayat <ariya.hidayat@trolltech.com>
1003 Reviewed by Simon Hausmann.
1005 Multiple files support for the file chooser.
1008 (QWebPage::chooseFiles):
1010 * WebCoreSupport/ChromeClientQt.cpp:
1011 (WebCore::ChromeClientQt::runOpenPanel):
1013 2008-12-06 Simon Fraser <simon.fraser@apple.com>
1015 Reviewed by Dave Hyatt
1017 https://bugs.webkit.org/show_bug.cgi?id=15671
1019 Renderer::caretRect() is now localCaretRect(), which needs
1020 converting to absolute coordinates (taking transforms into account).
1023 (QWebPage::inputMethodQuery):
1025 2008-12-03 Tor Arne Vestbø <tavestbo@trolltech.com>
1027 Reviewed by Simon Hausmann.
1029 Allow passing jsNull and jsUndefined to Qt plugins
1031 Currently limited to functions with QString and QVariant arguments,
1032 and properties of these types. Both jsNull and jsUndefined ends up
1033 as default-constructed QStrings and QVariants, which means you can
1034 check for isEmpty() and isValid() in the native plugin code.
1036 Based on patches by Jade Han <jade.han@nokia.com>
1038 * tests/qwebframe/tst_qwebframe.cpp:
1040 2008-12-02 Simon Hausmann <hausmann@webkit.org>
1042 Rubber-stamped by Tor Arne Vestbø.
1044 Initial API documentation for QWebDatabase, QWebSecurityOrigin and
1045 QWebFrame::securityOrigin().
1047 * Api/qwebdatabase.cpp:
1048 * Api/qwebframe.cpp:
1049 * Api/qwebsecurityorigin.cpp:
1051 2008-11-27 Kent Hansen <khansen@trolltech.com>
1053 Reviewed by Simon Hausmann.
1055 Added auto tests for making JavaScript bindings for Qt plugin widgets
1058 * tests/qwebpage/tst_qwebpage.cpp:
1059 (PluginPage::PluginPage):
1060 (PluginPage::CallInfo::CallInfo):
1061 (PluginPage::createPlugin):
1062 (tst_QWebPage::createPlugin):
1064 2008-11-25 Holger Hans Peter Freyther <zecke@selfish.org>
1066 Build fix. Use WebCore::Frame::loader instead of QWebFrame
1068 * WebCoreSupport/FrameLoaderClientQt.cpp:
1069 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
1071 2008-11-24 Darin Fisher <darin@chromium.org>
1075 http://bugs.webkit.org/show_bug.cgi?id=15643
1077 * WebCoreSupport/EditorClientQt.cpp:
1078 (WebCore::EditorClientQt::isSelectTrailingWhitespaceEnabled):
1079 * WebCoreSupport/EditorClientQt.h:
1081 2008-11-24 Darin Adler <darin@apple.com>
1083 Reviewed by Dan Bernstein.
1085 - https://bugs.webkit.org/show_bug.cgi?id=22470
1086 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
1088 * WebCoreSupport/FrameLoaderClientQt.cpp:
1089 (WebCore::FrameLoaderClientQt::updateGlobalHistory): Get the URL from the
1091 * WebCoreSupport/FrameLoaderClientQt.h: Remove argument.
1093 2008-11-24 Darin Fisher <darin@chromium.org>
1097 https://bugs.webkit.org/show_bug.cgi?id=22448
1099 * Api/qwebframe.cpp:
1100 (QWebFrame::evaluateJavaScript):
1102 2008-11-20 Sam Weinig <sam@webkit.org>
1106 * Api/qwebframe.cpp:
1107 (QWebFrame::evaluateJavaScript):
1109 2008-11-19 Darin Fisher <darin@chromium.org>
1113 https://bugs.webkit.org/show_bug.cgi?id=22373
1114 Ports busted by addition of ScriptValue.{h,cpp}
1116 * Api/qwebframe.cpp:
1117 (QWebFrame::evaluateJavaScript):
1119 2008-11-19 Darin Fisher <darin@chromium.org>
1123 https://bugs.webkit.org/show_bug.cgi?id=22373
1124 Ports busted by addition of ScriptValue.{h,cpp}
1126 * Api/qwebframe.cpp:
1128 2008-11-19 Simon Hausmann <hausmann@webkit.org>
1130 Fix the Qt build, remove file referenced in the qrc file that does not
1131 exist and is not needed.
1133 * tests/qwebframe/qwebframe.qrc:
1135 2008-11-18 Ariya Hidayat <ariya.hidayat@trolltech.com>
1137 Rubber-stamped by Tor Arne Vestbø.
1139 Missing file in new unit test for QWebFrame (r38493).
1141 * tests/qwebframe/qwebframe.pro:
1142 * tests/qwebframe/qwebframe.qrc: Added.
1144 2008-11-18 Tor Arne Vestbø <tavestbo@trolltech.com>
1146 Rubber-stamped by Simon Hausmann.
1148 Make sure QWidget based plugins are invisible until placed into the layout
1150 * WebCoreSupport/FrameLoaderClientQt.cpp:
1151 (WebCore::FrameLoaderClientQt::createPlugin):
1153 2008-11-18 Tor Arne Vestbø <tavestbo@trolltech.com>
1155 Reviewed by Simon Hausmann.
1157 React properly to frame rect changes for QWidget based plugins
1159 We now set the geometry of the QWidget in frameRectsChanged,
1160 intead of setFrameRect, which means we pick up the changes to
1161 the frame rect when scrolling. We also set a mask on the
1162 widget to keep it from painting over scrollbars and the like
1164 * WebCoreSupport/FrameLoaderClientQt.cpp:
1167 2008-11-18 Ariya Hidayat <ariya.hidayat@trolltech.com>
1169 Reviewed by Tor Arne Vestbø.
1171 Fix crash when trying to pick a file using the file chooser.
1173 * WebCoreSupport/ChromeClientQt.cpp:
1174 (WebCore::ChromeClientQt::runOpenPanel):
1176 2008-11-18 Holger Hans Peter Freyther <zecke@selfish.org>
1178 Reviewed by Simon Hausmann.
1180 Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
1182 After Hyatt's work on Widget and ScrollView there is little difference
1183 between the implementation of Qt, Gtk+ and Win. In fact any kind of
1184 difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
1185 port and the Qt port has at least one of them left.
1187 The only difference between the implementations is in getting the the
1188 IntSize for the new FrameView, the background color to be applied and
1189 eventually some post processing.
1191 Unify the implementations by providing a static helper function that
1192 takes a Frame, IntSize, color and transparency bit and calling it from
1193 the Gtk+, the Qt and the Windows port.
1195 * Api/qwebframe.cpp:
1196 * Api/qwebframe_p.h:
1198 (QWebPage::setPalette):
1199 * WebCoreSupport/FrameLoaderClientQt.cpp:
1200 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1202 2008-11-17 Geoffrey Garen <ggaren@apple.com>
1206 Try to fix qt build.
1208 * Api/qwebframe.cpp:
1210 2008-11-17 Ariya Hidayat <ariya.hidayat@trolltech.com>
1212 Reviewed by Tor Arne Vestbø and Simon Hausmann.
1214 Fix regression when loading resources from Qt resource system using qrc:/.
1216 Added a unit test to catch future regression.
1219 (QWebPagePrivate::QWebPagePrivate):
1220 * tests/qwebframe/image.png: Added.
1221 * tests/qwebframe/tst_qwebframe.cpp:
1223 2008-11-16 Darin Adler <darin@apple.com>
1227 * Api/qwebhistory.cpp: Added include of "KURL.h".
1229 2008-10-24 Yael Aharon <yael.aharon@nokia.com>
1231 Reviewed by Simon Hausmann.
1233 Added some basic unit tests for the public database API.
1235 * tests/qwebpage/tst_qwebpage.cpp:
1236 (tst_QWebPage::initTestCase):
1237 (tst_QWebPage::cleanupTestCase):
1238 (tst_QWebPage::database):
1240 2008-11-14 Simon Hausmann <hausmann@webkit.org>
1242 Fix the Qt build, add missing export macros for the new classes.
1244 * Api/qwebdatabase.h:
1245 * Api/qwebsecurityorigin.h:
1247 2008-10-24 Yael Aharon <yael.aharon@nokia.com>
1249 Reviewed by Simon Hausmann.
1251 Adding public API to provide access to the security origin
1252 (QWebSecurityOrigin) and the databases used for the offline
1253 storage (QWebDatabase).
1255 In addition QWebSettings gains configuration functions for
1256 enabling/disabling offline storage, web application cache
1257 and DOM local storage.
1259 This commits lands the core feature(s), the unit tests and the
1260 documentation are going to follow in the comming days/weeks.
1262 Note: The API is not frozen yet.
1265 * Api/qwebdatabase.cpp: Added.
1266 (QWebDatabase::QWebDatabase):
1267 (QWebDatabase::operator=):
1268 (QWebDatabase::name):
1269 (QWebDatabase::displayName):
1270 (QWebDatabase::expectedSize):
1271 (QWebDatabase::size):
1272 (QWebDatabase::absoluteFilePath):
1273 (QWebDatabase::origin):
1274 (QWebDatabase::remove):
1275 (QWebDatabase::~QWebDatabase):
1276 * Api/qwebdatabase.h: Added.
1277 * Api/qwebdatabase_p.h: Added.
1278 * Api/qwebframe.cpp:
1279 (QWebFrame::securityOrigin):
1283 * Api/qwebsecurityorigin.cpp: Added.
1284 (QWebSecurityOrigin::QWebSecurityOrigin):
1285 (QWebSecurityOrigin::operator=):
1286 (QWebSecurityOrigin::scheme):
1287 (QWebSecurityOrigin::host):
1288 (QWebSecurityOrigin::port):
1289 (QWebSecurityOrigin::databaseUsage):
1290 (QWebSecurityOrigin::databaseQuota):
1291 (QWebSecurityOrigin::setDatabaseQuota):
1292 (QWebSecurityOrigin::~QWebSecurityOrigin):
1293 (QWebSecurityOrigin::allOrigins):
1294 (QWebSecurityOrigin::databases):
1295 * Api/qwebsecurityorigin.h: Added.
1296 * Api/qwebsecurityorigin_p.h: Added.
1297 (QWebSecurityOriginPrivate::QWebSecurityOriginPrivate):
1298 (QWebSecurityOriginPrivate::~QWebSecurityOriginPrivate):
1299 * Api/qwebsettings.cpp:
1300 (QWebSettingsPrivate::apply):
1301 (QWebSettings::QWebSettings):
1302 (QWebSettings::setOfflineStoragePath):
1303 (QWebSettings::offlineStoragePath):
1304 (QWebSettings::setOfflineStorageDefaultQuota):
1305 (QWebSettings::offlineStorageDefaultQuota):
1306 (QWebSettings::setOfflineWebApplicationCachePath):
1307 (QWebSettings::offlineWebApplicationCachePath):
1308 (QWebSettings::setLocalStorageDatabasePath):
1309 (QWebSettings::localStorageDatabasePath):
1310 * Api/qwebsettings.h:
1311 * WebCoreSupport/ChromeClientQt.cpp:
1312 (WebCore::ChromeClientQt::exceededDatabaseQuota):
1314 2008-11-12 Ariya Hidayat <ariya.hidayat@trolltech.com>
1316 Rubber-stamped by Tor Arne Vestbø.
1318 Mention the color role change (r38331) in the API doc.
1322 2008-11-11 Ariya Hidayat <ariya.hidayat@trolltech.com>
1324 Reviewed by Tor Arne Vestbø and Simon Hausmann.
1326 Use QPalette::Base (instead of QPalette::Background) for the page
1329 * Api/qwebframe.cpp:
1330 (QWebFramePrivate::updateBackground):
1332 (QWebView::QWebView):
1334 2008-11-11 Cameron Zwarich <zwarich@apple.com>
1336 Reviewed by Geoff Garen.
1338 Remove pointless dependencies on the now-deleted kjs directory.
1342 2008-11-10 Ariya Hidayat <ariya.hidayat@trolltech.com>
1344 Rubber-stamped by Simon Hausmann.
1346 To fit Qt API, scroll offset is a QPoint instead of a QSize.
1348 * Api/qwebframe.cpp:
1349 (QWebFrame::scrollOffset):
1350 (QWebFrame::setScrollOffset):
1353 2008-11-10 David Boddie <dboddie@trolltech.com>
1355 Reviewed by Simon Hausmann.
1357 Doc: Fixed qdoc warnings by supplying function documentation.
1359 * Api/qwebframe.cpp:
1362 2008-11-10 Tobias Koenig <tobias.koenig@trolltech.com>
1364 Reviewed by Simon Hausmann.
1366 Removed old and stale prf file that breaks the MingW build.
1368 * Api/qtwebkit.prf: Removed.
1370 2008-11-10 Kavindra Palaraja <kdpalara@trolltech.com>
1372 Reviewed by Simon Hausmann.
1374 Clarify QWebFrame/View::setHTML docs with regards to relative URLs
1376 * Api/qwebframe.cpp:
1379 2008-11-10 Joerg Bornemann <joerg.bornemann@nokia.com>
1381 Reviewed by Simon Hausmann
1383 Don't define _CRT_RAND_S on Windows CE in the precompiled
1384 header, to fix the CE build.
1388 2008-11-07 Ariya Hidayat <ariya.hidayat@trolltech.com>
1390 Reviewed by Tor Arne Vestbø and Simon Hausmann.
1392 Added an option to allow printing the background color and images.
1393 Mostly reworked from a patch by Holger.
1394 This setting is enabled by default.
1396 * Api/qwebsettings.cpp:
1397 (QWebSettingsPrivate::apply):
1398 (QWebSettings::QWebSettings):
1399 * Api/qwebsettings.h:
1401 2008-11-06 Simon Hausmann <hausmann@webkit.org>
1403 Reviewed by Tor Arne Vestbø.
1405 Added a unit tests for QWebFrame::metaData().
1407 * tests/qwebframe/tst_qwebframe.cpp:
1409 2008-11-06 Simon Hausmann <hausmann@webkit.org>
1411 Reviewed by Tor Arne Vestbø.
1413 Improved documentation for QWebFrame::metaData().
1415 * Api/qwebframe.cpp:
1417 2008-11-05 Sriram Yadavalli <sriram.yadavalli@nokia.com>
1419 Reviewed by Simon Hausmann.
1421 Added QWebFrame::metaData() to provide a way in the public API
1422 to retrieve the values of the <meta> tags.
1424 See https://bugs.webkit.org/show_bug.cgi?id=22071
1426 * Api/qwebframe.cpp:
1427 (QWebFrame::metaData):
1430 2008-10-24 Yael Aharon <yael.aharon@nokia.com>
1432 Reviewed by Simon Hausmann.
1434 Add userData() and setUserData() to QWebHistoryItem.
1435 Add setMaximumItemCount() and maximumItemCount() to QWebHistory.
1436 Add currentItemIndex() to QWebHistory.
1438 See also https://bugs.webkit.org/show_bug.cgi?id=21864
1440 Small cleanup by Simon (docs and forward declaration of QWebHistoryItem in qwebframe.h)
1443 * Api/qwebhistory.cpp:
1444 (QWebHistoryItem::userData):
1445 (QWebHistoryItem::setUserData):
1446 (QWebHistory::currentItemIndex):
1447 (QWebHistory::maximumItemCount):
1448 (QWebHistory::setMaximumItemCount):
1449 * Api/qwebhistory.h:
1450 * WebCoreSupport/FrameLoaderClientQt.cpp:
1451 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
1452 * tests/qwebpage/tst_qwebpage.cpp:
1453 (tst_QWebPage::modified):
1455 2008-11-03 Cameron Zwarich <zwarich@apple.com>
1457 Rubber-stamped by Maciej Stachowiak.
1459 Move more files into the runtime subdirectory of JavaScriptCore.
1463 2008-10-25 Jade Han <jade.han@nokia.com>
1467 Enable custom properties for Qt runtime objects in QtWebKit
1469 https://bugs.webkit.org/show_bug.cgi?id=21813
1471 * tests/qwebframe/tst_qwebframe.cpp:
1473 2008-10-24 Sam Weinig <sam@webkit.org>
1475 Another Qt build fix.
1477 * WebCoreSupport/ChromeClientQt.cpp:
1479 2008-10-24 Sam Weinig <sam@webkit.org>
1481 Reviewed by Dan Bernstein.
1483 Fix https://bugs.webkit.org/show_bug.cgi?id=21759
1484 Layering violation: FileChooser should not depend on Document/Frame/Page
1486 * WebCoreSupport/ChromeClientQt.cpp:
1487 (WebCore::ChromeClientQt::runOpenPanel):
1488 * WebCoreSupport/ChromeClientQt.h:
1490 2008-10-24 Timothy Hatcher <timothy@apple.com>
1492 Stub out new InspectorClient methods.
1494 https://bugs.webkit.org/show_bug.cgi?id=21856
1496 Reviewed by Darin Adler.
1498 * WebCoreSupport/InspectorClientQt.cpp:
1499 (WebCore::InspectorClientQt::populateSetting): Not implemented.
1500 (WebCore::InspectorClientQt::storeSetting): Ditto.
1501 (WebCore::InspectorClientQt::removeSetting): Ditto.
1502 * WebCoreSupport/InspectorClientQt.h:
1504 2008-10-24 Darin Adler <darin@apple.com>
1506 - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
1508 * Api/qwebframe.cpp:
1509 (QWebFrame::evaluateJavaScript): Use JSValue* instead of JSValuePtr.
1511 2008-10-23 Yael Aharon <yael.aharon@nokia.com>
1513 Reviewed by Simon Hausmann.
1515 Invalid history entries could cause a crash in QT Webkit
1517 * Api/qwebhistory.cpp:
1518 (QWebHistoryItem::originalUrl):
1519 (QWebHistoryItem::url):
1520 (QWebHistoryItem::title):
1521 (QWebHistoryItem::lastVisited):
1522 (QWebHistoryItem::icon):
1523 (QWebHistoryItem::isValid):
1524 * Api/qwebhistory.h:
1525 * Api/qwebhistory_p.h:
1526 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
1527 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
1528 * tests/qwebpage/tst_qwebpage.cpp:
1529 (tst_QWebPage::modified):
1531 2008-10-22 Yael Aharon <yael.aharon@nokia.com>
1533 Reviewed by Simon Hausmann.
1535 emit scrollRequested unconditionally when scrolling.
1537 See https://bugs.webkit.org/show_bug.cgi?id=21790
1539 * WebCoreSupport/ChromeClientQt.cpp:
1540 (WebCore::ChromeClientQt::scroll):
1542 2008-10-23 Simon Hausmann <hausmann@webkit.org>
1544 Reviewed by Tor Arne.
1546 Fix handling of mouse events when embedding QWebView into the
1549 QWebPage accepts or ignores events to indicate whether the web page
1550 handled the event. However for QWebView to behave like a good widget
1551 it should always accept the mouse events to indicate that it handled
1552 them and that they should not be subject to event propagation.
1554 The graphics view relies on acceptance of the initial mouse click to
1555 make the embedded widget the focus item.
1558 (QWebView::mouseMoveEvent):
1559 (QWebView::mousePressEvent):
1560 (QWebView::mouseDoubleClickEvent):
1561 (QWebView::mouseReleaseEvent):
1562 (QWebView::contextMenuEvent):
1563 (QWebView::wheelEvent):
1565 2008-10-22 Ariya Hidayat <ariya.hidayat@trolltech.com>
1567 Reviewed by Simon Hausmann.
1569 For public API, use the term boundingRect instead of boundingBox.
1571 * Api/qwebframe.cpp:
1572 (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
1573 (QWebHitTestResult::boundingRect):
1575 * Api/qwebframe_p.h:
1577 2008-06-03 Siraj Razick <siraj.razick@collabora.co.uk>
1579 Reviewed by Simon Hausmann.
1581 https://bugs.webkit.org/show_bug.cgi?id=19374
1583 Expose boundingBox value in QWebHitTestResult
1585 Add API function QRect QWebHitResult::boundingBox() const
1589 * Api/qwebframe.cpp:
1590 (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
1591 (QWebHitTestResult::boundingBox):
1593 * Api/qwebframe_p.h:
1595 2008-10-21 Yael Aharon <yael.aharon@nokia.com>
1597 Reviewed by Simon Hausmann.
1599 emit repaintRequested unconditionally when repaint is requested.
1601 * WebCoreSupport/ChromeClientQt.cpp:
1602 (WebCore::ChromeClientQt::repaint):
1604 2008-10-20 Sam Weinig <sam@webkit.org>
1606 Reviewed by Anders Carlsson.
1608 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
1610 * WebCoreSupport/FrameLoaderClientQt.cpp:
1611 * WebCoreSupport/FrameLoaderClientQt.h:
1613 2008-10-19 Darin Adler <darin@apple.com>
1615 Reviewed by Oliver Hunt.
1617 - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
1618 improve performance by eliminating JSValue as a base class for JSCell
1620 Remove most uses of JSValue, which will be removed in a future patch.
1622 * Api/qwebframe.cpp:
1623 (QWebFrame::evaluateJavaScript): Use JSValuePtr.
1625 2008-10-14 Tor Arne Vestbø <tavestbo@trolltech.com>
1629 Clip painter to dirty rect before passing on to WebKit
1631 This was previously done in ScrollViewQt, but after the
1632 refactoring of ScrollView we need to do it in QWebFrame
1633 instead, similar to Safari/Win.
1635 * Api/qwebframe.cpp:
1636 (QWebFrame::render):
1638 2008-10-08 Matthias Ettrich <ettrich@nokia.com>
1642 Make QWebView ignore focus changes with PopupFocusReason to avoid
1643 massive updates when menus open and close.
1646 (QWebView::focusInEvent):
1647 (QWebView::focusOutEvent):
1649 2008-10-08 Kavindra Palaraja <kdpalara@trolltech.com>
1653 Fixed a qdoc warning and adjusted some spacing
1655 * Api/qwebframe.cpp:
1657 2008-10-08 Rhys Weatherley <rhys.weatherley@nokia.com>
1661 Compile for platforms without context menus.
1664 (QWebPage::createStandardContextMenu):
1666 2008-10-08 André Pönitz <apoenitz@trolltech.com>
1670 Fix compilation with Qt namespaces.
1672 * WebCoreSupport/EditCommandQt.h:
1674 2008-10-07 Tor Arne Vestbø <tavestbo@trolltech.com>
1676 QtWebKit build fix after changes to FrameLoaderClient.h in r37371
1678 * WebCoreSupport/FrameLoaderClientQt.h:
1680 2008-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
1682 [qt] Build fix after Scrollbar.h and Widget.h changes.
1685 (QWebPage::swallowContextMenuEvent):
1687 2008-10-06 David Hyatt <hyatt@apple.com>
1689 Enable viewless Mac WebKit to paint some basic pages.
1691 Reviewed by Sam Weinig
1693 * WebCoreSupport/FrameLoaderClientQt.cpp:
1694 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1696 2008-10-03 David Hyatt <hyatt@apple.com>
1698 Fix scroll method on Qt. The delta was supposed to use .width()/.height() and not .x()/.y().
1700 Fix the QtPluginWidget to do an invalidate properly.
1704 * WebCoreSupport/ChromeClientQt.cpp:
1705 (WebCore::ChromeClientQt::scroll):
1706 * WebCoreSupport/FrameLoaderClientQt.cpp:
1709 2008-10-03 Ariya Hidayat <ariya.hidayat@trolltech.com>
1711 Build fix. Remove addToDirtyRegion from the header file.
1713 * WebCoreSupport/ChromeClientQt.h:
1715 2008-10-03 Ariya Hidayat <ariya.hidayat@trolltech.com>
1719 * WebCoreSupport/ChromeClientQt.cpp:
1720 (WebCore::ChromeClientQt::scroll):
1721 * WebCoreSupport/FrameLoaderClientQt.cpp:
1723 (WebCore::FrameLoaderClientQt::createPlugin):
1725 2008-10-03 David Hyatt <hyatt@apple.com>
1727 Remove addToDirtyRegion.
1729 Reviewed by Oliver Hunt
1731 * WebCoreSupport/ChromeClientQt.cpp:
1733 2008-10-02 David Hyatt <hyatt@apple.com>
1735 https://bugs.webkit.org/show_bug.cgi?id=21314
1737 Make scrollBackingStore cross-platform.
1739 Reviewed by Sam Weinig
1741 * WebCoreSupport/ChromeClientQt.cpp:
1742 (WebCore::ChromeClientQt::repaint):
1743 (WebCore::ChromeClientQt::scroll):
1744 * WebCoreSupport/ChromeClientQt.h:
1746 2008-10-01 David Hyatt <hyatt@apple.com>
1748 https://bugs.webkit.org/show_bug.cgi?id=21282
1750 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
1752 Reviewed by Adam Roben
1754 * WebCoreSupport/ChromeClientQt.cpp:
1755 (WebCore::ChromeClientQt::windowToScreen):
1756 (WebCore::ChromeClientQt::screenToWindow):
1757 * WebCoreSupport/ChromeClientQt.h:
1759 2008-09-30 Dave Hyatt <hyatt@apple.com>
1761 http://bugs.webkit.org/show_bug.cgi?id=21250
1763 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
1764 repaints up through the ChromeClient.
1766 Reviewed by Darin Adler
1768 * WebCoreSupport/ChromeClientQt.cpp:
1769 (WebCore::ChromeClientQt::repaint):
1770 * WebCoreSupport/ChromeClientQt.h:
1772 2008-09-29 Gunnar Sletta <gunnar@trolltech.com>
1776 Compile on windows using MSVC 2005
1778 For the PCH We need to define _WIN32_WINNT and include windows.h early on,
1779 otherwise we'll miss several functions.
1783 2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
1787 Changed copyright from Trolltech ASA to Nokia.
1789 Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
1792 * Api/qwebframe.cpp:
1794 * Api/qwebframe_p.h:
1795 * Api/qwebhistory.cpp:
1796 * Api/qwebhistory.h:
1797 * Api/qwebhistory_p.h:
1798 * Api/qwebkitglobal.h:
1799 * Api/qwebnetworkinterface.cpp:
1800 * Api/qwebnetworkinterface.h:
1801 * Api/qwebnetworkinterface_p.h:
1805 * Api/qwebpluginfactory.cpp:
1806 * Api/qwebpluginfactory.h:
1807 * Api/qwebsettings.cpp:
1808 * Api/qwebsettings.h:
1811 * Plugins/ICOHandler.cpp:
1812 * QtLauncher/main.cpp:
1813 * WebCoreSupport/FrameLoaderClientQt.cpp:
1814 * WebCoreSupport/FrameLoaderClientQt.h:
1815 * WebCoreSupport/InspectorClientQt.cpp:
1816 * WebCoreSupport/InspectorClientQt.h:
1817 * tests/qwebframe/tst_qwebframe.cpp:
1818 * tests/qwebpage/tst_qwebpage.cpp:
1820 2008-09-28 Simon Hausmann <hausmann@webkit.org>
1822 Reviewed by David Hyatt.
1824 Ensure the mainThreadIdentifier is set as well as other bits and pieces of
1825 the threading machinery, by calling JSC::initializeThreading().
1828 (QWebPagePrivate::QWebPagePrivate):
1830 2008-09-27 David Hyatt <hyatt@apple.com>
1832 Forgot to land renaming changes in WebKit.
1834 * Api/qwebframe.cpp:
1835 (QWebFrame::render):
1837 (QWebFrame::geometry):
1839 (QWebPage::viewportSize):
1840 (QWebPage::setViewportSize):
1842 2008-09-27 Simon Hausmann <hausmann@webkit.org>
1844 Qt build fix - use frameRect instead of frameGeometry, adapt
1845 to renamed scrollbar frameview methods.
1848 (QWebPage::viewportSize):
1849 (QWebPage::setViewportSize):
1850 * WebCoreSupport/FrameLoaderClientQt.cpp:
1851 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
1853 2008-09-27 Jan Michael Alonzo <jmalonzo@webkit.org>
1855 Qt build fix - rename frameGeometry to frameRect per r36995.
1857 * Api/qwebframe.cpp:
1858 (QWebFrame::render):
1860 (QWebFrame::geometry):
1862 2008-09-26 Ariya Hidayat <ahidayat@trolltech.com>
1866 Fixed potential crash when deleting QWebView instance.
1868 When deleting the view, sets the page's view to NULL.
1869 The reason is that the page is smart and its destructor might lead to a call
1870 that operates on a view (which is in the process of being deleted).
1874 (QWebView::~QWebView):
1876 2008-09-26 Ariya Hidayat <ahidayat@trolltech.com>
1880 Fixed using modifiers to type special symbols (e.g '@','$') does not work on Mac OS X.
1882 * WebCoreSupport/EditorClientQt.cpp:
1883 (WebCore::EditorClientQt::handleKeyboardEvent):
1885 2008-09-26 Håvard Wall <hwall@trolltech.com>
1889 Fix compilation with QT_NO_MESSAGEBOX
1892 (QWebPage::javaScriptAlert):
1893 (QWebPage::javaScriptConfirm):
1895 2008-09-23 Tor Arne Vestbø <tavestbo@trolltech.com>
1899 Remove deprecated JS Qt bindings object call/construct code and fix autotests
1901 * tests/qwebframe/tst_qwebframe.cpp:
1903 2008-09-16 Alp Toker <alp@nuanti.com>
1905 Prospective Qt build fix. ScrollBar.h -> Scrollbar.h
1907 * Api/qwebframe.cpp:
1910 2008-09-15 Eli Fidler <eli@staikos.net>
1914 Yahoo assumes non-RFC compliant HTTP redirect behaviour. QtWebKit is (more)
1915 compliant, so broken. I think the Yahoo-assumed behaviour is real-world standard.
1917 Basically, Yahoo's login procedure for flickr looks like this:
1918 1. load flickr.com, click "sign in"
1919 2. this is a Yahoo page with a form
1920 (https://login.yahoo.com/config/login?.src=flickr...)
1921 when you click the "Sign In" button, the form submits to a yahoo.com POST URL
1922 3. The POST returns with a 302 (redirect) to another yahoo.com URL
1923 4. If you POST the redirected Location:, it all breaks. Yahoo assumes you will
1924 convert the method to GET, which works fine but is definitely not
1925 RFC-compliant. It would be compliant for 303, and the RFC says that many
1926 implementations treat 302 and 303 the same way (for HTTP/1.0 compliance), but
1927 converting to GET is explicitly wrong for 302.
1929 * Api/qwebnetworkinterface.cpp:
1930 (QWebNetworkManager::started):
1932 2008-09-15 Tor Arne Vestbø <tavestbo@trolltech.com>
1936 Make QtInstance::create() private and fix caching
1938 * Api/qwebframe.cpp:
1939 (QWebFrame::addToJavaScriptWindowObject):
1941 2008-09-11 Tor Arne Vestbø <tavestbo@trolltech.com>
1943 Rubber-stamped by Simon.
1945 Prevent leaking pages and frames in QWebKit autotest
1947 * tests/qwebpage/tst_qwebpage.cpp:
1949 2008-09-11 Tor Arne Vestbø <tavestbo@trolltech.com>
1953 Fix QtWebKit autotest
1955 * tests/qwebpage/tst_qwebpage.cpp:
1956 (tst_QWebPage::userStyleSheet):
1958 2008-09-09 Joerg Bornemann <joerg.bornemann@trolltech.com>
1962 Added missing WebCore prefix to ResourceRequest
1964 This is needed for Windows/CE compilation where there is a conflict
1965 with a global ResourceRequest type. Elsewhere in this file ResourceRequest
1966 is also prefixed with WebCore::
1968 * Api/qwebframe.cpp:
1969 (QWebFrame::QWebFrame):
1971 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1973 Reviewed by Maciej Stachowiak.
1975 Bug 20704: Replace the KJS namespace
1976 <https://bugs.webkit.org/show_bug.cgi?id=20704>
1978 Rename the KJS namespace to JSC.
1980 * Api/qwebframe.cpp:
1981 (QWebFrame::addToJavaScriptWindowObject):
1982 (QWebFrame::evaluateJavaScript):
1984 2008-09-04 Tor Arne Vestbø <tavestbo@trolltech.com>
1988 Fix the QtWebKit build to match changes in r36016
1990 * Api/qwebframe.cpp:
1991 (QWebFrame::addToJavaScriptWindowObject):
1993 2008-09-04 Tor Arne Vestbø <tavestbo@trolltech.com>
1997 Re-enable support for user stylesheets in QtWebKit
1999 QtWebKit now follows the FRAME_LOADS_USER_STYLESHEET
2000 code path, which allows us to keep API support for
2001 loading user style sheets from remote URLs.
2003 As part of the change UserStyleSheetLoader.cpp/h was
2004 moved from WebCore/loader/mac to WebCore/loader.
2006 * tests/qwebpage/tst_qwebpage.cpp:
2007 (tst_QWebPage::userStyleSheet):
2009 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org>
2011 Reviewed by Eric Seidel.
2013 [janitor/qt] Start replacing port specific getters with the generic native getter
2014 To get the native presentation of an image we currently have platform
2015 specific #ifdef's and a generic getter using NativeImagePtr. This patch
2016 extends this to the ImageBuffer and updates the Qt platform to get rid
2017 of the special #ifdefs.
2019 https://bugs.webkit.org/attachment.cgi?id=22861
2021 * Api/qwebframe.cpp:
2022 (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
2023 * Api/qwebhistory.cpp:
2024 * Api/qwebsettings.cpp:
2025 (QWebSettings::iconForUrl):
2027 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org>
2031 Catch up with the introduction of PageGroup in r30840. Enable tracking of
2032 visited links, enable this in QWebPage next to the other WebCore init call.
2033 Calling this more than once is no issue and a cheap operation, we also do not
2034 reset the state. When clearing the history of a page, clear the link state.
2036 * Api/qwebhistory.cpp:
2037 (QWebHistory::clear):
2038 * Api/qwebhistoryinterface.cpp:
2039 (QWebHistoryInterface::setDefaultInterface):
2041 (QWebPagePrivate::QWebPagePrivate):
2043 2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org>
2047 Revert revision 34348 which removed the global historyContains() function.
2049 This function was needed to implement the public API of QWebHistoryInterface
2050 and will be used again in the near future.
2052 * Api/qwebhistoryinterface.cpp:
2053 (WebCore::historyContains):
2055 2008-08-27 Erik Bunce <elbunce@thehive.com>
2057 Reviewed by Eric Seidel.
2059 https://bugs.webkit.org/show_bug.cgi?id=20223
2061 Add QWebPage::contentsChanged() signal to notify of content changes.
2065 * WebCoreSupport/EditorClientQt.cpp:
2066 (WebCore::EditorClientQt::respondToChangedContents):
2068 2008-08-27 Brady Eidson <beidson@apple.com>
2072 <rdar://problem/6134133> - Crash when loading large movie as a standalone document
2074 * WebCoreSupport/FrameLoaderClientQt.cpp:
2075 (WebCore::FrameLoaderClientQt::pluginWillHandleLoadError): Stubbed for now
2076 * WebCoreSupport/FrameLoaderClientQt.h:
2078 2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
2082 [inspector] Emit signals from attachWindow and detachWindow in the Qt platform
2083 Allow the user of the API to honor the attachWindow and detachWindow
2084 requests and attach the QWebPage/QWebView wherever it is wanted. This needs
2085 some more API in QWebPage to be properly exposed.
2087 * WebCoreSupport/InspectorClientQt.cpp:
2088 (WebCore::InspectorClientQt::createPage):
2089 (WebCore::InspectorClientQt::attachWindow):
2090 (WebCore::InspectorClientQt::detachWindow):
2091 * WebCoreSupport/InspectorClientQt.h:
2093 2008-08-19 Alexey Proskuryakov <ap@webkit.org>
2095 Reviewed by Geoff Garen.
2097 Bring back shared JSGlobalData and implicit locking, because too many clients rely on it.
2099 * Api/qwebframe.cpp:
2100 (QWebFrame::addToJavaScriptWindowObject):
2102 2008-08-15 Håvard Wall <hwall@trolltech.com>
2106 Fixes: compile with QT_NO_UNDOCOMMAND/STACK
2110 (SetCursorEvent::SetCursorEvent):
2111 (QWebPagePrivate::createContextMenu):
2115 * WebCoreSupport/EditCommandQt.cpp:
2116 (EditCommandQt::EditCommandQt):
2117 * WebCoreSupport/EditCommandQt.h:
2118 * WebCoreSupport/EditorClientQt.cpp:
2120 (WebCore::EditorClientQt::shouldInsertText):
2121 (WebCore::EditorClientQt::shouldChangeSelectedRange):
2122 (WebCore::EditorClientQt::isEditable):
2123 (WebCore::EditorClientQt::registerCommandForUndo):
2124 (WebCore::EditorClientQt::clearUndoRedoOperations):
2125 (WebCore::EditorClientQt::canUndo):
2126 (WebCore::EditorClientQt::canRedo):
2127 (WebCore::EditorClientQt::undo):
2128 (WebCore::EditorClientQt::redo):
2129 (WebCore::EditorClientQt::shouldInsertNode):
2131 2008-08-15 Håvard Wall <hwall@trolltech.com>
2135 Fixes: compile with QT_NO_STYLE_STYLESHEET
2138 * WebCoreSupport/FrameLoaderClientQt.cpp:
2139 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
2140 (WebCore::FrameLoaderClientQt::createPlugin):
2142 2008-08-15 Håvard Wall <hwall@trolltech.com>
2146 Fixes: compile with QT_NO_SHORTCUT
2150 (QWebPagePrivate::mouseMoveEvent):
2151 (QWebPagePrivate::mouseReleaseEvent):
2152 (QWebPagePrivate::dragMoveEvent):
2154 2008-08-15 Håvard Wall <hwall@trolltech.com>
2158 Fixes: compile with QT_NO_CONTEXTMENU
2162 (editorCommandForWebActions):
2163 (QWebPagePrivate::QWebPagePrivate):
2164 (QWebPagePrivate::createMainFrame):
2165 (QWebPagePrivate::updateEditorActions):
2166 (QWebPage::setEditable):
2172 2008-08-15 Håvard Wall <hwall@trolltech.com>
2176 Fixes: compile with QT_NO_WHEELEVENT
2180 (QWebPagePrivate::updateEditorActions):
2186 2008-08-15 Håvard Wall <hwall@trolltech.com>
2190 Fixes: compile with QT_NO_PRINTER
2193 * Api/qwebframe.cpp:
2197 2008-08-15 David Boddie <dboddie@trolltech.com>
2201 Doc: Added documentation for default property values.
2205 (QWebPagePrivate::keyPressEvent):
2206 (QWebPage::triggerAction):
2207 (QWebPage::acceptNavigationRequest):
2211 2008-08-15 David Boddie <dboddie@trolltech.com>
2215 Doc: Renamed snippets that appear in the code directory.
2222 2008-08-12 Timothy Hatcher <timothy@apple.com>
2224 Add a stub for InspectorClient::setAttachedWindowHeight.
2226 * WebCoreSupport/InspectorClientQt.cpp:
2227 (WebCore::InspectorClientQt::setAttachedWindowHeight):
2228 Call notImplemented().
2229 * WebCoreSupport/InspectorClientQt.h:
2231 2008-08-13 Ariya Hidayat <ariya.hidayat@trolltech.com>
2235 Use full-page zoom in QtLauncher.
2237 * QtLauncher/main.cpp:
2238 (MainWindow::zoomIn):
2239 (MainWindow::zoomOut):
2240 (MainWindow::resetZoom):
2241 (MainWindow::setupUI):
2243 2008-08-13 Ariya Hidayat <ariya.hidayat@trolltech.com>
2247 Fix linking with QtWebKit.
2249 * Api/qwebframe.h: remove non-existing function/property.
2251 2008-08-13 Simon Hausmann <hausmann@webkit.org>
2255 Based on patch by Siraj razick <siraj.razick@collabora.co.uk>
2257 https://bugs.webkit.org/show_bug.cgi?id=19125
2259 Added functions to get/set the zoom factor.
2261 Added a QWebFrame/QWebView::zoomFactor as well as a boolean
2262 ZoomTextOnly attribute in QWebSettings.
2264 * Api/qwebframe.cpp:
2265 (QWebFrame::setZoomFactor):
2266 (QWebFrame::zoomFactor):
2268 * Api/qwebsettings.cpp:
2269 (QWebSettingsPrivate::apply):
2270 (QWebSettings::QWebSettings):
2271 * Api/qwebsettings.h:
2273 (QWebView::setZoomFactor):
2274 (QWebView::zoomFactor):
2277 2008-08-13 Simon Hausmann <hausmann@webkit.org>
2281 Fix QWebFrame::setHtml() not setting the new contents immediately.
2283 Added a setter to the DocumentLoader to toggle the deferred loading of the main
2284 resource when it comes from substitute data.
2286 Disable deferred loading of the main resource when we have valid substitute data,
2287 as used by QWebFrame::setHtml.
2289 * WebCoreSupport/FrameLoaderClientQt.cpp:
2290 (WebCore::FrameLoaderClientQt::download):
2292 2008-08-13 Simon Hausmann <hausmann@webkit.org>
2294 Rubber-stamped by Holger.
2296 Fix QWebPage::isModified().
2298 isModified() would return true after loading a new page or it would continue to
2299 return true after undoing modifications. Fix this by eliminating the
2300 QWebPagePrivate::modified variable and use the undoStack's canUndo() property
2303 https://bugs.webkit.org/show_bug.cgi?id=19252
2308 * WebCoreSupport/EditorClientQt.cpp:
2309 (WebCore::EditorClientQt::respondToChangedContents):
2311 2008-08-13 David Boddie <dboddie@trolltech.com>
2315 Updated docs with the signal emission behavior of urlChanged()
2317 * Api/qwebframe.cpp:
2319 2008-08-13 Ariya Hidayat <ariya.hidayat@trolltech.com>
2323 Fix Ctrl+Y to work again when editing text in contextEditable mode.
2325 This fixes regression in LayoutTests/editing/pasteboard/emacs-cntl-y-001.html
2327 * WebCoreSupport/EditorClientQt.cpp:
2328 (WebCore::EditorClientQt::handleKeyboardEvent):
2330 2008-08-13 Thiago Macieira <tjmaciei@trolltech.com>
2334 Fix encoding of [ and ] in the host part of the URL
2336 Until QUrl is fixed (making QUrl's tolerant parser more tolerant), we have to
2337 add this workaround to the QUrl <> WebCore::KURL conversion operator so that it
2338 doesn't encode [ and ] when they are found in the host part. That is, the
2341 is valid and should not be reencoded to:
2344 This change adds the automatic test for it.
2346 * tests/qwebframe/tst_qwebframe.cpp:
2348 2008-08-12 Urs Wolfer <uwolfer@kde.org>
2352 https://bugs.webkit.org/show_bug.cgi?id=20357
2354 Fix crash in QWebPage in case contextMenuEvent has been overwritten
2355 because context menu has the view as parent and thus is deleted too early.
2357 Add testcase for this crash.
2360 * tests/qwebpage/tst_qwebpage.cpp:
2361 (tst_QWebPage::contextMenuCrash):
2363 2008-08-07 Simon Hausmann <hausmann@webkit.org>
2365 Rubber-stamped by Lars.
2367 Added API tests for QWebPage/QWebFrame based on QTestLib.
2369 * tests/qwebframe/qwebframe.pro: Added.
2370 * tests/qwebframe/tst_qwebframe.cpp: Added.
2371 * tests/qwebpage/qwebpage.pro: Added.
2372 * tests/qwebpage/tst_qwebpage.cpp: Added.
2373 * tests/tests.pro: Added.
2375 2008-08-06 Benjamin C Meyer <ben@meyerhome.net>
2379 During the drag operation only accept the event if the action is not ignore action.
2382 (QWebPagePrivate::dragEnterEvent):
2383 (QWebPagePrivate::dragMoveEvent):
2384 (QWebPagePrivate::dropEvent):
2386 2008-08-06 Ariya Hidayat <ariya.hidayat@trolltech.com>
2388 Fix the Qt build due to recent ScriptController refactoring.
2390 * Api/qwebframe.cpp:
2391 (QWebFrame::addToJavaScriptWindowObject):
2393 2008-08-05 Tor Arne Vestbø <tavestbo@trolltech.com>
2397 Move event handling of the return-key from EditorClientQt to QWebPage.
2399 https://bugs.webkit.org/show_bug.cgi?id=20191
2401 This is a first step in refactoring the big switch block
2402 in EditorClientQt::handleKeyboardEvent to using WebActions
2405 The new logic uses two new StandardKeys from QKeySequence:
2407 - InsertParagraphSeparator
2408 - InsertLineSeparator
2410 Which translate to the commands InsertNewline and InsertLineBreak
2411 respectivly. On Windows/X11 pressing the shift modifier will invoke
2412 the latter action. For Mac this is triggered by pressing the meta
2415 Initial patch by: Erik Bunce
2418 (editorActionForKeyEvent):
2420 * WebCoreSupport/EditorClientQt.cpp:
2421 (WebCore::EditorClientQt::handleKeyboardEvent):
2423 2008-08-04 Erik Bunce <elbunce@thehive.com>
2427 https://bugs.webkit.org/show_bug.cgi?id=20221
2429 Add updateAction() support to ToggleBold, ToggleItalic, and ToggleUnderline.
2430 Add lookup table for mapping web actions to editor commands.
2433 (editorCommandForWebActions):
2434 (QWebPagePrivate::updateAction):
2435 (QWebPagePrivate::updateEditorActions):
2436 (QWebPage::triggerAction):
2437 (QWebPage::setEditable):
2439 2008-08-03 Ariya Hidayat <ariya.hidayat@trolltech.com>
2443 A bunch of improvements to the QtLauncher.
2446 - Unify and unclutter the toolbar, use menu for addition actions
2447 - Simplify URL edit, just use QLineEdit (no fancy close button etc)
2448 - Guess the URL from the command line so now we can run ./QtLauncher www.google.com
2449 - Shortcut keys for most actions
2450 - Simple autocomplete for the URL edit
2451 - Actions for zooming, New Window and Close Window
2452 - Show Format menu only when the content is set to editable
2454 * QtLauncher/main.cpp:
2455 (MainWindow::MainWindow):
2456 (MainWindow::webPage):
2457 (MainWindow::changeLocation):
2458 (MainWindow::loadFinished):
2459 (MainWindow::showLinkHover):
2460 (MainWindow::newWindow):
2461 (MainWindow::zoomIn):
2462 (MainWindow::zoomOut):
2463 (MainWindow::resetZoom):
2464 (MainWindow::print):
2465 (MainWindow::setEditable):
2466 (MainWindow::dumpHtml):
2467 (MainWindow::setupUI):
2470 2008-08-04 Erik Bunce <elbunce@thehive.com>
2474 https://bugs.webkit.org/show_bug.cgi?id=20198
2476 Allow Copy key sequence to work in non-editable areas.
2479 (QWebPagePrivate::keyPressEvent):
2481 2008-07-31 Erik Bunce <elbunce@thehive.com>
2485 Make sure edit actions get updated when the contents change.
2487 * WebCoreSupport/EditorClientQt.cpp:
2488 (WebCore::EditorClientQt::respondToChangedContents):
2490 2008-07-31 Erik Bunce <elbunce@thehive.com>
2494 Add simple edit test abilities to QtLauncher.
2496 * QtLauncher/main.cpp:
2497 (MainWindow::MainWindow):
2498 (MainWindow::setEditable):
2499 (MainWindow::dumpHtml):
2501 2008-07-31 Alexey Proskuryakov <ap@webkit.org>
2503 Rubber-stamped by Maciej.
2505 Eliminate JSLock (it was already disabled, removing the stub implementaion and all
2508 * Api/qwebframe.cpp:
2509 (QWebFrame::addToJavaScriptWindowObject):
2511 2008-07-27 David Kilzer <ddkilzer@apple.com>
2513 Fix Qt build failure.
2516 (QWebFrame::setScrollOffset): Make argument const.
2518 2008-07-26 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
2520 Reviewed by Simon Hausmann.
2522 https://bugs.webkit.org/show_bug.cgi?id=20010
2523 [Qt] Add API access to scrolling
2525 * Api/qwebframe.cpp: Added access to a frame scroll offset.
2526 (QWebFrame::scroll):
2527 (QWebFrame::scrollOffset):
2528 (QWebFrame::setScrollOffset):
2531 2008-07-26 Daniel Jalkut <jalkut@red-sweater.com>
2533 Build fix. Adjust to updated WebCore FrameLoader method names & signatures.
2536 (QWebPage::triggerAction):
2537 * WebCoreSupport/FrameLoaderClientQt.cpp:
2538 (WebCore::FrameLoaderClientQt::createFrame):
2540 2008-07-25 Joerg Bornemann <joerg.bornemann@trolltech.com>
2544 Compile with QT_NO_PRINTER.
2546 * QtLauncher/main.cpp:
2547 (MainWindow::MainWindow):
2549 2008-07-24 Tor Arne Vestbø <tavestbo@trolltech.com>
2553 Don't insert text on keyDown event in EditorClientQt.
2555 * WebCoreSupport/EditorClientQt.cpp:
2556 (WebCore::EditorClientQt::handleKeyboardEvent):
2558 2008-07-04 Benjamin C Meyer <ben@meyerhome.net>
2562 Update the webkit version in the QtWebKit useragent string to match trunk
2566 2008-07-02 Simon Hausmann <hausmann@webkit.org>
2571 (QWebPage::triggerAction): The signature of setBaseWritingDirection
2572 changed to take an enum instead of a string.
2574 2008-07-01 Alexey Proskuryakov <ap@webkit.org>
2576 Reviewed by Darin Adler.
2578 Disable JSLock for per-thread contexts.
2580 * Api/qwebframe.cpp:
2581 (QWebFrame::addToJavaScriptWindowObject):
2582 Pass a parameter (false) to JSLock to indicate that WebKit doesn't need locking.
2583 Include JSLock.h, as it is no longer brought in implicitly.
2585 2008-07-01 Tor Arne Vestbø <tavestbo@trolltech.com>
2589 Don't show the tooltip instantly in the QtLauncher.
2591 Let the QWebView handle tooltips by itself, so we get
2592 the expected delay as everywhere else.
2594 * QtLauncher/main.cpp:
2596 2008-06-30 Simon Hausmann <hausmann@webkit.org>
2598 Rubber-stamped by Niko.
2600 Removed the obsolete and unmaintained WebKitPart. The integration of
2601 QtWebKit into KDE is now done in the webkitkde component inside KDE.
2603 * WebKitPart/WebKitFactory.cpp: Removed.
2604 * WebKitPart/WebKitFactory.h: Removed.
2605 * WebKitPart/WebKitPart.cpp: Removed.
2606 * WebKitPart/WebKitPart.desktop: Removed.
2607 * WebKitPart/WebKitPart.h: Removed.
2608 * WebKitPart/WebKitPart.rc: Removed.
2609 * WebKitPart/WebKitPartBrowser.rc: Removed.
2610 * WebKitPart/WebKitPartBrowserExtension.cpp: Removed.
2611 * WebKitPart/WebKitPartBrowserExtension.h: Removed.
2612 * WebKitPart/WebKitPartClient.cpp: Removed.
2613 * WebKitPart/WebKitPartClient.h: Removed.
2614 * WebKitPart/WebKitPartInterface.cpp: Removed.
2615 * WebKitPart/WebKitPartInterface.h: Removed.
2616 * WebKitPart/org.kde.WebKitPart.xml: Removed.
2618 2008-06-24 Simon Hausmann <hausmann@webkit.org>
2620 Fix the Qt build, added missing include for RuntimeObjectImp.
2622 * Api/qwebframe.cpp:
2624 2008-06-23 Benjamin C Meyer <ben@meyerhome.net>
2628 Add function to retrieve the standard context menu
2630 2008-06-20 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
2634 https://bugs.webkit.org/show_bug.cgi?id=19082
2635 [Qt] Full-page plugins not activated
2637 * WebCoreSupport/FrameLoaderClientQt.cpp:
2638 (WebCore::FrameLoaderClientQt::committedLoad): Re-check if there's a
2639 plugin present, as it can be created during the function.
2641 2008-06-20 Marco Barisione <marco.barisione@collabora.co.uk>
2645 https://bugs.webkit.org/show_bug.cgi?id=19082
2646 [Qt] Full-page plugins not activated
2648 * WebCoreSupport/FrameLoaderClientQt.cpp:
2649 (WebCore::FrameLoaderClientQt::canShowMIMEType): Return true if the
2650 MIME type is supported by a plugin.
2652 2008-06-18 Alexey Proskuryakov <ap@webkit.org>
2654 Reviewed by Darin Adler.
2656 Prepare JavaScript heap for being per-thread.
2658 * Api/qwebframe.cpp:
2659 (QWebFrame::addToJavaScriptWindowObject): Trying not to break the build.
2661 2008-06-18 Julien Chaffraix <jchaffraix@webkit.org>
2663 Qt Build fix after r34627.
2665 * WebCoreSupport/FrameLoaderClientQt.cpp:
2666 (WebCore::FrameLoaderClientQt::createPlugin):
2668 2008-06-15 Darin Adler <darin@apple.com>
2670 - give Frame object functions shorter names: scriptProxy() -> script(),
2671 selectionController() -> selection(), animationController() -> animation()
2673 * Api/qwebframe.cpp:
2674 (QWebFrame::evaluateJavaScript):
2676 (QWebPagePrivate::focusInEvent):
2677 (QWebPagePrivate::focusOutEvent):
2678 (QWebPage::inputMethodQuery):
2679 * WebCoreSupport/EditorClientQt.cpp:
2680 (WebCore::EditorClientQt::handleKeyboardEvent):
2682 2008-06-15 Darin Adler <darin@apple.com>
2684 - new names for more JavaScriptCore files
2688 2008-06-15 Darin Adler <darin@apple.com>
2690 - new names for a few key JavaScriptCore files
2692 * Api/qwebframe.cpp:
2694 2008-06-14 Darin Adler <darin@apple.com>
2696 Rubber stamped by Sam.
2698 - new names for kjs_binding.h and kjs_proxy.h
2700 * Api/qwebframe.cpp:
2701 (QWebFrame::evaluateJavaScript):
2704 2008-06-14 Darin Adler <darin@apple.com>
2708 * Api/qwebframe.cpp:
2709 (QWebFramePrivate::init): Added a missing semicolon.
2711 2008-06-14 Darin Adler <darin@apple.com>
2715 - more https://bugs.webkit.org/show_bug.cgi?id=17257
2716 start ref counts at 1 instead of 0 for speed
2718 * Api/qwebframe.cpp:
2719 (QWebFramePrivate::init): Use create instead of new.
2720 * WebCoreSupport/FrameLoaderClientQt.cpp:
2721 (WebCore::FrameLoaderClientQt::createDocumentLoader): Ditto.
2723 2008-06-13 Darin Adler <darin@apple.com>
2727 * WebCoreSupport/FrameLoaderClientQt.h: Add missing argument.
2729 2008-06-13 Darin Adler <darin@apple.com>
2731 Reviewed by John Sullivan.
2733 - updated for addition of FormState argument to action policy functions
2735 * WebCoreSupport/FrameLoaderClientQt.cpp:
2736 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
2737 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
2739 2008-06-11 Ariya Hidayat <ariya.hidayat@trolltech.com>
2743 Fix left-click and middle-click mouse event are not properly accepted.
2745 When copying or pasting text using left or middle-click, the event must be
2746 accepted so that it will not be potentially processed further by the parent
2747 and/or sub-classed widget.
2751 (QWebPagePrivate::mouseReleaseEvent):
2753 2008-06-11 Ariya Hidayat <ariya.hidayat@trolltech.com>
2757 Fix input element does not accept character typed in using AltGr.
2759 EditorClient is modified to catch AltGr and Ctrl+Alt key combination.
2760 This fixes http://trolltech.com/developer/task-tracker/index_html?id=207050&method=entry
2762 * WebCoreSupport/EditorClientQt.cpp:
2763 (WebCore::EditorClientQt::handleKeyboardEvent):
2765 2008-05-26 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
2769 https://bugs.webkit.org/show_bug.cgi?id=19323
2771 Implemented the QWebPage::editable property.
2773 Small documentation fixes by Simon.
2776 (QWebPagePrivate::QWebPagePrivate):
2777 (QWebPage::setEditable):
2778 (QWebPage::isEditable):
2780 * Api/qwebpage_p.h: implement the editable property and add API so that
2781 applications can switch edit mode on and off for a particular QWebPage
2782 * WebCoreSupport/EditorClientQt.cpp: retrieve editable property from the
2783 QWebPage instead of always returning false
2785 2008-06-09 Tor Arne Vestbø <tavestbo@trolltech.com>
2789 Make sure web action in context menus have the right enablement,
2790 while not messing up other web actions not included in the menu.
2793 (QWebPagePrivate::createContextMenu):
2794 (QWebPage::updatePositionDependentActions):
2797 2008-06-09 Benjamin C Meyer <ben@meyerhome.net>
2801 Add Shift-Space shortcut to go up one screen, the opposite of Space
2802 which goes down one screen.
2805 (QWebPagePrivate::handleScrolling):
2807 2008-06-04 Tor Arne Vestbø <tavestbo@trolltech.com>
2811 Fix a failing assertion when calling QWebFrame::evaluateJavaScript.
2813 The starting line number has to be 1 instead of 0.
2815 * Api/qwebframe.cpp:
2816 (QWebFrame::evaluateJavaScript):
2818 2008-06-03 Jonathon Jongsma <jonathon.jongsma@collabora.co.uk>
2820 Reviewed by Darin Adler.
2822 * Api/qwebhistoryinterface.cpp: Remove WebCore::historyContains(). This
2823 function is not used anywhere internally and is only a convenience
2824 function that can still be accomplished using
2825 QWebHistoryInterface::historyContains();
2827 2008-05-29 Kavindra Devi Palaraja <kdpalara@trolltech.com>
2831 Doc: Mention the requirement of a QApplication with QtWebKit
2836 2008-05-29 David Boddie <dboddie@trolltech.com>
2840 Some clarifications for the documentation.
2844 * Api/qwebpluginfactory.cpp:
2846 2008-05-27 Ariya Hidayat <ariya.hidayat@trolltech.com>
2850 Fix web inspector does not returns its state properly after its window is minimized.
2852 As hinted by Holger, InspectorClientView::hideEvent is not needed.
2853 This fixes bug https://bugs.webkit.org/show_bug.cgi?id=18967
2855 * WebCoreSupport/InspectorClientQt.cpp:
2857 2008-05-21 Siraj Razick <siraj.razick@collabora.co.uk>
2861 Add <param name="classid"/> support for application/x-qt-object plugins
2863 * WebCoreSupport/FrameLoaderClientQt.cpp:
2864 (WebCore::FrameLoaderClientQt::createPlugin):
2866 2008-05-13 Andy Shaw <andy@trolltech.com>
2870 Fixes: QWebHistory::forward() should go forwards and not back
2872 * Api/qwebhistory.cpp:
2874 2008-05-12 Alexey Proskuryakov <ap@webkit.org>
2876 Roll out recent threading changes (r32807, r32810, r32819, r32822) to simplify
2877 SquirrelFish merging.
2879 * Api/qwebframe.cpp:
2880 (QWebFrame::addToJavaScriptWindowObject):
2882 2008-05-09 Thiago Macieira <tjmaciei@trolltech.com>
2886 Fix bad includes in QtWebKit public headers.
2888 Make sure to include qglobal.h using the QtCore prefix so that an explicit
2889 include/QtCore is not needed in the application's build system. Also make sure
2890 that qwebsettings.h includes the local qwebkitglobal.h.
2893 * Api/qwebkitglobal.h:
2894 * Api/qwebsettings.h:
2896 2008-05-08 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
2900 https://bugs.webkit.org/show_bug.cgi?id=18935
2902 Based on work by Sriram Neelakandan for the Gtk port.
2904 * WebCoreSupport/FrameLoaderClientQt.cpp: Initialize
2905 m_hasSentResponseToPlugin.
2906 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2907 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2909 2008-05-08 Warwick Allison <warwick@trolltech.com>
2913 Fixes: WebKit expects initial input method state to be *disabled*.
2915 At least QWS does not need the initial input method state to be forced to
2916 enabled, but other platforms (esp. X11) do. Until fixed/tested on those
2917 platforms, this is specific to QWS.
2921 (QWebView::QWebView):
2923 2008-05-06 Simon Hausmann <hausmann@webkit.org>
2927 Fix logic error in QWebHitTestResult::isNull().
2929 * Api/qwebframe.cpp:
2931 2008-05-02 Benjamin Meyer <bmeyer@trolltech.com>
2935 Doc: Mention that you have to enable plugins in QWebSettings for them to work.
2939 2008-05-02 Simon Hausmann <hausmann@webkit.org>
2941 Fix the Qt build, ExecState is required here.
2943 * Api/qwebframe.cpp:
2944 (QWebFrame::addToJavaScriptWindowObject):
2946 2008-05-01 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
2948 Reviewed by Alp Toker.
2949 Qt parts OK'ed by Simon Hausmann.
2951 https://bugs.webkit.org/show_bug.cgi?id=14750
2952 Added support for NPAPI plugins on Gtk and Qt-x11 ports.
2954 * WebCoreSupport/FrameLoaderClientQt.cpp:
2955 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
2956 (WebCore::FrameLoaderClientQt::finishedLoading):
2957 (WebCore::FrameLoaderClientQt::setMainDocumentError):
2958 (WebCore::FrameLoaderClientQt::committedLoad):
2959 (WebCore::FrameLoaderClientQt::objectContentType):
2960 (WebCore::FrameLoaderClientQt::createPlugin):
2961 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
2962 * WebCoreSupport/FrameLoaderClientQt.h:
2964 2008-04-30 Julien Chaffraix <jchaffraix@webkit.org>
2968 Fixes a brace error that made Qt 4.4 build but not Qt 4.3.
2973 2008-04-30 Tor Arne Vestbø <tavestbo@trolltech.com>
2977 In focusIn and focusOut event always update the active state of the
2978 focus controller. Fixes ~400 failing layout tests due to missing
2979 editing callbacks that relied on the correct focus.
2982 (QWebPagePrivate::focusInEvent):
2983 (QWebPagePrivate::focusOutEvent):
2985 2008-04-29 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
2989 Fix compilation with QT_NO_PRINTER
2995 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com>
2999 Ensure that relative URL is converted to absolute URL.
3001 This is necessary because loading a relative URL is not really supported
3002 (the web page may load, but the subsequent URLs for images and links will
3003 not be resolved properly).
3004 This also fixes https://bugs.webkit.org/show_bug.cgi?id=18484
3007 * Api/qwebframe.cpp:
3008 (ensureAbsoluteUrl):
3009 (QWebFrame::setUrl):
3012 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com>
3016 Simplification of Qt Launcher (no animation and use standard progress bar widget)
3018 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.
3021 * QtLauncher/main.cpp:
3022 (MainWindow::MainWindow):
3024 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com>
3028 Update the cursor when the frame/page loading is finished.
3030 This fixes https://bugs.webkit.org/show_bug.cgi?id=18712
3033 * WebCoreSupport/FrameLoaderClientQt.cpp:
3034 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
3035 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
3037 2008-04-29 Simon Hausmann <shausman@trolltech.com>
3041 Fixes: QWebPage::acceptNavigationRequest not being called / linkClicked() not being emitted when clicking on <a href="..." target="_blank"> kind of links.
3043 Call QWebPage::acceptNavigationRequest when the creation of a new window with
3044 URL is requested. The frame pointer is set to null in this case.
3048 (QWebPage::setViewportSize):
3049 * WebCoreSupport/FrameLoaderClientQt.cpp:
3050 (WebCore::FrameLoaderClientQt::startDownload):
3051 (WebCore::FrameLoaderClientQt::createFrame):
3053 2008-04-29 Holger Hans Peter Freyther <zecke@selfish.org>
3057 Use the WebCore facility to do the scrolling. Move some code around.
3060 (QWebPagePrivate::keyPressEvent):
3061 (QWebPagePrivate::shortcutOverrideEvent):
3062 (QWebPagePrivate::handleScrolling):
3065 2008-04-29 Ariya Hidayat <ariya.hidayat@trolltech.com>
3069 fix potential crash when loading image(s)
3071 Crash may occur. If compiled with 4.3, the variable is not initialized.
3074 (QWebPagePrivate::QWebPagePrivate):
3076 2008-04-29 Holger Hans Peter Freyther <zecke@selfish.org>
3080 Calling QWebView::setCursor will override the WebCore Cursor.
3081 Calling QWebView::setCursor will override the WebCore Cursor using
3082 QWidget::unsetCursor will revert to the WebCore Cursor.
3084 For detecting the unset we have to compare the shape of the
3085 cursor to the default arrow. Qt::WA_SetCursor can not be used
3086 as it is set unconditionally but conditionally removed.
3088 Calling QWidget::setCursor will immediately send the CursorChange
3089 event. We listen to this event to decide if we currently use a
3090 WebCore cursor, got a cursor from outside, or revert to the default.
3092 This should be race free and work reliable, the manual test for this
3093 is WebCore/manual-tests/cursor.html
3096 (SetCursorEvent::SetCursorEvent):
3099 (QWebViewPrivate::QWebViewPrivate):
3100 (QWebViewPrivate::setCursor):
3101 (QWebView::QWebView):
3104 2008-04-29 Kavindra Devi Palaraja <kdpalara@trolltech.com>
3108 Documentation fixes:
3110 - Fixed a qdoc warning
3111 - Mention that fav icons can be of arbitrary size
3112 - Fix signature of QWebPage::acceptNavigationRequest show in the documentation
3114 * Api/qwebframe.cpp:
3117 * Api/qwebsettings.cpp:
3120 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
3124 Fix QWebView::loadFinished isn't always emitted
3126 Replaced loadDone() with loadFinished(bool) and moved the signals for progress
3127 tracking (start, progres, and finish) to the page instead of the frame. This
3128 ensures that we emit loadFinished even when a subframe started the actual load.
3130 This causes a few regressions in the layout tests that we for now accept for
3131 the sake of the correct API. Layout tests we can fix any time though, including
3132 patch release, the API however we can't change anymore in patch releases.
3134 * Api/qwebframe.cpp:
3137 (QWebPage::totalBytes):
3140 (QWebView::setPage):
3142 * QtLauncher/main.cpp:
3143 (MainWindow::MainWindow):
3144 * WebCoreSupport/FrameLoaderClientQt.cpp:
3145 (drtDescriptionSuitableForTestResult):
3146 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
3147 (WebCore::FrameLoaderClientQt::setFrame):
3148 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
3149 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
3150 (WebCore::FrameLoaderClientQt::willChangeTitle):
3151 (WebCore::FrameLoaderClientQt::createDocumentLoader):
3152 (WebCore::FrameLoaderClientQt::download):
3153 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
3154 * WebCoreSupport/FrameLoaderClientQt.h:
3156 2008-04-28 Kavindra Devi Palaraja <kdpalara@trolltech.com>
3160 Added more documentation for QWebSettings, QWebPluginFactory and QWebFrame
3162 * Api/qwebframe.cpp:
3163 * Api/qwebpluginfactory.cpp:
3164 * Api/qwebsettings.cpp:
3165 (QWebSettings::QWebSettings):
3166 (QWebSettings::setUserStyleSheetUrl):
3167 (QWebSettings::iconForUrl):
3168 (QWebSettings::webGraphic):
3169 (QWebSettings::maximumPagesInCache):
3170 (QWebSettings::setFontFamily):
3171 (QWebSettings::resetFontFamily):
3172 (QWebSettings::testAttribute):
3173 (QWebSettings::resetAttribute):
3175 2008-04-28 Ariya Hidayat <ahidayat@trolltech.com>
3179 Fix document/frame title not reset when loading a new URI
3181 We should assume first the frame has no title. If it has, then the dispatchDidReceiveTitle()
3182 will be called very soon with the correct title.
3183 This properly resets the title when we navigate to a URI without a title.
3186 * WebCoreSupport/FrameLoaderClientQt.cpp:
3188 2008-04-28 David Boddie <dboddie@trolltech.com>
3192 Minor documentation changes.
3196 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
3200 Prevent middle-click from triggering open URL from clipboard when the event has already been accepted.
3204 (QWebPagePrivate::mouseMoveEvent):
3205 (QWebPagePrivate::mousePressEvent):
3206 (QWebPagePrivate::mouseDoubleClickEvent):
3207 (QWebPagePrivate::mouseTripleClickEvent):
3208 (QWebPagePrivate::mouseReleaseEvent):
3210 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
3214 Fix scrollbar behavior in QtWebKit to match QScrollBar.
3216 Right click context menu is now supported, along with
3217 middle click to center slider thumb over mouse cursor.
3221 (QWebPage::linkDelegationPolicy):
3223 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
3227 Implemented channel-based logging for QtWebKit.
3229 Comma-separated log channels are read from the QT_WEBKIT_LOG environment variable.
3230 Warnings for notImplemented() is still output by default, but can be disabled
3231 by setting DISABLE_NI_WARNINGS=1.
3234 (QWebPagePrivate::QWebPagePrivate):
3236 2008-04-28 Simon Hausmann <shausman@trolltech.com>
3238 Rubber-stamped by Lars
3240 Removed setHtml(const QByteArray &) overload as it breaks the common use of the setHtml() API.
3242 * Api/qwebframe.cpp:
3247 2008-04-28 Kavindra Devi Palaraja <kdpalara@trolltech.com>
3251 Doc - adding more documentation to QWebFrame, QWebPage and QWebView
3254 * Api/qwebframe.cpp:
3259 (QWebView::changeEvent):
3261 2008-04-28 Simon Hausmann <shausman@trolltech.com>
3265 Fixes: Popups/Context menu in WebKit appearing at the wrong location when embedded in the graphics view or using multiple screens
3267 Give the popups the right parent widget and the right coordinates relative within the parent.
3272 2008-04-28 Benjamin Meyer <bmeyer@trolltech.com>
3276 Doc: Add see also's (and a few minor whitespace/typo corrections)
3279 * Api/qwebframe.cpp:
3280 (QWebFrame::~QWebFrame):
3281 (QWebFrame::setHtml):
3282 (QWebFrame::setContent):
3283 (QWebFrame::parentFrame):
3284 (QWebFrame::childFrames):
3285 (QWebFrame::setScrollBarValue):
3286 (QWebFrame::scrollBarValue):
3287 (QWebFrame::scrollBarMaximum):
3288 (QWebFrame::scrollBarMinimum):
3289 (QWebFrame::render):
3291 (QWebFrame::geometry):
3293 (QWebFrame::evaluateJavaScript):
3295 (QWebPagePrivate::mousePressEvent):
3296 (QWebPagePrivate::mouseDoubleClickEvent):
3297 (QWebPage::~QWebPage):
3298 (QWebPage::javaScriptPrompt):
3300 (QWebPage::setViewportSize):
3301 (QWebPage::acceptNavigationRequest):
3303 (QWebPage::userAgentForUrl):
3304 (QWebPagePrivate::_q_onLoadProgressChanged):
3308 2008-04-28 Kavindra Devi Palaraja <kdpalara@trolltech.com>
3312 Submitting more documentation for QWebPage
3317 2008-04-28 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
3321 Compile when QT_NO_CLIPBOARD is defined.
3325 (QWebPage::triggerAction):
3327 2008-04-28 David Boddie <dboddie@trolltech.com>
3331 Minor documentation fix.
3334 * Api/qwebhistory.cpp:
3336 2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
3340 Implement QWebPage::createPlugin
3342 The code is coming from the demo browser and needed here
3343 for some manual tests.
3346 * QtLauncher/QtLauncher.pro:
3347 * QtLauncher/main.cpp:
3348 (WebPage::createPlugin):
3350 2008-04-28 Simon Hausmann <hausmann@webkit.org>
3352 Qt/Win build fix. Include config.h to get the implicit MathExtras.h
3353 inclusion correct with regards to rand_s.
3355 * Api/qwebhistory.cpp:
3357 2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
3361 https://bugs.webkit.org/show_bug.cgi?id=18713
3363 Fix scrollbar painting issues in QtWebKit.
3365 Hovering and click-draging outside of the scrollbar would
3366 produce unexpected and inconcistent results. We also didn't
3367 pass on leave-events to the underlying WebKit code, which
3368 was nessecary to implement the paint fix.
3370 Note: The event handling of the Leave event should be moved
3371 out of QWebView::event() and into a proper override for 4.5.
3374 (QWebPagePrivate::leaveEvent):
3379 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com>
3381 Reviewed by Simon, Holger.
3383 Fixed focus handling when a node is focused while the corresponding QWebPage does not have the focus.
3385 * Correctly de- and reactivate the focused frame in focusOut/focusInEvent
3386 without telling the focus controller. We don't want to change the focused frame
3387 - the controller has to remember it in fact - but instead just deactivate the
3388 frame for correct painting as RenderTheme::isFocused() uses the activation
3392 (QWebPagePrivate::focusInEvent):
3393 (QWebPagePrivate::focusOutEvent):
3395 2008-04-25 Kavindra Devi Palaraja <kdpalara@trolltech.com>
3399 completed documentation for the Detailed Description section for QWebView
3404 2008-04-25 Denis Dzyubenko <denis.dzyubenko@trolltech.com>
3408 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.
3411 * Api/qwebhistory.cpp:
3412 (QWebHistory::back):
3413 (QWebHistory::forward):
3414 (QWebHistory::goToItem):
3416 2008-04-25 Tor Arne Vestbø <tavestbo@trolltech.com>
3420 Fix resubmit of HTML forms when initially denied by QWebPage::acceptNavigationRequest().
3423 * WebCoreSupport/FrameLoaderClientQt.cpp:
3424 (WebCore::FrameLoaderClientQt::createFrame):
3426 2008-04-25 Simon Hausmann <hausmann@webkit.org>
3430 When pressing backspace in a line edit in a webpage we should not go back to the previous page.
3432 The shortcut for back on Windows is backspace. Implemented shortcut override
3433 handling in QWebView/QWebPage to prevent this.
3437 (QWebPagePrivate::wheelEvent):
3438 (editorActionForKeyEvent):
3439 (QWebPagePrivate::keyPressEvent):
3440 (QWebPagePrivate::inputMethodEvent):
3441 (QWebPagePrivate::shortcutOverrideEvent):
3447 2008-04-25 Ariya Hidayat <ariya.hidayat@trolltech.com>
3451 Fix triple-clicking does not work in a web page
3455 (QWebPagePrivate::updateEditorActions):
3456 (QWebPagePrivate::timerEvent):
3457 (QWebPagePrivate::mousePressEvent):
3458 (QWebPagePrivate::mouseDoubleClickEvent):
3459 (QWebPage::undoStack):
3462 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com>
3466 When pressing Ctrl-Up the keyboard modifiers could include other modifiers
3470 (QWebPagePrivate::keyPressEvent):
3472 2008-04-25 Tor Arne Vestbø <tavestbo@trolltech.com>
3476 Fix handling of Javascript's confirm() function in QtWebKit.
3481 2008-04-25 Kavindra Devi Palaraja <kdpalara@trolltech.com>
3485 Doc - added a screenshot, flowchart, and a snippet to the QWebView documentation to improve clarity
3490 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com>
3494 QWebPage: missing signal when window.print() is requested from javascript
3499 * WebCoreSupport/ChromeClientQt.cpp:
3501 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com>
3505 Fixes: "Save Image" action wasn't doing anything.
3509 (QWebPage::triggerAction):
3511 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com>
3515 Apply key event changes to the current frame, not the main frame.
3517 Example: hitting space bar should scroll current frame, not the main frame
3518 which doesn't even have a scrollbar.
3522 (QWebPagePrivate::keyPressEvent):
3524 2008-04-25 Benjamin Meyer <bmeyer@trolltech.com>
3528 Fixes: QWebFrame crash when fetching the icon
3530 Just call QWebSettings::iconForUrl to not duplicate code and obey the mutex lock.
3532 * Api/qwebframe.cpp:
3534 2008-04-25 Warwick Allison <warwick@trolltech.com>
3538 Fixes: Scrollbars did not report correct maximum.
3540 * Api/qwebframe.cpp:
3542 2008-04-25 David Boddie <dboddie@trolltech.com>
3546 Documentation updates for some of the QWeb classes
3548 * Api/qwebframe.cpp:
3549 * Api/qwebhistory.cpp:
3550 * Api/qwebsettings.cpp:
3553 2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
3557 Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
3559 Similar to Editing and Frameloading we do the dumping within WebCore
3562 * WebCoreSupport/FrameLoaderClientQt.cpp:
3563 (qt_dump_frame_loader):
3564 (qt_dump_resource_load_callbacks):
3565 (drtDescriptionSuitableForTestResult):
3566 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
3567 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
3568 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
3570 2008-04-24 Anders Carlsson <andersca@apple.com>
3574 Change some String arguments to be const references instead.
3576 * WebCoreSupport/EditorClientQt.cpp:
3577 (WebCore::EditorClientQt::shouldInsertText):
3578 * WebCoreSupport/EditorClientQt.h:
3580 2008-04-24 Holger Hans Peter Freyther <zecke@selfish.org>
3584 Cosmetic changes to make the code more readable.
3585 -Early exit if we don't have a webview
3586 -handle the empty tooltip and non-empty tooltip case separately
3589 * WebCoreSupport/ChromeClientQt.cpp:
3590 (WebCore::ChromeClientQt::setToolTip):
3591 (WebCore::ChromeClientQt::print):
3593 2008-04-24 Paul Olav Tvete <paul@trolltech.com>
3597 Automatically wrap tooltip text and hide a shown tooltip when it is empty.
3599 QWidget::setTooltip("") will still show the old tooltip for up to 10 seconds.
3600 Workaround as discussed with Matthias.
3602 * WebCoreSupport/ChromeClientQt.cpp:
3603 (WebCore::ChromeClientQt::setToolTip):
3605 2008-04-24 Holger Hans Peter Freyther <zecke@selfish.org>
3609 Allow to disable caching completeley by calling setObjectCacheCapacities(0, 0, 0)
3611 * Api/qwebsettings.cpp:
3612 (QWebSettings::setObjectCacheCapacities):
3614 2008-04-24 Benjamin Meyer <bmeyer@trolltech.com>
3618 Improve keyboard scrolling
3620 Match Down/Up keys scroll distance with Safari (i.e. faster) and add Home and End shortcuts to scroll to the top/botom.
3624 (QWebPagePrivate::keyPressEvent):
3626 2008-04-24 Olivier Goffart <ogoffart@trolltech.com>
3630 Fix various compiler warnings in the Qt port.
3632 * Api/qwebframe.cpp:
3634 * Api/qwebsettings.cpp:
3636 * WebCoreSupport/FrameLoaderClientQt.cpp:
3637 (WebCore::FrameLoaderClientQt::createPlugin):
3639 2008-04-24 Tor Arne Vestbø <tavestbo@trolltech.com>
3643 Cleaned up copyright headers (removed misplaced class descriptions and
3644 fixed inconsistent whitespace and indentation).
3646 * Api/qwebframe.cpp:
3648 * Api/qwebframe_p.h:
3649 * Api/qwebhistory.cpp:
3650 * Api/qwebhistory.h:
3651 * Api/qwebhistory_p.h:
3652 * Api/qwebhistoryinterface.cpp:
3653 * Api/qwebhistoryinterface.h:
3654 * Api/qwebkitglobal.h:
3655 * Api/qwebnetworkinterface.cpp:
3656 * Api/qwebnetworkinterface.h:
3657 * Api/qwebnetworkinterface_p.h:
3661 * Api/qwebpluginfactory.cpp:
3662 * Api/qwebpluginfactory.h:
3663 * Api/qwebsettings.cpp:
3664 * Api/qwebsettings.h:
3666 * QtLauncher/main.cpp:
3668 2008-04-24 Tor Arne Vestbø <tavestbo@trolltech.com>
3672 Added basic URL guessing to QtLauncher (same as in the demo browser).
3675 * QtLauncher/main.cpp:
3676 (MainWindow::changeLocation):
3677 (MainWindow::guessUrlFromString):
3679 2008-04-24 Benjamin Meyer <bmeyer@trolltech.com>
3681 Reviewed by Simon Hausmann <hausmann@webkit.org>.
3683 Prevent double deletions of the default web interface.
3686 * Api/qwebhistoryinterface.cpp:
3687 (gCleanupInterface):
3688 (QWebHistoryInterface::QWebHistoryInterface):
3690 2008-04-23 Simon Hausmann <hausmann@webkit.org>
3692 Fix compilation against Qt 4.3
3695 (QWebPage::userAgentForUrl):
3696 * QtLauncher/main.cpp:
3699 2008-04-23 Holger Hans Peter Freyther <zecke@selfish.org>
3703 * Make sure the "Inspect Element" item gets added to the ContextMenu, a call
3704 to ContextMenu::populate() is not adding it, the ContextMenuController does
3705 add it after the call to populate(). Do that as well.
3709 (QWebPage::updatePositionDependentActions):
3711 2008-04-23 Simon Hausmann <hausmann@webkit.org>
3715 Fix crashes on window.close().
3717 We should not delete the QWebPage object in the ChromeClient but leave it up to
3718 the application when and whether to delete a browser window. For this we now
3719 emit the windowCloseRequested() signal.
3725 * QtLauncher/main.cpp:
3726 (MainWindow::MainWindow):
3727 * WebCoreSupport/ChromeClientQt.cpp:
3729 2008-04-23 Simon Hausmann <hausmann@webkit.org>
3733 Fix parsing of external scripts/stylesheets when using setHtml(const QString &html).
3735 We used to pass the html string to the frameloader in utf-16, which also meant that the default
3736 encoding of external scripts/stylesheets became utf-16. That doesn't make sense, so assume utf-8
3737 by default. This is now also documented.
3739 * Api/qwebframe.cpp:
3740 (QWebFrame::setHtml):
3743 2008-04-23 Benjamin Meyer <bmeyer@trolltech.com>
3747 Fixes background color propagation when using a custom QWebPage
3749 Set the palette in setPage(), not during the creation on-demand.
3754 (QWebView::setPage):
3756 2008-04-23 Benjamin Meyer <bmeyer@trolltech.com>
3760 Fix the user agent on the mac to be BSD4
3762 Put Q_OS_DARWIN before Q_OS_BSD4 sense they are both defined on the mac
3766 (QWebPage::userAgentForUrl):
3768 2008-04-23 Simon Hausmann <shausman@trolltech.com>
3772 Added missing copyright notice.
3773 Small fixes to the documentation.
3775 * Api/qwebpluginfactory.cpp:
3777 2008-04-23 Zack Rusin <zack@tungstengraphics.com>
3781 Added a contentsSize() property.
3783 * Api/qwebframe.cpp:
3784 (QWebFrame::contentsSize):
3785 (QWebFrame::hitTestContent):
3788 2008-04-22 Benjamin Meyer <bmeyer@trolltech.com>
3792 Fixes: QWebPage's QNetworkManager's can be shared among webpages.
3794 Don't force the deletion of the object, but let QObject take care of it.
3798 2008-04-22 Simon Hausmann <hausmann@webkit.org>
3802 Documentation for QWebPluginFactory and documentation updates for QWebPage.
3805 (QWebPage::setLinkDelegationPolicy):
3806 (QWebPage::linkDelegationPolicy):
3807 (QWebPage::swallowContextMenuEvent):
3808 (QWebPage::updatePositionDependentActions):
3809 (QWebPage::extension):
3810 (QWebPage::networkAccessManager):
3811 * Api/qwebpluginfactory.cpp:
3812 (QWebPluginFactory::QWebPluginFactory):
3813 (QWebPluginFactory::~QWebPluginFactory):
3814 (QWebPluginFactory::refreshPlugins):
3816 2008-04-22 Simon Hausmann <hausmann@webkit.org>
3820 Added QWebPage::swallowContextMenuEvent and QWebPage::updatePositionDependentActions.
3824 (QWebPagePrivate::QWebPagePrivate):
3825 (QWebPagePrivate::mouseReleaseEvent):
3826 (QWebPage::setLinkDelegationPolicy):
3827 (QWebPage::linkDelegationPolicy):
3828 (QWebPage::swallowContextMenuEvent):
3829 (QWebPage::updatePositionDependentActions):
3835 2008-04-22 Simon Hausmann <hausmann@webkit.org>
3839 Added Extension APIs for QWebPage.
3842 (QWebPage::setLinkDelegationPolicy):
3843 (QWebPage::linkDelegationPolicy):
3844 (QWebPage::extension):
3846 * Api/qwebpluginfactory.cpp:
3847 (QWebPluginFactory::extension):
3849 2008-04-22 Tor Arne Vestbø <tavestbo@trolltech.com>
3853 Emit loadProgress() signal on loadStarted().
3856 * WebCoreSupport/FrameLoaderClientQt.cpp:
3857 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
3859 2008-04-22 Zack Rusin <zack@kde.org>
3863 Fix background propagation from the QWebView's palette.
3865 The background brush of the palette needs to be propagated to the WebCore::FrameView.
3867 * Api/qwebframe.cpp:
3868 (QWebFramePrivate::updateBackground):
3869 * Api/qwebframe_p.h:
3871 (QWebPagePrivate::dropEvent):
3872 (QWebPage::setPalette):
3877 (QWebView::changeEvent):
3879 * WebCoreSupport/FrameLoaderClientQt.cpp:
3881 2008-04-22 Benjamin Meyer <bmeyer@trolltech.com>
3887 We have to include a version in the Safari tag in the user-agent.
3890 (QWebPage::userAgentForUrl):
3892 2008-04-22 Tor Arne Vestbø <tavestbo@trolltech.com>
3896 Add visual focusing hint for clear button and
3897 change focus to web page after user enters new URL.
3899 * QtLauncher/main.cpp:
3900 (ClearButton::paintEvent):
3901 (MainWindow::changeLocation):
3903 2008-04-22 Simon Hausmann <hausmann@webkit.org>
3907 Added QWebFrame::hitTestContent() and QWebHitTestResult.
3909 * Api/qwebframe.cpp:
3910 (QWebFrame::hitTestContent):
3912 (QWebHitTestResult::QWebHitTestResult):
3913 (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
3914 (QWebHitTestResult::operator=):
3915 (QWebHitTestResult::~QWebHitTestResult):
3916 (QWebHitTestResult::isNull):
3917 (QWebHitTestResult::pos):
3918 (QWebHitTestResult::title):
3919 (QWebHitTestResult::linkText):
3920 (QWebHitTestResult::linkUrl):
3921 (QWebHitTestResult::linkTitle):
3922 (QWebHitTestResult::linkTargetFrame):
3923 (QWebHitTestResult::alternateText):
3924 (QWebHitTestResult::imageUrl):
3925 (QWebHitTestResult::pixmap):
3926 (QWebHitTestResult::isContentEditable):
3927 (QWebHitTestResult::isContentSelected):
3928 (QWebHitTestResult::frame):
3930 * Api/qwebframe_p.h:
3931 (QWebHitTestResultPrivate::QWebHitTestResultPrivate):
3933 (QWebPagePrivate::contextMenuEvent):
3934 (QWebPage::triggerAction):
3938 2008-04-22 Simon Hausmann <hausmann@webkit.org>
3942 Don't crash if an input method query is done without a page.
3946 (QWebView::inputMethodQuery):
3948 2008-04-22 Simon Hausmann <hausmann@webkit.org>
3952 Added re-implementations of QObject::event for future safety.
3954 This makes it easier to fix bugs with the event handling even in patch releases
3955 and is a general style we follow in Qt.
3958 * Api/qwebframe.cpp:
3964 2008-04-22 Benjamin Meyer <bmeyer@trolltech.com>
3968 Fix construction of the user agent.
3970 The user-agent is now composed of
3971 * the platform and subplatform
3972 * the Qt version or application name and version (if set)
3978 (QWebPage::networkAccessManager):
3979 (QWebPage::setPluginFactory):
3980 (QWebPage::pluginFactory):
3981 (QWebPage::userAgentForUrl):
3982 * QtLauncher/main.cpp:
3984 2008-04-22 Thiago Macieira <tjmaciei@trolltech.com>
3988 Fixes: Pedantic compilation fix
3990 Don't put semi-colons after braces closing namespaces.
3992 * Api/qwebsettings.h:
3994 2008-04-21 Simon Hausmann <hausmann@webkit.org>
3998 Changed the return type of QWebFrame::evaluateJavaScript from a QString to a QVariant.
4000 * Api/qwebframe.cpp:
4001 (QWebFrame::evaluateJavaScript):
4004 2008-04-21 Simon Hausmann <hausmann@webkit.org>
4008 Fixes redundant "Fonts" submenu in default lineedits that has only disabled items.
4010 Don't show sub-menus that have only actions that are disabled.
4013 (QWebPagePrivate::createContextMenu):
4015 2008-04-21 Kavindra Devi Palaraja <kdpalara@trolltech.com>.
4019 Lots of documentation fixes, fixed all qdoc warnings.
4021 * Api/qwebframe.cpp:
4022 (QWebFrame::setTextSizeMultiplier):
4023 * Api/qwebhistoryinterface.cpp:
4024 (gCleanupInterface):
4025 (QWebHistoryInterface::QWebHistoryInterface):
4026 (QWebHistoryInterface::~QWebHistoryInterface):
4028 (QWebPage::inputMethodQuery):
4030 (QWebPage::javaScriptConsoleMessage):
4031 (QWebPage::javaScriptAlert):
4032 (QWebPage::javaScriptConfirm):
4033 (QWebPage::javaScriptPrompt):
4034 (QWebPage::viewportSize):
4035 (QWebPage::acceptNavigationRequest):
4038 (QWebPage::focusNextPrevChild):
4039 (QWebPage::setForwardUnsupportedContent):
4040 (QWebPage::setLinkDelegationPolicy):
4041 (QWebPage::findText):
4042 (QWebPage::settings):
4043 (QWebPage::networkProxy):
4044 (QWebPage::setNetworkAccessManager):
4046 * Api/qwebsettings.cpp:
4047 (QWebSettings::QWebSettings):
4048 (QWebSettings::setIconDatabasePath):
4049 (QWebSettings::iconForUrl):
4050 (QWebSettings::fontFamily):
4055 2008-04-21 Marius Bugge Monsen <mmonsen@trolltech.com>
4059 Fix compile failure on solaris-cc
4061 * Api/qwebpage.h: Removed trailing semicolons and moved the private
4062 d-pointer to not confuse the compiler
4064 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4068 Build fix for Qt 4.3
4070 * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
4071 always defined. Do this by adding defines to the compiler line
4072 * For users of our API this is not feasible. Every public header file should
4073 include qwebkitglobal.h. Define the QT_BEGIN_NAMESPACE and QT_END_NAMESPACE
4074 when we are building everything < 4.4.0 and don't have them defined.
4076 * Api/qwebkitglobal.h:
4078 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4082 * Initialize the WebGraphics with the one found in WebCore
4085 * Api/qwebsettings.cpp:
4086 (QWebSettingsPrivate::apply):
4088 2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4092 * Allow TextAreas to be resized.
4093 * No QWebSettings for this is introduced.
4096 * Api/qwebsettings.cpp:
4097 (QWebSettingsPrivate::apply):
4099 2008-04-21 Simon Hausmann <shausman@trolltech.com>
4103 Fixes: QWebView::url property behaviour strange in designer
4105 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.
4107 * Api/qwebframe.cpp:
4108 (QWebFrame::setUrl):
4114 2008-04-21 Andre Poenitz <andre.poenitz@trolltech.com>
4116 Reviewed by Simon Hausmann <hausmann@webkit.org>.
4118 Fix compilation with Qt namespaces
4120 * Api/qwebframe.cpp:
4124 2008-04-21 Simon Hausmann <hausmann@webkit.org>
4128 When printing on high resolution printers we need to scale the painter accordingly (for now).
4130 * Api/qwebframe.cpp:
4133 2008-04-21 Simon Hausmann <hausmann@webkit.org>
4137 Provide a print preview in the QtLauncher
4139 * QtLauncher/main.cpp:
4140 (MainWindow::MainWindow):
4141 (MainWindow::showLinkHover):
4142 (MainWindow::print):
4144 2008-04-20 Simon Hausmann <hausmann@webkit.org>
4146 Reviewed by Alp Toker.
4148 Share the printing code between the Gtk and the Qt port
4149 and added printing to the Qt WebKit API.
4151 * Api/qwebframe.cpp:
4158 2008-04-19 Julien Chaffraix <jchaffraix@webkit.org>
4160 Qt build fix (renderer() -> contentRenderer()).
4162 * Api/qwebframe.cpp:
4163 (QWebFrame::renderTreeDump):
4164 (QWebFrame::render):
4166 2008-04-18 Simon Hausmann <hausmann@webkit.org>
4170 Many API changes and additions after a full review with Jasmin Blanchette <jasmin@trolltech.com>
4172 The diff is too big to mention the changes individually, but most of the changes were of cosmetic
4173 nature where methods or enums have been renamed or prefixed/suffixed according to the consistency
4174 rules of the Qt API.
4176 * Api/qwebframe.cpp:
4177 (QWebFrame::addToJavaScriptWindowObject):
4178 (QWebFrame::toHtml):
4179 (QWebFrame::toPlainText):
4181 (QWebFrame::setContent):
4182 (QWebFrame::setScrollBarPolicy):
4183 (QWebFrame::render):
4184 (QWebFrame::setTextSizeMultiplier):
4185 (QWebFrame::textSizeMultiplier):
4188 * Api/qwebhistory.cpp:
4189 * Api/qwebhistory.h:
4191 (QWebPagePrivate::QWebPagePrivate):
4192 (QWebPagePrivate::~QWebPagePrivate):
4193 (QWebPagePrivate::acceptNavigationRequest):
4194 (webActionForContextMenuAction):
4195 (QWebPagePrivate::updateAction):
4196 (QWebPagePrivate::keyPressEvent):
4198 (QWebPage::javaScriptPrompt):
4199 (QWebPage::createWindow):
4200 (QWebPage::triggerAction):
4201 (QWebPage::setViewportSize):
4202 (QWebPage::acceptNavigationRequest):
4204 (QWebPage::focusNextPrevChild):
4205 (QWebPage::setForwardUnsupportedContent):
4206 (QWebPage::forwardUnsupportedContent):
4207 (QWebPage::setLinkDelegationPolicy):
4208 (QWebPage::findText):
4209 (QWebPage::networkAccessManager):
4210 (QWebPageContext::imageUrl):
4211 (QWebPageContext::image):
4214 * Api/qwebsettings.cpp:
4215 (QWebSettingsPrivate::apply):
4216 (QWebSettings::QWebSettings):
4217 (QWebSettings::setIconDatabasePath):
4218 (QWebSettings::iconDatabasePath):
4219 (QWebSettings::clearIconDatabase):
4220 (QWebSettings::iconForUrl):
4221 (QWebSettings::setWebGraphic):
4222 (QWebSettings::fontFamily):
4223 (QWebSettings::setAttribute):
4224 (QWebSettings::testAttribute):
4225 (QWebSettings::resetAttribute):
4226 * Api/qwebsettings.h:
4228 (QWebView::setPage):
4230 (QWebView::setTextSizeMultiplier):
4231 (QWebView::textSizeMultiplier):
4232 (QWebView::findText):
4234 (QWebView::mouseMoveEvent):
4236 * QtLauncher/main.cpp:
4237 (MainWindow::MainWindow):
4239 * WebCoreSupport/ChromeClientQt.cpp:
4240 (WebCore::ChromeClientQt::ChromeClientQt):
4241 (WebCore::ChromeClientQt::setWindowRect):
4242 (WebCore::ChromeClientQt::toolbarsVisible):
4243 (WebCore::ChromeClientQt::setStatusbarVisible):
4244 (WebCore::ChromeClientQt::statusbarVisible):
4245 (WebCore::ChromeClientQt::setScrollbarsVisible):
4246 (WebCore::ChromeClientQt::setResizable):
4247 (WebCore::ChromeClientQt::scrollBackingStore):
4248 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4249 (WebCore::ChromeClientQt::setToolTip):
4250 * WebCoreSupport/ChromeClientQt.h:
4251 * WebCoreSupport/FrameLoaderClientQt.cpp:
4252 (WebCore::FrameLoaderClientQt::setFrame):
4253 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
4254 (WebCore::FrameLoaderClientQt::setMainDocumentError):
4255 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
4256 (WebCore::FrameLoaderClientQt::createFrame):
4257 (WebCore::FrameLoaderClientQt::objectContentType):
4258 * WebCoreSupport/FrameLoaderClientQt.h:
4259 * WebCoreSupport/InspectorClientQt.cpp:
4261 2008-04-18 Simon Hausmann <hausmann@webkit.org>
4265 Added QWebView::find/QWebFrame::find.
4268 (QWebPage::focusNextPrevChild):
4275 2008-04-15 Ariya Hidayat <ariya.hidayat@trolltech.com>
4279 fix potential crash when loading image(s)
4281 Crash may occur. If compiled with 4.3, the variable is not initialized.
4282 This fix solves https://bugs.webkit.org/show_bug.cgi?id=17174
4285 (QWebPagePrivate::QWebPagePrivate):
4287 2008-04-15 Simon Hausmann <hausmann@webkit.org>
4291 Update the micro focus for input methods as soon as the composition mode changes
4292 or the caret/selection changes.
4298 (QWebView::setPage):
4299 * WebCoreSupport/EditorClientQt.cpp:
4300 (WebCore::EditorClientQt::respondToChangedSelection):
4301 (WebCore::EditorClientQt::setInputMethodState):
4303 2008-04-15 Simon Hausmann <hausmann@webkit.org>
4307 Don't use QDir, QString or any locale sensitive function before constructing Q(Core)Application,
4308 it yields undefined behaviour or wrong default codec initialization.
4311 * QtLauncher/main.cpp:
4312 (WebPage::createWindow):
4314 2008-04-15 Olivier Goffart <ogoffart@trolltech.com>
4318 Fixes: copy to clipboard when selecting, and paste when clicking with the middle button
4321 (QWebPagePrivate::mouseReleaseEvent): If the clipboard supports
4322 selections then we support copy & paste into the selection.
4324 2008-04-15 Michael Brasser <michael.brasser@trolltech.com>
4328 Add basic input method support.
4332 (QWebPagePrivate::dropEvent):
4333 (QWebPagePrivate::inputMethodEvent):
4334 (QWebPage::inputMethodQuery):
4339 (QWebView::QWebView):
4340 (QWebView::inputMethodQuery):
4341 (QWebView::inputMethodEvent):
4343 * WebCoreSupport/EditorClientQt.cpp:
4344 (WebCore::EditorClientQt::setInputMethodState):
4346 2008-04-15 Simon Hausmann <hausmann@webkit.org>
4350 Added (QWebFrame|QWebView)::textZoomFactor.
4353 * Api/qwebframe.cpp:
4354 (QWebFrame::setTextZoomFactor):
4355 (QWebFrame::textZoomFactor):
4358 (QWebView::setTextZoomFactor):
4359 (QWebView::textZoomFactor):
4362 2008-04-15 Michael Brasser <michael.brasser@trolltech.com>
4366 Added simple scrolling API to QWebFrame.
4368 The intent is that it works similar to QAbstractScrollArea.
4371 * Api/qwebframe.cpp:
4372 (QWebFrame::setScrollBarValue):
4373 (QWebFrame::scrollBarValue):
4374 (QWebFrame::scrollBarMaximum):
4375 (QWebFrame::scrollBarMinimum):
4378 2008-04-15 Olivier Goffart <ogoffart@trolltech.com>
4382 Fixes: implement the OpenFrameInNewWindow action.
4386 (QWebPage::triggerAction):
4388 2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
4392 Fix compilation with Qt namespaces
4394 Qt can be configured to have all of its classes inside a specified namespaces.
4395 This is for example used in plugin/component environments like Eclipse.
4397 This change makes it possible to let the Qt port compile against a namespaced
4398 Qt by the use of macros Qt provides to properly forward declare Qt classes in
4404 * Api/qwebpluginfactory.h:
4405 * Api/qwebsettings.h:
4408 2008-04-05 Olivier Goffart <ogoffart@trolltech.com>
4412 Fixes: Right clicking an image and choosing "copy image" doesnt put anything in the clipboard.
4416 (QWebPage::triggerAction):
4418 2008-04-05 Olivier Goffart <ogoffart@trolltech.com>
4422 Fixes: Right click, and "Open image" open the link instead of the image.
4427 2008-04-05 Benjamin Meyer <bmeyer@trolltech.com>
4431 Added doc stub for QWebSettings so class docs are generated
4434 * Api/qwebsettings.cpp:
4435 (QWebSettings::QWebSettings):
4437 2008-04-05 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4441 * Propose the addition of updateRequest and scrollRequest to the QWebPage.
4443 * The question is if these signals belong to QWebPage or QWebFrame.
4444 -It is more easy to have them in QWebPage because ScrollView is invoking
4445 the ChromeClient with the right coordinates
4446 -On the other hand someone wants to render frames separately. But this is partly
4447 doomed as you can have overlapping frames and what you paint would not relate to
4448 what you normally see on webpages.
4453 * WebCoreSupport/ChromeClientQt.cpp:
4454 (WebCore::ChromeClientQt::scrollBackingStore):
4455 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
4457 2008-04-03 Simon Hausmann <hausmann@webkit.org>
4459 Reviewed by Mark Rowe.
4461 Roll out r31599 and r31605 again after discussion with Mark Rowe.
4463 * Api/qwebframe.cpp:
4465 * Api/qwebsettings.cpp:
4466 (QWebSettings::iconForUrl):
4468 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4472 * Change IconDatabase::iconForPageURL to return more information. E.g. if
4473 an image has been found, or if the loading of an image has been scheduled.
4474 * Update FrameLoader to use another method to trigger reading from disk
4475 * Update the QWebFrame and QWebSettings
4477 * Api/qwebframe.cpp:
4479 * Api/qwebsettings.cpp:
4480 (QWebSettings::iconForUrl):
4482 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4486 * Safari is using the IconDatabase the following way (assumption). Before they
4487 call iconDatabase()->open they "retain" all URLs they are interested in, these
4488 could come from the history.
4489 * When opening the iconDatabase() a thread will be started that is going to import
4490 the URLs, all none manually retained URLs are scheduled for removal. The removal
4491 is going to happen when the next icon gets stored in the database.
4492 * We do not have any IconDatabase code, we can not retain the URLs before opening the
4493 database. To disable the automatic pruning of the icons we will ask the IconDatabase
4494 to delay this operation. This means our IconDatabase, when used, will grow, so we should
4495 try to have a IconDatabase class in 4.4.
4496 * The only way to counter the growth is a call to QWebSettings::clearIconDatabase
4499 * Api/qwebsettings.cpp:
4500 (QWebSettings::clearIconDatabase):
4501 * Api/qwebsettings.h:
4503 2008-04-03 Benjamin Meyer <bmeyer@trolltech.com>
4507 Add a way to get the site icon for a url
4508 static QPixmap iconForUrl(const QUrl &url);
4511 * Api/qwebsettings.cpp:
4512 (QWebSettings::iconForUrl):
4513 * Api/qwebsettings.h:
4515 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4519 * Update the Copyright info in QWebSettings
4522 * Api/qwebsettings.cpp:
4523 * Api/qwebsettings.h:
4525 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4529 * The isEmpty check is not needed anymore with the earlier backport
4532 * Api/qwebframe.cpp:
4535 2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4539 * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
4540 is not exporting enough to create the output in DRT itself. Settle with the approach
4541 Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
4542 * run-webkit-tests http/tests(/loading) can now be executed.
4543 * For tests in loading/ directories we are going to throw away the dirty
4544 QWebPage to start with something clean.
4547 * WebCoreSupport/FrameLoaderClientQt.cpp:
4548 (qt_dump_frame_loader):
4549 (drtDescriptionSuitableForTestResult):
4550 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
4551 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
4552 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
4553 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
4554 (WebCore::FrameLoaderClientQt::dispatchWillClose):
4555 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
4556 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
4557 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
4558 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
4559 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
4560 (WebCore::FrameLoaderClientQt::registerForIconNotification):
4561 (WebCore::FrameLoaderClientQt::setMainDocumentError):
4562 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
4564 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4568 * Export the PageCache and Cache capacity call one to one. This is only there
4569 to allow the QtLauncher to play with caching.
4570 * TODO: make API decisions and consider following the windows Api to set a WebCacheModel
4571 and determine certain values automatically.
4574 * Api/qwebsettings.cpp:
4575 (QWebSettings::setPageCacheCapacity):
4576 (QWebSettings::setObjectCacheCapacities):
4577 * Api/qwebsettings.h:
4578 * QtLauncher/main.cpp:
4580 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4584 Prepapre everything for enabling the PageCache for the Qt Platform:
4585 * Claim that we can cache pages
4586 * Create the FrameView FrameLoaderClientQt::transitionToCommittedForNewPage using
4587 the initial size of the viewport and stop creating it in the QWebFramePrivate::init
4589 Differences to the Windows port:
4590 * attachToWindow/detachFromWindow is not called and is not (yet) part
4591 of Widget/ScrollView of the Qt platform. We might need that for plugin
4592 support in the future.
4593 * We store the margin's and scrolling flag inside QWebFrame and use it when
4594 creating the FrameView.
4597 * API to call pageCache()->setCapacity(XYZ);
4600 * Api/qwebframe.cpp:
4601 (QWebFramePrivate::init):
4602 * Api/qwebframe_p.h:
4603 (QWebFramePrivate::QWebFramePrivate):
4605 (QWebPagePrivate::createMainFrame):
4606 * WebCoreSupport/FrameLoaderClientQt.cpp:
4607 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
4608 (WebCore::FrameLoaderClientQt::blockedError):
4610 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4614 * For the PageCache support we do not want to create a FrameView in the constructor
4615 of QWebFrame. In QWegPage::viewportSize() we currently call mainFrame() and that will
4616 create a QWebFrame if no mainFrame is present and this gets called when we try to
4617 create a FrameView...
4618 * Keep a copy of the initial viewportSize around and use it if we do not have a Frame
4623 (QWebPagePrivate::QWebPagePrivate):
4624 (QWebPage::triggerAction):
4627 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4631 * Always return true in FrameLoaderClientQt::shouldGoToHistoryItem, like the windows port
4633 * WebCoreSupport/FrameLoaderClientQt.cpp:
4636 2008-04-02 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4640 * Attempt to make the m_webFrame null pointer checking consistent. Always check for
4641 m_webFrame. It should get set by the QWebFrame with the FramerLoaderClientQt::setFrame
4642 call and should stay valid until the destruction of the QWebFrame.
4643 * Currently the same checking is not needed for m_frame as it will only set to 0 in
4644 FrameLoaderClientQt::frameLoaderDestroyed and should be not 0 because of the setFrame
4648 * WebCoreSupport/FrameLoaderClientQt.cpp:
4649 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
4650 (WebCore::FrameLoaderClientQt::setMainDocumentError):
4651 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
4652 (WebCore::FrameLoaderClientQt::objectContentType):
4653 (WebCore::FrameLoaderClientQt::createPlugin):
4655 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4659 * Get the RefCounting of WebCore::Frame right and make sure that both QWebFrame
4660 and WebCore::Frame get destroyed if we leave site with subframes and on the
4661 end of the application.
4662 * Use adoptRef in FrameLoaderClientQt::createFrame to get the refs right for subframes. We
4663 do not want to add an extra reference. Without this we are leaking subframes.
4664 * Assume that the lifetime of a Frame and FrameLoader are the same, when the Frame is gone
4665 we want to destroy the QWebFrame (e.g. on a page with subframes). Add delete m_webFrame
4666 in the frameLoaderDestroyed method to do that.
4667 * If we happen to delete the QWebFrame before the FrameLoaderClientQt we set m_webFrame to
4668 zero in the FrameLoaderClientQt to avoid bad things.
4671 * Api/qwebframe.cpp:
4672 (QWebFrame::~QWebFrame):
4673 * WebCoreSupport/FrameLoaderClientQt.cpp:
4674 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
4675 (WebCore::FrameLoaderClientQt::objectContentType):
4676 * WebCoreSupport/FrameLoaderClientQt.h:
4678 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4682 * Do not save a RefPtr to the frame. The FrameLoaderClient, Frame and
4683 QWebFrame should have the same lifetime everything else is a leak
4686 * Api/qwebframe.cpp:
4687 (QWebFramePrivate::init):
4688 * Api/qwebframe_p.h:
4689 * WebCoreSupport/FrameLoaderClientQt.cpp:
4691 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4695 * Do not store the QWebFrame associated with a ScrollView/FrameView
4696 in the WebCore::Widget.
4697 * Instead of asking the Widget for the QWebFrame use the QWebFramePrivate::core
4698 and QWebFramePrivate::kit function to convert from and to QWebFrame.
4701 * Api/qwebframe.cpp:
4702 (QWebFramePrivate::init):
4704 (QWebPagePrivate::createMainFrame):
4706 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4710 * Do not store the FrameView in the QWebFrame and cope with the situation when
4711 a WebCore::Frame has no WebCore::FrameView.
4714 * Api/qwebframe.cpp:
4715 (QWebFramePrivate::init):
4716 (QWebFramePrivate::horizontalScrollBar):
4717 (QWebFramePrivate::verticalScrollBar):
4718 (QWebFrame::innerText):
4719 (QWebFrame::renderTreeDump):
4720 (QWebFrame::setVerticalScrollBarPolicy):
4721 (QWebFrame::setHorizontalScrollBarPolicy):
4722 (QWebFrame::render):
4723 (QWebFrame::layout):
4725 * Api/qwebframe_p.h:
4726 (QWebFramePrivate::QWebFramePrivate):
4728 (QWebPagePrivate::updateEditorActions):
4729 (QWebPagePrivate::mouseMoveEvent):
4730 (QWebPagePrivate::mousePressEvent):
4731 (QWebPagePrivate::mouseDoubleClickEvent):
4732 (QWebPagePrivate::contextMenuEvent):
4733 (QWebPagePrivate::wheelEvent):
4734 (QWebPage::triggerAction):
4735 * WebCoreSupport/FrameLoaderClientQt.cpp:
4737 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4741 * Change the order of the methods to match with the FrameLoaderClient.h to ease
4742 removing methods in the future.
4744 * WebCoreSupport/FrameLoaderClientQt.h:
4746 2008-04-01 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4750 * Remove virtuals in the FrameLoaderClientQt that don't exist in the base class.
4752 * WebCoreSupport/FrameLoaderClientQt.cpp:
4753 (WebCore::FrameLoaderClientQt::detachedFromParent4):
4754 * WebCoreSupport/FrameLoaderClientQt.h:
4756 2008-03-25 Brady Eidson <beidson@apple.com>
4760 Remove newly obsolete FrameLoaderClient methods
4762 * WebCoreSupport/FrameLoaderClientQt.cpp:
4763 * WebCoreSupport/FrameLoaderClientQt.h:
4765 2008-03-22 Mark Rowe <mrowe@apple.com>
4769 * WebCoreSupport/FrameLoaderClientQt.cpp:
4772 2008-03-18 Simon Hausmann <hausmann@webkit.org>
4776 Fix the Qt build. Don't return void in non-void functions.
4778 * Api/qwebpluginfactory.cpp:
4779 (QWebPluginFactory::extension):
4781 2008-03-16 Thiago Macieira <thiago.macieira@trolltech.com>
4785 Don't use RefPtr in classes you haven't seen the implementation of.
4787 Forward-declaration and declaration of RefPtr<Foo> is ok. But you
4788 cannot *use* said objects until Foo is defined. This is true even for
4789 initialisation with a 0.
4791 Seems the HP aCC compiler is more strict here than gcc.
4793 * Api/qwebframe_p.h:
4795 2008-03-14 Simon Hausmann <hausmann@webkit.org>
4799 * Api/qwebframe.cpp:
4800 (QWebFrame::setHtml):
4801 (QWebFrame::setContent):
4803 2008-03-13 Simon Hausmann <hausmann@webkit.org>
4807 * Api/qwebframe.cpp:
4808 (QWebFrame::addToJSWindowObject):
4810 2008-03-12 Simon Hausmann <hausmann@webkit.org>
4812 Fix compilation against Qt 4.3
4818 2008-03-11 Rodney Dawes <dobey@wayofthemonkey.com>
4822 * WebCoreSupport/FrameLoaderClientQt.cpp:
4823 (FrameLoaderClientQt::CreatePlugin):
4825 2008-03-11 Simon Hausmann <hausmann@webkit.org>
4827 Fix the Qt build (silly typo).
4829 * QtLauncher/main.cpp:
4830 (MainWindow::MainWindow):
4832 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
4836 Moved obscuring progress bar to the lower right corner.
4838 * QtLauncher/main.cpp:
4839 (MainWindow::MainWindow):
4840 (MainWindow::resizeEvent):
4842 2008-03-11 Tor Arne Vestbø <tavestbo@trolltech.com>
4846 Added reload action and grouped stop and reload actions together.
4848 * QtLauncher/main.cpp:
4849 (MainWindow::MainWindow):
4851 2008-03-11 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4855 * Set a Icon on the QAction if we have one.
4860 2008-03-11 Simon Hausmann <hausmann@webkit.org>
4864 * Api/qwebframe.cpp:
4865 (QWebFrame::addToJSWindowObject):
4867 2008-03-07 Simon Hausmann <hausmann@webkit.org>
4869 Reviewed by Darin Adler.
4873 Replaced the QWebObjectPlugin interfaces with QWebPluginFactory.
4875 * Api/qwebnetworkinterface.cpp:
4876 (QWebNetworkManager::add):
4877 (QWebNetworkManager::cancel):
4878 (QWebNetworkManager::started):
4879 (QWebNetworkManager::data):
4880 (QWebNetworkManager::finished):
4881 * Api/qwebnetworkinterface_p.h:
4882 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
4883 * Api/qwebobjectplugin.cpp: Removed.
4884 * Api/qwebobjectplugin.h: Removed.
4885 * Api/qwebobjectplugin_p.h: Removed.
4886 * Api/qwebobjectpluginconnector.cpp: Removed.
4887 * Api/qwebobjectpluginconnector.h: Removed.
4889 (QWebPagePrivate::QWebPagePrivate):
4890 (QWebPage::setPluginFactory):
4891 (QWebPage::pluginFactory):
4894 * Api/qwebpluginfactory.cpp: Added.
4895 (QWebPluginFactory::QWebPluginFactory):
4896 (QWebPluginFactory::~QWebPluginFactory):
4897 (QWebPluginFactory::refreshPlugins):
4898 (QWebPluginFactory::extension):
4899 * Api/qwebpluginfactory.h: Added.
4901 * WebCoreSupport/FrameLoaderClientQt.cpp:
4902 (WebCore::FrameLoaderClientQt::objectContentType):
4903 (WebCore::FrameLoaderClientQt::createPlugin):
4905 2008-03-07 Simon Hausmann <hausmann@webkit.org>
4909 * Api/qwebframe.cpp:
4911 2008-03-04 Sam Weinig <sam@webkit.org>
4913 Reviewed by Mark Rowe.
4915 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
4918 * Api/qwebframe.cpp:
4919 (QWebFrame::addToJSWindowObject):
4921 2008-03-04 Mark Rowe <mrowe@apple.com>
4923 Another go at fixing the Qt build.
4925 * Api/qwebframe.cpp:
4926 (QWebFrame::addToJSWindowObject):
4928 2008-02-24 Darin Adler <darin@apple.com>
4932 - remove separate client calls for "standard" and "reload' history
4934 * WebCoreSupport/FrameLoaderClientQt.cpp:
4935 (WebCore::FrameLoaderClientQt::updateGlobalHistory):
4936 * WebCoreSupport/FrameLoaderClientQt.h:
4938 2008-02-24 Darin Adler <darin@apple.com>
4940 - another try at fixing the build
4942 * Api/qwebframe.cpp:
4943 (QWebFrame::load): Replace new FormData with FormData::create.
4945 2008-02-22 Sam Weinig <sam@webkit.org>
4949 * Api/qwebhistoryinterface.cpp:
4951 2008-02-22 Sam Weinig <sam@webkit.org>
4953 Rubber-stamped by Adam Roben.
4955 Rid the project of the Devil known as DeprecatedString!
4957 * Api/qwebhistory.cpp:
4958 * Api/qwebhistoryinterface.cpp:
4960 2008-02-18 Darin Adler <darin@apple.com>
4964 * Api/qwebnetworkinterface.cpp:
4965 (QWebNetworkRequestPrivate::init): Removed use of DeprecatedString.
4967 2008-01-24 David Boddie <dboddie@trolltech.com>
4971 Documentation tidying.
4974 * Api/qwebframe.cpp:
4975 * Api/qwebhistoryinterface.cpp:
4978 2008-01-24 Jarek Kobus <jkobus@trolltech.com>
4982 Text for translations were used wrongly as comments
4985 * WebCoreSupport/FrameLoaderClientQt.cpp:
4987 (WebCore::FrameLoaderClientQt::cannotShowURLError):
4988 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
4989 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
4990 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
4991 (WebCore::FrameLoaderClientQt::shouldFallBack):
4993 2008-01-24 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
4997 * We have a KURL->QUrl conversion on KURL itself, make use of it.
4998 * This conversion is supposed to be loss-free
5001 * Api/qwebframe.cpp:
5003 2008-01-23 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5005 * Rubber stamped by Simon
5007 * Fix leaking of sub frames (WebCore::Frame). We keep one reference too many.
5008 This was found while working on the page-cache, other ports are not affected.
5010 * WebCoreSupport/FrameLoaderClientQt.cpp:
5011 (WebCore::FrameLoaderClientQt::createFrame):
5013 2008-01-23 Rohan McGovern <rohan.mcgovern@trolltech.com>
5015 Reviewed by Simon Hausmann <hausmann@webkit.org>.
5017 Fix Qtopia compilation with QT_NO_TOOLTIP
5020 * WebCoreSupport/ChromeClientQt.cpp:
5021 (WebCore::ChromeClientQt::print):
5023 2008-01-23 Geir Vattekar <gvatteka@trolltech.com>
5027 Doc: Replaced \code with snippets in the docs
5032 2008-01-23 Benjamin Meyer <bmeyer@trolltech.com>
5036 Tweak key presses even to match commonly expected behavior
5037 - space key == page down
5038 - page down moved down not a page, but slightly less then a page so you don't loose your spot when reading.
5039 - Use font height rather then a hard coded "10" for left, right, up, down
5040 - Ctrl-Up moves to the top of the page
5041 - Ctrl-Down move to the bottom of the page
5042 - Backspace == GoBack
5043 - Shift-Backspace == GoForward
5047 (dropActionToDragOp):
5048 (dragOpToDropAction):
5049 (QWebPagePrivate::keyPressEvent):
5051 2008-01-23 Simon Hausmann <hausmann@webkit.org>
5055 Implemented FrameLoaderClient::startDownload() and FrameLoaderClient::download().
5057 Added two signals to QWebPage to handle downloading of links and handling of
5058 unsupported content.
5062 (QWebPage::triggerAction):
5064 * WebCoreSupport/FrameLoaderClientQt.cpp:
5065 (WebCore::FrameLoaderClientQt::download):
5066 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
5067 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
5068 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
5069 (WebCore::FrameLoaderClientQt::willUseArchive):
5071 2008-01-22 Lars Knoll <lars@trolltech.com>
5075 setup a family for cursive and fantasy fonts as well.
5078 * Api/qwebsettings.cpp:
5079 (QWebSettings::QWebSettings):
5081 2008-01-22 Benjamin Meyer <bmeyer@trolltech.com>
5085 Implement ChromeClientQt::setToolTip
5086 Implement ChromeClientQt::mouseDidMoveOverElement
5091 * WebCoreSupport/ChromeClientQt.cpp:
5092 (WebCore::ChromeClientQt::ChromeClientQt):
5093 (WebCore::ChromeClientQt::focus):
5094 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
5095 (WebCore::ChromeClientQt::setToolTip):
5096 (WebCore::ChromeClientQt::print):
5097 * WebCoreSupport/ChromeClientQt.h:
5099 2008-01-21 Darin Adler <darin@apple.com>
5101 Reviewed by John Sullivan.
5103 - updated for changes to ChromeClient database functions
5105 * WebCoreSupport/ChromeClientQt.cpp:
5106 (WebCore::ChromeClientQt::exceededDatabaseQuota):
5107 * WebCoreSupport/ChromeClientQt.h:
5109 2008-01-21 Benjamin Meyer <bmeyer@trolltech.com>
5113 Change QWebHistoryInterface::addHistoryEntry() from const to non-const
5116 * Api/qwebhistoryinterface.h:
5118 2008-01-21 Adam Treat <adam.treat@torchmobile.com>
5122 * Don't leak the d-pointer in QWebSettings.
5125 * Api/qwebsettings.cpp:
5126 (QWebSettings::~QWebSettings):
5128 2008-01-21 Simon Hausmann <hausmann@webkit.org>
5132 Update the WebKit version number from WebKit/win/WebKit.vcproj/VERSION.
5134 This has the fortunate side-effect that gmail sends us sensible HTML/JS again :)
5139 2008-01-21 Simon Hausmann <hausmann@webkit.org>
5143 Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
5145 * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
5146 * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
5147 and make the return value depend on whether we successfully determined a focusable
5149 * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
5150 if we could not handle the focus chain ourselves.
5151 * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
5152 * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
5153 used to control the situation of stepping out of the focus chain inside the page.
5154 * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
5155 The layout tests expect this to be disabled but for the user it seems sensible to have it
5156 on by default, hence the default in qwebsettings.cpp
5160 (QWebPage::focusNextPrevChild):
5161 * Api/qwebsettings.cpp:
5162 (QWebSettings::QWebSettings):
5163 * Api/qwebsettings.h:
5165 (QWebView::QWebView):
5166 (QWebView::focusNextPrevChild):
5167 * WebCoreSupport/ChromeClientQt.cpp:
5168 (WebCore::ChromeClientQt::canTakeFocus):
5169 (WebCore::ChromeClientQt::takeFocus):
5171 2008-01-18 Simon Hausmann <hausmann@webkit.org>
5175 Coding style fixes and added a comment about the include order.
5179 2008-01-18 Marius Storm-Olsen <marius@trolltech.com>
5181 Reviewed by Simon Hausmann <hausmann@webkit.org>.
5183 Add use of precompiled header, when building inside Qt.
5185 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.
5188 * WebKit_pch.h: Added.
5190 2008-01-18 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5194 * Ask the WebCore::IconDatabase only if our URL is not empty. Otherwise
5195 we will see a crash in a HashSet.
5196 * It is crashing there because the StringImpl of an empty String is 0.
5197 * We avoid this crash by checking for isEmpty() in WebKit as there is no
5198 use to ask the iconDatabase for an empty string. We will fallback to the
5202 * Api/qwebframe.cpp:
5205 2008-01-17 Simon Hausmann <hausmann@webkit.org>
5209 Minor documentation fixes
5212 * Api/qwebframe.cpp:
5215 2008-01-17 Simon Hausmann <shausman@trolltech.com>
5219 Fix form elements not focusing correctly after the qt widget lost its focus.
5221 When receiving a focus out event notify the focus controller. Otherwise its
5222 m_focusedFrame variable remains unchanged and setFocusedFrame on a focusIn
5223 event shortcuts and doesn't call setActive(true).
5228 2008-01-17 Simon Hausmann <shausman@trolltech.com>
5232 Lots of updates to the documentation.
5235 * Api/qwebframe.cpp:
5236 * Api/qwebhistory.cpp:
5238 (QWebPagePrivate::dropEvent):
5239 (QWebPage::history):
5241 (QWebPage::triggerAction):
5242 (QWebPage::viewportSize):
5243 (QWebPage::navigationRequested):
5246 (QWebPageContext::targetFrame):
5250 2008-01-17 Simon Hausmann <shausman@trolltech.com>
5254 Added a urlChanged signals to QWebFrame and QWebView.
5257 * Api/qwebframe.cpp:
5260 (QWebView::setPage):
5262 * WebCoreSupport/FrameLoaderClientQt.cpp:
5264 2008-01-17 Simon Hausmann <shausman@trolltech.com>
5268 Fixed docs and sanity checks in QWebSettings::setIconDatabaseEnabled
5271 * Api/qwebsettings.cpp:
5272 (QWebSettings::setIconDatabaseEnabled):
5274 2008-01-17 Simon Hausmann <shausman@trolltech.com>
5278 Added QWebView::createWindow() which is forwarded from QWebPage::createWindow() for convenience.
5282 (QWebPage::createWindow):
5284 (QWebView::createWindow):
5287 2008-01-17 Lars Knoll <lars@trolltech.com>
5291 add a 0 pointer check.
5293 Fixes a crash in the demo web browser.
5295 * WebCoreSupport/FrameLoaderClientQt.cpp:
5296 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
5298 2008-01-17 Simon Hausmann <hausmann@webkit.org>
5302 Fix QWebFrame::title().
5304 For the titleChanged() signal we use the documentloader's title. For the property we have to use the same
5305 instead of Document::title() as the latter is not trimmed and not suited for a window caption.
5308 * Api/qwebframe.cpp:
5311 2008-01-17 Simon Hausmann <hausmann@webkit.org>
5313 Reviewed by Maciej, Lars, Holger.
5315 http://bugs.webkit.org/show_bug.cgi?id=16589
5317 Add a document parameter to WebCore::cookies, setCookies and cookiesEnabled.
5319 * Api/qwebnetworkinterface.cpp:
5320 (QWebNetworkRequestPrivate::init):
5321 (QWebNetworkManager::started):
5323 2008-01-17 Warwick Allison <warwick@trolltech.com>
5325 Reviewed by Simon Hausmann <hausmann@webkit.org>.
5327 Follow QWidget::keyPressEvent advice and call parents.
5329 Without this, Back does not work in Qtopia, for example.
5333 (QWebView::keyPressEvent):
5334 (QWebView::keyReleaseEvent):
5336 2008-01-17 Simon Hausmann <hausmann@webkit.org>
5340 Fix compilation against Qt 4.3 after the recent KURL <> QUrl conversion fixes.
5342 * Api/qwebnetworkinterface.cpp:
5343 (QWebNetworkManager::started):
5345 2008-01-17 Simon Hausmann <shausman@trolltech.com>
5349 Fix compilation against Qt 4.4 without files that are specific for the Qt 4.3 build.
5352 * Api/qwebframe.cpp:
5354 * WebCoreSupport/FrameLoaderClientQt.cpp:
5356 2008-01-17 Lincoln Ramsay <lincoln.ramsay@trolltech.com>
5358 Reviewed by Simon Hausmann <hausmann@webkit.org>.
5360 Fixes compilation with QT_NO_DRAGANDDROP
5366 (QWebView::dragEnterEvent):
5367 (QWebView::dragLeaveEvent):
5368 (QWebView::dragMoveEvent):
5369 (QWebView::dropEvent):
5371 2008-01-17 Simon Hausmann <hausmann@webkit.org>
5375 Fix compilation, removed obsolete privateBrowsingEnabled() method.
5377 * WebCoreSupport/FrameLoaderClientQt.cpp:
5379 2008-01-16 Lars Knoll <lars@trolltech.com>
5381 Reviewed by Simon Hausmann <simon.hausmann@trolltech.com>.
5383 Removed a whole bunch of notImplemented() warnings.
5385 I don't want to hide the real warnings in lots of things that
5386 I am by now pretty certain we won't need.
5389 * WebCoreSupport/FrameLoaderClientQt.cpp:
5390 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
5391 (WebCore::FrameLoaderClientQt::canShowMIMEType):
5393 2008-01-16 Simon Hausmann <hausmann@webkit.org>
5397 Fix crash when bringing up the context menu on maps.google.com.
5399 If the website provides its own context menu then we don't have a ContextMenu pointer.
5403 (QWebPagePrivate::contextMenuEvent):
5405 2008-01-16 Simon Hausmann <hausmann@webkit.org>
5409 Don't crash when receiving all sorts of events on a default constructed QWebView without a page.
5412 (QWebView::mouseMoveEvent):
5413 (QWebView::mousePressEvent):
5414 (QWebView::mouseDoubleClickEvent):
5415 (QWebView::mouseReleaseEvent):
5416 (QWebView::contextMenuEvent):
5417 (QWebView::wheelEvent):
5418 (QWebView::keyPressEvent):
5419 (QWebView::keyReleaseEvent):
5420 (QWebView::focusInEvent):
5421 (QWebView::focusOutEvent):
5422 (QWebView::dragEnterEvent):
5423 (QWebView::dragLeaveEvent):
5424 (QWebView::dragMoveEvent):
5425 (QWebView::dropEvent):
5426 (QWebView::focusNextPrevChild):
5428 2008-01-16 Simon Hausmann <hausmann@webkit.org>
5432 Made the url property read-write.
5436 2008-01-16 Simon Hausmann <hausmann@webkit.org>
5440 Don't crash when showing a default initialized QWebView that has no page/frame yet.
5443 (QWebView::paintEvent):
5445 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
5449 Change hoveringOverLink implementation to have less issues.
5451 * Currently we only compare a pointer. In the worst case we
5452 could delete the Element we have pointed to and a new one
5453 gets the same address. But even if that doesn't happen the
5454 WebCore::Element is mutable and JavaScript could change the
5455 URL, Title or Content. So we have to compare all these three
5457 * This does not seem to be a performance impact.
5461 (QWebPagePrivate::mouseMoveEvent):
5464 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
5468 * Move the hoverElement from QWebFrame to QWebPage. As it is
5472 * Api/qwebframe_p.h:
5473 (QWebFramePrivate::QWebFramePrivate):
5475 (QWebPagePrivate::mouseMoveEvent):
5478 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
5482 EventHandler changes/fixes in QWebPage:
5483 -mouse{Press,Move,Release}Event:
5484 Send the event always to the mainFrame of the QWebPage.
5486 -contextMenuEvent, key{Press,Release}Event:
5487 Send the event to the focused frame.
5489 This is following the Windows port and fixes a issue with the
5490 Web Inspector where we were sending the events to a wrong frame.
5492 It is guaranteed that the mainFrame will always have an eventHandler
5493 and frameView set. There is no need to check for this in QWebPage.
5496 * Api/qwebframe.cpp:
5497 (QWebFramePrivate::init):
5498 * Api/qwebframe_p.h:
5499 (QWebFramePrivate::QWebFramePrivate):
5501 (QWebPagePrivate::updateEditorActions):
5502 (QWebPagePrivate::mouseMoveEvent):
5503 (QWebPagePrivate::mousePressEvent):
5504 (QWebPagePrivate::mouseDoubleClickEvent):
5505 (QWebPagePrivate::mouseReleaseEvent):
5506 (QWebPagePrivate::contextMenuEvent):
5507 (QWebPagePrivate::wheelEvent):
5508 (QWebPagePrivate::keyPressEvent):
5509 (QWebPagePrivate::keyReleaseEvent):
5510 (QWebPagePrivate::focusInEvent):
5513 2008-01-16 Holger Freyther <holger.freyther@trolltech.com>
5517 * Add core and kit functions to QWebFramePrivate to convert from
5518 QWebFrame to WebCore::Frame and vice versa.
5521 * Api/qwebframe.cpp:
5522 (QWebFramePrivate::core):
5523 (QWebFramePrivate::kit):
5525 * Api/qwebframe_p.h:
5527 2008-01-16 Lars Knoll <lars@trolltech.com>
5531 add conversion methods from and to QUrl to KURL.
5533 Use them in the places I found at the moment. Fixes a bug
5534 where form data was encoded twice.
5535 Also fix QWebSettings to take a QUrl for the user style sheet
5539 * Api/qwebframe.cpp:
5542 (QWebPage::createPlugin):
5544 (QWebPage::triggerAction):
5545 * Api/qwebsettings.cpp:
5546 (QWebSettingsPrivate::apply):
5547 * Api/qwebsettings.h:
5548 * WebCoreSupport/ChromeClientQt.cpp:
5549 (WebCore::ChromeClientQt::createWindow):
5550 (WebCore::ChromeClientQt::show):
5552 2008-01-16 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5556 * Make the InspectorClientView inherit from QWebView instead of QWidget. This
5557 way paintEvent, mouse{Press,Release}Event and other events get forwarded to
5558 the QWebPage/WebInspector automatically.
5561 * WebCoreSupport/InspectorClientQt.cpp:
5562 (WebCore::InspectorClientWebPage::createWindow):
5563 (WebCore::InspectorClientView::InspectorClientView):
5565 2008-01-10 Maciej Stachowiak <mjs@apple.com>
5569 - remove SecurityOriginData and fold its functionality into SecurityOrigin
5571 * WebCoreSupport/ChromeClientQt.cpp:
5572 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
5573 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
5574 * WebCoreSupport/ChromeClientQt.h:
5576 2008-01-10 Lars Knoll <lars@trolltech.com>
5580 document QWebHistory
5583 * Api/qwebhistory.cpp:
5584 (QWebHistoryItem::QWebHistoryItem):
5585 (QWebHistoryItem::operator=):
5586 (QWebHistoryItem::~QWebHistoryItem):
5587 (QWebHistoryItem::originalUrl):
5588 (QWebHistoryItem::currentUrl):
5589 (QWebHistoryItem::title):
5590 (QWebHistoryItem::icon):
5591 (QWebHistory::canGoBack):
5592 (QWebHistory::canGoForward):
5593 (QWebHistory::goBack):
5594 (QWebHistory::goForward):
5595 (QWebHistory::goToItem):
5596 * Api/qwebhistory.h:
5598 2008-01-10 Simon Hausmann <hausmann@webkit.org>
5602 Make the reset() functions not do anything on the default QWebSettings object.
5605 * Api/qwebsettings.cpp:
5606 (QWebSettings::resetFontSize):
5607 (QWebSettings::resetFontFamily):
5608 (QWebSettings::clearAttribute):
5610 2008-01-10 Lars Knoll <lars@trolltech.com>
5614 rename QWebPageHistory to QWebHistory.
5617 * Api/qwebhistory.cpp: Added.
5618 (QWebHistoryItem::QWebHistoryItem):
5619 (QWebHistoryItem::operator=):
5620 (QWebHistoryItem::~QWebHistoryItem):
5621 (QWebHistoryItem::originalUrl):
5622 (QWebHistoryItem::currentUrl):
5623 (QWebHistoryItem::title):
5624 (QWebHistoryItem::lastVisited):
5625 (QWebHistoryItem::icon):
5626 (QWebHistory::QWebHistory):
5627 (QWebHistory::~QWebHistory):
5628 (QWebHistory::clear):
5629 (QWebHistory::items):
5630 (QWebHistory::backItems):
5631 (QWebHistory::forwardItems):
5632 (QWebHistory::canGoBack):
5633 (QWebHistory::canGoForward):
5634 (QWebHistory::goBack):
5635 (QWebHistory::goForward):
5636 (QWebHistory::goToItem):
5637 (QWebHistory::backItem):
5638 (QWebHistory::currentItem):
5639 (QWebHistory::forwardItem):
5640 (QWebHistory::itemAtIndex):
5641 * Api/qwebhistory.h: Added.
5642 * Api/qwebhistory_p.h: Added.
5643 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
5644 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
5645 (QWebHistoryPrivate::QWebHistoryPrivate):
5646 (QWebHistoryPrivate::~QWebHistoryPrivate):
5648 (QWebPagePrivate::QWebPagePrivate):
5651 * Api/qwebpagehistory.cpp: Removed.
5652 * Api/qwebpagehistory.h: Removed.
5653 * Api/qwebpagehistory_p.h: Removed.
5657 2008-01-10 Simon Hausmann <hausmann@webkit.org>
5661 Documentation for QWebSettings
5664 * Api/qwebsettings.cpp:
5665 (QWebSettings::~QWebSettings):
5666 (QWebSettings::setFontSize):
5667 (QWebSettings::resetFontSize):
5668 (QWebSettings::setUserStyleSheetLocation):
5669 (QWebSettings::userStyleSheetLocation):
5670 (QWebSettings::iconDatabaseEnabled):
5671 (QWebSettings::webGraphic):
5672 (QWebSettings::setFontFamily):
5673 (QWebSettings::resetFontFamily):
5674 (QWebSettings::setAttribute):
5676 2008-01-10 Lars Knoll <lars@trolltech.com>
5680 Document QWebHistoryInterface.
5683 * Api/qwebhistoryinterface.cpp:
5684 (QWebHistoryInterface::defaultInterface):
5685 (QWebHistoryInterface::~QWebHistoryInterface):
5687 2008-01-10 Lars Knoll <lars@trolltech.com>
5691 Documentation for QWebFrame.
5694 * Api/qwebframe.cpp:
5698 (QWebFrame::setHtml):
5699 (QWebFrame::parentFrame):
5700 (QWebFrame::render):
5702 (QWebFrame::geometry):
5704 * Api/qwebframe_p.h:
5706 2008-01-10 Lars Knoll <lars@trolltech.com>
5710 fix the drawing errors that where introduced due to refactoring.
5712 Correctly clip to the rectangle we want to draw in ScrollView::paint().
5715 * Api/qwebframe.cpp:
5716 (QWebFrame::render):
5719 (QWebView::paintEvent):
5720 * WebCoreSupport/ChromeClientQt.cpp:
5721 (WebCore::ChromeClientQt::scrollBackingStore):
5723 2008-01-10 Simon Hausmann <hausmann@webkit.org>
5727 Added a whole bunch of docs for QWebPage and fixed some minor doc glitches in QWebView.
5731 (QWebPagePrivate::dropEvent):
5732 (QWebPage::QWebPage):
5733 (QWebPage::~QWebPage):
5734 (QWebPage::mainFrame):
5735 (QWebPage::currentFrame):
5736 (QWebPage::history):
5737 (QWebPage::setView):
5739 (QWebPage::javaScriptConsoleMessage):
5740 (QWebPage::javaScriptAlert):
5741 (QWebPage::javaScriptConfirm):
5742 (QWebPage::javaScriptPrompt):
5743 (QWebPage::createWindow):
5744 (QWebPage::createModalDialog):
5746 (QWebPage::triggerAction):
5747 (QWebPage::viewportSize):
5748 (QWebPage::navigationRequested):
5749 (QWebPage::selectedText):
5750 (QWebPage::isModified):
5751 (QWebPage::focusNextPrevChild):
5752 (QWebPage::settings):
5753 (QWebPage::networkProxy):
5754 (QWebPage::setNetworkAccessManager):
5755 (QWebPage::networkAccessManager):
5756 (QWebPagePrivate::_q_onLoadProgressChanged):
5759 2008-01-07 Holger Freyther <zecke@selfish.org>
5761 Reviewed by Alp Toker.
5763 * Qt and Gtk must know if a ContextMenuItem is checkable. Add a new ContextMenuItemType for checkable
5765 * Use this information in the Gtk platform to create a GtkCheckMenuItem when needed.
5766 * Update the ContextMenuController to accept CheckableActionTypes as well.
5767 * Change ContextMenu.cpp to use the CheckableActionType. The information if a item is checkable
5768 was extracted from ContextMenu::checkOrEnableIfNeeded.
5769 * Update the Qt and Windows port.
5772 (QWebPagePrivate::createContextMenu):
5774 2008-01-07 Simon Hausmann <hausmann@webkit.org>
5776 Build fix for the Windows build. MSVC wants to see the full
5777 declaration of arguments even when just passing them through.
5781 2008-01-07 Simon Hausmann <hausmann@webkit.org>
5785 Added the missing parameters to make it possible to do POST operations from the public API.
5787 This is ugly though as it also requires including qnetworkaccessmanager.h. It would be nicer if the
5788 two extra arguments were in QNetworkRequest :-/
5791 * Api/qwebframe.cpp:
5798 2008-01-07 Simon Hausmann <hausmann@webkit.org>
5802 Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
5805 * Api/qwebframe.cpp:
5808 * Api/qwebnetworkinterface.cpp:
5809 * Api/qwebnetworkinterface.h:
5810 * Api/qwebnetworkinterface_p.h:
5811 * Api/qwebobjectplugin.cpp:
5812 * Api/qwebobjectplugin.h:
5813 * Api/qwebobjectplugin_p.h:
5814 * Api/qwebobjectpluginconnector.cpp:
5815 * Api/qwebobjectpluginconnector.h:
5817 (QWebPagePrivate::QWebPagePrivate):
5818 (QWebPagePrivate::~QWebPagePrivate):
5819 (QWebPagePrivate::navigationRequested):
5820 (QWebPage::setNetworkInterface):
5821 (QWebPage::networkInterface):
5822 (QWebPage::setNetworkAccessManager):
5823 (QWebPage::networkAccessManager):
5828 * WebCoreSupport/FrameLoaderClientQt.cpp:
5829 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
5830 (WebCore::FrameLoaderClientQt::objectContentType):
5831 (WebCore::FrameLoaderClientQt::createPlugin):
5833 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5837 * Move the QWebPagePrivate methods up to the other private ones
5840 (dropActionToDragOp):
5841 (dragOpToDropAction):
5842 (QWebPagePrivate::mouseMoveEvent):
5843 (QWebPagePrivate::mousePressEvent):
5844 (QWebPagePrivate::mouseDoubleClickEvent):
5845 (QWebPagePrivate::mouseReleaseEvent):
5846 (QWebPagePrivate::contextMenuEvent):
5847 (QWebPagePrivate::wheelEvent):
5848 (QWebPagePrivate::keyPressEvent):
5849 (QWebPagePrivate::keyReleaseEvent):
5850 (QWebPagePrivate::focusInEvent):
5851 (QWebPagePrivate::focusOutEvent):
5852 (QWebPagePrivate::dragEnterEvent):
5853 (QWebPagePrivate::dragLeaveEvent):
5854 (QWebPagePrivate::dragMoveEvent):
5855 (QWebPagePrivate::dropEvent):
5856 (QWebPage::focusNextPrevChild):
5858 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5862 * Add reimplemented comments for the methods reimplemented in QWebView and QWebPage.
5866 (dragOpToDropAction):
5868 (QWebView::mouseMoveEvent):
5869 (QWebView::mousePressEvent):
5870 (QWebView::mouseDoubleClickEvent):
5871 (QWebView::mouseReleaseEvent):
5872 (QWebView::contextMenuEvent):
5873 (QWebView::keyPressEvent):
5874 (QWebView::keyReleaseEvent):
5875 (QWebView::focusInEvent):
5876 (QWebView::focusOutEvent):
5877 (QWebView::dragEnterEvent):
5878 (QWebView::dragLeaveEvent):
5879 (QWebView::dragMoveEvent):
5880 (QWebView::dropEvent):
5882 2008-01-07 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5886 * This layout is not needed anymore as Widget::invalidateRect will not
5891 (QWebView::paintEvent):
5893 2008-01-04 Lars Knoll <lars@trolltech.com>
5897 Remove most dependencies of Widget/ScrollView onto native QWidgets.
5899 This also brings the code closer in line with the Windows code. Seems
5900 to work nicely on first try :)
5903 * WebCoreSupport/ChromeClientQt.cpp:
5904 (WebCore::ChromeClientQt::updateBackingStore):
5905 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
5906 (WebCore::ChromeClientQt::setToolTip):
5907 * WebCoreSupport/FrameLoaderClientQt.cpp:
5908 (WebCore::FrameLoaderClientQt::createPlugin):
5910 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5914 * Remove the todo from QWebPage and move the code to QWebView.
5918 (QWebPagePrivate::wheelEvent):
5919 (QWebPagePrivate::focusInEvent):
5921 (QWebView::wheelEvent):
5922 (QWebView::focusInEvent):
5924 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5928 * Move the various event methods to QWebPagePrivate. This is similar to
5929 QTextControl as well.
5934 (QWebPagePrivate::mouseMoveEvent):
5935 (QWebPagePrivate::mousePressEvent):
5936 (QWebPagePrivate::mouseDoubleClickEvent):
5937 (QWebPagePrivate::mouseReleaseEvent):
5938 (QWebPagePrivate::contextMenuEvent):
5939 (QWebPagePrivate::wheelEvent):
5940 (QWebPagePrivate::keyPressEvent):
5941 (QWebPagePrivate::keyReleaseEvent):
5942 (QWebPagePrivate::focusInEvent):
5943 (QWebPagePrivate::focusOutEvent):
5944 (QWebPage::focusNextPrevChild):
5945 (QWebPagePrivate::dragEnterEvent):
5946 (QWebPagePrivate::dragLeaveEvent):
5947 (QWebPagePrivate::dragMoveEvent):
5948 (QWebPagePrivate::dropEvent):
5952 2008-01-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5956 * Forward the event from QWebView to QWebPage through QObject::event. This
5957 is similar to the way QTextControl is working.
5961 (dragOpToDropAction):
5965 (QWebView::mouseMoveEvent):
5966 (QWebView::mousePressEvent):
5967 (QWebView::mouseDoubleClickEvent):
5968 (QWebView::mouseReleaseEvent):
5969 (QWebView::contextMenuEvent):
5970 (QWebView::wheelEvent):
5971 (QWebView::keyPressEvent):
5972 (QWebView::keyReleaseEvent):
5973 (QWebView::focusInEvent):
5974 (QWebView::focusOutEvent):
5975 (QWebView::dragEnterEvent):
5976 (QWebView::dragLeaveEvent):
5977 (QWebView::dragMoveEvent):
5978 (QWebView::dropEvent):
5981 2008-01-04 Lars Knoll <lars@trolltech.com>
5985 make QWebPage a QObject and get things to compile.
5987 Nothing works currently though.
5990 * Api/qwebobjectpluginconnector.cpp:
5992 (QWebPagePrivate::QWebPagePrivate):
5993 (QWebPagePrivate::createMainFrame):
5994 (QWebPage::QWebPage):
5995 (QWebPage::setView):
5997 (QWebPage::javaScriptAlert):
5998 (QWebPage::javaScriptPrompt):
5999 (dragOpToDropAction):
6000 (QWebPage::mousePressEvent):
6001 (QWebPage::mouseDoubleClickEvent):
6002 (QWebPage::mouseReleaseEvent):
6003 (QWebPage::wheelEvent):
6004 (QWebPage::keyPressEvent):
6005 (QWebPage::focusInEvent):
6009 (QWebView::QWebView):
6010 (QWebView::setPage):
6011 (QWebView::resizeEvent):
6012 (QWebView::paintEvent):
6014 * WebCoreSupport/ChromeClientQt.cpp:
6015 (WebCore::ChromeClientQt::windowRect):
6016 (WebCore::ChromeClientQt::pageRect):
6017 (WebCore::ChromeClientQt::focus):
6018 (WebCore::ChromeClientQt::unfocus):
6019 (WebCore::ChromeClientQt::canTakeFocus):
6020 (WebCore::ChromeClientQt::takeFocus):
6021 (WebCore::ChromeClientQt::canRunModal):
6022 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
6023 * WebCoreSupport/DragClientQt.cpp:
6024 (WebCore::DragClientQt::startDrag):
6025 * WebCoreSupport/FrameLoaderClientQt.cpp:
6026 (WebCore::FrameLoaderClientQt::createPlugin):
6027 * WebCoreSupport/InspectorClientQt.cpp:
6028 (WebCore::InspectorClientWebPage::createWindow):
6029 (WebCore::InspectorClientView::InspectorClientView):
6030 (WebCore::InspectorClientView::page):
6031 (WebCore::InspectorClientView::hideEvent):
6032 (WebCore::InspectorClientView::closeEvent):
6033 (WebCore::InspectorClientQt::createPage):
6034 (WebCore::InspectorClientQt::closeWindow):
6036 2008-01-04 Simon Hausmann <hausmann@webkit.org>
6040 Added some preliminary class documentation for QWebView, fixed a missing const() and some missing Q_PROPERTYs
6044 (QWebView::setHtml):
6045 (QWebView::setContent):
6046 (QWebView::history):
6047 (QWebView::settings):
6049 (QWebView::triggerAction):
6051 (QWebView::backward):
6052 (QWebView::forward):
6056 2008-01-04 Lars Knoll <lars@trolltech.com>
6060 add a viewportSize to QWebPage.
6062 This is required to eventually make it a QObject only.
6066 (QWebPage::triggerAction):
6067 (QWebPage::viewportSize):
6068 (QWebPage::setViewportSize):
6071 2008-01-04 Lars Knoll <lars@trolltech.com>
6075 take a QString as identifier in QWebFrame::addToJSWindowObject.
6077 * Api/qwebframe.cpp:
6078 (QWebFrame::addToJSWindowObject):
6081 2008-01-04 Simon Hausmann <hausmann@webkit.org>
6085 Call the frame arguments for the javascript callbacks "originatingFrame"
6090 2008-01-04 Simon Hausmann <hausmann@webkit.org>
6094 Moved the QWebPage::addToHistory signal into QWebHistoryInterface
6097 * Api/qwebhistoryinterface.h:
6099 * WebCoreSupport/FrameLoaderClientQt.cpp:
6100 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
6102 2008-01-04 Lars Knoll <lars@trolltech.com>
6106 moved title(), url(), icon() and initialLayoutComplete() from QWebPage to QWebFrame
6108 * Api/qwebframe.cpp:
6111 (QWebFrame::setVerticalScrollBarPolicy):
6114 (QWebPage::javaScriptAlert):
6115 (QWebPage::javaScriptPrompt):
6116 (QWebPage::networkInterface):
6122 * WebCoreSupport/FrameLoaderClientQt.cpp:
6124 2008-01-03 Simon Hausmann <hausmann@webkit.org>
6128 Moved QWebPage::open to QWebFrame::load and added setHtml.
6131 * Api/qwebframe.cpp:
6133 (QWebFrame::setHtml):
6134 (QWebFrame::setContent):
6140 (QWebView::setHtml):
6142 * WebCoreSupport/ChromeClientQt.cpp:
6143 (WebCore::ChromeClientQt::createWindow):
6144 * WebCoreSupport/InspectorClientQt.cpp:
6145 (WebCore::InspectorClientQt::createPage):
6147 2008-01-03 Simon Hausmann <hausmann@webkit.org>
6151 Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
6157 (QWebPagePrivate::createMainFrame):
6159 * Api/qwebpagehistory.h:
6160 * Api/qwebview.cpp: Added.
6161 (QWebView::QWebView):
6162 (QWebView::~QWebView):
6164 (QWebView::setPage):
6166 (QWebView::setHtml):
6167 (QWebView::history):
6168 (QWebView::settings):
6172 (QWebView::selectedText):
6174 (QWebView::triggerAction):
6175 (QWebView::isModified):
6176 (QWebView::textInteractionFlags):
6177 (QWebView::setTextInteractionFlags):
6178 (QWebView::sizeHint):
6180 (QWebView::backward):
6181 (QWebView::forward):
6183 * Api/qwebview.h: Added.
6184 * QtLauncher/main.cpp:
6185 (MainWindow::MainWindow):
6186 (MainWindow::webPage):
6187 (MainWindow::changeLocation):
6188 * WebCoreSupport/FrameLoaderClientQt.cpp:
6189 (WebCore::FrameLoaderClientQt::setFrame):
6190 * WebCoreSupport/FrameLoaderClientQt.h:
6192 2007-12-14 Darin Adler <darin@apple.com>
6197 (QWebPage::triggerAction): Removed some use of Editor member functions we plan
6198 to eventually eliminate. Switch from Editor::execCommand to Editor::command.
6199 * WebCoreSupport/EditorClientQt.cpp:
6200 (WebCore::EditorClientQt::handleKeyboardEvent): Ditto. Also updated name from
6201 MoveUpByPageAndModifyCaret to MovePageUp and from MoveDownByPageAndModifyCaret
6204 2007-12-12 Brady Eidson <beidson@apple.com>
6206 Reviewed by Sam Weinig
6208 As part of doing some CachedPage and client cleanup, keep Qt building
6210 * WebCoreSupport/FrameLoaderClientQt.cpp:
6211 (WebCore::FrameLoaderClientQt::savePlatformDataToCachedPage):
6212 (WebCore::FrameLoaderClientQt::transitionToCommittedFromCachedPage):
6213 (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
6214 * WebCoreSupport/FrameLoaderClientQt.h:
6216 2007-12-12 Sam Weinig <sam@webkit.org>
6220 * WebCoreSupport/FrameLoaderClientQt.cpp:
6221 (WebCore::FrameLoaderClientQt::userAgent):
6223 2007-12-12 Sam Weinig <sam@webkit.org>
6227 * Api/qwebnetworkinterface.cpp:
6228 (QWebNetworkRequestPrivate::init):
6231 (QWebPageContext::QWebPageContext):
6232 * Api/qwebpagehistory.cpp:
6233 (QWebHistoryItem::originalUrl):
6234 (QWebHistoryItem::currentUrl):
6235 * WebCoreSupport/FrameLoaderClientQt.cpp:
6236 (WebCore::FrameLoaderClientQt::cannotShowURLError):
6237 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
6238 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
6239 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
6240 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
6241 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
6242 (WebCore::FrameLoaderClientQt::createPlugin):
6244 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
6246 Reviewed by Darin Adler.
6248 <rdar://problem/5535636>
6249 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
6251 http://bugs.webkit.org/show_bug.cgi?id=13916
6252 JavaScript detects Tab as a character input on a textfield validation
6254 * WebCoreSupport/EditorClientQt.cpp:
6255 (WebCore::EditorClientQt::handleKeyboardEvent):
6256 (WebCore::EditorClientQt::handleInputMethodKeydown):
6257 * WebCoreSupport/EditorClientQt.h:
6258 Updated for cross-platform changes as much as it was possible without a Qt build environment.
6260 2007-12-07 Darin Adler <darin@apple.com>
6264 * Api/qwebhistoryinterface.cpp:
6265 (WebCore::historyContains): There's a WebCore function here in WebKit! Needs to
6266 be updated, since WebCore changed, but this should not be here.
6268 2007-12-04 Darin Adler <darin@apple.com>
6270 Reviewed by Kevin Decker.
6272 * WebCoreSupport/FrameLoaderClientQt.cpp: Removed obsolete privateBrowsingEnabled.
6273 * WebCoreSupport/FrameLoaderClientQt.h: Ditto.
6275 2007-12-04 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6279 * Implement the InspectorClient for the Qt port
6280 * It does not support highlighting of nodes yet
6281 * Use QRC to open the internal page. The important thing is the
6282 '/' in the URL to make WebCore::Document::completeURL behave the
6284 * To make the InspectorClient work we will have to mark qrc as secure.
6287 (QWebPagePrivate::QWebPagePrivate):
6289 * WebCoreSupport/InspectorClientQt.cpp:
6290 (WebCore::InspectorClientWebPage::hideEvent):
6291 (WebCore::InspectorClientQt::InspectorClientQt):
6292 (WebCore::InspectorClientQt::inspectorDestroyed):
6293 (WebCore::InspectorClientQt::createPage):
6294 (WebCore::InspectorClientQt::localizedStringsURL):
6295 (WebCore::InspectorClientQt::showWindow):
6296 (WebCore::InspectorClientQt::closeWindow):
6297 (WebCore::InspectorClientQt::attachWindow):
6298 (WebCore::InspectorClientQt::detachWindow):
6299 * WebCoreSupport/InspectorClientQt.h:
6301 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6303 Rubber stamped by Mark.
6305 Always include config.h at the beginning of the file.
6307 * Api/qwebsettings.cpp:
6309 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6313 * Avoid crashes by making sure everything is layouted before
6314 we start painting. This avoids a crash in Widget::invalidateRect
6315 because QPainter::begin would fail
6316 * The QWebFrame::layout() methods and calls are left untouched because
6317 this would be an API decision.
6320 * Api/qwebframe.cpp:
6321 (QWebFrame::layout):
6323 (QWebPage::paintEvent):
6325 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6329 * SubClass QWebPage to handle hide and close events.
6330 * Forward these events to the InspectorController
6331 * The other options would have been using an eventFilter
6332 on the webpage and making InspectorClient a QObject or
6333 creating a QObject Observer.
6334 * Provide a simple QWebPage* createWindow implementation. This is needed
6335 to make FrameLoaderClientQt::dispatchCreatePage stop crashing in the case
6336 of the inspector client.
6339 * WebCoreSupport/InspectorClientQt.cpp:
6340 (WebCore::InspectorClientWebPage::InspectorClientWebPage):
6341 (WebCore::InspectorClientWebPage::createWindow):
6342 (WebCore::InspectorClientWebPage::hideEvent):
6343 (WebCore::InspectorClientWebPage::closeEvent):
6344 (WebCore::InspectorClientQt::createPage):
6346 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6350 * Allow adding the Inspect ContextMenuItem to our Menu
6351 * Open the Inspector when Inspect was activated. This requires
6352 that we keep the innerNonSharedNode from the HitTest around. This
6353 forces us to include <wtf/RefPtr.h> in the private header. It is
6354 the first non Qt header but should be okay.
6358 (webActionForContextMenuAction):
6359 (QWebPage::triggerAction):
6361 (QWebPageContext::QWebPageContext):
6365 2007-12-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6369 * Add the Developer Extras to the WebAttribute and propagate it
6370 to WebCore::Settings. This will enable the Inspect Element menu item
6371 * CodingStyle fixes in QWebSettings
6372 * Enable the Developer Extras in the QtLauncher
6375 * Api/qwebsettings.cpp:
6376 (QWebSettingsPrivate::apply):
6377 * Api/qwebsettings.h:
6378 * QtLauncher/main.cpp:
6381 2007-12-03 Geoffrey Garen <ggaren@apple.com>
6383 Removed unnecessary and possibly incorrect #include from my last
6386 * Api/qwebframe.cpp:
6388 2007-12-03 Geoffrey Garen <ggaren@apple.com>
6390 Qt build fix: Get globalExec() from the right place.
6392 2007-11-30 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6396 * Self destruct the clients like the ohter ports do
6399 * WebCoreSupport/ChromeClientQt.cpp:
6400 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
6401 * WebCoreSupport/ContextMenuClientQt.cpp:
6402 * WebCoreSupport/DragClientQt.cpp:
6403 * WebCoreSupport/EditorClientQt.cpp:
6404 * WebCoreSupport/InspectorClientQt.cpp:
6406 2007-11-29 Brady Eidson <beidson@apple.com>
6408 Keep it building with new client method
6410 * WebCoreSupport/ChromeClientQt.cpp:
6411 (WebCore::ChromeClientQt::requestQuotaIncreaseForNewDatabase):
6412 (WebCore::ChromeClientQt::requestQuotaIncreaseForDatabaseOperation):
6413 * WebCoreSupport/ChromeClientQt.h:
6415 2007-11-22 Simon Hausmann <hausmann@webkit.org>
6417 Reviewed by Adam Treat.
6419 Fix compilation (don't define notImplemented twice)
6421 * Api/qwebnetworkinterface.cpp:
6423 2007-11-22 Simon Hausmann <hausmann@kde.org>
6427 Use Q_SIGNALS/Q_SLOTS in the public API
6432 2007-11-22 Simon Hausmann <hausmann@kde.org>
6436 Fixed the signature of the QWebPage constructor to follow Qt guidelines.
6440 2007-11-22 Simon Hausmann <hausmann@kde.org>
6444 Use <QtModule/headerfile.h> instead of <Classname> in public HEADER files, to not require the include paths for the other modules to be present
6448 * Api/qwebhistoryinterface.h:
6449 * Api/qwebnetworkinterface.h:
6450 * Api/qwebobjectplugin.h:
6451 * Api/qwebobjectplugin_p.h:
6452 * Api/qwebobjectpluginconnector.h:
6454 * Api/qwebpagehistory.h:
6455 * Api/qwebsettings.h:
6457 2007-11-22 Simon Hausmann <hausmann@kde.org>
6461 Removed inline copy of QExplicitlySharedDataPointer. This is not needed anymore since we require Qt >= 4.3.0.
6463 * Api/qwebpagehistory.h:
6465 2007-11-22 George Staikos <staikos@kde.org>
6467 Reviewed by Simon Hausmann <hausmann@kde.org>.
6472 * Api/qwebobjectplugin.cpp:
6473 * Api/qwebobjectplugin.h:
6474 * Api/qwebobjectpluginconnector.cpp:
6475 * Api/qwebobjectpluginconnector.h:
6477 2007-11-22 Simon Hausmann <hausmann@kde.org>
6479 Reviewed by George Staikos <staikos@kde.org>.
6481 Fix shadowing of "page" variable that is passed as argument as well as a member variable.
6483 This also fixes compilation with gcc 4.3.
6486 * Api/qwebframe.cpp:
6487 (QWebFramePrivate::init):
6489 2007-11-21 Adam Treat <adam.treat@torchmobile.com>
6493 * Connect up the signal for all subframes too.
6495 * Api/qwebframe.cpp:
6496 (QWebFramePrivate::init):
6498 (QWebPagePrivate::createMainFrame):
6500 2007-11-20 Simon Hausmann <hausmann@kde.org>
6502 Reviewed by Adam Treat <adam.treat@torchmobile.com>.
6504 Remove static linkage of QtWebKit against the ICO image format plugin.
6506 Instead build the support for the ICO image format as a proper standalone qt image format plugin and install it.
6509 * Plugins/Plugins.pro:
6511 2007-11-20 Simon Hausmann <hausmann@kde.org>
6513 Reviewed by George Staikos <staikos@kde.org>.
6515 Added a default argument to textContent for the hoveringOverLink signal to keep existing two-argument connections working
6520 2007-11-20 George Staikos <staikos@kde.org>
6522 Reviewed by Simon Hausmann <hausmann@kde.org>.
6524 Add an argument to pass the link text in the hovering signal
6529 (QWebPagePrivate::createMainFrame):
6530 (QWebPage::mouseMoveEvent):
6533 2007-11-20 Adam Treat <adam.treat@torchmobile.com>
6535 Reviewed by Simon and George.
6537 * Be quiet and allow suppression of NotImplemented calls at runtime.
6539 * WebCoreSupport/FrameLoaderClientQt.cpp:
6540 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
6542 2007-11-19 Adam Treat <adam.treat@torchmobile.com>
6546 * Don't segfault when event pos is outside of the widget.
6549 (QWebPage::mouseMoveEvent):
6550 (QWebPage::mousePressEvent):
6551 (QWebPage::mouseDoubleClickEvent):
6552 (QWebPage::mouseReleaseEvent):
6553 (QWebPage::contextMenuEvent):
6555 2007-11-17 Timothy Hatcher <timothy@apple.com>
6557 Reviewed by Mark Rowe.
6559 Bug 13470: i18n: The Web Inspector is not localizable
6560 http://bugs.webkit.org/show_bug.cgi?id=13470
6562 * WebCoreSupport/InspectorClientQt.cpp:
6563 (WebCore::InspectorClientQt::localizedStringsURL): Empty stub.
6564 * WebCoreSupport/InspectorClientQt.h: Added localizedStringsURL.
6566 2007-11-13 Geoffrey Garen <ggaren@apple.com>
6568 Build fix: changed Shared to RefCounted.
6570 * WebCoreSupport/ChromeClientQt.h:
6571 * WebCoreSupport/ContextMenuClientQt.cpp:
6572 * WebCoreSupport/ContextMenuClientQt.h:
6573 * WebCoreSupport/EditorClientQt.h:
6574 * WebCoreSupport/FrameLoaderClientQt.h:
6576 2007-11-10 Simon Hausmann <hausmann@kde.org>
6578 Reviewed by Nikolas.
6580 When populating the context menu with sub-menus don't add sub-menus if they're empty.
6584 (QWebPagePrivate::createContextMenu):
6586 2007-11-10 Simon Hausmann <hausmann@kde.org>
6588 Reviewed by Nikolas.
6590 Added support for the Bold/Italic/Underline toggle actions.
6594 (webActionForContextMenuAction):
6595 (QWebPage::triggerAction):
6599 2007-11-10 Simon Hausmann <hausmann@kde.org>
6601 Reviewed by Nikolas.
6603 Before adding an action to the context menu call checkOrEnableIfNeeded for each action
6604 to update the enable/checked state correctly.
6608 (QWebPagePrivate::createContextMenu):
6609 (QWebPage::contextMenuEvent):
6612 2007-11-10 Simon Hausmann <hausmann@kde.org>
6614 Reviewed by Nikolas.
6616 Mark the text direction actions as checkable actions.
6622 2007-11-09 Simon Hausmann <hausmann@kde.org>
6626 Implemented the webcore actions for changing the text direction.
6630 (webActionForContextMenuAction):
6631 (QWebPage::triggerAction):
6635 2007-11-09 Simon Hausmann <hausmann@kde.org>
6639 Fix ContextMenu allocation in the Qt port.
6641 Store all items and submenus value based in ContextMenu and ContextMenuItem.
6642 That fixes the crashes when the context menu was populated with sub-menus because
6643 of the use of temporary ContextMenu objects like this:
6645 ContextMenu subMenu(...);
6646 subMenu.appendItem(...);
6647 subMenu.appendItem(...);
6649 subMenuItem.setSubMenu(&subMenu); // temporary pointer, need to _copy_ contents
6653 (QWebPage::contextMenuEvent):
6656 2007-11-09 Simon Hausmann <hausmann@kde.org>
6660 Renamed QWebPage::NumWebActions to QWebPage::WebActionCount (for consistency) and fixed its value.
6666 2007-11-08 Kevin McCullough <kmccullough@apple.com>
6670 - windowObjectCleared() is no longer const. It needs to setup the
6671 script debugger and cannot be const to do so.
6673 * WebCoreSupport/FrameLoaderClientQt.cpp:
6674 (WebCore::FrameLoaderClientQt::windowObjectCleared):
6675 * WebCoreSupport/FrameLoaderClientQt.h:
6677 2007-11-08 Simon Hausmann <hausmann@kde.org>
6679 Reviewed by nobody (well, Holger knows about it), build fix for Qt 4.3.
6681 The buildbots use Qt 4.4 which has the function in question, but Qt
6682 4.3 doesn't have it. Use removeAll() as replacement instead, it
6683 shouldn't make a difference in performance.
6685 * Api/qwebsettings.cpp:
6686 (QWebSettings::~QWebSettings):
6688 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6690 Reviewed by Lars Knoll <lars@trolltech.com>.
6692 Cleanup checking for the request method.
6694 * Check the request method only in QWebNetworkManager::add.
6695 * Currently HEAD, GET, POST are allowed and for everything else
6696 QWebNetworkManager::add returns false.
6697 * Returning false is compatible with ResourceHandle::start and it
6698 can be used in ResourceHandle::loadResourceSynchronously to generate
6702 * Api/qwebnetworkinterface.cpp:
6703 (QWebNetworkManager::add):
6705 2007-11-08 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
6707 Reviewed by Lars Knoll <lars@trolltech.com>.
6709 Fix bug in the implementation of synchronous network jobs.
6711 * George (pmax) reviewed the networking patches and found the following bug (thanks for reviewing)
6712 - if (jobMode == AsynchronousJob) {
6713 + if (jobMode == SynchronousJob) {
6714 add job to synchronous list/hash
6716 * Just applying the above change will lead to crashes because we can finish
6717 jobs before we started them.
6719 * Avoid these issues by saving all work (starting a job, sending data and
6720 finishing it) inside one list. JobWork will contain any
6721 of the above three work types and doWork will just work on this list
6722 (m_pendingWork). As foreach takes a copy of the list calling started, data
6723 and finished will not add new work and we gurantee that if we have JobStarted
6724 it will be in the list before JobData and JobFinished.
6726 * Observation: We might just kill the code to handle sync jobs.
6729 * Api/qwebnetworkinterface.cpp:
6730 (QWebNetworkManager::add):
6731 (QWebNetworkManager::queueStart):
6732 (QWebNetworkManager::queueData):
6733 (QWebNetworkManager::queueFinished):
6734 (QWebNetworkManager::doWork):
6735 * Api/qwebnetworkinterface_p.h:
6736 (QWebNetworkManager::JobWork::):
6737 (QWebNetworkManager::JobWork::JobWork):
6739 2007-11-07 Simon Hausmann <hausmann@kde.org>
6741 Fix the Qt build by setting up WindowFeatures before calling
6742 createWindow on the Chrome. This is similar to openNewWindow in
6743 page/ContextMenuController.cpp
6748 2007-11-07 Simon Hausmann <hausmann@kde.org>
6752 Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
6755 (QWebPagePrivate::QWebPagePrivate):
6756 * Api/qwebsettings.cpp:
6757 (QWebSettingsPrivate::apply):
6758 * Api/qwebsettings.h:
6760 2007-11-07 Simon Hausmann <hausmann@kde.org>
6764 Changed QWebPageHistory::goToItem to take a value instead of a pointer.
6766 * Api/qwebpagehistory.cpp:
6767 * Api/qwebpagehistory.h:
6769 2007-11-07 Simon Hausmann <hausmann@kde.org>
6773 Removed unimplemented QWebHistoryItem::children() function
6775 * Api/qwebpagehistory.h:
6777 2007-11-07 Simon Hausmann <hausmann@kde.org>
6781 Changed the getter functions in QWebSettings to transparently resolve against the default settings.
6783 * Api/qwebsettings.cpp:
6784 (QWebSettings::fontSize):
6785 (QWebSettings::fontFamily):
6786 (QWebSettings::testAttribute):
6788 2007-11-07 Simon Hausmann <hausmann@kde.org>
6792 Added explicit functions for resetting the font sizes and font families.
6794 * Api/qwebsettings.cpp:
6795 (QWebSettings::resetFontSize):
6796 (QWebSettings::resetFontFamily):
6797 * Api/qwebsettings.h:
6799 2007-11-07 Simon Hausmann <hausmann@kde.org>
6803 Combined the font sizes accessors/setters under one setter/getter with an enum.
6805 * Api/qwebsettings.cpp:
6806 (QWebSettingsPrivate::QWebSettingsPrivate):
6807 (QWebSettingsPrivate::apply):
6808 (QWebSettings::QWebSettings):
6809 (QWebSettings::setFontSize):
6810 * Api/qwebsettings.h:
6812 2007-11-07 Simon Hausmann <hausmann@kde.org>
6816 Renamed QWebPage::userAgentStringForUrl(url) to QWebPage::userAgentFor(url);
6820 * WebCoreSupport/FrameLoaderClientQt.cpp:
6821 (WebCore::FrameLoaderClientQt::userAgent):
6823 2007-11-07 Simon Hausmann <hausmann@kde.org>
6827 Renamed QWebPage::webActionTriggered to QWebPage::triggerAction
6830 (QWebPagePrivate::_q_webActionTriggered):
6831 (QWebPage::keyPressEvent):
6834 2007-11-07 Simon Hausmann <hausmann@kde.org>
6838 Changed the virtual QWebPage::setWindowGeometry to be a geometryChangeRequest signal instead.
6842 * WebCoreSupport/ChromeClientQt.cpp:
6843 (WebCore::ChromeClientQt::setWindowRect):
6845 2007-11-07 Simon Hausmann <hausmann@kde.org>
6849 Renamed QWebPage::webAction() to QWebPage::action()
6852 (QWebPagePrivate::createContextMenu):
6854 * QtLauncher/main.cpp:
6855 (MainWindow::MainWindow):
6857 2007-11-07 Simon Hausmann <hausmann@kde.org>
6861 Removed a bunch of slots/functions that are now available through the new actions API.
6866 2007-11-07 Simon Hausmann <hausmann@kde.org>
6870 Added some more comments to the API after another round of API review with Lars.
6874 2007-11-07 Simon Hausmann <hausmann@kde.org>
6878 Moved QWebFrame::selectedText() to QWebPage::selectedText().
6880 The currently selected text is a property of the page as a whole.
6882 * Api/qwebframe.cpp:
6885 (QWebPage::selectedText):
6888 2007-11-07 Simon Hausmann <hausmann@kde.org>
6892 Implemented support for settings propagation.
6894 If an individual setting is not set in a page's QWebSettings then it is inherited from the default settings.
6896 * Api/qwebsettings.cpp:
6897 (QWebSettingsPrivate::QWebSettingsPrivate):
6898 (QWebSettingsPrivate::apply):
6899 (QWebSettings::QWebSettings):
6900 (QWebSettings::~QWebSettings):
6901 (QWebSettings::setFontFamily):
6902 * Api/qwebsettings.h:
6904 2007-11-07 Simon Hausmann <hausmann@kde.org>
6908 Reworked the QWebSettings API.
6909 QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
6912 (QWebPagePrivate::QWebPagePrivate):
6913 (QWebPagePrivate::~QWebPagePrivate):
6914 (QWebPage::QWebPage):
6917 * Api/qwebsettings.cpp:
6918 (QWebSettingsPrivate::QWebSettingsPrivate):
6919 (QWebSettingsPrivate::apply):
6920 (QWebSettings::defaultSettings):
6921 (QWebSettings::QWebSettings):
6922 (QWebSettings::setMinimumFontSize):
6923 (QWebSettings::setMinimumLogicalFontSize):
6924 (QWebSettings::setDefaultFontSize):
6925 (QWebSettings::setDefaultFixedFontSize):
6926 (QWebSettings::setUserStyleSheetLocation):
6927 (QWebSettings::setFontFamily):
6928 (QWebSettings::fontFamily):
6929 (QWebSettings::setAttribute):
6930 * Api/qwebsettings.h:
6931 * QtLauncher/main.cpp:
6934 2007-11-07 Simon Hausmann <hausmann@kde.org>
6938 Made the QWebSettings::webGraphic functions static. The implementation was using QWebSettings::global() anyway.
6940 * Api/qwebsettings.cpp:
6941 (QWebSettings::setWebGraphic):
6942 * Api/qwebsettings.h:
6944 2007-11-07 Simon Hausmann <hausmann@kde.org>
6948 Moved the WebCore::Image specific function loadResourcePixmap from qwebsettings.cpp to ImageQt.cpp and made it static.
6950 * Api/qwebsettings.cpp:
6952 2007-11-07 Simon Hausmann <hausmann@kde.org>
6956 Changed the icondatabase accessor to be a static function because it doesn't change the QWebSettings object.
6958 * Api/qwebsettings.cpp:
6959 * Api/qwebsettings.h:
6961 2007-11-07 Simon Hausmann <hausmann@kde.org>
6965 Changed the webAction() accessor to not be a slot but just a public function.
6969 2007-11-07 Simon Hausmann <hausmann@kde.org>
6973 Implemented createWindow() in QtLauncher.
6975 * QtLauncher/main.cpp:
6977 (MainWindow::MainWindow):
6978 (WebPage::createWindow):
6980 2007-11-07 Simon Hausmann <hausmann@kde.org>
6984 Implemented opening links in new windows
6989 (QWebPage::webActionTriggered):
6991 2007-11-07 Simon Hausmann <hausmann@kde.org>
6995 Added and implemented the "OpenLink" action.
6998 (webActionForContextMenuAction):
6999 (QWebPage::webActionTriggered):
7000 (QWebPage::webAction):
7003 2007-11-07 Simon Hausmann <hausmann@kde.org>
7007 Adjust the state of the reload action correctly.
7010 (QWebPagePrivate::updateAction):
7011 (QWebPagePrivate::updateNavigationActions):
7013 2007-11-07 Simon Hausmann <hausmann@kde.org>
7017 Initialize the undo/redo actions from QUndoStack. That automatically takes care of enabling/disabling them as well as the activation/trigger.
7020 (QWebPagePrivate::updateAction):
7021 (QWebPage::webAction):
7022 (QWebPage::undoStack):
7025 2007-11-07 Simon Hausmann <hausmann@kde.org>
7029 Added undo/redo toolbar buttons, moved the location line edit into a separate toolbar.
7031 * QtLauncher/main.cpp:
7032 (MainWindow::MainWindow):
7034 2007-11-07 Simon Hausmann <hausmann@kde.org>
7038 Update the editor actions when the selection changes.
7041 (QWebPagePrivate::updateAction):
7042 (QWebPagePrivate::updateEditorActions):
7044 * WebCoreSupport/EditorClientQt.cpp:
7045 (WebCore::EditorClientQt::respondToChangedSelection):
7047 2007-11-07 Simon Hausmann <hausmann@kde.org>
7051 Added cut/copy/paste actions to the toolbar of QtLauncher
7053 * QtLauncher/main.cpp:
7054 (MainWindow::MainWindow):
7056 2007-11-07 Simon Hausmann <hausmann@kde.org>
7060 Started working on keeping the state of the navigation actions up-to-date.
7063 (QWebPagePrivate::updateAction):
7064 (QWebPagePrivate::updateNavigationActions):
7065 (QWebPage::webAction):
7067 * WebCoreSupport/FrameLoaderClientQt.cpp:
7068 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
7069 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
7070 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
7071 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
7072 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
7074 2007-11-07 Simon Hausmann <hausmann@kde.org>
7078 Use the navigational web actions in the toolbar
7080 * QtLauncher/main.cpp:
7081 (MainWindow::MainWindow):
7083 2007-11-07 Simon Hausmann <hausmann@kde.org>
7087 Store a bunch of QActions in QWebPagePrivate, corresponding to QWebPage::WebAction.
7088 Added QWebPageContext to hold context sensitive information (for example used by the context menu).
7091 (QWebPagePrivate::QWebPagePrivate):
7092 (webActionForContextMenuAction):
7093 (QWebPagePrivate::createContextMenu):
7094 (QWebPagePrivate::_q_webActionTriggered):
7095 (QWebPage::webActionTriggered):
7096 (QWebPage::webAction):
7097 (QWebPage::contextMenuEvent):
7098 (QWebPageContext::QWebPageContext):
7099 (QWebPageContext::operator=):
7100 (QWebPageContext::~QWebPageContext):
7101 (QWebPageContext::pos):
7102 (QWebPageContext::text):
7103 (QWebPageContext::linkUrl):
7104 (QWebPageContext::imageUrl):
7105 (QWebPageContext::image):
7106 (QWebPageContext::targetFrame):
7110 2007-11-07 Simon Hausmann <hausmann@kde.org>
7114 Moved the editing actions implemented in keyPressEvent into webActionTriggered.
7117 (QWebPage::webActionTriggered):
7118 (QWebPage::keyPressEvent):
7121 2007-11-07 Simon Hausmann <hausmann@kde.org>
7125 Introduced a central virtual void webActionTriggered(WebAction action) method that is called from various
7126 convenience methods such as cut()/copy()/paste().
7130 (QWebPage::webActionTriggered):
7135 2007-11-07 Simon Hausmann <hausmann@kde.org>
7139 Restructure the context menu classes for the Qt port. ContextMenu and ContextMenuItem don't store
7140 QActions/QMenus anymore but just store the action type, tag, title and optionally submenu as created
7141 in ContextMenu::populate().
7142 For the actual Qt context menu we traverse this structure after sendContextMenuEvent and create a QMenu
7143 out of it. That menu is currently not functional anymore though.
7146 (QWebPagePrivate::createContextMenu):
7147 (QWebPage::contextMenuEvent):
7150 2007-11-07 Simon Hausmann <hausmann@kde.org>
7154 Changed ContextMenu::setPlatformDescription for the Qt port to not show the qmenu right away
7155 but instead just behave as a normal setter that takes ownership of the platform menu description (the qmenu).
7156 Instead now QWebPage::contextMenuEvent() retrieves the QMenu after calling sendContextMenuEvent and calls exec()
7160 (QWebPage::contextMenuEvent):
7161 * WebCoreSupport/ContextMenuClientQt.cpp:
7162 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
7164 2007-11-07 Simon Hausmann <hausmann@kde.org>
7168 Changed to PlatformMouseEvent constructor to allow construction from a QContextMenuEvent.
7169 Call sendContextMenuEvent on the event handler from a QWidget::contextMenuEvent re-implementation instead of in mousePressEvent.
7172 (QWebPage::mousePressEvent):
7173 (QWebPage::contextMenuEvent):
7176 2007-11-07 Simon Hausmann <hausmann@kde.org>
7180 Turned onLoadProgressChanged into a real private slot.
7183 (QWebPage::QWebPage):
7187 2007-11-07 Simon Hausmann <hausmann@kde.org>
7191 Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
7194 (QWebPagePrivate::QWebPagePrivate):
7197 * Api/qwebpagehistory.cpp:
7198 (QWebPageHistory::QWebPageHistory):
7199 * Api/qwebpagehistory.h:
7201 2007-11-07 Lars Knoll <lars@trolltech.com>
7205 comments on API changes that we'd like to do.
7209 2007-11-07 Simon Hausmann <hausmann@kde.org>
7211 Reviewed by Lars Knoll <lars@trolltech.com>.
7213 Add a QWebPage::frameCreated() signal and fix DRT
7215 The removal of createFrame in QWebPage broke the re-implementation
7216 in DumpRenderTree. Instead emit a frameCreated() signal and
7217 connect to it in DumpRenderTree.
7221 (QWebPagePrivate::createMainFrame):
7223 * WebCoreSupport/FrameLoaderClientQt.cpp:
7224 (WebCore::FrameLoaderClientQt::createFrame):
7226 2007-11-07 Lars Knoll <lars@trolltech.com>
7230 Remove QWebPage::createFrame()
7232 now that QWebFrame doesn't have virtual methods anymore, there
7233 is no need for a createFrame() factory method in QWebpage.
7236 (QWebPagePrivate::createMainFrame):
7238 * WebCoreSupport/FrameLoaderClientQt.cpp:
7239 (WebCore::FrameLoaderClientQt::createFrame):
7241 2007-11-07 Simon Hausmann <hausmann@kde.org>
7243 Reviewed by Lars Knoll <lars@trolltech.com>.
7245 Moved all the event handlers from QWebFrame into QWebPage.
7247 This cleans up the public API and allows us to remove the
7248 HackWebFrame hack in DumpRenderTree.
7251 * Api/qwebframe.cpp:
7254 * Api/qwebframe_p.h:
7256 (QWebPagePrivate::frameAt):
7257 (QWebPage::mouseMoveEvent):
7258 (QWebPage::mousePressEvent):
7259 (QWebPage::mouseDoubleClickEvent):
7260 (QWebPage::mouseReleaseEvent):
7261 (QWebPage::wheelEvent):
7264 2007-11-07 Holger Freyther <holger.freyther@trolltech.com>
7266 Reviewed by Lars Knoll <lars@trolltech.com>.
7268 Use correct UserAgent string.
7270 * Only have one User Agent String and this place is QWebPage
7271 * QWebPage::open -> QWebNetworkRequest -> QWebPage::open ->
7272 ResourceRequest -> FrameLoader::load -> QWebNetworkRequest
7273 * ResourceRequest is != 0 when getting called from WebCore, we
7274 will only do requests when coming from WebCore and then we can
7275 use the User-Agent set with the help of the FrameLoaderClient
7276 * We might want to change QWebNetworkRequest a bit
7279 * Api/qwebnetworkinterface.cpp:
7280 (QWebNetworkRequestPrivate::init):
7282 2007-11-07 Lars Knoll <lars@trolltech.com>
7286 remove two notImplemented() warnings, as I believe we don't
7287 have to implement these methods. Add some (commented out)
7288 debug code in one place.
7290 * WebCoreSupport/EditorClientQt.cpp:
7291 (WebCore::EditorClientQt::respondToChangedSelection):
7292 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
7294 2007-11-05 Tristan O'Tierney <tristan@apple.com>
7296 Reviewed by Darin Adler.
7298 * WebCoreSupport/ChromeClientQt.cpp:
7299 (WebCore::ChromeClientQt::createWindow):
7300 * WebCoreSupport/ChromeClientQt.h:
7301 Revised to use new WebCore ChromeClient createWindow API.
7303 2007-10-31 Lars Knoll <lars@trolltech.com>
7307 fix most of the issues I found with Clipboard and DnD.
7310 (QWebPage::dragLeaveEvent):
7312 2007-10-31 Lars Knoll <lars@trolltech.com>
7316 QDrag objects need to be created on the heap.
7318 * WebCoreSupport/DragClientQt.cpp:
7319 (WebCore::DragClientQt::startDrag):
7321 2007-10-31 Lars Knoll <lars@trolltech.com>
7325 a dragLeave event is not the same as cancelling a drag.
7329 2007-10-26 Mark Rowe <mrowe@apple.com>
7331 Build fix. Add missing #include of Platform.h.
7333 * Api/qwebhistoryinterface.cpp:
7335 2007-10-25 Holger Freyther <zecke@selfish.org>
7337 Reviewed by Simon Hausmann <hausmann@kde.org>.
7339 * We need to set a != 0 status code for the fast/loader/xmlhttprequest-missing-file-exception.html
7340 * libxml2 has the semantic that when writing an empty string and finishing it will report an error. For QXmlStreamReader this is valid.
7341 * This is causing some regressions...
7344 * Api/qwebnetworkinterface.cpp:
7345 (QWebNetworkManager::started):
7346 (QWebNetworkInterface::addJob):
7348 2007-10-25 Holger Freyther <zecke@selfish.org>
7350 Reviewed by Simon Hausmann <hausmann@kde.org>.
7352 * 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.
7353 * We can use the cross-platform result now. QWebNetworkInterface/Manager behaves the same as mac for local files.
7356 * Api/qwebnetworkinterface.cpp:
7357 (QWebNetworkManager::started):
7359 2007-10-25 Holger Freyther <zecke@selfish.org>
7361 Reviewed by Simon Hausmann <hausmann@kde.org>.
7363 * 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.
7364 * Use the error message from Qt. It might or might not be translated.
7367 * Api/qwebnetworkinterface.cpp:
7368 (QWebNetworkJob::errorString):
7369 (QWebNetworkJob::setErrorString):
7370 (QWebNetworkManager::finished):
7371 (QWebNetworkManager::doWork):
7372 (WebCoreHttp::onRequestFinished):
7373 * Api/qwebnetworkinterface.h:
7374 * Api/qwebnetworkinterface_p.h:
7376 2007-10-25 Holger Freyther <zecke@selfish.org>
7378 Reviewed by Simon Hausmann <hausmann@kde.org>.
7380 * 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.
7381 * 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.
7384 * Api/qwebnetworkinterface.cpp:
7385 (QWebNetworkManager::doWork):
7387 2007-10-25 Holger Freyther <zecke@selfish.org>
7389 Reviewed by Simon Hausmann <hausmann@kde.org>.
7391 * No need to initialize values in the QWebNetworkJob c'tor
7392 * 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.
7395 * Api/qwebnetworkinterface.cpp:
7396 (QWebNetworkJob::status):
7397 (QWebNetworkJob::setStatus):
7398 (QWebNetworkManager::started):
7399 (QWebNetworkManager::data):
7400 (QWebNetworkManager::finished):
7401 * Api/qwebnetworkinterface.h:
7402 * Api/qwebnetworkinterface_p.h:
7403 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
7405 2007-10-25 Holger Freyther <zecke@selfish.org>
7407 Reviewed by Simon Hausmann <hausmann@kde.org>.
7409 * Consistency: Always name the jobs job.
7412 * Api/qwebnetworkinterface.cpp:
7413 (WebCoreHttp::onReadyRead):
7414 (WebCoreHttp::onRequestFinished):
7415 (WebCoreHttp::onSslErrors):
7416 (WebCoreHttp::onAuthenticationRequired):
7417 (WebCoreHttp::onProxyAuthenticationRequired):
7419 2007-10-25 Holger Freyther <zecke@selfish.org>
7421 Reviewed by Simon Hausmann <hausmann@kde.org>.
7423 * 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.
7424 * This should be thread-safe besides QWebNetworkJob::{ref,deref}
7427 * Api/qwebnetworkinterface.cpp:
7428 (QWebNetworkJob::~QWebNetworkJob):
7429 (QWebNetworkManager::QWebNetworkManager):
7430 (QWebNetworkManager::self):
7431 (QWebNetworkManager::add):
7432 (QWebNetworkManager::started):
7433 (QWebNetworkManager::finished):
7434 (QWebNetworkInterfacePrivate::sendFileData):
7435 (QWebNetworkInterfacePrivate::parseDataUrl):
7436 (QWebNetworkManager::queueStart):
7437 (QWebNetworkManager::queueData):
7438 (QWebNetworkManager::queueFinished):
7439 (QWebNetworkManager::doScheduleWork):
7440 (QWebNetworkManager::doWork):
7441 (gCleanupInterface):
7442 (QWebNetworkInterface::setDefaultInterface):
7443 (QWebNetworkInterface::defaultInterface):
7444 (QWebNetworkInterface::QWebNetworkInterface):
7445 (QWebNetworkInterface::started):
7446 (QWebNetworkInterface::data):
7447 (QWebNetworkInterface::finished):
7448 (WebCoreHttp::scheduleNextRequest):
7449 (WebCoreHttp::onResponseHeaderReceived):
7450 (WebCoreHttp::onReadyRead):
7451 (WebCoreHttp::onRequestFinished):
7452 (WebCoreHttp::cancel):
7453 * Api/qwebnetworkinterface.h:
7454 * Api/qwebnetworkinterface_p.h:
7455 (QWebNetworkManager::):
7456 (QWebNetworkManager::JobData::JobData):
7457 (QWebNetworkManager::JobFinished::JobFinished):
7459 2007-10-25 Holger Freyther <zecke@selfish.org>
7461 Reviewed by Simon Hausmann <hausmann@kde.org>.
7463 * Do the percent replacement only when we are not base64. With base64 we should not have any % in it anyway.
7464 * Have a custom decodePercentEncoding method that works without doing any charset conversion. With converting back to latin1() we lost some information.
7465 * We pass the char-decoding.html test now
7468 * Api/qwebnetworkinterface.cpp:
7469 (decodePercentEncoding):
7470 (QWebNetworkInterfacePrivate::parseDataUrl):
7472 2007-10-24 Holger Hans Peter Freyther <zecke@selfish.org>
7474 Reviewed by Lars Knoll <lars@trolltech.com>.
7476 * Stop crashing on fast/events/frame-tab-focus.html the keyEvent can be 0.
7479 * WebCoreSupport/EditorClientQt.cpp:
7480 (WebCore::EditorClientQt::handleKeypress):
7482 2007-10-24 Lars Knoll <lars@trolltech.com>
7486 remove some notImplemented() warnings.
7488 * WebCoreSupport/EditorClientQt.cpp:
7489 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
7490 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
7491 (WebCore::EditorClientQt::respondToChangedSelection):
7493 2007-10-24 Lars Knoll <lars@trolltech.com>
7497 allow paste from DOM so we pass more test cases.
7500 (QWebPage::setSettings):
7502 2007-10-24 Lars Knoll <lars@trolltech.com>
7506 Simplify the PlatformKeyEvent constructor. No need to have an extra boolean for isKeyUp in there, as the QKeyEvent has the information.
7509 (QWebPage::keyPressEvent):
7510 (QWebPage::keyReleaseEvent):
7512 2007-10-24 Lars Knoll <lars@trolltech.com>
7516 some smaller fixes to the editing support in DRT. Makes another few tests pass.
7518 * WebCoreSupport/EditorClientQt.cpp:
7519 (qt_dump_editing_callbacks):
7522 2007-10-24 Lars Knoll <lars@trolltech.com>
7526 implemented support for most editing shortcuts to make contentEditable usable.
7529 (QWebPage::keyPressEvent):
7531 2007-10-24 Lars Knoll <lars@trolltech.com>
7535 no need to call setIsActive ourselves on the frame, as the focus controller does it for us.
7538 (QWebPage::focusInEvent):
7540 2007-10-24 Lars Knoll <lars@trolltech.com>
7544 Implement support for testing editing.
7546 * WebCoreSupport/EditorClientQt.cpp:
7547 (qt_dump_editing_callbacks):
7548 (qt_dump_set_accepts_editing):
7551 (WebCore::EditorClientQt::shouldDeleteRange):
7552 (WebCore::EditorClientQt::shouldShowDeleteInterface):
7553 (WebCore::EditorClientQt::shouldBeginEditing):
7554 (WebCore::EditorClientQt::shouldEndEditing):
7555 (WebCore::EditorClientQt::shouldInsertText):
7556 (WebCore::EditorClientQt::shouldChangeSelectedRange):
7557 (WebCore::EditorClientQt::shouldApplyStyle):
7558 (WebCore::EditorClientQt::didBeginEditing):
7559 (WebCore::EditorClientQt::respondToChangedContents):
7560 (WebCore::EditorClientQt::respondToChangedSelection):
7561 (WebCore::EditorClientQt::didEndEditing):
7562 (WebCore::EditorClientQt::shouldInsertNode):
7564 2007-10-19 Alp Toker <alp@atoker.com>
7568 GTK+ build fix enabling the new local database storage feature.
7569 There is also a prospective Qt build fix.
7571 * WebCoreSupport/ChromeClientQt.cpp:
7572 (WebCore::ChromeClientQt::runDatabaseSizeLimitPrompt):
7573 * WebCoreSupport/ChromeClientQt.h:
7575 2007-10-19 Simon Hausmann <hausmann@kde.org>
7577 Fix the Qt/Windows build: Include the moc file from the .cpp file so
7578 that config.h is included before wtf/MathExtras. The former defines
7579 the MSVC defines for rand_s.
7581 * WebCoreSupport/FrameLoaderClientQt.cpp:
7583 2007-10-19 Simon Hausmann <shausman@trolltech.com>
7587 Fix the windows/qt build by including config.h first to fix wtf/MathExtras.h inclusion.
7589 * Api/qwebframe.cpp:
7592 2007-10-10 Alice Liu <alice.liu@apple.com>
7594 Reviewed by Geoff Garen.
7596 changes to keep the build from breaking
7598 * WebCoreSupport/FrameLoaderClientQt.cpp:
7599 (WebCore::FrameLoaderClientQt::createFrame):
7600 * WebCoreSupport/FrameLoaderClientQt.h:
7602 2007-10-09 Lars Knoll <lars@trolltech.com>
7606 set a default encoding for documents. Makes fast/dom/Document/document-charset.html pass.
7609 (QWebPage::setSettings):
7611 2007-10-09 Lars Knoll <lars@trolltech.com>
7615 Don't return a 404 status code for empty data: urls. Fixes fast/dom/HTMLHeadElement/head-check.html
7617 * Api/qwebnetworkinterface.cpp:
7618 (QWebNetworkManager::add):
7619 (QWebNetworkManager::cancel):
7620 (QWebNetworkManager::started):
7621 (QWebNetworkManager::data):
7622 (QWebNetworkInterfacePrivate::parseDataUrl):
7624 2007-10-09 Lars Knoll <lars@trolltech.com>
7628 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.
7631 (QWebPagePrivate::createMainFrame):
7632 (QWebPage::createFrame):
7633 * WebCoreSupport/FrameLoaderClientQt.cpp:
7634 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
7635 * WebCoreSupport/FrameLoaderClientQt.h:
7637 2007-10-09 Lars Knoll <lars@trolltech.com>
7641 add a clear() method to QWebPageHistory.
7643 * Api/qwebpagehistory.cpp:
7644 (QWebPageHistory::clear):
7645 (QWebPageHistory::itemAtIndex):
7646 * Api/qwebpagehistory.h:
7648 2007-10-05 Lars Knoll <lars@trolltech.com>
7650 add proper error messages to the FrameLoaderClient.
7651 Implement ChromeClientQt::closeWindowSoon and
7652 FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
7653 Some fixes in DRT to make it work correctly with multiple windows.
7658 * Api/qwebnetworkinterface.cpp:
7659 (QWebNetworkManager::cancel):
7660 (QWebNetworkInterface::addJob):
7661 * WebCoreSupport/ChromeClientQt.cpp:
7662 (WebCore::ChromeClientQt::closeWindowSoon):
7663 * WebCoreSupport/FrameLoaderClientQt.cpp:
7664 (WebCore::FrameLoaderClientQt::cancelledError):
7666 (WebCore::FrameLoaderClientQt::blockedError):
7667 (WebCore::FrameLoaderClientQt::cannotShowURLError):
7668 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
7669 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
7670 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
7672 2007-10-03 Lars Knoll <lars@trolltech.com>
7674 Signed off by Olliej.
7676 move WebKitQt to WebKit/qt for consistency with the other ports.
7678 * Api/headers.pri: Renamed from WebKitQt/Api/headers.pri.
7679 * Api/qcookiejar.cpp: Renamed from WebKitQt/Api/qcookiejar.cpp.
7680 (QCookieJarPrivate::QCookieJarPrivate):
7682 (QCookieJar::QCookieJar):
7683 (QCookieJar::~QCookieJar):
7684 (QCookieJar::setCookies):
7685 (QCookieJar::cookies):
7686 (QCookieJar::isEnabled):
7687 (QCookieJar::setEnabled):
7689 (QCookieJar::setCookieJar):
7690 (QCookieJar::cookieJar):
7691 * Api/qcookiejar.h: Renamed from WebKitQt/Api/qcookiejar.h.
7692 * Api/qtwebkit.prf: Renamed from WebKitQt/Api/qtwebkit.prf.
7693 * Api/qwebframe.cpp: Renamed from WebKitQt/Api/qwebframe.cpp.
7694 (QWebFramePrivate::init):
7695 (QWebFramePrivate::parentFrame):
7696 (QWebFramePrivate::horizontalScrollBar):
7697 (QWebFramePrivate::verticalScrollBar):
7698 (QWebFrame::QWebFrame):
7699 (QWebFrame::~QWebFrame):
7700 (QWebFrame::addToJSWindowObject):
7701 (QWebFrame::markup):
7702 (QWebFrame::innerText):
7703 (QWebFrame::renderTreeDump):
7707 (QWebFrame::selectedText):
7708 (QWebFrame::childFrames):
7709 (QWebFrame::verticalScrollBarPolicy):
7710 (QWebFrame::setVerticalScrollBarPolicy):
7711 (QWebFrame::horizontalScrollBarPolicy):
7712 (QWebFrame::setHorizontalScrollBarPolicy):
7713 (QWebFrame::render):
7714 (QWebFrame::layout):
7716 (QWebFrame::geometry):
7717 (QWebFrame::evaluateJavaScript):
7718 (QWebFrame::mouseMoveEvent):
7719 (QWebFrame::mousePressEvent):
7720 (QWebFrame::mouseDoubleClickEvent):
7721 (QWebFrame::mouseReleaseEvent):
7722 (QWebFrame::wheelEvent):
7723 * Api/qwebframe.h: Renamed from WebKitQt/Api/qwebframe.h.
7724 * Api/qwebframe_p.h: Renamed from WebKitQt/Api/qwebframe_p.h.
7725 (QWebFramePrivate::QWebFramePrivate):
7726 * Api/qwebhistoryinterface.cpp: Renamed from WebKitQt/Api/qwebhistoryinterface.cpp.
7727 (WebCore::historyContains):
7728 (gCleanupInterface):
7729 (QWebHistoryInterface::setDefaultInterface):
7730 (QWebHistoryInterface::defaultInterface):
7731 (QWebHistoryInterface::QWebHistoryInterface):
7732 * Api/qwebhistoryinterface.h: Renamed from WebKitQt/Api/qwebhistoryinterface.h.
7733 * Api/qwebkitglobal.h: Renamed from WebKitQt/Api/qwebkitglobal.h.
7734 * Api/qwebnetworkinterface.cpp: Renamed from WebKitQt/Api/qwebnetworkinterface.cpp.
7737 (QWebNetworkRequestPrivate::init):
7738 (QWebNetworkRequestPrivate::setURL):
7739 (QWebNetworkRequest::QWebNetworkRequest):
7740 (QWebNetworkRequest::operator=):
7741 (QWebNetworkRequest::~QWebNetworkRequest):
7742 (QWebNetworkRequest::url):
7743 (QWebNetworkRequest::setUrl):
7744 (QWebNetworkRequest::httpHeader):
7745 (QWebNetworkRequest::setHttpHeader):
7746 (QWebNetworkRequest::httpHeaderField):
7747 (QWebNetworkRequest::setHttpHeaderField):
7748 (QWebNetworkRequest::postData):
7749 (QWebNetworkRequest::setPostData):
7750 (QWebNetworkJob::QWebNetworkJob):
7751 (QWebNetworkJob::~QWebNetworkJob):
7752 (QWebNetworkJob::url):
7753 (QWebNetworkJob::postData):
7754 (QWebNetworkJob::httpHeader):
7755 (QWebNetworkJob::request):
7756 (QWebNetworkJob::response):
7757 (QWebNetworkJob::setResponse):
7758 (QWebNetworkJob::cancelled):
7759 (QWebNetworkJob::ref):
7760 (QWebNetworkJob::deref):
7761 (QWebNetworkJob::networkInterface):
7762 (QWebNetworkJob::frame):
7763 (QWebNetworkManager::QWebNetworkManager):
7764 (QWebNetworkManager::self):
7765 (QWebNetworkManager::add):
7766 (QWebNetworkManager::cancel):
7767 (QWebNetworkManager::started):
7768 (QWebNetworkManager::data):
7769 (QWebNetworkManager::finished):
7770 (QWebNetworkManager::addHttpJob):
7771 (QWebNetworkManager::cancelHttpJob):
7772 (QWebNetworkManager::httpConnectionClosed):
7773 (QWebNetworkInterfacePrivate::sendFileData):
7774 (QWebNetworkInterfacePrivate::parseDataUrl):
7775 (gCleanupInterface):
7776 (QWebNetworkInterface::setDefaultInterface):
7777 (QWebNetworkInterface::defaultInterface):
7778 (QWebNetworkInterface::QWebNetworkInterface):
7779 (QWebNetworkInterface::~QWebNetworkInterface):
7780 (QWebNetworkInterface::addJob):
7781 (QWebNetworkInterface::cancelJob):
7782 (WebCoreHttp::WebCoreHttp):
7783 (WebCoreHttp::~WebCoreHttp):
7784 (WebCoreHttp::request):
7785 (WebCoreHttp::scheduleNextRequest):
7786 (WebCoreHttp::getConnection):
7787 (WebCoreHttp::onResponseHeaderReceived):
7788 (WebCoreHttp::onReadyRead):
7789 (WebCoreHttp::onRequestFinished):
7790 (WebCoreHttp::onDone):
7791 (WebCoreHttp::onStateChanged):
7792 (WebCoreHttp::cancel):
7793 (WebCoreHttp::onSslErrors):
7794 (WebCoreHttp::onAuthenticationRequired):
7795 (WebCoreHttp::onProxyAuthenticationRequired):
7796 (HostInfo::HostInfo):
7797 * Api/qwebnetworkinterface.h: Renamed from WebKitQt/Api/qwebnetworkinterface.h.
7798 * Api/qwebnetworkinterface_p.h: Renamed from WebKitQt/Api/qwebnetworkinterface_p.h.
7799 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
7800 (WebCore::HostInfo::HostInfo):
7801 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
7802 * Api/qwebobjectplugin.cpp: Renamed from WebKitQt/Api/qwebobjectplugin.cpp.
7803 (QWebFactoryLoader::QWebFactoryLoader):
7804 (QWebFactoryLoader::self):
7805 (QWebFactoryLoader::descriptionForName):
7806 (QWebFactoryLoader::mimetypesForName):
7807 (QWebFactoryLoader::mimeTypeForExtension):
7808 (QWebFactoryLoader::extensions):
7809 (QWebFactoryLoader::nameForMimetype):
7810 (QWebFactoryLoader::create):
7811 (QWebObjectPlugin::QWebObjectPlugin):
7812 (QWebObjectPlugin::~QWebObjectPlugin):
7813 (QWebObjectPlugin::descriptionForKey):
7814 (QWebObjectPlugin::mimetypesForKey):
7815 (QWebObjectPlugin::extensionsForMimetype):
7816 * Api/qwebobjectplugin.h: Renamed from WebKitQt/Api/qwebobjectplugin.h.
7817 * Api/qwebobjectplugin_p.h: Renamed from WebKitQt/Api/qwebobjectplugin_p.h.
7818 (QWebFactoryLoader::names):
7819 (QWebFactoryLoader::supportsMimeType):
7820 * Api/qwebobjectpluginconnector.cpp: Renamed from WebKitQt/Api/qwebobjectpluginconnector.cpp.
7821 (QWebObjectPluginConnector::QWebObjectPluginConnector):
7822 (QWebObjectPluginConnector::frame):
7823 (QWebObjectPluginConnector::pluginParentWidget):
7824 (QWebObjectPluginConnector::requestUrl):
7825 * Api/qwebobjectpluginconnector.h: Renamed from WebKitQt/Api/qwebobjectpluginconnector.h.
7826 * Api/qwebpage.cpp: Renamed from WebKitQt/Api/qwebpage.cpp.
7827 (QWebPagePrivate::QWebPagePrivate):
7828 (QWebPagePrivate::~QWebPagePrivate):
7829 (QWebPagePrivate::navigationRequested):
7830 (QWebPagePrivate::createMainFrame):
7831 (QWebPage::QWebPage):
7832 (QWebPage::~QWebPage):
7833 (QWebPage::createFrame):
7837 (QWebPage::mainFrame):
7838 (QWebPage::sizeHint):
7840 (QWebPage::history):
7842 (QWebPage::goForward):
7843 (QWebPage::goToHistoryItem):
7844 (QWebPage::javaScriptConsoleMessage):
7845 (QWebPage::javaScriptAlert):
7846 (QWebPage::javaScriptConfirm):
7847 (QWebPage::javaScriptPrompt):
7848 (QWebPage::createWindow):
7849 (QWebPage::createModalDialog):
7850 (QWebPage::createPlugin):
7851 (QWebPage::navigationRequested):
7852 (QWebPage::setWindowGeometry):
7854 (QWebPage::canCopy):
7855 (QWebPage::canPaste):
7859 (QWebPage::isModified):
7860 (QWebPage::undoStack):
7861 (dropActionToDragOp):
7862 (dragOpToDropAction):
7863 (QWebPage::resizeEvent):
7864 (QWebPage::paintEvent):
7865 (QWebPage::mouseMoveEvent):
7866 (QWebPage::mousePressEvent):
7867 (QWebPage::mouseDoubleClickEvent):
7868 (QWebPage::mouseReleaseEvent):
7869 (QWebPage::wheelEvent):
7870 (QWebPage::keyPressEvent):
7871 (QWebPage::keyReleaseEvent):
7872 (QWebPage::focusInEvent):
7873 (QWebPage::focusOutEvent):
7874 (QWebPage::focusNextPrevChild):
7875 (QWebPage::dragEnterEvent):
7876 (QWebPage::dragLeaveEvent):
7877 (QWebPage::dragMoveEvent):
7878 (QWebPage::dropEvent):
7879 (QWebPage::setNetworkInterface):
7880 (QWebPage::networkInterface):
7882 (QWebPage::setSettings):
7883 (QWebPage::settings):
7884 (QWebPage::chooseFile):
7885 (QWebPage::setNetworkProxy):
7886 (QWebPage::networkProxy):
7887 (QWebPage::userAgentStringForUrl):
7888 (QWebPage::onLoadProgressChanged):
7889 (QWebPage::totalBytes):
7890 * Api/qwebpage.h: Renamed from WebKitQt/Api/qwebpage.h.
7891 * Api/qwebpage_p.h: Renamed from WebKitQt/Api/qwebpage_p.h.
7892 * Api/qwebpagehistory.cpp: Renamed from WebKitQt/Api/qwebpagehistory.cpp.
7893 (QWebHistoryItem::QWebHistoryItem):
7894 (QWebHistoryItem::operator=):
7895 (QWebHistoryItem::~QWebHistoryItem):
7896 (QWebHistoryItem::originalUrl):
7897 (QWebHistoryItem::currentUrl):
7898 (QWebHistoryItem::title):
7899 (QWebHistoryItem::lastVisited):
7900 (QWebHistoryItem::icon):
7901 (QWebPageHistory::QWebPageHistory):
7902 (QWebPageHistory::itemAtIndex):
7903 (QWebPageHistory::operator=):
7904 (QWebPageHistory::~QWebPageHistory):
7905 (QWebPageHistory::items):
7906 (QWebPageHistory::backItems):
7907 (QWebPageHistory::forwardItems):
7908 (QWebPageHistory::canGoBack):
7909 (QWebPageHistory::canGoForward):
7910 (QWebPageHistory::goBack):
7911 (QWebPageHistory::goForward):
7912 (QWebPageHistory::goToItem):
7913 (QWebPageHistory::backItem):
7914 (QWebPageHistory::currentItem):
7915 (QWebPageHistory::forwardItem):
7916 * Api/qwebpagehistory.h: Renamed from WebKitQt/Api/qwebpagehistory.h.
7917 (QExplicitlySharedDataPointer::operator*):
7918 (QExplicitlySharedDataPointer::operator->):
7919 (QExplicitlySharedDataPointer::operator T *):
7920 (QExplicitlySharedDataPointer::operator const T *):
7921 (QExplicitlySharedDataPointer::data):
7922 (QExplicitlySharedDataPointer::constData):
7923 (QExplicitlySharedDataPointer::operator==):
7924 (QExplicitlySharedDataPointer::operator!=):
7925 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
7926 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
7927 (QExplicitlySharedDataPointer::operator=):
7928 (QExplicitlySharedDataPointer::operator!):
7929 (::QExplicitlySharedDataPointer):
7930 * Api/qwebpagehistory_p.h: Renamed from WebKitQt/Api/qwebpagehistory_p.h.
7931 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
7932 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
7933 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
7934 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
7935 * Api/qwebsettings.cpp: Renamed from WebKitQt/Api/qwebsettings.cpp.
7936 (QWebSettingsPrivate::QWebSettingsPrivate):
7937 (QWebSettings::QWebSettings):
7938 (QWebSettings::~QWebSettings):
7939 (QWebSettings::setMinimumFontSize):
7940 (QWebSettings::minimumFontSize):
7941 (QWebSettings::setMinimumLogicalFontSize):
7942 (QWebSettings::minimumLogicalFontSize):
7943 (QWebSettings::setDefaultFontSize):
7944 (QWebSettings::defaultFontSize):
7945 (QWebSettings::setDefaultFixedFontSize):
7946 (QWebSettings::defaultFixedFontSize):
7947 (QWebSettings::setUserStyleSheetLocation):
7948 (QWebSettings::userStyleSheetLocation):
7949 (QWebSettings::setIconDatabaseEnabled):
7950 (QWebSettings::iconDatabaseEnabled):
7951 (QWebSettings::setWebGraphic):
7952 (QWebSettings::webGraphic):
7953 (QWebSettings::operator=):
7954 (QWebSettings::setGlobal):
7955 (QWebSettings::global):
7956 (QWebSettings::setFontFamily):
7957 (QWebSettings::fontFamily):
7958 (QWebSettings::setAttribute):
7959 (QWebSettings::testAttribute):
7960 (loadResourcePixmap):
7961 * Api/qwebsettings.h: Renamed from WebKitQt/Api/qwebsettings.h.
7962 * ChangeLog: Renamed from WebKitQt/ChangeLog.
7963 * Plugins/ICOHandler.cpp: Renamed from WebKitQt/Plugins/ICOHandler.cpp.
7964 (IcoHeader::operator >>):
7965 (IcoHeader::BMP_INFOHDR::):
7966 (IcoHeader::operator<<):
7967 (IcoHeader::LessDifference::LessDifference):
7968 (IcoHeader::LessDifference::operator ()):
7969 (IcoHeader::loadFromDIB):
7970 (ICOHandler::ICOHandler):
7971 (ICOHandler::canRead):
7973 (ICOHandler::write):
7976 (ICOPlugin::capabilities):
7977 (ICOPlugin::create):
7978 * Plugins/ICOHandler.h: Renamed from WebKitQt/Plugins/ICOHandler.h.
7979 * Plugins/Plugins.pro: Renamed from WebKitQt/Plugins/Plugins.pro.
7980 * QtLauncher/QtLauncher.pro: Renamed from WebKitQt/QtLauncher/QtLauncher.pro.
7981 * QtLauncher/main.cpp: Renamed from WebKitQt/QtLauncher/main.cpp.
7982 (HoverLabel::HoverLabel):
7983 (HoverLabel::setHoverLink):
7984 (HoverLabel::sizeForFont):
7985 (HoverLabel::sizeHint):
7986 (HoverLabel::updateSize):
7987 (HoverLabel::resetAnimation):
7988 (HoverLabel::paintEvent):
7989 (HoverLabel::interpolate):
7990 (ClearButton::ClearButton):
7991 (ClearButton::paintEvent):
7992 (SearchEdit::SearchEdit):
7993 (SearchEdit::~SearchEdit):
7994 (SearchEdit::paintEvent):
7995 (SearchEdit::resizeEvent):
7996 (SearchEdit::moveEvent):
7997 (MainWindow::MainWindow):
7998 (MainWindow::changeLocation):
7999 (MainWindow::loadFinished):
8000 (MainWindow::showLinkHover):
8001 (MainWindow::resizeEvent):
8003 * WebCoreSupport/ChromeClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.cpp.
8004 (WebCore::ChromeClientQt::ChromeClientQt):
8005 (WebCore::ChromeClientQt::~ChromeClientQt):
8006 (WebCore::ChromeClientQt::setWindowRect):
8007 (WebCore::ChromeClientQt::windowRect):
8008 (WebCore::ChromeClientQt::pageRect):
8009 (WebCore::ChromeClientQt::scaleFactor):
8010 (WebCore::ChromeClientQt::focus):
8011 (WebCore::ChromeClientQt::unfocus):
8012 (WebCore::ChromeClientQt::canTakeFocus):
8013 (WebCore::ChromeClientQt::takeFocus):
8014 (WebCore::ChromeClientQt::createWindow):
8015 (WebCore::ChromeClientQt::createModalDialog):
8016 (WebCore::ChromeClientQt::show):
8017 (WebCore::ChromeClientQt::canRunModal):
8018 (WebCore::ChromeClientQt::runModal):
8019 (WebCore::ChromeClientQt::setToolbarsVisible):
8020 (WebCore::ChromeClientQt::toolbarsVisible):
8021 (WebCore::ChromeClientQt::setStatusbarVisible):
8022 (WebCore::ChromeClientQt::statusbarVisible):
8023 (WebCore::ChromeClientQt::setScrollbarsVisible):
8024 (WebCore::ChromeClientQt::scrollbarsVisible):
8025 (WebCore::ChromeClientQt::setMenubarVisible):
8026 (WebCore::ChromeClientQt::menubarVisible):
8027 (WebCore::ChromeClientQt::setResizable):
8028 (WebCore::ChromeClientQt::addMessageToConsole):
8029 (WebCore::ChromeClientQt::chromeDestroyed):
8030 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
8031 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
8032 (WebCore::ChromeClientQt::closeWindowSoon):
8033 (WebCore::ChromeClientQt::runJavaScriptAlert):
8034 (WebCore::ChromeClientQt::runJavaScriptConfirm):
8035 (WebCore::ChromeClientQt::runJavaScriptPrompt):
8036 (WebCore::ChromeClientQt::setStatusbarText):
8037 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
8038 (WebCore::ChromeClientQt::tabsToLinks):
8039 (WebCore::ChromeClientQt::windowResizerRect):
8040 (WebCore::ChromeClientQt::addToDirtyRegion):
8041 (WebCore::ChromeClientQt::scrollBackingStore):
8042 (WebCore::ChromeClientQt::updateBackingStore):
8043 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
8044 (WebCore::ChromeClientQt::setToolTip):
8045 (WebCore::ChromeClientQt::print):
8046 * WebCoreSupport/ChromeClientQt.h: Renamed from WebKitQt/WebCoreSupport/ChromeClientQt.h.
8047 * WebCoreSupport/ContextMenuClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.cpp.
8048 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
8049 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
8050 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
8051 (WebCore::ContextMenuClientQt::downloadURL):
8052 (WebCore::ContextMenuClientQt::lookUpInDictionary):
8053 (WebCore::ContextMenuClientQt::speak):
8054 (WebCore::ContextMenuClientQt::stopSpeaking):
8055 (WebCore::ContextMenuClientQt::searchWithGoogle):
8056 * WebCoreSupport/ContextMenuClientQt.h: Renamed from WebKitQt/WebCoreSupport/ContextMenuClientQt.h.
8057 * WebCoreSupport/DragClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/DragClientQt.cpp.
8058 (WebCore::DragClientQt::actionMaskForDrag):
8059 (WebCore::DragClientQt::willPerformDragDestinationAction):
8060 (WebCore::DragClientQt::dragControllerDestroyed):
8061 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
8062 (WebCore::DragClientQt::willPerformDragSourceAction):
8063 (WebCore::DragClientQt::startDrag):
8064 * WebCoreSupport/DragClientQt.h: Renamed from WebKitQt/WebCoreSupport/DragClientQt.h.
8065 (WebCore::DragClientQt::DragClientQt):
8066 * WebCoreSupport/EditCommandQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.cpp.
8067 (EditCommandQt::EditCommandQt):
8068 (EditCommandQt::~EditCommandQt):
8069 (EditCommandQt::redo):
8070 (EditCommandQt::undo):
8071 * WebCoreSupport/EditCommandQt.h: Renamed from WebKitQt/WebCoreSupport/EditCommandQt.h.
8072 * WebCoreSupport/EditorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.cpp.
8073 (WebCore::EditorClientQt::shouldDeleteRange):
8074 (WebCore::EditorClientQt::shouldShowDeleteInterface):
8075 (WebCore::EditorClientQt::isContinuousSpellCheckingEnabled):
8076 (WebCore::EditorClientQt::isGrammarCheckingEnabled):
8077 (WebCore::EditorClientQt::spellCheckerDocumentTag):
8078 (WebCore::EditorClientQt::shouldBeginEditing):
8079 (WebCore::EditorClientQt::shouldEndEditing):
8080 (WebCore::EditorClientQt::shouldInsertText):
8081 (WebCore::EditorClientQt::shouldChangeSelectedRange):
8082 (WebCore::EditorClientQt::shouldApplyStyle):
8083 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
8084 (WebCore::EditorClientQt::didBeginEditing):
8085 (WebCore::EditorClientQt::respondToChangedContents):
8086 (WebCore::EditorClientQt::respondToChangedSelection):
8087 (WebCore::EditorClientQt::didEndEditing):
8088 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
8089 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
8090 (WebCore::EditorClientQt::selectWordBeforeMenuEvent):
8091 (WebCore::EditorClientQt::isEditable):
8092 (WebCore::EditorClientQt::registerCommandForUndo):
8093 (WebCore::EditorClientQt::registerCommandForRedo):
8094 (WebCore::EditorClientQt::clearUndoRedoOperations):
8095 (WebCore::EditorClientQt::canUndo):
8096 (WebCore::EditorClientQt::canRedo):
8097 (WebCore::EditorClientQt::undo):
8098 (WebCore::EditorClientQt::redo):
8099 (WebCore::EditorClientQt::shouldInsertNode):
8100 (WebCore::EditorClientQt::pageDestroyed):
8101 (WebCore::EditorClientQt::smartInsertDeleteEnabled):
8102 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
8103 (WebCore::EditorClientQt::toggleGrammarChecking):
8104 (WebCore::EditorClientQt::handleKeypress):
8105 (WebCore::EditorClientQt::handleInputMethodKeypress):
8106 (WebCore::EditorClientQt::EditorClientQt):
8107 (WebCore::EditorClientQt::textFieldDidBeginEditing):
8108 (WebCore::EditorClientQt::textFieldDidEndEditing):
8109 (WebCore::EditorClientQt::textDidChangeInTextField):
8110 (WebCore::EditorClientQt::doTextFieldCommandFromEvent):
8111 (WebCore::EditorClientQt::textWillBeDeletedInTextField):
8112 (WebCore::EditorClientQt::textDidChangeInTextArea):
8113 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
8114 (WebCore::EditorClientQt::learnWord):
8115 (WebCore::EditorClientQt::checkSpellingOfString):
8116 (WebCore::EditorClientQt::checkGrammarOfString):
8117 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
8118 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
8119 (WebCore::EditorClientQt::showSpellingUI):
8120 (WebCore::EditorClientQt::spellingUIIsShowing):
8121 (WebCore::EditorClientQt::getGuessesForWord):
8122 (WebCore::EditorClientQt::isEditing):
8123 (WebCore::EditorClientQt::setInputMethodState):
8124 * WebCoreSupport/EditorClientQt.h: Renamed from WebKitQt/WebCoreSupport/EditorClientQt.h.
8125 * WebCoreSupport/FrameLoaderClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.cpp.
8126 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
8127 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
8128 (WebCore::FrameLoaderClientQt::setFrame):
8129 (WebCore::FrameLoaderClientQt::webFrame):
8130 (WebCore::FrameLoaderClientQt::callPolicyFunction):
8131 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
8132 (WebCore::FrameLoaderClientQt::hasWebView):
8133 (WebCore::FrameLoaderClientQt::hasFrameView):
8134 (WebCore::FrameLoaderClientQt::hasBackForwardList):
8135 (WebCore::FrameLoaderClientQt::resetBackForwardList):
8136 (WebCore::FrameLoaderClientQt::provisionalItemIsTarget):
8137 (WebCore::FrameLoaderClientQt::loadProvisionalItemFromPageCache):
8138 (WebCore::FrameLoaderClientQt::invalidateCurrentItemPageCache):
8139 (WebCore::FrameLoaderClientQt::privateBrowsingEnabled):
8140 (WebCore::FrameLoaderClientQt::makeDocumentView):
8141 (WebCore::FrameLoaderClientQt::makeRepresentation):
8142 (WebCore::FrameLoaderClientQt::forceLayout):
8143 (WebCore::FrameLoaderClientQt::forceLayoutForNonHTML):
8144 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
8145 (WebCore::FrameLoaderClientQt::tokenForLoadErrorReset):
8146 (WebCore::FrameLoaderClientQt::resetAfterLoadError):
8147 (WebCore::FrameLoaderClientQt::doNotResetAfterLoadError):
8148 (WebCore::FrameLoaderClientQt::willCloseDocument):
8149 (WebCore::FrameLoaderClientQt::detachedFromParent2):
8150 (WebCore::FrameLoaderClientQt::detachedFromParent3):
8151 (WebCore::FrameLoaderClientQt::detachedFromParent4):
8152 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
8153 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
8154 (WebCore::FrameLoaderClientQt::dispatchDidReceiveServerRedirectForProvisionalLoad):
8155 (WebCore::FrameLoaderClientQt::dispatchDidCancelClientRedirect):
8156 (WebCore::FrameLoaderClientQt::dispatchWillPerformClientRedirect):
8157 (WebCore::FrameLoaderClientQt::dispatchDidChangeLocationWithinPage):
8158 (WebCore::FrameLoaderClientQt::dispatchWillClose):
8159 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
8160 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
8161 (WebCore::FrameLoaderClientQt::dispatchDidCommitLoad):
8162 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
8163 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
8164 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
8165 (WebCore::FrameLoaderClientQt::dispatchShow):
8166 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
8167 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
8168 (WebCore::FrameLoaderClientQt::dispatchDidLoadMainResource):
8169 (WebCore::FrameLoaderClientQt::clearLoadingFromPageCache):
8170 (WebCore::FrameLoaderClientQt::isLoadingFromPageCache):
8171 (WebCore::FrameLoaderClientQt::revertToProvisionalState):
8172 (WebCore::FrameLoaderClientQt::clearUnarchivingState):
8173 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
8174 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
8175 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
8176 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
8177 (WebCore::FrameLoaderClientQt::willChangeTitle):
8178 (WebCore::FrameLoaderClientQt::didChangeTitle):
8179 (WebCore::FrameLoaderClientQt::finishedLoading):
8180 (WebCore::FrameLoaderClientQt::finalSetupForReplace):
8181 (WebCore::FrameLoaderClientQt::setDefersLoading):
8182 (WebCore::FrameLoaderClientQt::isArchiveLoadPending):
8183 (WebCore::FrameLoaderClientQt::cancelPendingArchiveLoad):
8184 (WebCore::FrameLoaderClientQt::clearArchivedResources):
8185 (WebCore::FrameLoaderClientQt::canShowMIMEType):
8186 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
8187 (WebCore::FrameLoaderClientQt::generatedMIMETypeForURLScheme):
8188 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
8189 (WebCore::FrameLoaderClientQt::restoreViewState):
8190 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
8191 (WebCore::FrameLoaderClientQt::shouldTreatURLAsSameAsCurrent):
8192 (WebCore::FrameLoaderClientQt::addHistoryItemForFragmentScroll):
8193 (WebCore::FrameLoaderClientQt::didFinishLoad):
8194 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
8195 (WebCore::FrameLoaderClientQt::setTitle):
8196 (WebCore::FrameLoaderClientQt::userAgent):
8197 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
8198 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
8199 (WebCore::FrameLoaderClientQt::canHandleRequest):
8200 (WebCore::FrameLoaderClientQt::windowObjectCleared):
8201 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
8202 (WebCore::FrameLoaderClientQt::registerForIconNotification):
8203 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
8204 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
8205 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
8206 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
8207 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
8208 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
8209 (WebCore::FrameLoaderClientQt::canCachePage):
8210 (WebCore::FrameLoaderClientQt::setMainDocumentError):
8211 (WebCore::FrameLoaderClientQt::committedLoad):
8212 (WebCore::FrameLoaderClientQt::cancelledError):
8213 (WebCore::FrameLoaderClientQt::blockedError):
8214 (WebCore::FrameLoaderClientQt::cannotShowURLError):
8215 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
8216 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
8217 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
8218 (WebCore::FrameLoaderClientQt::shouldFallBack):
8219 (WebCore::FrameLoaderClientQt::createDocumentLoader):
8220 (WebCore::FrameLoaderClientQt::download):
8221 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
8222 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
8223 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
8224 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
8225 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
8226 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
8227 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
8228 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
8229 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
8230 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
8231 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
8232 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
8233 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
8234 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
8235 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
8236 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
8237 (WebCore::FrameLoaderClientQt::startDownload):
8238 (WebCore::FrameLoaderClientQt::willUseArchive):
8239 (WebCore::FrameLoaderClientQt::createFrame):
8240 (WebCore::FrameLoaderClientQt::objectContentType):
8242 (WebCore::FrameLoaderClientQt::createPlugin):
8243 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
8244 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
8245 (WebCore::FrameLoaderClientQt::overrideMediaType):
8246 * WebCoreSupport/FrameLoaderClientQt.h: Renamed from WebKitQt/WebCoreSupport/FrameLoaderClientQt.h.
8247 * WebCoreSupport/InspectorClientQt.cpp: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.cpp.
8248 (WebCore::InspectorClientQt::inspectorDestroyed):
8249 (WebCore::InspectorClientQt::createPage):
8250 (WebCore::InspectorClientQt::showWindow):
8251 (WebCore::InspectorClientQt::closeWindow):
8252 (WebCore::InspectorClientQt::attachWindow):
8253 (WebCore::InspectorClientQt::detachWindow):
8254 (WebCore::InspectorClientQt::highlight):
8255 (WebCore::InspectorClientQt::hideHighlight):
8256 * WebCoreSupport/InspectorClientQt.h: Renamed from WebKitQt/WebCoreSupport/InspectorClientQt.h.
8257 * WebKitPart/WebKitFactory.cpp: Renamed from WebKitQt/WebKitPart/WebKitFactory.cpp.
8258 (WebKitFactory::WebKitFactory):
8259 (WebKitFactory::~WebKitFactory):
8260 (WebKitFactory::createPartObject):
8261 (WebKitFactory::instance):
8262 (WebKitFactory::ref):
8263 (WebKitFactory::deref):
8264 * WebKitPart/WebKitFactory.h: Renamed from WebKitQt/WebKitPart/WebKitFactory.h.
8265 * WebKitPart/WebKitPart.cpp: Renamed from WebKitQt/WebKitPart/WebKitPart.cpp.
8266 (WebKitPart::WebKitPart):
8267 (WebKitPart::~WebKitPart):
8268 (WebKitPart::openFile):
8269 (WebKitPart::openUrl):
8270 (WebKitPart::closeUrl):
8271 (WebKitPart::parentPart):
8272 (WebKitPart::frame):
8273 (WebKitPart::initView):
8274 * WebKitPart/WebKitPart.desktop: Renamed from WebKitQt/WebKitPart/WebKitPart.desktop.
8275 * WebKitPart/WebKitPart.h: Renamed from WebKitQt/WebKitPart/WebKitPart.h.
8277 * WebKitPart/WebKitPart.rc: Renamed from WebKitQt/WebKitPart/WebKitPart.rc.
8278 * WebKitPart/WebKitPartBrowser.rc: Renamed from WebKitQt/WebKitPart/WebKitPartBrowser.rc.
8279 * WebKitPart/WebKitPartBrowserExtension.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.cpp.
8280 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
8281 * WebKitPart/WebKitPartBrowserExtension.h: Renamed from WebKitQt/WebKitPart/WebKitPartBrowserExtension.h.
8282 * WebKitPart/WebKitPartClient.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartClient.cpp.
8283 (WebKitPartClient::WebKitPartClient):
8284 (WebKitPartClient::~WebKitPartClient):
8285 * WebKitPart/WebKitPartClient.h: Renamed from WebKitQt/WebKitPart/WebKitPartClient.h.
8286 * WebKitPart/WebKitPartInterface.cpp: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.cpp.
8287 (WebKitPartInterface::WebKitPartInterface):
8288 (WebKitPartInterface::~WebKitPartInterface):
8289 (WebKitPartInterface::url):
8290 * WebKitPart/WebKitPartInterface.h: Renamed from WebKitQt/WebKitPart/WebKitPartInterface.h.
8291 * WebKitPart/org.kde.WebKitPart.xml: Renamed from WebKitQt/WebKitPart/org.kde.WebKitPart.xml.
8293 2007-10-02 Adam Treat <adam.treat@torchmobile.com>
8295 Reviewed by Eric Seidel.
8297 Open the requested url on the newly created window.
8298 Implement createModalDialog and provide new API for this.
8299 Patch by M. Mehdi Salem Naraghi (momesana) with additions by me.
8302 (QWebPage::createModalDialog):
8304 * WebCoreSupport/ChromeClientQt.cpp:
8305 (WebCore::ChromeClientQt::createWindow):
8306 (WebCore::ChromeClientQt::createModalDialog):
8308 2007-10-02 Lars Knoll <lars@trolltech.com>
8312 Add API to retrieve the frame name from QWebFrame.
8313 Implement support for DRT::dumpChildrenAsText.
8315 * Api/qwebframe.cpp:
8319 2007-10-02 Lars Knoll <lars@trolltech.com>
8323 Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
8325 * Api/qwebnetworkinterface.cpp:
8326 (QWebNetworkManager::started):
8327 (QWebNetworkManager::data):
8328 (QWebNetworkManager::finished):
8329 (QWebNetworkInterfacePrivate::sendFileData):
8330 (QWebNetworkInterfacePrivate::parseDataUrl):
8331 (WebCoreHttp::scheduleNextRequest):
8332 (WebCoreHttp::onSslErrors):
8333 * QtLauncher/main.cpp:
8336 2007-10-01 Lars Knoll <lars@trolltech.com>
8340 Fix a wrong extension mapping in the MIMETypeRegistry and identify about: url's as frames in the FrameLoaderClient.
8342 * WebCoreSupport/FrameLoaderClientQt.cpp:
8343 (WebCore::FrameLoaderClientQt::makeDocumentView):
8344 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
8345 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
8346 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
8347 (WebCore::FrameLoaderClientQt::objectContentType):
8348 (WebCore::FrameLoaderClientQt::createPlugin):
8350 2007-09-30 George Staikos <staikos@kde.org>
8352 Qt build fix (OS X specific).
8354 * QtLauncher/QtLauncher.pro:
8356 2007-09-26 Mark Rowe <mrowe@apple.com>
8360 * WebCoreSupport/FrameLoaderClientQt.cpp:
8361 (WebCore::FrameLoaderClientQt::objectContentType): Check for empty URL instead of invalid URL.
8363 2007-09-25 David Kilzer <ddkilzer@webkit.org>
8367 - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
8368 LGPL'ed files contain incorrect FSF address
8370 * Api/qcookiejar.cpp:
8372 * Api/qwebframe.cpp:
8374 * Api/qwebframe_p.h:
8375 * Api/qwebhistoryinterface.cpp:
8376 * Api/qwebhistoryinterface.h:
8377 * Api/qwebkitglobal.h:
8378 * Api/qwebnetworkinterface.cpp:
8379 * Api/qwebnetworkinterface.h:
8380 * Api/qwebnetworkinterface_p.h:
8381 * Api/qwebobjectplugin.cpp:
8382 * Api/qwebobjectplugin.h:
8383 * Api/qwebobjectpluginconnector.cpp:
8384 * Api/qwebobjectpluginconnector.h:
8388 * Api/qwebpagehistory.cpp:
8389 * Api/qwebpagehistory.h:
8390 * Api/qwebsettings.cpp:
8391 * Api/qwebsettings.h:
8392 * WebCoreSupport/EditCommandQt.cpp:
8393 * WebCoreSupport/EditCommandQt.h:
8395 2007-09-25 Adam Treat <adam.treat@torchmobile.com>
8397 Reviewed by Simon and Lars.
8399 Modifies the addToJSWindowObject to bind js objects using the built-in
8400 kjs_window class. Make sure to protect the created runtime object from
8403 Adds a signal to QWebFrame to notify clients of the beginning of a
8404 provisional load. DRT needs this.
8406 * Api/qwebframe.cpp:
8407 (QWebFrame::addToJSWindowObject):
8409 * WebCoreSupport/FrameLoaderClientQt.cpp:
8410 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
8412 2007-09-10 Qing Zhao <qing@staikos.net>
8414 Reviewed by George Staikos.
8416 Don't re-encode urls, resulting in double encoding. Fixes login to
8419 * Api/qwebnetworkinterface.cpp:
8420 (QWebNetworkRequestPrivate::init):
8421 (QWebNetworkManager::started):
8423 2007-09-08 Mark Rowe <mrowe@apple.com>
8425 Qt build fix. Move stub method implementations to the right class.
8427 * WebCoreSupport/FrameLoaderClientQt.cpp:
8428 (WebCore::FrameLoaderClientQt::didPerformFirstNavigation):
8430 2007-09-08 Brady Eidson <beidson@apple.com>
8432 YABF (Yet Another Build Fix)
8434 * Api/qwebsettings.cpp:
8435 (QWebSettings::iconDatabaseEnabled):
8437 2007-09-08 Brady Eidson <beidson@apple.com>
8441 * WebCoreSupport/FrameLoaderClientQt.cpp:
8442 (WebCore::FrameLoaderClient::registerForIconNotification):
8443 * WebCoreSupport/FrameLoaderClientQt.h:
8445 2007-09-08 Brady Eidson <beidson@apple.com>
8449 * WebCoreSupport/FrameLoaderClientQt.cpp:
8450 (WebCore::FrameLoaderClient::registerForIconNotification):
8451 * WebCoreSupport/FrameLoaderClientQt.h:
8453 2007-09-05 Geoffrey Garen <ggaren@apple.com>
8455 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
8457 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
8458 memory cache, or a very tiny one
8460 Keep the Qt build working with an empty stub.
8462 * WebCoreSupport/FrameLoaderClientQt.cpp:
8463 (WebCore::FrameLoaderClient::didPerformFirstNavigation):
8464 * WebCoreSupport/FrameLoaderClientQt.h:
8466 2007-09-07 George Staikos <staikos@kde.org>
8471 (QWebPage::onLoadProgressChanged):
8473 2007-09-07 Qing Zhao <qing@staikos.net>
8475 Reviewed by Anders and George.
8477 Export page size and load progress in bytes.
8480 (QWebPage::QWebPage):
8481 (QWebPage::onLoadProgressChanged):
8482 (QWebPage::totalBytes):
8483 (QWebPage::bytesReceived):
8487 2007-09-06 George Staikos <staikos@kde.org>
8491 Make popup windows work again.
8493 * WebCoreSupport/FrameLoaderClientQt.cpp:
8494 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
8496 2007-09-01 Oliver Hunt <oliver@apple.com>
8500 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
8502 EditorClient::setInputMethodState stub
8504 * WebCoreSupport/EditorClientQt.cpp:
8505 (WebCore::EditorClientQt::setInputMethodState):
8506 * WebCoreSupport/EditorClientQt.h:
8508 2007-08-30 Simon Hausmann <hausmann@kde.org>
8512 Use QKeySequence::StandardKey for the page wise scrolling shortcuts.
8515 (QWebPage::keyPressEvent):
8517 2007-08-30 Simon Hausmann <hausmann@kde.org>
8521 When scrolling with the keyboard don't call update() on the entire widget.
8522 The scrollbar/scrollview implementation is already smart enough to scroll with bitblt
8526 (QWebPage::keyPressEvent):
8528 2007-08-30 Simon Hausmann <hausmann@kde.org>
8532 Fix scrolling with the keyboard if only one of the two scrollbars is visible.
8535 (QWebPage::keyPressEvent):
8537 2007-08-29 Simon Hausmann <hausmann@kde.org>
8543 * WebCoreSupport/FrameLoaderClientQt.cpp:
8544 (WebCore::FrameLoaderClientQt::objectContentType):
8546 2007-08-19 Mike Hommey <mh+webkit@glandium.org>
8548 Reviewed by George Staikos.
8550 Don't export ICO symbols.
8552 * Plugins/Plugins.pro:
8554 2007-08-19 George Staikos <staikos@kde.org>
8558 * WebCoreSupport/FrameLoaderClientQt.cpp:
8559 (WebCore::FrameLoaderClientQt::createPlugin):
8560 * WebCoreSupport/FrameLoaderClientQt.h:
8562 2007-08-10 Lars Knoll <lars@trolltech.com>
8564 Reviewed and landed by Simon.
8566 Limit the set of properties from the computed style to apply to Qt
8567 plugin widgets, as only a few of them make sense.
8569 * WebCoreSupport/FrameLoaderClientQt.cpp:
8572 2007-08-10 Lars Knoll <lars@trolltech.com>
8576 Use <object>'s classid attribute for creation of plugins through QWebPage::createPlugin.
8579 (QWebPage::createPlugin):
8581 * WebCoreSupport/FrameLoaderClientQt.cpp:
8582 (WebCore::FrameLoaderClientQt::objectContentType):
8583 (WebCore::FrameLoaderClientQt::createPlugin):
8585 2007-08-10 Simon Hausmann <hausmann@kde.org>
8589 Added support for network jobs from Qt resources using the qrc protocol.
8591 * Api/qwebnetworkinterface.cpp:
8592 (QWebNetworkInterface::addJob):
8594 2007-08-10 Simon Hausmann <hausmann@kde.org>
8598 Added support for "application/x-qt-styled-widget" that is treated like "application/x-qt-plugin" but also
8599 gets a Qt widget stylesheet set from the CSS computed style and the element style attribute.
8601 * WebCoreSupport/FrameLoaderClientQt.cpp:
8602 (WebCore::FrameLoaderClientQt::objectContentType):
8604 (WebCore::FrameLoaderClientQt::createPlugin):
8606 2007-08-10 Simon Hausmann <hausmann@kde.org>
8610 Added virtual QWebPage::createPlugin that is called for embedded objects with the mime type "application/x-qt-plugin"
8611 and fixed widget embedding by setting the right QWidget parent.
8614 (QWebPage::createPlugin):
8616 * WebCoreSupport/FrameLoaderClientQt.cpp:
8617 (WebCore::FrameLoaderClientQt::objectContentType):
8618 (WebCore::FrameLoaderClientQt::createPlugin):
8620 2007-08-02 George Staikos <staikos@kde.org>
8624 Add an interface for the useragent string.
8627 (QWebPage::userAgentStringForUrl):
8629 * WebCoreSupport/FrameLoaderClientQt.cpp:
8630 (WebCore::FrameLoaderClientQt::userAgent):
8632 2007-08-01 Adam Treat <adam.treat@torchmobile.com>
8634 Reviewed by George Staikos.
8636 Add an interface to manage global history for clients
8639 * Api/qwebhistoryinterface.cpp: Added.
8640 (WebCore::historyContains):
8641 (gCleanupInterface):
8642 (QWebHistoryInterface::setDefaultInterface):
8643 (QWebHistoryInterface::defaultInterface):
8644 (QWebHistoryInterface::QWebHistoryInterface):
8645 * Api/qwebhistoryinterface.h: Added.
8647 2007-07-30 Adam Treat <adam.treat@torchmobile.com>
8651 * WebCoreSupport/EditorClientQt.cpp:
8652 (WebCore::EditorClientQt::shouldMoveRangeAfterDelete):
8653 * WebCoreSupport/EditorClientQt.h:
8655 2007-07-30 Simon Hausmann <hausmann@kde.org>
8659 Link QtLauncher into $$OUTPUT_DIR/bin
8661 * QtLauncher/QtLauncher.pro:
8663 2007-07-29 Adam Treat <adam.treat@torchmobile.com>
8665 Reviewed by George Staikos.
8667 Change QWebPage::paintEvent to draw using the individual rects provided
8668 via the QRegion and set the widget to use opaque paint events.
8670 These changes greatly reduce the cpu load as we are no longer painting the
8671 entire page for each 1px scroll :P
8673 * Api/qwebframe.cpp:
8674 (QWebFrame::render):
8676 (QWebPage::QWebPage):
8677 (QWebPage::paintEvent):
8678 * WebCoreSupport/ChromeClientQt.cpp:
8679 (WebCore::ChromeClientQt::addToDirtyRegion):
8681 2007-07-29 Adam Treat <adam.treat@torchmobile.com>
8683 Reviewed by Alexey Proskuryakov.
8685 Respect the margins when creating frames.
8686 Set the scroll mode to always off like we did before the rendered
8687 frames patch and the other ports do now.
8689 * Api/qwebframe.cpp:
8690 (QWebFramePrivate::init):
8692 2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
8696 Don't create an app bundle on OSX to keep WebKitTools/Scripts/run-launcher working.
8698 * QtLauncher/QtLauncher.pro:
8700 2007-07-27 Simon Hausmann <hausmann@kde.org>
8704 Fix compilation with MSVC.
8706 * Api/qwebpagehistory.cpp:
8707 (QWebPageHistory::operator=):
8708 * Api/qwebpagehistory.h:
8709 * Api/qwebsettings.cpp:
8710 (QWebSettings::operator=):
8711 * Api/qwebsettings.h:
8713 2007-07-26 Qing Zhao <qing@staikos.net>
8715 Reviewed by George Staikos.
8717 Add a signal for history notification.
8720 * WebCoreSupport/FrameLoaderClientQt.cpp:
8722 2007-07-24 Adam Treat <adam.treat@torchmobile.com>
8724 Reviewed by Niko and Lars.
8726 These are no longer necessary or used.
8728 * WebCoreSupport/FrameLoaderClientQt.cpp:
8729 * WebCoreSupport/FrameLoaderClientQt.h:
8731 2007-07-20 Adam Treat <adam@staikos.net>
8733 Reviewed by George Staikos.
8735 Add a signal for first layout and add the action type for the policy
8739 (QWebPagePrivate::navigationRequested):
8740 (QWebPage::navigationRequested):
8743 * WebCoreSupport/FrameLoaderClientQt.cpp:
8744 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
8745 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
8747 2007-07-19 Adam Treat <adam.treat@torchmobile.com>
8751 Do a recursive layout on the frame's children. This fixes a
8752 segfault found when rendering some framesets.
8754 * Api/qwebframe.cpp:
8755 (QWebFrame::render):
8756 (QWebFrame::layout):
8759 2007-07-18 Timothy Hatcher <timothy@apple.com>
8763 Make the Page with the now required InspectorClient.
8766 (QWebPagePrivate::QWebPagePrivate):
8767 * WebKitPart/WebKitPart.cpp:
8768 (WebKitPart::initView):
8770 2007-07-18 Sam Weinig <sam@webkit.org>
8774 * Api/qwebnetworkinterface.cpp:
8775 (QWebNetworkManager::started):
8776 * WebCoreSupport/FrameLoaderClientQt.cpp:
8777 (WebCore::FrameLoaderClientQt::canShowMIMEType):
8778 (WebCore::FrameLoaderClientQt::objectContentType):
8780 2007-07-18 Lars Knoll <lars@trolltech.com>
8782 Reviewed by Zack & Simon
8784 Reallow setting of scrollbar policies on QWebFrame.
8786 * Api/qwebframe.cpp:
8787 (QWebFrame::verticalScrollBarPolicy):
8788 (QWebFrame::setVerticalScrollBarPolicy):
8789 (QWebFrame::horizontalScrollBarPolicy):
8792 2007-07-17 Adam Treat <adam.treat@torchmobile.com>
8796 * WebCoreSupport/FrameLoaderClientQt.cpp:
8797 (WebCore::FrameLoaderClientQt::createFrame):
8799 2007-07-17 Holger Hans Peter Freyther <zecke@selfish.org>
8801 Blind build fix for Qt after r24366 by adding the additional
8802 WebCore::ResourceRequest& parameter to the download method.
8804 * WebCoreSupport/FrameLoaderClientQt.cpp:
8805 (WebCore::FrameLoaderClientQt::download):
8806 * WebCoreSupport/FrameLoaderClientQt.h:
8808 2007-07-17 Adam Roben <aroben@apple.com>
8810 Remove ContextMenuClientQt::shouldIncludeInspectElementItem
8814 * WebCoreSupport/ContextMenuClientQt.cpp:
8815 * WebCoreSupport/ContextMenuClientQt.h:
8817 2007-07-16 Adam Roben <aroben@apple.com>
8819 Updated ChromeClientQt for ChromeClient changes.
8821 Reviewed by Darin Adler.
8823 * WebCoreSupport/ChromeClientQt.cpp:
8824 (WebCore::ChromeClientQt::print): Added a Frame* parameter.
8825 * WebCoreSupport/ChromeClientQt.h: Ditto.
8827 2007-07-13 Mark Rowe <mrowe@apple.com>
8831 Build fix. Stub out ChromeClientQt::print.
8833 * WebCoreSupport/ChromeClientQt.cpp:
8834 (WebCore::ChromeClientQt::print):
8835 * WebCoreSupport/ChromeClientQt.h:
8837 2007-07-12 George Staikos <staikos@kde.org>
8839 Qt build fix for assertions.
8841 * Api/qwebnetworkinterface.cpp:
8842 (QWebNetworkManager::add):
8844 2007-07-12 George Staikos <staikos@kde.org>
8848 * Api/qwebnetworkinterface.cpp:
8849 (QWebNetworkManager::add):
8851 2007-07-10 Mark Rowe <mrowe@apple.com>
8853 Qt build fix after r24126.
8855 * Api/qwebframe.cpp:
8856 (QWebFrame::evaluateJavaScript):
8858 2007-07-10 Eli Fidler <eli@staikos.net>
8860 Reviewed by George Staikos.
8862 Properly url-decode data urls.
8864 * Api/qwebnetworkinterface.cpp:
8865 (QWebNetworkInterfacePrivate::parseDataUrl):
8867 2007-07-09 Adam Treat <adam@staikos.net>
8869 Reviewed by George Staikos.
8871 Convert QWebFrame from a QFrame to a pure QObject to eliminate all
8874 * Api/qwebframe.cpp:
8875 (QWebFramePrivate::init):
8876 (QWebFramePrivate::parentFrame):
8877 (QWebFrame::QWebFrame):
8878 (QWebFrame::render):
8880 (QWebFrame::geometry):
8881 (QWebFrame::evaluateJavaScript):
8882 (QWebFrame::mouseMoveEvent):
8883 (QWebFrame::mousePressEvent):
8884 (QWebFrame::mouseDoubleClickEvent):
8885 (QWebFrame::mouseReleaseEvent):
8886 (QWebFrame::wheelEvent):
8888 * Api/qwebobjectpluginconnector.cpp:
8889 (QWebObjectPluginConnector::pluginParentWidget):
8891 (QWebPagePrivate::QWebPagePrivate):
8892 (QWebPagePrivate::createMainFrame):
8893 (QWebPage::QWebPage):
8894 (QWebPage::javaScriptAlert):
8895 (QWebPage::javaScriptConfirm):
8896 (QWebPage::javaScriptPrompt):
8897 (QWebPage::resizeEvent):
8898 (QWebPage::paintEvent):
8899 (QWebPage::mouseMoveEvent):
8900 (QWebPage::mousePressEvent):
8901 (QWebPage::mouseDoubleClickEvent):
8902 (QWebPage::mouseReleaseEvent):
8903 (QWebPage::wheelEvent):
8904 (QWebPage::keyPressEvent):
8905 (QWebPage::keyReleaseEvent):
8906 (QWebPage::focusInEvent):
8907 (QWebPage::focusOutEvent):
8908 (QWebPage::focusNextPrevChild):
8909 (QWebPage::chooseFile):
8912 * WebCoreSupport/ChromeClientQt.cpp:
8913 (WebCore::ChromeClientQt::addToDirtyRegion):
8915 2007-07-09 George Staikos <staikos@kde.org>
8917 Fix a minor memory leak in the loader.
8919 * Api/qwebnetworkinterface.cpp:
8920 (gCleanupInterface):
8921 (QWebNetworkInterface::setDefaultInterface):
8922 (QWebNetworkInterface::defaultInterface):
8924 2007-07-09 George Staikos <staikos@kde.org>
8926 Fix a massive memory leak in the loader.
8928 * Api/qwebnetworkinterface.cpp:
8929 (QWebNetworkManager::httpConnectionClosed):
8930 (WebCoreHttp::~WebCoreHttp):
8932 2007-07-09 George Staikos <staikos@kde.org>
8936 Rework much of the HTTP stuff to make it more stable, and add SSL and
8937 proxy support. Major memory leak also discovered but it needs more
8938 research as the obvious fix causes crashes.
8940 * Api/qwebnetworkinterface.cpp:
8941 (QWebNetworkManager::add):
8942 (QWebNetworkManager::started):
8943 (QWebNetworkManager::data):
8944 (WebCoreHttp::WebCoreHttp):
8945 (WebCoreHttp::~WebCoreHttp):
8946 (WebCoreHttp::request):
8947 (WebCoreHttp::scheduleNextRequest):
8948 (WebCoreHttp::getConnection):
8949 (WebCoreHttp::onResponseHeaderReceived):
8950 (WebCoreHttp::onReadyRead):
8951 (WebCoreHttp::onRequestFinished):
8952 (WebCoreHttp::onDone):
8953 (WebCoreHttp::onStateChanged):
8954 (WebCoreHttp::onSslErrors):
8955 (WebCoreHttp::onAuthenticationRequired):
8956 (WebCoreHttp::onProxyAuthenticationRequired):
8957 * Api/qwebnetworkinterface.h:
8958 * Api/qwebnetworkinterface_p.h:
8959 (WebCore::WebCoreHttp::HttpConnection::HttpConnection):
8961 2007-07-06 Adam Treat <adam@staikos.net>
8963 Reviewed by George Staikos.
8965 Convert QWebFrame to a QFrame from a scroll area.
8967 * Api/qwebframe.cpp:
8968 (QWebFramePrivate::init):
8969 (QWebFramePrivate::parentFrame):
8970 (QWebFramePrivate::horizontalScrollBar):
8971 (QWebFramePrivate::verticalScrollBar):
8972 (QWebFrame::QWebFrame):
8973 (QWebFrame::resizeEvent):
8974 (QWebFrame::suppressScrollbars):
8975 (QWebFrame::paintEvent):
8976 (QWebFrame::mouseMoveEvent):
8977 (QWebFrame::mousePressEvent):
8978 (QWebFrame::mouseDoubleClickEvent):
8979 (QWebFrame::mouseReleaseEvent):
8980 (QWebFrame::wheelEvent):
8981 (QWebFrame::keyPressEvent):
8982 (QWebFrame::focusInEvent):
8983 (QWebFrame::focusOutEvent):
8984 (QWebFrame::evaluateJavaScript):
8986 * Api/qwebframe_p.h:
8987 * Api/qwebobjectpluginconnector.cpp:
8988 (QWebObjectPluginConnector::pluginParentWidget):
8990 2007-07-04 Adam Roben <aroben@apple.com>
8992 Added a stub for ChromeClientQt::setToolTip
8996 * WebCoreSupport/ChromeClientQt.cpp:
8997 (WebCore::ChromeClientQt::setToolTip):
8998 * WebCoreSupport/ChromeClientQt.h:
9000 2007-07-04 Adam Roben <aroben@apple.com>
9002 Added a stub for ChromeClientQt::mouseDidMoveOverElement
9006 * WebCoreSupport/ChromeClientQt.cpp:
9007 (WebCore::ChromeClientQt::mouseDidMoveOverElement):
9008 * WebCoreSupport/ChromeClientQt.h:
9010 2007-06-28 Simon Hausmann <hausmann@kde.org>
9014 Propagate mouse double click events from Qt to WebCore.
9016 * Api/qwebframe.cpp:
9017 (QWebFrame::mouseDoubleClickEvent):
9020 2007-06-28 Simon Hausmann <hausmann@kde.org>
9024 Implemented clipboard functions in QWebPage, in particular can(Cut|Copy|Paste), cut/copy/paste as slot as well as a selectionChanged() signal.
9028 (QWebPage::canCopy):
9029 (QWebPage::canPaste):
9034 * WebCoreSupport/EditorClientQt.cpp:
9036 2007-06-27 George Staikos <staikos@kde.org>
9038 Compile with various Qt configurations.
9040 * Api/qwebnetworkinterface.cpp:
9041 (WebCoreHttp::scheduleNextRequest):
9043 (QWebPage::javaScriptPrompt):
9044 (QWebPage::dragEnterEvent):
9045 (QWebPage::dragLeaveEvent):
9046 (QWebPage::dragMoveEvent):
9047 (QWebPage::dropEvent):
9048 (QWebPage::chooseFile):
9051 * WebCoreSupport/DragClientQt.cpp:
9052 (WebCore::DragClientQt::startDrag):
9054 2007-06-27 Eli Fidler <eli@staikos.net>
9056 Reviewed by George Staikos.
9058 Check for QT_NO_IMAGE_TEXT and compile either way.
9060 * Plugins/ICOHandler.cpp:
9063 2007-06-27 Eli Fidler <eli@staikos.net>
9065 Reviewed by George Staikos.
9067 Remove QT3_SUPPORT dependency in the ICO plugin.
9069 * Plugins/ICOHandler.cpp:
9070 (IcoHeader::loadFromDIB):
9072 2007-06-25 George Staikos <staikos@kde.org>
9076 Start to add proxy and SSL support to WebKit Qt. Proxy works
9077 unauthenticated. Added hooks to be able to add authentication.
9078 Also fixes some network errors.
9080 * Api/qwebnetworkinterface.cpp:
9081 (QWebNetworkRequestPrivate::setURL):
9082 (QWebNetworkJob::frame):
9083 (WebCoreHttp::WebCoreHttp):
9084 (WebCoreHttp::scheduleNextRequest):
9085 (WebCoreHttp::onRequestFinished):
9086 (WebCoreHttp::onDone):
9087 (WebCoreHttp::onSslErrors):
9088 (WebCoreHttp::onAuthenticationRequired):
9089 (WebCoreHttp::onProxyAuthenticationRequired):
9090 * Api/qwebnetworkinterface.h:
9091 * Api/qwebnetworkinterface_p.h:
9093 (QWebPage::setNetworkProxy):
9094 (QWebPage::networkProxy):
9098 2007-06-21 Adam Treat <adam@staikos.net>
9100 Reviewed by George Staikos.
9102 Implement the default resources on Qt.
9106 * Api/qwebsettings.cpp:
9107 (QWebSettings::setWebGraphic):
9108 (QWebSettings::webGraphic):
9109 (loadResourcePixmap):
9110 * Api/qwebsettings.h:
9112 2007-06-15 Adam Treat <adam@staikos.net>
9114 Reviewed by George Staikos.
9116 Add ICO support to the Qt build.
9121 * Api/qwebsettings.cpp:
9122 (QWebSettings::setIconDatabaseEnabled):
9123 (QWebSettings::iconDatabaseEnabled):
9124 * Api/qwebsettings.h:
9126 * Plugins/ICOHandler.cpp: Added.
9127 (IcoHeader::operator >>):
9128 (IcoHeader::BMP_INFOHDR::):
9129 (IcoHeader::operator<<):
9130 (IcoHeader::LessDifference::LessDifference):
9131 (IcoHeader::LessDifference::operator ()):
9132 (IcoHeader::loadFromDIB):
9133 (ICOHandler::ICOHandler):
9134 (ICOHandler::canRead):
9136 (ICOHandler::write):
9139 (ICOPlugin::capabilities):
9140 (ICOPlugin::create):
9141 * Plugins/ICOHandler.h: Added.
9142 * Plugins/Plugins.pro: Added.
9143 * WebCoreSupport/FrameLoaderClientQt.cpp:
9144 (WebCore::FrameLoaderClientQt::dispatchDidReceiveIcon):
9146 2007-06-15 George Staikos <staikos@kde.org>
9148 Fixing the Qt build.
9150 * WebCoreSupport/ContextMenuClientQt.cpp:
9151 (WebCore::ContextMenuClientQt::shouldIncludeInspectElementItem):
9152 * WebCoreSupport/ContextMenuClientQt.h:
9154 2007-06-20 Adam Roben <aroben@apple.com>
9156 More speculative Qt build fixes.
9158 Add a stub implementation of InspectorClientQt.
9160 * WebCoreSupport/InspectorClientQt.cpp: Added.
9161 (WebCore::InspectorClientQt::inspectorDestroyed):
9162 (WebCore::InspectorClientQt::createPage):
9163 (WebCore::InspectorClientQt::showWindow):
9164 (WebCore::InspectorClientQt::closeWindow):
9165 (WebCore::InspectorClientQt::attachWindow):
9166 (WebCore::InspectorClientQt::detachWindow):
9167 (WebCore::InspectorClientQt::highlight):
9168 (WebCore::InspectorClientQt::hideHighlight):
9169 * WebCoreSupport/InspectorClientQt.h: Added.
9171 2007-06-19 George Staikos <staikos@kde.org>
9173 Reviewed by Tim Hatcher.
9177 * Api/qwebnetworkinterface.cpp:
9178 (QWebNetworkInterface::addJob):
9179 (QWebNetworkInterface::cancelJob):
9180 (WebCoreHttp::WebCoreHttp):
9182 2007-06-14 George Staikos <staikos@kde.org>
9186 Add evaluateJavaScript() method.
9188 * Api/qwebframe.cpp:
9189 (QWebFrame::evaluateJavaScript):
9192 2007-06-14 George Staikos <staikos@kde.org>
9196 Implement most of the editing commands, better focus handling, fix some
9197 keyboard and mouse handling, and add keyboard navigation. May be
9198 refactored later as the key switches are ugly.
9200 * Api/qwebframe.cpp:
9201 (QWebFramePrivate::init):
9202 (QWebFrame::mousePressEvent):
9203 (QWebFrame::mouseReleaseEvent):
9204 (QWebFrame::wheelEvent):
9205 (QWebFrame::keyPressEvent):
9206 (QWebFrame::keyReleaseEvent):
9207 (QWebFrame::focusInEvent):
9208 (QWebFrame::focusOutEvent):
9209 (QWebFrame::focusNextPrevChild):
9211 * Api/qwebframe_p.h:
9212 * WebCoreSupport/EditorClientQt.cpp:
9213 (WebCore::EditorClientQt::handleKeypress):
9215 2007-06-14 George Staikos <staikos@kde.org>
9219 Implement all of the Javascript dialogs and file chooser.
9220 Also makes the statusbar virtual into a signal and shuffles some
9221 virtuals around a bit. The helper in FrameLoaderClientQt may go away
9225 (QWebPagePrivate::QWebPagePrivate):
9226 (QWebPage::javaScriptAlert):
9227 (QWebPage::javaScriptConfirm):
9228 (QWebPage::javaScriptPrompt):
9229 (QWebPage::chooseFile):
9231 * WebCoreSupport/ChromeClientQt.cpp:
9232 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
9233 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
9234 (WebCore::ChromeClientQt::runJavaScriptAlert):
9235 (WebCore::ChromeClientQt::runJavaScriptConfirm):
9236 (WebCore::ChromeClientQt::runJavaScriptPrompt):
9237 (WebCore::ChromeClientQt::setStatusbarText):
9238 * WebCoreSupport/FrameLoaderClientQt.cpp:
9239 (WebCore::FrameLoaderClientQt::chooseFile):
9240 * WebCoreSupport/FrameLoaderClientQt.h:
9242 2007-06-14 Simon Hausmann <hausmann@kde.org>
9246 Removed QWebHistoryItem::parent() as it is not implemented and WebCore's
9248 HistoryItem itself doesn't seem to have a parent pointer either.
9250 * Api/qwebpagehistory.h:
9252 2007-06-14 Simon Hausmann <hausmann@kde.org>
9256 Make it possible to copy QWebHistoryItem objects.
9258 * Api/qwebpagehistory.cpp:
9259 * Api/qwebpagehistory.h:
9261 2007-06-14 Lars Knoll <lars@trolltech.com>
9265 Fix a crash when a request from the plugin resulted
9268 * Api/qwebnetworkinterface.cpp:
9269 (QWebNetworkManager::started):
9271 2007-06-14 Lars Knoll <lars@trolltech.com>
9275 Work around a bug in Qt's QHttp implementation and
9276 get web pages to load again.
9281 2007-06-13 Simon Hausmann <hausmann@kde.org>
9285 Added a make install target that installs the Qt port and renamed
9286 WebKitQt to QtWebKit
9288 * Api/headers.pri: Added.
9289 * Api/qtwebkit.prf: Added.
9291 2007-06-13 Simon Hausmann <hausmann@kde.org>
9295 Added httpHeaderField setter/getter to QWebNetworkRequest for convenience.
9297 * Api/qwebnetworkinterface.cpp:
9298 * Api/qwebnetworkinterface.h:
9300 2007-06-13 Simon Hausmann <hausmann@kde.org>
9304 Changed QWebObjectPluginConnector::requestUrl to take a QWebNetworkRequest as argument.
9306 * Api/qwebnetworkinterface.h:
9307 * Api/qwebobjectpluginconnector.cpp:
9308 (QWebObjectPluginConnector::requestUrl):
9309 * Api/qwebobjectpluginconnector.h:
9311 2007-06-13 Simon Hausmann <hausmann@kde.org>
9315 Added a QWebNetworkRequest convenience constructor.
9317 * Api/qwebnetworkinterface.cpp:
9318 * Api/qwebnetworkinterface.h:
9322 2007-06-13 Simon Hausmann <hausmann@kde.org>
9326 Changed the QWebPage::open(const QUrl &url, const QHttpRequestHeader &httpHeader, const QByteArray &postData)
9327 overload to take a QWebNetworkRequest instead.
9333 2007-06-13 Simon Hausmann <hausmann@kde.org>
9337 In QWebPage::open(const QUrl &, const QHttpRequestHeader &, ...) don't make the population
9338 of the WebCore::ResourceRequest depend on the validity of the QHttpRequestHeader but just
9339 pick the individual fields if we can use them.
9344 2007-06-13 Simon Hausmann <hausmann@kde.org>
9348 Minor QWebNetworkRequet API fixlet
9350 * Api/qwebnetworkinterface.cpp:
9351 * Api/qwebnetworkinterface.h:
9353 2007-06-13 Simon Hausmann <hausmann@kde.org>
9357 Use QWebNetworkRequest for QWebPage::navigationRequested.
9359 * Api/qwebnetworkinterface.cpp:
9360 * Api/qwebnetworkinterface.h:
9362 (QWebPagePrivate::navigationRequested):
9363 (QWebPage::navigationRequested):
9366 * WebCoreSupport/FrameLoaderClientQt.cpp:
9367 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
9369 2007-06-13 Simon Hausmann <hausmann@kde.org>
9373 Some docs for QWebNetworkRequest
9375 * Api/qwebnetworkinterface.cpp:
9376 (QWebNetworkRequest::QWebNetworkRequest):
9377 (QWebNetworkRequest::~QWebNetworkRequest):
9379 2007-06-13 Simon Hausmann <hausmann@kde.org>
9383 Moved QWebNetworkJob::Method enum into QWebNetworkRequest.
9385 * Api/qwebnetworkinterface.h:
9386 * Api/qwebobjectpluginconnector.cpp:
9387 (QWebObjectPluginConnector::requestUrl):
9388 * Api/qwebobjectpluginconnector.h:
9390 2007-06-13 Simon Hausmann <hausmann@kde.org>
9394 Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
9396 * Api/qwebnetworkinterface.cpp:
9397 (QWebNetworkJob::postData):
9398 (WebCoreHttp::WebCoreHttp):
9399 (WebCoreHttp::scheduleNextRequest):
9400 * Api/qwebnetworkinterface.h:
9402 2007-06-13 Simon Hausmann <hausmann@kde.org>
9406 Introduce QWebNetworkRequest in the public API.
9408 * Api/qwebnetworkinterface.cpp:
9409 (QWebNetworkRequestPrivate::init):
9410 * Api/qwebnetworkinterface.h:
9411 * Api/qwebnetworkinterface_p.h:
9412 * WebCoreSupport/FrameLoaderClientQt.cpp:
9413 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
9415 2007-06-13 Simon Hausmann <hausmann@kde.org>
9419 Changed QWebNetworkJobPrivate to aggregate a QWebNetworkRequest instead of inheriting from it.
9421 * Api/qwebnetworkinterface.cpp:
9422 (QWebNetworkManager::add):
9423 (QWebNetworkManager::started):
9424 (QWebNetworkManager::data):
9425 (QWebNetworkManager::finished):
9426 * Api/qwebnetworkinterface_p.h:
9427 * Api/qwebobjectpluginconnector.cpp:
9428 (QWebObjectPluginConnector::requestUrl):
9430 2007-06-13 Simon Hausmann <hausmann@kde.org>
9434 Rename QWebNetworkRequest::request into QWebNetworkRequest::httpHeader.
9436 * Api/qwebnetworkinterface.cpp:
9437 (QWebNetworkRequest::init):
9438 (QWebNetworkRequest::setURL):
9439 (QWebNetworkManager::add):
9440 (QWebNetworkManager::started):
9441 * Api/qwebnetworkinterface_p.h:
9442 * WebCoreSupport/FrameLoaderClientQt.cpp:
9443 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
9445 2007-06-12 Lars Knoll <lars@trolltech.com>
9447 Reviewed by George Staikos.
9449 Remove duplicate symbols.
9451 * Api/qwebobjectplugin_p.h:
9453 2007-06-13 Lars Knoll <lars@trolltech.com>
9457 Fix compilation, and remove dependency on Qt
9460 * Api/qwebobjectplugin_p.h:
9461 (QWebFactoryLoader::supportsMimeType):
9463 2007-06-13 Lars Knoll <lars@trolltech.com>
9467 Parts of the patch done by Zack.
9468 Fix up some parts in the implementation of QWebNetworkInterface
9469 so it can be used by plugins.
9470 Change the plugin API so we can actually get all the information
9471 required by the JS bridge from them as well.
9473 * Api/qwebnetworkinterface.cpp:
9474 (QWebNetworkJob::cancelled):
9475 (QWebNetworkManager::cancel):
9476 (QWebNetworkManager::started):
9477 (QWebNetworkManager::finished):
9478 * Api/qwebobjectplugin.cpp:
9479 (QWebFactoryLoader::QWebFactoryLoader):
9480 (QWebFactoryLoader::descriptionForName):
9481 (QWebFactoryLoader::mimetypesForName):
9482 (QWebFactoryLoader::mimeTypeForExtension):
9483 (QWebFactoryLoader::extensions):
9484 (QWebFactoryLoader::nameForMimetype):
9485 (QWebFactoryLoader::create):
9486 (QWebObjectPlugin::descriptionForKey):
9487 (QWebObjectPlugin::mimetypesForKey):
9488 * Api/qwebobjectplugin.h:
9489 * Api/qwebobjectplugin_p.h:
9490 (QWebFactoryLoader::names):
9491 * Api/qwebobjectpluginconnector.cpp:
9492 (QWebObjectPluginConnector::requestUrl):
9494 (QWebPage::networkInterface):
9496 2007-06-11 Simon Hausmann <hausmann@kde.org>
9500 Added a QWebPage::open overload to allow specifying the http header and post data.
9501 (it's an overload instead of a merged openUrl to avoid including qhttp.h in qwebpage.h,
9502 which would imply that one has to have QT += network in the .pro file for using WebKitQt)
9507 2007-06-11 Simon Hausmann <hausmann@kde.org>
9511 Added the possibility to intercept url requests through QWebPage::navigationRequested.
9514 (QWebPagePrivate::QWebPagePrivate):
9515 (QWebPage::createFrame):
9518 * WebCoreSupport/FrameLoaderClientQt.cpp:
9520 2007-06-11 Simon Hausmann <hausmann@kde.org>
9524 Added a QWebNetworkRequest::init overload that takes a WebCore::ResourceRequest,
9525 to be called from FrameLoaderClientQt in the near future.
9527 * Api/qwebnetworkinterface.cpp:
9528 (QWebNetworkManager::add):
9529 * Api/qwebnetworkinterface_p.h:
9531 2007-06-11 Simon Hausmann <hausmann@kde.org>
9535 Moved the postData setup into QWebNetworkRequest::init.
9537 * Api/qwebnetworkinterface.cpp:
9538 (QWebNetworkRequest::init):
9539 (QWebNetworkManager::add):
9541 2007-06-11 Simon Hausmann <hausmann@kde.org>
9545 Moved HTTP header field propagation to QWebNetworkRequest::init.
9547 * Api/qwebnetworkinterface.cpp:
9548 (QWebNetworkRequest::init):
9549 (QWebNetworkManager::add):
9551 2007-06-11 Simon Hausmann <hausmann@kde.org>
9555 Started moving the code to separate a WebCore::ResourceRequest into a QUrl, postData
9556 and QHttpRequestHeader into a separate little QWebNetworkRequest struct.
9558 * Api/qwebnetworkinterface.cpp:
9559 (QWebNetworkRequest::init):
9560 (QWebNetworkManager::add):
9561 * Api/qwebnetworkinterface_p.h:
9562 * Api/qwebobjectpluginconnector.cpp:
9563 (QWebObjectPluginConnector::requestUrl):
9565 2007-06-11 Zack Rusin <zrusin@trolltech.com>
9569 Forgot to export the plugin connector.
9571 * Api/qwebobjectpluginconnector.h
9573 2007-06-08 Lars Knoll <lars@trolltech.com>
9577 Add a QWebObjectPluginConnector class. The class will
9578 facility communication between the plugin and WebKit.
9579 Currently it's used to make the plugin network capable.
9581 * Api/qwebnetworkinterface.cpp:
9582 (QWebNetworkJobPrivate::setDefaults):
9583 (QWebNetworkManager::add):
9584 (QWebNetworkManager::started):
9585 (QWebNetworkManager::data):
9586 (QWebNetworkManager::finished):
9587 * Api/qwebnetworkinterface.h:
9588 * Api/qwebnetworkinterface_p.h:
9589 (QWebNetworkJobPrivate::QWebNetworkJobPrivate):
9590 * Api/qwebobjectplugin.cpp:
9591 (QWebFactoryLoader::create):
9592 * Api/qwebobjectplugin.h:
9593 * Api/qwebobjectplugin_p.h:
9594 * Api/qwebobjectpluginconnector.cpp: Added.
9595 (QWebObjectPluginConnector::QWebObjectPluginConnector):
9596 (QWebObjectPluginConnector::frame):
9597 (QWebObjectPluginConnector::pluginParentWidget):
9598 (QWebObjectPluginConnector::requestUrl):
9599 * Api/qwebobjectpluginconnector.h: Added.
9600 (QWebObjectPluginConnector::):
9601 * WebCoreSupport/FrameLoaderClientQt.cpp:
9602 (WebCore::FrameLoaderClientQt::createPlugin):
9604 2007-06-06 Lars Knoll <lars@trolltech.com>
9608 Add an API to create and load plugins.
9609 Don't include moc files by hand anymore, rather let
9612 * Api/qcookiejar.cpp:
9613 (QCookieJar::cookieJar):
9614 * Api/qwebframe.cpp:
9615 (QWebFrame::scrollContentsBy):
9616 * Api/qwebnetworkinterface.cpp:
9617 * Api/qwebobjectplugin.cpp: Added.
9618 (QWebFactoryLoader::QWebFactoryLoader):
9619 (QWebFactoryLoader::self):
9620 (QWebFactoryLoader::mimeTypeForExtension):
9621 (QWebFactoryLoader::create):
9622 (QWebObjectPlugin::QWebObjectPlugin):
9623 (QWebObjectPlugin::~QWebObjectPlugin):
9624 (QWebObjectPlugin::extensionsForMimetype):
9625 * Api/qwebobjectplugin.h: Added.
9626 * Api/qwebobjectplugin_p.h: Added.
9627 (QWebFactoryLoader::mimeTypes):
9628 (QWebFactoryLoader::extensions):
9629 (QWebFactoryLoader::supportsMimeType):
9631 (QWebPage::settings):
9632 * WebCoreSupport/FrameLoaderClientQt.cpp:
9633 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
9634 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
9635 (WebCore::FrameLoaderClientQt::objectContentType):
9636 (WebCore::FrameLoaderClientQt::createPlugin):
9638 2007-05-28 Zack Rusin <zrusin@trolltech.com>
9640 Reviewed by andersca and simon
9642 Adding public settings Api to the Qt port.
9643 QWebSetting's is a value based settings
9644 object settable on the QWebPage.
9647 (QWebPagePrivate::QWebPagePrivate):
9648 (QWebPage::QWebPage):
9649 (QWebPage::setSettings):
9650 (QWebPage::settings):
9652 * Api/qwebsettings.cpp: Added.
9653 (QWebSettingsPrivate::QWebSettingsPrivate):
9654 (QWebSettings::QWebSettings):
9655 (QWebSettings::~QWebSettings):
9656 (QWebSettings::setMinimumFontSize):
9657 (QWebSettings::minimumFontSize):
9658 (QWebSettings::setMinimumLogicalFontSize):
9659 (QWebSettings::minimumLogicalFontSize):
9660 (QWebSettings::setDefaultFontSize):
9661 (QWebSettings::defaultFontSize):
9662 (QWebSettings::setDefaultFixedFontSize):
9663 (QWebSettings::defaultFixedFontSize):
9664 (QWebSettings::setUserStyleSheetLocation):
9665 (QWebSettings::userStyleSheetLocation):
9666 (QWebSettings::setGlobal):
9667 (QWebSettings::global):
9668 (QWebSettings::setFontFamily):
9669 (QWebSettings::fontFamily):
9670 (QWebSettings::setAttribute):
9671 (QWebSettings::testAttribute):
9672 * Api/qwebsettings.h: Added.
9673 * QtLauncher/main.cpp:
9675 2007-05-27 Kevin Ollivier <kevino@theolliviers.com>
9677 Reviewed by Sam Weinig.
9679 Consolidate all notImplemented() macro definitions into
9680 one header file for all platforms.
9682 * WebCoreSupport/ChromeClientQt.cpp:
9683 * WebCoreSupport/ContextMenuClientQt.cpp:
9684 * WebCoreSupport/EditorClientQt.cpp:
9685 * WebCoreSupport/FrameLoaderClientQt.cpp:
9687 2007-05-25 George Staikos <staikos@kde.org>
9691 The http loader should only ask for .... http cookies!
9693 * Api/qwebnetworkinterface.cpp:
9694 (QWebNetworkManager::add):
9696 2007-05-24 Simon Hausmann <hausmann@kde.org>
9700 Fix multipart/form-data HTTP POSTs. The content-type wasn't set
9701 correctly. Fortunately WebCore does it already, so there's no need
9702 for us to do it since we already transfer all HTTP header fields :)
9704 * Api/qwebnetworkinterface.cpp:
9705 (QWebNetworkManager::add):
9707 2007-05-23 Simon Hausmann <hausmann@kde.org>
9709 Reviewed by Zack, idea from Lars.
9711 Share WebCoreHttp and therefore HTTP connections among multiple
9712 QWebNetworkInterface instances by moving the code into
9715 * Api/qwebnetworkinterface.cpp:
9716 (QWebNetworkManager::addHttpJob):
9717 (QWebNetworkManager::cancelHttpJob):
9718 (QWebNetworkManager::httpConnectionClosed):
9719 (QWebNetworkInterface::addJob):
9720 (QWebNetworkInterface::cancelJob):
9721 (WebCoreHttp::scheduleNextRequest):
9722 (WebCoreHttp::onResponseHeaderReceived):
9723 (WebCoreHttp::onReadyRead):
9724 (WebCoreHttp::onRequestFinished):
9725 (WebCoreHttp::cancel):
9726 * Api/qwebnetworkinterface.h:
9727 * Api/qwebnetworkinterface_p.h:
9729 2007-05-23 Simon Hausmann <hausmann@kde.org>
9731 Reviewed by Zack, discussed also with Lars.
9733 Make it possible to specify a per-QWebPage network interface (needed
9734 for the KDE KIO integration).
9736 Merged the file and the network loader into
9737 QWebNetworkInterface(Private), which simplifies the loading code.
9739 When receiving a redirection don't emit the data of the redirected job
9740 to the document. (otherwise the kind of "This page has moved" text
9741 appears right on top of the real page content)
9743 * Api/qwebnetworkinterface.cpp:
9746 (QWebNetworkJob::QWebNetworkJob):
9747 (QWebNetworkJob::networkInterface):
9748 (QWebNetworkManager::add):
9749 (QWebNetworkManager::cancel):
9750 (QWebNetworkManager::data):
9751 (QWebNetworkManager::finished):
9752 (QWebNetworkInterfacePrivate::sendFileData):
9753 (QWebNetworkInterfacePrivate::parseDataUrl):
9754 (QWebNetworkInterfacePrivate::addHttpJob):
9755 (QWebNetworkInterfacePrivate::httpConnectionClosed):
9756 (QWebNetworkInterface::setDefaultInterface):
9757 (QWebNetworkInterface::QWebNetworkInterface):
9758 (QWebNetworkInterface::addJob):
9759 (QWebNetworkInterface::cancelJob):
9760 (WebCoreHttp::scheduleNextRequest):
9761 (WebCoreHttp::onResponseHeaderReceived):
9762 (WebCoreHttp::onReadyRead):
9763 (WebCoreHttp::onRequestFinished):
9764 (WebCoreHttp::cancel):
9765 * Api/qwebnetworkinterface.h:
9766 * Api/qwebnetworkinterface_p.h:
9768 (QWebPagePrivate::QWebPagePrivate):
9769 (QWebPage::setNetworkInterface):
9773 2007-05-23 Lars Knoll <lars@trolltech.com>
9777 Don't do HTTP downloads in a second thread. Simplifies
9778 the code significantly and fixes crashes on some
9781 * Api/qwebnetworkinterface.cpp:
9782 (QWebNetworkManager::add):
9783 (QWebNetworkInterface::QWebNetworkInterface):
9784 (QWebNetworkInterface::addJob):
9785 (QWebNetworkInterface::cancelJob):
9786 (LoaderThread::LoaderThread):
9787 (LoaderThread::run):
9788 (WebCoreHttp::cancel):
9789 (NetworkLoader::NetworkLoader):
9790 (NetworkLoader::request):
9791 (NetworkLoader::cancel):
9792 * Api/qwebnetworkinterface_p.h:
9793 * WebCoreSupport/FrameLoaderClientQt.cpp:
9794 (WebCore::FrameLoaderClientQt::committedLoad):
9795 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
9797 2007-05-23 Lars Knoll <lars@trolltech.com>
9801 * Api/qwebnetworkinterface.cpp:
9802 (QWebNetworkJobPrivate::setURL):
9803 (QWebNetworkManager::started):
9804 Fix Host: line in HTTP headers and resolving of relative URLs
9806 * Api/qwebnetworkinterface_p.h:
9807 Clean up qHash forward declaration a bit.
9809 2007-05-23 Simon Hausmann <hausmann@kde.org>
9813 * QtLauncher/main.cpp:
9814 (MainWindow::MainWindow): Fix loading progress signal/slot connection.
9816 2007-05-22 Simon Hausmann <hausmann@kde.org>
9820 * Api/qwebnetworkinterface.cpp:
9821 (QWebNetworkManager::add): Fix http headers for POST.
9823 2007-05-21 Lars Knoll <lars@trolltech.com>
9827 Remove the userHandle methods from QWebnetworkJob again.
9828 They don't really give us anything and just clutter the API.
9830 * Api/qwebnetworkinterface.cpp:
9831 * Api/qwebnetworkinterface.h:
9832 * Api/qwebnetworkinterface_p.h:
9834 2007-05-21 Simon Hausmann <hausmann@kde.org>
9838 * Api/qwebnetworkinterface.h: Export the net API.
9840 2007-05-21 Lars Knoll <lars@trolltech.com>
9844 Add an API layer for network downloads. Basically QWebnetworkInterface
9845 is an interface class for downloading resources. QWebnetworkJob describes
9846 the actual object to download.
9848 QWebNetworkInterface has a default implementation that replaces the
9849 old ResourceHandleManager class in the Qt port.
9851 * Api/qwebnetworkinterface.cpp: Added.
9852 (QWebNetworkJobPrivate::setURL):
9853 (QWebNetworkJob::QWebNetworkJob):
9854 (QWebNetworkJob::~QWebNetworkJob):
9855 (QWebNetworkJob::url):
9856 (QWebNetworkJob::postData):
9857 (QWebNetworkJob::request):
9858 (QWebNetworkJob::response):
9859 (QWebNetworkJob::setResponse):
9860 (QWebNetworkJob::cancelled):
9861 (QWebNetworkJob::ref):
9862 (QWebNetworkJob::deref):
9863 (QWebNetworkJob::setUserHandle):
9864 (QWebNetworkJob::userHandle):
9865 (QWebNetworkManager::QWebNetworkManager):
9866 (QWebNetworkManager::self):
9867 (QWebNetworkManager::add):
9868 (QWebNetworkManager::cancel):
9869 (QWebNetworkManager::started):
9870 (QWebNetworkManager::data):
9871 (QWebNetworkManager::finished):
9872 (QWebNetworkInterface::setDefaultInterface):
9873 (QWebNetworkInterface::defaultInterface):
9874 (QWebNetworkInterface::QWebNetworkInterface):
9875 (QWebNetworkInterface::~QWebNetworkInterface):
9876 (QWebNetworkInterface::addJob):
9877 (QWebNetworkInterface::cancelJob):
9878 (LoaderThread::LoaderThread):
9879 (LoaderThread::run):
9880 (FileLoader::FileLoader):
9881 (FileLoader::request):
9882 (FileLoader::sendData):
9883 (FileLoader::parseDataUrl):
9884 (WebCoreHttp::WebCoreHttp):
9885 (WebCoreHttp::~WebCoreHttp):
9886 (WebCoreHttp::request):
9887 (WebCoreHttp::scheduleNextRequest):
9888 (WebCoreHttp::getConnection):
9889 (WebCoreHttp::onResponseHeaderReceived):
9890 (WebCoreHttp::onReadyRead):
9891 (WebCoreHttp::onRequestFinished):
9892 (WebCoreHttp::onStateChanged):
9893 (WebCoreHttp::cancel):
9894 (HostInfo::HostInfo):
9897 (NetworkLoader::NetworkLoader):
9898 (NetworkLoader::~NetworkLoader):
9899 (NetworkLoader::request):
9900 (NetworkLoader::connectionClosed):
9901 (NetworkLoader::cancel):
9902 * Api/qwebnetworkinterface.h: Added.
9903 (QWebNetworkJob::setHandle):
9904 (QWebNetworkJob::handle):
9905 * Api/qwebnetworkinterface_p.h: Added.
9906 (WebCore::LoaderThread::):
9907 (WebCore::LoaderThread::waitForSetup):
9908 (WebCore::HostInfo::HostInfo):
9910 2007-05-18 Simon Hausmann <hausmann@kde.org>
9912 Reviewed by Nikolas.
9914 * Api/qwebpage.h: Changed the loadProgressChanged API to use an
9915 percent integer instead of a double precision floating pointer number.
9916 * WebCoreSupport/FrameLoaderClientQt.cpp:
9917 (WebCore::FrameLoaderClientQt::setFrame):
9918 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
9919 * WebCoreSupport/FrameLoaderClientQt.h:
9921 2007-05-18 Marius Bugge Monsen <mbm@trolltech.com>
9923 Reviewed by Zack Rusin.
9925 The default constructed KeyboardEvent has
9926 no PlatformKeyboardEvent.
9928 * WebCoreSupport/EditorClientQt.cpp:
9929 (WebCore::EditorClientQt::handleKeypress):
9931 2007-05-17 Adam Treat <adam@staikos.net>
9933 Reviewed by George Staikos.
9935 - Implement frameLoadCompleted
9936 - Fix build (by George)
9938 * WebCoreSupport/FrameLoaderClientQt.cpp:
9939 (WebCore::FrameLoaderClientQt::frameLoadCompleted):
9940 (WebCore::FrameLoaderClientQt::createFrame):
9942 2007-05-17 Adam Treat <adam@staikos.net>
9944 Reviewed by George Staikos.
9946 Implement canShowMIMEType
9948 * WebCoreSupport/FrameLoaderClientQt.cpp:
9949 (WebCore::FrameLoaderClientQt::canShowMIMEType):
9951 2007-05-16 Lars Knoll <lars@trolltech.com>
9955 pass the mouse events to the event handler, not the frameview.
9957 * Api/qwebframe.cpp:
9958 (QWebFrame::mouseMoveEvent):
9959 (QWebFrame::mouseReleaseEvent):
9961 2007-05-14 Lars Knoll <lars@trolltech.com>
9965 Updates after Maciej's frame change.
9969 Call stopForUserCancel() instead of stopAllLoaders()
9970 * WebCoreSupport/FrameLoaderClientQt.cpp:
9971 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
9972 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
9973 (WebCore::FrameLoaderClientQt::didFinishLoad):
9974 (WebCore::FrameLoaderClientQt::setMainDocumentError):
9975 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
9976 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
9977 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
9978 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
9979 Call QWebFrame::loadDone() from the places it's supposed to be
9982 2007-05-12 Maciej Stachowiak <mjs@apple.com>
9984 Reviewed by Rob Buis.
9986 - call Frame::init as needed - this prevents crashes but pages don't appear.
9988 * Api/qwebframe.cpp:
9989 (QWebFramePrivate::init):
9990 * WebKitPart/WebKitPart.cpp:
9991 (WebKitPart::initView):
9993 2007-05-08 Steve Falkenburg <sfalken@apple.com>
9997 Slight modification to last editor method fix.
9999 * WebCoreSupport/EditorClientQt.cpp:
10000 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
10001 * WebCoreSupport/EditorClientQt.h:
10003 2007-05-03 Steve Falkenburg <sfalken@apple.com>
10005 Reviewed by Oliver.
10007 Add missing user description parameter to spelling-related editor client method.
10009 * WebCoreSupport/EditorClientQt.cpp:
10010 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
10011 * WebCoreSupport/EditorClientQt.h:
10013 2007-04-29 Oliver Hunt <oliver@apple.com>
10017 Tie QT drag events to the DragController logic
10018 to allow drag and drop events to be handled by
10021 * Api/qwebframe.cpp:
10023 * Api/qwebpage.cpp:
10024 (QWebPagePrivate::QWebPagePrivate):
10025 (QWebPage::QWebPage):
10026 (dropActionToDragOp):
10027 (dragOpToDropAction):
10028 (QWebPage::dragEnterEvent):
10029 (QWebPage::dragLeaveEvent):
10030 (QWebPage::dragMoveEvent):
10031 (QWebPage::dropEvent):
10033 * WebCoreSupport/DragClientQt.cpp:
10034 (WebCore::DragClientQt::startDrag):
10035 * WebCoreSupport/DragClientQt.h:
10036 (WebCore::DragClientQt::DragClientQt):
10038 2007-04-27 Holger Freyther <freyther@kde.org>
10040 Reviewed by Maciej.
10042 Remove unmaintained CMake build system.
10044 * QtLauncher/CMakeLists.txt: Removed.
10045 * WebKitPart/CMakeLists.txt: Removed.
10047 2007-04-25 Steve Falkenburg <sfalken@apple.com>
10051 Fix spelling error in spelling method name.
10053 * WebCoreSupport/EditorClientQt.cpp:
10054 (WebCore::EditorClientQt::updateSpellingUIWithGrammarString):
10055 * WebCoreSupport/EditorClientQt.h:
10057 2007-04-24 Steve Falkenburg <sfalken@apple.com>
10059 Reviewed by Oliver.
10061 Spelling and grammar stubs
10063 * WebCoreSupport/EditorClientQt.cpp:
10064 (WebCore::EditorClientQt::ignoreWordInSpellDocument):
10065 (WebCore::EditorClientQt::learnWord):
10066 (WebCore::EditorClientQt::checkSpellingOfString):
10067 (WebCore::EditorClientQt::checkGrammarOfString):
10068 (WebCore::EditorClientQt::udpateSpellingUIWithGrammarString):
10069 (WebCore::EditorClientQt::updateSpellingUIWithMisspelledWord):
10070 (WebCore::EditorClientQt::showSpellingUI):
10071 (WebCore::EditorClientQt::spellingUIIsShowing):
10072 (WebCore::EditorClientQt::getGuessesForWord):
10073 * WebCoreSupport/EditorClientQt.h:
10075 2007-04-11 MorganL <morganl.webkit@yahoo.com>
10077 Reviewed by Maciej.
10079 Add a Frame pointer to ChromeClient methods:
10080 http://bugs.webkit.org/show_bug.cgi?id=13127
10082 * WebCoreSupport/ChromeClientQt.cpp:
10083 (WebCore::ChromeClientQt::createWindow):
10084 (WebCore::ChromeClientQt::createModalDialog):
10085 * WebCoreSupport/ChromeClientQt.h:
10087 2007-04-12 Mark Rowe <mrowe@apple.com>
10089 Second part of Qt build fix.
10091 * WebCoreSupport/FrameLoaderClientQt.cpp:
10092 (WebCore::FrameLoaderClientQt::loadedFromCachedPage):
10093 (WebCore::FrameLoaderClientQt::setDocumentViewFromCachedPage):
10094 (WebCore::FrameLoaderClientQt::saveDocumentViewToCachedPage):
10095 * WebCoreSupport/FrameLoaderClientQt.h:
10097 2007-03-27 Zack Rusin <zrusin@trolltech.com>
10099 Fix the rendering crashes due triggered
10100 asserts. Improve a bit the layout
10103 * Api/qwebframe.cpp:
10104 (QWebFrame::resizeEvent):
10105 (QWebFrame::paintEvent):
10106 * WebCoreSupport/FrameLoaderClientQt.cpp:
10107 (WebCore::FrameLoaderClientQt::forceLayout):
10109 2007-03-16 Lars Knoll <lars@trolltech.com>
10111 Fix the Qt build once again.
10113 * WebCoreSupport/EditorClientQt.cpp:
10114 (WebCore::EditorClientQt::handleKeypress):
10115 * WebCoreSupport/FrameLoaderClientQt.cpp:
10116 (WebCore::FrameLoaderClientQt::blockedError):
10117 * WebCoreSupport/FrameLoaderClientQt.h:
10119 2007-03-13 Lars Knoll <lars@trolltech.com>
10121 Reviewed by George.
10123 Don't try to load <object> tags with an invalid url.
10124 Fixes LayoutTests/fast/dom/object-plugin-hides-properties.html
10125 which hit an assertion in the frameloader.
10127 * WebCoreSupport/FrameLoaderClientQt.cpp:
10128 (WebCore::FrameLoaderClientQt::objectContentType):
10130 2007-03-13 Lars Knoll <lars@trolltech.com>
10132 Reviewed by Anders.
10134 Fix some crashes in the Qt build.
10136 * Api/qwebframe.cpp:
10137 (QWebFrame::markup):
10138 Check for null pointer
10139 * WebCoreSupport/FrameLoaderClientQt.cpp:
10140 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10141 Don't use an async callback into the FrameLoader.
10142 (WebCore::FrameLoaderClientQt::createFrame):
10144 2007-03-11 Oliver Hunt <oliver@apple.com>
10148 Stub for EditorClientQt::respondToChangedSelection
10150 * WebCoreSupport/EditorClientQt.cpp:
10151 (WebCore::EditorClientQt::respondToChangedSelection):
10152 * WebCoreSupport/EditorClientQt.h:
10154 2007-03-07 Adele Peterson <adele@apple.com>
10156 Reviewed by Darin Adler.
10158 WebKitQT part of fix for:
10159 http://bugs.webkit.org/show_bug.cgi?id=10871
10160 http://bugs.webkit.org/show_bug.cgi?id=12677
10161 <rdar://problem/4823129> REGRESSION: IME key events different in nightly
10162 <rdar://problem/4759563> REGRESSION: Return key is always sent when you confirm a clause in kotoeri
10164 * WebCoreSupport/EditorClientQt.cpp:
10165 (WebCore::EditorClientQt::handleKeypress): Changed handleKeyPress to handleKeypress.
10166 (WebCore::EditorClientQt::handleInputMethodKeypress): Added.
10167 * WebCoreSupport/EditorClientQt.h:
10169 2007-03-07 Darin Adler <darin@apple.com>
10171 * WebCoreSupport/FrameLoaderClientQt.h: Oops, forgot the header.
10173 2007-03-07 Darin Adler <darin@apple.com>
10175 * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::userAgent):
10176 Try to fix the build by correcting the parameter here.
10178 2007-03-02 Sam Weinig <sam@webkit.org>
10180 Reviewed by Anders.
10182 Try to fix the Qt build
10184 * WebCoreSupport/DragClientQt.cpp:
10185 (WebCore::DragClientQt::willPerformDragDestinationAction):
10186 (WebCore::DragClientQt::dragControllerDestroyed):
10187 (WebCore::DragClientQt::createDragImageForLink):
10189 2007-02-26 Maciej Stachowiak <mjs@apple.com>
10191 Reviewed by Kevin McCullough.
10193 - fix Qt build for earlier SVG changes.
10195 * WebCoreSupport/EditCommandQt.cpp:
10197 2007-02-24 Zack Rusin <zrusin@trolltech.com>
10199 Adjust the animation a little bit to make it more natural.
10201 * QtLauncher/main.cpp:
10202 (HoverLabel::paintEvent):
10204 2007-02-23 Zack Rusin <zrusin@trolltech.com>
10206 Adding a little bit of eye-candy to the last
10207 commit (animations on hover events)
10209 * QtLauncher/main.cpp:
10210 (HoverLabel::HoverLabel):
10211 (HoverLabel::setHoverLink):
10212 (HoverLabel::sizeForFont):
10213 (HoverLabel::sizeHint):
10214 (HoverLabel::resetAnimation):
10215 (HoverLabel::paintEvent):
10216 (HoverLabel::interpolate):
10217 (SearchEdit::resizeEvent):
10219 2007-02-23 Zack Rusin <zrusin@trolltech.com>
10223 Adding API and code for notification of when the
10224 mouse is hovering over a link and adding code to
10225 the sample app to showcase it.
10227 * Api/qwebframe.cpp:
10228 (QWebFrame::mouseMoveEvent):
10230 * Api/qwebframe_p.h:
10231 (QWebFramePrivate::QWebFramePrivate):
10232 * Api/qwebpage.cpp:
10233 (QWebPage::createFrame):
10235 * QtLauncher/main.cpp:
10236 (HoverLabel::HoverLabel):
10237 (HoverLabel::setHoverLink):
10238 (HoverLabel::sizeHint):
10239 (HoverLabel::updateSize):
10240 (HoverLabel::paintEvent):
10241 (ClearButton::ClearButton):
10242 (ClearButton::paintEvent):
10243 (SearchEdit::SearchEdit):
10244 (SearchEdit::resizeEvent):
10245 (SearchEdit::moveEvent):
10246 (MainWindow::MainWindow):
10247 (MainWindow::showLinkHover):
10248 (MainWindow::resizeEvent):
10250 2007-02-22 Zack Rusin <zrusin@trolltech.com>
10254 Fixing the default scroll offset, cleaning
10255 up private methods and making the default
10256 look not use any frames.
10258 * Api/qwebframe.cpp:
10259 (QWebFramePrivate::init):
10260 (QWebFramePrivate::_q_handleKeyEvent):
10261 (QWebFrame::QWebFrame):
10262 (QWebFrame::wheelEvent):
10263 (QWebFrame::keyPressEvent):
10264 (QWebFrame::keyReleaseEvent):
10266 * Api/qwebframe_p.h:
10268 2007-02-22 Zack Rusin <zrusin@trolltech.com>
10272 Make the qwebframe act as a proper canvas.
10273 Implement it on top of QAbstractScrollArea.
10275 * Api/qwebframe.cpp:
10276 (QWebFramePrivate::init):
10277 (QWebFramePrivate::_q_adjustScrollbars):
10279 (QWebFrame::QWebFrame):
10280 (QWebFrame::resizeEvent):
10281 (QWebFrame::childFrames):
10282 (QWebFrame::paintEvent):
10283 (QWebFrame::mouseMoveEvent):
10284 (QWebFrame::mousePressEvent):
10285 (QWebFrame::mouseReleaseEvent):
10286 (QWebFrame::wheelEvent):
10287 (QWebFrame::keyPressEvent):
10288 (QWebFrame::keyReleaseEvent):
10289 (QWebFrame::dragEnterEvent):
10290 (QWebFrame::dragLeaveEvent):
10291 (QWebFrame::dragMoveEvent):
10292 (QWebFrame::handleKeyEvent):
10293 (QWebFrame::scrollContentsBy):
10295 * Api/qwebframe_p.h:
10296 (QWebFramePrivate::QWebFramePrivate):
10298 2007-02-21 George Staikos <staikos@kde.org>
10302 Add more editing support, and undo/redo. Requires some nasty evil
10303 hacks that have to be sorted out in WebCore/editor.
10305 * Api/qwebpage.cpp:
10306 (QWebPagePrivate::QWebPagePrivate):
10307 (QWebPagePrivate::~QWebPagePrivate):
10308 (QWebPage::undoStack):
10310 * Api/qwebpage_p.h:
10311 * WebCoreSupport/EditorClientQt.cpp:
10312 (WebCore::EditorClientQt::didBeginEditing):
10313 (WebCore::EditorClientQt::didEndEditing):
10314 (WebCore::EditorClientQt::isEditable):
10315 (WebCore::EditorClientQt::registerCommandForUndo):
10316 (WebCore::EditorClientQt::registerCommandForRedo):
10317 (WebCore::EditorClientQt::clearUndoRedoOperations):
10318 (WebCore::EditorClientQt::canUndo):
10319 (WebCore::EditorClientQt::canRedo):
10320 (WebCore::EditorClientQt::undo):
10321 (WebCore::EditorClientQt::redo):
10322 (WebCore::EditorClientQt::handleKeyPress):
10323 (WebCore::EditorClientQt::EditorClientQt):
10324 (WebCore::EditorClientQt::textFieldDidBeginEditing):
10325 (WebCore::EditorClientQt::textFieldDidEndEditing):
10326 (WebCore::EditorClientQt::isEditing):
10327 * WebCoreSupport/EditorClientQt.h:
10329 2007-02-21 Zack Rusin <zrusin@trolltech.com>
10333 * WebCoreSupport/ContextMenuClientQt.cpp:
10334 * WebCoreSupport/ContextMenuClientQt.h:
10336 2007-02-21 George Staikos <staikos@kde.org>
10340 * Api/qwebpage.cpp:
10343 2007-02-20 Zack Rusin <zrusin@trolltech.com>
10347 Make editing of forms work plus make sure that non-void methods
10348 always return something.
10350 * WebCoreSupport/ChromeClientQt.cpp:
10351 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
10352 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
10353 (WebCore::ChromeClientQt::runJavaScriptConfirm):
10354 (WebCore::ChromeClientQt::runJavaScriptPrompt):
10355 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
10356 * WebCoreSupport/EditorClientQt.cpp:
10357 (WebCore::EditorClientQt::shouldDeleteRange):
10358 (WebCore::EditorClientQt::shouldBeginEditing):
10359 (WebCore::EditorClientQt::shouldEndEditing):
10360 (WebCore::EditorClientQt::shouldInsertText):
10361 (WebCore::EditorClientQt::shouldChangeSelectedRange):
10362 (WebCore::EditorClientQt::shouldApplyStyle):
10363 (WebCore::EditorClientQt::shouldInsertNode):
10364 * WebCoreSupport/FrameLoaderClientQt.cpp:
10365 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
10366 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
10368 2007-02-17 Lars Knoll <lars@trolltech.com>
10370 Reviewed by Maciej.
10372 Additional coding by Maciej, additional review by Oliver.
10374 Add stubs for the new methods in ChormeClient and EditorClient,
10375 remove all references to FrameQt.
10377 * Api/qwebframe.cpp:
10378 (QWebFrame::QWebFrame):
10379 * Api/qwebframe_p.h:
10380 * Api/qwebpage.cpp:
10381 * WebCoreSupport/ChromeClientQt.cpp:
10382 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
10383 * WebCoreSupport/ChromeClientQt.h:
10384 * WebCoreSupport/EditorClientQt.cpp:
10385 (WebCore::EditorClientQt::shouldChangeSelectedRange):
10386 (WebCore::EditorClientQt::isEditable):
10387 * WebCoreSupport/EditorClientQt.h:
10388 * WebCoreSupport/FrameLoaderClientQt.cpp:
10389 (WebCore::FrameLoaderClientQt::setFrame):
10390 (WebCore::FrameLoaderClientQt::webFrame):
10391 * WebCoreSupport/FrameLoaderClientQt.h:
10393 2007-02-18 Oliver Hunt <oliver@apple.com>
10395 Build fix -- adding DragClientQt method stubs
10397 * WebCoreSupport/DragClientQt.cpp:
10398 (WebCore::DragClientQt::willPerformDragSourceAction):
10399 (WebCore::DragClientQt::startDrag):
10400 (WebCore::DragClientQt::createDragImageForLink):
10401 * WebCoreSupport/DragClientQt.h:
10403 2007-02-15 Brady Eidson <beidson@apple.com>
10407 Moved scroll state down into the cross platform FrameLoader -
10408 Blind attempt at keeping Qt building
10410 * WebCoreSupport/FrameLoaderClientQt.cpp:
10411 (WebCore::FrameLoaderClientQt::restoreViewState):
10412 (WebCore::FrameLoaderClientQt::saveViewStateToItem):
10413 * WebCoreSupport/FrameLoaderClientQt.h:
10415 2007-02-07 Anders Carlsson <acarlsson@apple.com>
10417 Try fixing the Qt build.
10419 * WebCoreSupport/ChromeClientQt.cpp:
10420 (WebCore::ChromeClientQt::shouldInterruptJavaScript):
10421 * WebCoreSupport/ChromeClientQt.h:
10423 2007-02-02 Zack Rusin <zrusin@trolltech.com>
10425 Compilation fix: forward declare d-ptr.
10427 * Api/qcookiejar.h:
10429 2007-02-02 Zack Rusin <zrusin@trolltech.com>
10433 Make the frames white by default and get the
10434 files that WebCore can handle render inside
10437 * Api/qwebframe.cpp:
10438 (QWebFrame::QWebFrame):
10439 * WebCoreSupport/FrameLoaderClientQt.cpp:
10440 (WebCore::FrameLoaderClientQt::createFrame):
10441 (WebCore::FrameLoaderClientQt::objectContentType):
10443 2007-02-01 George Staikos <staikos@kde.org>
10445 Reviewed by Zack and Lars.
10447 Add a cookie interface for the Qt build.
10449 * Api/qcookiejar.cpp: Added.
10450 (QCookieJarPrivate::QCookieJarPrivate):
10452 (QCookieJar::QCookieJar):
10453 (QCookieJar::~QCookieJar):
10454 (QCookieJar::setCookies):
10455 (QCookieJar::cookies):
10456 (QCookieJar::isEnabled):
10457 (QCookieJar::setEnabled):
10459 (QCookieJar::setCookieJar):
10460 (QCookieJar::cookieJar):
10461 * Api/qcookiejar.h: Added.
10463 2007-02-01 Lars Knoll <lars@trolltech.com>
10467 Fix form loading for the Qt build.
10469 * WebCoreSupport/FrameLoaderClientQt.cpp:
10470 (WebCore::FrameLoaderClientQt::callPolicyFunction):
10471 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
10472 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
10473 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
10474 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
10475 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10477 2007-01-31 Zack Rusin <zrusin@trolltech.com>
10479 Expose the fact that the form has been edited
10482 * Api/qwebpage.cpp:
10483 (QWebPagePrivate::QWebPagePrivate):
10484 (QWebPage::isModified):
10486 * Api/qwebpage_p.h:
10487 * WebCoreSupport/EditorClientQt.cpp:
10488 (WebCore::EditorClientQt::respondToChangedContents):
10489 (WebCore::EditorClientQt::isEditable):
10491 2007-01-31 Zack Rusin <zrusin@trolltech.com>
10495 Properly propagate key events.
10497 * Api/qwebframe.cpp:
10498 (QWebFrame::addToJSWindowObject):
10499 (QWebFrame::innerText):
10500 (QWebFrame::renderTreeDump):
10501 * Api/qwebpage.cpp:
10502 (QWebPagePrivate::QWebPagePrivate):
10504 * WebCoreSupport/EditorClientQt.cpp:
10505 (WebCore::EditorClientQt::pageDestroyed):
10506 (WebCore::EditorClientQt::handleKeyPress):
10507 (WebCore::EditorClientQt::EditorClientQt):
10508 * WebCoreSupport/EditorClientQt.h:
10510 2007-01-31 George Staikos <staikos@kde.org>
10512 Remove focusFrame() - misguided - and add childFrames(). Fix a crash
10517 * Api/qwebframe.cpp:
10518 (QWebFrame::resizeEvent):
10519 (QWebFrame::childFrames):
10521 * Api/qwebpage.cpp:
10523 * WebCoreSupport/FrameLoaderClientQt.cpp:
10524 (WebCore::FrameLoaderClientQt::webFrame):
10525 * WebCoreSupport/FrameLoaderClientQt.h:
10527 2007-01-30 Zack Rusin <zrusin@trolltech.com>
10529 Improve QtLauncher to make it more useful as a testing tool.
10531 * QtLauncher/main.cpp:
10532 (ClearButton::ClearButton):
10533 (ClearButton::paintEvent):
10534 (SearchEdit::SearchEdit):
10535 (SearchEdit::~SearchEdit):
10536 (SearchEdit::paintEvent):
10537 (SearchEdit::resizeEvent):
10538 (SearchEdit::moveEvent):
10539 (MainWindow::MainWindow):
10540 (MainWindow::changeLocation):
10541 (MainWindow::loadFinished):
10543 2007-01-30 Simon Hausmann <hausmann@kde.org>
10547 Added import/export macros needed for build with ELF visibility and
10548 for a build on Windows (in the future).
10551 * Api/qwebkitglobal.h: Added.
10553 * Api/qwebpagehistory.h:
10555 2007-01-30 Zack Rusin <zack@kde.org>
10557 Change the signature of handleKeyPress
10560 * WebCoreSupport/EditorClientQt.cpp:
10561 (WebCore::EditorClientQt::handleKeyPress):
10562 * WebCoreSupport/EditorClientQt.h:
10564 2007-01-29 Zack Rusin <zack@kde.org>
10568 Set the allows-scrolling property on the view.
10570 * Api/qwebframe.cpp:
10571 (QWebFrame::QWebFrame):
10573 2007-01-29 Oliver Hunt <oliver@apple.com>
10577 Stub for new DragClient method
10579 * WebCoreSupport/DragClientQt.cpp:
10580 (WebCore::DragClientQt::dragSourceActionMaskForPoint):
10581 * WebCoreSupport/DragClientQt.h:
10583 2007-01-29 Maciej Stachowiak <mjs@apple.com>
10587 - updated for cross-platform data loading support
10589 * WebCoreSupport/FrameLoaderClientQt.cpp:
10590 (WebCore::FrameLoaderClientQt::createDocumentLoader):
10591 * WebCoreSupport/FrameLoaderClientQt.h:
10593 2007-01-29 George Staikos <staikos@kde.org>
10595 Make window resizing work.
10597 * Api/qwebpage.cpp:
10598 (QWebPage::setWindowGeometry):
10600 * WebCoreSupport/ChromeClientQt.cpp:
10601 (WebCore::ChromeClientQt::setWindowRect):
10603 2007-01-29 George Staikos <staikos@kde.org>
10605 Make popup windows work.
10607 * Api/qwebpage.cpp:
10608 (QWebPage::createWindow):
10610 * WebCoreSupport/ChromeClientQt.cpp:
10611 (WebCore::ChromeClientQt::createWindow):
10613 2007-01-29 Lars Knoll <lars@trolltech.com>
10617 Fix the way we handle native widgets (QWidget) inside
10618 WebCore. Now WebCore::Widget owns the QWidget in all
10619 cases. This is the only way to get well defined semantics
10620 for all teh native widgets we have (currently ScrollView
10621 and ScrollBar, but plugins will follow).
10623 This has the side effect that one cannot rely on a defined
10624 lifetime of a QWebFrame when using the API.
10626 * Api/qwebframe.cpp:
10627 (QWebFrame::~QWebFrame):
10628 * Api/qwebpage.cpp:
10629 (QWebPage::~QWebPage):
10630 * Api/qwebpage_p.h:
10631 * WebCoreSupport/FrameLoaderClientQt.cpp:
10632 (WebCore::FrameLoaderClientQt::detachedFromParent3):
10633 (WebCore::FrameLoaderClientQt::detachedFromParent4):
10634 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
10635 * WebCoreSupport/FrameLoaderClientQt.h:
10637 2007-01-29 George Staikos <staikos@kde.org>
10641 Implement more functions
10643 * Api/qwebpage.cpp:
10644 (QWebPage::javaScriptConsoleMessage):
10645 (QWebPage::statusTextChanged):
10646 (QWebPage::runJavaScriptAlert):
10648 * Api/qwebpagehistory.cpp:
10649 (QWebPageHistory::canGoBack):
10650 (QWebPageHistory::canGoForward):
10651 * Api/qwebpagehistory.h:
10652 * WebCoreSupport/ChromeClientQt.cpp:
10653 (WebCore::ChromeClientQt::addMessageToConsole):
10654 (WebCore::ChromeClientQt::runJavaScriptAlert):
10655 * WebCoreSupport/FrameLoaderClientQt.cpp:
10656 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
10658 2007-01-26 George Staikos <staikos@kde.org>
10664 * Api/qwebframe.cpp:
10665 (QWebFrame::QWebFrame):
10666 (QWebFrame::title):
10667 (QWebFrame::selectedText):
10669 * Api/qwebframe_p.h:
10670 * Api/qwebpage.cpp:
10671 (QWebPage::createFrame):
10675 (QWebPage::focusFrame):
10678 * WebCoreSupport/FrameLoaderClientQt.cpp:
10679 (WebCore::FrameLoaderClientQt::setFrame):
10680 (WebCore::FrameLoaderClientQt::detachFrameLoader):
10681 (WebCore::FrameLoaderClientQt::dispatchDidReceiveTitle):
10682 (WebCore::FrameLoaderClientQt::didChangeTitle):
10683 (WebCore::FrameLoaderClientQt::setTitle):
10684 * WebCoreSupport/FrameLoaderClientQt.h:
10686 2007-01-26 Lars Knoll <lars@trolltech.com>
10688 Make it compile again with Qt 4.2 and add the copyright
10689 headers where forgotten in the last submit.
10691 * Api/qwebpagehistory.cpp:
10692 * Api/qwebpagehistory.h:
10693 (QExplicitlySharedDataPointer::operator*):
10694 (QExplicitlySharedDataPointer::operator->):
10695 (QExplicitlySharedDataPointer::operator T *):
10696 (QExplicitlySharedDataPointer::operator const T *):
10697 (QExplicitlySharedDataPointer::data):
10698 (QExplicitlySharedDataPointer::constData):
10699 (QExplicitlySharedDataPointer::operator==):
10700 (QExplicitlySharedDataPointer::operator!=):
10701 (QExplicitlySharedDataPointer::QExplicitlySharedDataPointer):
10702 (QExplicitlySharedDataPointer::~QExplicitlySharedDataPointer):
10703 (QExplicitlySharedDataPointer::operator=):
10704 (QExplicitlySharedDataPointer::operator!):
10705 (::QExplicitlySharedDataPointer):
10707 2007-01-26 Zack Rusin <zrusin@trolltech.com>
10711 Implement history support on platform Qt.
10713 * Api/qwebpage.cpp:
10714 (QWebPage::history):
10715 (QWebPage::goBack):
10716 (QWebPage::goForward):
10717 (QWebPage::goToHistoryItem):
10719 * Api/qwebpagehistory.cpp: Added.
10720 (QWebHistoryItem::~QWebHistoryItem):
10721 (QWebHistoryItem::originalUrl):
10722 (QWebHistoryItem::currentUrl):
10723 (QWebHistoryItem::title):
10724 (QWebHistoryItem::lastVisited):
10725 (QWebHistoryItem::icon):
10726 (QWebHistoryItem::QWebHistoryItem):
10727 (QWebPageHistory::QWebPageHistory):
10728 (QWebPageHistory::itemAtIndex):
10729 (QWebPageHistory::~QWebPageHistory):
10730 (QWebPageHistory::items):
10731 (QWebPageHistory::backItems):
10732 (QWebPageHistory::forwardItems):
10733 (QWebPageHistory::goBack):
10734 (QWebPageHistory::goForward):
10735 (QWebPageHistory::goToItem):
10736 (QWebPageHistory::backItem):
10737 (QWebPageHistory::currentItem):
10738 (QWebPageHistory::forwardItem):
10739 * Api/qwebpagehistory.h: Added.
10740 * Api/qwebpagehistory_p.h: Added.
10741 (QWebHistoryItemPrivate::QWebHistoryItemPrivate):
10742 (QWebHistoryItemPrivate::~QWebHistoryItemPrivate):
10743 (QWebPageHistoryPrivate::QWebPageHistoryPrivate):
10744 (QWebPageHistoryPrivate::~QWebPageHistoryPrivate):
10746 2007-01-26 Lars Knoll <lars@trolltech.com>
10748 Get rid of FrameQtClient. It's unused since we moved over
10751 * Api/qwebframe.cpp:
10752 (QWebFrame::QWebFrame):
10754 2007-01-26 Zack Rusin <zack@kde.org>
10758 Correctly position child frames within the
10759 toplevel frame. We were placed it on the widget
10760 itself instead of the vieweport.
10762 * Api/qwebframe.cpp:
10763 (QWebFrame::QWebFrame):
10765 2007-01-26 Lars Knoll <lars@trolltech.com>
10769 Make sure we resize the HTML when resizing a
10770 QWebFrame. Also ensure that the render tree
10771 is up to date before dumping it.
10773 * Api/qwebframe.cpp:
10774 (QWebFrame::innerText):
10775 (QWebFrame::renderTreeDump):
10776 (QWebFrame::resizeEvent):
10778 * Api/qwebpage.cpp:
10779 (QWebPagePrivate::createMainFrame):
10781 2007-01-26 Zack Rusin <zack@kde.org>
10785 Display pages inside a mainwindow instead
10786 of a custom qwidget.
10788 * QtLauncher/main.cpp:
10789 (MainWindow::MainWindow):
10792 2007-01-25 Lars Knoll <lars@trolltech.com>
10796 Emit the loadDone() signal from teh onload event callback
10797 again. This hangs on one or two test cases, but removes
10798 hundreds of failures elsewhere.
10800 * WebCoreSupport/FrameLoaderClientQt.cpp:
10801 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
10802 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
10804 2007-01-24 Lars Knoll <lars@trolltech.com>
10808 Implement some bits and pieces required by the loader.
10809 Fixes quite a few crashes and hangs in the lyout tests
10812 * WebCoreSupport/FrameLoaderClientQt.cpp:
10813 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
10814 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoad):
10815 (WebCore::FrameLoaderClientQt::finishedLoading):
10816 (WebCore::FrameLoaderClientQt::setMainDocumentError):
10817 (WebCore::FrameLoaderClientQt::committedLoad):
10818 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
10819 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
10820 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10821 (WebCore::FrameLoaderClientQt::createFrame):
10823 2007-01-24 Lars Knoll <lars@trolltech.com>
10825 Fix compilation again.
10827 * WebCoreSupport/EditorClientQt.cpp:
10828 (WebCore::EditorClientQt::handleKeyPress):
10829 * WebCoreSupport/EditorClientQt.h:
10831 2007-01-23 Lars Knoll <lars@trolltech.com>
10835 Fix refcounting of FrameViews (they get created with a
10836 refcount of 1) and add a few safety checks to the
10837 FrameLoaderClientQt.
10839 * Api/qwebframe.cpp:
10840 (QWebFrame::QWebFrame):
10841 (QWebFrame::~QWebFrame):
10842 * WebCoreSupport/FrameLoaderClientQt.cpp:
10843 (WebCore::FrameLoaderClientQt::detachedFromParent3):
10844 (WebCore::FrameLoaderClientQt::detachedFromParent4):
10845 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
10846 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
10847 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
10848 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
10849 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
10850 (WebCore::FrameLoaderClientQt::windowObjectCleared):
10852 2007-01-23 Zack Rusin <zack@kde.org>
10854 Adjust the DragClientQt to latest changes.
10856 * Api/qwebpage.cpp:
10857 (QWebPagePrivate::QWebPagePrivate):
10858 * WebCoreSupport/DragClientQt.cpp:
10859 (WebCore::DragClientQt::dragControllerDestroyed):
10860 * WebCoreSupport/DragClientQt.h:
10862 2007-01-23 Zack Rusin <zack@kde.org>
10866 * WebCoreSupport/DragClientQt.cpp:
10867 (WebCore::DragClientQt::willPerformDragDestinationAction):
10868 * WebCoreSupport/DragClientQt.h:
10870 2007-01-23 Lars Knoll <lars@trolltech.com>
10874 Add support for Frames to the Qt build and fix some issues
10875 in the API classes.
10877 * Api/qwebframe.cpp:
10878 (QWebFrame::QWebFrame):
10879 (QWebFrame::~QWebFrame):
10881 * Api/qwebframe_p.h:
10882 * Api/qwebpage.cpp:
10883 (QWebPagePrivate::QWebPagePrivate):
10884 (QWebPagePrivate::createMainFrame):
10885 (QWebPage::createFrame):
10887 * WebCoreSupport/FrameLoaderClientQt.cpp:
10888 (WebCore::FrameLoaderClientQt::detachedFromParent3):
10889 (WebCore::FrameLoaderClientQt::detachedFromParent4):
10890 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
10891 (WebCore::FrameLoaderClientQt::windowObjectCleared):
10892 (WebCore::FrameLoaderClientQt::createFrame):
10893 (WebCore::FrameLoaderClientQt::objectContentType):
10894 (WebCore::FrameLoaderClientQt::createPlugin):
10895 (WebCore::FrameLoaderClientQt::redirectDataToPlugin):
10896 (WebCore::FrameLoaderClientQt::createJavaAppletWidget):
10897 (WebCore::FrameLoaderClientQt::overrideMediaType):
10898 * WebCoreSupport/FrameLoaderClientQt.h:
10900 2007-01-23 Oliver Hunt <oliver@apple.com>
10904 Qt build stubs for Drop logic
10906 * WebCoreSupport/DragClientQt.cpp: Added.
10907 (WebCore::DragClientQt::actionMaskForDrag):
10908 (WebCore::DragClientQt::willPerformDragDestinationAction):
10909 * WebCoreSupport/DragClientQt.h: Added.
10910 * WebKitPart/WebKitPart.cpp:
10911 (WebKitPart::initView):
10913 2007-01-19 John Sullivan <sullivan@apple.com>
10915 Added stubs for new callbacks, to try to avoid breaking the Qt port.
10917 * WebCoreSupport/FrameLoaderClientQt.cpp:
10918 (WebCore::FrameLoaderClientQt::dispatchDidFinishDocumentLoad):
10919 * WebCoreSupport/FrameLoaderClientQt.h:
10921 2007-01-19 Anders Carlsson <acarlsson@apple.com>
10923 Try fixing the QT build.
10925 * WebCoreSupport/ChromeClientQt.cpp:
10926 (WebCore::ChromeClientQt::runJavaScriptAlert):
10927 (WebCore::ChromeClientQt::runJavaScriptConfirm):
10928 (WebCore::ChromeClientQt::runJavaScriptPrompt):
10929 (WebCore::ChromeClientQt::setStatusbarText):
10930 * WebCoreSupport/ChromeClientQt.h:
10932 2007-01-18 Zack Rusin <zack@kde.org>
10936 Implementing a little bit of load progress tracking in the Qt port.
10938 * Api/qwebframe.cpp:
10939 (QWebFrame::QWebFrame):
10942 * Api/qwebframe_p.h:
10943 (QWebFramePrivate::QWebFramePrivate):
10945 * QtLauncher/main.cpp:
10947 * WebCoreSupport/FrameLoaderClientQt.cpp:
10948 (WebCore::FrameLoaderClientQt::setFrame):
10949 (WebCore::FrameLoaderClientQt::detachFrameLoader):
10950 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
10951 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
10952 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
10953 * WebCoreSupport/FrameLoaderClientQt.h:
10955 2007-01-17 Alice Liu <alice.liu@apple.com>
10957 Added these stubs to keep the Qt build from failing.
10959 * WebCoreSupport/EditorClientQt.cpp:
10960 (WebCore::EditorClientQt::didSetSelectionTypesForPasteboard):
10961 * WebCoreSupport/EditorClientQt.h:
10963 2007-01-17 Lars Knoll <lars@trolltech.com>
10967 Remove the inheritance from Shared<XxxClient> in the
10970 Answer asynchronously to most of the Policy checking methods
10971 in FrameLoaderClientQt to avoid some crashes in the loader.
10973 * WebCoreSupport/ChromeClientQt.cpp:
10974 * WebCoreSupport/ChromeClientQt.h:
10975 * WebCoreSupport/ContextMenuClientQt.cpp:
10976 * WebCoreSupport/ContextMenuClientQt.h:
10977 * WebCoreSupport/EditorClientQt.cpp:
10978 * WebCoreSupport/EditorClientQt.h:
10979 * WebCoreSupport/FrameLoaderClientQt.cpp:
10980 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
10981 (WebCore::FrameLoaderClientQt::callPolicyFunction):
10982 (WebCore::FrameLoaderClientQt::slotCallPolicyFunction):
10983 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
10984 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
10985 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
10986 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
10987 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
10988 * WebCoreSupport/FrameLoaderClientQt.h:
10990 2007-01-17 Lars Knoll <lars@trolltech.com>
10994 change all notImplemented() macros to use qDebug
10995 instead of fprintf(stder, ...)
10997 * WebCoreSupport/ChromeClientQt.cpp:
10998 * WebCoreSupport/ContextMenuClientQt.cpp:
10999 * WebCoreSupport/EditorClientQt.cpp:
11000 * WebCoreSupport/FrameLoaderClientQt.cpp:
11002 2007-01-16 Alice Liu <alice.liu@apple.com>
11004 Added these stubs to keep the Qt build from failing.
11006 * WebCoreSupport/EditorClientQt.cpp:
11007 (WebCore::EditorClientQt::didWriteSelectionToPasteboard):
11008 * WebCoreSupport/EditorClientQt.h:
11010 2007-01-16 Lars Knoll <lars@trolltech.com>
11014 Added the start of a public API to the Qt build
11015 of WebKit. Currently we have QWebPage and QWebFrame
11016 with a few small methods.
11018 Converted the QtLauncher to use the new public API.
11020 * Api/qwebframe.cpp: Added.
11021 (QWebFrame::QWebFrame):
11022 (QWebFrame::~QWebFrame):
11023 (QWebFrame::addToJSWindowObject):
11024 (QWebFrame::markup):
11025 (QWebFrame::innerText):
11026 (QWebFrame::renderTreeDump):
11027 * Api/qwebframe.h: Added.
11028 * Api/qwebframe_p.h: Added.
11029 (QWebFramePrivate::QWebFramePrivate):
11030 * Api/qwebpage.cpp: Added.
11031 (QWebPagePrivate::QWebPagePrivate):
11032 (QWebPagePrivate::~QWebPagePrivate):
11033 (QWebPagePrivate::createMainFrame):
11034 (QWebPage::QWebPage):
11035 (QWebPage::~QWebPage):
11036 (QWebPage::createFrame):
11038 (QWebPage::mainFrame):
11039 (QWebPage::sizeHint):
11040 * Api/qwebpage.h: Added.
11041 * Api/qwebpage_p.h: Added.
11042 * QtLauncher/main.cpp:
11044 * WebCoreSupport/ChromeClientQt.cpp:
11045 (WebCore::ChromeClientQt::ChromeClientQt):
11046 (WebCore::ChromeClientQt::setWindowRect):
11047 (WebCore::ChromeClientQt::windowRect):
11048 (WebCore::ChromeClientQt::pageRect):
11049 (WebCore::ChromeClientQt::focus):
11050 (WebCore::ChromeClientQt::unfocus):
11051 (WebCore::ChromeClientQt::canTakeFocus):
11052 (WebCore::ChromeClientQt::takeFocus):
11053 (WebCore::ChromeClientQt::createWindow):
11054 (WebCore::ChromeClientQt::createModalDialog):
11055 (WebCore::ChromeClientQt::show):
11056 (WebCore::ChromeClientQt::addMessageToConsole):
11057 (WebCore::ChromeClientQt::chromeDestroyed):
11058 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
11059 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
11060 (WebCore::ChromeClientQt::closeWindowSoon):
11061 * WebCoreSupport/ChromeClientQt.h:
11062 * WebCoreSupport/FrameLoaderClientQt.cpp:
11063 (WebCore::FrameLoaderClientQt::setFrame):
11064 (WebCore::FrameLoaderClientQt::detachFrameLoader):
11065 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
11066 (WebCore::FrameLoaderClientQt::partClearedInBegin):
11067 * WebCoreSupport/FrameLoaderClientQt.h:
11069 2007-01-15 Anders Carlsson <acarlsson@apple.com>
11073 * WebCoreSupport/FrameLoaderClientQt.cpp:
11074 (WebCore::FrameLoaderClientQt::postProgressStartedNotification):
11075 (WebCore::FrameLoaderClientQt::postProgressEstimateChangedNotification):
11076 (WebCore::FrameLoaderClientQt::postProgressFinishedNotification):
11077 * WebCoreSupport/FrameLoaderClientQt.h:
11079 2007-01-13 Lars Knoll <lars@trolltech.com>
11081 Compile again after yesterdays changes.
11083 * WebCoreSupport/FrameLoaderClientQt.cpp:
11084 (WebCore::FrameLoaderClientQt::assignIdentifierToInitialRequest):
11085 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
11086 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
11087 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
11088 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
11089 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
11090 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
11091 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
11092 (WebCore::FrameLoaderClientQt::incrementProgress):
11093 (WebCore::FrameLoaderClientQt::completeProgress):
11094 * WebCoreSupport/FrameLoaderClientQt.h:
11096 2007-01-11 Brady Eidson <beidson@apple.com>
11098 Keep the fancy new FrameLoaderClientQt building with a small api change in WebCore
11099 Yay for the loader on QT!
11101 * WebCoreSupport/FrameLoaderClientQt.cpp:
11102 (WebCore::FrameLoaderClientQt::dispatchDidReceiveAuthenticationChallenge):
11103 (WebCore::FrameLoaderClientQt::dispatchDidCancelAuthenticationChallenge):
11104 * WebCoreSupport/FrameLoaderClientQt.h:
11106 2007-01-11 Lars Knoll <lars@trolltech.com>
11110 Start using the loader in the Qt port.
11112 * QtLauncher/main.cpp:
11114 * WebCoreSupport/FrameLoaderClientQt.cpp:
11115 (WebCore::FrameLoaderClientQt::FrameLoaderClientQt):
11116 (WebCore::FrameLoaderClientQt::~FrameLoaderClientQt):
11117 (WebCore::FrameLoaderClientQt::setFrame):
11118 (WebCore::FrameLoaderClientQt::detachFrameLoader):
11119 (WebCore::FrameLoaderClientQt::makeDocumentView):
11120 (WebCore::FrameLoaderClientQt::makeRepresentation):
11121 (WebCore::FrameLoaderClientQt::setCopiesOnScroll):
11122 (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
11123 (WebCore::FrameLoaderClientQt::cancelPolicyCheck):
11124 (WebCore::FrameLoaderClientQt::dispatchWillSubmitForm):
11125 (WebCore::FrameLoaderClientQt::progressStarted):
11126 (WebCore::FrameLoaderClientQt::progressCompleted):
11127 (WebCore::FrameLoaderClientQt::setMainFrameDocumentReady):
11128 (WebCore::FrameLoaderClientQt::clearArchivedResources):
11129 (WebCore::FrameLoaderClientQt::canShowMIMEType):
11130 (WebCore::FrameLoaderClientQt::representationExistsForURLScheme):
11131 (WebCore::FrameLoaderClientQt::provisionalLoadStarted):
11132 (WebCore::FrameLoaderClientQt::prepareForDataSourceReplacement):
11133 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
11134 (WebCore::FrameLoaderClientQt::canHandleRequest):
11135 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
11136 (WebCore::FrameLoaderClientQt::canCachePage):
11137 (WebCore::FrameLoaderClientQt::committedLoad):
11138 (WebCore::FrameLoaderClientQt::cancelledError):
11139 (WebCore::FrameLoaderClientQt::cannotShowURLError):
11140 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
11141 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
11142 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
11143 (WebCore::FrameLoaderClientQt::shouldFallBack):
11144 (WebCore::FrameLoaderClientQt::createDocumentLoader):
11145 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
11146 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
11147 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
11148 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
11149 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
11150 (WebCore::FrameLoaderClientQt::willUseArchive):
11151 * WebCoreSupport/FrameLoaderClientQt.h:
11153 2007-01-11 George Staikos <staikos@kde.org>
11157 * WebCoreSupport/ContextMenuClientQt.cpp:
11158 (WebCore::ContextMenuClientQt::searchWithGoogle):
11159 * WebCoreSupport/ContextMenuClientQt.h:
11161 2007-01-06 George Staikos <staikos@kde.org>
11167 * WebCoreSupport/FrameLoaderClientQt.cpp:
11168 (WebCore::FrameLoaderClientQt::setMainDocumentError):
11169 (WebCore::FrameLoaderClientQt::committedLoad):
11170 (WebCore::FrameLoaderClientQt::cancelledError):
11171 (WebCore::FrameLoaderClientQt::cannotShowURLError):
11172 (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
11173 (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
11174 (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
11175 (WebCore::FrameLoaderClientQt::shouldFallBack):
11176 (WebCore::FrameLoaderClientQt::createDocumentLoader):
11177 (WebCore::FrameLoaderClientQt::download):
11178 (WebCore::FrameLoaderClientQt::dispatchWillSendRequest):
11179 (WebCore::FrameLoaderClientQt::dispatchDidReceiveResponse):
11180 (WebCore::FrameLoaderClientQt::dispatchDidReceiveContentLength):
11181 (WebCore::FrameLoaderClientQt::dispatchDidFinishLoading):
11182 (WebCore::FrameLoaderClientQt::dispatchDidFailLoading):
11183 (WebCore::FrameLoaderClientQt::dispatchDidLoadResourceFromMemoryCache):
11184 (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
11185 (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
11186 (WebCore::FrameLoaderClientQt::dispatchCreatePage):
11187 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForMIMEType):
11188 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
11189 (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
11190 (WebCore::FrameLoaderClientQt::dispatchUnableToImplementPolicy):
11191 (WebCore::FrameLoaderClientQt::incrementProgress):
11192 (WebCore::FrameLoaderClientQt::completeProgress):
11193 (WebCore::FrameLoaderClientQt::startDownload):
11194 (WebCore::FrameLoaderClientQt::willUseArchive):
11195 * WebCoreSupport/FrameLoaderClientQt.h:
11197 2007-01-05 Lars Knoll <lars@trolltech.com>
11199 Make the Qt build compile again
11201 * WebCoreSupport/ChromeClientQt.cpp:
11202 (WebCore::ChromeClientQt::canTakeFocus):
11203 (WebCore::ChromeClientQt::takeFocus):
11204 * WebCoreSupport/ChromeClientQt.h:
11205 * WebCoreSupport/ContextMenuClientQt.cpp:
11206 (WebCore::ContextMenuClientQt::getCustomMenuFromDefaultItems):
11207 * WebCoreSupport/ContextMenuClientQt.h:
11209 2007-01-03 Lars Knoll <lars@trolltech.com>
11213 * WebCoreSupport/FrameLoaderClientQt.cpp:
11214 (WebCore::FrameLoaderClientQt::setDocumentViewFromPageCache):
11215 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForStandardLoad):
11216 (WebCore::FrameLoaderClientQt::updateGlobalHistoryForReload):
11217 (WebCore::FrameLoaderClientQt::shouldGoToHistoryItem):
11218 (WebCore::FrameLoaderClientQt::saveScrollPositionAndViewStateToItem):
11219 (WebCore::FrameLoaderClientQt::saveDocumentViewToPageCache):
11220 (WebCore::FrameLoaderClientQt::canCachePage):
11221 * WebCoreSupport/FrameLoaderClientQt.h:
11223 2006-12-29 George Staikos <staikos@kde.org>
11225 Add missing notimplemented.
11227 * WebCoreSupport/FrameLoaderClientQt.cpp:
11228 (WebCore::FrameLoaderClientQt::frameLoaderDestroyed):
11229 (WebCore::FrameLoaderClientQt::canHandleRequest):
11230 (WebCore::FrameLoaderClientQt::partClearedInBegin):
11232 2006-12-21 Lars Knoll <lars@trolltech.com>
11236 * WebCoreSupport/FrameLoaderClientQt.cpp:
11237 (WebCore::FrameLoaderClientQt::hasWebView):
11238 (WebCore::FrameLoaderClientQt::hasFrameView):
11239 (WebCore::FrameLoaderClientQt::dispatchDidHandleOnloadEvents):
11240 (WebCore::FrameLoaderClientQt::dispatchDidFirstLayout):
11241 (WebCore::FrameLoaderClientQt::setTitle):
11242 (WebCore::FrameLoaderClientQt::partClearedInBegin):
11243 * WebCoreSupport/FrameLoaderClientQt.h:
11244 Remove some runtimw warnings
11245 Add partClearedInBegin forwarding call, so
11246 I can catch this in the layout tests.
11248 2006-12-19 Lars Knoll <lars@trolltech.com>
11252 * WebCoreSupport/ChromeClientQt.cpp:
11253 (WebCore::ChromeClientQt::canRunBeforeUnloadConfirmPanel):
11254 (WebCore::ChromeClientQt::runBeforeUnloadConfirmPanel):
11255 (WebCore::ChromeClientQt::closeWindowSoon):
11256 * WebCoreSupport/ChromeClientQt.h:
11259 2006-12-16 Zack Rusin <zack@kde.org>
11261 Adjust the client to the most recent interface.
11263 * WebCoreSupport/ContextMenuClientQt.cpp:
11264 (WebCore::ContextMenuClientQt::contextMenuDestroyed):
11265 (WebCore::ContextMenuClientQt::addCustomContextMenuItems):
11266 (WebCore::ContextMenuClientQt::contextMenuItemSelected):
11267 (WebCore::ContextMenuClientQt::downloadURL):
11268 (WebCore::ContextMenuClientQt::copyImageToClipboard):
11269 (WebCore::ContextMenuClientQt::lookUpInDictionary):
11270 * WebCoreSupport/ContextMenuClientQt.h:
11272 2006-12-14 Simon Hausmann <hausmann@kde.org>
11276 * QtLauncher/QtLauncher.pro: Link this little test program
11277 with rpath, for convenience. (This is never going to get installed
11280 2006-12-12 George Staikos <staikos@kde.org>
11282 Reviewed by Alexey.
11284 Fix the Qt build again.
11286 * WebCoreSupport/ContextMenuClientQt.cpp:
11287 (WebCore::ContextMenuClientQt::speak):
11288 (WebCore::ContextMenuClientQt::stopSpeaking):
11289 * WebCoreSupport/ContextMenuClientQt.h:
11290 * WebCoreSupport/EditorClientQt.cpp:
11291 (WebCore::EditorClientQt::toggleContinuousSpellChecking):
11292 (WebCore::EditorClientQt::toggleGrammarChecking):
11293 * WebCoreSupport/EditorClientQt.h:
11295 2006-12-10 George Staikos <staikos@kde.org>
11299 Add a default user agent for now.
11301 * WebCoreSupport/FrameLoaderClientQt.cpp:
11302 (WebCore::FrameLoaderClientQt::userAgent):
11304 2006-12-10 Lars Knoll <lars@trolltech.com>
11308 Comment out a notImplemented() warning
11310 * WebCoreSupport/EditorClientQt.cpp:
11311 (WebCore::EditorClientQt::clearUndoRedoOperations):
11313 2006-12-10 Zack Rusin <zack@kde.org>
11315 Print out the method name if it's unimplemented.
11317 * WebCoreSupport/FrameLoaderClientQt.cpp:
11319 2006-12-10 Zack Rusin <zack@kde.org>
11321 Moving the clients from platform to their final location.
11323 * WebCoreSupport/FrameLoaderClientQt.cpp: Added.
11324 * WebCoreSupport/FrameLoaderClientQt.h: Added.
11325 * WebCoreSupport/ChromeClientQt.cpp: Added.
11326 * WebCoreSupport/ChromeClientQt.h: Added.
11327 * WebCoreSupport/ContextMenuClientQt.cpp: Added.
11328 * WebCoreSupport/ContextMenuClientQt.h: Added.
11329 * WebCoreSupport/EditorClientQt.cpp: Added.
11330 * WebCoreSupport/EditorClientQt.h: Added.
11332 2006-12-10 Zack Rusin <zack@kde.org>
11334 Adjusting to the changes in platform/qt.
11336 * QtLauncher/main.cpp:
11339 2006-12-09 Lars Knoll <lars@trolltech.com>
11343 Make it possible to build WebKit with qmake.
11345 * QtLauncher/QtLauncher.pro: Added.
11346 * QtLauncher/main.cpp:
11348 2006-12-08 Zack Rusin <zack@kde.org>
11350 Reviewed by Maciej.
11352 Fix the build after the recent changes.
11354 * QtLauncher/main.cpp:
11356 * WebKitPart/WebKitPart.cpp:
11357 (WebKitPart::initView):
11359 2006-11-19 Simon Hausmann <hausmann@kde.org>
11363 http://bugs.webkit.org/show_bug.cgi?id=11649
11366 * QtLauncher/CMakeLists.txt:
11368 2006-11-17 Zack Rusin <zack@kde.org>
11370 Reviewed by Mitz. Landed by Niko.
11372 Adjusting to the new api.
11374 * QtLauncher/main.cpp:
11376 * WebKitPart/WebKitPart.cpp:
11377 (WebKitPart::initView):
11379 2006-11-10 Zack Rusin <zack@kde.org>
11381 Reviewed and landed by Anders.
11383 Adjusting to the recent loader changes, making it compile
11386 * QtLauncher/main.cpp:
11388 * WebKitPart/WebKitPart.cpp:
11389 (WebKitPart::closeUrl):
11390 (WebKitPart::initView):
11392 2006-11-03 Zack Rusin <zack@kde.org>
11394 Reviewed by Maciej.
11396 Fixing compile on both Qt and KDE platforms.
11398 * QtLauncher/main.cpp:
11399 (main): url has already been defined
11400 * WebKitPart/WebKitPartBrowserExtension.cpp: removing
11401 duplicate implementation of this class
11403 2006-10-31 Simon Hausmann <hausmann@kde.org>
11405 Reviewed by Maciej, landed by Anders.
11407 * QtLauncher/CMakeLists.txt: Make linkage against kde libraries
11409 * QtLauncher/main.cpp: Make it compile without KDE.
11412 2006-11-02 Simon Hausmann <hausmann@kde.org>
11414 Reviewed by Maciej, landed by Anders.
11416 * QtLauncher/main.cpp:
11417 (main): Declare our frame as main frame to the Page object.
11418 Fixes crashes on various web sites
11420 2006-10-31 Zack Rusin <zack@kde.org>
11424 Fix the Qt build after last nights changes.
11426 * QtLauncher/CMakeLists.txt:
11427 * WebKitPart/CMakeLists.txt:
11429 2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
11431 Reviewed by Darin Adler.
11433 Fix Qt/Linux build.
11435 * QtLauncher/main.cpp:
11437 * WebKitPart/WebKitPart.cpp:
11438 (WebKitPart::openUrl):
11440 2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
11442 Reviewed by Maciej.
11444 Fix Qt/Linux build.
11446 - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
11447 - Fix CMakeLists.txt to include platform/network.
11449 * QtLauncher/CMakeLists.txt:
11450 * WebKitPart/CMakeLists.txt:
11452 2006-10-24 Simon Hausmann <hausmann@kde.org>
11454 Reviewed by Darin Adler.
11456 * QtLauncher/CMakeLists.txt, WebKitPart/CMakeLists.txt: Added project name to
11457 kde4_automoc macro, as required by the latest KDE4 cmake module.
11459 2006-10-20 Nikolas Zimmermann <zimmermann@kde.org>
11461 Reviewed and landed by Anders.
11463 Adapt to FrameQtClient changes, and provide some kind of status
11464 information to the KPart wheter we're loading or not (started/completed signaling).
11466 * WebKitPart/CMakeLists.txt:
11467 * WebKitPart/WebKitPart.cpp:
11468 (WebKitPart::WebKitPart):
11469 (WebKitPart::~WebKitPart):
11470 (WebKitPart::openUrl):
11471 (WebKitPart::initView):
11472 * WebKitPart/WebKitPart.h:
11473 * WebKitPart/WebKitPartBrowserExtension.cpp: Added.
11474 (WebKitPartBrowserExtension::WebKitPartBrowserExtension):
11475 (WebKitPartBrowserExtension::~WebKitPartBrowserExtension):
11476 * WebKitPart/WebKitPartBrowserExtension.h: Added.
11477 * WebKitPart/WebKitPartClient.cpp:
11478 (WebKitPartClient::WebKitPartClient):
11479 (WebKitPartClient::loadFinished):
11480 * WebKitPart/WebKitPartClient.h:
11481 * WebKitPart/WebKitPartInterface.h:
11483 2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
11485 Reviewed by eseidel. Landed by eseidel.
11487 Fix last remaining issue Qt/Linux build with gcc3.
11489 * WebKitPart/WebKitPart.h: Remove Q_PROPERTY usage, which is not needed and made problems.
11491 2006-09-10 Nikolas Zimmermann <zimmermann@kde.org>
11493 Reviewed and landed by ap.
11495 Fix QtLauncher - it is supposed to create a FrameView on its own nowadays.
11497 * QtLauncher/main.cpp:
11500 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
11504 Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
11505 Move QtLauncher down to WebKitQt.
11507 * QtLauncher/CMakeLists.txt: Added.
11508 * QtLauncher/main.cpp: Added.
11511 2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
11513 Reviewed by Darin Adler. Final polish by Sam.
11515 Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
11516 Add WebKitPart, an embeddable KPart for the KDE platform.
11518 * WebKitPart/CMakeLists.txt: Added.
11519 * WebKitPart/WebKitFactory.cpp: Added.
11520 (WebKitFactory::WebKitFactory):
11521 (WebKitFactory::~WebKitFactory):
11522 (WebKitFactory::createPartObject):
11523 (WebKitFactory::instance):
11524 (WebKitFactory::ref):
11525 (WebKitFactory::deref):
11526 (init_libWebKitPart):
11527 * WebKitPart/WebKitFactory.h: Added.
11528 * WebKitPart/WebKitPart.cpp: Added.
11529 (WebKitPart::WebKitPart):
11530 (WebKitPart::~WebKitPart):
11531 (WebKitPart::openFile):
11532 (WebKitPart::openUrl):
11533 (WebKitPart::closeUrl):
11534 (WebKitPart::parentPart):
11535 (WebKitPart::frame):
11536 (WebKitPart::initView):
11537 * WebKitPart/WebKitPart.desktop: Added.
11538 * WebKitPart/WebKitPart.h: Added.
11540 * WebKitPart/WebKitPart.rc: Added.
11541 * WebKitPart/WebKitPartBrowser.rc: Added.
11542 * WebKitPart/WebKitPartClient.cpp: Added.
11543 (WebKitPartClient::WebKitPartClient):
11544 (WebKitPartClient::~WebKitPartClient):
11545 * WebKitPart/WebKitPartClient.h: Added.
11546 * WebKitPart/WebKitPartInterface.cpp: Added.
11547 (WebKitPartInterface::WebKitPartInterface):
11548 (WebKitPartInterface::~WebKitPartInterface):
11549 (WebKitPartInterface::url):
11550 (WebKitPartInterface::closeURL):
11551 * WebKitPart/WebKitPartInterface.h: Added.
11552 * WebKitPart/org.kde.WebKitPart.xml: Added.