Skip to content
  • cblu's avatar
    WebFoundation: · 76ee1a37
    cblu authored
    	Made WebCacheObject and WebResourceResponse methods that refer to specific dates set and return NSDates rather than NSTimeIntervals. Our public methods now only use NSTimeIntervals when referring to differences in time. Made the methods that use NSTimeIntervals when referring to specific dates private.
    
            * CacheLoader.subproj/WebCacheObject.h:
            * CacheLoader.subproj/WebCacheObject.m:
            (-[WebCacheObject createdDate]):
            (-[WebCacheObject setCreatedDate:]):
            (-[WebCacheObject expiresDate]):
            (-[WebCacheObject setExpiresDate:]):
            (-[WebCacheObject lastModifiedDate]):
            (-[WebCacheObject setLastModifiedDate:]):
            (-[WebCacheObject maxAgeValue]):
            (-[WebCacheObject isExpired]):
            (-[WebCacheObject age]):
            (-[WebCacheObject freshnessLifetime]):
            (-[WebCacheObject dealloc]):
            (-[WebCacheObject _createdTime]):
            (-[WebCacheObject _setCreatedTime:]):
            (-[WebCacheObject _expiresTime]):
            (-[WebCacheObject _setExpiresTime:]):
            (-[WebCacheObject _lastModifiedTime]):
            (-[WebCacheObject _setLastModifiedTime:]):
            * CacheLoader.subproj/WebCacheObjectPrivate.h: Added.
            * CacheLoader.subproj/WebResourceResponse.h:
            * CacheLoader.subproj/WebResourceResponse.m:
            (-[WebResourceResponse createdDate]):
            (-[WebResourceResponse lastModifiedDate]):
            (-[WebResourceResponse _createdTime]):
            (-[WebResourceResponse _lastModifiedTime]):
            (-[WebResourceResponse _takePersistentValuesFrom:]):
            * CacheLoader.subproj/WebResourceResponsePrivate.h:
            * ProtocolHandlers.subproj/WebCFNetworkHTTPProtocolHandler.m:
            (-[WebCFNetworkHTTPProtocolHandler addIfModifiedSinceHeader:]):
            (-[WebCFNetworkHTTPProtocolHandler continueHeaderReadAfter3xxResponseAndCall:]):
            * ProtocolHandlers.subproj/WebHTTPProtocolHandler.m:
            (-[WebHTTPProtocolHandler willCacheObject:]):
            * ProtocolHandlers.subproj/WebSimpleHTTPProtocolHandler.m:
            (-[WebSimpleHTTPProtocolHandler _createHTTPRequest]):
            (-[WebSimpleHTTPProtocolHandler _examineHeaders]):
            * WebFoundation.pbproj/project.pbxproj:
    
    WebKit:
    
    	Fixed: 3021681 - downloaded files' creation and modification dates are not set
    
            * Downloads.subproj/WebDownloadHandler.m:
            (-[WebDownloadHandler createFileIfNecessary]): call [response creationDate] and [response lastModifiedDate] when setting file attributes.
            * Plugins.subproj/WebBaseNetscapePluginStream.m:
            (-[WebBaseNetscapePluginStream setResponse:]): call [response lastModifiedDate] when giving content to plug-ins.
    
    WebBrowser:
    
    	Possible fix for: 3096071 - Button under "Proxy settings" in preferences window needs implementation
    
    	With the new Network Pref root, the proxy button seems to work %50 of the time. 3096071 may be fixed if the current problem is just a bug in the network pref.
    
            * Preferences.subproj/GeneralPreferences.m:
            (-[GeneralPreferences _launchNetworkPrefs]): code from Robert Ulrich
            (-[GeneralPreferences openProxyPreferences:]): call _launchNetworkPrefs
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2617 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    76ee1a37