[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

kocienda kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:55:43 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 7f48568e6287335e84a3c65e9c7581c7bc9c2520
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Feb 16 00:46:33 2002 +0000

    2002-02-15  Kenneth Kocienda  <kocienda at apple.com>
    
    	Lots of interface cleanups in preparation of the WebFoundation-0.1 release.
    
    	Radar 2859843 (IFURLLoad must present a better interface to protocol handlers)
    	Radar 2862349 (Move ivars in public headers inside a private class in the .m file)
    	Radar 2861762 (IFURLDataProvider is obsolete)
    	Radar 2861762 (IFURLDataProvider is obsolete)
    	Radar 2861787 (Add charset ivar to IFURLHandle)
    
    	* CacheLoader.subproj/IFHTTPURLHandle.h:
    	* CacheLoader.subproj/IFHTTPURLHandle.m: (-[IFHTTPURLHandleInstanceVariables
    	init]), (-[IFHTTPURLHandleInstanceVariables dealloc]), (-[IFHTTPURLHandle
    	requestMethod]), (-[IFHTTPURLHandle requestHeaders]), (-[IFHTTPURLHandle
    	requestData]), (-[IFHTTPURLHandle responseHeaders]), (-[IFHTTPURLHandle
    	contentLength]), (-[IFHTTPURLHandle copyWithZone:]), (-[IFHTTPURLHandle
    	dealloc]), (-[IFHTTPURLHandle setResponseHeaders:]), (-[IFHTTPURLHandle
    	hasResponseHeaders]):
    	* CacheLoader.subproj/IFHTTPURLProtocolHandler.m:
    	* CacheLoader.subproj/IFURLCache.h:
    	* CacheLoader.subproj/IFURLCache.m: (-[IFURLCacheInstanceVariables init]),
    	(-[IFURLCacheInstanceVariables dealloc]), (-[IFURLCache sizeLimit]),
    	(-[IFURLCache setSizeLimit:]), (-[IFURLCache objectSizeLimit]), (-[IFURLCache
    	setObjectSizeLimit:]), (-[IFURLCache currentUsage]), (-[IFURLCache
    	initWithSizeLimit:]), (-[IFURLCache dealloc]), (-[IFURLCache
    	truncateToSizeLimit:]), (-[IFURLCache setCurrentUsage:]):
    	* CacheLoader.subproj/IFURLCachePrivate.h:
    	* CacheLoader.subproj/IFURLCachePrivate.m:
    	* CacheLoader.subproj/IFURLDataProvider.h:
    	* CacheLoader.subproj/IFURLDiskCache.m: (-[IFURLDiskCache clearCache]):
    	* CacheLoader.subproj/IFURLHandle.h:
    	* CacheLoader.subproj/IFURLHandle.m: (-[IFURLHandleInstanceVariables
    	initWithHandle:]), (-[IFURLHandleInstanceVariables dealloc]), (-[IFURLHandle
    	loadInBackground]), (-[IFURLHandle cancelLoadInBackground]), (-[IFURLHandle
    	loadInForeground:]), (-[IFURLHandle addClient:]), (-[IFURLHandle removeClient:]),
    	(-[IFURLHandle url]), (-[IFURLHandle canonicalURL]), (-[IFURLHandle finalURL]),
    	(-[IFURLHandle flags]), (-[IFURLHandle attributes]), (-[IFURLHandle statusCode]),
    	(-[IFURLHandle resultCode]), (-[IFURLHandle contentType]), (-[IFURLHandle
    	characterSet]), (-[IFURLHandle availableResourceData]), (-[IFURLHandle
    	contentLengthReceived]), (-[IFURLHandle isEqual:]), (-[IFURLHandle hash]),
    	(-[IFURLHandle description]), (+[IFURLHandle initialize]), (+[IFURLHandle
    	registerURLHandleClass:]), (+[IFURLHandle URLHandleClassForURL:]), (+[IFURLHandle
    	canInitWithURL:]), (-[IFURLHandle initWithURL:]), (-[IFURLHandle
    	initWithURL:cached:]), (-[IFURLHandle dealloc]), (-[IFURLHandle
    	setAttribute:forKey:]), (-[IFURLHandle backgroundLoadDidBegin]), (-[IFURLHandle
    	didLoadData:]), (-[IFURLHandle backgroundLoadComplete]), (-[IFURLHandle
    	backgroundLoadFailedWithResultCode:]), (-[IFURLHandle cacheable]), (-[IFURLHandle
    	setCacheable:]), (-[IFURLHandle setStatusCode:]), (-[IFURLHandle
    	setResultCode:]), (-[IFURLHandle setFinalURL:]), (-[IFURLHandle
    	notifyClientsBackgroundLoadCancelled]), (-[IFURLHandle
    	notifyClientsBackgroundLoadDidBegin]), (-[IFURLHandle notifyClientsDidLoadData]),
    	(-[IFURLHandle notifyClientsBackgroundLoadComplete]), (-[IFURLHandle
    	notifyClientsBackgroundLoadFailed]):
    	* CacheLoader.subproj/IFURLHandleC.m:
    	* CacheLoader.subproj/IFURLHandlePrivate.h:
    	* CacheLoader.subproj/IFURLLoad.m: (+[IFURLLoad IFURLLoadCacheCheckerRun:]):
    	* CacheLoader.subproj/IFURLLoadManager.h:
    	* CacheLoader.subproj/IFURLLoadManager.m: (-[IFURLLoadManagerInstanceVariables
    	init]), (-[IFURLLoadManagerInstanceVariables dealloc]), (-[IFURLLoadManager
    	initWithDefaultStack]), (+[IFURLLoadManager sharedManager]), (-[IFURLLoadManager
    	objectForURL:]), (-[IFURLLoadManager setObject:forURL:attributes:expiry:]),
    	(-[IFURLLoadManager clearAllCaches]), (-[IFURLLoadManager handleURLLoadDone:]),
    	(-[IFURLLoadManager handleURLLoadedResourceData:]), (-[IFURLLoadManager
    	dealloc]), (-[IFURLLoadManager requestWithURLHandle:]), (-[IFURLLoadManager
    	cancelRequestWithURLHandle:]), (-[IFURLLoadManager cancelAllRequestsWithURL:]),
    	(-[IFURLLoadManager cancelAllRequestsInGroup:]), (-[IFURLLoadManager caches]):
    	* CacheLoader.subproj/IFURLMemoryCache.m: (-[IFURLMemoryCache
    	truncateToSizeLimit]), (-[IFURLMemoryCache clearCache]):
    	* Database.subproj/IFDatabase.m: (-[IFDatabase removeAllObjects]):
    	* Database.subproj/IFNDBMDatabase.m: (-[IFNDBMDatabase removeAllObjects]):
    	* Database.subproj/IFURLFileDatabase.m: (-[IFURLFileDatabase removeAllObjects]):
    	* Misc.subproj/WebFoundation.h:
    	* WebFoundation.pbproj/project.pbxproj:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@625 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/Misc.subproj/WebDatabase.m b/WebKit/Misc.subproj/WebDatabase.m
index 5da443b..16d7ab7 100644
--- a/WebKit/Misc.subproj/WebDatabase.m
+++ b/WebKit/Misc.subproj/WebDatabase.m
@@ -21,6 +21,7 @@
 
 -(void)removeAllObjects
 {
+    NSRequestConcreteImplementation(self, _cmd, [IFDatabase class]);
 }
 
 -(id)objectForKey:(id)key
diff --git a/WebKit/Misc.subproj/WebFileDatabase.m b/WebKit/Misc.subproj/WebFileDatabase.m
index d380d4c..46a34e2 100644
--- a/WebKit/Misc.subproj/WebFileDatabase.m
+++ b/WebKit/Misc.subproj/WebFileDatabase.m
@@ -116,6 +116,14 @@ static NSNumber *IFURLFilePosixPermissions;
     [[NSFileManager defaultManager] removeFileAtPath:filePath handler:nil];
 }
 
+// FIXME: [kocienda] Radar 2861446 (Implement removeAllObjects on concrete IFDatabase classes)
+-(void)removeAllObjects
+{
+    [self close];
+    [[NSFileManager defaultManager] removeFileAtPath:path handler:nil];
+    [self open];
+}
+
 -(id)objectForKey:(id)key
 {
     id result;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list