Reviewed by Darin Adler.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 00:28:28 +0000 (00:28 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 00:28:28 +0000 (00:28 +0000)
        Rename kjs_css to JSRGBColor.

        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/JSRGBColor.cpp: Copied from bindings/js/kjs_css.cpp.
        * bindings/js/JSRGBColor.h: Copied from bindings/js/kjs_css.h.
        * bindings/js/kjs_css.cpp: Removed.
        * bindings/js/kjs_css.h: Removed.
        * bindings/js/kjs_window.cpp:
        * bindings/objc/DOMUtility.mm:
        * bindings/scripts/CodeGeneratorJS.pm:

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

12 files changed:
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/GNUmakefile.am
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/WebCoreSources.bkl
WebCore/bindings/js/JSRGBColor.cpp [moved from WebCore/bindings/js/kjs_css.cpp with 94% similarity]
WebCore/bindings/js/JSRGBColor.h [moved from WebCore/bindings/js/kjs_css.h with 87% similarity]
WebCore/bindings/js/kjs_window.cpp
WebCore/bindings/objc/DOMUtility.mm
WebCore/bindings/scripts/CodeGeneratorJS.pm

index fb41667704cab06f8a2640611cb40cd6c4931324..0026a745785b2adfb718efd345a248616ecb0d3c 100644 (file)
@@ -1,3 +1,23 @@
+2008-03-04  Sam Weinig  <sam@webkit.org>
+
+        Reviewed by Darin Adler.
+
+        Rename kjs_css to JSRGBColor.
+
+        * DerivedSources.make:
+        * GNUmakefile.am:
+        * WebCore.pro:
+        * WebCore.vcproj/WebCore.vcproj:
+        * WebCore.xcodeproj/project.pbxproj:
+        * WebCoreSources.bkl:
+        * bindings/js/JSRGBColor.cpp: Copied from bindings/js/kjs_css.cpp.
+        * bindings/js/JSRGBColor.h: Copied from bindings/js/kjs_css.h.
+        * bindings/js/kjs_css.cpp: Removed.
+        * bindings/js/kjs_css.h: Removed.
+        * bindings/js/kjs_window.cpp:
+        * bindings/objc/DOMUtility.mm:
+        * bindings/scripts/CodeGeneratorJS.pm:
+
 2008-03-04  Anders Carlsson  <andersca@apple.com>
 
         Fix 64-bit build.
index f9604434ac2bf8f7a5550d55cab8f5b72d190074..8dcf0bb07ee83411d2703d1f572c011567fc39c8 100644 (file)
@@ -433,6 +433,7 @@ all : \
     JSOverflowEvent.h \
     JSProcessingInstruction.h \
     JSProgressEvent.h \
+    JSRGBColor.lut.h \
     JSRange.h \
     JSRangeException.h \
     JSRect.h \
@@ -599,7 +600,6 @@ all : \
     XLinkNames.cpp \
     XMLNames.cpp \
     XPathGrammar.cpp \
-    kjs_css.lut.h \
     kjs_navigator.lut.h \
     kjs_window.lut.h \
     tokenizer.cpp \
index 65764a5ca162a3de237fa0c0a7a8b73b13cd03e7..556f476b1900a1c819cf1b5024efc26ca91e9f80 100644 (file)
@@ -50,9 +50,9 @@ webcore_built_nosources += \
        DerivedSources/ColorData.c \
        WebCore/bindings/js/JSEventTargetBase.lut.h \
        WebCore/bindings/js/JSLocation.lut.h \
+       WebCore/bindings/js/JSRGBColor.lut.h \
        WebCore/bindings/js/JSXMLHttpRequest.lut.h \
        WebCore/bindings/js/JSXSLTProcessor.lut.h \
-       WebCore/bindings/js/kjs_css.lut.h \
        WebCore/bindings/js/kjs_navigator.lut.h \
        WebCore/bindings/js/kjs_window.lut.h \
        WebCore/bindings/js/JSHTMLInputElementBaseTable.cpp
@@ -493,13 +493,13 @@ webcore_sources += \
        WebCore/bindings/js/JSNodeFilterCustom.cpp \
        WebCore/bindings/js/JSNodeIteratorCustom.cpp \
        WebCore/bindings/js/JSNodeListCustom.cpp \
+       WebCore/bindings/js/JSRGBColor.cpp \
        WebCore/bindings/js/JSStyleSheetCustom.cpp \
        WebCore/bindings/js/JSStyleSheetListCustom.cpp \
        WebCore/bindings/js/JSTreeWalkerCustom.cpp \
        WebCore/bindings/js/JSXMLHttpRequest.cpp \
        WebCore/bindings/js/JSXSLTProcessor.cpp \
        WebCore/bindings/js/kjs_binding.cpp \
-       WebCore/bindings/js/kjs_css.cpp \
        WebCore/bindings/js/kjs_events.cpp \
        WebCore/bindings/js/kjs_html.cpp \
        WebCore/bindings/js/kjs_navigator.cpp \
@@ -2054,9 +2054,9 @@ CLEANFILES += \
        WebCore/bindings/js/JSEventTargetBase.lut.h \
        WebCore/bindings/js/JSHTMLInputElementBaseTable.cpp \
        WebCore/bindings/js/JSLocation.lut.h \
+       JSRGBColor.lut.h \
        JSXMLHttpRequest.lut.h \
        JSXSLTProcessor.lut.h \
-       kjs_css.lut.h \
        kjs_navigator.lut.h \
        kjs_window.lut.h
 
index ad96a9b0004f33186f5a646f79419c7f273cce4d..06b6546efb57e18634e2addf249e10aae93c25d6 100644 (file)
@@ -246,9 +246,9 @@ STYLESHEETS_EMBED = $$PWD/css/html4.css
 LUT_FILES += \
     bindings/js/JSEventTargetBase.cpp \
     bindings/js/JSLocation.cpp \
+    bindings/js/JSRGBColor.cpp \
     bindings/js/JSXMLHttpRequest.cpp \
     bindings/js/JSXSLTProcessor.cpp \
-    bindings/js/kjs_css.cpp \
     bindings/js/kjs_navigator.cpp \
     bindings/js/kjs_window.cpp
 
@@ -428,13 +428,13 @@ SOURCES += \
     bindings/js/JSNodeFilterCustom.cpp \
     bindings/js/JSNodeIteratorCustom.cpp \
     bindings/js/JSNodeListCustom.cpp \
+    bindings/js/JSRGBColor.cpp \
     bindings/js/JSStyleSheetCustom.cpp \
     bindings/js/JSStyleSheetListCustom.cpp \
     bindings/js/JSTreeWalkerCustom.cpp \
     bindings/js/JSXMLHttpRequest.cpp \
     bindings/js/JSXSLTProcessor.cpp \
     bindings/js/kjs_binding.cpp \
-    bindings/js/kjs_css.cpp \
     bindings/js/kjs_events.cpp \
     bindings/js/kjs_html.cpp \
     bindings/js/kjs_navigator.cpp \
index ea92c6e3d8eae900f9afdb63ffbceea0db7334fd..cc7bc23af870c9b440359b7764bb09e7ab03d912 100644 (file)
                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSRangeException.h"\r
                                >\r
                        </File>\r
+                       <File\r
+                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSRGBColor.lut.h"\r
+                               >\r
+                       </File>\r
                        <File\r
                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSRect.cpp"\r
                                >\r
                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\JSXSLTProcessor.lut.h"\r
                                >\r
                        </File>\r
-                       <File\r
-                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\kjs_css.lut.h"\r
-                               >\r
-                       </File>\r
-                       <File\r
-                               RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\kjs_html.lut.h"\r
-                               >\r
-                       </File>\r
                        <File\r
                                RelativePath="$(WebKitOutputDir)\obj\$(ProjectName)\DerivedSources\kjs_navigator.lut.h"\r
                                >\r
                                        RelativePath="..\bindings\js\JSNodeListCustom.cpp"\r
                                        >\r
                                </File>\r
+                               <File\r
+                                       RelativePath="..\bindings\js\JSRGBColor.cpp"\r
+                                       >\r
+                               </File>\r
+                               <File\r
+                                       RelativePath="..\bindings\js\JSRGBColor.h"\r
+                                       >\r
+                               </File>\r
                                <File\r
                                        RelativePath="..\bindings\js\JSSQLResultSetRowListCustom.cpp"\r
                                        >\r
                                        RelativePath="..\bindings\js\kjs_binding.h"\r
                                        >\r
                                </File>\r
-                               <File\r
-                                       RelativePath="..\bindings\js\kjs_css.cpp"\r
-                                       >\r
-                               </File>\r
-                               <File\r
-                                       RelativePath="..\bindings\js\kjs_css.h"\r
-                                       >\r
-                               </File>\r
                                <File\r
                                        RelativePath="..\bindings\js\kjs_events.cpp"\r
                                        >\r
index fa457bef9b0778e2f5f862e86b77829d8add2e02..93bc80f7aa4e54f0174866e68d95cfa99bf569be 100644 (file)
                656581B209D14EE6000E61D7 /* UserAgentStyleSheets.h in Headers */ = {isa = PBXBuildFile; fileRef = 656581AE09D14EE6000E61D7 /* UserAgentStyleSheets.h */; };
                656581EE09D1508D000E61D7 /* JSXMLHttpRequest.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = 656581D709D1508D000E61D7 /* JSXMLHttpRequest.lut.h */; };
                656581F009D1508D000E61D7 /* JSXSLTProcessor.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = 656581D909D1508D000E61D7 /* JSXSLTProcessor.lut.h */; };
