[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:56:05 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit b1cc862855b1af15f37244b94fcb92edd81e790e
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Feb 22 16:06:34 2002 +0000

    2002-02-22  Kenneth Kocienda  <kocienda at apple.com>
    
        Added missing calls to [super dealloc]
    
        Changed memory allocation strategy in IFHTTPURLProtocolHandler. This no
        longer allocates a fixed size block, but only allocates the size that
        has been read from the network.
    
        Fixed potential smasher related to freeing run loop sources.
    
        Many memory cleanups, mostly work in tracking down ref counts and making
        sure things get freed when they should.
    
        Changed the way that the handle array is maintained inside IFURLLoad.
        The new code minimizes copying of the handle list while preserving thread
        safety.
    
        Some fixes in IFURLLoadManager.m to support cancelling URLs. More work
        to be done here.
    
        Removed IFByteBlock class from IFMutableData and replaced with a no-copy
        NSData from Foundation. The IFByteBlock class seemed redundant, and I could
        remove the IFData class as well. This is a nice reduction in complexity in
        the no-copy system.
    
    	* CacheLoader.subproj/IFFileURLProtocolHandler.m: (-[IFFileURLProtocolHandler
    	dealloc]):
    	* CacheLoader.subproj/IFHTTPURLHandle.m:
    	* CacheLoader.subproj/IFHTTPURLProtocolHandler.h:
    	* CacheLoader.subproj/IFHTTPURLProtocolHandler.m: (-[IFHTTPURLProtocolHandler
    	setResponseHeaders:]), (-[IFHTTPURLProtocolHandler performStreamRead:]):
    	* CacheLoader.subproj/IFURLCacheObject.m:
    	* CacheLoader.subproj/IFURLDiskCache.m: (-[IFURLDiskCache
    	initWithSizeLimit:path:]):
    	* CacheLoader.subproj/IFURLHandle.m: (-[IFURLHandleInstanceVariables dealloc]),
    	(-[IFURLHandle cancelLoadInBackground]), (-[IFURLHandle backgroundLoadDidBegin]),
    	(-[IFURLHandle didLoadData:]), (-[IFURLHandle backgroundLoadComplete]),
    	(-[IFURLHandle backgroundLoadFailedWithResultCode:]), (-[IFURLHandle
    	setResourceData:]), (-[IFURLHandle notifyClientsDidLoadData]):
    	* CacheLoader.subproj/IFURLHandleCallBackClient.m: (-[IFURLHandleCallBackClient
    	dealloc]):
    	* CacheLoader.subproj/IFURLLoad.h:
    	* CacheLoader.subproj/IFURLLoad.m: (-[IFURLLoad handles]), (-[IFURLLoad
    	didLoadBytes:length:]), (-[IFURLLoad updateHandles]), (-[IFURLLoad succeeded]),
    	(-[IFURLLoad failedWithResultCode:]), (-[IFURLLoad dealloc]), (+[IFURLLoad
    	shutdown]), (+[IFURLLoad streamHandlerRunLoop]), (-[IFURLLoad
    	initWithURL:attributes:flags:]), (-[IFURLLoad addHandle:]), (-[IFURLLoad
    	removeHandle:]), (-[IFURLLoad removeAllHandles]), (-[IFURLLoad didBeginLoading]),
    	(-[IFURLLoad checkForNewHandles]), (+[IFURLLoad IFURLLoadCacheCheckerRun:]),
    	(+[IFURLLoad IFURLLoadCFStreamHandlerRun:]):
    	* CacheLoader.subproj/IFURLLoadManager.m: (-[IFURLLoadManager
    	initWithDefaultStack]), (-[IFURLLoadManager objectForURL:]), (-[IFURLLoadManager
    	requestWithURLHandle:]), (-[IFURLLoadManager cancelRequestWithURLHandle:]):
    	* CacheLoader.subproj/IFURLLoadPrivate.h:
    	* CacheLoader.subproj/IFURLMemoryCache.m: (-[IFURLMemoryCache
    	initWithSizeLimit:]), (-[IFURLMemoryCache dealloc]):
    	* CacheLoader.subproj/IFURLProtocolHandler.m: (-[IFURLProtocolHandler
    	initWithURLLoad:]):
    	* CookieManager.subproj/IFCookie.m: (-[IFCookiePrivate dealloc]), (-[IFCookie
    	dealloc]):
    	* CookieManager.subproj/IFCookieManager.m: (-[IFCookieManagerPrivate dealloc]),
    	(-[IFCookieManager dealloc]):
    	* CookieManager.subproj/IFCookieManagerC.m: (-[IFCookieCallBackAcceptHandler
    	dealloc]):
    	* Misc.subproj/IFBinaryHeap.m: (-[IFBinaryHeap dealloc]):
    	* Misc.subproj/IFMonitor.m: (-[IFMonitor dealloc]):
    	* Misc.subproj/IFMutableData.h:
    	* Misc.subproj/IFMutableData.m: (-[IFMutableData getBytes:length:]),
    	(-[IFMutableData getBytes:range:]), (-[IFMutableData subdataWithRange:]),
    	(-[IFMutableData initWithBytes:length:copy:freeWhenDone:bytesAreVM:]),
    	(-[IFMutableData dealloc]):
    	* Misc.subproj/IFMutableDataPrivate.h:
    	* Misc.subproj/IFMutableDataPrivate.m: (-[IFByteRange dealloc]), (-[IFMutableData
    	createBlockForRange:buffer:]), (-[IFMutableData
    	dataObjectsGreaterThanMatchedOffset:]), (-[IFMutableData byteBlocksForRange:]),
    	(-[IFMutableData bytesInRange:]), (-[IFMutableData appendBytes:length:]):
    	* Misc.subproj/IFReadWriteLock.m: (-[IFReadWriteLock dealloc]):
    	* Misc.subproj/IFRecursiveReadWriteLock.m:
    	* WebFoundation.pbproj/project.pbxproj:
    
    
            Sent handle an autorelease message.
    
            * src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient
            WCURLHandleResourceDidCancelLoading:userData:]), (-[KHTMLPartLoadClient
            WCURLHandleResourceDidFinishLoading:userData:]), (-[KHTMLPartLoadClient
            WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
            * src/kwq/KWQKloader.mm: (-[URLLoadClient
            WCURLHandleResourceDidCancelLoading:userData:]), (-[URLLoadClient
            WCURLHandleResourceDidFinishLoading:userData:]), (-[URLLoadClient
            WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@655 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index d88d6fe..109874e 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,3 +1,16 @@
+2002-02-22  Kenneth Kocienda  <kocienda at apple.com>
+
+	Sent handle an autorelease message.
+
+	* src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient
+	WCURLHandleResourceDidCancelLoading:userData:]), (-[KHTMLPartLoadClient
+	WCURLHandleResourceDidFinishLoading:userData:]), (-[KHTMLPartLoadClient
+	WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
+	* src/kwq/KWQKloader.mm: (-[URLLoadClient
+	WCURLHandleResourceDidCancelLoading:userData:]), (-[URLLoadClient
+	WCURLHandleResourceDidFinishLoading:userData:]), (-[URLLoadClient
+	WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
+
 2002-02-21  Maciej Stachowiak  <mjs at apple.com>
 
 	* src/kwq/KWQString.mm: (QString::fill): Fix a bug that was
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index d88d6fe..109874e 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,16 @@
+2002-02-22  Kenneth Kocienda  <kocienda at apple.com>
+
+	Sent handle an autorelease message.
+
+	* src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient
+	WCURLHandleResourceDidCancelLoading:userData:]), (-[KHTMLPartLoadClient
+	WCURLHandleResourceDidFinishLoading:userData:]), (-[KHTMLPartLoadClient
+	WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
+	* src/kwq/KWQKloader.mm: (-[URLLoadClient
+	WCURLHandleResourceDidCancelLoading:userData:]), (-[URLLoadClient
+	WCURLHandleResourceDidFinishLoading:userData:]), (-[URLLoadClient
+	WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
+
 2002-02-21  Maciej Stachowiak  <mjs at apple.com>
 
 	* src/kwq/KWQString.mm: (QString::fill): Fix a bug that was
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index d88d6fe..109874e 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,16 @@
+2002-02-22  Kenneth Kocienda  <kocienda at apple.com>
+
+	Sent handle an autorelease message.
+
+	* src/kwq/KWQKHTMLPart.mm: (-[KHTMLPartLoadClient
+	WCURLHandleResourceDidCancelLoading:userData:]), (-[KHTMLPartLoadClient
+	WCURLHandleResourceDidFinishLoading:userData:]), (-[KHTMLPartLoadClient
+	WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
+	* src/kwq/KWQKloader.mm: (-[URLLoadClient
+	WCURLHandleResourceDidCancelLoading:userData:]), (-[URLLoadClient
+	WCURLHandleResourceDidFinishLoading:userData:]), (-[URLLoadClient
+	WCURLHandle:resourceDidFailLoadingWithResult:userData:]):
+
 2002-02-21  Maciej Stachowiak  <mjs at apple.com>
 
 	* src/kwq/KWQString.mm: (QString::fill): Fix a bug that was
diff --git a/WebCore/kwq/KWQKHTMLPart.mm b/WebCore/kwq/KWQKHTMLPart.mm
index 98441bc..25d7214 100644
--- a/WebCore/kwq/KWQKHTMLPart.mm
+++ b/WebCore/kwq/KWQKHTMLPart.mm
@@ -145,12 +145,14 @@ static void recursive(const DOM::Node &pNode, const DOM::Node &node)
 - (void)WCURLHandleResourceDidCancelLoading:(id)sender userData:(void *)userData
 {
     KWQDEBUGLEVEL1 (0x2000, "userData = 0x%08x\n", userData);
+    [sender autorelease];
 }
 
 - (void)WCURLHandleResourceDidFinishLoading:(id)sender userData:(void *)userData
 {
     KWQDEBUGLEVEL1 (0x2000, "userData = 0x%08x\n", userData);
     m_part->closeURL();
+    [sender autorelease];
 }
 
 - (void)WCURLHandle:(id)sender resourceDataDidBecomeAvailable:(NSData *)data userData:(void *)userData
@@ -165,6 +167,7 @@ static void recursive(const DOM::Node &pNode, const DOM::Node &node)
 - (void)WCURLHandle:(id)sender resourceDidFailLoadingWithResult:(int)result userData:(void *)userData
 {
     KWQDEBUGLEVEL2 (0x2000, "result = %d, userData = 0x%08x\n", result, userData);
+    [sender autorelease];
 }
 
 
diff --git a/WebCore/kwq/KWQKHTMLPartImpl.mm b/WebCore/kwq/KWQKHTMLPartImpl.mm
index 98441bc..25d7214 100644
--- a/WebCore/kwq/KWQKHTMLPartImpl.mm
+++ b/WebCore/kwq/KWQKHTMLPartImpl.mm
@@ -145,12 +145,14 @@ static void recursive(const DOM::Node &pNode, const DOM::Node &node)
 - (void)WCURLHandleResourceDidCancelLoading:(id)sender userData:(void *)userData
 {
     KWQDEBUGLEVEL1 (0x2000, "userData = 0x%08x\n", userData);
+    [sender autorelease];
 }
 
 - (void)WCURLHandleResourceDidFinishLoading:(id)sender userData:(void *)userData
 {
     KWQDEBUGLEVEL1 (0x2000, "userData = 0x%08x\n", userData);
     m_part->closeURL();
+    [sender autorelease];
 }
 
 - (void)WCURLHandle:(id)sender resourceDataDidBecomeAvailable:(NSData *)data userData:(void *)userData
@@ -165,6 +167,7 @@ static void recursive(const DOM::Node &pNode, const DOM::Node &node)
 - (void)WCURLHandle:(id)sender resourceDidFailLoadingWithResult:(int)result userData:(void *)userData
 {
     KWQDEBUGLEVEL2 (0x2000, "result = %d, userData = 0x%08x\n", result, userData);
+    [sender autorelease];
 }
 
 
diff --git a/WebCore/kwq/KWQKloader.mm b/WebCore/kwq/KWQKloader.mm
index b240e7a..916590a 100644
--- a/WebCore/kwq/KWQKloader.mm
+++ b/WebCore/kwq/KWQKloader.mm
@@ -971,6 +971,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 - (void)WCURLHandleResourceDidFinishLoading:(id)sender userData:(void *)userData
@@ -990,6 +991,8 @@ typedef enum {
     loadProgress->totalToLoad = 0;
     loadProgress->bytesSoFar = 0;
     [controller receivedProgress: (IFLoadProgress *)loadProgress forResource: QSTRING_TO_NSSTRING(urlString) fromDataSource: m_dataSource];
+
+    [sender autorelease];
 }
 
 - (void)WCURLHandle:(id)sender resourceDataDidBecomeAvailable:(NSData *)data userData:(void *)userData
@@ -1016,6 +1019,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 
diff --git a/WebCore/kwq/KWQLoader.mm b/WebCore/kwq/KWQLoader.mm
index b240e7a..916590a 100644
--- a/WebCore/kwq/KWQLoader.mm
+++ b/WebCore/kwq/KWQLoader.mm
@@ -971,6 +971,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 - (void)WCURLHandleResourceDidFinishLoading:(id)sender userData:(void *)userData
@@ -990,6 +991,8 @@ typedef enum {
     loadProgress->totalToLoad = 0;
     loadProgress->bytesSoFar = 0;
     [controller receivedProgress: (IFLoadProgress *)loadProgress forResource: QSTRING_TO_NSSTRING(urlString) fromDataSource: m_dataSource];
+
+    [sender autorelease];
 }
 
 - (void)WCURLHandle:(id)sender resourceDataDidBecomeAvailable:(NSData *)data userData:(void *)userData
@@ -1016,6 +1019,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 
diff --git a/WebCore/kwq/KWQLoaderImpl.mm b/WebCore/kwq/KWQLoaderImpl.mm
index b240e7a..916590a 100644
--- a/WebCore/kwq/KWQLoaderImpl.mm
+++ b/WebCore/kwq/KWQLoaderImpl.mm
@@ -971,6 +971,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 - (void)WCURLHandleResourceDidFinishLoading:(id)sender userData:(void *)userData
@@ -990,6 +991,8 @@ typedef enum {
     loadProgress->totalToLoad = 0;
     loadProgress->bytesSoFar = 0;
     [controller receivedProgress: (IFLoadProgress *)loadProgress forResource: QSTRING_TO_NSSTRING(urlString) fromDataSource: m_dataSource];
+
+    [sender autorelease];
 }
 
 - (void)WCURLHandle:(id)sender resourceDataDidBecomeAvailable:(NSData *)data userData:(void *)userData
@@ -1016,6 +1019,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 
diff --git a/WebCore/src/kwq/KWQKHTMLPart.mm b/WebCore/src/kwq/KWQKHTMLPart.mm
index 98441bc..25d7214 100644
--- a/WebCore/src/kwq/KWQKHTMLPart.mm
+++ b/WebCore/src/kwq/KWQKHTMLPart.mm
@@ -145,12 +145,14 @@ static void recursive(const DOM::Node &pNode, const DOM::Node &node)
 - (void)WCURLHandleResourceDidCancelLoading:(id)sender userData:(void *)userData
 {
     KWQDEBUGLEVEL1 (0x2000, "userData = 0x%08x\n", userData);
+    [sender autorelease];
 }
 
 - (void)WCURLHandleResourceDidFinishLoading:(id)sender userData:(void *)userData
 {
     KWQDEBUGLEVEL1 (0x2000, "userData = 0x%08x\n", userData);
     m_part->closeURL();
+    [sender autorelease];
 }
 
 - (void)WCURLHandle:(id)sender resourceDataDidBecomeAvailable:(NSData *)data userData:(void *)userData
@@ -165,6 +167,7 @@ static void recursive(const DOM::Node &pNode, const DOM::Node &node)
 - (void)WCURLHandle:(id)sender resourceDidFailLoadingWithResult:(int)result userData:(void *)userData
 {
     KWQDEBUGLEVEL2 (0x2000, "result = %d, userData = 0x%08x\n", result, userData);
+    [sender autorelease];
 }
 
 
diff --git a/WebCore/src/kwq/KWQKloader.mm b/WebCore/src/kwq/KWQKloader.mm
index b240e7a..916590a 100644
--- a/WebCore/src/kwq/KWQKloader.mm
+++ b/WebCore/src/kwq/KWQKloader.mm
@@ -971,6 +971,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 - (void)WCURLHandleResourceDidFinishLoading:(id)sender userData:(void *)userData
@@ -990,6 +991,8 @@ typedef enum {
     loadProgress->totalToLoad = 0;
     loadProgress->bytesSoFar = 0;
     [controller receivedProgress: (IFLoadProgress *)loadProgress forResource: QSTRING_TO_NSSTRING(urlString) fromDataSource: m_dataSource];
+
+    [sender autorelease];
 }
 
 - (void)WCURLHandle:(id)sender resourceDataDidBecomeAvailable:(NSData *)data userData:(void *)userData
@@ -1016,6 +1019,7 @@ typedef enum {
     KWQDEBUGLEVEL2 (0x2000, "dataSource = 0x%08x for URL %s\n", m_dataSource, job->url().url().latin1());
 
     [m_dataSource _removeURLHandle: job->handle()];
+    [sender autorelease];
 }
 
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list