WebCore:
authorweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Aug 2006 20:36:11 +0000 (20:36 +0000)
committerweinig <weinig@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Aug 2006 20:36:11 +0000 (20:36 +0000)
        Reviewed by Tim H.

        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10640
          Auto-generate 10 more Objective-C DOM HTML bindings

          Auto-generates DOMHTMLBaseElement, DOMHTMLBodyElement, DOMHTMLHeadElement,
          DOMHTMLHtmlElement, DOMHTMLIsIndexElement, DOMHTMLLinkElement,
          DOMHTMLMetaElement, DOMHTMLStyleElement and DOMHTMLTitleElement.

          Splits DOMHTMLDocument into it's own files.

        * DerivedSources.make:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/objc/DOM.mm:
        * bindings/objc/DOMExtensions.h:
        * bindings/objc/DOMHTML.h:
        * bindings/objc/DOMHTML.mm:
        * bindings/objc/DOMHTMLDocument.h: Added.
        * bindings/objc/DOMHTMLDocument.mm: Added.
        (-[DOMHTMLDocument WebCore::]):
        (-[DOMHTMLDocument title]):
        (-[DOMHTMLDocument setTitle:]):
        (-[DOMHTMLDocument referrer]):
        (-[DOMHTMLDocument domain]):
        (-[DOMHTMLDocument URL]):
        (-[DOMHTMLDocument body]):
        (-[DOMHTMLDocument setBody:]):
        (-[DOMHTMLDocument images]):
        (-[DOMHTMLDocument applets]):
        (-[DOMHTMLDocument links]):
        (-[DOMHTMLDocument forms]):
        (-[DOMHTMLDocument anchors]):
        (-[DOMHTMLDocument cookie]):
        (-[DOMHTMLDocument setCookie:]):
        (-[DOMHTMLDocument open]):
        (-[DOMHTMLDocument close]):
        (-[DOMHTMLDocument write:]):
        (-[DOMHTMLDocument writeln:]):
        (-[DOMHTMLDocument getElementById:]):
        (-[DOMHTMLDocument getElementsByName:]):
        (-[DOMHTMLDocument createDocumentFragmentWithMarkupString:baseURL:]):
        (-[DOMHTMLDocument createDocumentFragmentWithText:]):
        * bindings/objc/DOMHTMLInternal.h:
        * bindings/scripts/CodeGeneratorObjC.pm:
        * html/HTMLDocument.idl:

WebKit:

        Reviewed by Tim H.

        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10640
          Auto-generate 10 more Objective-C DOM HTML bindings

        * WebKit.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16125 268f45cc-cd09-0410-ab3c-d52691b4dbfc

14 files changed:
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/objc/DOM.mm
WebCore/bindings/objc/DOMExtensions.h
WebCore/bindings/objc/DOMHTML.h
WebCore/bindings/objc/DOMHTML.mm
WebCore/bindings/objc/DOMHTMLDocument.h [new file with mode: 0644]
WebCore/bindings/objc/DOMHTMLDocument.mm [new file with mode: 0644]
WebCore/bindings/objc/DOMHTMLInternal.h
WebCore/bindings/scripts/CodeGeneratorObjC.pm
WebCore/html/HTMLDocument.idl
WebKit/ChangeLog
WebKit/WebKit.xcodeproj/project.pbxproj

index 1976d34d94e11c874441eb254810c03d843bd3c7..1dac166c282bae3cd046a28a9d0c15a834f76e7b 100644 (file)
@@ -1,3 +1,51 @@
+2006-08-30  Sam Weinig  <sam.weinig@gmail.com>
+
+        Reviewed by Tim H.
+
+        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10640
+          Auto-generate 10 more Objective-C DOM HTML bindings
+
+          Auto-generates DOMHTMLBaseElement, DOMHTMLBodyElement, DOMHTMLHeadElement,
+          DOMHTMLHtmlElement, DOMHTMLIsIndexElement, DOMHTMLLinkElement,
+          DOMHTMLMetaElement, DOMHTMLStyleElement and DOMHTMLTitleElement.
+
+          Splits DOMHTMLDocument into it's own files.
+
+        * DerivedSources.make:
+        * WebCore.xcodeproj/project.pbxproj:
+        * bindings/objc/DOM.mm:
+        * bindings/objc/DOMExtensions.h:
+        * bindings/objc/DOMHTML.h:
+        * bindings/objc/DOMHTML.mm:
+        * bindings/objc/DOMHTMLDocument.h: Added.
+        * bindings/objc/DOMHTMLDocument.mm: Added.
+        (-[DOMHTMLDocument WebCore::]):
+        (-[DOMHTMLDocument title]):
+        (-[DOMHTMLDocument setTitle:]):
+        (-[DOMHTMLDocument referrer]):
+        (-[DOMHTMLDocument domain]):
+        (-[DOMHTMLDocument URL]):
+        (-[DOMHTMLDocument body]):
+        (-[DOMHTMLDocument setBody:]):
+        (-[DOMHTMLDocument images]):
+        (-[DOMHTMLDocument applets]):
+        (-[DOMHTMLDocument links]):
+        (-[DOMHTMLDocument forms]):
+        (-[DOMHTMLDocument anchors]):
+        (-[DOMHTMLDocument cookie]):
+        (-[DOMHTMLDocument setCookie:]):
+        (-[DOMHTMLDocument open]):
+        (-[DOMHTMLDocument close]):
+        (-[DOMHTMLDocument write:]):
+        (-[DOMHTMLDocument writeln:]):
+        (-[DOMHTMLDocument getElementById:]):
+        (-[DOMHTMLDocument getElementsByName:]):
+        (-[DOMHTMLDocument createDocumentFragmentWithMarkupString:baseURL:]):
+        (-[DOMHTMLDocument createDocumentFragmentWithText:]):
+        * bindings/objc/DOMHTMLInternal.h:
+        * bindings/scripts/CodeGeneratorObjC.pm:
+        * html/HTMLDocument.idl:
+
 2006-08-30  Nikolas Zimmermann  <zimmermann@kde.org>
 
         Reviewed by eseidel.
index 4021cf0b81c0bd1dbc04c37db6512386e1143fe5..faf102f499d47bc5692a8a6048aef75a75db61ab 100644 (file)
@@ -62,10 +62,19 @@ all : \
     DOMNotation.h \
     DOMProcessingInstruction.h \
     DOMText.h \
+    DOMHTMLBaseElement.h \
+    DOMHTMLBodyElement.h \
     DOMHTMLCollection.h \
     DOMHTMLElement.h \
     DOMHTMLFormElement.h \
+    DOMHTMLHeadElement.h \
+    DOMHTMLHtmlElement.h \
+    DOMHTMLIsIndexElement.h \
+    DOMHTMLLinkElement.h \
+    DOMHTMLMetaElement.h \
     DOMHTMLOptionsCollection.h \
+    DOMHTMLStyleElement.h \
+    DOMHTMLTitleElement.h \
     HTMLEntityNames.c \
     JSAttr.h \
     JSCSSPrimitiveValue.h \
index a2866bad4399c0924d670b68b80df41f58b6815b..1a1f9ac8390ad3508d6b6df818db2f407d6f3d8b 100644 (file)
                856C89FD0A90F068005C687B /* DOMNode.mm in Sources */ = {isa = PBXBuildFile; fileRef = 856C89FB0A90F068005C687B /* DOMNode.mm */; };
                856C8AE40A912649005C687B /* DOMObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 856C8AE20A912649005C687B /* DOMObject.h */; settings = {ATTRIBUTES = (Private, ); }; };
                856C8AE50A912649005C687B /* DOMObject.mm in Sources */ = {isa = PBXBuildFile; fileRef = 856C8AE30A912649005C687B /* DOMObject.mm */; };