-               656581F109D1508D000E61D7 /* kjs_css.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = 656581DA09D1508D000E61D7 /* kjs_css.lut.h */; };
                656581F509D1508D000E61D7 /* kjs_navigator.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = 656581DE09D1508D000E61D7 /* kjs_navigator.lut.h */; };
                656581F809D1508D000E61D7 /* kjs_window.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = 656581E109D1508D000E61D7 /* kjs_window.lut.h */; };
                656581FE09D1508D000E61D7 /* SVGElementFactory.h in Headers */ = {isa = PBXBuildFile; fileRef = 656581E709D1508D000E61D7 /* SVGElementFactory.h */; };
                93B70D6209EB0C7C009D8468 /* JSXSLTProcessor.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4609EB0C7C009D8468 /* JSXSLTProcessor.h */; };
                93B70D6309EB0C7C009D8468 /* kjs_binding.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4709EB0C7C009D8468 /* kjs_binding.cpp */; };
                93B70D6409EB0C7C009D8468 /* kjs_binding.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4809EB0C7C009D8468 /* kjs_binding.h */; settings = {ATTRIBUTES = (Private, ); }; };
-               93B70D6509EB0C7C009D8468 /* kjs_css.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4909EB0C7C009D8468 /* kjs_css.cpp */; };
-               93B70D6609EB0C7C009D8468 /* kjs_css.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4A09EB0C7C009D8468 /* kjs_css.h */; };
                93B70D6909EB0C7C009D8468 /* kjs_events.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4D09EB0C7C009D8468 /* kjs_events.cpp */; };
                93B70D6A09EB0C7C009D8468 /* kjs_events.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4E09EB0C7C009D8468 /* kjs_events.h */; };
                93B70D6B09EB0C7C009D8468 /* kjs_html.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4F09EB0C7C009D8468 /* kjs_html.cpp */; };
                BC305C790C076BB300CD20F0 /* JSHTMLObjectElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC305C770C076BB300CD20F0 /* JSHTMLObjectElement.cpp */; };
                BC305C7A0C076BB300CD20F0 /* JSHTMLObjectElement.h in Headers */ = {isa = PBXBuildFile; fileRef = BC305C780C076BB300CD20F0 /* JSHTMLObjectElement.h */; };
                BC305CA40C0781BB00CD20F0 /* JSHTMLObjectElementCustom.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC305CA30C0781BB00CD20F0 /* JSHTMLObjectElementCustom.cpp */; };
