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

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:14:23 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit d0bcf4525652bb11e54e3331b9ddbce8bcdb3760
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 12 20:42:19 2002 +0000

    i        Change relating to 3083287.  This doesn't fix the problem but
            flips the geometry calcs to get most incremental images to draw
            correctly.  .mac now slideshows draw with the incorrect sliding
            behavior while loading.
    
            3083287 has been moved to 0.9/1.
    
            Reviewed by darin.
    
            * WebCoreSupport.subproj/WebImageRenderer.m:
            (-[WebImageRenderer incrementalLoadWithBytes:length:complete:]):
            (-[WebImageRenderer drawClippedToValidInRect:fromRect:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3023 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index bd1446b..6f3667b 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,18 @@
+2002-12-12  Richard Williamson   <rjw at apple.com>
+
+        Change relating to 3083287.  This doesn't fix the problem but
+        flips the geometry calcs to get most incremental images to draw
+        correctly.  .mac now slideshows draw with the incorrect sliding 
+        behavior while loading.
+        
+        3083287 has been moved to 0.9/1.
+        
+        Reviewed by darin.
+
+        * WebCoreSupport.subproj/WebImageRenderer.m:
+        (-[WebImageRenderer incrementalLoadWithBytes:length:complete:]):
+        (-[WebImageRenderer drawClippedToValidInRect:fromRect:]):
+
 2002-12-12  Trey Matteson  <trey at apple.com>
 
 	Fixed 3094525 - Need to use SPI to fix flipped drag image problem
diff --git a/WebKit/WebCoreSupport.subproj/WebImageRenderer.m b/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
index a57d790..d7fff88 100644
--- a/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
+++ b/WebKit/WebCoreSupport.subproj/WebImageRenderer.m
@@ -142,6 +142,7 @@ static NSMutableArray *activeImageRenderers;
         [self setSize:size];
         return YES;
     default:
+        //printf ("incrementalLoadWithBytes: size %d, isComplete %d\n", length, isComplete);
         // We have some data.  Return YES so we can attempt to draw what we've got.
         return YES;
     }
@@ -261,6 +262,8 @@ static NSMutableArray *activeImageRenderers;
         }
     }
     
+    fr.origin.y = [self size].height - fr.size.height;
+
     // This is the operation that handles transparent portions of the source image correctly.
     [self drawInRect:ir fromRect:fr operation:NSCompositeSourceOver fraction:1.0];
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list