Reviewed by Maciej.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2006 01:13:33 +0000 (01:13 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Aug 2006 01:13:33 +0000 (01:13 +0000)
commitc2b45a444f70701690a84f390223eaa3f99e2ca4
treed21ce489545e88cbbfd04b117129bfe61f5d2c56
parent909c6ee2cdac779d0fab5eaa1ea47ded94b2517b
    Reviewed by Maciej.

        Added support for experimental CFNetwork-based loader (not turned on yet).

        While I was there, I did the following platform cleanup:
        - Windows now uses USE(WININET) instead of PLATFORM(WIN_OS), to match the
          USE(CFNETWORK) idiom.
        - Removed some #includes of windows.h in platform-independent headers.
        - Changed #ifdef __APPLE__ to PLATFORM(MAC)
        - Fixed some build bustage, including case-sensitive filesystem bustage.

        * loader/loader.cpp:
        (WebCore::Loader::receivedAllData):
        * platform/Cursor.h:
        * platform/KURL.h:
        * platform/ResourceLoader.h:
        * platform/ResourceLoaderClient.h:
        * platform/ResourceLoaderInternal.h:
        (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
        * platform/cfnet/KURLCFNet.cpp: Added.
        (WebCore::KURL::createCFURL):
        * platform/cfnet/ResourceLoaderCFNet.cpp: Added.
        (WebCore::willSendRequest):
        (WebCore::didReceiveChallenge):
        (WebCore::didCancelChallenge):
        (WebCore::didReceiveResponse):
        (WebCore::didReceiveData):
        (WebCore::didFinishLoading):
        (WebCore::didFail):
        (WebCore::willCacheResponse):
        (WebCore::addHeadersFromString):
        (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
        (WebCore::ResourceLoader::~ResourceLoader):
        (WebCore::arrayFromFormData):
        (WebCore::emptyPerform):
        (WebCore::runLoaderThread):
        (WebCore::ResourceLoader::start):
        (WebCore::ResourceLoader::cancel):
        * platform/win/CursorWin.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
16 files changed:
JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
JavaScriptCore/wtf/Platform.h
WebCore/ChangeLog
WebCore/bridge/mac/FrameMac.mm
WebCore/loader/loader.cpp
WebCore/platform/Cursor.h
WebCore/platform/KURL.h
WebCore/platform/ResourceLoader.h
WebCore/platform/ResourceLoaderClient.h
WebCore/platform/ResourceLoaderInternal.h
WebCore/platform/cfnet/KURLCFNet.cpp [new file with mode: 0644]
WebCore/platform/cfnet/ResourceLoaderCFNet.cpp [new file with mode: 0644]
WebCore/platform/cg/GraphicsContextCG.cpp
WebCore/platform/mac/KURLMac.mm
WebCore/platform/mac/SharedTimerMac.cpp
WebCore/platform/win/CursorWin.cpp