+               BC3452430D7E00EA0016574A /* JSRGBColor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3452410D7E00EA0016574A /* JSRGBColor.cpp */; };
+               BC3452440D7E00EA0016574A /* JSRGBColor.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3452420D7E00EA0016574A /* JSRGBColor.h */; };
+               BC3452560D7E02850016574A /* JSRGBColor.lut.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3452550D7E02850016574A /* JSRGBColor.lut.h */; };
                BC3C39B60C0D3D8D005F4D7A /* JSMediaList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3C39B40C0D3D8D005F4D7A /* JSMediaList.cpp */; };
                BC3C39B70C0D3D8D005F4D7A /* JSMediaList.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3C39B50C0D3D8D005F4D7A /* JSMediaList.h */; };
                BC3FCAA90AC3DB5800BA54AD /* PlatformScrollBar.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3FCAA80AC3DB5800BA54AD /* PlatformScrollBar.h */; settings = {ATTRIBUTES = (); }; };
                656581AF09D14EE6000E61D7 /* UserAgentStyleSheetsData.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = UserAgentStyleSheetsData.cpp; sourceTree = "<group>"; };
                656581D709D1508D000E61D7 /* JSXMLHttpRequest.lut.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSXMLHttpRequest.lut.h; sourceTree = "<group>"; };
                656581D909D1508D000E61D7 /* JSXSLTProcessor.lut.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSXSLTProcessor.lut.h; sourceTree = "<group>"; };
-               656581DA09D1508D000E61D7 /* kjs_css.lut.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_css.lut.h; sourceTree = "<group>"; };
                656581DE09D1508D000E61D7 /* kjs_navigator.lut.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_navigator.lut.h; sourceTree = "<group>"; };
                656581E109D1508D000E61D7 /* kjs_window.lut.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_window.lut.h; sourceTree = "<group>"; };
                656581E609D1508D000E61D7 /* SVGElementFactory.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SVGElementFactory.cpp; sourceTree = "<group>"; };
                93B70D4609EB0C7C009D8468 /* JSXSLTProcessor.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSXSLTProcessor.h; sourceTree = "<group>"; };
                93B70D4709EB0C7C009D8468 /* kjs_binding.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_binding.cpp; sourceTree = "<group>"; };
                93B70D4809EB0C7C009D8468 /* kjs_binding.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_binding.h; sourceTree = "<group>"; };
-               93B70D4909EB0C7C009D8468 /* kjs_css.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_css.cpp; sourceTree = "<group>"; };
-               93B70D4A09EB0C7C009D8468 /* kjs_css.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_css.h; sourceTree = "<group>"; };
                93B70D4D09EB0C7C009D8468 /* kjs_events.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_events.cpp; sourceTree = "<group>"; };
                93B70D4E09EB0C7C009D8468 /* kjs_events.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_events.h; sourceTree = "<group>"; };
                93B70D4F09EB0C7C009D8468 /* kjs_html.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = kjs_html.cpp; sourceTree = "<group>"; };
                BC305C770C076BB300CD20F0 /* JSHTMLObjectElement.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLObjectElement.cpp; sourceTree = "<group>"; };
                BC305C780C076BB300CD20F0 /* JSHTMLObjectElement.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSHTMLObjectElement.h; sourceTree = "<group>"; };
                BC305CA30C0781BB00CD20F0 /* JSHTMLObjectElementCustom.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLObjectElementCustom.cpp; sourceTree = "<group>"; };
+               BC3452410D7E00EA0016574A /* JSRGBColor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSRGBColor.cpp; sourceTree = "<group>"; };
+               BC3452420D7E00EA0016574A /* JSRGBColor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRGBColor.h; sourceTree = "<group>"; };
+               BC3452550D7E02850016574A /* JSRGBColor.lut.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSRGBColor.lut.h; sourceTree = "<group>"; };
                BC3C39B40C0D3D8D005F4D7A /* JSMediaList.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSMediaList.cpp; sourceTree = "<group>"; };
                BC3C39B50C0D3D8D005F4D7A /* JSMediaList.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSMediaList.h; sourceTree = "<group>"; };
                BC3FCAA80AC3DB5800BA54AD /* PlatformScrollBar.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = PlatformScrollBar.h; sourceTree = "<group>"; };
                                6565814B09D13043000E61D7 /* HTMLEntityNames.c */,
                                A8D06B380A265DCD005E7203 /* HTMLNames.cpp */,
                                A8D06B370A265DCD005E7203 /* HTMLNames.h */,
