Commit 1be9e155 authored by darin@apple.com's avatar darin@apple.com
Browse files

WebCore:

2008-06-15  Darin Adler  <darin@apple.com>

        Rubber stamped by Sam.

        - renamed kjs_html.h/cpp to JSPluginElementFunctions.h/cpp
        - renamed kjs_events.h/cpp to JSEventListener.h/cpp

        * GNUmakefile.am:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * WebCoreSources.bkl:
        * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
        * bindings/js/JSDOMApplicationCacheCustom.cpp:
        * bindings/js/JSDOMWindowBase.cpp:
        * bindings/js/JSEventCustom.cpp:
        * bindings/js/JSEventListener.cpp: Copied from WebCore/bindings/js/kjs_events.cpp.
        * bindings/js/JSEventListener.h: Copied from WebCore/bindings/js/kjs_events.h.
        * bindings/js/JSEventTargetBase.h:
        * bindings/js/JSHTMLAppletElementCustom.cpp:
        * bindings/js/JSHTMLCollectionCustom.cpp:
        * bindings/js/JSHTMLDocumentCustom.cpp:
        * bindings/js/JSHTMLEmbedElementCustom.cpp:
        * bindings/js/JSHTMLInputElementBase.h:
        * bindings/js/JSHTMLObjectElementCustom.cpp:
        * bindings/js/JSHTMLSelectElementCustom.cpp:
        * bindings/js/JSPluginElementFunctions.cpp: Copied from WebCore/bindings/js/kjs_html.cpp.
        * bindings/js/JSPluginElementFunctions.h: Copied from WebCore/bindings/js/kjs_html.h.
        * bindings/js/JSSVGLazyEventListener.h:
        * bindings/js/JSXMLHttpRequestCustom.cpp:
        * bindings/js/ScriptController.cpp:
        * bindings/js/kjs_events.cpp: Removed.
        * bindings/js/kjs_events.h: Removed.
        * bindings/js/kjs_html.cpp: Removed.
        * bindings/js/kjs_html.h: Removed.

WebKitTools:

2008-06-15  Darin Adler  <darin@apple.com>

        * Scripts/do-webcore-rename: Updated for the latest round of renaming.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1ffd1918
2008-06-15 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- renamed kjs_html.h/cpp to JSPluginElementFunctions.h/cpp
- renamed kjs_events.h/cpp to JSEventListener.h/cpp
* GNUmakefile.am:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* WebCoreSources.bkl:
* bindings/js/JSCanvasRenderingContext2DCustom.cpp:
* bindings/js/JSDOMApplicationCacheCustom.cpp:
* bindings/js/JSDOMWindowBase.cpp:
* bindings/js/JSEventCustom.cpp:
* bindings/js/JSEventListener.cpp: Copied from WebCore/bindings/js/kjs_events.cpp.
* bindings/js/JSEventListener.h: Copied from WebCore/bindings/js/kjs_events.h.
* bindings/js/JSEventTargetBase.h:
* bindings/js/JSHTMLAppletElementCustom.cpp:
* bindings/js/JSHTMLCollectionCustom.cpp:
* bindings/js/JSHTMLDocumentCustom.cpp:
* bindings/js/JSHTMLEmbedElementCustom.cpp:
* bindings/js/JSHTMLInputElementBase.h:
* bindings/js/JSHTMLObjectElementCustom.cpp:
* bindings/js/JSHTMLSelectElementCustom.cpp:
* bindings/js/JSPluginElementFunctions.cpp: Copied from WebCore/bindings/js/kjs_html.cpp.
* bindings/js/JSPluginElementFunctions.h: Copied from WebCore/bindings/js/kjs_html.h.
* bindings/js/JSSVGLazyEventListener.h:
* bindings/js/JSXMLHttpRequestCustom.cpp:
* bindings/js/ScriptController.cpp:
* bindings/js/kjs_events.cpp: Removed.
* bindings/js/kjs_events.h: Removed.
* bindings/js/kjs_html.cpp: Removed.
* bindings/js/kjs_html.h: Removed.
2008-06-15 Darin Adler <darin@apple.com>
 
