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