-                               BCA3793E0D1647E000B793D6 /* JSLocation.lut.h */,
-                               656581DA09D1508D000E61D7 /* kjs_css.lut.h */,
                                656581DE09D1508D000E61D7 /* kjs_navigator.lut.h */,
                                656581E109D1508D000E61D7 /* kjs_window.lut.h */,
                                656581E609D1508D000E61D7 /* SVGElementFactory.cpp */,
                                BC3C39B50C0D3D8D005F4D7A /* JSMediaList.h */,
                                BCFE2F0F0C1B58370020235F /* JSRect.cpp */,
                                BCFE2F100C1B58370020235F /* JSRect.h */,
+                               BC3452550D7E02850016574A /* JSRGBColor.lut.h */,
                                BCE013980C0BEF180043860A /* JSStyleSheet.cpp */,
                                BCE013990C0BEF180043860A /* JSStyleSheet.h */,
                                A84EBD820CB8C97700079609 /* JSStyleSheetList.cpp */,
                                BCD9C26D0C17AA81005C90A2 /* JSNamedNodesCollection.h */,
                                BCB7735E0C17853D00132BA4 /* JSNodeFilterCondition.cpp */,
                                BCB7735F0C17853D00132BA4 /* JSNodeFilterCondition.h */,
+                               BC3452410D7E00EA0016574A /* JSRGBColor.cpp */,
+                               BC3452420D7E00EA0016574A /* JSRGBColor.h */,
                                8574D1F10ADE6122004CBA11 /* JSSVGElementWrapperFactory.cpp */,
                                8574D1F20ADE6122004CBA11 /* JSSVGElementWrapperFactory.h */,
                                B22277AF0D00BEDC0071B782 /* JSSVGLazyEventListener.cpp */,
                                93B70D4609EB0C7C009D8468 /* JSXSLTProcessor.h */,
                                93B70D4709EB0C7C009D8468 /* kjs_binding.cpp */,
                                93B70D4809EB0C7C009D8468 /* kjs_binding.h */,
