Changeset 16089 in webkit for trunk/JavaScriptCore/wtf


Ignore:
Timestamp:
Aug 28, 2006, 6:13:33 PM (19 years ago)
Author:
ggaren
Message:

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:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r16009 r16089  
    166166#endif
    167167
     168#if PLATFORM(MAC)
     169#define KXMLCORE_PLATFORM_CF 1
     170#endif
     171
     172#if PLATFORM(WIN)
     173#define KXMLCORE_USE_WININET 1
     174#endif
     175
    168176#endif /* KXMLCORE_PLATFORM_H */
Note: See TracChangeset for help on using the changeset viewer.