[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 06:47:14 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit e804476dfdba6e354e395682fe2593fcc00cccf0
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Oct 5 02:00:30 2002 +0000

            Stubs for DOM level 2 core API.
    
            * DOM.subproj/WebDOMDocument.h: Added.
            * DOM.subproj/WebDOMDocument.m: Added.
            * DOM.subproj/WebDOMElement.h: Added.
            * DOM.subproj/WebDOMElement.m: Added.
            * DOM.subproj/WebDOMNamedNodeMap.h: Added.
            * DOM.subproj/WebDOMNamedNodeMap.m: Added.
            * DOM.subproj/WebDOMNode.h: Added.
            * DOM.subproj/WebDOMNode.m: Added.
            * WebKit.pbproj/project.pbxproj:
    
            * WebView.subproj/WebHTMLViewPrivate.m: tweak.
    
            Removed import of header that was removed earlier.
    
            * BookmarksController.m:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2255 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 0bd2ba7..ad3346d 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,19 @@
+2002-10-04  Richard Williamson   <rjw at apple.com>
+
+        Stubs for DOM level 2 core API.
+        
+        * DOM.subproj/WebDOMDocument.h: Added.
+        * DOM.subproj/WebDOMDocument.m: Added.
+        * DOM.subproj/WebDOMElement.h: Added.
+        * DOM.subproj/WebDOMElement.m: Added.
+        * DOM.subproj/WebDOMNamedNodeMap.h: Added.
+        * DOM.subproj/WebDOMNamedNodeMap.m: Added.
+        * DOM.subproj/WebDOMNode.h: Added.
+        * DOM.subproj/WebDOMNode.m: Added.
+        * WebKit.pbproj/project.pbxproj:
+        
+        * WebView.subproj/WebHTMLViewPrivate.m: tweak.
+
 2002-10-04  Darin Adler  <darin at apple.com>
 
         * English.lproj/StringsNotToBeLocalized.txt: Add the last few exceptions.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 0bd2ba7..ad3346d 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,19 @@
+2002-10-04  Richard Williamson   <rjw at apple.com>
+
+        Stubs for DOM level 2 core API.
+        
+        * DOM.subproj/WebDOMDocument.h: Added.
+        * DOM.subproj/WebDOMDocument.m: Added.
+        * DOM.subproj/WebDOMElement.h: Added.
+        * DOM.subproj/WebDOMElement.m: Added.
+        * DOM.subproj/WebDOMNamedNodeMap.h: Added.
+        * DOM.subproj/WebDOMNamedNodeMap.m: Added.
+        * DOM.subproj/WebDOMNode.h: Added.
+        * DOM.subproj/WebDOMNode.m: Added.
+        * WebKit.pbproj/project.pbxproj:
+        
+        * WebView.subproj/WebHTMLViewPrivate.m: tweak.
+
 2002-10-04  Darin Adler  <darin at apple.com>
 
         * English.lproj/StringsNotToBeLocalized.txt: Add the last few exceptions.
diff --git a/WebKit/DOM.subproj/WebDOMDocument.h b/WebKit/DOM.subproj/WebDOMDocument.h
new file mode 100644
index 0000000..52679b5
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMDocument.h
@@ -0,0 +1,96 @@
+/*	
+    WebDOMDocument.h
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+
+#import <Foundation/Foundation.h>
+
+#import <WebKit/WebDOMNode.h>
+
+ at protocol WebDOMAttr;
+ at protocol WebDOMComment;
+ at protocol WebDOMCDATASection;
+ at protocol WebDOMDocument;
+ at protocol WebDOMElement;
+ at protocol WebDOMEntityReference;
+ at protocol WebDOMNamedNodeMap;
+ at protocol WebDOMNode;
+ at protocol WebDOMNodeList;
+ at protocol WebDOMProcessingInstruction;
+ at protocol WebDOMText;
+
+
+ at protocol WebDOMDocumentType <WebDOMNode>
+
+- (NSString *)name;
+
+- (id<WebDOMNamedNodeMap>)entities;
+
+- (id<WebDOMNamedNodeMap>)notations;
+
+- (NSString *)publicId;
+
+- (NSString *)systemId;
+
+- (NSString *)internalSubset;
+
+ at end
+
+
+ at protocol WebDOMDocumentFragment <WebDOMNode>
+
+ at end
+
+
+ at protocol WebDOMImplementation
+
+- (BOOL)hasFeature: (NSString *)feature : (NSString *)version;
+
+- (id<WebDOMDocumentType>)createDocumentType: (NSString *)qualifiedName
+                                      :(NSString *)publicId
+                                      :(NSString *)systemId;
+
+- (id<WebDOMDocument>)createDocument: (NSString *)namespaceURI
+                              : (NSString *)qualifiedName
+                              : (id<WebDOMDocumentType>)doctype;
+
+ at end
+
+
+ at protocol WebDOMDocument <WebDOMNode>
+
+- (id<WebDOMDocumentType>)doctype;
+
+- (id<WebDOMDocument>)implementation;
+
+- (id<WebDOMDocument>)documentElement;
+
+- (id<WebDOMDocument>)createElement:(NSString *)tagName;
+
+- (id<WebDOMElement>)createElementNS:(NSString *)namespaceURI :(NSString *)qualifiedName;
+
+- (id<WebDOMDocumentFragment>)createDocumentFragment;
+
+- (id<WebDOMText>)createTextNode:(NSString *)data;
+
+- (id<WebDOMComment>)createComment:(NSString *)data;
+
+- (id<WebDOMCDATASection>)createCDATASection:(NSString *)data;
+
+- (id<WebDOMProcessingInstruction>)createProcessingInstruction:(NSString *)target :(NSString *)data;
+
+- (id<WebDOMAttr>)createAttribute:(NSString *)name;
+
+- (id<WebDOMAttr>)createAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName;
+
+- (id<WebDOMEntityReference>)createEntityReference:(NSString *)name;
+
+- (id<WebDOMElement>)getElementById:(NSString *)elementId;
+
+- (id<WebDOMEntityReference>)getElementsByTagName:(NSString *)tagname;
+
+- (id<WebDOMEntityReference>)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName;
+
+- (id<WebDOMEntityReference>)importNode:(id<WebDOMNode>)importedNode :(BOOL)deep;
+
+ at end
diff --git a/WebKit/DOM.subproj/WebDOMDocument.m b/WebKit/DOM.subproj/WebDOMDocument.m
new file mode 100644
index 0000000..de740c4
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMDocument.m
@@ -0,0 +1,8 @@
+/*	
+    WebDOMDocument.m
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+
+
+#import <WebKit/WebDOMDocument.h>
+
diff --git a/WebKit/DOM.subproj/WebDOMElement.h b/WebKit/DOM.subproj/WebDOMElement.h
new file mode 100644
index 0000000..50188bb
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMElement.h
@@ -0,0 +1,115 @@
+/*	
+    WebDOMElement.m
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+
+#import <Foundation/Foundation.h>
+
+ at protocol WebDOMElement;
+ at protocol WebDOMNode;
+ at protocol WebDOMNodeList;
+
+
+ at protocol WebDOMAttr <NSObject>
+
+- (NSString *)name;
+
+- (BOOL)specified;
+
+- (NSString *)value;
+
+- (void)setValue:(NSString *)value;
+
+- (id<WebDOMElement>)ownerElement;
+
+ at end
+
+
+ at protocol WebDOMCharacterData <NSObject>
+
+- (NSString *)data;
+
+- (void)setData: (NSString *)data;
+
+- (unsigned long)length;
+
+- (NSString *)substringData: (unsigned long)offset :(unsigned long)count;
+
+- (void)appendData:(NSString *)arg;
+
+- (void)insertData:(unsigned long)offset :(NSString *)arg;
+
+- (void)deleteData:(unsigned long)offset :(unsigned long) count;
+
+- (void)replaceData:(unsigned long)offset :(unsigned long)count :(NSString *)arg;
+ at end
+
+
+ at protocol WebDOMComment <WebDOMCharacterData>
+
+ at end
+
+
+ at protocol WebDOMText <WebDOMCharacterData>
+
+- (id<WebDOMText>)splitText: (unsigned long)offset;
+
+ at end
+
+
+ at protocol WebDOMCDATASection <WebDOMText>
+
+ at end
+
+
+ at protocol WebDOMProcessingInstruction <WebDOMNode>
+
+- (NSString *)target;
+
+- (NSString *)data;
+
+- (void)setData:(NSString *)data;
+
+ at end
+
+
+ at protocol WebDOMEntityReference <WebDOMNode>
+
+ at end
+
+
+ at protocol WebDOMElement <NSObject>
+
+- (NSString *)tagName;
+
+- (NSString *)getAttribute: (NSString *)name;
+
+- (void)setAttribute:(NSString *)name :(NSString *)value;
+
+- (void)removeAttribute:(NSString *)name;
+
+- (id<WebDOMAttr>)getAttributeNodeNamed:(NSString *)name;
+
+- (id<WebDOMAttr>)setAttributeNode:(id<WebDOMAttr>)newAttr;
+
+- (id<WebDOMAttr>)removeAttributeNode:(id<WebDOMAttr>)oldAttr;
+
+- (id<WebDOMNodeList>)getElementsByTagName:(NSString *)name;
+
+- (id<WebDOMNodeList>)getElementsByTagNameNS:(NSString *)namespaceURI :(NSString *)localName;
+
+- (NSString *)getAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
+
+- (void)setAttributeNS:(NSString *)namespaceURI :(NSString *)qualifiedName :(NSString *)value;
+
+- (void)removeAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
+
+- (id<WebDOMAttr>)getAttributeNodeNS:(NSString *)namespaceURI :(NSString *)localName;
+
+- (id<WebDOMAttr>)setAttributeNodeNS:(id<WebDOMAttr>)newAttr;
+
+- (BOOL)hasAttribute: (NSString *)name;
+
+- (BOOL)hasAttributeNS:(NSString *)namespaceURI :(NSString *)localName;
+
+ at end
diff --git a/WebKit/DOM.subproj/WebDOMElement.m b/WebKit/DOM.subproj/WebDOMElement.m
new file mode 100644
index 0000000..1dc43a4
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMElement.m
@@ -0,0 +1,7 @@
+/*	
+    WebDOMElement.h
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+#import <WebKit/WebDOMElement.h>
+
+
diff --git a/WebKit/DOM.subproj/WebDOMNamedNodeMap.h b/WebKit/DOM.subproj/WebDOMNamedNodeMap.h
new file mode 100644
index 0000000..bd433ab
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMNamedNodeMap.h
@@ -0,0 +1,38 @@
+/*	
+    WebDOMNamedNodeMap.h
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+
+#import <Foundation/Foundation.h>
+
+ at protocol WebDOMNode;
+
+
+ at protocol WebDOMNamedNodeMap <NSObject>
+
+- (unsigned long) length;
+
+- (id<WebDOMNode>)getNamedItem:(NSString *)name;
+
+- (id<WebDOMNode>)setNamedItem:(id<WebDOMNode>)arg;
+
+- (id<WebDOMNode>)removeNamedItem:(NSString *)name;
+
+- (id<WebDOMNode>)item:(unsigned long) index;
+
+- (id<WebDOMNode>)getNamedItemNS:(NSString *)namespaceURI :(NSString *)localName;
+
+- (id<WebDOMNode>)setNamedItemNS:(id<WebDOMNode>)arg;
+
+- (id<WebDOMNode>)removeNamedItemNS:(NSString *)namespaceURI :(NSString *)localName;
+
+ at end
+
+
+ at protocol WebDOMNodeList <NSObject>
+
+- (unsigned long)length;
+
+- (id<WebDOMNode>)item: (unsigned long)index;
+
+ at end
diff --git a/WebKit/DOM.subproj/WebDOMNamedNodeMap.m b/WebKit/DOM.subproj/WebDOMNamedNodeMap.m
new file mode 100644
index 0000000..0702a0c
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMNamedNodeMap.m
@@ -0,0 +1,7 @@
+/*	
+    WebDOMNamedNodeMap.m
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+
+#import <WebKit/WebDOMNamedNodeMap.h>
+
diff --git a/WebKit/DOM.subproj/WebDOMNode.h b/WebKit/DOM.subproj/WebDOMNode.h
new file mode 100644
index 0000000..3d95b3b
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMNode.h
@@ -0,0 +1,79 @@
+/*	
+    WebDOMNode.h
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+
+#import <Foundation/Foundation.h>
+
+ at protocol WebDOMDocument;
+ at protocol WebDOMNamedNodeMap;
+ at protocol WebDOMNodeList;
+
+enum WebNodeType {
+    ELEMENT_NODE = 1,
+    ATTRIBUTE_NODE = 2,
+    TEXT_NODE = 3,
+    CDATA_SECTION_NODE = 4,
+    ENTITY_REFERENCE_NODE = 5,
+    ENTITY_NODE = 6,
+    PROCESSING_INSTRUCTION_NODE = 7,
+    COMMENT_NODE = 8,
+    DOCUMENT_NODE = 9,
+    DOCUMENT_TYPE_NODE = 10,
+    DOCUMENT_FRAGMENT_NODE = 11,
+    NOTATION_NODE = 12
+};
+
+ at protocol WebDOMNode <NSObject>
+
+- (NSString *)nodeName;
+
+- (NSString *)nodeValue;
+
+- (void)setNodeValue: (NSString *)string; 
+
+- (unsigned short)nodeType;
+
+- (id<WebDOMNode>)parentNode;
+
+- (id<WebDOMNodeList>)childNodes;
+
+- (id<WebDOMNode>)firstChild;
+
+- (id<WebDOMNode>)lastChild;
+
+- (id<WebDOMNode>) previousSibling;
+
+- (id<WebDOMNode>)nextSibling;
+
+- (id<WebDOMNamedNodeMap>)attributes;
+
+- (id<WebDOMDocument>)ownerDocument;
+
+- (id<WebDOMNode>)insert:(id<WebDOMDocument>)newChild before:(id<WebDOMDocument>)refChild;
+
+- (id<WebDOMNode>)replace:(id<WebDOMDocument>)newChild child:(id<WebDOMDocument>)oldChild;
+
+- (id<WebDOMNode>)removeChild:(id<WebDOMDocument>)oldChild;
+
+- (id<WebDOMNode>)appendChild:(id<WebDOMDocument>)newChild;
+
+- (BOOL)hasChildNodes;
+
+- (id<WebDOMNode>)cloneNode: (BOOL) deep;
+
+- (void)normalize;
+
+- (BOOL)isSupported:(NSString *)feature : (NSString *)version;
+
+- (NSString *)namespaceURIt;
+
+- (NSString *)prefix;
+
+- (void)setPrefix: (NSString *)prefix;
+
+- (NSString *)localName;
+
+- (BOOL)hasAttributes;
+
+ at end
diff --git a/WebKit/DOM.subproj/WebDOMNode.m b/WebKit/DOM.subproj/WebDOMNode.m
new file mode 100644
index 0000000..03ff905
--- /dev/null
+++ b/WebKit/DOM.subproj/WebDOMNode.m
@@ -0,0 +1,8 @@
+/*	
+    WebDOMNode.m
+    Copyright 2002, Apple, Inc. All rights reserved.
+*/
+
+#import <WebKit/WebDOMNode.h>
+
+
diff --git a/WebKit/WebKit.pbproj/project.pbxproj b/WebKit/WebKit.pbproj/project.pbxproj
index f329a3c..94ef824 100644
--- a/WebKit/WebKit.pbproj/project.pbxproj
+++ b/WebKit/WebKit.pbproj/project.pbxproj
@@ -72,7 +72,6 @@
 				F58C8A07025BD3BC018635CA,
 				F531DDFF02F0C36F018635CA,
 			);