-                               93B70D4909EB0C7C009D8468 /* kjs_css.cpp */,
-                               93B70D4A09EB0C7C009D8468 /* kjs_css.h */,
                                93B70D4D09EB0C7C009D8468 /* kjs_events.cpp */,
                                93B70D4E09EB0C7C009D8468 /* kjs_events.h */,
                                93B70D4F09EB0C7C009D8468 /* kjs_html.cpp */,
                BC9854430CD3D9D000069BC1 /* Window */ = {
                        isa = PBXGroup;
                        children = (
+                               BC124EFD0C26447A009E2349 /* JSBarInfo.cpp */,
+                               BC124EFE0C26447A009E2349 /* JSBarInfo.h */,
+                               BC98543B0CD3D98B00069BC1 /* JSConsole.cpp */,
+                               BC98543C0CD3D98B00069BC1 /* JSConsole.h */,
                                BC5A86B30C3367E800EEA649 /* JSDOMSelection.cpp */,
                                BC5A86B40C3367E800EEA649 /* JSDOMSelection.h */,
                                1403BA0B09EB18C700797C7F /* JSDOMWindow.cpp */,
                                1403BA0E09EB18F800797C7F /* JSDOMWindow.h */,
-                               BC98543B0CD3D98B00069BC1 /* JSConsole.cpp */,
-                               BC98543C0CD3D98B00069BC1 /* JSConsole.h */,
-                               BC124EFD0C26447A009E2349 /* JSBarInfo.cpp */,
-                               BC124EFE0C26447A009E2349 /* JSBarInfo.h */,
                                BC94D14C0C275C68006BC617 /* JSHistory.cpp */,
                                BC94D14D0C275C68006BC617 /* JSHistory.h */,
+                               BCA3793E0D1647E000B793D6 /* JSLocation.lut.h */,
                                BCEC01C00C274DDD009F4EC9 /* JSScreen.cpp */,
                                BCEC01C10C274DDD009F4EC9 /* JSScreen.h */,
                        );
                                65C97AF308EA908800ACD273 /* config.h in Headers */,
                                93309DE8099E64920056E581 /* htmlediting.h in Headers */,
                                93B70D6409EB0C7C009D8468 /* kjs_binding.h in Headers */,
-                               93B70D6609EB0C7C009D8468 /* kjs_css.h in Headers */,
-                               656581F109D1508D000E61D7 /* kjs_css.lut.h in Headers */,
                                93B70D6A09EB0C7C009D8468 /* kjs_events.h in Headers */,
                                93B70D6C09EB0C7C009D8468 /* kjs_html.h in Headers */,
                                93B70D6E09EB0C7C009D8468 /* kjs_navigator.h in Headers */,
                                1AF3267B0D78B94E0068F0C4 /* GlobalHistory.h in Headers */,
                                BCA83E500D7CE1E9003421A8 /* JSClipboard.h in Headers */,
                                BC6C49F40D7DBA0500FFA558 /* JSImageConstructor.h in Headers */,
+                               BC3452440D7E00EA0016574A /* JSRGBColor.h in Headers */,
+                               BC3452560D7E02850016574A /* JSRGBColor.lut.h in Headers */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
                                BCEA4854097D93020094C9E4 /* break_lines.cpp in Sources */,
                                93309DE7099E64920056E581 /* htmlediting.cpp in Sources */,
                                93B70D6309EB0C7C009D8468 /* kjs_binding.cpp in Sources */,
-                               93B70D6509EB0C7C009D8468 /* kjs_css.cpp in Sources */,
                                93B70D6909EB0C7C009D8468 /* kjs_events.cpp in Sources */,
                                93B70D6B09EB0C7C009D8468 /* kjs_html.cpp in Sources */,
                                93B70D6D09EB0C7C009D8468 /* kjs_navigator.cpp in Sources */,
                                BCA83E4F0D7CE1E9003421A8 /* JSClipboard.cpp in Sources */,
                                BCA83E520D7CE205003421A8 /* JSClipboardCustom.cpp in Sources */,
                                BC6C49F30D7DBA0500FFA558 /* JSImageConstructor.cpp in Sources */,
+                               BC3452430D7E00EA0016574A /* JSRGBColor.cpp in Sources */,
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                };
index 7336ac64cfd89946565b0c379d1957ce4ce28680..e78fdfef419e2407991415bcc2bfb467aa9ec1df 100644 (file)
@@ -81,6 +81,7 @@ This file contains the list of files needed to build WebCore.
         bindings/js/JSNodeFilterCustom.cpp
         bindings/js/JSNodeIteratorCustom.cpp
         bindings/js/JSNodeListCustom.cpp