- give Frame object functions shorter names: scriptProxy() -> script(),
......@@ -353,7 +353,7 @@ DOM_CLASSES = \
.PHONY : all
all : \
$(filter-out JSRGBColor.h,$(DOM_CLASSES:%=JS%.h)) \
$(filter-out JSEventListener.h JSRGBColor.h,$(DOM_CLASSES:%=JS%.h)) \
\
JSDOMWindowBase.lut.h \
JSEventTargetBase.lut.h \
......
......@@ -545,8 +545,8 @@ webcore_sources += \
WebCore/bindings/js/JSXSLTProcessorCustom.cpp \
WebCore/bindings/js/JSXSLTProcessorConstructor.cpp \
WebCore/bindings/js/JSDOMBinding.cpp \
WebCore/bindings/js/kjs_events.cpp \
WebCore/bindings/js/kjs_html.cpp \
WebCore/bindings/js/JSEventListener.cpp \
WebCore/bindings/js/JSPluginElementFunctions.cpp \
WebCore/bindings/js/ScriptController.cpp \
WebCore/bindings/js/PausedTimeouts.cpp \
WebCore/bindings/js/ScheduledAction.cpp \
......
......@@ -425,8 +425,8 @@ SOURCES += \
bindings/js/JSPluginArrayCustom.cpp \
bindings/js/JSMimeTypeArrayCustom.cpp \
bindings/js/JSDOMBinding.cpp \
bindings/js/kjs_events.cpp \
bindings/js/kjs_html.cpp \
bindings/js/JSEventListener.cpp \
bindings/js/JSPluginElementFunctions.cpp \
bindings/js/ScriptController.cpp \
bindings/js/PausedTimeouts.cpp \
bindings/js/ScheduledAction.cpp \
......
......@@ -13927,19 +13927,19 @@
>
</File>
<File
RelativePath="..\bindings\js\kjs_events.cpp"
RelativePath="..\bindings\js\JSEventListener.cpp"
>
</File>
<File
RelativePath="..\bindings\js\kjs_events.h"
RelativePath="..\bindings\js\JSEventListener.h"
>
</File>
<File
RelativePath="..\bindings\js\kjs_html.cpp"
RelativePath="..\bindings\js\JSPluginElementFunctions.cpp"
>
</File>
<File
RelativePath="..\bindings\js\kjs_html.h"
RelativePath="..\bindings\js\JSPluginElementFunctions.h"
>
</File>
<File
......
......@@ -1714,10 +1714,10 @@
93B6A0EA0B0BCA8400F5027A /* ContextMenuMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 93B6A0E90B0BCA8400F5027A /* ContextMenuMac.mm */; };
93B70D6309EB0C7C009D8468 /* JSDOMBinding.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4709EB0C7C009D8468 /* JSDOMBinding.cpp */; };
93B70D6409EB0C7C009D8468 /* JSDOMBinding.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4809EB0C7C009D8468 /* JSDOMBinding.h */; settings = {ATTRIBUTES = (Private, ); }; };
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 */; };
93B70D6C09EB0C7C009D8468 /* kjs_html.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D5009EB0C7C009D8468 /* kjs_html.h */; };
93B70D6909EB0C7C009D8468 /* JSEventListener.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4D09EB0C7C009D8468 /* JSEventListener.cpp */; };
93B70D6A09EB0C7C009D8468 /* JSEventListener.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D4E09EB0C7C009D8468 /* JSEventListener.h */; };
93B70D6B09EB0C7C009D8468 /* JSPluginElementFunctions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D4F09EB0C7C009D8468 /* JSPluginElementFunctions.cpp */; };
93B70D6C09EB0C7C009D8468 /* JSPluginElementFunctions.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D5009EB0C7C009D8468 /* JSPluginElementFunctions.h */; };
93B70D6F09EB0C7C009D8468 /* ScriptController.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93B70D5309EB0C7C009D8468 /* ScriptController.cpp */; };
93B70D7009EB0C7C009D8468 /* ScriptController.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B70D5409EB0C7C009D8468 /* ScriptController.h */; settings = {ATTRIBUTES = (Private, ); }; };
93B77A380ADD792500EA4B81 /* FrameLoaderTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 93B77A370ADD792500EA4B81 /* FrameLoaderTypes.h */; settings = {ATTRIBUTES = (Private, ); }; };
......@@ -6178,10 +6178,10 @@
93B6A0E90B0BCA8400F5027A /* ContextMenuMac.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = ContextMenuMac.mm; sourceTree = "<group>"; };
93B70D4709EB0C7C009D8468 /* JSDOMBinding.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSDOMBinding.cpp; sourceTree = "<group>"; };
93B70D4809EB0C7C009D8468 /* JSDOMBinding.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSDOMBinding.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>"; };
93B70D5009EB0C7C009D8468 /* kjs_html.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = kjs_html.h; sourceTree = "<group>"; };
93B70D4D09EB0C7C009D8468 /* JSEventListener.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSEventListener.cpp; sourceTree = "<group>"; };
93B70D4E09EB0C7C009D8468 /* JSEventListener.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSEventListener.h; sourceTree = "<group>"; };
93B70D4F09EB0C7C009D8468 /* JSPluginElementFunctions.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = JSPluginElementFunctions.cpp; sourceTree = "<group>"; };
93B70D5009EB0C7C009D8468 /* JSPluginElementFunctions.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSPluginElementFunctions.h; sourceTree = "<group>"; };
93B70D5309EB0C7C009D8468 /* ScriptController.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = ScriptController.cpp; sourceTree = "<group>"; };
93B70D5409EB0C7C009D8468 /* ScriptController.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ScriptController.h; sourceTree = "<group>"; };
93B77A370ADD792500EA4B81 /* FrameLoaderTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FrameLoaderTypes.h; sourceTree = "<group>"; };
......@@ -12191,10 +12191,10 @@
BCE99EC20DCA624100182683 /* JSXSLTProcessorConstructor.h */,
93B70D4709EB0C7C009D8468 /* JSDOMBinding.cpp */,
93B70D4809EB0C7C009D8468 /* JSDOMBinding.h */,
93B70D4D09EB0C7C009D8468 /* kjs_events.cpp */,
93B70D4E09EB0C7C009D8468 /* kjs_events.h */,
93B70D4F09EB0C7C009D8468 /* kjs_html.cpp */,
93B70D5009EB0C7C009D8468 /* kjs_html.h */,
93B70D4D09EB0C7C009D8468 /* JSEventListener.cpp */,
93B70D4E09EB0C7C009D8468 /* JSEventListener.h */,
93B70D4F09EB0C7C009D8468 /* JSPluginElementFunctions.cpp */,
93B70D5009EB0C7C009D8468 /* JSPluginElementFunctions.h */,
93B70D5309EB0C7C009D8468 /* ScriptController.cpp */,
93B70D5409EB0C7C009D8468 /* ScriptController.h */,
BCA378140D15C64600B793D6 /* PausedTimeouts.cpp */,
......@@ -14953,8 +14953,8 @@
65C97AF308EA908800ACD273 /* config.h in Headers */,
93309DE8099E64920056E581 /* htmlediting.h in Headers */,
93B70D6409EB0C7C009D8468 /* JSDOMBinding.h in Headers */,
93B70D6A09EB0C7C009D8468 /* kjs_events.h in Headers */,
93B70D6C09EB0C7C009D8468 /* kjs_html.h in Headers */,
93B70D6A09EB0C7C009D8468 /* JSEventListener.h in Headers */,
93B70D6C09EB0C7C009D8468 /* JSPluginElementFunctions.h in Headers */,
656581F509D1508D000E61D7 /* kjs_navigator.lut.h in Headers */,
93B70D7009EB0C7C009D8468 /* ScriptController.h in Headers */,
BCB16C2D0979C3BD00467741 /* loader.h in Headers */,
......@@ -16684,8 +16684,8 @@
BCEA4854097D93020094C9E4 /* break_lines.cpp in Sources */,
93309DE7099E64920056E581 /* htmlediting.cpp in Sources */,
93B70D6309EB0C7C009D8468 /* JSDOMBinding.cpp in Sources */,
93B70D6909EB0C7C009D8468 /* kjs_events.cpp in Sources */,
93B70D6B09EB0C7C009D8468 /* kjs_html.cpp in Sources */,
93B70D6909EB0C7C009D8468 /* JSEventListener.cpp in Sources */,
93B70D6B09EB0C7C009D8468 /* JSPluginElementFunctions.cpp in Sources */,
93B70D6F09EB0C7C009D8468 /* ScriptController.cpp in Sources */,
BCB16C2C0979C3BD00467741 /* loader.cpp in Sources */,
93309DF7099E64920056E581 /* markup.cpp in Sources */,
......@@ -103,8 +103,8 @@ This file contains the list of files needed to build WebCore.
bindings/js/JSXSLTProcessorConstructor.cpp
bindings/js/JSXSLTProcessorCustom.cpp
bindings/js/JSDOMBinding.cpp
bindings/js/kjs_events.cpp
bindings/js/kjs_html.cpp
bindings/js/JSEventListener.cpp
bindings/js/JSPluginElementFunctions.cpp
bindings/js/ScriptController.cpp
bindings/js/PausedTimeouts.cpp
bindings/js/ScheduledAction.cpp
......
......@@ -34,7 +34,6 @@
#include "JSHTMLCanvasElement.h"
#include "JSHTMLImageElement.h"
#include "JSImageData.h"
#include "kjs_html.h"
using namespace KJS;
......
......@@ -36,7 +36,7 @@
#include "FrameLoader.h"
#include "JSDOMWindowCustom.h"
#include "JSEvent.h"
#include "kjs_events.h"
#include "JSEventListener.h"
using namespace KJS;
......
......@@ -41,6 +41,7 @@
#include "JSAudioConstructor.h"
#include "JSDOMWindowCustom.h"
#include "JSEvent.h"
#include "JSEventListener.h"
#include "JSHTMLCollection.h"
#include "JSHTMLOptionElementConstructor.h"
#include "JSImageConstructor.h"
......@@ -58,7 +59,6 @@
#include "Settings.h"
#include "WindowFeatures.h"
#include "htmlediting.h"
#include "kjs_events.h"
#include "ScriptController.h"
#include <wtf/AlwaysInline.h>
#include <wtf/MathExtras.h>
......
......@@ -52,7 +52,6 @@
#include "UIEvent.h"
#include "WheelEvent.h"
#include "XMLHttpRequestProgressEvent.h"
#include "kjs_events.h"
#if ENABLE(DOM_STORAGE)
#include "JSStorageEvent.h"
......
......@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "kjs_events.h"
#include "JSEventListener.h"
#include "CString.h"
#include "Console.h"
......
......@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef kjs_events_h
#define kjs_events_h
#ifndef JSEventListener_h
#define JSEventListener_h
#include "EventListener.h"
#include "PlatformString.h"
......@@ -114,4 +114,4 @@ namespace WebCore {
} // namespace WebCore
#endif // kjs_events_h
#endif // JSEventListener_h
......@@ -29,6 +29,7 @@
#include "JSDOMWindow.h"
#include "JSEventTargetNode.h"
#include "JSEventListener.h"
#if ENABLE(SVG)
#include "JSSVGElementInstance.h"
......
......@@ -31,7 +31,6 @@
#include "Event.h"
#include "EventNames.h"
#include "JSEvent.h"
#include "kjs_events.h"
namespace KJS {
......
......@@ -28,6 +28,7 @@
#include "JSEventTargetNode.h"
#include "JSDOMWindow.h"
#include "JSEventListener.h"
namespace WebCore {
......
......@@ -27,7 +27,7 @@
#include "JSHTMLAppletElementCustom.h"
#include "HTMLAppletElement.h"
#include "kjs_html.h"
#include "JSPluginElementFunctions.h"
namespace WebCore {
......
......@@ -29,7 +29,6 @@
#include "JSNode.h"
#include "Node.h"
#include "JSDOMBinding.h"
#include "kjs_html.h"
#include <wtf/Vector.h>
using namespace KJS;
......
......@@ -37,7 +37,6 @@
#include "JSDOMWindowCustom.h"
#include "JSDOMWindowShell.h"
#include "JSHTMLCollection.h"
#include "kjs_html.h"
using namespace KJS;
......
......@@ -27,7 +27,7 @@
#include "JSHTMLEmbedElementCustom.h"
#include "HTMLEmbedElement.h"
#include "kjs_html.h"
#include "JSPluginElementFunctions.h"
namespace WebCore {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment