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