+        bindings/js/JSRGBColor.cpp
         bindings/js/JSSQLResultSetRowListCustom.cpp
         bindings/js/JSSQLTransactionCustom.cpp
         bindings/js/JSStyleSheetCustom.cpp
@@ -89,7 +90,6 @@ This file contains the list of files needed to build WebCore.
         bindings/js/JSXMLHttpRequest.cpp
         bindings/js/JSXSLTProcessor.cpp
         bindings/js/kjs_binding.cpp
-        bindings/js/kjs_css.cpp
         bindings/js/kjs_events.cpp
         bindings/js/kjs_html.cpp
         bindings/js/kjs_navigator.cpp
similarity index 94%
rename from WebCore/bindings/js/kjs_css.cpp
rename to WebCore/bindings/js/JSRGBColor.cpp
index 4e8af41f9351c07110854fb70d694ede93688a1b..f4c5b3f8fb2bd730d469f4bab07225283a533e4b 100644 (file)
@@ -1,8 +1,7 @@
-// -*- c-basic-offset: 2 -*-
 /*
  *  Copyright (C) 2000 Harri Porten (porten@kde.org)
  *  Copyright (C) 2001 Peter Kelly (pmk@post.com)
- *  Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
+ *  Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
  *  Copyright (C) 2006 James G. Speth (speth@end.com)
  *  Copyright (C) 2006 Samuel Weinig (sam@webkit.org)
  *
  */
 
 #include "config.h"
-#include "kjs_css.h"
+#include "JSRGBColor.h"
 
 #include "CSSPrimitiveValue.h"
 #include "JSCSSPrimitiveValue.h"
 
