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

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:55:49 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 0ec738de99f986a34afe5b68a689376fde6f4f20
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Oct 30 04:50:42 2002 +0000

    	Created Downloads.subproj to hold the to-be-implemented download decoders.
    
            * Downloads.subproj/WebDownloadDecoder.h: Added.
            * Downloads.subproj/WebDownloadHandler.h: Added.
            * Downloads.subproj/WebDownloadHandler.m: Added.
            (-[WebDownloadHandler initWithDataSource:]):
            (-[WebDownloadHandler dealloc]):
            (-[WebDownloadHandler errorWithCode:]):
            (-[WebDownloadHandler receivedResponse:]):
            (-[WebDownloadHandler receivedData:]):
            (-[WebDownloadHandler finishedLoading]):
            (-[WebDownloadHandler cancel]):
            * Misc.subproj/WebDownloadHandler.h: Removed.
            * Misc.subproj/WebDownloadHandler.m: Removed.
            * WebKit.pbproj/project.pbxproj:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2503 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index d43d9e7..eae0351 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,21 @@
+2002-10-29  Chris Blumenberg  <cblu at apple.com>
+
+	Created Downloads.subproj to hold the to-be-implemented download decoders.
+
+        * Downloads.subproj/WebDownloadDecoder.h: Added.
+        * Downloads.subproj/WebDownloadHandler.h: Added.
+        * Downloads.subproj/WebDownloadHandler.m: Added.
+        (-[WebDownloadHandler initWithDataSource:]):
+        (-[WebDownloadHandler dealloc]):
+        (-[WebDownloadHandler errorWithCode:]):
+        (-[WebDownloadHandler receivedResponse:]):
+        (-[WebDownloadHandler receivedData:]):
+        (-[WebDownloadHandler finishedLoading]):
+        (-[WebDownloadHandler cancel]):
+        * Misc.subproj/WebDownloadHandler.h: Removed.
+        * Misc.subproj/WebDownloadHandler.m: Removed.
+        * WebKit.pbproj/project.pbxproj:
+
 2002-10-28  Darin Adler  <darin at apple.com>
 
 	- fixed crash I just introduced
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index d43d9e7..eae0351 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,21 @@
+2002-10-29  Chris Blumenberg  <cblu at apple.com>
+
+	Created Downloads.subproj to hold the to-be-implemented download decoders.
+
+        * Downloads.subproj/WebDownloadDecoder.h: Added.
+        * Downloads.subproj/WebDownloadHandler.h: Added.
+        * Downloads.subproj/WebDownloadHandler.m: Added.
+        (-[WebDownloadHandler initWithDataSource:]):
+        (-[WebDownloadHandler dealloc]):
+        (-[WebDownloadHandler errorWithCode:]):
+        (-[WebDownloadHandler receivedResponse:]):
+        (-[WebDownloadHandler receivedData:]):
+        (-[WebDownloadHandler finishedLoading]):
+        (-[WebDownloadHandler cancel]):
+        * Misc.subproj/WebDownloadHandler.h: Removed.
+        * Misc.subproj/WebDownloadHandler.m: Removed.
+        * WebKit.pbproj/project.pbxproj:
+
 2002-10-28  Darin Adler  <darin at apple.com>
 
 	- fixed crash I just introduced
diff --git a/WebKit/Misc.subproj/WebDownloadHandler.h b/WebKit/Downloads.subproj/WebDownload.h
similarity index 100%
copy from WebKit/Misc.subproj/WebDownloadHandler.h
copy to WebKit/Downloads.subproj/WebDownload.h
diff --git a/WebKit/Misc.subproj/WebDownloadHandler.m b/WebKit/Downloads.subproj/WebDownload.m
similarity index 100%
copy from WebKit/Misc.subproj/WebDownloadHandler.m
copy to WebKit/Downloads.subproj/WebDownload.m
diff --git a/WebKit/Downloads.subproj/WebDownloadDecoder.h b/WebKit/Downloads.subproj/WebDownloadDecoder.h
new file mode 100644
index 0000000..0fef9c0
--- /dev/null
+++ b/WebKit/Downloads.subproj/WebDownloadDecoder.h
@@ -0,0 +1,34 @@
+/*
+ *  WebDownloadDecoder.h
+ *  WebKit
+ *
+ *  Created by Chris Blumenberg on Thu Oct 17 2002.
+ *  Copyright (c) 2002 Apple Computer. All rights reserved.
+ *
+ */
+
+#include <Foundation/Foundation.h>
+
+ at protocol WebDownloadDecoder <NSObject>
+
+// Returns YES if the decoder can decode headerData, NO otherwise.
+// Header data is the first 8KB or larger chunk of received data.
++ (BOOL)canDecodeHeaderData:(NSData *)headerData;
+
+// Decodes data and sets dataForkData and resourceForkData with the decoded data.
+// dataForkData and/or resourceForkData and can be set to nil if there is no data to decode.
+// This method will be called repeatedly with every chunk of received data. 
+// Returns YES if no errors have occurred, NO otherwise.
+- (BOOL)decodeData:(NSData *)data dataForkData:(NSData **)dataForkData resourceForkData:(NSData **)resourceForkData;
+
+// Returns YES if decoding successfully finished, NO otherwise.
+- (BOOL)finishDecoding;
+
+// Returns a dictionary of 4 file attributes. The attributes (as defined in NSFileManager.h) are:
+// NSFileModificationDate, NSFileHFSCreatorCode, NSFileHFSTypeCode, NSFileCreationDate
+// fileAttributes is called after finishDecoding.
+- (NSDictionary *)fileAttributes;
+ at end
+
+
+
diff --git a/WebKit/Misc.subproj/WebDownloadHandler.h b/WebKit/Downloads.subproj/WebDownloadHandler.h
similarity index 100%
rename from WebKit/Misc.subproj/WebDownloadHandler.h
rename to WebKit/Downloads.subproj/WebDownloadHandler.h
diff --git a/WebKit/Misc.subproj/WebDownloadHandler.m b/WebKit/Downloads.subproj/WebDownloadHandler.m
similarity index 100%
rename from WebKit/Misc.subproj/WebDownloadHandler.m
rename to WebKit/Downloads.subproj/WebDownloadHandler.m
diff --git a/WebKit/WebKit.pbproj/project.pbxproj b/WebKit/WebKit.pbproj/project.pbxproj
index d342934..2252cce 100644
--- a/WebKit/WebKit.pbproj/project.pbxproj
+++ b/WebKit/WebKit.pbproj/project.pbxproj
@@ -94,6 +94,7 @@
 				F5065217027F555001C1A526,
 				F52CA6C002DF9D78018635CA,
 				F57D194A034E732C01A80180,
