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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 06:58:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit a04f2e3b48c3d1c80ae6ec4a589509734089e3cf
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Nov 9 07:09:05 2002 +0000

    	- fixed 3095078 -- image loop counts still not handled right
    
            * WebCoreSupport.subproj/WebImageRenderer.m:
            (-[WebImageRenderer blockHasGIFExtensionSignature:length:]): Look for the tag
    	"NETSCAPE2.0", not "NETSCAPE1.0".
            (-[WebImageRenderer nextFrame:]): Remove special handling for last frames with
    	a duration of 0. That was just a misunderstanding.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2611 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index b0cb48c..4cc3602 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,15 @@
 2002-11-08  Darin Adler  <darin at apple.com>
 
+	- fixed 3095078 -- image loop counts still not handled right
+
+        * WebCoreSupport.subproj/WebImageRenderer.m:
+        (-[WebImageRenderer blockHasGIFExtensionSignature:length:]): Look for the tag
+	"NETSCAPE2.0", not "NETSCAPE1.0".
+        (-[WebImageRenderer nextFrame:]): Remove special handling for last frames with
+	a duration of 0. That was just a misunderstanding.
+
+2002-11-08  Darin Adler  <darin at apple.com>
+
         * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setRequest:]):
 	Slightly better fix. Essentially just take out the assert.
 
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index b0cb48c..4cc3602 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,15 @@
 2002-11-08  Darin Adler  <darin at apple.com>
 
+	- fixed 3095078 -- image loop counts still not handled right
+
+        * WebCoreSupport.subproj/WebImageRenderer.m:
+        (-[WebImageRenderer blockHasGIFExtensionSignature:length:]): Look for the tag
+	"NETSCAPE2.0", not "NETSCAPE1.0".
+        (-[WebImageRenderer nextFrame:]): Remove special handling for last frames with
+	a duration of 0. That was just a misunderstanding.
+
+2002-11-08  Darin Adler  <darin at apple.com>
+
         * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _setRequest:]):
 	Slightly better fix. Essentially just take out the assert.
 
diff --git a/WebKit/WebCoreSupport.subproj/WebImageRenderer.m b/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
index 7fb4f8c..a57d790 100644
--- a/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
+++ b/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
@@ -34,8 +34,8 @@ static NSMutableArray *activeImageRenderers;
 {
     int i;
     for (i = 0; i < length - 10; i++) {
-        if (block[i + 8] == '1' && block[i + 9] == '.' && block[i + 10] == '0') {
-            if (memcmp(block + i, "NETSCAPE", 8) == 0 || memcmp(block + i, "ANIMEXTS", 8) == 0) {
+        if (block[i + 9] == '.' && block[i + 10] == '0') {
+            if (memcmp(block + i, "NETSCAPE2", 9) == 0 || memcmp(block + i, "ANIMEXTS1", 9) == 0) {
                 return YES;
             }
         }
@@ -281,12 +281,6 @@ static NSMutableArray *activeImageRenderers;
             animationFinished = YES;
             return;
         }
-	// Don't repeat if the last frame has a duration of 0.  
-        // IE doesn't repeat, so we don't.
-        if ([self unadjustedFrameDuration] == 0) {
-            animationFinished = YES;
-            return;
-        }
         currentFrame = 0;
     }
     [self setCurrentFrame:currentFrame];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list