-#include "kjs_css.lut.h"
-
-namespace WebCore {
+#include "JSRGBColor.lut.h"
 
 using namespace KJS;
 
+namespace WebCore {
+
 const ClassInfo JSRGBColor::info = { "RGBColor", 0, &JSRGBColorTable };
 
 /*
similarity index 87%
rename from WebCore/bindings/js/kjs_css.h
rename to WebCore/bindings/js/JSRGBColor.h
index 5a42e0c3887e0cfc0ab5f41106cc408d2d9bcea5..41efd6ffadb53beeaffe8e8b6020f94f5d54623e 100644 (file)
@@ -1,9 +1,7 @@
- // -*- c-basic-offset: 2 -*-
 /*
- *  This file is part of the KDE libraries
  *  Copyright (C) 2000 Harri Porten (porten@kde.org)
  *  Copyright (C) 2001 Peter Kelly (pmk@post.com)
- *  Copyright (C) 2004, 2006, 2007 Apple Inc. All rights reserved.
+ *  Copyright (C) 2004, 2006, 2007, 2008 Apple Inc. All rights reserved.
  *
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef kjs_css_h
-#define kjs_css_h
+#ifndef JSRGBColor_h
+#define JSRGBColor_h
 
 #include "Color.h"
 #include "kjs_binding.h"
 
 namespace WebCore {
 
+    // FIXME: JSRGBColor should have a proper Prototype and Constructor
     class JSRGBColor : public DOMObject {
     public:
         JSRGBColor(KJS::JSObject* prototype, unsigned color);
@@ -35,7 +34,6 @@ namespace WebCore {
 
         virtual bool getOwnPropertySlot(KJS::ExecState*, const KJS::Identifier&, KJS::PropertySlot&);
         KJS::JSValue* getValueProperty(KJS::ExecState*, int token) const;
-        // no put - all read-only
 
         virtual const KJS::ClassInfo* classInfo() const { return &info; }
         static const KJS::ClassInfo info;
@@ -52,4 +50,4 @@ namespace WebCore {
 
 } // namespace WebCore
 
-#endif // kjs_css_h
+#endif // JSRGBColor_h
index ecaab9b7ec6778f8f7dc947eb659a1cbac292346..d30c482b9a190074845afcfa5677f44894812eff 100644 (file)
@@ -59,7 +59,6 @@
 #include "Settings.h"
 #include "WindowFeatures.h"
 #include "htmlediting.h"
-#include "kjs_css.h"
 #include "kjs_events.h"
 #include "kjs_navigator.h"
 #include "kjs_proxy.h"
index 368ab55a88000cf8d127c6b77bdf19db1ae7fee2..581a025d3613b2c31eeb93917e432a7d1feae346 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
  * Copyright (C) 2006 James G. Speth (speth@end.com)
  *
  * Redistribution and use in source and binary forms, with or without
@@ -43,6 +43,7 @@
 #import "JSNode.h"
 #import "JSNodeIterator.h"
 #import "JSNodeList.h"
+#import "JSRGBColor.h"
 #import "JSRange.h"
 #import "JSRect.h"
 #import "JSStyleSheet.h"
 #import "JSXPathResult.h"
 #import "Node.h"
 #import "WebScriptObjectPrivate.h"
-#import "kjs_css.h"
-#import "kjs_html.h"
-#import <objc/objc-runtime.h>
 #import <bindings/runtime_root.h>
+#import <objc/objc-runtime.h>
 
 // This file makes use of both the ObjC DOM API and the C++ DOM API, so we need to be careful about what
 // headers are included and what namespaces we use to avoid naming conflicts.
index e65adb6e1ac95677eb8f80c6be103c181a63a0d7..2ad02c04023a313bc8bad5318099cd74f83dff96 100644 (file)
@@ -126,11 +126,8 @@ sub GetLegacyHeaderIncludes
 
     return "#include \"JSHTMLInputElementBase.h\"\n\n" if $legacyParent eq "JSHTMLInputElementBase";
     return "#include \"kjs_window.h\"\n\n" if $legacyParent eq "JSDOMWindowBase";
-    return "#include \"kjs_events.h\"\n\n" if $module eq "events";
-    return "#include \"kjs_css.h\"\n\n" if $module eq "css";
-    return "#include \"kjs_html.h\"\n\n" if $module eq "html";
 
-    die "Don't know what headers to include for module $module";
+    die "Don't know what headers to include for legacy parent $legacyParent";
 }
 
 sub GetVisibleClassName
@@ -1505,7 +1502,7 @@ sub NativeToJSValue
     }
 
     if ($type eq "RGBColor") {
-        $implIncludes{"kjs_css.h"} = 1;
+        $implIncludes{"JS$type.h"} = 1;
         return "getJSRGBColor(exec, $value)";
     }