+				832E269E036F952E005E2B4F,
 				25A8176801B5474B0ECA149E,
 				254DC334016E1D3F0ECA149E,
 				F8CA15B4029A399401000122,
@@ -208,7 +209,6 @@
 				F5B92B840223191D01C1A525,
 				F5E0A77002B8FEE401C1A525,
 				F59EAE400253C7EE018635CA,
-				F5FBAB9102B88CBF01FF6074,
 				39446094020F50ED0ECA1767,
 				F528E3EC031E91AD01CA2ACA,
 				F528E3EE031E91AD01CA2ACA,
@@ -295,6 +295,8 @@
 				933D659B03413FF2008635CE,
 				9311022A03667CF1008635CE,
 				8467275E0367158500CA2ACA,
+				832E26A2036F95CA005E2B4F,
+				832E26A5036F9614005E2B4F,
 			);
 			isa = PBXHeadersBuildPhase;
 			runOnlyForDeploymentPostprocessing = 0;
@@ -361,7 +363,6 @@
 				35081DAB02B6D4E40ACA2ACA,
 				35081DAD02B6D4E40ACA2ACA,
 				F508946C02B71D59018A9CD4,
-				F5FBAB9202B88CBF01FF6074,
 				F5AFB46102B94DC8018635CA,
 				F5E0A77102B8FEE401C1A525,
 				F5E0E10B02BC45F8018635CA,
@@ -400,6 +401,7 @@
 				83E4AF4E036659440000E506,
 				9311022B03667CF1008635CE,
 				8467275F0367158500CA2ACA,
+				832E26A6036F9614005E2B4F,
 			);
 			isa = PBXSourcesBuildPhase;
 			runOnlyForDeploymentPostprocessing = 0;
@@ -465,8 +467,6 @@
 //254
 		254DC334016E1D3F0ECA149E = {
 			children = (
-				F5FBAB8F02B88CBF01FF6074,
-				F5FBAB9002B88CBF01FF6074,
 				3944607A020F50ED0ECA1767,
 				3944607B020F50ED0ECA1767,
 				F528E3E9031E91AD01CA2ACA,
@@ -1447,6 +1447,55 @@
 //832
 //833
 //834
+		832E269E036F952E005E2B4F = {
+			children = (
+				832E26A1036F95CA005E2B4F,
+				832E26A3036F9614005E2B4F,
+				832E26A4036F9614005E2B4F,
+			);
+			isa = PBXGroup;
+			name = Downloads;
+			refType = 4;
+		};
+		832E26A1036F95CA005E2B4F = {
+			fileEncoding = 30;
+			isa = PBXFileReference;
+			name = WebDownloadDecoder.h;
+			path = Downloads.subproj/WebDownloadDecoder.h;
+			refType = 4;
+		};
+		832E26A2036F95CA005E2B4F = {
+			fileRef = 832E26A1036F95CA005E2B4F;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		832E26A3036F9614005E2B4F = {
+			fileEncoding = 30;
+			isa = PBXFileReference;
+			name = WebDownloadHandler.h;
+			path = Downloads.subproj/WebDownloadHandler.h;
+			refType = 4;
+		};
+		832E26A4036F9614005E2B4F = {
+			fileEncoding = 30;
+			isa = PBXFileReference;
+			name = WebDownloadHandler.m;
+			path = Downloads.subproj/WebDownloadHandler.m;
+			refType = 4;
+		};
+		832E26A5036F9614005E2B4F = {
+			fileRef = 832E26A3036F9614005E2B4F;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		832E26A6036F9614005E2B4F = {
+			fileRef = 832E26A4036F9614005E2B4F;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
 		83402EF6035A588900BE770A = {
 			fileEncoding = 4;
 			isa = PBXFileReference;
@@ -3331,30 +3380,6 @@
 			settings = {
 			};
 		};
-		F5FBAB8F02B88CBF01FF6074 = {
-			fileEncoding = 4;
-			isa = PBXFileReference;
-			path = WebDownloadHandler.h;
-			refType = 4;
-		};
-		F5FBAB9002B88CBF01FF6074 = {
-			fileEncoding = 4;
-			isa = PBXFileReference;
-			path = WebDownloadHandler.m;
-			refType = 4;
-		};
-		F5FBAB9102B88CBF01FF6074 = {
-			fileRef = F5FBAB8F02B88CBF01FF6074;
-			isa = PBXBuildFile;
-			settings = {
-			};
-		};
-		F5FBAB9202B88CBF01FF6074 = {
-			fileRef = F5FBAB9002B88CBF01FF6074;
-			isa = PBXBuildFile;
-			settings = {
-			};
-		};
 //F50
 //F51
 //F52

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list