+               8575DF7E0AA6127E00F5DBB5 /* DOMHTMLStyleElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */; };
+               8575DF800AA612D600F5DBB5 /* DOMHTMLBaseElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */; };
+               8575DF810AA612D600F5DBB5 /* DOMHTMLBodyElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */; };
+               8575DF820AA612D600F5DBB5 /* DOMHTMLIsIndexElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 859A9C410AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h */; };
+               8575DF830AA612D600F5DBB5 /* DOMHTMLMetaElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */; };
+               8575DF840AA6130E00F5DBB5 /* DOMHTMLHeadElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85992EB20AA5069500AC0785 /* DOMHTMLHeadElement.h */; };
+               8575DF850AA6130E00F5DBB5 /* DOMHTMLHtmlElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85992EB40AA5069500AC0785 /* DOMHTMLHtmlElement.h */; };
+               8575DF860AA6130E00F5DBB5 /* DOMHTMLLinkElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */; };
+               8575DF870AA6130E00F5DBB5 /* DOMHTMLTitleElement.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */; };
+               85992EBA0AA5069500AC0785 /* DOMHTMLHeadElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85992EB20AA5069500AC0785 /* DOMHTMLHeadElement.h */; settings = {ATTRIBUTES = (); }; };
+               85992EBB0AA5069500AC0785 /* DOMHTMLHeadElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85992EB30AA5069500AC0785 /* DOMHTMLHeadElement.mm */; };
+               85992EBC0AA5069500AC0785 /* DOMHTMLHtmlElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85992EB40AA5069500AC0785 /* DOMHTMLHtmlElement.h */; settings = {ATTRIBUTES = (); }; };
+               85992EBD0AA5069500AC0785 /* DOMHTMLHtmlElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85992EB50AA5069500AC0785 /* DOMHTMLHtmlElement.mm */; };
+               85992EBE0AA5069500AC0785 /* DOMHTMLLinkElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */; settings = {ATTRIBUTES = (); }; };
+               85992EBF0AA5069500AC0785 /* DOMHTMLLinkElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85992EB70AA5069500AC0785 /* DOMHTMLLinkElement.mm */; };
+               85992EC00AA5069500AC0785 /* DOMHTMLTitleElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */; settings = {ATTRIBUTES = (); }; };
+               85992EC10AA5069500AC0785 /* DOMHTMLTitleElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */; };
+               85992FC00AA5DD4000AC0785 /* DOMHTMLDocument.h in Headers */ = {isa = PBXBuildFile; fileRef = 85992FBE0AA5DD4000AC0785 /* DOMHTMLDocument.h */; settings = {ATTRIBUTES = (Private, ); }; };
+               85992FC10AA5DD4000AC0785 /* DOMHTMLDocument.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85992FBF0AA5DD4000AC0785 /* DOMHTMLDocument.mm */; };
+               859A9C470AA5E3BD00B694B2 /* DOMHTMLBaseElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */; };
+               859A9C480AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 859A9C3E0AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm */; };
+               859A9C490AA5E3BD00B694B2 /* DOMHTMLBodyElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */; };
+               859A9C4A0AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 859A9C400AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm */; };
+               859A9C4B0AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 859A9C410AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h */; };
+               859A9C4C0AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 859A9C420AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm */; };
+               859A9C4D0AA5E3BD00B694B2 /* DOMHTMLMetaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */; };
+               859A9C4E0AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */; };
+               859A9C4F0AA5E3BD00B694B2 /* DOMHTMLStyleElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */; };
+               859A9C500AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm in Sources */ = {isa = PBXBuildFile; fileRef = 859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */; };
                85ACA9860A9B520300671E90 /* DOMCharacterData.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ACA9840A9B520300671E90 /* DOMCharacterData.h */; settings = {ATTRIBUTES = (); }; };
                85ACA9870A9B520300671E90 /* DOMCharacterData.mm in Sources */ = {isa = PBXBuildFile; fileRef = 85ACA9850A9B520300671E90 /* DOMCharacterData.mm */; };
                85ACA99C0A9B575900671E90 /* DOMText.h in Headers */ = {isa = PBXBuildFile; fileRef = 85ACA99A0A9B575900671E90 /* DOMText.h */; settings = {ATTRIBUTES = (); }; };
                                1C11CCB50AA6093700DADB20 /* DOMNotation.h in CopyFiles */,
                                1C11CCB60AA6093700DADB20 /* DOMComment.h in CopyFiles */,
                                1C11CCB70AA6093700DADB20 /* DOMNamedNodeMap.h in CopyFiles */,
-                               1C11CCB80AA6093700DADB20 /* DOMHTMLOptionsCollection.h in CopyFiles */,
                                1C11CCB90AA6093700DADB20 /* DOMEntityReference.h in CopyFiles */,
-                               1C11CCBA0AA6093700DADB20 /* DOMHTMLCollection.h in CopyFiles */,
-                               1C11CCBB0AA6093700DADB20 /* DOMHTMLFormElement.h in CopyFiles */,
                                1C11CCBC0AA6093700DADB20 /* DOMAttr.h in CopyFiles */,
                                1C11CCBD0AA6093700DADB20 /* DOMDocument.h in CopyFiles */,
                                1C11CCBE0AA6093700DADB20 /* DOMNodeList.h in CopyFiles */,
                                1C11CCC60AA6093700DADB20 /* DOMDocumentFragment.h in CopyFiles */,
                                1C11CCC70AA6093700DADB20 /* DOMCDATASection.h in CopyFiles */,
                                1C11CCC80AA6093700DADB20 /* DOMHTMLElement.h in CopyFiles */,
