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

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:07:45 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 828fb841cf631527c3c68df65fe3071e044c69f6
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Nov 24 15:56:17 2002 +0000

    WebCore:
    
    	- fixed 3067939 - no support for window.document.lastModified
    
            * kwq/WebCoreBridge.h:
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge openURL:reload:headers:lastModified:]): Set
    	"modified" metadata based on passed in last mdified date.
    
    WebKit:
    
    	- fixed 3067939 - no support for window.document.lastModified
    
            * WebView.subproj/WebDataSourcePrivate.m:
            (-[WebDataSource _commitIfReady]): Pass last modified date to WebCore.
            * WebView.subproj/WebFramePrivate.m:
            (-[WebFrame _continueFragmentScrollAfterNavigationPolicy:request:]): Pass
    	nil last modified date.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2850 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index 083a380..7bcc7e9 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,5 +1,14 @@
 2002-11-24  Maciej Stachowiak  <mjs at apple.com>
 
+	- fixed 3067939 - no support for window.document.lastModified
+	
+        * kwq/WebCoreBridge.h:
+        * kwq/WebCoreBridge.mm:
+        (-[WebCoreBridge openURL:reload:headers:lastModified:]): Set
+	"modified" metadata based on passed in last mdified date.
+
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
 	- fixed 3081946 - bookmarklet reports the wrong "windowfull" size
 
 	This isn't really beta 1 material but the fix was so tirivial I
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 083a380..7bcc7e9 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,14 @@
 2002-11-24  Maciej Stachowiak  <mjs at apple.com>
 
+	- fixed 3067939 - no support for window.document.lastModified
+	
+        * kwq/WebCoreBridge.h:
+        * kwq/WebCoreBridge.mm:
+        (-[WebCoreBridge openURL:reload:headers:lastModified:]): Set
+	"modified" metadata based on passed in last mdified date.
+
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
 	- fixed 3081946 - bookmarklet reports the wrong "windowfull" size
 
 	This isn't really beta 1 material but the fix was so tirivial I
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 083a380..7bcc7e9 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,14 @@
 2002-11-24  Maciej Stachowiak  <mjs at apple.com>
 
+	- fixed 3067939 - no support for window.document.lastModified
+	
+        * kwq/WebCoreBridge.h:
+        * kwq/WebCoreBridge.mm:
+        (-[WebCoreBridge openURL:reload:headers:lastModified:]): Set
+	"modified" metadata based on passed in last mdified date.
+
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
 	- fixed 3081946 - bookmarklet reports the wrong "windowfull" size
 
 	This isn't really beta 1 material but the fix was so tirivial I
diff --git a/WebCore/kwq/WebCoreBridge.h b/WebCore/kwq/WebCoreBridge.h
index 9fabf30..ea5ebad 100644
--- a/WebCore/kwq/WebCoreBridge.h
+++ b/WebCore/kwq/WebCoreBridge.h
@@ -94,7 +94,7 @@ enum FrameBorderStyle {
 
 - (void)setParent:(WebCoreBridge *)parent;
 
-- (void)openURL:(NSString *)URL reload:(BOOL)reload headers:(NSDictionary *)headers;
+- (void)openURL:(NSString *)URL reload:(BOOL)reload headers:(NSDictionary *)headers lastModified:(NSDate *)lastModified;
 - (void)addData:(NSData *)data withEncoding:(NSString *)encoding;
 - (void)addData:(NSData *)data withOverrideEncoding:(NSString *)encoding;
 - (void)closeURL;
diff --git a/WebCore/kwq/WebCoreBridge.mm b/WebCore/kwq/WebCoreBridge.mm
index 02dd6b5..168997e 100644
--- a/WebCore/kwq/WebCoreBridge.mm
+++ b/WebCore/kwq/WebCoreBridge.mm
@@ -110,7 +110,7 @@ using khtml::RenderPart;
     _part->setParent([parent part]);
 }
 
-- (void)openURL:(NSString *)URL reload:(BOOL)reload headers:(NSDictionary *)headers
+- (void)openURL:(NSString *)URL reload:(BOOL)reload headers:(NSDictionary *)headers lastModified:(NSDate *)lastModified
 {
     URLArgs args(_part->browserExtension()->urlArgs());
 
@@ -133,6 +133,11 @@ using khtml::RenderPart;
     if (refreshHeader) {
         _part->kwq->addMetaData("http-refresh", QString::fromNSString(refreshHeader));
     }
+
+    if (lastModified) {
+	_part->kwq->addMetaData("modified", QString::fromNSString([lastModified description]));
+    }
+
 }
 
 - (void)addData:(NSData *)data withEncoding:(NSString *)encoding
diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 7b7a40d..e1e0a38 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,13 @@
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
+	- fixed 3067939 - no support for window.document.lastModified
+
+        * WebView.subproj/WebDataSourcePrivate.m:
+        (-[WebDataSource _commitIfReady]): Pass last modified date to WebCore.
+        * WebView.subproj/WebFramePrivate.m:
+        (-[WebFrame _continueFragmentScrollAfterNavigationPolicy:request:]): Pass
+	nil last modified date.
+
 2002-11-23  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed: 3109835 - Download errors aren't communicated to client
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 7b7a40d..e1e0a38 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,13 @@
+2002-11-24  Maciej Stachowiak  <mjs at apple.com>
+
+	- fixed 3067939 - no support for window.document.lastModified
+
+        * WebView.subproj/WebDataSourcePrivate.m:
+        (-[WebDataSource _commitIfReady]): Pass last modified date to WebCore.
+        * WebView.subproj/WebFramePrivate.m:
+        (-[WebFrame _continueFragmentScrollAfterNavigationPolicy:request:]): Pass
+	nil last modified date.
+
 2002-11-23  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed: 3109835 - Download errors aren't communicated to client
diff --git a/WebKit/WebView.subproj/WebDataSourcePrivate.m b/WebKit/WebView.subproj/WebDataSourcePrivate.m
index 44d8263..78252d7 100644
--- a/WebKit/WebView.subproj/WebDataSourcePrivate.m
+++ b/WebKit/WebView.subproj/WebDataSourcePrivate.m
@@ -445,7 +445,7 @@
 	_private->committed = TRUE;
         [self _makeRepresentation];
         [[self webFrame] _transitionToCommitted];
-	[[self _bridge] openURL:[[_private->response URL] absoluteString] reload:reload headers:headers];
+	[[self _bridge] openURL:[[_private->response URL] absoluteString] reload:reload headers:headers lastModified:[_private->response lastModifiedDate]];
     }
 }
 
diff --git a/WebKit/WebView.subproj/WebFramePrivate.m b/WebKit/WebView.subproj/WebFramePrivate.m
index 50fc345..cc3e7c2 100644
--- a/WebKit/WebView.subproj/WebFramePrivate.m
+++ b/WebKit/WebView.subproj/WebFramePrivate.m
@@ -1066,7 +1066,7 @@ static const char * const stateNames[] = {
         // adding the BF item will save away scroll state.
         [self _addBackForwardItemClippedAtTarget:NO];
     }
-    [_private->bridge openURL:[URL absoluteString] reload:NO headers:nil];
+    [_private->bridge openURL:[URL absoluteString] reload:NO headers:nil lastModified:nil];
     if (!isRedirect) {
         // This will clear previousItem from the rest of the frame tree tree that didn't
         // doing any loading.  We need to make a pass on this now, since for anchor nav

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list