[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:53:25 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit f08705683be6b472a264ea9e638f75208053afc3
Author: kocienda <kocienda at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Dec 18 00:41:29 2001 +0000

            Fixed small cpp glitch in WKWebCache.
            Added WKAttributedURL header.
            Updated WKBackForwardList with ifdef'ed out new design.
    
            * Cache.subproj/WKWebCache.h:
            * History.subproj/WKAttributedURL.h:
            * History.subproj/WKBackForwardList.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@509 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 4b91ab8..af39f7a 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,15 @@
 2001-12-17  Kenneth Kocienda  <kocienda at apple.com>
 
+        Fixed small cpp glitch in WKWebCache.
+        Added WKAttributedURL header.
+        Updated WKBackForwardList with ifdef'ed out new design.
+        
+	* Cache.subproj/WKWebCache.h:
+	* History.subproj/WKAttributedURL.h:
+	* History.subproj/WKBackForwardList.h:
+
+2001-12-17  Kenneth Kocienda  <kocienda at apple.com>
+
         Added header files by chopping up the CacheAPI.h document I have been working on.
 
 	* Cache.subproj/WKLoadChunk.h:
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 4b91ab8..af39f7a 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,15 @@
 2001-12-17  Kenneth Kocienda  <kocienda at apple.com>
 
+        Fixed small cpp glitch in WKWebCache.
+        Added WKAttributedURL header.
+        Updated WKBackForwardList with ifdef'ed out new design.
+        
+	* Cache.subproj/WKWebCache.h:
+	* History.subproj/WKAttributedURL.h:
+	* History.subproj/WKBackForwardList.h:
+
+2001-12-17  Kenneth Kocienda  <kocienda at apple.com>
+
         Added header files by chopping up the CacheAPI.h document I have been working on.
 
 	* Cache.subproj/WKLoadChunk.h:
diff --git a/WebKit/History.subproj/IFAttributedURL.h b/WebKit/History.subproj/IFAttributedURL.h
new file mode 100644
index 0000000..db417e9
--- /dev/null
+++ b/WebKit/History.subproj/IFAttributedURL.h
@@ -0,0 +1,156 @@
+/*	WKAttributedURL.h
+	Copyright 2001, Apple, Inc. All rights reserved.
+*/
+
+#ifdef NEW_WEBKIT_API
+
+//=============================================================================
+//
+// WKAttributedURL.h
+//
+// WKAttributedURL is the class that is used to store a "reference" to a URL
+// in the various history and bookmark mechanisms. It provides some attributes
+// that clients can use to "decorate" a URL with data that a user might find 
+// useful in organizing their internet and browsing experience.
+// 
+ at interface WKAttributedURL : NSObject
+{
+    // The URL that serves as the "anchor" for the accompanying attributes.
+    NSURL *url;
+
+    // The human-readable title of the URL. Taken from the <TITLE> tag
+    // in the case of an HTML document.
+    NSString *title;
+
+    // An icon to associate with the URL. Can be determined by mime type,
+    // file extensions, or the various and sundry "favicon.ico" strategies.
+    NSImage *image;
+
+    // A place for users to add their own comments.
+    NSString *comment;
+
+    // The date of object creation.
+    NSDate *creationDate;
+
+    // The date that any of the settable fields was last changed.
+    NSDate *modificationDate;
+
+    // The date that the URL was last visited by the user.
+    NSDate *lastVisitedDate;
+    
+    // The total number of times the URL has been visited.
+    int visits;
+}
+
+//
+// Initializes a WKAttributedURL object, setting the URL to the given
+// object, the creation and modification dates to "now" and all other 
+// fields to empty values (nil or zero).
+//
+-(id)initWithURL:(NSURL *)url;
+
+//
+// Initializes a WKAttributedURL object, setting the URL and title to 
+// the given objects, the creation and modification dates to "now" and 
+// all other fields to empty values (nil or zero).
+//
+-(id)initWithURL:(NSURL *)url title:(NSString *)title;
+
+//
+// Returns the URL that serves as the "anchor" for the accompanying 
+// attributes.
+//
+-(NSURL *)url;
+
+//
+// Returns the human-readable title of the URL, or nil if no title 
+// has been set
+//
+-(NSString *)title;
+
+//
+// Returns the icon associated with the URL, or nil if no icon image
+// has been set. Note that the image can be determined by mime type,
+// file extensions, or the various and sundry "favicon.ico" strategies.
+//
+-(NSImage *)image;
+
+//
+// Returns the comment string set by the user, if any, or nil if no
+// comment has been set.
+//
+-(NSString *)comment;
+
+//
+// Returns the date of object creation. This value is immutable.
+//
+-(NSDate *)creationDate;
+
+//
+// Returns the date that any of the settable fields was last changed.
+//
+-(NSDate *)modificationDate;
+
+//
+// Returns the date that the URL was last visited by the user, or nil
+// if the URL has never been visited.
+//
+-(NSDate *)lastVisitedDate;
+
+//
+// Returns the total number of times the URL has been visited.
+//
+-(int)visits;
+
+//
+// Sets the URL of the receiver to the given object.
+//
+-(void)setURL:(NSURL *)aURL;
+
+//
+// Sets the title of the receiver to the given object.
+//
+-(void)setTitle:(NSString *)aTitle;
+
+//
+// Sets the image of the receiver to the given object.
+//
+-(void)setImage:(NSImage *)anImage;
+
+//
+// Sets the comment of the receiver to the given object.
+//
+-(void)setComment:(NSString *)aComment;
+
+//
+// Sets the modification date of the receiver to the given object.
+//
+-(void)setModificationDate:(NSDate *)aDate;
+
+//
+// Sets the last-visited date of the receiver to the given object.
+//
+-(void)setLastVisitedDate:(NSDate *)aDate;
+
+//
+// Increments the visited field of the receiver by 1 (one).
+//
+-(void)incrementVisits;
+
+//
+// Returns a hash code for the receiver.
+//
+-(unsigned)hash;
+
+//
+// Returns YES if the receiver is equal to the given object, no otherwise. 
+// Two WKAttributedURL objects are equal if and only if they have the 
+// equal URLs and creation dates.
+//
+-(BOOL)isEqual:(id)anObject;
+
+ at end
+
+//=============================================================================
+
+#endif // NEW_WEBKIT_API
diff --git a/WebKit/History.subproj/IFBackForwardList.h b/WebKit/History.subproj/IFBackForwardList.h
index 5838060..c5c2712 100644
--- a/WebKit/History.subproj/IFBackForwardList.h
+++ b/WebKit/History.subproj/IFBackForwardList.h
@@ -1,10 +1,6 @@
-//
-//  WKBackForwardList.h
-//  WebKit
-//
-//  Created by Kenneth Kocienda on Thu Nov 29 2001.
-//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
-//
+/*	WKBackForwardList.h
+	Copyright 2001, Apple, Inc. All rights reserved.
+*/
 
 #import <Foundation/Foundation.h>
 #import "WKURIList.h"
@@ -31,3 +27,37 @@
 -(BOOL)canGoForward;
 
 @end
+
+
+#ifdef NEW_WEBKIT_API
+
+//=============================================================================
+//
+// WKBackForwardList.h
+//
+// It provides the list that enables the "Back" and "Forward" buttons to
+// work correctly. As such, it is merely a user convenience that aids in
+// basic navigation in ways that users have come to expect.
+//
+
+ at interface WKBackForwardList
+{
+
+-(id)init;
+
+-(void)addAttributedURL:(WKAttributedURL *)url;
+
+-(WKAttributedURL *)back;
+-(WKAttributedURL *)forward;
+
+-(NSArray *)backList;
+-(NSArray *)forwardList;
+
+-(BOOL)canGoBack;
+-(BOOL)canGoForward;
+
+}
+
+//=============================================================================
+
+#endif // NEW_WEBKIT_API
diff --git a/WebKit/History.subproj/WKAttributedURL.h b/WebKit/History.subproj/WKAttributedURL.h
new file mode 100644
index 0000000..db417e9
--- /dev/null
+++ b/WebKit/History.subproj/WKAttributedURL.h
@@ -0,0 +1,156 @@
+/*	WKAttributedURL.h
+	Copyright 2001, Apple, Inc. All rights reserved.
+*/
+
+#ifdef NEW_WEBKIT_API
+
+//=============================================================================
+//
+// WKAttributedURL.h
+//
+// WKAttributedURL is the class that is used to store a "reference" to a URL
+// in the various history and bookmark mechanisms. It provides some attributes
+// that clients can use to "decorate" a URL with data that a user might find 
+// useful in organizing their internet and browsing experience.
+// 
+ at interface WKAttributedURL : NSObject
+{
+    // The URL that serves as the "anchor" for the accompanying attributes.
+    NSURL *url;
+
+    // The human-readable title of the URL. Taken from the <TITLE> tag
+    // in the case of an HTML document.
+    NSString *title;
+
+    // An icon to associate with the URL. Can be determined by mime type,
+    // file extensions, or the various and sundry "favicon.ico" strategies.
+    NSImage *image;
+
+    // A place for users to add their own comments.
+    NSString *comment;
+
+    // The date of object creation.
+    NSDate *creationDate;
+
+    // The date that any of the settable fields was last changed.
+    NSDate *modificationDate;
+
+    // The date that the URL was last visited by the user.
+    NSDate *lastVisitedDate;
+    
+    // The total number of times the URL has been visited.
+    int visits;
+}
+
+//
+// Initializes a WKAttributedURL object, setting the URL to the given
+// object, the creation and modification dates to "now" and all other 
+// fields to empty values (nil or zero).
+//
+-(id)initWithURL:(NSURL *)url;
+
+//
+// Initializes a WKAttributedURL object, setting the URL and title to 
+// the given objects, the creation and modification dates to "now" and 
+// all other fields to empty values (nil or zero).
+//
+-(id)initWithURL:(NSURL *)url title:(NSString *)title;
+
+//
+// Returns the URL that serves as the "anchor" for the accompanying 
+// attributes.
+//
+-(NSURL *)url;
+
+//
+// Returns the human-readable title of the URL, or nil if no title 
+// has been set
+//
+-(NSString *)title;
+
+//
+// Returns the icon associated with the URL, or nil if no icon image
+// has been set. Note that the image can be determined by mime type,
+// file extensions, or the various and sundry "favicon.ico" strategies.
+//
+-(NSImage *)image;
+
+//
+// Returns the comment string set by the user, if any, or nil if no
+// comment has been set.
+//
+-(NSString *)comment;
+
+//
+// Returns the date of object creation. This value is immutable.
+//
+-(NSDate *)creationDate;
+
+//
+// Returns the date that any of the settable fields was last changed.
+//
+-(NSDate *)modificationDate;
+
+//
+// Returns the date that the URL was last visited by the user, or nil
+// if the URL has never been visited.
+//
+-(NSDate *)lastVisitedDate;
+
+//
+// Returns the total number of times the URL has been visited.
+//
+-(int)visits;
+
+//
+// Sets the URL of the receiver to the given object.
+//
+-(void)setURL:(NSURL *)aURL;
+
+//
+// Sets the title of the receiver to the given object.
+//
+-(void)setTitle:(NSString *)aTitle;
+
+//
+// Sets the image of the receiver to the given object.
+//
+-(void)setImage:(NSImage *)anImage;
+
+//
+// Sets the comment of the receiver to the given object.
+//
+-(void)setComment:(NSString *)aComment;
+
+//
+// Sets the modification date of the receiver to the given object.
+//
+-(void)setModificationDate:(NSDate *)aDate;
+
+//
+// Sets the last-visited date of the receiver to the given object.
+//
+-(void)setLastVisitedDate:(NSDate *)aDate;
+
+//
+// Increments the visited field of the receiver by 1 (one).
+//
+-(void)incrementVisits;
+
+//
+// Returns a hash code for the receiver.
+//
+-(unsigned)hash;
+
+//
+// Returns YES if the receiver is equal to the given object, no otherwise. 
+// Two WKAttributedURL objects are equal if and only if they have the 
+// equal URLs and creation dates.
+//
+-(BOOL)isEqual:(id)anObject;
+
+ at end
+
+//=============================================================================
+
+#endif // NEW_WEBKIT_API
diff --git a/WebKit/History.subproj/WKBackForwardList.h b/WebKit/History.subproj/WKBackForwardList.h
index 5838060..c5c2712 100644
--- a/WebKit/History.subproj/WKBackForwardList.h
+++ b/WebKit/History.subproj/WKBackForwardList.h
@@ -1,10 +1,6 @@
-//
-//  WKBackForwardList.h
-//  WebKit
-//
-//  Created by Kenneth Kocienda on Thu Nov 29 2001.
-//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
-//
+/*	WKBackForwardList.h
+	Copyright 2001, Apple, Inc. All rights reserved.
+*/
 
 #import <Foundation/Foundation.h>
 #import "WKURIList.h"
@@ -31,3 +27,37 @@
 -(BOOL)canGoForward;
 
 @end
+
+
+#ifdef NEW_WEBKIT_API
+
+//=============================================================================
+//
+// WKBackForwardList.h
+//
+// It provides the list that enables the "Back" and "Forward" buttons to
+// work correctly. As such, it is merely a user convenience that aids in
+// basic navigation in ways that users have come to expect.
+//
+
+ at interface WKBackForwardList
+{
+
+-(id)init;
+
+-(void)addAttributedURL:(WKAttributedURL *)url;
+
+-(WKAttributedURL *)back;
+-(WKAttributedURL *)forward;
+
+-(NSArray *)backList;
+-(NSArray *)forwardList;
+
+-(BOOL)canGoBack;
+-(BOOL)canGoForward;
+
+}
+
+//=============================================================================
+
+#endif // NEW_WEBKIT_API
diff --git a/WebKit/History.subproj/WebBackForwardList.h b/WebKit/History.subproj/WebBackForwardList.h
index 5838060..c5c2712 100644
--- a/WebKit/History.subproj/WebBackForwardList.h
+++ b/WebKit/History.subproj/WebBackForwardList.h
@@ -1,10 +1,6 @@
-//
-//  WKBackForwardList.h
-//  WebKit
-//
-//  Created by Kenneth Kocienda on Thu Nov 29 2001.
-//  Copyright (c) 2001 __MyCompanyName__. All rights reserved.
-//
+/*	WKBackForwardList.h
+	Copyright 2001, Apple, Inc. All rights reserved.
+*/
 
 #import <Foundation/Foundation.h>
 #import "WKURIList.h"
@@ -31,3 +27,37 @@
 -(BOOL)canGoForward;
 
 @end
+
+
+#ifdef NEW_WEBKIT_API
+
+//=============================================================================
+//
+// WKBackForwardList.h
+//
+// It provides the list that enables the "Back" and "Forward" buttons to
+// work correctly. As such, it is merely a user convenience that aids in
+// basic navigation in ways that users have come to expect.
+//
+
+ at interface WKBackForwardList
+{
+
+-(id)init;
+
+-(void)addAttributedURL:(WKAttributedURL *)url;
+
+-(WKAttributedURL *)back;
+-(WKAttributedURL *)forward;
+
+-(NSArray *)backList;
+-(NSArray *)forwardList;
+
+-(BOOL)canGoBack;
+-(BOOL)canGoForward;
+
+}
+
+//=============================================================================
+
+#endif // NEW_WEBKIT_API

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list