+                               1C11CCBA0AA6093700DADB20 /* DOMHTMLCollection.h in CopyFiles */,
+                               1C11CCBB0AA6093700DADB20 /* DOMHTMLFormElement.h in CopyFiles */,
+                               1C11CCB80AA6093700DADB20 /* DOMHTMLOptionsCollection.h in CopyFiles */,
+                               8575DF800AA612D600F5DBB5 /* DOMHTMLBaseElement.h in CopyFiles */,
+                               8575DF810AA612D600F5DBB5 /* DOMHTMLBodyElement.h in CopyFiles */,
+                               8575DF820AA612D600F5DBB5 /* DOMHTMLIsIndexElement.h in CopyFiles */,
+                               8575DF840AA6130E00F5DBB5 /* DOMHTMLHeadElement.h in CopyFiles */,
+                               8575DF850AA6130E00F5DBB5 /* DOMHTMLHtmlElement.h in CopyFiles */,
+                               8575DF860AA6130E00F5DBB5 /* DOMHTMLLinkElement.h in CopyFiles */,
+                               8575DF870AA6130E00F5DBB5 /* DOMHTMLTitleElement.h in CopyFiles */,
+                               8575DF830AA612D600F5DBB5 /* DOMHTMLMetaElement.h in CopyFiles */,
+                               8575DF7E0AA6127E00F5DBB5 /* DOMHTMLStyleElement.h in CopyFiles */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                856C89FB0A90F068005C687B /* DOMNode.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMNode.mm; sourceTree = "<group>"; };
                856C8AE20A912649005C687B /* DOMObject.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMObject.h; sourceTree = "<group>"; };
                856C8AE30A912649005C687B /* DOMObject.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMObject.mm; sourceTree = "<group>"; };
+               85992EB20AA5069500AC0785 /* DOMHTMLHeadElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLHeadElement.h; sourceTree = "<group>"; };
+               85992EB30AA5069500AC0785 /* DOMHTMLHeadElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLHeadElement.mm; sourceTree = "<group>"; };
+               85992EB40AA5069500AC0785 /* DOMHTMLHtmlElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLHtmlElement.h; sourceTree = "<group>"; };
+               85992EB50AA5069500AC0785 /* DOMHTMLHtmlElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLHtmlElement.mm; sourceTree = "<group>"; };
+               85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLLinkElement.h; sourceTree = "<group>"; };
+               85992EB70AA5069500AC0785 /* DOMHTMLLinkElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLLinkElement.mm; sourceTree = "<group>"; };
+               85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLTitleElement.h; sourceTree = "<group>"; };
+               85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLTitleElement.mm; sourceTree = "<group>"; };
+               85992FBE0AA5DD4000AC0785 /* DOMHTMLDocument.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLDocument.h; sourceTree = "<group>"; };
+               85992FBF0AA5DD4000AC0785 /* DOMHTMLDocument.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLDocument.mm; sourceTree = "<group>"; };
+               859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLBaseElement.h; sourceTree = "<group>"; };
+               859A9C3E0AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLBaseElement.mm; sourceTree = "<group>"; };
+               859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLBodyElement.h; sourceTree = "<group>"; };
+               859A9C400AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLBodyElement.mm; sourceTree = "<group>"; };
+               859A9C410AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLIsIndexElement.h; sourceTree = "<group>"; };
+               859A9C420AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLIsIndexElement.mm; sourceTree = "<group>"; };
+               859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLMetaElement.h; sourceTree = "<group>"; };
+               859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLMetaElement.mm; sourceTree = "<group>"; };
+               859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMHTMLStyleElement.h; sourceTree = "<group>"; };
+               859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMHTMLStyleElement.mm; sourceTree = "<group>"; };
                859B7FB90A8D288800A5F1EA /* CodeGeneratorObjC.pm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.script.perl; name = CodeGeneratorObjC.pm; path = bindings/scripts/CodeGeneratorObjC.pm; sourceTree = SOURCE_ROOT; };
                85ACA9840A9B520300671E90 /* DOMCharacterData.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = DOMCharacterData.h; sourceTree = "<group>"; };
                85ACA9850A9B520300671E90 /* DOMCharacterData.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = DOMCharacterData.mm; sourceTree = "<group>"; };
                        name = Core;
                        sourceTree = "<group>";
                };
+               85992FC20AA5DD4600AC0785 /* HTML */ = {
+                       isa = PBXGroup;
+                       children = (
+                               85992FBE0AA5DD4000AC0785 /* DOMHTMLDocument.h */,
+                               85992FBF0AA5DD4000AC0785 /* DOMHTMLDocument.mm */,
+                       );
+                       name = HTML;
+                       sourceTree = "<group>";
+               };
                85B232260A8BF3A100FDF47B /* Derived Sources */ = {
                        isa = PBXGroup;
                        children = (
                                85DF2EEC0AA387CB00AD64C5 /* DOMHTMLElement.mm */,
                                85DF2C100AA341F600AD64C5 /* DOMHTMLFormElement.h */,
                                85DF2C110AA341F600AD64C5 /* DOMHTMLFormElement.mm */,
+                               85992EB20AA5069500AC0785 /* DOMHTMLHeadElement.h */,
+                               85992EB30AA5069500AC0785 /* DOMHTMLHeadElement.mm */,
+                               85992EB40AA5069500AC0785 /* DOMHTMLHtmlElement.h */,
+                               85992EB50AA5069500AC0785 /* DOMHTMLHtmlElement.mm */,
+                               85992EB60AA5069500AC0785 /* DOMHTMLLinkElement.h */,
+                               85992EB70AA5069500AC0785 /* DOMHTMLLinkElement.mm */,
                                85DF2F990AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h */,
                                85DF2F9A0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm */,
+                               85992EB80AA5069500AC0785 /* DOMHTMLTitleElement.h */,
+                               85992EB90AA5069500AC0785 /* DOMHTMLTitleElement.mm */,
+                               859A9C3D0AA5E3BD00B694B2 /* DOMHTMLBaseElement.h */,
+                               859A9C3E0AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm */,
+                               859A9C3F0AA5E3BD00B694B2 /* DOMHTMLBodyElement.h */,
+                               859A9C400AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm */,
+                               859A9C410AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h */,
+                               859A9C420AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm */,
+                               859A9C430AA5E3BD00B694B2 /* DOMHTMLMetaElement.h */,
+                               859A9C440AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm */,
+                               859A9C450AA5E3BD00B694B2 /* DOMHTMLStyleElement.h */,
+                               859A9C460AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm */,
                        );
                        name = "Derived Sources";
                        path = DerivedSources/WebCore;
                        children = (
                                85B232260A8BF3A100FDF47B /* Derived Sources */,
                                854F12AC0A8EBC18000940B5 /* Core */,
+                               85992FC20AA5DD4600AC0785 /* HTML */,
                                859B7FB90A8D288800A5F1EA /* CodeGeneratorObjC.pm */,
                                BC1A3797097C715F0019F3D8 /* DOM.h */,
                                BC1A3798097C715F0019F3D8 /* DOM.mm */,
                        isa = PBXHeadersBuildPhase;
                        buildActionMask = 2147483647;
                        files = (
-                               93F198E508245E59001E9ABC /* HTMLDocument.h in Headers */,
                                93F198E608245E59001E9ABC /* HTMLElement.h in Headers */,
+                               93F198E508245E59001E9ABC /* HTMLDocument.h in Headers */,
                                93F198EF08245E59001E9ABC /* HTMLParser.h in Headers */,
                                93F198F008245E59001E9ABC /* HTMLTokenizer.h in Headers */,
                                93F198F608245E59001E9ABC /* Decoder.h in Headers */,
                                85DF2EED0AA387CB00AD64C5 /* DOMHTMLElement.h in Headers */,
                                85DF2F8E0AA3C88100AD64C5 /* DOMHTMLCollection.h in Headers */,
                                85DF2F9B0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.h in Headers */,
+                               85992EBA0AA5069500AC0785 /* DOMHTMLHeadElement.h in Headers */,
+                               85992EBC0AA5069500AC0785 /* DOMHTMLHtmlElement.h in Headers */,
+                               85992EBE0AA5069500AC0785 /* DOMHTMLLinkElement.h in Headers */,
+                               85992EC00AA5069500AC0785 /* DOMHTMLTitleElement.h in Headers */,
+                               85992FC00AA5DD4000AC0785 /* DOMHTMLDocument.h in Headers */,
+                               859A9C470AA5E3BD00B694B2 /* DOMHTMLBaseElement.h in Headers */,
+                               859A9C490AA5E3BD00B694B2 /* DOMHTMLBodyElement.h in Headers */,
+                               859A9C4B0AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.h in Headers */,
+                               859A9C4D0AA5E3BD00B694B2 /* DOMHTMLMetaElement.h in Headers */,
+                               859A9C4F0AA5E3BD00B694B2 /* DOMHTMLStyleElement.h in Headers */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                0867D690FE84028FC02AAC07 /* Project object */ = {
                        isa = PBXProject;
                        buildConfigurationList = 149C284308902B11008A9EFC /* Build configuration list for PBXProject "WebCore" */;
-                       compatibilityVersion = "Xcode 2.4";
                        hasScannedForEncodings = 1;
                        knownRegions = (
                                English,
                        productRefGroup = 034768DFFF38A50411DB9C8B /* Products */;
                        projectDirPath = "";
                        projectRoot = "";
-                       shouldCheckCompatibility = 1;
                        targets = (
                                93F198A508245E59001E9ABC /* WebCore */,
                                DD041FBE09D9DDBE0010AF2A /* Derived Sources */,
                                85DF2F9C0AA3CAE500AD64C5 /* DOMHTMLOptionsCollection.mm in Sources */,
                                1AE42F6A0AA4B8CB00C8612D /* StringCF.cpp in Sources */,
                                1AE42F6B0AA4B8CB00C8612D /* StringImplCF.cpp in Sources */,
+                               85992EBB0AA5069500AC0785 /* DOMHTMLHeadElement.mm in Sources */,
+                               85992EBD0AA5069500AC0785 /* DOMHTMLHtmlElement.mm in Sources */,
+                               85992EBF0AA5069500AC0785 /* DOMHTMLLinkElement.mm in Sources */,
+                               85992EC10AA5069500AC0785 /* DOMHTMLTitleElement.mm in Sources */,
+                               85992FC10AA5DD4000AC0785 /* DOMHTMLDocument.mm in Sources */,
+                               859A9C480AA5E3BD00B694B2 /* DOMHTMLBaseElement.mm in Sources */,
+                               859A9C4A0AA5E3BD00B694B2 /* DOMHTMLBodyElement.mm in Sources */,
+                               859A9C4C0AA5E3BD00B694B2 /* DOMHTMLIsIndexElement.mm in Sources */,
+                               859A9C4E0AA5E3BD00B694B2 /* DOMHTMLMetaElement.mm in Sources */,
+                               859A9C500AA5E3BD00B694B2 /* DOMHTMLStyleElement.mm in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
index 061685100675f0d50f73aa532228fa6c75a932a1..2c8cd0cae9eb20bd308844f62238263a943bf952 100644 (file)
 #import "DOMProcessingInstruction.h"
 #import "DOMText.h"
 
+// From old DOMHTML.h
+#import "DOMHTMLDocument.h"
+
 // Generated Objective-C Bindings
+#import "DOMHTMLBaseElement.h"
+#import "DOMHTMLBodyElement.h"
 #import "DOMHTMLCollection.h"
 #import "DOMHTMLElement.h"
 #import "DOMHTMLFormElement.h"
+#import "DOMHTMLHeadElement.h"
+#import "DOMHTMLHtmlElement.h"
+#import "DOMHTMLIsIndexElement.h"
+#import "DOMHTMLLinkElement.h"
+#import "DOMHTMLMetaElement.h"
 #import "DOMHTMLOptionsCollection.h"
+#import "DOMHTMLStyleElement.h"
+#import "DOMHTMLTitleElement.h"
 
 #import <objc/objc-class.h>
 
index 2a47144ba7f64d3116f51c1ac487f9ef953ed0e4..b876240857acfd00c53b405e172f76121901ef2e 100644 (file)
@@ -34,6 +34,8 @@
 #import <WebCore/DOMRange.h>
 
 #import <WebCore/DOMHTMLElement.h>
+#import <WebCore/DOMHTMLDocument.h>
+#import <WebCore/DOMHTMLLinkElement.h>
 
 @class NSColor;
 @class NSImage;
 - (NSImage *)image;
 @end
 
-@interface DOMHTMLDocument (DOMHTMLDocumentExtensions)
-- (DOMDocumentFragment *)createDocumentFragmentWithMarkupString:(NSString *)markupString baseURL:(NSURL *)baseURL;
-- (DOMDocumentFragment *)createDocumentFragmentWithText:(NSString *)text;
-@end
-
 @interface DOMHTMLInputElement (DOMHTMLInputElementExtensions)
 - (NSString *)altDisplayString;
 - (NSURL *)absoluteImageURL;
index dd121c506a1223d4859c079a3ae69e7e9947d10a..9eefd14303e4b559650df35ac71b203754cc3188 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
 
 #import <WebCore/DOMCore.h>
 
+#import <WebCore/DOMHTMLBaseElement.h>
+#import <WebCore/DOMHTMLBodyElement.h>
 #import <WebCore/DOMHTMLCollection.h>
+#import <WebCore/DOMHTMLDocument.h>
 #import <WebCore/DOMHTMLElement.h>
 #import <WebCore/DOMHTMLFormElement.h>
+#import <WebCore/DOMHTMLHeadElement.h>
+#import <WebCore/DOMHTMLHtmlElement.h>
+#import <WebCore/DOMHTMLIsIndexElement.h>
+#import <WebCore/DOMHTMLLinkElement.h>
+#import <WebCore/DOMHTMLMetaElement.h>
 #import <WebCore/DOMHTMLOptionsCollection.h>
+#import <WebCore/DOMHTMLStyleElement.h>
+#import <WebCore/DOMHTMLTitleElement.h>
 
 @class DOMHTMLTableCaptionElement;
 @class DOMHTMLTableSectionElement;
 
-@interface DOMHTMLDocument : DOMDocument
-- (NSString *)title;
-- (void)setTitle:(NSString *)title;
-- (NSString *)referrer;
-- (NSString *)domain;
-- (NSString *)URL;
-- (DOMHTMLElement *)body;
-- (void)setBody:(DOMHTMLElement *)body;
-- (DOMHTMLCollection *)images;
-- (DOMHTMLCollection *)applets;
-- (DOMHTMLCollection *)links;
-- (DOMHTMLCollection *)forms;
-- (DOMHTMLCollection *)anchors;
-- (NSString *)cookie;
-- (void)setCookie:(NSString *)cookie;
-- (void)open;
-- (void)close;
-- (void)write:(NSString *)text;
-- (void)writeln:(NSString *)text;
-- (DOMElement *)getElementById:(NSString *)elementId;
-- (DOMNodeList *)getElementsByName:(NSString *)elementName;
-@end
-
-@interface DOMHTMLHtmlElement : DOMHTMLElement
-- (NSString *)version;
-- (void)setVersion:(NSString *)version;
-@end
-
-@interface DOMHTMLHeadElement : DOMHTMLElement
-- (NSString *)profile;
-- (void)setProfile:(NSString *)profile;
-@end
-
-@interface DOMHTMLLinkElement : DOMHTMLElement
-- (BOOL)disabled;
-- (void)setDisabled:(BOOL)disabled;
-- (NSString *)charset;
-- (void)setCharset:(NSString *)charset;
-- (NSString *)href;
-- (void)setHref:(NSString *)href;
-- (NSString *)hreflang;
-- (void)setHreflang:(NSString *)hreflang;
-- (NSString *)media;
-- (void)setMedia:(NSString *)media;
-- (NSString *)rel;
-- (void)setRel:(NSString *)rel;
-- (NSString *)rev;
-- (void)setRev:(NSString *)rev;
-- (NSString *)target;
-- (void)setTarget:(NSString *)target;
-- (NSString *)type;
-- (void)setType:(NSString *)type;
-@end
-
-@interface DOMHTMLTitleElement : DOMHTMLElement
-- (NSString *)text;
-- (void)setText:(NSString *)text;
-@end
-
-@interface DOMHTMLMetaElement : DOMHTMLElement
-- (NSString *)content;
-- (void)setContent:(NSString *)content;
-- (NSString *)httpEquiv;
-- (void)setHttpEquiv:(NSString *)httpEquiv;
-- (NSString *)name;
-- (void)setName:(NSString *)name;
-- (NSString *)scheme;
-- (void)setScheme:(NSString *)scheme;
-@end
-
-@interface DOMHTMLBaseElement : DOMHTMLElement
-- (NSString *)href;
-- (void)setHref:(NSString *)href;
-- (NSString *)target;
-- (void)setTarget:(NSString *)target;
-@end
-
-@interface DOMHTMLIsIndexElement : DOMHTMLElement
-- (DOMHTMLFormElement *)form;
-- (NSString *)prompt;
-- (void)setPrompt:(NSString *)prompt;
-@end
-
-@interface DOMHTMLStyleElement : DOMHTMLElement
-- (BOOL)disabled;
-- (void)setDisabled:(BOOL)disabled;
-- (NSString *)media;
-- (void)setMedia:(NSString *)media;
-- (NSString *)type;
-- (void)setType:(NSString *)type;
-@end
-
-@interface DOMHTMLBodyElement : DOMHTMLElement
-- (NSString *)aLink;
-- (void)setALink:(NSString *)aLink;
-- (NSString *)background;
-- (void)setBackground:(NSString *)background;
-- (NSString *)bgColor;
-- (void)setBgColor:(NSString *)bgColor;
-- (NSString *)link;
-- (void)setLink:(NSString *)link;
-- (NSString *)text;
-- (void)setText:(NSString *)text;
-- (NSString *)vLink;
-- (void)setVLink:(NSString *)vLink;
-@end
-
 @interface DOMHTMLSelectElement : DOMHTMLElement
 - (NSString *)type;
 - (int)selectedIndex;
index b58c83982489cdeb9e3974de0ec9a85989877412..612bf8e600eaac8d9d4eb8029e70fbb251cda357 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -184,135 +185,6 @@ using namespace HTMLNames;
 //------------------------------------------------------------------------------------------
 // DOMHTMLDocument
 
-@implementation DOMHTMLDocument
-
-- (HTMLDocument *)_HTMLDocument
-{
-    return static_cast<HTMLDocument*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)title
-{
-    return [self _HTMLDocument]->title();
-}
-
-- (void)setTitle:(NSString *)title
-{
-    [self _HTMLDocument]->setTitle(title);
-}
-
-- (NSString *)referrer
-{
-     return [self _HTMLDocument]->referrer();
-}
-
-- (NSString *)domain
-{
-     return [self _HTMLDocument]->domain();
-}
-
-- (NSString *)URL
-{
-    return [self _HTMLDocument]->URL().getNSString();
-}
-
-- (DOMHTMLElement *)body
-{
-    return [DOMHTMLElement _elementWith:[self _HTMLDocument]->body()];
-}
-
-- (DOMHTMLCollection *)images
-{
-    HTMLCollection *collection = new HTMLCollection([self _HTMLDocument], HTMLCollection::DocImages);
-    return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (DOMHTMLCollection *)applets
-{
-    HTMLCollection *collection = new HTMLCollection([self _HTMLDocument], HTMLCollection::DocApplets);
-    return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (DOMHTMLCollection *)links
-{
-    HTMLCollection *collection = new HTMLCollection([self _HTMLDocument], HTMLCollection::DocLinks);
-    return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (DOMHTMLCollection *)forms
-{
-    HTMLCollection *collection = new HTMLCollection([self _HTMLDocument], HTMLCollection::DocForms);
-    return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (DOMHTMLCollection *)anchors
-{
-    HTMLCollection *collection = new HTMLCollection([self _HTMLDocument], HTMLCollection::DocAnchors);
-    return [DOMHTMLCollection _collectionWith:collection];
-}
-
-- (void)setBody:(DOMHTMLElement *)body
-{
-    ExceptionCode ec = 0;
-    [self _HTMLDocument]->setBody([body _HTMLElement], ec);
-    raiseOnDOMError(ec);
-}
-
-- (NSString *)cookie
-{
-    return [self _HTMLDocument]->cookie();
-}
-
-- (void)setCookie:(NSString *)cookie
-{
-    [self _HTMLDocument]->setCookie(cookie);
-}
-
-- (void)open
-{
-    [self _HTMLDocument]->open();
-}
-
-- (void)close
-{
-    [self _HTMLDocument]->close();
-}
-
-- (void)write:(NSString *)text
-{
-    [self _HTMLDocument]->write(text);
-}
-
-- (void)writeln:(NSString *)text
-{
-    [self _HTMLDocument]->writeln(text);
-}
-
-- (DOMElement *)getElementById:(NSString *)elementId
-{
-    return [DOMElement _elementWith:[self _HTMLDocument]->getElementById(elementId)];
-}
-
-- (DOMNodeList *)getElementsByName:(NSString *)elementName
-{
-    NameNodeList *nodeList = new NameNodeList([self _HTMLDocument], elementName);
-    return [DOMNodeList _nodeListWith:nodeList];
-}
-
-- (DOMDocumentFragment *)createDocumentFragmentWithMarkupString:(NSString *)markupString baseURL:(NSURL *)baseURL
-{
-    RefPtr<DocumentFragment> fragment = createFragmentFromMarkup([self _document], markupString, [baseURL absoluteString]);
-    return [DOMDocumentFragment _documentFragmentWith:fragment.get()];
-}
-
-- (DOMDocumentFragment *)createDocumentFragmentWithText:(NSString *)text
-{
-    // FIXME: Since this is not a contextual fragment, it won't handle whitespace properly.
-    return [DOMDocumentFragment _documentFragmentWith:createFragmentFromText([self _document]->createRange().get(), text).get()];
-}
-
-@end
-
 @implementation DOMHTMLDocument (WebPrivate)
 
 - (DOMDocumentFragment *)_createDocumentFragmentWithMarkupString:(NSString *)markupString baseURLString:(NSString *)baseURLString
@@ -337,351 +209,17 @@ using namespace HTMLNames;
 
 @end
 
-@implementation DOMHTMLHtmlElement
 
-- (HTMLHtmlElement *)_HTMLHtmlElement
-{
-    return static_cast<HTMLHtmlElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)version
-{
-    return [self _HTMLHtmlElement]->version();
-}
-
-- (void)setVersion:(NSString *)version
-{
-    [self _HTMLHtmlElement]->setVersion(version);
-}
-
-@end
-
-@implementation DOMHTMLHeadElement
-
-- (HTMLHeadElement *)_headElement
-{
-    return static_cast<HTMLHeadElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)profile
-{
-    return [self _headElement]->profile();
-}
-
-- (void)setProfile:(NSString *)profile
-{
-    [self _headElement]->setProfile(profile);
-}
-
-@end
-
-@implementation DOMHTMLLinkElement
-
-- (HTMLLinkElement *)_linkElement
-{
-    return static_cast<HTMLLinkElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (BOOL)disabled
-{
-    return [self _linkElement]->disabled();
-}
-
-- (void)setDisabled:(BOOL)disabled
-{
-    [self _linkElement]->setDisabled(disabled);
-}
-
-- (NSString *)charset
-{
-    return [self _linkElement]->charset();
-}
+//------------------------------------------------------------------------------------------
+// DOMHTMLLinkElement
 
-- (void)setCharset:(NSString *)charset
-{
-    [self _linkElement]->setCharset(charset);
-}
+@implementation DOMHTMLLinkElement (DOMHTMLLinkElementExtensions)
 
 - (NSURL *)absoluteLinkURL
 {
     return [self _getURLAttribute:@"href"];
 }
 
-- (NSString *)href
-{
-    return [self _linkElement]->href();
-}
-
-- (void)setHref:(NSString *)href
-{
-    [self _linkElement]->href();
-}
-
-- (NSString *)hreflang
-{
-    return [self _linkElement]->hreflang();
-}
-
-- (void)setHreflang:(NSString *)hreflang
-{
-    [self _linkElement]->setHreflang(hreflang);
-}
-
-- (NSString *)media
-{
-    return [self _linkElement]->getAttribute(mediaAttr);
-}
-
-- (void)setMedia:(NSString *)media
-{
-    [self _linkElement]->setAttribute(mediaAttr, media);
-}
-
-- (NSString *)rel
-{
-    return [self _linkElement]->getAttribute(relAttr);
-}
-
-- (void)setRel:(NSString *)rel
-{
-    [self _linkElement]->setAttribute(relAttr, rel);
-}
-
-- (NSString *)rev
-{
-    return [self _linkElement]->getAttribute(revAttr);
-}
-
-- (void)setRev:(NSString *)rev
-{
-    [self _linkElement]->setAttribute(revAttr, rev);
-}
-
-- (NSString *)target
-{
-    return [self _linkElement]->getAttribute(targetAttr);
-}
-
-- (void)setTarget:(NSString *)target
-{
-    [self _linkElement]->setAttribute(targetAttr, target);
-}
-
-- (NSString *)type
-{
-    return [self _linkElement]->getAttribute(typeAttr);
-}
-
-- (void)setType:(NSString *)type
-{
-    [self _linkElement]->setAttribute(typeAttr, type);
-}
-
-@end
-
-@implementation DOMHTMLTitleElement
-
-- (HTMLTitleElement *)_titleElement
-{
-    return static_cast<HTMLTitleElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)text
-{
-    return [self _titleElement]->getAttribute(textAttr);
-}
-
-- (void)setText:(NSString *)text
-{
-    [self _titleElement]->setAttribute(textAttr, text);
-}
-
-@end
-
-@implementation DOMHTMLMetaElement
-
-- (HTMLMetaElement *)_metaElement
-{
-    return static_cast<HTMLMetaElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)content
-{
-    return [self _metaElement]->getAttribute(contentAttr);
-}
-
-- (void)setContent:(NSString *)content
-{
-    [self _metaElement]->setAttribute(contentAttr, content);
-}
-
-- (NSString *)httpEquiv
-{
-    return [self _metaElement]->getAttribute(http_equivAttr);
-}
-
-- (void)setHttpEquiv:(NSString *)httpEquiv
-{
-    [self _metaElement]->setAttribute(http_equivAttr, httpEquiv);
-}
-
-- (NSString *)name
-{
-    return [self _metaElement]->getAttribute(nameAttr);
-}
-
-- (void)setName:(NSString *)name
-{
-    [self _metaElement]->setAttribute(nameAttr, name);
-}
-
-- (NSString *)scheme
-{
-    return [self _metaElement]->getAttribute(schemeAttr);
-}
-
-- (void)setScheme:(NSString *)scheme
-{
-    [self _metaElement]->setAttribute(schemeAttr, scheme);
-}
-
-@end
-
-@implementation DOMHTMLBaseElement
-
-- (HTMLBaseElement *)_baseElement
-{
-    return static_cast<HTMLBaseElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)href
-{
-    return [self _baseElement]->href();
-}
-
-- (void)setHref:(NSString *)href
-{
-    [self _baseElement]->setAttribute(hrefAttr, href);
-}
-
-- (NSString *)target
-{
-    return [self _baseElement]->getAttribute(targetAttr);
-}
-
-- (void)setTarget:(NSString *)target
-{
-    [self _baseElement]->setAttribute(schemeAttr, target);
-}
-
-@end
-
-@implementation DOMHTMLStyleElement
-
-- (HTMLStyleElement *)_styleElement
-{
-    return static_cast<HTMLStyleElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (BOOL)disabled
-{
-    return ![self _styleElement]->getAttribute(disabledAttr).isNull();
-}
-
-- (void)setDisabled:(BOOL)disabled
-{
-    [self _styleElement]->setAttribute(disabledAttr, disabled ? "" : 0);
-}
-
-- (NSString *)media
-{
-    return [self _styleElement]->getAttribute(mediaAttr);
-}
-
-- (void)setMedia:(NSString *)media
-{
-    [self _styleElement]->setAttribute(mediaAttr, media);
-}
-
-- (NSString *)type
-{
-    return [self _styleElement]->getAttribute(typeAttr);
-}
-
-- (void)setType:(NSString *)type
-{
-    [self _styleElement]->setAttribute(typeAttr, type);
-}
-
-@end
-
-@implementation DOMHTMLBodyElement
-
-- (HTMLBodyElement *)_bodyElement
-{
-    return static_cast<HTMLBodyElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (NSString *)aLink
-{
-    return [self _bodyElement]->getAttribute(alinkAttr);
-}
-
-- (void)setALink:(NSString *)aLink
-{
-    [self _bodyElement]->setAttribute(alinkAttr, aLink);
-}
-
-- (NSString *)background
-{
-    return [self _bodyElement]->getAttribute(backgroundAttr);
-}
-
-- (void)setBackground:(NSString *)background
-{
-    [self _bodyElement]->setAttribute(backgroundAttr, background);
-}
-
-- (NSString *)bgColor
-{
-    return [self _bodyElement]->getAttribute(bgcolorAttr);
-}
-
-- (void)setBgColor:(NSString *)bgColor
-{
-    [self _bodyElement]->setAttribute(bgcolorAttr, bgColor);
-}
-
-- (NSString *)link
-{
-    return [self _bodyElement]->getAttribute(linkAttr);
-}
-
-- (void)setLink:(NSString *)link
-{
-    [self _bodyElement]->setAttribute(linkAttr, link);
-}
-
-- (NSString *)text
-{
-    return [self _bodyElement]->getAttribute(textAttr);
-}
-
-- (void)setText:(NSString *)text
-{
-    [self _bodyElement]->setAttribute(textAttr, text);
-}
-
-- (NSString *)vLink
-{
-    return [self _bodyElement]->getAttribute(vlinkAttr);
-}
-
-- (void)setVLink:(NSString *)vLink
-{
-    [self _bodyElement]->setAttribute(vlinkAttr, vLink);
-}
-
 @end
 
 
@@ -699,31 +237,7 @@ using namespace HTMLNames;
 
 
 //------------------------------------------------------------------------------------------
-// DOMHTMLIsIndexElement
-
-@implementation DOMHTMLIsIndexElement
-
-- (HTMLIsIndexElement *)_isIndexElement
-{
-    return static_cast<HTMLIsIndexElement*>(DOM_cast<Node*>(_internal));
-}
-
-- (DOMHTMLFormElement *)form
-{
-    return [DOMHTMLFormElement _formElementWith:[self _isIndexElement]->form()];
-}
-
-- (NSString *)prompt
-{
-    return [self _isIndexElement]->prompt();
-}
-
-- (void)setPrompt:(NSString *)prompt
-{
-    [self _isIndexElement]->setPrompt(prompt);
-}
-
-@end
+// DOMHTMLSelectElement
 
 @implementation DOMHTMLSelectElement
 
diff --git a/WebCore/bindings/objc/DOMHTMLDocument.h b/WebCore/bindings/objc/DOMHTMLDocument.h
new file mode 100644 (file)
index 0000000..596fd5f
--- /dev/null
@@ -0,0 +1,61 @@
+/*
+ * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#import <WebCore/DOMDocument.h>
+
+@class DOMElement;
+@class DOMHTMLCollection;
+@class DOMHTMLElement;
+@class DOMNodeList;
+@class DOMDocumentFragment;
+
+@interface DOMHTMLDocument : DOMDocument
+- (NSString *)title;
+- (void)setTitle:(NSString *)title;
+- (NSString *)referrer;
+- (NSString *)domain;
+- (NSString *)URL;
+- (DOMHTMLElement *)body;
+- (void)setBody:(DOMHTMLElement *)body;
+- (DOMHTMLCollection *)images;
+- (DOMHTMLCollection *)applets;
+- (DOMHTMLCollection *)links;
+- (DOMHTMLCollection *)forms;
+- (DOMHTMLCollection *)anchors;
+- (NSString *)cookie;
+- (void)setCookie:(NSString *)cookie;
+- (void)open;
+- (void)close;
+- (void)write:(NSString *)text;
+- (void)writeln:(NSString *)text;
+- (DOMElement *)getElementById:(NSString *)elementId;
+- (DOMNodeList *)getElementsByName:(NSString *)elementName;
+@end
+
+@interface DOMHTMLDocument (DOMHTMLDocumentExtensions)
+- (DOMDocumentFragment *)createDocumentFragmentWithMarkupString:(NSString *)markupString baseURL:(NSURL *)baseURL;
+- (DOMDocumentFragment *)createDocumentFragmentWithText:(NSString *)text;
+@end
diff --git a/WebCore/bindings/objc/DOMHTMLDocument.mm b/WebCore/bindings/objc/DOMHTMLDocument.mm
new file mode 100644 (file)
index 0000000..d97af3d
--- /dev/null
@@ -0,0 +1,168 @@
+/*
+ * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+ * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+ */
+
+#import "config.h"
+#import "DOMHTMLDocument.h"
+
+#import "DOMInternal.h"
+#import "HTMLDocument.h" // implementation class
+#import "DOMHTMLInternal.h"
+
+#import "DOMDocumentFragment.h"
+#import "DOMHTMLCollection.h"
+#import "DOMHTMLElement.h"
+#import "DOMNodeList.h"
+#import "DocumentFragment.h"
+#import "HTMLCollection.h"
+#import "NameNodeList.h"
+#import "Range.h"
+#import "markup.h"
+
+@implementation DOMHTMLDocument
+
+- (WebCore::HTMLDocument *)_HTMLDocument
+{
+    return static_cast<WebCore::HTMLDocument *>(DOM_cast<WebCore::Node *>(_internal));
+}
+
+- (NSString *)title
+{
+    return [self _HTMLDocument]->title();
+}
+
+- (void)setTitle:(NSString *)title
+{
+    [self _HTMLDocument]->setTitle(title);
+}
+
+- (NSString *)referrer
+{
+     return [self _HTMLDocument]->referrer();
+}
+
+- (NSString *)domain
+{
+     return [self _HTMLDocument]->domain();
+}
+
+- (NSString *)URL
+{
+    return [self _HTMLDocument]->URL().getNSString();
+}
+
+- (DOMHTMLElement *)body
+{
+    return [DOMHTMLElement _elementWith:[self _HTMLDocument]->body()];
+}
+
+- (void)setBody:(DOMHTMLElement *)body
+{
+    WebCore::ExceptionCode ec = 0;
+    [self _HTMLDocument]->setBody([body _HTMLElement], ec);
+    raiseOnDOMError(ec);
+}
+
+- (DOMHTMLCollection *)images
+{
+    return [DOMHTMLCollection _collectionWith:[self _HTMLDocument]->images().get()];
+}
+
+- (DOMHTMLCollection *)applets
+{
+    return [DOMHTMLCollection _collectionWith:[self _HTMLDocument]->applets().get()];
+}
+
+- (DOMHTMLCollection *)links
+{
+    return [DOMHTMLCollection _collectionWith:[self _HTMLDocument]->links().get()];
+}
+
+- (DOMHTMLCollection *)forms
+{
+    return [DOMHTMLCollection _collectionWith:[self _HTMLDocument]->forms().get()];
+}
+
+- (DOMHTMLCollection *)anchors
+{
+    return [DOMHTMLCollection _collectionWith:[self _HTMLDocument]->anchors().get()];
+}
+
+- (NSString *)cookie
+{
+    return [self _HTMLDocument]->cookie();
+}
+
+- (void)setCookie:(NSString *)cookie
+{
+    [self _HTMLDocument]->setCookie(cookie);
+}
+
+- (void)open
+{
+    [self _HTMLDocument]->open();
+}
+
+- (void)close
+{
+    [self _HTMLDocument]->close();
+}
+
+- (void)write:(NSString *)text
+{
+    [self _HTMLDocument]->write(text);
+}
+
+- (void)writeln:(NSString *)text
+{
+    [self _HTMLDocument]->writeln(text);
+}
+
+- (DOMElement *)getElementById:(NSString *)elementId
+{
+    return [DOMElement _elementWith:[self _HTMLDocument]->getElementById(elementId)];
+}
+
+- (DOMNodeList *)getElementsByName:(NSString *)elementName
+{
+    return [DOMNodeList _nodeListWith:[self _HTMLDocument]->getElementsByName(elementName).get()];
+}
+
+@end
+
+@implementation DOMHTMLDocument (DOMHTMLDocumentExtensions)
+
+- (DOMDocumentFragment *)createDocumentFragmentWithMarkupString:(NSString *)markupString baseURL:(NSURL *)baseURL
+{
+    return [DOMDocumentFragment _documentFragmentWith:createFragmentFromMarkup([self _document], markupString, [baseURL absoluteString]).get()];
+}
+
+- (DOMDocumentFragment *)createDocumentFragmentWithText:(NSString *)text
+{
+    // FIXME: Since this is not a contextual fragment, it won't handle whitespace properly.
+    return [DOMDocumentFragment _documentFragmentWith:createFragmentFromText([self _document]->createRange().get(), text).get()];
+}
+
+@end
index c6cc25b1c94bd2a6f140ec2e12359635ed2e1cbe..3171e9e1754b07724d550452ec98161edf829213 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2004 Apple Computer, Inc.  All rights reserved.
+ * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions
@@ -26,6 +27,7 @@
 #import "DOMHTML.h"
 
 #import "DOMHTMLCollection.h"
+#import "DOMHTMLDocument.h"
 #import "DOMHTMLElement.h"
 #import "DOMHTMLFormElement.h"
 #import "DOMHTMLOptionsCollection.h"
index 5ebcc9090abf1c51381a0a7138b3344ce2416a55..a24a2cf4081d9ad2c7f6166b4421ba0d58c28f2d 100644 (file)
@@ -623,48 +623,40 @@ sub GenerateImplementation
 
     # START implementation
     push(@implContent, "\n\@implementation $className\n\n");
-    
-    # ADD INTERNAL CASTING METHOD
-    my $internalCastingName = "_" . lcfirst($interfaceName);
-    my $implementation = "[self $internalCastingName]";
-    
+
+    # ADD INTERNAL CASTING MACRO
+    my $implementation = "IMPL_" . uc($interfaceName);
+
     if ($hasFunctionsOrAttributes) {
         if ($parentImplClassName eq "Object") {
             # Only generate 'dealloc' and 'finalize' methods for direct subclasses of DOMObject.
+
+            push(@implContent, "#define $implementation DOM_cast<$implClassName *>(_internal)\n\n");
+
             push(@implContent, "- (void)dealloc\n");
             push(@implContent, "{\n");
             push(@implContent, "    if (_internal)\n");
-            push(@implContent, "        DOM_cast<$implClassName *>(_internal)->deref();\n");
+            push(@implContent, "        $implementation->deref();\n");
             push(@implContent, "    [super dealloc];\n");
             push(@implContent, "}\n\n");
 
             push(@implContent, "- (void)finalize\n");
             push(@implContent, "{\n");
             push(@implContent, "    if (_internal)\n");
-            push(@implContent, "        DOM_cast<$implClassName *>(_internal)->deref();\n");
+            push(@implContent, "        $implementation->deref();\n");
             push(@implContent, "    [super finalize];\n");
             push(@implContent, "}\n\n");
-            
-            push(@implContent, "- ($implClassName *)$internalCastingName\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    return DOM_cast<$implClassName *>(_internal);\n");
-            push(@implContent, "}\n\n");
         } else {
             my $internalBaseType;
-            if ($interfaceName eq "CSSPrimitiveValue") {
-                # FIXME: this should be a regex matching CSS...Value.
+            if ($interfaceName =~ /^CSS.+Value$/) {
                 $internalBaseType = "WebCore::CSSValue"
-            } elsif ($interfaceName eq "CSSImportRule" or $interfaceName eq "CSSFontFaceRule") {
-                # FIXME: this should be a regex matching CSS...Rule.
+            } elsif ($interfaceName =~ /^CSS.+Rule$/) {
                 $internalBaseType = "WebCore::CSSRule"
             } else {
                 $internalBaseType = "WebCore::Node"
             }
 
-            push(@implContent, "- ($implClassName *)$internalCastingName\n");
-            push(@implContent, "{\n");
-            push(@implContent, "    return static_cast<$implClassName *>(DOM_cast<$internalBaseType *>(_internal));\n");
-            push(@implContent, "}\n\n");
+            push(@implContent, "#define $implementation static_cast<$implClassName *>(DOM_cast<$internalBaseType *>(_internal))\n\n");
         }
     }
 
@@ -732,37 +724,50 @@ sub GenerateImplementation
             
             push(@implContent, $getterSig);
             push(@implContent, "{\n");
-            push(@implContent, "    $exceptionInit\n") if $hasGetterException;
-            push(@implContent, "    return $getterContent;\n");
-            push(@implContent, "    $exceptionRaiseOnError\n") if $hasGetterException;
+            if ($hasGetterException) {
+                # Differentiated between when the return type is a pointer and
+                # not for white space issue (ie. Foo *result vs. int result).
+                if ($attributeType =~ /\*$/) {
+                    $getterContent = $attributeType . "result = " . $getterContent;
+                } else {
+                    $getterContent = $attributeType . " result = " . $getterContent;
+                }
+
+                push(@implContent, "    $exceptionInit\n");
+                push(@implContent, "    $getterContent;\n");
+                push(@implContent, "    $exceptionRaiseOnError\n");
+                push(@implContent, "    return result;\n");
+            } else {
+                push(@implContent, "    return $getterContent;\n");
+            }
             push(@implContent, "}\n\n");
 
             # - SETTER
             if (!$attributeIsReadonly) {
                 # Exception handling
                 my $hasSetterException = @{$attribute->setterExceptions};
-                
+
                 $attributeName = "set" . ucfirst($attributeName);
                 my $setterName = "set" . ucfirst($interfaceName);
                 my $argName = "new" . ucfirst($interfaceName);
 
                 my $setterSig = "- (void)$setterName:($attributeType)$argName\n";
-                
+
                 push(@implContent, $setterSig);
                 push(@implContent, "{\n");
-                
+
                 if ($hasSetterException) {
                     # FIXME: asserts exsist in the exsisting bindings, but I am unsure why they are 
                     # there in the first place;
                     push(@implContent, "    ASSERT($argName);\n\n");
-                
+
                     push(@implContent, "    $exceptionInit\n");
                     push(@implContent, "    $implementation->$attributeName($argName, ec);\n");
                     push(@implContent, "    $exceptionRaiseOnError\n");
                 } else {
                     push(@implContent, "    $implementation->$attributeName($argName);\n");
                 }
-                
+
                 push(@implContent, "}\n\n");
             }
         }
index 07dd9ff32fc66f6f61a2964c943fae3510c961c4..962cfbaf0e8f7b7982d2663b894a9ce0fe6b5852 100644 (file)
@@ -48,7 +48,7 @@ module html {
         [Exclude=JS] void               close();
         [Exclude=JS] void               write(in DOMString text);
         [Exclude=JS] void               writeln(in DOMString text);
-        [Exclude=JS] NodeList           getElementsByName(in DOMString elementName);
+        [UsesPassRefPtr, Exclude=JS] NodeList           getElementsByName(in DOMString elementName);
 
         // non-standard
 
index 882f11f56ac8fbe87d9a68ad9d72f0fcef1b7b57..a3fe086fe89d2913b8bdeaa20a05070a5d22d4d8 100644 (file)
@@ -1,3 +1,12 @@
+2006-08-30  Sam Weinig  <sam.weinig@gmail.com>
+
+        Reviewed by Tim H.
+
+        - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10640
+          Auto-generate 10 more Objective-C DOM HTML bindings
+
+        * WebKit.xcodeproj/project.pbxproj:
+
 2006-08-30  Adele Peterson  <adele@apple.com>
 
         Reviewed by Darin.
index 980d4758dcb34ad7344a9cf4b668479de9ad6fa7..132cacb9a2b75c53d3f7c9d5f9e17ed1046c66c6 100644 (file)
                                93AF52A508254D87005D0156 /* DOMEvents.h */,
                                93AF52A308254D81005D0156 /* DOMExtensions.h */,
                                93AF52A108254D7D005D0156 /* DOMHTML.h */,
+                               859A9CB90AA5E59F00B694B2 /* DOMHTMLBaseElement.h */,
+                               859A9CC00AA5E5CE00B694B2 /* DOMHTMLBodyElement.h */,
                                850E67DA0A951B4000EFB73A /* DOMHTMLCollection.h */,
+                               850E62B50A9412C600EFB73A /* DOMHTMLDocument.h */,
                                856E065F0A93985900A24739 /* DOMHTMLElement.h */,
                                85DF2EA90AA3824700AD64C5 /* DOMHTMLFormElement.h */,
+                               85CA96540A9563FB00690CCF /* DOMHTMLHeadElement.h */,
+                               85CA965D0A95644D00690CCF /* DOMHTMLHtmlElement.h */,
+                               859A9CC40AA5E60000B694B2 /* DOMHTMLIsIndexElement.h */,
+                               850E63330A94147800EFB73A /* DOMHTMLLinkElement.h */,
+                               859A9CA90AA5E54600B694B2 /* DOMHTMLMetaElement.h */,
                                850E67E00A951B7C00EFB73A /* DOMHTMLOptionsCollection.h */,
+                               859A9CC80AA5E62D00B694B2 /* DOMHTMLStyleElement.h */,
+                               85CA96990A9566C100690CCF /* DOMHTMLTitleElement.h */,
                                93AF529F08254D7A005D0156 /* DOMPrivate.h */,
                                93AF529D08254D76005D0156 /* DOMRange.h */,
                                93AF529B08254D62005D0156 /* DOMStylesheets.h */,
                        shellPath = /bin/sh;
                        shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMXPath.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMXPath.h\"";
                };
+               850E62B50A9412C600EFB73A /* DOMHTMLDocument.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLDocument.h",
+                       );
+                       name = DOMHTMLDocument.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLDocument.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLDocument.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLDocument.h\"";
+               };
+               850E63330A94147800EFB73A /* DOMHTMLLinkElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLLinkElement.h",
+                       );
+                       name = DOMHTMLLinkElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLLinkElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLLinkElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLLinkElement.h\"";
+               };
                850E67DA0A951B4000EFB73A /* DOMHTMLCollection.h */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 2147483647;
                        shellPath = /bin/sh;
                        shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLElement.h\"";
                };
+               859A9CA90AA5E54600B694B2 /* DOMHTMLMetaElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLMetaElement.h",
+                       );
+                       name = DOMHTMLMetaElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLMetaElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLMetaElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLMetaElement.h\"";
+               };
+               859A9CB90AA5E59F00B694B2 /* DOMHTMLBaseElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLBaseElement.h",
+                       );
+                       name = DOMHTMLBaseElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLBaseElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLBaseElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLBaseElement.h\"";
+               };
+               859A9CC00AA5E5CE00B694B2 /* DOMHTMLBodyElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLBodyElement.h",
+                       );
+                       name = DOMHTMLBodyElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLBodyElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLBodyElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLBodyElement.h\"";
+               };
+               859A9CC40AA5E60000B694B2 /* DOMHTMLIsIndexElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLIsIndexElement.h",
+                       );
+                       name = DOMHTMLIsIndexElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLIsIndexElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLIsIndexElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLIsIndexElement.h\"";
+               };
+               859A9CC80AA5E62D00B694B2 /* DOMHTMLStyleElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLStyleElement.h",
+                       );
+                       name = DOMHTMLStyleElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLStyleElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMCore.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMCore.h\"";
+               };
                85A5C5E10A9032B300F91F2C /* DOMElement.h */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 2147483647;
                        shellPath = /bin/sh;
                        shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMDocumentFragment.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMDocumentFragment.h\"";
                };
+               85CA96540A9563FB00690CCF /* DOMHTMLHeadElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLHeadElement.h",
+                       );
+                       name = DOMHTMLHeadElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLHeadElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLHeadElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLHeadElement.h\"";
+               };
+               85CA965D0A95644D00690CCF /* DOMHTMLHtmlElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLHtmlElement.h",
+                       );
+                       name = DOMHTMLHtmlElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLHtmlElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLHtmlElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLHtmlElement.h\"";
+               };
+               85CA96990A9566C100690CCF /* DOMHTMLTitleElement.h */ = {
+                       isa = PBXShellScriptBuildPhase;
+                       buildActionMask = 2147483647;
+                       files = (
+                       );
+                       inputPaths = (
+                               "$(WEBCORE_PRIVATE_HEADERS_DIR)/DOMHTMLTitleElement.h",
+                       );
+                       name = DOMHTMLTitleElement.h;
+                       outputPaths = (
+                               "$(TARGET_BUILD_DIR)/$(PUBLIC_HEADERS_FOLDER_PATH)/DOMHTMLTitleElement.h",
+                       );
+                       runOnlyForDeploymentPostprocessing = 0;
+                       shellPath = /bin/sh;
+                       shellScript = "mkdir -p \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -e s/WebCore/WebKit/ \"$WEBCORE_PRIVATE_HEADERS_DIR/DOMHTMLTitleElement.h\" > \"$TARGET_BUILD_DIR/$PUBLIC_HEADERS_FOLDER_PATH/DOMHTMLTitleElement.h\"";
+               };
                85DF2EA90AA3824700AD64C5 /* DOMHTMLFormElement.h */ = {
                        isa = PBXShellScriptBuildPhase;
                        buildActionMask = 2147483647;