-			hasScannedForEncodings = 1;
 			isa = PBXProject;
 			knownRegions = (
 				English,
@@ -92,6 +91,7 @@
 		};
 		0867D691FE84028FC02AAC07 = {
 			children = (
+				F57D194A034E732C01A80180,
 				9C7CABBB0190A37C0ECA16EA,
 				F5B36B400281DE87018635CB,
 				F8CA15B4029A399401000122,
@@ -279,6 +279,10 @@
 				84D4BFFD0348EF9D00CA2ACA,
 				513D422F034CF55A00CA2ACD,
 				F57FB8C6034E180101A80180,
+				F57D1953034E734901A80180,
+				F57D1955034E734901A80180,
+				F57D1957034E734901A80180,
+				F57D1959034E734901A80180,
 			);
 			isa = PBXHeadersBuildPhase;
 			runOnlyForDeploymentPostprocessing = 0;
@@ -370,6 +374,10 @@
 				84D4BFFA0348EF7600CA2ACA,
 				84D4BFFE0348EF9D00CA2ACA,
 				F57FB8C7034E180101A80180,
+				F57D1954034E734901A80180,
+				F57D1956034E734901A80180,
+				F57D1958034E734901A80180,
+				F57D195A034E734901A80180,
 			);
 			isa = PBXSourcesBuildPhase;
 			runOnlyForDeploymentPostprocessing = 0;
