1. 05 Apr, 2010 1 commit
  2. 30 Mar, 2010 1 commit
    • barraclough@apple.com's avatar
      Rubber stamped by Sam Weinig. · 00b7992e
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=36866
      Move CString to WTF
      
      JavaScriptCore: 
      
      * Android.mk:
      * GNUmakefile.am:
      * JavaScriptCore.exp:
      * JavaScriptCore.gypi:
      * JavaScriptCore.pro:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.vcproj/WTF/WTF.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * wtf/text: Added.
      * wtf/text/CString.cpp: Copied from WebCore/platform/text/CString.cpp.
      * wtf/text/CString.h: Copied from WebCore/platform/text/CString.h.
      (WTF::CStringBuffer::data):
      (WTF::CStringBuffer::length):
      (WTF::CStringBuffer::create):
      (WTF::CStringBuffer::CStringBuffer):
      (WTF::CStringBuffer::mutableData):
      (WTF::CString::CString):
      (WTF::CString::isNull):
      (WTF::CString::buffer):
      (WTF::operator!=):
      
      WebCore: 
      
      * Android.mk:
      * ForwardingHeaders/wtf/text: Added.
      * ForwardingHeaders/wtf/text/CString.h: Added.
      * GNUmakefile.am:
      * WebCore.base.exp:
      * WebCore.gypi:
      * WebCore.order:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
      * bindings/js/JSDOMWindowBase.cpp:
      * bindings/js/ScheduledAction.cpp:
      * bindings/js/ScriptController.cpp:
      * bindings/v8/ScriptController.cpp:
      * bindings/v8/V8Binding.cpp:
      * bindings/v8/V8DOMWindowShell.cpp:
      * bridge/jni/JNIBridge.cpp:
      * bridge/jni/v8/JavaStringV8.h:
      (JSC::Bindings::JavaStringImpl::init):
      * css/CSSParser.cpp:
      * dom/CharacterData.cpp:
      * dom/Document.cpp:
      * dom/Element.cpp:
      * dom/Node.cpp:
      * dom/Position.cpp:
      * dom/Range.cpp:
      * dom/Text.cpp:
      * dom/XMLTokenizer.cpp:
      * dom/XMLTokenizerLibxml2.cpp:
      * dom/XMLTokenizerQt.cpp:
      * editing/SelectionController.cpp:
      * editing/VisiblePosition.cpp:
      * editing/VisibleSelection.cpp:
      * history/CachedFrame.cpp:
      * history/HistoryItem.cpp:
      * history/qt/HistoryItemQt.cpp:
      * html/FormDataList.h:
      (WebCore::FormDataList::appendData):
      (WebCore::FormDataList::Item::Item):
      (WebCore::FormDataList::Item::data):
      * html/HTMLDocument.cpp:
      * html/PreloadScanner.cpp:
      * inspector/InspectorController.cpp:
      * inspector/InspectorDOMAgent.cpp:
      * loader/DocLoader.cpp:
      * loader/FTPDirectoryDocument.cpp:
      * loader/FrameLoader.cpp:
      * loader/HistoryController.cpp:
      * loader/ProgressTracker.cpp:
      * loader/appcache/ApplicationCacheStorage.cpp:
      * loader/archive/cf/LegacyWebArchive.cpp:
      * loader/icon/wince/IconDatabaseWince.cpp:
      * loader/loader.cpp:
      * page/Console.cpp:
      * page/DOMWindow.cpp:
      * page/SecurityOrigin.cpp:
      * page/XSSAuditor.cpp:
      * page/animation/AnimationBase.cpp:
      * platform/ContextMenu.cpp:
      * platform/FileSystem.h:
      * platform/KURL.cpp:
      * platform/KURLGoogle.cpp:
      * platform/KURLGooglePrivate.h:
      * platform/Pasteboard.h:
      * platform/android/FileSystemAndroid.cpp:
      * platform/android/TemporaryLinkStubs.cpp:
      * platform/brew/KURLBrew.cpp:
      * platform/cf/FileSystemCF.cpp:
      * platform/chromium/MIMETypeRegistryChromium.cpp:
      * platform/efl/FileSystemEfl.cpp:
      * platform/efl/PasteboardEfl.cpp:
      * platform/efl/PlatformKeyboardEventEfl.cpp:
      * platform/efl/PlatformScreenEfl.cpp:
      * platform/efl/RenderThemeEfl.cpp:
      * platform/efl/ScrollbarEfl.cpp:
      * platform/efl/SharedBufferEfl.cpp:
      * platform/efl/WidgetEfl.cpp:
      * platform/graphics/GlyphPageTreeNode.cpp:
      * platform/graphics/cairo/FontPlatformDataCairo.cpp:
      * platform/graphics/cg/ImageBufferCG.cpp:
      * platform/graphics/chromium/FontCacheLinux.cpp:
      * platform/graphics/chromium/FontPlatformDataLinux.h:
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
      * platform/graphics/gtk/FontPlatformDataPango.cpp:
      * platform/graphics/gtk/IconGtk.cpp:
      * platform/graphics/gtk/ImageGtk.cpp:
      * platform/graphics/haiku/GraphicsContextHaiku.cpp:
      * platform/graphics/mac/GraphicsContext3DMac.cpp:
      * platform/graphics/mac/GraphicsLayerCA.mm:
      * platform/graphics/qt/GraphicsContext3DQt.cpp:
      * platform/graphics/qt/ImageBufferQt.cpp:
      * platform/graphics/qt/MediaPlayerPrivatePhonon.cpp:
      * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
      * platform/graphics/skia/GraphicsLayerSkia.cpp:
      * platform/graphics/win/GraphicsLayerCACF.cpp:
      * platform/graphics/win/WKCACFLayer.cpp:
      * platform/graphics/wx/FontPlatformData.h:
      * platform/gtk/ClipboardGtk.cpp:
      * platform/gtk/ContextMenuItemGtk.cpp:
      * platform/gtk/DataObjectGtk.h:
      * platform/gtk/FileChooserGtk.cpp:
      * platform/gtk/FileSystemGtk.cpp:
      * platform/gtk/GeolocationServiceGtk.cpp:
      * platform/gtk/KURLGtk.cpp:
      * platform/gtk/Language.cpp:
      * platform/gtk/LocalizedStringsGtk.cpp:
      * platform/gtk/PasteboardGtk.cpp:
      * platform/gtk/PopupMenuGtk.cpp:
      * platform/gtk/RenderThemeGtk.cpp:
      * platform/gtk/SharedBufferGtk.cpp:
      * platform/haiku/FileSystemHaiku.cpp:
      * platform/haiku/PlatformKeyboardEventHaiku.cpp:
      * platform/network/CredentialStorage.cpp:
      * platform/network/FormData.cpp:
      * platform/network/FormData.h:
      * platform/network/FormDataBuilder.cpp:
      * platform/network/FormDataBuilder.h:
      * platform/network/HTTPParsers.cpp:
      * platform/network/android/ResourceHandleAndroid.cpp:
      * platform/network/cf/FormDataStreamCFNet.cpp:
      * platform/network/cf/ResourceHandleCFNet.cpp:
      * platform/network/chromium/ResourceResponse.h:
      * platform/network/curl/FormDataStreamCurl.cpp:
      * platform/network/curl/ResourceHandleManager.cpp:
      * platform/network/curl/ResourceHandleManager.h:
      * platform/network/mac/FormDataStreamMac.mm:
      * platform/network/mac/ResourceHandleMac.mm:
      * platform/network/qt/QNetworkReplyHandler.cpp:
      * platform/network/soup/CookieJarSoup.cpp:
      * platform/network/soup/ResourceHandleSoup.cpp:
      * platform/network/soup/ResourceRequestSoup.cpp:
      * platform/network/soup/ResourceResponseSoup.cpp:
      * platform/network/win/ResourceHandleWin.cpp:
      * platform/posix/FileSystemPOSIX.cpp:
      * platform/qt/FileSystemQt.cpp:
      * platform/qt/KURLQt.cpp:
      * platform/qt/TemporaryLinkStubs.cpp:
      * platform/sql/chromium/SQLiteFileSystemChromium.cpp:
      * platform/text/CString.cpp: Removed.
      * platform/text/CString.h: Removed.
      * platform/text/PlatformString.h:
      * platform/text/String.cpp:
      * platform/text/StringImpl.cpp:
      * platform/text/TextCodec.h:
      * platform/text/TextCodecICU.cpp:
      * platform/text/TextCodecLatin1.cpp:
      * platform/text/TextCodecUTF16.cpp:
      * platform/text/TextCodecUserDefined.cpp:
      * platform/text/TextEncoding.cpp:
      * platform/text/TextEncoding.h:
      * platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp:
      * platform/text/gtk/TextCodecGtk.cpp:
      * platform/text/haiku/StringHaiku.cpp:
      * platform/text/mac/TextCodecMac.cpp:
      * platform/text/qt/TextCodecQt.cpp:
      * platform/text/wx/StringWx.cpp:
      * platform/win/ClipboardUtilitiesWin.cpp:
      * platform/win/ClipboardWin.cpp:
      * platform/win/ContextMenuItemWin.cpp:
      * platform/win/ContextMenuWin.cpp:
      * platform/win/FileSystemWin.cpp:
      * platform/win/GDIObjectCounter.cpp:
      * platform/win/Language.cpp:
      * platform/win/PasteboardWin.cpp:
      * platform/wince/FileSystemWince.cpp:
      * platform/wince/KeygenWince.cpp:
      * platform/wince/PasteboardWince.cpp:
      * platform/wx/FileSystemWx.cpp:
      * platform/wx/LoggingWx.cpp:
      * plugins/PluginDebug.h:
      * plugins/PluginPackage.cpp:
      * plugins/PluginStream.cpp:
      * plugins/PluginStream.h:
      * plugins/PluginView.h:
      * plugins/gtk/PluginPackageGtk.cpp:
      * plugins/mac/PluginPackageMac.cpp:
      * plugins/qt/PluginPackageQt.cpp:
      * plugins/symbian/PluginPackageSymbian.cpp:
      * plugins/win/PluginPackageWin.cpp:
      * rendering/RenderLayer.cpp:
      * rendering/RenderLayerCompositor.cpp:
      * rendering/RenderTreeAsText.cpp:
      * storage/Database.cpp:
      * storage/SQLTransactionCoordinator.cpp:
      * storage/SQLTransactionCoordinator.h:
      * storage/StorageAreaSync.cpp:
      * storage/StorageSyncManager.cpp:
      * storage/chromium/DatabaseTrackerChromium.cpp:
      * storage/chromium/QuotaTracker.cpp:
      * storage/chromium/QuotaTracker.h:
      * svg/SVGFontFaceElement.cpp:
      * svg/SVGStyledElement.cpp:
      * svg/SVGUseElement.cpp:
      * websockets/WebSocket.cpp:
      * websockets/WebSocketChannel.cpp:
      * websockets/WebSocketHandshake.cpp:
      * wml/WMLErrorHandling.cpp:
      * wml/WMLGoElement.cpp:
      * wml/WMLPageState.cpp:
      * wml/WMLPostfieldElement.cpp:
      * wml/WMLSelectElement.cpp:
      * xml/XMLHttpRequest.cpp:
      * xml/XSLStyleSheetLibxslt.cpp:
      * xml/XSLTProcessorLibxslt.cpp:
      
      WebKit: 
      
      * efl/WebCoreSupport/ChromeClientEfl.cpp:
      * efl/ewk/ewk_frame.cpp:
      (ewk_frame_name_get):
      (ewk_frame_selection_get):
      (ewk_frame_uri_changed):
      * efl/ewk/ewk_history.cpp:
      * efl/ewk/ewk_settings.cpp:
      
      WebKit/chromium: 
      
      * public/WebCString.h:
      * src/FrameLoaderClientImpl.cpp:
      * src/GraphicsContext3D.cpp:
      * src/WebCString.cpp:
      (WebKit::WebCString::assign):
      (WebKit::WebCString::WebCString):
      (WebKit::WebCString::operator=):
      (WebKit::WebCString::operator WTF::CString):
      * src/WebMediaPlayerClientImpl.cpp:
      * src/WebString.cpp:
      * src/WebURLError.cpp:
      
      WebKit/gtk: 
      
      * WebCoreSupport/ChromeClientGtk.cpp:
      * WebCoreSupport/ContextMenuClientGtk.cpp:
      * WebCoreSupport/EditorClientGtk.cpp:
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      * WebCoreSupport/InspectorClientGtk.cpp:
      * gdom/ConvertToGCharPrivate.h:
      * webkit/webkitdownload.cpp:
      * webkit/webkithittestresult.cpp:
      * webkit/webkitnetworkrequest.cpp:
      * webkit/webkitprivate.h:
      * webkit/webkitsecurityorigin.cpp:
      * webkit/webkitwebdatabase.cpp:
      * webkit/webkitwebframe.cpp:
      * webkit/webkitwebhistoryitem.cpp:
      (webkit_web_history_item_finalize):
      (webkit_web_history_item_get_target):
      * webkit/webkitwebresource.cpp:
      * webkit/webkitwebsettings.cpp:
      * webkit/webkitwebview.cpp:
      
      WebKit/mac: 
      
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::getCookies):
      (WebKit::NetscapePluginInstanceProxy::getProxy):
      (WebKit::NetscapePluginInstanceProxy::getAuthenticationInfo):
      (WebKit::NetscapePluginInstanceProxy::resolveURL):
      * Plugins/WebBaseNetscapePluginView.h:
      * Plugins/WebBaseNetscapePluginView.mm:
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView resolveURL:forTarget:]):
      
      WebKit/qt: 
      
      * Api/qwebelement.cpp:
      
      WebKit/win: 
      
      * WebDownload.cpp:
      * WebDownloadCFNet.cpp:
      * WebDownloadCurl.cpp:
      * WebHistoryItem.cpp:
      * WebLocalizableStrings.cpp:
      * WebMutableURLRequest.cpp:
      * WebPreferences.cpp:
      (WebPreferences::migrateWebKitPreferencesToCFPreferences):
      * WebView.cpp:
      
      WebKit/wx: 
      
      * WebFrame.cpp:
      * WebView.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@56825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00b7992e
  3. 02 Mar, 2010 1 commit
  4. 27 Dec, 2009 1 commit
    • eric@webkit.org's avatar
      2009-12-27 Jakub Wieczorek <faw217@gmail.com> · 4dbca1ea
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [Qt] Support upload progress events in XMLHttpRequest
              https://bugs.webkit.org/show_bug.cgi?id=32969
      
              Make QNetworkReplyHandler report the upload progress to the client.
      
              Already covered by tests:
              http/tests/xmlhttprequest/upload-onload-event.html
              http/tests/xmlhttprequest/upload-onloadstart-event.html
              http/tests/xmlhttprequest/upload-progress-events.html
              http/tests/xmlhttprequest/upload-onprogress-event.html
      
              which have been unskipped.
      
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::uploadProgress):
              (WebCore::QNetworkReplyHandler::start):
              * platform/network/qt/QNetworkReplyHandler.h:
      2009-12-27  Jakub Wieczorek  <faw217@gmail.com>
      
              Reviewed by Eric Seidel.
      
              [Qt] Support upload progress events in XMLHttpRequest
              https://bugs.webkit.org/show_bug.cgi?id=32969
      
              Make QNetworkReplyHandler report the upload progress to the client.
      
              Already covered by tests:
              http/tests/xmlhttprequest/upload-onload-event.html
              http/tests/xmlhttprequest/upload-onloadstart-event.html
              http/tests/xmlhttprequest/upload-progress-events.html
              http/tests/xmlhttprequest/upload-onprogress-event.html
      
              which have been unskipped.
      
              * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4dbca1ea
  5. 15 Dec, 2009 1 commit
  6. 14 Dec, 2009 2 commits
  7. 26 Nov, 2009 1 commit
    • zecke@webkit.org's avatar
      [Qt] Use QNetworkReply::rawHeaderPairs · ab7b0e51
      zecke@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31826
      
      The QNetworkReply is internally storing the HTTP headers
      as a list of pairs. Currently we have to ask the QNetworkReply
      to put all header names into a QStringList. Afterwards we will
      iterate over this QStringList and ask the QNetworkReply to
      give us the value for this header name. The current Qt implementation
      is doing a linear to find the header value.
      
      Use a new API to directly access the list of pairs and push
      this into WebCore. This avoids doing some allocations and doing
      linear searches from within a loop.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab7b0e51
  8. 25 Nov, 2009 1 commit
  9. 18 Nov, 2009 1 commit
    • laszlo.1.gombos@nokia.com's avatar
      2009-11-18 Laszlo Gombos <laszlo.1.gombos@nokia.com> · ffbfa386
      laszlo.1.gombos@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Remove support for Qt v4.3 or older versions
              https://bugs.webkit.org/show_bug.cgi?id=29469
      
              * JavaScriptCore.pro:
              * jsc.pro:
              * wtf/unicode/qt4/UnicodeQt4.h:
      
      2009-11-18  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Remove support for Qt v4.3 or older versions
              https://bugs.webkit.org/show_bug.cgi?id=29469
      
              * Api/qcookiejar.cpp: Removed.
              * Api/qcookiejar.h: Removed.
              * Api/qgraphicswebview.cpp:
              (QGraphicsWebView::event):
              * Api/qwebframe.cpp:
              (QWebFrame::load):
              * Api/qwebframe.h:
              * Api/qwebkitglobal.h:
              * Api/qwebnetworkinterface.cpp: Removed.
              * Api/qwebnetworkinterface.h: Removed.
              * Api/qwebnetworkinterface_p.h: Removed.
              * Api/qwebpage.cpp:
              (QWebPagePrivate::QWebPagePrivate):
              (QWebPagePrivate::acceptNavigationRequest):
              (QWebPage::acceptNavigationRequest):
              (QWebPage::action):
              (QWebPage::userAgentForUrl):
              * Api/qwebpage.h:
              * Api/qwebpage_p.h:
              * Api/qwebview.cpp:
              (QWebView::load):
              (QWebView::event):
              * Api/qwebview.h:
              * QtLauncher/main.cpp:
              (MainWindow::print):
              (MainWindow::setupUI):
              (main):
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::download):
              (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
              (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
              (WebCore::FrameLoaderClientQt::startDownload):
              (WebCore::FrameLoaderClientQt::createPlugin):
      
      2009-11-18  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Remove support for Qt v4.3 or older versions
              https://bugs.webkit.org/show_bug.cgi?id=29469
      
              No new tests as there is no change if compiled with
              Qt v4.4 or later version.
      
              * WebCore.pro:
              * dom/XMLTokenizerQt.cpp:
              (WebCore::EntityResolver::resolveUndeclaredEntity):
              (WebCore::XMLTokenizer::XMLTokenizer):
              (WebCore::XMLTokenizer::~XMLTokenizer):
              (WebCore::XMLTokenizer::doWrite):
              (WebCore::XMLTokenizer::startDocument):
              (WebCore::XMLTokenizer::parseDtd):
              * platform/graphics/qt/FontQt.cpp:
              * platform/graphics/qt/FontQt43.cpp: Removed.
              * platform/graphics/qt/ImageQt.cpp:
              * platform/network/ResourceHandleInternal.h:
              * platform/network/qt/QNetworkReplyHandler.cpp:
              * platform/network/qt/QNetworkReplyHandler.h:
              * platform/network/qt/ResourceHandleQt.cpp:
              (WebCore::ResourceHandle::start):
              (WebCore::ResourceHandle::cancel):
              (WebCore::ResourceHandle::loadResourceSynchronously):
              (WebCore::ResourceHandle::setDefersLoading):
              * platform/network/qt/ResourceRequest.h:
              * platform/network/qt/ResourceRequestQt.cpp:
              * platform/qt/ClipboardQt.cpp:
              (WebCore::ClipboardQt::clearData):
              * platform/qt/CookieJarQt.cpp:
              (WebCore::cookieJar):
              (WebCore::setCookies):
              (WebCore::cookies):
              (WebCore::cookiesEnabled):
              * platform/qt/PlatformKeyboardEventQt.cpp:
              (WebCore::keyIdentifierForQtKeyCode):
              (WebCore::windowsKeyCodeForKeyEvent):
              * platform/text/qt/TextBoundaries.cpp:
              * platform/text/qt/TextBreakIteratorQt.cpp:
              * plugins/qt/PluginDataQt.cpp:
              (WebCore::PluginData::initPlugins):
      
      2009-11-18  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
      
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Remove support for Qt v4.3 or older versions
              https://bugs.webkit.org/show_bug.cgi?id=29469
      
              * DumpRenderTree/qt/DumpRenderTree.pro:
              * DumpRenderTree/qt/ImageDiff.pro:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@51174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffbfa386
  10. 04 Nov, 2009 1 commit
  11. 03 Nov, 2009 1 commit
    • hausmann@webkit.org's avatar
      WebCore: Extended the conversion of the WebCore ResourceRequest to the · 53ee4c0f
      hausmann@webkit.org authored
      QNetworkRequest with a mandatory originating object argument,
      which is meant to be the QWebFrame the request belongs to.
      
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-03
      Reviewed by Tor Arne Vestbø.
      
      https://bugs.webkit.org/show_bug.cgi?id=29975
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
      (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
      (WebCore::QNetworkReplyHandler::start):
      * platform/network/qt/ResourceRequest.h:
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      
      WebKit/qt: Replace the QWebPage::networkRequestStarted() signal with the originatingObject
      property set to the QWebFrame that belongs to the request.
      
      Patch by Simon Hausmann <hausmann@webkit.org> on 2009-11-03
      Reviewed by Tor Arne Vestbø.
      
      https://bugs.webkit.org/show_bug.cgi?id=29975
      
      * Api/qwebpage.h:
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
      (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
      (WebCore::FrameLoaderClientQt::startDownload):
      * tests/qwebpage/tst_qwebpage.cpp:
      (tst_QWebPage::loadFinished):
      (TestNetworkManager::createRequest):
      (tst_QWebPage::originatingObjectInNetworkRequests):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53ee4c0f
  12. 29 Oct, 2009 1 commit
    • eric@webkit.org's avatar
      2009-10-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> · 216b123d
      eric@webkit.org authored
              Reviewed by Tor Arne Vestbø.
      
              [Qt] Implement DELETE HTTP method for XmlHttpRequest
              https://bugs.webkit.org/show_bug.cgi?id=30894
      
              No new tests as this functionality is already tested by the
              xmlhttprequest LayoutTests. As this patch depends on an unreleased
              version of the dependent QtNetwork library and the tests will be
              enabled later once the dependent library is released (and the
              buildbot is updated).
      
              * platform/network/qt/QNetworkReplyHandler.cpp:
              (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
              (WebCore::QNetworkReplyHandler::start):
      2009-10-29  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
      
              Reviewed by Tor Arne Vestbø.
      
              [Qt] Implement DELETE HTTP method for XmlHttpRequest
              https://bugs.webkit.org/show_bug.cgi?id=30894
      
              No new tests as this functionality is already tested by the
              xmlhttprequest LayoutTests. As this patch depends on an unreleased
              version of the dependent QtNetwork library and the tests will be
              enabled later once the dependent library is released (and the
              buildbot is updated).
      
              * Api/qwebframe.cpp:
              (QWebFrame::load):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      216b123d
  13. 22 Oct, 2009 1 commit
  14. 19 Oct, 2009 1 commit
  15. 05 Oct, 2009 1 commit
  16. 02 Oct, 2009 2 commits
  17. 29 Sep, 2009 6 commits
    • kenneth@webkit.org's avatar
      Rubberstamped by David Hyatt. · c7161bce
      kenneth@webkit.org authored
      Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-29
      Fix to logic of earlier commit 48902.
      
      When merging two if's before committing, I forgot to invert the
      bool check.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::ignoreHttpError):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7161bce
    • kenneth@webkit.org's avatar
      Don't rely on QNetworkReply::NetworkError codes, but · ffa55b2e
      kenneth@webkit.org authored
      on HTTP error codes instead.
      
      Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-29
      Reviewed by Simon Hausmann.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::ignoreHttpError):
      (WebCore::QNetworkReplyHandler::finish):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffa55b2e
    • kenneth@webkit.org's avatar
      Use const references when using Qt's foreach. · 64ef3e7f
      kenneth@webkit.org authored
      Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-29
      Reviewed by Simon Hausmann.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64ef3e7f
    • kenneth@webkit.org's avatar
      Fix handling of QNetworkReply errors. · 6762a927
      kenneth@webkit.org authored
      Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-29
      Reviewed by Simon Hausmann.
      
      In the QNetworkReplyHandler::finish() a response was sent even when
      the reply contained an error. This resulted in a sendResponseIfNeeded()
      calling didReceiveResponse on the client, leading to the destruction
      of the m_resourceHandle, discontinuing further processing in finish(),
      and thus not calling didFail on the client.
      
      Instead it continued as everything went fine, and
      FrameLoaderClientQt::dispatchDecidePolicyForMIMEType() changed the
      policy to PolicyDownload due to not being able to show the non existing
      MIMEType. As the download also obviously fails, it ended up with a
      policy change error.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::finish):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6762a927
    • kenneth@webkit.org's avatar
      The code for showing error pages when the response was · 6abc8949
      kenneth@webkit.org authored
      a 401/403/404, was not actually doing so. This patch
      fixes that.
      
      Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-29
      Reviewed by Simon Hausmann.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::finish):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6abc8949
    • kenneth@webkit.org's avatar
      WebCore: Use the ResourceError as it is supposed to and handle · 04acbe92
      kenneth@webkit.org authored
      not HTTP errors from QNetworkReply.
      
      Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-29
      Reviewed by Simon Hausmann.
      
      Thanks to Adam Roben for his input.
      
      * platform/network/qt/QNetworkReplyHandler.cpp:
      (WebCore::QNetworkReplyHandler::finish):
      
      WebKit/qt: Implement QWebPage Extension for error pages, incl.
      an example on how to use it in QtLauncher.
      
      Patch by Kenneth Rohde Christiansen <kenneth@webkit.org> on 2009-09-29
      Reviewed by Simon Hausmann.
      
      Correct our use of ResourceError.
      
      * Api/qwebpage.h:
      (ExtensionOption::):
      (ExtensionOption::ErrorPageExtensionReturn::ErrorPageExtensionReturn):
      * QtLauncher/main.cpp:
      (WebPage::supportsExtension):
      (MainWindow::MainWindow):
      (MainWindow::selectElements):
      (WebPage::extension):
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::cancelledError):
      (WebCore::FrameLoaderClientQt::blockedError):
      (WebCore::FrameLoaderClientQt::cannotShowURLError):
      (WebCore::FrameLoaderClientQt::interruptForPolicyChangeError):
      (WebCore::FrameLoaderClientQt::cannotShowMIMETypeError):
      (WebCore::FrameLoaderClientQt::fileDoesNotExistError):
      (WebCore::FrameLoaderClientQt::callErrorPageExtension):
      (WebCore::FrameLoaderClientQt::dispatchDidFailProvisionalLoad):
      (WebCore::FrameLoaderClientQt::dispatchDidFailLoad):
      * WebCoreSupport/FrameLoaderClientQt.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48870 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04acbe92
  18. 08 Sep, 2009 1 commit
  19. 03 Sep, 2009 1 commit
  20. 10 Jul, 2009 1 commit
  21. 22 Jun, 2009 1 commit
  22. 05 Jun, 2009 1 commit
  23. 22 Apr, 2009 1 commit
  24. 13 Mar, 2009 1 commit
  25. 29 Sep, 2008 1 commit
  26. 19 Sep, 2008 1 commit
  27. 29 Aug, 2008 1 commit
    • hausmann@webkit.org's avatar
      2008-08-29 Holger Hans Peter Freyther <zecke@selfish.org> · 0367b580
      hausmann@webkit.org authored
              Reviewed by Simon.
      
              [network/qt] Implement defering of loading ResourceHandle's
              This is needed otherwise we end in an ASSERT in the MainResourceLoader. The
              implementation is simply not forwarding anything to the
              ResourceHandleClient until we are allowed to. This might lead to a deadlock
              in Qt as we do not empty the QNetworkReply input buffer and wait until we
              are allowed to read. If that happens we are forced to buffer the data
              within QNetworkReplyHandler, for now this is not done.
      
              Manual test:
              - Open http://acid3.acidtests.org
              - Wait for the test to complete
              - Click on the Reference Rendering link
              - Be fast and see the results of acid3
              => assert
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@35989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0367b580
  28. 13 Aug, 2008 1 commit
  29. 11 Jun, 2008 1 commit
    • hausmann@webkit.org's avatar
      Benjamin Meyer <bmeyer@trolltech.com> · a7fa2c8a
      hausmann@webkit.org authored
      Fixed a crash when a slot connect to QWebPage::unsupportedContent would show a
      modal dialog with an event loop.
      
      We have a queued connection to various signals in the QNetworkReply, for which
      it can happen that after releasing the QNetworkReply and disconnecting from it
      a slot connected to one of the signals may still be called due to a posted
      MetaCall event due to the queued connections. This patch removes the posted
      events explicitly, fixes the coding style a bit and makes sure the same happens
      when abort() is called.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a7fa2c8a
  30. 28 Apr, 2008 1 commit
  31. 25 Apr, 2008 3 commits