@@ -2108,6 +2116,117 @@
 			settings = {
 			};
 		};
+		F57D194A034E732C01A80180 = {
+			children = (
+				F57D194B034E734901A80180,
+				F57D194C034E734901A80180,
+				F57D194D034E734901A80180,
+				F57D194E034E734901A80180,
+				F57D194F034E734901A80180,
+				F57D1950034E734901A80180,
+				F57D1951034E734901A80180,
+				F57D1952034E734901A80180,
+			);
+			isa = PBXGroup;
+			name = DOM;
+			refType = 4;
+		};
+		F57D194B034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMDocument.h;
+			path = DOM.subproj/WebDOMDocument.h;
+			refType = 2;
+		};
+		F57D194C034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMDocument.m;
+			path = DOM.subproj/WebDOMDocument.m;
+			refType = 2;
+		};
+		F57D194D034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMElement.h;
+			path = DOM.subproj/WebDOMElement.h;
+			refType = 2;
+		};
+		F57D194E034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMElement.m;
+			path = DOM.subproj/WebDOMElement.m;
+			refType = 2;
+		};
+		F57D194F034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMNamedNodeMap.h;
+			path = DOM.subproj/WebDOMNamedNodeMap.h;
+			refType = 2;
+		};
+		F57D1950034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMNamedNodeMap.m;
+			path = DOM.subproj/WebDOMNamedNodeMap.m;
+			refType = 2;
+		};
+		F57D1951034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMNode.h;
+			path = DOM.subproj/WebDOMNode.h;
+			refType = 2;
+		};
+		F57D1952034E734901A80180 = {
+			isa = PBXFileReference;
+			name = WebDOMNode.m;
+			path = DOM.subproj/WebDOMNode.m;
+			refType = 2;
+		};
+		F57D1953034E734901A80180 = {
+			fileRef = F57D194B034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		F57D1954034E734901A80180 = {
+			fileRef = F57D194C034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		F57D1955034E734901A80180 = {
+			fileRef = F57D194D034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		F57D1956034E734901A80180 = {
+			fileRef = F57D194E034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		F57D1957034E734901A80180 = {
+			fileRef = F57D194F034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		F57D1958034E734901A80180 = {
+			fileRef = F57D1950034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		F57D1959034E734901A80180 = {
+			fileRef = F57D1951034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
+		F57D195A034E734901A80180 = {
+			fileRef = F57D1952034E734901A80180;
+			isa = PBXBuildFile;
+			settings = {
+			};
+		};
 		F57FB8C4034E180101A80180 = {
 			fileEncoding = 4;
 			isa = PBXFileReference;
diff --git a/WebKit/WebView.subproj/WebHTMLViewPrivate.m b/WebKit/WebView.subproj/WebHTMLViewPrivate.m
index 84d23ff..b24eab4 100644
--- a/WebKit/WebView.subproj/WebHTMLViewPrivate.m
+++ b/WebKit/WebView.subproj/WebHTMLViewPrivate.m
@@ -1,9 +1,6 @@
-/*	WebHTMLViewPrivate.mm
-	Copyright 2002, Apple, Inc. All rights reserved.
-        
-        Private header file.  This file may reference classes (both ObjectiveC and C++)
-        in WebCore.  Instances of this class are referenced by _private in 
-        NSWebPageView.
+/*	
+    WebHTMLViewPrivate.m
+    Copyright 2002, Apple, Inc. All rights reserved.
 */
 
 #import <WebKit/WebHTMLViewPrivate.h>

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list